/* ==========================================================================
   Drekbyte Solutions TZ – public website theme
   Brand colours taken from the logo: teal ring, gold star, navy swoosh.
   ========================================================================== */

:root {
    --navy-950: #0f2233;
    --navy-900: #152c42;
    --navy: #1f3a56;
    --navy-700: #22405c;
    --teal: #3aa99f;
    --teal-600: #2b8c83;
    --teal-700: #237a72;
    --teal-50: #e9f6f4;
    --gold: #d4b85a;
    --gold-600: #b99c3c;
    --gold-50: #faf5e4;
    --ink: #16283a;
    --body: #3d4d5c;
    --muted: #64748b;
    --line: #e2e8ee;
    --bg: #ffffff;
    --bg-muted: #f4f7f9;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(16, 40, 60, .06), 0 2px 8px rgba(16, 40, 60, .05);
    --shadow: 0 10px 30px -12px rgba(16, 40, 60, .22);
    --shadow-lg: 0 30px 60px -20px rgba(16, 40, 60, .35);
    --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --header-h: 76px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
html, body { overflow-x: clip; }
body {
    font-family: var(--font-body);
    color: var(--body);
    background: var(--bg);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--ink); letter-spacing: -.02em; line-height: 1.2; }
a { color: var(--teal-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
img { max-width: 100%; height: auto; }
::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 12px; color: #fff; }

.container { max-width: 1200px; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 10px; padding: .7rem 1.25rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: all .2s ease; border-width: 2px; }
.btn-lg { padding: .85rem 1.6rem; font-size: 1rem; }
.btn-brand { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.btn-brand:hover, .btn-brand:focus { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
.btn-gold:hover, .btn-gold:focus { background: #e2c86b; border-color: #e2c86b; color: var(--navy-950); transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(212, 184, 90, .6); }
.btn-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover, .btn-ghost:focus { background: #fff; border-color: #fff; color: var(--navy); }
.btn-outline-brand { border-color: var(--teal-700); color: var(--teal-700); background: transparent; }
.btn-outline-brand:hover, .btn-outline-brand:focus { background: var(--teal-700); color: #fff; }
.btn .bi-arrow-right { transition: transform .2s; }
.btn:hover .bi-arrow-right { transform: translateX(3px); }

.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; color: var(--teal-700); }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 1000; height: var(--header-h);
    display: flex; align-items: center;
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s, border-color .25s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(16, 40, 60, .45); }

.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--navy); }
.brand img { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.28rem; letter-spacing: .06em; color: var(--navy); }
.brand-sub { font-family: var(--font-head); font-weight: 600; font-size: .68rem; letter-spacing: .32em; color: var(--teal-600); margin-top: 4px; }
.brand-light .brand-name { color: var(--gold); }
.brand-light .brand-sub { color: #7fd3ca; }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; align-items: center; gap: .25rem; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .6rem .85rem; border-radius: 8px;
    font-weight: 500; font-size: .95rem; color: var(--ink);
}
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.active { color: var(--teal-700); background: var(--teal-50); }
.main-nav .bi-chevron-down { font-size: .7rem; transition: transform .2s; }

.main-nav .dropdown {
    position: absolute; top: calc(100% + 10px); left: 50%; min-width: 270px;
    transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: .5rem; transition: all .2s ease;
}
.main-nav .dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.main-nav .has-dropdown:hover > .dropdown,
.main-nav .has-dropdown:focus-within > .dropdown,
.main-nav .has-dropdown.open > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.main-nav .has-dropdown:hover .bi-chevron-down, .main-nav .has-dropdown.open .bi-chevron-down { transform: rotate(180deg); }
.main-nav .dropdown a { display: block; padding: .55rem .8rem; border-radius: 8px; color: var(--ink); font-size: .93rem; }
.main-nav .dropdown a:hover { background: var(--bg-muted); color: var(--teal-700); }
.main-nav .dropdown .view-all { border-top: 1px solid var(--line); margin-top: .35rem; padding-top: .35rem; }
.main-nav .dropdown .view-all a { color: var(--teal-700); font-weight: 600; }

.nav-toggle { width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991.98px) {
    .main-nav {
        position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 1rem 1.25rem 2rem;
        overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; z-index: 999;
        border-top: 1px solid var(--line);
    }
    .nav-open .main-nav { transform: translateX(0); visibility: visible; }
    .nav-open { overflow: hidden; }
    .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav > ul > li > a { width: 100%; justify-content: space-between; padding: .9rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
    .main-nav > ul > li > a:hover, .main-nav > ul > li > a.active { background: transparent; }
    .main-nav .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 .5rem .75rem; display: none; min-width: 0; }
    .main-nav .has-dropdown.open > .dropdown { display: block; transform: none; }
    .main-nav .has-dropdown:hover > .dropdown { transform: none; }
}

/* ---------- Section scaffolding ---------- */
.section { padding: 96px 0; }
.section-muted { background: var(--bg-muted); }
.section-head { margin-bottom: 48px; }
.section-title { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); font-weight: 800; margin-bottom: .9rem; }
.section-lead { font-size: 1.08rem; color: var(--muted); max-width: 640px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .45rem;
    font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--teal-700); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }
.eyebrow-light { color: #9fe0d8; }
.eyebrow-light::before { display: none; }
.shadow-soft { box-shadow: var(--shadow); }

.icon-tile {
    width: 54px; height: 54px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--teal-50), #fff); color: var(--teal-700); font-size: 1.5rem;
    border: 1px solid #cdebe7; flex: none;
}
.icon-tile.sm { width: 44px; height: 44px; font-size: 1.15rem; border-radius: 12px; }
.chip { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--teal-700); background: var(--teal-50); padding: .25rem .6rem; border-radius: 999px; }
.chip-light { background: rgba(255, 255, 255, .12); color: #bfeae4; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-900); color: #cfdbe6; padding: 96px 0 110px; }
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(600px 400px at 85% 10%, rgba(58, 169, 159, .35), transparent 60%),
        radial-gradient(500px 380px at 10% 110%, rgba(212, 184, 90, .22), transparent 60%),
        linear-gradient(180deg, var(--navy-900), var(--navy));
}
.hero-bg::after {
    content: ""; position: absolute; inset: 0; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.hero-title { color: #fff; font-size: clamp(2.3rem, 1.4rem + 3.6vw, 3.9rem); font-weight: 800; letter-spacing: -.035em; margin: .4rem 0 1.2rem; }
.hero-title::after { content: ""; display: block; width: 72px; height: 5px; margin-top: 1.2rem; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--teal)); }
.hero-lead { font-size: 1.15rem; max-width: 560px; color: #c3d2df; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2.2rem; margin: 2.6rem 0 0; padding-top: 1.8rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-stats dt { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; }
.hero-stats dd { margin: .35rem 0 0; font-size: .88rem; color: #9fb2c3; }

.hero-visual { position: relative; min-height: 420px; }
.browser-frame { position: absolute; margin: 0; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .15); }
.browser-frame img { display: block; width: 100%; aspect-ratio: 16 / 9.5; object-fit: cover; object-position: top left; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #eef2f5; border-bottom: 1px solid #dde4ea; }
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: #d5dde4; }
.browser-bar span:nth-child(1) { background: #ef7b6c; }
.browser-bar span:nth-child(2) { background: var(--gold); }
.browser-bar span:nth-child(3) { background: var(--teal); }
.browser-bar em { font-style: normal; font-size: .7rem; color: var(--muted); margin-left: 10px; background: #fff; padding: 2px 10px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame-1 { width: 88%; right: 0; top: 0; z-index: 2; }
.frame-2 { width: 70%; left: 0; bottom: 0; z-index: 3; transform: translateY(18px); }
.hero-badge {
    position: absolute; z-index: 4; display: flex; align-items: center; gap: .55rem;
    background: #fff; color: var(--ink); font-weight: 600; font-size: .88rem;
    padding: .65rem .95rem; border-radius: 12px; box-shadow: var(--shadow-lg);
}
.hero-badge i { width: 32px; height: 32px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.hero-badge-1 { top: 58%; right: -6px; }
.hero-badge-1 i { background: var(--teal-50); color: var(--teal-700); }
.hero-badge-2 { bottom: -34px; right: 8%; }
.hero-badge-2 i { background: var(--gold-50); color: var(--gold-600); }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }

@media (max-width: 991.98px) {
    .hero { padding: 64px 0 80px; }
    .hero-visual { min-height: 320px; margin-top: 1rem; }
}
@media (max-width: 575.98px) {
    .hero-visual { min-height: 250px; }
    .hero-badge { font-size: .78rem; padding: .5rem .7rem; }
    .hero-stats { gap: 1.4rem; }
    .hero-stats dt { font-size: 1.6rem; }
}

/* ---------- Clients marquee ---------- */
.clients { padding: 38px 0; border-bottom: 1px solid var(--line); background: #fff; }
.clients-title { text-align: center; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.4rem; }
.logo-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-track { display: flex; gap: 64px; width: max-content; animation: marquee 40s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-item { flex: none; height: 60px; display: flex; align-items: center; }
.logo-item img { max-height: 56px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) contrast(.9); opacity: .65; transition: all .3s; }
.logo-item img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }

/* ---------- Rich text from the admin (about, why us, project description) ---------- */
.prose { font-size: 1.04rem; }
.prose p { margin-bottom: 1.1rem; }
.prose b, .prose strong { color: var(--ink); }
.prose h3, .prose h4, .prose h5 { margin: 2rem 0 1rem; font-weight: 700; }
.prose ul:not(.list-unstyled) { padding-left: 1.2rem; }
.prose img { border-radius: var(--radius); }

.about-content > .row > .content p:first-child { font-size: 1.2rem; color: var(--ink); }
.about-content .container { max-width: none; }
.about-content .list-unstyled li {
    position: relative; padding: 1.1rem 1.2rem 1.1rem 3.6rem; margin-bottom: 1rem !important;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
    transition: border-color .2s, transform .2s;
}
.about-content .list-unstyled li:hover { border-color: #bfe3de; transform: translateY(-2px); }
.about-content .list-unstyled li > i { position: absolute; left: 1.1rem; top: 1rem; font-size: 1.4rem; color: var(--teal); }
.about-content .list-unstyled li strong { display: block; color: var(--ink); font-family: var(--font-head); margin-bottom: .2rem; }
.about-content .list-unstyled li p { font-size: .94rem; color: var(--muted); }
.about-content h5 { font-size: 1.25rem; }

/* ---------- Services ---------- */
.service-card { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.7rem; transition: all .25s ease; position: relative; overflow: hidden; }
.service-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin: 1.3rem 0 .7rem; }
.service-card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- Process ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.process-step { position: relative; text-align: center; padding: 0 .5rem; }
.process-num { position: relative; z-index: 1; display: inline-flex; width: 58px; height: 58px; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 800; box-shadow: 0 0 0 8px #fff; }
.process-step:nth-child(even) .process-num { background: var(--teal-700); }
.process-step h3 { font-size: 1.15rem; margin: 1.2rem 0 .5rem; font-weight: 700; }
.process-step p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 991.98px) { .process { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; } .process::before { display: none; } }
@media (max-width: 575.98px) { .process { grid-template-columns: 1fr; } }

/* ---------- Filter tabs & project cards ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-tabs button { border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem; padding: .5rem 1.1rem; border-radius: 999px; transition: all .2s; }
.filter-tabs button:hover { border-color: var(--teal); color: var(--teal-700); }
.filter-tabs button.active { background: var(--navy); border-color: var(--navy); color: #fff; }
[data-filter-items] > [hidden] { display: none !important; }

.project-card { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: all .25s ease; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-muted); border-bottom: 1px solid var(--line); }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .5s ease; }
.project-card:hover .project-thumb img { transform: scale(1.04); }
.project-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.project-body .chip { align-self: flex-start; }
.project-body h3 { font-size: 1.2rem; font-weight: 700; margin: .75rem 0 .5rem; }
.project-body h3 a { color: var(--ink); }
.project-body h3 a:hover { color: var(--teal-700); }
.project-body p { color: var(--muted); font-size: .95rem; flex: 1; }

/* ---------- Why us (admin HTML: .faq-item > h3 > span + .faq-content) ---------- */
.why-list { display: grid; gap: 1rem; }
.why-list .faq-item { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem 1.4rem 5rem; box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s; }
.why-list .faq-item:hover { border-color: #bfe3de; transform: translateX(4px); }
.why-list .faq-item h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 .35rem; }
.why-list .faq-item h3 span { position: absolute; left: 1.4rem; top: 1.35rem; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--gold-50); color: var(--gold-600); font-size: .95rem; font-weight: 800; }
.why-list .faq-content p { margin: 0; color: var(--muted); font-size: .96rem; }
.why-list .faq-toggle { display: none; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 96px; }
.section-muted + .cta-band { padding-top: 96px; }
.cta-band + .section { padding-top: 24px; }
.cta-inner {
    position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem;
    padding: 3.2rem 3rem; border-radius: var(--radius-lg); color: #c9d6e2;
    background: radial-gradient(420px 260px at 100% 0%, rgba(58, 169, 159, .45), transparent 70%), linear-gradient(120deg, var(--navy-900), var(--navy));
}
.cta-inner h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem); font-weight: 800; margin-bottom: .6rem; }
.cta-inner p { margin: 0; max-width: 620px; }
@media (max-width: 575.98px) { .cta-inner { padding: 2.2rem 1.5rem; } }

/* ---------- Team ---------- */
.team-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem 1.4rem 1.6rem; height: 100%; transition: all .25s; }
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.team-photo { width: 132px; height: 132px; margin: .4rem auto 1.1rem; border-radius: 50%; padding: 4px; background: conic-gradient(var(--teal), var(--gold), var(--teal)); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid #fff; }
.team-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .2rem; }
.team-role { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-700); margin-bottom: .6rem; }
.team-card p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .8rem; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: #cfe7e3; }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 3.2rem 1.15rem 1.4rem; font-family: var(--font-head); font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 8px; background: var(--teal-50); color: var(--teal-700); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 600; transition: transform .2s; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.4rem 1.2rem; margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list strong { display: block; color: var(--ink); font-family: var(--font-head); }
.contact-list div > a, .contact-list div > span { display: block; color: var(--body); }
.contact-list a:hover { color: var(--teal-700); }
.card-soft { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.form-label { font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .35rem; }
.form-control { border: 1px solid #d5dde5; border-radius: 10px; padding: .75rem .95rem; font-size: .98rem; color: var(--ink); }
.form-control:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(58, 169, 159, .15); }
.form-control.is-invalid { border-color: #d9534f; }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; margin: .8rem 0 0; }
.form-status:empty { display: none; }
.form-status { border-radius: 10px; padding: .8rem 1rem; margin-bottom: 1rem; font-size: .95rem; }
.form-status.is-success { background: var(--teal-50); color: var(--teal-700); border: 1px solid #bfe3de; }
.form-status.is-error { background: #fdf0ef; color: #a2362b; border: 1px solid #f3c9c4; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy-900), var(--navy)); color: #c3d2df; padding: 72px 0 80px; }
.page-hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(58, 169, 159, .35), transparent 65%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.2rem); font-weight: 800; margin: .8rem 0 1rem; }
.page-hero p { font-size: 1.12rem; max-width: 620px; }
.crumbs { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .88rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: #6f8aa2; }
.crumbs a { color: #9fe0d8; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #dbe5ee; }
.project-hero-shot { display: block; border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); border: 6px solid rgba(255, 255, 255, .08); background: #fff; }
.project-hero-shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }

.fact-card { position: sticky; top: calc(var(--header-h) + 20px); background: var(--bg-muted); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; }
.fact-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; }
.fact-card dl { margin: 0 0 1rem; }
.fact-card dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.fact-card dd { margin: .15rem 0 1rem; color: var(--ink); font-weight: 500; }

.feature-card { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.7rem; display: flex; gap: 1.1rem; align-items: flex-start; transition: all .25s; }
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-card h3 { font-size: 1.08rem; font-weight: 700; margin: .1rem 0 .4rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .94rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.gallery-item { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-muted); }
.gallery-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.04); }

