:root {
    --ink: #111317;
    --muted: #67707d;
    --paper: #f6f7f4;
    --white: #ffffff;
    --line: rgba(17, 19, 23, 0.12);
    --brand: #f2b705;
    --brand-dark: #c48900;
    --accent: #0f766e;
    --shadow: 0 24px 80px rgba(17, 19, 23, 0.14);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Instrument Sans", Arial, sans-serif;
    line-height: 1.6;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

main {
    overflow: hidden;
}

.section-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 16px;
    left: 50%;
    z-index: 50;
    width: min(1180px, calc(100% - 32px));
    min-height: 76px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    background: rgba(17, 19, 23, 0.82);
    color: var(--white);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.brand-mark {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
    background: var(--white);
}

.brand strong,
.footer-brand {
    display: block;
    line-height: 1;
    letter-spacing: 0;
}

.brand small {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
    font-weight: 600;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.95rem;
    font-weight: 700;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.site-nav .nav-cta {
    color: var(--ink);
    background: var(--white);
}

.site-nav .nav-cta:hover {
    color: var(--ink);
    background: #f1d4c4;
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 6px auto;
    background: var(--white);
}

.hero {
    position: relative;
    min-height: 92vh;
    display: grid;
    align-items: end;
    padding: 180px 0 72px;
    color: var(--white);
}

.hero-media,
.hero-media img,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 900ms ease, transform 5800ms ease;
}

.hero-media img.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(6, 8, 12, 0.9), rgba(6, 8, 12, 0.55) 48%, rgba(6, 8, 12, 0.2)),
        linear-gradient(0deg, rgba(6, 8, 12, 0.72), rgba(6, 8, 12, 0.12));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 830px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 22px;
    font-size: clamp(2.7rem, 7vw, 6.6rem);
    line-height: 0.95;
    font-weight: 800;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.02;
    font-weight: 800;
}

h3 {
    font-size: 1.22rem;
    line-height: 1.18;
}

