/* =========================================================
   ROOT / BASE
========================================================= */

:root {
    --bg: #08030f;
    --bg2: #12071f;
    --card: #160c24;
    --gold: #d8b761;
    --gold2: #fff0ae;
    --text: #f7f0df;
    --light: #f7f0df;
    --muted: #c9bdd4;
    --line: rgba(216, 183, 97, 0.28);
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
    --radius: 26px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) #08030f;
}

body {
    margin: 0;
    padding-top: 102px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
    background: radial-gradient(circle at 20% 0%, #251035 0, #08030f 42%, #030106 100%);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
    height: 100dvh;
}

img {
    max-width: 100%;
    height: auto;
}

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

p {
    color: var(--muted);
    margin: 0 0 18px;
}

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.08;
    margin: 0 0 18px;
}

h1 {
    font-size: clamp(2.75rem, 7vw, 6.6rem);
    letter-spacing: 0.045em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.7rem);
}

h3 {
    font-size: 1.45rem;
    color: var(--gold2);
}


/* =========================================================
   CUSTOM SCROLLBAR
========================================================= */

html::-webkit-scrollbar {
    width: 14px;
}

html::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #08030f, #12071f);
    border-left: 1px solid rgba(216, 183, 97, 0.18);
}

html::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold2), var(--gold));
    border-radius: 999px;
    border: 3px solid #08030f;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.18),
        0 0 16px rgba(216, 183, 97, 0.45);
}

html::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #fff6c8, var(--gold));
}


/* =========================================================
   LAYOUT
========================================================= */

.container {
    width: min(1160px, calc(100% - 40px));
    margin: auto;
}

.narrow {
    width: min(860px, calc(100% - 40px));
}

.section {
    padding: 88px 0;
}

.section.alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.section-head {
    max-width: 780px;
    margin-bottom: 34px;
}

.grid {
    display: grid;
    gap: 22px;
}

.grid.two {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
}

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

.skip-link {
    position: absolute;
    left: -999px;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
    z-index: 9999;
    background: var(--gold);
    color: #170b20;
    padding: 10px 14px;
    border-radius: 10px;
}


/* =========================================================
   HEADER FIXED / NAV DESKTOP
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 3000;
    background: rgba(8, 3, 15, 0.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
}

.brand img {
    width: auto;
    height: 90px;
    object-fit: cover;
}

.brand strong {
    display: block;
    font-family: Georgia, serif;
    font-size: 1.3rem;
    letter-spacing: 0.08em;
    color: var(--gold2);
    text-transform: uppercase;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.main-nav a {
    font-size: 0.88rem;
    color: var(--muted);
    transition: 0.25s;
}

.main-nav a:hover,
.main-nav a.active,
.main-nav a[aria-current="page"] {
    color: var(--gold2);
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
}


/* =========================================================
   BUTTONS
========================================================= */

.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    background: linear-gradient(135deg, var(--gold2), var(--gold));
    color: #1a0d21 !important;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
    box-shadow: 0 14px 34px rgba(216, 183, 97, 0.14);
    transition: 0.25s;
}

.btn:hover,
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 46px rgba(216, 183, 97, 0.24);
}

.btn.secondary {
    background: transparent;
    color: var(--gold2) !important;
}


/* =========================================================
   HOME HERO
========================================================= */

