:root {
    --navy-950: #0d1633;
    --navy-900: #101a3a;
    --navy-800: #14204a;
    --navy-700: #1a2a5e;
    --blue-600: #239ec9;
    --blue-500: #3ab9e4;
    --blue-400: #67c9ea;
    --blue-300: #92d9ef;
    --white: #ffffff;
    --surface: #f6f9fc;
    --surface-2: #edf3f8;
    --border: #dfe7ef;
    --text: #172033;
    --muted: #6a7486;
    --success: #1f9d67;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 8px 24px rgba(15, 31, 66, 0.06);
    --shadow-md: 0 18px 50px rgba(15, 31, 66, 0.10);
    --container: 1180px;
    --ease: cubic-bezier(.2, .75, .25, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: "Vazirmatn", "IRANSansX", Tahoma, sans-serif;
    line-height: 1.75;
    overflow-x: hidden;
}
body.mobile-menu-open,
body.lightbox-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.site-main { min-height: 60vh; }
.section { padding: 96px 0; position: relative; }
.section--soft { background: var(--surface); }
.section--navy { background: var(--navy-900); color: var(--white); }

.eyebrow,
.section-heading__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--blue-600);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .02em;
}
.eyebrow::before,
.section-heading__eyebrow::before {
    content: "";
    width: 20px;
    height: 2px;
    border-radius: 99px;
    background: var(--blue-500);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.9);
    border-bottom: 1px solid rgba(223,231,239,.7);
    backdrop-filter: blur(18px);
    transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(15,31,66,.08); background: rgba(255,255,255,.96); }