.hero-copy,
.page-hero p,
.rich-text p {
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    max-width: 720px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-actions.centered {
    justify-content: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-weight: 800;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    color: var(--white);
    background: linear-gradient(135deg, #f2b705, #c48900);
}

.button.secondary {
    color: var(--white);
    background: var(--ink);
}

.button.ghost {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.08);
}

.button.ghost.dark {
    color: var(--ink);
    border-color: var(--line);
    background: var(--white);
}

.metrics-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: -42px;
    position: relative;
    z-index: 2;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.metrics-band article {
    padding: 28px;
    border-right: 1px solid var(--line);
}

.metrics-band article:last-child {
    border-right: 0;
}

.metrics-band strong {
    display: block;
    color: var(--brand);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
}

.metrics-band span {
    color: var(--muted);
    font-weight: 700;
}

.split-section,
.service-preview,
.featured-projects,
.editorial-grid,
.values-grid,
.service-list,
.project-stack,
.faq-list,
.blog-grid,
.contact-grid {
    padding: 94px 0;
}

.split-section {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
}

.rich-text p {
    color: var(--muted);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 36px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.service-card,
.project-card,
.blog-card,
.values-grid article,
.contact-grid article,
.premium-form,
.contact-card,
.faq-list details {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 12px 34px rgba(17, 19, 23, 0.08);
}

.service-card {
    overflow: hidden;
}

.service-card img {
    width: 100%;
    aspect-ratio: 1 / 0.78;
    object-fit: cover;
}

.service-card div {
    padding: 22px;
}

.service-card p,
.project-card p,
.blog-card p,
.contact-grid p {
    color: var(--muted);
}

.featured-projects,
.form-page {
    background: #171a1f;
    color: var(--white);
}

.featured-projects .section-heading h2 {
    color: var(--white);
}

.project-row,
.blog-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.project-card {
    overflow: hidden;
}

.project-card.compact {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.project-card.compact div {
    padding: 22px;
}

.project-card.compact img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.project-card span,
.blog-card span,
.contact-grid span {
    display: block;
    margin-bottom: 10px;
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.site-footer {
    background: #0d0f12;
    color: rgba(255, 255, 255, 0.76);
    padding: 64px 0 28px;
}

.footer-grid {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 1fr 1fr;
    gap: 36px;
}

.site-footer h3 {
    color: var(--white);
    font-size: 1rem;
}

.site-footer a:not(.footer-brand) {
    display: block;
    margin: 8px 0;
}

.footer-brand {
    color: var(--white);
    font-size: 1.7rem;
}

.newsletter-form {
    display: grid;
    gap: 10px;
}

.newsletter-form input,
.newsletter-form button,
.premium-form input,
.premium-form select,
.premium-form textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0 14px;
    font: inherit;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.16);
}

.newsletter-form button {
    color: var(--white);
    background: var(--brand);
    border-color: var(--brand);
    font-weight: 800;
    cursor: pointer;
}

.footer-bottom {
    width: min(1180px, calc(100% - 40px));
    margin: 44px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.92rem;
}

.page-hero {
    padding: 166px 0 62px;
    text-align: center;
}

.page-hero.narrow {
    max-width: 860px;
}

.page-hero h1 {
    color: var(--ink);
    font-size: clamp(2.4rem, 5.4vw, 5.4rem);
}

.page-hero p {
    color: var(--muted);
    margin-left: auto;
    margin-right: auto;
}

.editorial-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 56px;
    align-items: center;
}

.editorial-grid img {
    width: 100%;
    min-height: 480px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.values-grid article {
    padding: 26px;
}

.values-grid span {
    color: var(--brand);
    font-weight: 900;
}

.service-list,
.project-stack {
    display: grid;
    gap: 24px;
}

.service-panel,
.project-card.large {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: center;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.service-panel:nth-child(even),
.project-card.large:nth-child(even) {
    grid-template-columns: 1.1fr 0.9fr;
}

.service-panel:nth-child(even) img,
.project-card.large:nth-child(even) img {
    order: 2;
}

.service-panel img,
.project-card.large img {
    width: 100%;
    height: 390px;
    object-fit: cover;
    border-radius: 6px;
}

.check-list {
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    margin: 10px 0;
    color: var(--muted);
    font-weight: 700;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
}

.faq-list {
    display: grid;
    gap: 12px;
    max-width: 900px;
}

.faq-list details {
    padding: 22px 26px;
}

.faq-list summary {
    cursor: pointer;
    font-size: 1.14rem;
    font-weight: 800;
}

.faq-list p {
    color: var(--muted);
    margin: 16px 0 0;
}

.blog-card {
    overflow: hidden;
}

.blog-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.blog-card div {
    padding: 24px;
}

.form-page {
    padding: 160px 0 96px;
}

.form-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 56px;
    align-items: start;
}

.form-grid h1 {
    font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.form-grid p {
    color: rgba(255, 255, 255, 0.72);
}

.contact-card {
    margin-top: 34px;
    padding: 22px;
    color: var(--ink);
}

.contact-card span {
    display: block;
    color: var(--muted);
}

.premium-form {
    padding: 28px;
    color: var(--ink);
}

.premium-form label {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    font-weight: 800;
}

.premium-form textarea {
    padding-top: 12px;
}

.premium-form small {
    color: var(--brand-dark);
}

.form-alert {
    margin-bottom: 20px;
    padding: 14px;
    border-radius: 6px;
    background: rgba(15, 118, 110, 0.12);
    color: var(--accent);
    font-weight: 800;
}

.contact-grid article {
    padding: 28px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1080px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .site-header {
        top: 10px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        inset: 86px 16px auto 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border-radius: var(--radius);
        background: rgba(17, 19, 23, 0.96);
        box-shadow: var(--shadow);
    }

    body.nav-open .site-nav {
        display: flex;
    }

    .site-nav a {
        justify-content: center;
    }

    .hero {
        min-height: 86vh;
        padding-top: 140px;
    }

    .metrics-band,
    .split-section,
    .editorial-grid,
    .form-grid,
    .service-panel,
    .project-card.large,
    .service-panel:nth-child(even),
    .project-card.large:nth-child(even),
    .project-row,
    .blog-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .service-panel:nth-child(even) img,
    .project-card.large:nth-child(even) img {
        order: 0;
    }

    .metrics-band article {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .metrics-band article:last-child {
        border-bottom: 0;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .section-shell,
    .footer-grid,
    .footer-bottom {
        width: min(100% - 24px, 1180px);
    }

    .brand small {
        display: none;
    }

    h1 {
        font-size: clamp(2.35rem, 14vw, 4rem);
    }

    .hero-actions,
    .hero-actions.centered {
        flex-direction: column;
        align-items: stretch;
    }

    .service-grid,
    .values-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .service-panel,
    .project-card.large,
    .premium-form {
        padding: 14px;
    }

    .service-panel img,
    .project-card.large img,
    .editorial-grid img {
        height: auto;
        min-height: 0;
        aspect-ratio: 1 / 0.78;
    }
}

/* Premium motion and composition layer */
.site-header {
    transition: top 220ms ease, background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.site-header.scrolled {
    top: 8px;
    background: rgba(13, 15, 18, 0.94);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.hero {
    isolation: isolate;
    align-items: center;
    padding-bottom: 96px;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, black, transparent 78%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 48px;
    align-items: end;
}

.hero-content {
    animation: heroRise 800ms ease both;
}

.hero-deal-card {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(18px);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
    animation: heroRise 900ms 140ms ease both;
}

.hero-deal-card .deal-label,
.card-index {
    display: inline-flex;
    margin-bottom: 16px;
    color: #f1d4c4;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-deal-card strong {
    display: block;
    margin-bottom: 14px;
    font-size: 1.8rem;
    line-height: 1.08;
}

.hero-deal-card p {
    color: rgba(255, 255, 255, 0.76);
}

.deal-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 22px;
}

.deal-steps span {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.82rem;
    font-weight: 800;
}

.slide-dots {
    grid-column: 1 / -1;
    display: flex;
    gap: 10px;
}

.slide-dots button {
    width: 44px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: width 250ms ease, background 250ms ease;
}

.slide-dots button.active {
    width: 72px;
    background: var(--brand);
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--line);
    box-shadow: 0 14px 42px rgba(17, 19, 23, 0.08);
}

.trust-strip span {
    display: grid;
    place-items: center;
    min-height: 72px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--ink);
    font-weight: 900;
    text-align: center;
}

.page-hero {
    position: relative;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 104px 0 auto 50%;
    width: min(760px, 80vw);
    height: 260px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 90, 31, 0.18), transparent 68%);
    pointer-events: none;
}

.service-card,
.project-card,
.blog-card,
.values-grid article,
.contact-grid article,
.premium-intro article,
.process-grid article {
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover,
.project-card:hover,
.blog-card:hover,
.values-grid article:hover,
.contact-grid article:hover,
.premium-intro article:hover,
.process-grid article:hover {
    transform: translateY(-8px);
    border-color: rgba(216, 90, 31, 0.3);
    box-shadow: 0 24px 70px rgba(17, 19, 23, 0.16);
}

.service-card img,
.project-card img,
.blog-card img,
.service-panel img {
    transition: transform 520ms ease, filter 520ms ease;
}

.service-card:hover img,
.project-card:hover img,
.blog-card:hover img,
.service-panel:hover img {
    transform: scale(1.045);
    filter: saturate(1.06) contrast(1.02);
}

.service-card,
.project-card,
.blog-card,
.service-panel {
    position: relative;
}

.service-card::after,
.project-card.compact::after {
    content: "";
    position: absolute;
    inset: auto 18px 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 260ms ease;
}

.service-card:hover::after,
.project-card.compact:hover::after {
    transform: scaleX(1);
}

.card-index {
    color: var(--brand);
    margin-bottom: 12px;
}

.process-section {
    padding: 100px 0;
}

.process-grid,
.premium-intro {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.process-grid article,
.premium-intro article {
    min-height: 250px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86)),
        var(--white);
    box-shadow: 0 16px 46px rgba(17, 19, 23, 0.08);
}

.process-grid span,
.premium-intro span {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 24px;
    border-radius: 6px;
    color: var(--white);
    background: var(--ink);
    font-weight: 900;
}

.process-grid p,
.premium-intro p {
    color: var(--muted);
}

.premium-intro {
    padding: 0 0 28px;
}

.premium-intro article strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    color: var(--brand-dark);
    font-weight: 900;
}

.text-link::after {
    content: "";
    width: 34px;
    height: 2px;
    background: currentColor;
    transition: width 180ms ease;
}

.text-link:hover::after {
    width: 52px;
}

.cta-section {
    margin-top: 86px;
    margin-bottom: 96px;
    padding: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-radius: var(--radius);
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(17, 19, 23, 0.92), rgba(37, 38, 34, 0.92)),
        linear-gradient(90deg, var(--brand), var(--accent));
    box-shadow: var(--shadow);
}