.hero {
    padding: 92px 0 72px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -30%;
    background:
        radial-gradient(circle at 80% 20%, rgba(216, 183, 97, 0.14), transparent 24%),
        radial-gradient(circle at 20% 50%, rgba(120, 58, 164, 0.18), transparent 30%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 54px;
    align-items: center;
}

.eyebrow {
    color: var(--gold);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.78rem;
}

.lead {
    font-size: 1.18rem;
    color: #eee2f5;
    max-width: 660px;
}

.lead-contact {
    font-size: 1.18rem;
    color: #eee2f5;
    text-align: center;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 34px;
}

.trust-row span {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px;
    color: var(--gold2);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.9rem;
}

.visual-card {
    border: 1px solid var(--line);
    border-radius: 34px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    padding: 22px;
    box-shadow: var(--shadow);
}

.visual-card img {
    border-radius: 26px;
    display: block;
}


/* =========================================================
   PAGE HERO
========================================================= */

.page-hero {
    padding: 72px 0 54px;
    background: linear-gradient(180deg, rgba(216, 183, 97, 0.06), transparent);
}

.page-hero h1 {
    font-size: clamp(2.4rem, 6vw, 5.2rem);
}

.page-hero-inner {
    display: grid;
    gap: 48px;
    align-items: center;
}

.page-hero-split .page-hero-inner {
    grid-template-columns: 1fr 0.95fr;
}

.page-hero-content {
    max-width: 760px;
}

.page-hero-visual {
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.22);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
    aspect-ratio: 16 / 10;
}

.page-hero-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.breadcrumbs {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--gold2);
}


/* =========================================================
   CARDS / LISTS / LINKS
========================================================= */

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    transition: 0.25s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(216, 183, 97, 0.58);
}

.card .number {
    color: var(--gold);
    font-weight: 900;
    letter-spacing: 0.14em;
}

.card-compact {
    align-self: center;
    justify-self: end;
    max-width: 420px;
    width: 100%;
}