.site-header__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.35rem; letter-spacing: -.03em; }
.site-logo__mark { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; color: var(--white); background: linear-gradient(135deg, var(--navy-700), var(--blue-500)); box-shadow: 0 8px 18px rgba(58,185,228,.2); }
.site-logo__text { color: var(--navy-700); }
.site-navigation__list, .mobile-navigation__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 26px; }
.site-navigation__list a { position: relative; padding: 26px 0; font-size: .92rem; color: #3d4659; }
.site-navigation__list a::after { content: ""; position: absolute; right: 0; left: auto; bottom: 16px; width: 0; height: 2px; background: var(--blue-500); transition: width .25s var(--ease); }
.site-navigation__list a:hover::after,
.site-navigation__list .current-menu-item > a::after { width: 100%; }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { width: 44px; height: 44px; display: none; border: 1px solid var(--border); border-radius: 12px; background: var(--white); cursor: pointer; padding: 9px; }
.menu-toggle span:not(.screen-reader-text) { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--navy-700); border-radius: 99px; transition: transform .2s ease, opacity .2s ease; }
.mobile-navigation { display: none; }

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: .9rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--white); background: var(--navy-700); box-shadow: 0 12px 24px rgba(26,42,94,.15); }
.button--primary:hover { background: var(--navy-800); box-shadow: 0 16px 28px rgba(26,42,94,.2); }
.button--ghost { color: var(--navy-700); border-color: var(--border); background: var(--white); }
.button--ghost:hover { border-color: var(--blue-300); background: #fbfdff; }
.button--light { color: var(--navy-700); background: var(--white); }
.button--small { min-height: 42px; padding-inline: 16px; font-size: .82rem; }

.hero { padding-top: 72px; padding-bottom: 88px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -35% auto auto -10%; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(58,185,228,.18), rgba(58,185,228,0) 70%); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr); align-items: center; gap: 70px; }
.hero__content h1 { max-width: 720px; margin: 0; color: var(--navy-800); font-size: clamp(2.9rem,6vw,5.7rem); line-height: 1.08; letter-spacing: -.045em; }
.hero__content > p { max-width: 620px; margin: 24px 0 0; color: var(--muted); font-size: 1.07rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__trust { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 36px; max-width: 650px; }
.hero__trust > div { padding: 15px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.75); }
.hero__trust strong, .hero__trust span { display: block; }
.hero__trust strong { color: var(--navy-700); font-size: .9rem; }
.hero__trust span { margin-top: 2px; color: var(--muted); font-size: .77rem; }
.hero__visual { min-height: 530px; position: relative; }
.hero__visual-card { position: absolute; border-radius: 30px; overflow: hidden; }
.hero__visual-card--back { inset: 80px 28px 30px 38px; transform: rotate(6deg); background: linear-gradient(145deg, #dfeef5, #fff); border: 1px solid #d4e5ee; }
.hero__visual-card--main { inset: 48px 56px 66px 0; padding: 26px; background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); box-shadow: 0 38px 70px rgba(16,26,58,.23); }
.hero__visual-chip { position: relative; z-index: 2; display: inline-flex; padding: 7px 11px; border-radius: 99px; color: var(--navy-900); background: var(--blue-300); font-size: .74rem; font-weight: 900; }
.hero__visual-door { position: absolute; top: 78px; right: 18%; left: 18%; bottom: 82px; border: 1px solid rgba(255,255,255,.25); border-radius: 20px; background: linear-gradient(90deg, rgba(58,185,228,.08), rgba(255,255,255,.06), rgba(58,185,228,.08)); }
.hero__visual-door::before, .hero__visual-door::after { content: ""; position: absolute; inset-block: 0; width: 1px; background: rgba(255,255,255,.22); }
.hero__visual-door::before { right: 46%; } .hero__visual-door::after { left: 46%; }
.hero__visual-door span { position: absolute; right: 50%; top: 8%; bottom: 8%; width: 36px; transform: translateX(50%); border-radius: 999px; background: linear-gradient(180deg, rgba(58,185,228,.55), rgba(58,185,228,.08)); filter: blur(1px); }
.hero__visual-lines { position: absolute; right: 12%; left: 12%; bottom: 27px; display: grid; gap: 7px; }
.hero__visual-lines span { height: 2px; border-radius: 99px; background: rgba(255,255,255,.18); }
.hero__float { position: absolute; z-index: 3; padding: 12px 16px; border: 1px solid rgba(255,255,255,.9); border-radius: 14px; background: rgba(255,255,255,.92); box-shadow: var(--shadow-md); color: var(--navy-800); font-size: .82rem; }
.hero__float strong { color: var(--blue-600); }
.hero__float--top { top: 26px; left: 0; }
.hero__float--bottom { right: 0; bottom: 28px; }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.hero__orb--one { width: 190px; height: 190px; right: -20px; top: 8px; background: rgba(58,185,228,.18); }
.hero__orb--two { width: 150px; height: 150px; left: -20px; bottom: 0; background: rgba(26,42,94,.08); }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-heading h2 { margin: 0; color: var(--navy-800); font-size: clamp(2rem,4vw,3.4rem); line-height: 1.15; letter-spacing: -.035em; }
.section-heading p { max-width: 500px; margin: 0; color: var(--muted); }
.section-heading--center { display: block; max-width: 760px; margin-inline: auto; text-align: center; }
.section-heading--center .section-heading__eyebrow { justify-content: center; }
.section-heading--light h2 { color: var(--white); }
.section-heading--light p { color: rgba(255,255,255,.72); }

.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.service-card { position: relative; min-height: 300px; padding: 28px; border: 1px solid var(--border); border-radius: 20px; background: var(--white); transition: transform .35s var(--ease), border-color .35s ease, box-shadow .35s ease; }
.service-card:hover { transform: translateY(-8px); border-color: rgba(58,185,228,.45); box-shadow: var(--shadow-md); }
.service-card__number { color: #a2acba; font-size: .8rem; font-weight: 800; }
.service-card__icon { width: 46px; height: 46px; display: grid; place-items: center; margin: 36px 0 24px; border-radius: 14px; color: var(--navy-700); background: rgba(58,185,228,.14); font-size: 1.25rem; transition: transform .3s ease; }
.service-card:hover .service-card__icon { transform: rotate(-6deg) scale(1.06); }
.service-card h3 { margin: 0; font-size: 1.3rem; color: var(--navy-800); }
.service-card p { color: var(--muted); font-size: .92rem; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--navy-700); font-size: .88rem; font-weight: 800; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(-4px); }

.projects-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.project-card { min-width: 0; }
.project-card__link { display: block; }
.project-card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 20px; background: linear-gradient(145deg, #e8f1f6, #f7fafc); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.project-card__link:hover .project-card__media img { transform: scale(1.045); }
.project-card__placeholder { height: 100%; display: grid; place-items: center; color: rgba(26,42,94,.26); font-size: 2.2rem; font-weight: 900; }
.project-card__arrow { position: absolute; top: 16px; left: 16px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; color: var(--navy-800); background: rgba(255,255,255,.92); opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; }
.project-card:hover .project-card__arrow { opacity: 1; transform: translateY(0); }
.project-card__body { padding: 17px 2px 0; }
.project-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; color: var(--muted); font-size: .77rem; }
.project-card__meta span + span::before { content: "•"; margin-inline-end: 8px; color: var(--blue-500); }
.project-card__body h2 { margin: 0; color: var(--navy-800); font-size: 1.35rem; line-height: 1.35; }
.project-card__body p { margin: 9px 0 12px; color: var(--muted); font-size: .9rem; }

.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.stat-card { padding: 28px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(255,255,255,.045); transition: transform .3s ease, background .3s ease; }
.stat-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.08); }
.stat-card strong, .stat-card span { display: block; }
.stat-card strong { font-size: 1.5rem; }
.stat-card span { margin-top: 6px; color: rgba(255,255,255,.64); font-size: .86rem; }