.cta-section h2 {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.8rem);
}

.compact-cta {
    margin-top: 10px;
}

.premium-form input:focus,
.premium-form select:focus,
.premium-form textarea:focus,
.newsletter-form input:focus {
    outline: 3px solid rgba(216, 90, 31, 0.18);
    border-color: var(--brand);
}

.button.primary {
    box-shadow: 0 12px 30px rgba(216, 90, 31, 0.24);
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 680ms ease, transform 680ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes heroRise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-deal-card {
        max-width: 520px;
    }

    .trust-strip {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-grid,
    .premium-intro {
        grid-template-columns: 1fr;
    }

    .cta-section {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .hero {
        padding-bottom: 64px;
    }

    .hero-deal-card {
        padding: 20px;
    }

    .deal-steps,
    .trust-strip {
        grid-template-columns: 1fr;
    }

    .slide-dots button {
        flex: 1;
        width: auto;
    }

    .slide-dots button.active {
        width: auto;
    }

    .trust-strip span {
        min-height: 54px;
    }

    .cta-section {
        padding: 24px;
    }
}

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

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* C-TAC inspired institutional design for SGNI */
:root {
    --red: #d8a316;
    --red-soft: #f2c94c;
    --red-dark: #a87300;
    --portal-navy: #24384f;
    --portal-green: #2fbd68;
    --portal-orange: #f2b705;
    --portal-orange-dark: #c48900;
    --portal-bg: #f6f7f9;
    --portal-text: #2d333c;
    --max: 1180px;
}

body {
    color: var(--portal-text);
    background: var(--portal-bg);
    font-family: Arial, Helvetica, sans-serif;
}

.container {
    width: min(100% - 32px, var(--max));
    margin: 0 auto;
}

.topbar {
    background: #22344a;
    color: #fff;
    font-size: 13px;
}

.topbar__inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.topbar [data-rotating-text] {
    display: inline-block;
    min-width: min(100%, 520px);
    font-weight: 700;
}

.topbar__links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: #e9e9e9;
}

.site-header {
    position: sticky;
    top: 0;
    left: auto;
    z-index: 40;
    width: 100%;
    min-height: 0;
    transform: none;
    display: block;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #e6e6e6;
    border-radius: 0;
    background: rgba(255, 255, 255, .98);
    color: var(--portal-navy);
    backdrop-filter: none;
    box-shadow: 0 1px 10px rgba(36, 56, 79, .08);
}

.site-header.scrolled {
    top: 0;
    background: rgba(255, 255, 255, .99);
    border-color: #e6e6e6;
    box-shadow: 0 10px 25px rgba(36, 56, 79, .1);
}

.nav {
    height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--portal-navy);
    font-weight: 900;
}

