:root {
    --blue-950: #061424;
    --blue-900: #0b2038;
    --blue-800: #123b64;
    --blue-700: #17538c;
    --steel: #6d7d8f;
    --line: #d9e2ec;
    --silver: #f4f7fa;
    --white: #ffffff;
    --gold: #d9a441;
    --gold-soft: #f3d58a;
    --shadow: 0 24px 70px rgba(6, 20, 36, .18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--blue-950);
    background: var(--white);
}

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

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

.site-header {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 18px clamp(18px, 4vw, 54px);
    color: var(--white);
    transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}

.site-header.is-scrolled {
    padding-block: 12px;
    background: rgba(6, 20, 36, .94);
    box-shadow: 0 16px 44px rgba(6, 20, 36, .22);
    backdrop-filter: blur(18px);
}

.site-header.is-scrolled .site-nav a {
    color: var(--gold-soft);
}

.site-header.is-scrolled .site-nav a:hover {
    color: var(--blue-950);
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
}

.site-header.is-scrolled .header-contact {
    border-color: rgba(243, 213, 138, .72);
    color: var(--blue-950);
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    box-shadow: 0 12px 28px rgba(217, 164, 65, .24);
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-logo {
    display: block;
    width: 70px;
    height: auto;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .22));
}

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: var(--blue-950);
    font-size: 25px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(217, 164, 65, .28);
}

.brand strong,
.footer-brand strong {
    display: block;
    font-size: 16px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0;
}

.brand small,
.footer-brand small {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.site-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    font-weight: 700;
    transition: background .2s ease, color .2s ease;
}

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

.header-contact {
    padding: 11px 16px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    color: var(--white);
    font-size: 14px;
    font-weight: 800;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    padding: 11px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--white);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 128px clamp(18px, 5vw, 76px) 56px;
    color: var(--white);
    background:
        linear-gradient(110deg, rgba(6, 20, 36, .98), rgba(11, 32, 56, .86) 48%, rgba(6, 20, 36, .65)),
        url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80") center / cover fixed;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 130px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--white));
    pointer-events: none;
}

.hero-bg,
.depth {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.depth {
    opacity: .42;
    transform: translate3d(0, var(--shift, 0), 0);
}

.depth-1 {
    background-image: linear-gradient(120deg, transparent 0 52%, rgba(217, 164, 65, .22) 52% 53%, transparent 53%);
    background-size: 520px 520px;
    animation: driftOne 18s ease-in-out infinite alternate;
}

.depth-2 {
    background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .16) 0 1px, transparent 2px);
    background-size: 46px 46px;
    animation: driftTwo 28s linear infinite;
}

.depth-3 {
    background: linear-gradient(90deg, rgba(23, 83, 140, .24), transparent 40%, rgba(217, 164, 65, .16));
    mix-blend-mode: screen;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    align-items: center;
    gap: clamp(34px, 5vw, 78px);
    max-width: 1220px;
    margin: 0 auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--gold-soft);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: currentColor;
}

.hero h1,
.section-heading h2,
.structure-copy h2,
.contact-header h2 {
    margin: 0;
    font-size: clamp(36px, 5.3vw, 74px);
    line-height: .96;
}

.hero p {
    max-width: 640px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: clamp(17px, 1.7vw, 21px);
    line-height: 1.65;
}

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

.btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 0 22px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.btn.primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: var(--blue-950);
    box-shadow: 0 16px 38px rgba(217, 164, 65, .3);
}

.btn.ghost {
    border: 1px solid rgba(255, 255, 255, .22);
    color: var(--white);
    background: rgba(255, 255, 255, .08);
}

.btn.subtle {
    color: var(--blue-800);
    background: #e8eef5;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 42px 0 0;
}

.hero-metrics div {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .07);
    backdrop-filter: blur(12px);
}

.hero-metrics dt {
    font-size: 24px;
    font-weight: 800;
}

.hero-metrics dd {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
}

.hero-visual {
    position: relative;
    min-height: 620px;
    perspective: 1100px;
}

.photo-stack {
    position: absolute;
    inset: 26px 10px 42px;
    transform-style: preserve-3d;
    animation: depthFloat 8s ease-in-out infinite alternate;
}