.split-section { display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,.82fr); gap: 70px; align-items: center; }
.split-section__content h1, .split-section__content h2 { margin: 0; color: var(--navy-800); font-size: clamp(2.2rem,4vw,4rem); line-height: 1.12; letter-spacing: -.04em; }
.split-section__content > p { max-width: 650px; color: var(--muted); font-size: 1rem; }
.feature-list { margin-top: 32px; display: grid; gap: 20px; }
.feature-list > div { display: grid; grid-template-columns: 46px 1fr; gap: 14px; }
.feature-list > div > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; color: var(--navy-700); background: var(--surface); font-size: .78rem; font-weight: 800; }
.feature-list strong, .feature-list p { display: block; }
.feature-list strong { color: var(--navy-800); }
.feature-list p { margin: 2px 0 0; color: var(--muted); font-size: .86rem; }
.abstract-panel { min-height: 470px; position: relative; overflow: hidden; border-radius: 30px; background: linear-gradient(145deg, var(--navy-700), var(--navy-950)); box-shadow: var(--shadow-md); }
.abstract-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(58,185,228,.35), transparent 32%), radial-gradient(circle at 70% 75%, rgba(255,255,255,.08), transparent 38%); }
.abstract-panel__line { position: absolute; width: 72%; height: 1px; right: 14%; top: 48%; background: rgba(255,255,255,.18); box-shadow: 0 70px 0 rgba(255,255,255,.1), 0 -70px 0 rgba(255,255,255,.1); }
.abstract-panel__circle { position: absolute; width: 210px; height: 210px; border: 1px solid rgba(58,185,228,.65); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 35px rgba(58,185,228,.04), 0 0 0 70px rgba(58,185,228,.02); }
.abstract-panel__word { position: absolute; inset: auto 24px 20px auto; color: rgba(255,255,255,.65); font-size: .75rem; letter-spacing: .22em; }