.brand img {
    width: 118px;
    height: 78px;
    object-fit: contain;
}

.brand strong {
    color: var(--portal-navy);
    font-size: 1.1rem;
}

.brand small {
    display: block;
    color: #6c7480;
    font-size: .78rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 15px;
    font-weight: 700;
}

.nav-links a {
    color: var(--portal-navy);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--portal-orange);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 7px;
    color: #fff;
    background: var(--portal-orange);
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(255, 100, 31, .24);
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: var(--portal-navy);
    color: #fff;
    font-size: 22px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #fff;
    background: var(--portal-orange);
    box-shadow: 0 14px 28px rgba(255, 100, 31, .23);
}

.btn-primary:hover {
    background: var(--portal-orange-dark);
}

.btn-outline {
    color: var(--portal-orange);
    border-color: var(--portal-orange);
    background: #fff;
}

.btn-whatsapp {
    color: #fff;
    background: #159447;
}

.clear-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(105deg, rgba(168, 115, 0, .92), rgba(242, 183, 5, .68));
    isolation: isolate;
}

.clear-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("/assets/images/sgni1.jpeg") center 42%/cover no-repeat;
    opacity: .66;
}

.clear-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(76, 52, 0, .52), rgba(76, 52, 0, .16));
}

.clear-hero__ticker {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, .2);
    background: rgba(34, 52, 74, .86);
    backdrop-filter: blur(12px);
}

.ticker-track {
    display: flex;
    gap: 34px;
    width: max-content;
    min-height: 46px;
    align-items: center;
    animation: ticker 30s linear infinite;
}

.ticker-track span {
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ticker-track span::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 16px;
    background: var(--portal-orange);
    transform: rotate(45deg);
}