.photo-card {
    position: absolute;
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-main {
    inset: 80px 44px 54px 64px;
    transform: rotateY(-12deg) rotateX(6deg) translateZ(80px);
}

.card-top {
    top: 12px;
    right: 0;
    width: 48%;
    height: 32%;
    transform: translateZ(150px) rotate(4deg);
}

.card-bottom {
    left: 0;
    bottom: 0;
    width: 44%;
    height: 30%;
    transform: translateZ(130px) rotate(-5deg);
}

.orbit {
    position: absolute;
    border: 1px solid rgba(217, 164, 65, .28);
    border-radius: 50%;
}

.orbit-a {
    inset: 42px 18px 74px;
    animation: spin 18s linear infinite;
}

.orbit-b {
    inset: 96px 74px 116px 28px;
    animation: spin 24s linear infinite reverse;
}

.floating-panel {
    position: absolute;
    right: 10px;
    bottom: 64px;
    z-index: 5;
    max-width: 270px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(6, 20, 36, .82);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.floating-panel strong {
    display: block;
    margin-bottom: 8px;
}

.floating-panel span {
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    line-height: 1.5;
}

.intro-band {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1180px;
    margin: -54px auto 0;
    padding: 0 clamp(18px, 3vw, 24px);
}

.intro-item {
    min-height: 210px;
    padding: 30px;
    background: var(--white);
    border-right: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.intro-item:first-child {
    border-radius: 8px 0 0 8px;
}

.intro-item:last-child {
    border-right: 0;
    border-radius: 0 8px 8px 0;
}

.intro-item span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
}

.intro-item strong {
    display: block;
    margin: 16px 0 12px;
    font-size: 20px;
}

.intro-item p,
.service-card p,
.company-copy p,
.structure-copy p,
.contact-header p {
    color: #536477;
    line-height: 1.72;
}

.section {
    padding: 112px clamp(18px, 5vw, 76px);
}

.section-label {
    max-width: 1220px;
    margin: 0 auto 28px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.split,
.structure {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(34px, 5vw, 76px);
    max-width: 1220px;
    margin: 0 auto;
    align-items: center;
}

.section-heading h2,
.structure-copy h2,
.contact-header h2 {
    font-size: clamp(31px, 4vw, 54px);
}

.company-copy {
    padding-left: clamp(0px, 4vw, 44px);
    border-left: 1px solid var(--line);
}

.text-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--blue-700);
    font-weight: 800;
}

.services {
    background: var(--silver);
}

.centered {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.centered .eyebrow {
    justify-content: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1220px;
    margin: 0 auto;
}

.service-card {
    min-height: 410px;
    padding: 30px;
    border: 1px solid #e2e9f0;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 48px rgba(6, 20, 36, .08);
}

.service-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 8px;
    color: var(--blue-950);
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    font-weight: 800;
}

.service-card h3 {
    margin: 28px 0 12px;
    font-size: 24px;
}

.service-card ul {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.service-card li {
    position: relative;
    padding-left: 20px;
    color: var(--blue-800);
    font-weight: 700;
}

.service-card li::before,
.check-list span::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

.structure {
    grid-template-columns: 1.05fr .95fr;
}

.structure-media {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.structure-media img {
    width: 100%;
    height: min(58vw, 560px);
    object-fit: cover;
}

.check-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.check-list span {
    position: relative;
    padding: 16px 16px 16px 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--blue-900);
    font-weight: 700;
}

.check-list span::before {
    left: 16px;
}

.contact-section {
    padding: 112px clamp(18px, 5vw, 76px);
    background: var(--blue-950);
    color: var(--white);
}

.contact-header {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.contact-header p {
    color: rgba(255, 255, 255, .72);
}

.contact-layout {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 22px;
    max-width: 1180px;
    margin: 0 auto;
}

.contact-form,
.contact-card {
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    box-shadow: 0 22px 58px rgba(0, 0, 0, .22);
}

.contact-form {
    display: grid;
    gap: 18px;
    padding: 28px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    padding: 14px 15px;
    color: var(--white);
    background: rgba(255, 255, 255, .08);
    font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, .42);
}

.contact-card {
    overflow: hidden;
}

.contact-card > div {
    padding: 22px 26px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.contact-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--gold-soft);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-card a {
    font-size: 24px;
    font-weight: 800;
}

.contact-card p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    line-height: 1.6;
}

.contact-card iframe {
    display: block;
    width: 100%;
    height: 390px;
    border: 0;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 24px;
    padding: 26px clamp(18px, 5vw, 76px);
    color: var(--white);
    background: #030c16;
}

.site-footer p {
    margin: 0;
    color: rgba(255, 255, 255, .64);
}

.footer-legal {
    display: grid;
    gap: 6px;
    text-align: center;
}

.site-footer a {
    color: var(--gold-soft);
    font-weight: 800;
}

.back-top {
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
}

.whatsapp-float {
    position: fixed;
    z-index: 75;
    right: clamp(16px, 3vw, 34px);
    bottom: 118px;
    display: grid;
    width: 60px;
    height: 60px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: #25d366;
    box-shadow: 0 18px 42px rgba(37, 211, 102, .34);
    transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 52px rgba(37, 211, 102, .42);
}

.whatsapp-float svg {
    width: 34px;
    height: 34px;
    fill: currentColor;
}

.cookie-consent {
    position: fixed;
    z-index: 80;
    right: clamp(14px, 3vw, 34px);
    bottom: clamp(14px, 3vw, 34px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    width: min(780px, calc(100vw - 28px));
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    color: var(--white);
    background: rgba(6, 20, 36, .96);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
    backdrop-filter: blur(18px);
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-copy strong {
    display: block;
    margin-bottom: 8px;
    color: var(--gold-soft);
    font-size: 15px;
    text-transform: uppercase;
}

.cookie-copy p {
    margin: 0;
    color: rgba(255, 255, 255, .76);
    font-size: 14px;
    line-height: 1.55;
}

.cookie-details {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.cookie-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    min-width: 190px;
}

.cookie-link {
    border: 0;
    padding: 0;
    color: var(--gold-soft);
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    text-decoration: underline;
    cursor: pointer;
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s ease;
}

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

@keyframes driftOne {
    from { transform: translate3d(-18px, -12px, 0); }
    to { transform: translate3d(28px, 22px, 0); }
}

@keyframes driftTwo {
    from { background-position: 0 0; }
    to { background-position: 220px 180px; }
}

@keyframes depthFloat {
    from { transform: rotateX(0) rotateY(0) translateY(0); }
    to { transform: rotateX(2deg) rotateY(-4deg) translateY(-18px); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
    .site-header {
        grid-template-columns: auto auto;
    }

    .nav-toggle {
        display: block;
        justify-self: end;
    }

    .site-nav,
    .header-contact {
        display: none;
    }

    .site-nav.is-open {
        position: absolute;
        top: calc(100% + 8px);
        left: 18px;
        right: 18px;
        display: grid;
        justify-content: stretch;
        gap: 4px;
        padding: 12px;
        border-radius: 8px;
        background: rgba(6, 20, 36, .96);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open a {
        border-radius: 8px;
    }

    .hero-grid,
    .split,
    .structure,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 116px;
    }

    .hero-visual {
        min-height: 470px;
    }

    .intro-band,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .intro-item,
    .intro-item:first-child,
    .intro-item:last-child {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
    }

    .intro-item:first-child {
        border-radius: 8px 8px 0 0;
    }

    .intro-item:last-child {
        border-bottom: 0;
        border-radius: 0 0 8px 8px;
    }

    .company-copy {
        padding-left: 0;
        border-left: 0;
    }

    .site-footer {
        grid-template-columns: 1fr;
    }

    .brand-logo {
        width: 62px;
    }

    .cookie-consent {
        grid-template-columns: 1fr;
    }

    .cookie-actions {
        align-items: stretch;
        min-width: 0;
    }
}

@media (max-width: 620px) {
    .hero-metrics,
    .check-list {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 390px;
    }

    .photo-stack {
        inset: 0;
    }

    .card-main {
        inset: 72px 18px 42px 18px;
    }

    .card-top,
    .card-bottom {
        width: 50%;
    }

    .floating-panel {
        left: 18px;
        right: 18px;
        bottom: 14px;
        max-width: none;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 100px;
        width: 56px;
        height: 56px;
    }

    .section,
    .contact-section {
        padding-block: 76px;
    }
}

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