.brand-strip { display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; }
.brand-strip span { min-height: 86px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 16px; background: var(--white); color: #7f8a9a; font-size: .78rem; font-weight: 900; letter-spacing: .06em; transition: color .25s ease, border-color .25s ease, transform .25s ease; }
.brand-strip span:hover { color: var(--navy-700); border-color: var(--blue-300); transform: translateY(-3px); }

.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.testimonial-card { position: relative; padding: 30px; border: 1px solid var(--border); border-radius: 20px; background: var(--white); box-shadow: var(--shadow-sm); }
.testimonial-card__quote { color: var(--blue-500); font-size: 3rem; line-height: 1; }
.testimonial-card p { min-height: 112px; color: var(--muted); }
.testimonial-card strong, .testimonial-card span { display: block; }
.testimonial-card strong { color: var(--navy-800); }
.testimonial-card span { color: var(--muted); font-size: .78rem; }

.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 42px; border-radius: 28px; color: var(--white); background: linear-gradient(135deg, var(--navy-700), var(--blue-500)); box-shadow: var(--shadow-md); overflow: hidden; position: relative; }
.cta-card::after { content: ""; position: absolute; width: 260px; height: 260px; left: -90px; top: -70px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 0 0 44px rgba(255,255,255,.035), 0 0 0 88px rgba(255,255,255,.02); }
.cta-card h2 { max-width: 730px; margin: 0; font-size: clamp(1.9rem,4vw,3.3rem); line-height: 1.15; }
.cta-card p { max-width: 650px; margin: 12px 0 0; color: rgba(255,255,255,.8); }

.project-filters { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 14px; margin-bottom: 42px; padding: 20px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.project-filters__field { display: flex; flex-direction: column; gap: 8px; }
.project-filters__field label { color: var(--navy-800); font-size: .82rem; font-weight: 800; }
.project-filters__field select { width: 100%; height: 46px; padding-inline: 13px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); color: var(--text); outline: 0; }
.project-filters__field select:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(58,185,228,.13); }
.project-filters__actions { display: flex; gap: 8px; }

.breadcrumb { padding: 18px 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .78rem; }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 8px; color: #a2acba; }

.page-header { max-width: 820px; margin-bottom: 34px; }
.page-header h1 { margin: 0; color: var(--navy-800); font-size: clamp(2.4rem,5vw,4.8rem); line-height: 1.1; letter-spacing: -.04em; }
.page-header p, .archive-description { color: var(--muted); font-size: 1rem; }
.content-container { max-width: 840px; }
.entry-content { color: #3f4858; font-size: 1.03rem; }
.entry-content > * { margin-block: 1.2em; }
.entry-content h2, .entry-content h3 { color: var(--navy-800); line-height: 1.25; }
.entry-content img { border-radius: 18px; }
.entry-featured { margin-bottom: 32px; overflow: hidden; border-radius: 24px; }
.entry-date { color: var(--muted); font-size: .78rem; }

.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.post-card { overflow: hidden; border: 1px solid var(--border); border-radius: 20px; background: var(--white); transition: transform .3s var(--ease), box-shadow .3s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: 22px; }
.post-card__body h2 { margin: 7px 0 10px; color: var(--navy-800); font-size: 1.3rem; line-height: 1.35; }
.post-card__body p { color: var(--muted); font-size: .9rem; }
.post-card__type { color: var(--blue-600); font-size: .77rem; font-weight: 800; }
.pagination-wrap { margin-top: 48px; }
.pagination-wrap .nav-links, .pagination-wrap ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pagination-wrap a, .pagination-wrap span { min-width: 42px; min-height: 42px; display: grid; place-items: center; padding-inline: 12px; border: 1px solid var(--border); border-radius: 10px; }
.pagination-wrap .current { background: var(--navy-700); color: var(--white); border-color: var(--navy-700); }
.empty-state { padding: 60px 20px; text-align: center; border: 1px dashed var(--border); border-radius: 20px; background: var(--surface); }
.empty-state h2, .empty-state h3 { margin: 0; color: var(--navy-800); }
.empty-state p { color: var(--muted); }

.project-hero__grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center; gap: 50px; }
.project-hero__content h1 { margin: 0; color: var(--navy-800); font-size: clamp(2.7rem,5vw,5rem); line-height: 1.08; letter-spacing: -.04em; }
.project-hero__media { overflow: hidden; border-radius: 26px; box-shadow: var(--shadow-md); background: var(--surface-2); }
.project-hero__media img { width: 100%; aspect-ratio: 1.35 / 1; object-fit: cover; }
.project-meta-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 30px; }
.project-meta-list > div { padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); }
.project-meta-list span, .project-meta-list strong { display: block; }
.project-meta-list span { color: var(--muted); font-size: .74rem; }
.project-meta-list strong { margin-top: 4px; color: var(--navy-800); font-size: .92rem; }
.project-content-layout { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.6fr); gap: 60px; align-items: start; }
.project-content { font-size: 1.02rem; }
.project-sidebar { position: sticky; top: 105px; }
.project-sidebar__card { padding: 22px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.project-sidebar__card > div { padding: 14px 0; border-bottom: 1px solid var(--border); }
.project-sidebar__card > div + div { margin-top: 2px; }
.project-sidebar__card span { color: var(--muted); font-size: .75rem; }
.project-sidebar__card p { margin: 4px 0 0; color: var(--navy-800); }
.project-sidebar__card .button { width: 100%; margin-top: 10px; }

.project-gallery__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.project-gallery__item { margin: 0; min-width: 0; }
.project-gallery__button { position: relative; display: block; width: 100%; padding: 0; border: 0; overflow: hidden; border-radius: 18px; cursor: zoom-in; background: var(--surface-2); }
.project-gallery__button img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .45s var(--ease); }
.project-gallery__button:hover img { transform: scale(1.04); }
.project-gallery__zoom { position: absolute; left: 14px; bottom: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--navy-800); background: rgba(255,255,255,.92); box-shadow: var(--shadow-sm); }
.project-gallery__item figcaption { margin-top: 9px; color: var(--muted); font-size: .82rem; }