.clear-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 430px;
    gap: 70px;
    align-items: center;
    padding: 70px 0 96px;
}

.clear-hero__brand {
    position: relative;
    z-index: 4;
    max-width: 820px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
    background: rgba(76, 52, 0, .24);
    backdrop-filter: blur(8px);
}

.clear-hero__brand > img {
    width: 170px;
    max-height: 228px;
    object-fit: contain;
    padding: 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .96);
    margin-bottom: 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
}

.clear-eyebrow {
    margin: 0 0 10px;
    color: #eafcff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.clear-hero h1 {
    margin-bottom: 26px;
    color: #fff;
    font-size: clamp(48px, 6vw, 76px);
    line-height: 1;
}

.clear-hero__lead {
    max-width: 780px;
    margin: 0;
    color: #fff;
    font-size: clamp(22px, 2.4vw, 31px);
    line-height: 1.5;
    font-weight: 600;
}

.clear-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 34px;
}

.clear-hero-card {
    padding: 36px;
    text-align: center;
    border-radius: 12px;
    background: #fff;
    color: var(--portal-navy);
    box-shadow: 0 24px 70px rgba(23, 44, 64, .22);
}

.clear-hero-card img {
    width: 126px;
    max-height: 164px;
    object-fit: contain;
    margin: 0 auto 22px;
}

.clear-hero-card h2 {
    color: var(--portal-navy);
    font-size: 27px;
    line-height: 1.15;
}

.clear-hero-card p {
    color: #687280;
    font-size: 17px;
}

.section {
    padding: 86px 0;
}

.clear-director {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.clear-director::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .72)),
        url("/assets/images/sgni1.jpeg") center/cover no-repeat;
    opacity: .72;
}

.clear-director__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
    gap: 46px;
    align-items: center;
}

.clear-director__media {
    position: relative;
    min-height: 455px;
    overflow: hidden;
    border-radius: 10px;
    background: #f4f4f4;
    box-shadow: 0 24px 65px rgba(36, 56, 79, .16);
}

.clear-director__media img {
    width: 100%;
    height: 100%;
    min-height: 455px;
    object-fit: cover;
    object-position: center;
}

.clear-director__media span {
    position: absolute;
    left: 24px;
    bottom: 24px;
    padding: 12px 18px;
    border-radius: 999px;
    color: #fff;
    background: rgba(168, 115, 0, .9);
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(76, 52, 0, .22);
}

.clear-director__content {
    padding: 38px 42px;
    border-left: 6px solid var(--portal-orange);
    border-radius: 10px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 20px 60px rgba(36, 56, 79, .12);
}

.clear-director__content .clear-eyebrow {
    color: var(--portal-orange);
}

.clear-director__content h2 {
    color: var(--portal-navy);
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.12;
}

.clear-director__content p {
    color: #384250;
    font-size: 17px;
    line-height: 1.62;
}

.clear-director__signature {
    display: grid;
    gap: 3px;
    margin: 22px 0;
    padding-top: 18px;
    border-top: 1px solid #e8edf2;
}

.clear-director__signature strong {
    color: var(--portal-navy);
    font-size: 20px;
}

.clear-director__signature span {
    color: #697586;
    font-weight: 700;
}

.clear-news-section,
.clear-overview,
.clear-services {
    background: var(--portal-bg);
}

.clear-news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, .75fr);
    gap: 34px;
    padding: 34px;
    background: #fff;
}

.clear-section-title {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
}

.clear-section-title h2 {
    margin: 0;
    color: var(--portal-navy);
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1;
}

.clear-section-title span {
    flex: 1;
    max-width: 180px;
    height: 2px;
    background: var(--portal-green);
}

.clear-title-spaced {
    margin-top: 58px;
}

.clear-activity-slider {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(36, 56, 79, .13);
    background: #16283d;
}

.clear-activity-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity .7s ease, transform 1s ease;
}

.clear-activity-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.clear-activity-slide img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    opacity: .9;
}

.clear-activity-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .72));
}

.clear-activity-slide div {
    position: absolute;
    z-index: 1;
    left: 42px;
    right: 42px;
    bottom: 38px;
    text-align: center;
}

.clear-activity-slide h3 {
    color: #fff;
    font-size: clamp(28px, 3vw, 40px);
    text-shadow: 0 3px 12px rgba(0, 0, 0, .55);
}

.clear-activity-slide p {
    color: #fff;
    font-size: 18px;
}