.service-list {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.service-list li {
    list-style: none;
    border-left: 2px solid var(--gold);
    padding: 4px 0 4px 18px;
    color: var(--muted);
}

.link {
    color: var(--gold2);
    font-weight: 800;
}

.inline-service-link {
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
    position: relative;
    white-space: nowrap;
}

.inline-service-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: var(--gold);
    opacity: 0.65;
    transform: scaleX(0.6);
    transform-origin: left;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.inline-service-link:hover::after {
    transform: scaleX(1);
    opacity: 1;
}

.mini-kicker {
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
}


/* =========================================================
   CTA
========================================================= */

.cta-panel {
    border: 1px solid var(--line);
    border-radius: 34px;
    padding: 44px;
    background:
        radial-gradient(circle at 80% 0%, rgba(216, 183, 97, 0.18), transparent 26%),
        linear-gradient(145deg, #170925, #08030f);
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 24px;
    align-items: center;
}


/* =========================================================
   FAQ / SEO CONTENT
========================================================= */

.seo-content p,
.faq-section p {
    color: var(--muted);
    line-height: 1.8;
}

.faq-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.faq-list details {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 18px;
    padding: 18px 20px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--light);
}

.faq-list details[open] summary {
    color: var(--gold);
}

.faq-list p {
    margin-top: 12px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-box {
    font-size: 1.2rem;
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 48px;
    align-items: center;
}

.contact-panel {
    display: grid;
    grid-template-columns: minmax(190px, 1fr) minmax(190px, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 26px 30px;
    border: 1px solid rgba(212, 175, 55, 0.24);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.045);
}

.contact-item {
    min-width: 0;
}

.contact-item span {
    display: block;
    color: var(--muted);
    margin-bottom: 8px;
}

.contact-item strong {
    display: block;
    color: var(--light);
    font-size: 1.08rem;
    white-space: nowrap;
}

.contact-item small {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.9rem;
    line-height: 1.2;
}

.status-ok {
    color: #6ee7a8;
}

.status-warning {
    color: #ff9b8f;
}

.contact-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.contact-buttons .btn {
    white-space: nowrap;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    border-top: 1px solid var(--line);
    padding: 54px 0 24px;
    background: #050208;
}

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

.footer-logo {
    object-fit: cover;
}

.site-footer h2 {
    font-size: 1.2rem;
    color: var(--gold2);
}

.site-footer a {
    display: block;
    color: var(--muted);
    margin: 8px 0;
}

.footer-bottom {
    border-top: 1px solid var(--line);
    margin-top: 32px;
    padding-top: 20px;
    color: var(--muted);
}

.site-footer .footer-bottom {
    text-align: center;
    width: 100%;
}

.site-footer .footer-copy {
    display: inline;
    white-space: nowrap;
    font-size: 14px;
}

.site-footer .credits {
    display: inline;
    margin-left: 6px;
}

.site-footer .credits a {
    display: inline;
    color: var(--gold);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.site-footer .credits a:hover {
    color: var(--gold);
    text-shadow:
        0 0 6px rgba(212, 175, 55, 0.6),
        0 0 12px rgba(212, 175, 55, 0.3);
}


/* =========================================================
   WHATSAPP FLOAT
========================================================= */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: var(--muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: transform 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

.whatsapp-float span {
    display: none;
}

.whatsapp-float img,
.whatsapp-float i {
    width: 46px;
    height: 46px;
}

.whatsapp-float svg {
    color: red;
}


/* =========================================================
   POLICY
========================================================= */

.policy h2 {
    font-size: 1.8rem;
    margin-top: 34px;
}


/* =========================================================
   ORIENTATION CHAT — WIDGET
========================================================= */

.orientation-widget {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 998;
    font-family: inherit;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.orientation-widget.is-footer-visible:not(.is-open) {
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
}

.orientation-bubble {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
    max-width: 280px;
    padding: 12px 18px 12px 14px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(43, 18, 64, 0.97), rgba(12, 8, 18, 0.97));
    color: var(--light);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
    cursor: pointer;
    transform: translateY(18px) scale(0.96);
    opacity: 0;
    animation:
        orientationBubbleIn 0.7s ease forwards,
        orientationBubblePulse 2.4s ease-in-out 1.1s 3;
    text-align: left;
}

.orientation-bubble:hover {
    border-color: rgba(212, 175, 55, 0.78);
    transform: translateY(0) scale(1.02);
}

.orientation-bubble-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #1a1025;
    background: linear-gradient(135deg, var(--gold), #f0d98b);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}

.orientation-bubble-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.orientation-bubble-text strong {
    color: var(--light);
    font-size: 0.96rem;
    line-height: 1.15;
}

.orientation-bubble-text small {
    color: var(--muted);
    font-size: 0.78rem;
    margin-top: 2px;
}

.orientation-bubble-ping {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #6ee7a8;
    box-shadow: 0 0 0 0 rgba(110, 231, 168, 0.6);
    animation: orientationPing 1.8s infinite;
}


/* =========================================================
   ORIENTATION CHAT — PANEL
========================================================= */

.orientation-panel {
    position: absolute;
    left: 0;
    bottom: 82px;
    width: min(390px, calc(100vw - 32px));
    height: 540px;
    max-height: calc(100vh - 140px);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    background:
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.14), transparent 34%),
        linear-gradient(160deg, rgba(28, 14, 42, 0.98), rgba(8, 6, 14, 0.98));
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(16px);
    opacity: 0;
    transform: translateY(18px) scale(0.96);
}

.orientation-widget.is-open .orientation-panel {
    display: flex;
    animation: orientationPanelIn 0.35s ease forwards;
}

.orientation-widget.is-open .orientation-bubble {
    display: none;
}

.orientation-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 18px 18px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.orientation-header>div:first-child {
    display: grid;
    grid-template-columns: 10px 1fr;
    column-gap: 10px;
    align-items: center;
}

.orientation-header strong {
    color: var(--light);
    font-size: 0.98rem;
    line-height: 1.1;
}

.orientation-header small {
    grid-column: 2;
    color: var(--muted);
    font-size: 0.78rem;
    margin-top: 3px;
}

.orientation-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #6ee7a8;
    box-shadow: 0 0 0 5px rgba(110, 231, 168, 0.13);
}

.orientation-header-actions {
    display: flex;
    gap: 8px;
}

.orientation-header-actions button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.045);
    color: var(--light);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}

.orientation-header-actions button:hover {
    border-color: rgba(212, 175, 55, 0.65);
    color: var(--gold);
}


/* =========================================================
   ORIENTATION CHAT — MESSAGES
========================================================= */

.orientation-chat {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}

.orientation-chat::-webkit-scrollbar {
    width: 8px;
}