.price-card { position: relative; height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.2rem 1.9rem; transition: all .25s; }
.price-card:hover { box-shadow: var(--shadow); }
.price-card.is-featured { border: 2px solid var(--teal); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.price-flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--navy-950); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .9rem; border-radius: 999px; white-space: nowrap; }
.price-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: .4rem; }
.price-desc { color: var(--muted); font-size: .93rem; min-height: 2.8em; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem; margin: .6rem 0 1.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.price .currency { font-weight: 700; color: var(--muted); font-size: .9rem; }
.price .amount { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.price .amount-text { font-size: 1.6rem; }
.price .period { color: var(--muted); font-size: .9rem; }
.price-features { list-style: none; padding: 0; margin: 0 0 1.8rem; flex: 1; }
.price-features li { display: flex; gap: .6rem; padding: .35rem 0; font-size: .95rem; }
.price-features i { color: var(--teal); font-size: 1.1rem; line-height: 1.4; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #9fb2c3; padding: 80px 0 0; font-size: .95rem; }
.footer-about { margin: 1.2rem 0 1.4rem; max-width: 360px; }
.footer-title { color: #fff; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.site-footer a { color: #b8c7d5; }
.site-footer a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .8rem; }
.footer-contact i { color: var(--teal); margin-top: 2px; }
.social { display: flex; gap: .5rem; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .06); color: #fff; font-size: 1.05rem; transition: all .2s; }
.social a:hover { background: var(--teal-700); color: #fff; transform: translateY(-2px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 56px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; color: #7c91a5; }

.back-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 46px; height: 46px; border-radius: 12px; background: var(--teal-700); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--navy); color: #fff; }

/* ---------- 404 ---------- */
.error-page { padding: 120px 0; }
.error-code { display: block; font-family: var(--font-head); font-size: clamp(5rem, 3rem + 8vw, 9rem); font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--teal), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

@media (max-width: 767.98px) {
    .section { padding: 68px 0; }
    .section-head { margin-bottom: 32px; }
    .card-soft { padding: 1.4rem; }
    .brand-name { font-size: 1.1rem; }
    .brand-sub { font-size: .6rem; letter-spacing: .26em; }
}