.clear-link-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
}

.clear-link-row a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 0 22px;
    border: 1px solid #f2b705;
    border-radius: 999px;
    color: #b57f00;
    font-weight: 700;
}

.clear-facts {
    max-height: 430px;
    overflow-y: auto;
    padding-right: 10px;
}

.clear-facts article {
    padding: 22px 24px;
    margin-bottom: 14px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(36, 56, 79, .12);
}

.clear-facts strong {
    display: block;
    margin-bottom: 8px;
    color: var(--portal-orange);
    font-size: 22px;
    line-height: 1.25;
}

.clear-facts strong::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 10px;
    background: #f2b705;
    clip-path: polygon(50% 0, 62% 35%, 100% 35%, 70% 57%, 82% 100%, 50% 74%, 18% 100%, 30% 57%, 0 35%, 38% 35%);
}

.clear-facts p {
    margin: 0;
    color: #333a44;
    font-size: 18px;
    line-height: 1.55;
}

.clear-overview-grid {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 58px;
}

.clear-activity-list {
    display: grid;
    gap: 28px;
}

.clear-activity-list article {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 24px;
    align-items: center;
}

.clear-activity-list img {
    width: 150px;
    height: 90px;
    object-fit: cover;
}

.clear-activity-list h3 {
    color: var(--portal-navy);
    font-size: 22px;
    line-height: 1.35;
    margin-bottom: 6px;
}

.clear-activity-list p {
    margin: 0;
    color: #737b86;
    font-size: 16px;
}

.clear-perimeter-card {
    padding: 30px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(36, 56, 79, .1);
}

.clear-perimeter-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.clear-perimeter-row a,
.clear-perimeter-row span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    color: #fff;
    background: #1a9840;
    font-weight: 800;
    line-height: 1.15;
}

.clear-perimeter-core {
    display: grid;
    place-items: center;
    min-height: 104px;
    margin: 12px 0;
    border-radius: 10px;
    color: #fff;
    background: #253f68;
    font-size: 28px;
    font-weight: 900;
}

.clear-perimeter-row:not(.clear-perimeter-row--top) span {
    background: #f27805;
}

.clear-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.clear-benefits-grid article {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    min-height: 116px;
    padding: 26px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(36, 56, 79, .1);
}

.clear-benefits-grid p {
    margin: 0;
    color: #333a44;
    font-size: 20px;
    line-height: 1.35;
}

.clear-benefits-grid span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--portal-orange);
    border: 2px solid var(--portal-orange);
    border-radius: 8px;
    font-weight: 900;
}

.clear-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.clear-service-card {
    min-height: 300px;
    padding: 28px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(36, 56, 79, .1);
}

.clear-service-card .icon-box {
    background: rgba(216, 163, 22, .86);
}

.clear-service-card > span {
    display: block;
    color: var(--portal-orange);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
}

.clear-service-card h3 {
    margin-top: 10px;
    color: var(--portal-navy);
}

.clear-service-card p {
    color: #626c78;
}

.clear-service-card a {
    color: var(--portal-orange);
    font-weight: 800;
}

.clear-cta {
    padding: 70px 0;
    color: #fff;
    background: linear-gradient(100deg, rgba(168, 115, 0, .92), rgba(242, 183, 5, .68));
}

.clear-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.clear-cta h2,
.clear-cta p {
    color: #fff;
}

.clear-cta h2 {
    font-size: clamp(34px, 4vw, 54px);
}

.page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(100deg, rgba(168, 115, 0, .94), rgba(242, 183, 5, .68));
    padding: 78px 0 58px;
    text-align: left;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    transform: none;
    border-radius: 0;
    background: url("/assets/images/sgni10.jpeg") right center/auto 100% no-repeat;
    opacity: .26;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(76, 52, 0, .72), rgba(76, 52, 0, .28));
}

.page-hero > * {
    position: relative;
    z-index: 1;
}

.page-hero h1,
.page-hero p {
    color: #fff;
}

.page-hero h1 {
    max-width: 980px;
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.08;
}

.page-hero p {
    max-width: 760px;
    margin-left: 0;
}

/* Compact inner-page hero refinements */
main > .page-hero.section-shell,
main > .page-hero.section-shell.narrow {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 56px max(32px, calc((100vw - var(--max)) / 2)) 58px;
}