.orientation-chat::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.035);
}

.orientation-chat::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold2), var(--gold));
    border-radius: 999px;
    border: 2px solid rgba(8, 3, 15, 0.95);
}

.orientation-msg {
    max-width: 86%;
    padding: 12px 14px;
    border-radius: 18px;
    font-size: 0.94rem;
    line-height: 1.45;
    animation: orientationMsgIn 0.28s ease both;
}

.orientation-msg.assistant {
    align-self: flex-start;
    color: var(--light);
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom-left-radius: 6px;
}

.orientation-msg.user {
    align-self: flex-end;
    color: #160d20;
    background: linear-gradient(135deg, var(--gold), #f0d98b);
    border-bottom-right-radius: 6px;
    font-weight: 650;
}

.orientation-typing {
    width: fit-content;
    margin: 0 18px 10px;
    padding: 11px 13px;
    border-radius: 18px;
    border-bottom-left-radius: 6px;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.orientation-typing span {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 2px;
    border-radius: 50%;
    background: var(--muted);
    animation: orientationTyping 1s infinite ease-in-out;
}

.orientation-typing span:nth-child(2) {
    animation-delay: 0.15s;
}

.orientation-typing span:nth-child(3) {
    animation-delay: 0.3s;
}


/* =========================================================
   ORIENTATION CHAT — REPLIES
========================================================= */

.orientation-replies {
    padding: 14px 16px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 10px;
}

.orientation-replies button,
.orientation-replies a {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 42px;
    padding: 10px 13px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.26);
    background: rgba(255, 255, 255, 0.055);
    color: var(--light);
    text-decoration: none;
    cursor: pointer;
    font-weight: 700;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.orientation-replies button:hover,
.orientation-replies a:hover {
    transform: translateY(-1px);
    border-color: rgba(212, 175, 55, 0.72);
    background: rgba(212, 175, 55, 0.12);
}

.orientation-replies .primary {
    background: linear-gradient(135deg, var(--gold), #f0d98b);
    color: #160d20;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes orientationBubbleIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes orientationBubblePulse {

    0%,
    100% {
        box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
    }

    50% {
        box-shadow:
            0 18px 50px rgba(0, 0, 0, 0.38),
            0 0 0 8px rgba(212, 175, 55, 0.08);
    }
}

@keyframes orientationPing {
    0% {
        box-shadow: 0 0 0 0 rgba(110, 231, 168, 0.55);
    }

    70% {
        box-shadow: 0 0 0 9px rgba(110, 231, 168, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(110, 231, 168, 0);
    }
}

@keyframes orientationPanelIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes orientationMsgIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes orientationTyping {

    0%,
    80%,
    100% {
        opacity: 0.35;
        transform: translateY(0);
    }

    40% {
        opacity: 1;
        transform: translateY(-3px);
    }
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1050px) {
    .contact-hero-grid {
        grid-template-columns: 1fr;
    }

    .contact-panel {
        grid-template-columns: 1fr 1fr;
    }

    .contact-buttons {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 920px) {

    .hero-grid,
    .cta-panel,
    .grid.two,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .grid.three {
        grid-template-columns: 1fr 1fr;
    }

    .trust-row {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 58px;
    }

    .card-compact {
        justify-self: stretch;
        max-width: none;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE NAV
========================================================= */

@media (max-width: 900px) {
    body {
        padding-top: 104px;
    }

    .site-header {
        z-index: 3000;
    }

    .nav-toggle {
        display: inline-flex;
        width: 52px;
        height: 52px;
        border-radius: 14px;
        border: 2px solid var(--gold);
        background: rgba(255, 255, 255, 0.035);
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 3001;
        position: relative;
        padding: 0;
    }

    .nav-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--gold);
        border-radius: 999px;
        transition: transform 0.25s ease, opacity 0.2s ease;
        margin: 0;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .main-nav {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        padding: 120px 26px 34px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        background:
            radial-gradient(circle at top left, rgba(212, 175, 55, 0.14), transparent 34%),
            linear-gradient(160deg, rgba(17, 7, 27, 0.98), rgba(5, 3, 10, 0.98));
        backdrop-filter: blur(18px);
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s ease, opacity 0.35s ease;
        z-index: 2999;
        overflow-y: auto;
    }

    .main-nav.open,
    .main-nav.is-open {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .main-nav a {
        width: 100%;
        padding: 16px 18px;
        border-radius: 18px;
        font-size: 1.05rem;
        color: var(--light);
        background: rgba(255, 255, 255, 0.035);
        border: 1px solid rgba(255, 255, 255, 0.06);
    }

    .main-nav a.active,
    .main-nav a[aria-current="page"] {
        color: var(--gold);
        border-color: rgba(212, 175, 55, 0.35);
        background: rgba(212, 175, 55, 0.08);
    }

    .main-nav .nav-cta {
        margin-top: 16px;
        justify-content: center;
        text-align: center;
        background: linear-gradient(135deg, var(--gold), #f0d98b);
        color: #160d20 !important;
        border-color: transparent;
        font-weight: 800;
    }

    .page-hero-split .page-hero-inner {
        grid-template-columns: 1fr;
    }

    .page-hero-visual {
        aspect-ratio: 16 / 11;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 700px) {
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .whatsapp-float {
        right: 14px;
        bottom: calc(18px + env(safe-area-inset-bottom));
    }

    .orientation-widget {
        left: 14px;
        right: 14px;
        bottom: calc(14px + env(safe-area-inset-bottom));
    }

    .orientation-panel {
        position: fixed;
        left: 14px;
        right: 14px;
        bottom: calc(14px + env(safe-area-inset-bottom));
        width: auto;
        height: min(540px, 72dvh);
        max-height: calc(100dvh - 28px - env(safe-area-inset-bottom));
    }

    .orientation-widget:not(.is-open) {
        left: 14px;
        right: auto;
        bottom: calc(18px + env(safe-area-inset-bottom));
        max-width: calc(100vw - 96px);
    }

    .orientation-bubble {
        min-width: 0;
        width: auto;
        max-width: 100%;
        padding: 10px 42px 10px 10px;
        border-radius: 999px;
        gap: 9px;
        justify-content: flex-start;
    }

    .orientation-bubble-icon {
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
    }

    .orientation-bubble-icon svg {
        width: 16px;
        height: 16px;
    }

    .orientation-bubble-text strong {
        font-size: 0.84rem;
        line-height: 1.1;
        white-space: nowrap;
    }

    .orientation-bubble-text small {
        font-size: 0.68rem;
    }

    .orientation-bubble-ping {
        top: 8px;
        right: 12px;
        width: 12px;
        height: 12px;
        z-index: 2;
    }
}

@media (max-width: 620px) {

    .container,
    .narrow {
        width: min(100% - 26px, 1160px);
    }

    .grid.three {
        grid-template-columns: 1fr;
    }

    .brand small {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn,
    .contact-buttons .btn,
    .cta-panel .btn {
        width: 100%;
    }

    h1 {
        font-size: 2.7rem;
    }

    .section {
        padding: 62px 0;
    }

    .card {
        padding: 24px;
    }

    .cta-panel {
        padding: 28px;
    }

    .site-footer .footer-copy {
        display: block;
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.6;
    }

    .site-footer .credits {
        display: block;
        margin-left: 0;
        margin-top: 6px;
    }

    .site-footer .credits a {
        display: inline;
    }
}

/* =========================================================
   DESKTOP CUSTOM SCROLLBAR
========================================================= */

html {
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) #08030f;
}

/* Chrome / Edge / Safari */
body::-webkit-scrollbar {
  width: 14px;
}

body::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #050208, #12071f);
  border-left: 1px solid rgba(216, 183, 97, 0.18);
}

body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  border-radius: 999px;
  border: 3px solid #08030f;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 16px rgba(216, 183, 97, 0.45);
}

body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #fff8cf, var(--gold));
}