.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(7,13,31,.86); backdrop-filter: blur(10px); }
.lightbox__dialog { position: relative; z-index: 1; width: min(92vw, 1120px); max-height: 88vh; display: grid; place-items: center; }
.lightbox__dialog img { max-width: 100%; max-height: 72vh; width: auto; height: auto; object-fit: contain; border-radius: 16px; box-shadow: 0 28px 70px rgba(0,0,0,.35); background: #0f1630; }
.lightbox__close, .lightbox__nav { position: absolute; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; color: var(--white); background: rgba(255,255,255,.1); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.18); transform: scale(1.04); }
.lightbox__close { top: -16px; right: 0; font-size: 1.7rem; }
.lightbox__nav--prev { right: -12px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { left: -12px; top: 50%; transform: translateY(-50%); }
.lightbox__caption { margin-top: 12px; padding: 8px 14px; color: rgba(255,255,255,.84); text-align: center; font-size: .88rem; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-list a { color: var(--navy-700); }
.contact-list--large { gap: 18px; margin-top: 28px; }
.contact-list--large li { display: flex; flex-direction: column; gap: 3px; }
.contact-list--large strong { font-size: .77rem; color: var(--muted); }
.contact-list--large span, .contact-list--large a { color: var(--navy-800); }
.contact-card { padding: 34px; border: 1px solid var(--border); border-radius: 24px; background: linear-gradient(160deg,#fff,#f5f9fc); box-shadow: var(--shadow-sm); }
.contact-card h2 { margin-top: 0; color: var(--navy-800); }
.contact-card p { color: var(--muted); }
.error-section { min-height: 70vh; display: grid; place-items: center; }
.error-section__inner { text-align: center; }
.error-code { color: var(--blue-500); font-size: clamp(5rem,18vw,12rem); font-weight: 900; line-height: .9; letter-spacing: -.08em; }
.error-section h1 { margin: 24px 0 8px; color: var(--navy-800); }
.error-section p { color: var(--muted); }

.site-footer { padding: 70px 0 22px; background: var(--navy-950); color: var(--white); }
.site-footer__grid { display: grid; grid-template-columns: 1.25fr .8fr .8fr; gap: 60px; }
.site-logo--footer .site-logo__text { color: var(--white); }
.site-footer__brand p { max-width: 430px; color: rgba(255,255,255,.62); }
.site-footer__title { margin: 0 0 14px; font-size: .95rem; }
.site-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__menu a { color: rgba(255,255,255,.64); transition: color .2s ease; }
.site-footer__menu a:hover { color: var(--blue-300); }
.site-footer .contact-list { color: rgba(255,255,255,.62); }
.site-footer .contact-list a { color: rgba(255,255,255,.76); }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.48); font-size: .76rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s var(--ease); }
.reveal--delay { transition-delay: .12s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
    .site-navigation { display: none; }
    .menu-toggle { display: block; }
    .mobile-navigation { display: block; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease, border-color .35s ease; border-top: 1px solid transparent; }
    .mobile-navigation.is-open { max-height: 440px; padding: 18px 0 24px; border-top-color: var(--border); }
    .mobile-navigation__list { flex-direction: column; align-items: stretch; gap: 0; }
    .mobile-navigation__list a { display: block; padding: 13px 0; border-bottom: 1px solid var(--border); color: var(--navy-800); }
    .mobile-navigation .button { width: 100%; margin-top: 15px; }
    .hero__grid, .project-hero__grid, .project-content-layout, .split-section { grid-template-columns: 1fr; }
    .hero__visual { min-height: 520px; max-width: 650px; width: 100%; margin-inline: auto; }
    .services-grid { grid-template-columns: repeat(2,1fr); }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .brand-strip { grid-template-columns: repeat(3,1fr); }
    .project-sidebar { position: static; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .site-footer__brand { grid-column: 1 / -1; }
    .project-filters { grid-template-columns: 1fr 1fr; }
    .project-filters__actions { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .section { padding: 72px 0; }
    .hero { padding-top: 48px; }
    .hero__content h1 { font-size: clamp(2.4rem,12vw,4rem); }
    .hero__trust { grid-template-columns: 1fr; }
    .hero__visual { min-height: 420px; }
    .hero__visual-card--back { inset: 62px 18px 28px 28px; }
    .hero__visual-card--main { inset: 38px 38px 54px 0; }
    .hero__float--top { top: 12px; }
    .hero__float--bottom { bottom: 12px; }
    .section-heading { display: block; }
    .section-heading > * + * { margin-top: 16px; }
    .section-heading .button { width: 100%; }
    .services-grid, .projects-grid, .posts-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .stats-grid, .brand-strip, .project-gallery__grid { grid-template-columns: repeat(2,1fr); }
    .project-meta-list { grid-template-columns: 1fr; }
    .project-filters { grid-template-columns: 1fr; }
    .project-filters__actions { grid-column: auto; }
    .project-filters__actions .button { flex: 1; }
    .cta-card { display: block; padding: 30px; }
    .cta-card .button { width: 100%; margin-top: 20px; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 34px; }
    .site-footer__brand { grid-column: auto; }
    .site-footer__bottom { display: block; }
    .site-footer__bottom > * { display: block; margin-top: 8px; }
    .lightbox__close { top: 8px; right: 8px; }
    .lightbox__nav--prev { right: 8px; }
    .lightbox__nav--next { left: 8px; }
}

@media (max-width: 520px) {
    .site-header__actions .button { display: none; }
    .hero__actions { flex-direction: column; }
    .hero__actions .button { width: 100%; }
    .hero__visual { min-height: 360px; }
    .hero__visual-card--main { inset: 30px 25px 45px 0; padding: 20px; }
    .hero__visual-card--back { inset: 52px 8px 20px 20px; }
    .hero__visual-door { top: 58px; bottom: 62px; }
    .hero__float { padding: 9px 11px; font-size: .72rem; }
    .stats-grid, .brand-strip, .project-gallery__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    .reveal { opacity: 1; transform: none; }
}