main > .page-hero.section-shell::before {
    background-size: min(520px, 42vw) auto;
    background-position: right center;
}

main > .page-hero.section-shell h1 {
    width: min(760px, 100%);
    max-width: 760px;
    font-size: clamp(34px, 4.4vw, 56px);
    line-height: 1.08;
    letter-spacing: 0;
}

main > .page-hero.section-shell p {
    max-width: 680px;
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.65;
}

main > .page-hero.section-shell .eyebrow {
    font-size: 12px;
    letter-spacing: .12em;
}

main > .page-hero.section-shell .hero-actions {
    justify-content: flex-start;
    margin-top: 24px;
}

.contact-grid,
.faq-list,
.service-list,
.project-stack {
    padding-top: 60px;
}

.clear-news-section + .project-stack {
    padding-top: 12px;
}

.clear-news-section {
    padding-bottom: 32px;
}

.button.primary {
    color: #1c2430;
    background: linear-gradient(135deg, #f6c624, #c48900);
    box-shadow: 0 12px 26px rgba(196, 137, 0, .22);
}

.button.primary:hover {
    background: linear-gradient(135deg, #ffd24b, #b57f00);
}

.service-panel,
.project-card.large,
.premium-form,
.faq-list details,
.blog-card,
.contact-grid article,
.values-grid article {
    border: 0;
    border-radius: 7px;
    box-shadow: 0 12px 35px rgba(36, 56, 79, .09);
}

.site-footer,
.footer {
    background: #111;
    color: #fff;
    padding: 62px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 34px;
}

.footer h3 {
    color: #fff;
    font-size: 18px;
}

.footer a,
.footer p,
.footer li {
    color: #ddd;
}

.footer-logo {
    width: 82px;
    max-height: 108px;
    object-fit: contain;
    padding: 8px;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 18px;
}

.copyright {
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    font-size: 14px;
    color: #cfcfcf;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 1160px) {
    .nav-links {
        gap: 18px;
    }
}

@media (max-width: 980px) {
    .topbar__inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 10px 0;
    }

    .mobile-toggle {
        display: inline-grid;
        place-items: center;
    }

    .nav-links {
        position: absolute;
        left: 0;
        right: 0;
        top: 94px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 24px;
        border-bottom: 1px solid #e6e6e6;
        background: #fff;
    }

    .nav-links.is-open {
        display: flex;
    }

    .clear-hero__grid,
    .clear-director__grid,
    .clear-news-grid,
    .clear-overview-grid,
    .clear-cta__inner {
        grid-template-columns: 1fr;
    }

    .clear-service-grid,
    .clear-benefits-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clear-hero-card {
        max-width: 520px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 22px, var(--max));
    }

    .nav {
        height: 68px;
    }

    .brand img {
        width: 88px;
        height: 52px;
    }

    .brand small {
        display: none;
    }

    .nav-links {
        top: 68px;
    }

    .nav-cta {
        display: none;
    }

    .clear-hero {
        min-height: auto;
    }

    .clear-hero__grid {
        padding: 48px 0 86px;
        gap: 34px;
    }

    .clear-hero__brand {
        padding: 22px;
    }

    .clear-hero__brand > img {
        width: 122px;
        max-height: 160px;
    }

    .clear-hero h1 {
        font-size: 42px;
    }

    .clear-hero__lead {
        font-size: 19px;
    }

    .clear-actions,
    .clear-cta__inner {
        align-items: stretch;
    }

    .clear-news-grid {
        padding: 18px;
    }

    .clear-activity-slide img {
        height: 340px;
    }

    .clear-activity-slide div {
        left: 20px;
        right: 20px;
        bottom: 24px;
    }

    .clear-service-grid,
    .clear-benefits-grid,
    .clear-perimeter-row,
    .footer-grid,
    .copyright {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .clear-activity-list article {
        grid-template-columns: 112px 1fr;
        gap: 16px;
    }

    .clear-activity-list img {
        width: 112px;
        height: 76px;
    }

    main > .page-hero.section-shell,
    main > .page-hero.section-shell.narrow {
        padding: 42px 18px 44px;
    }

    main > .page-hero.section-shell::before {
        background-size: auto 100%;
        opacity: .18;
    }

    main > .page-hero.section-shell h1 {
        font-size: clamp(30px, 10vw, 42px);
    }

    main > .page-hero.section-shell .hero-actions {
        align-items: stretch;
    }
}
