/* ========================================================
   Inversiones Claro Solar SpA — Landing / Funnel de ventas
   ======================================================== */

:root {
    --navy: #141414;
    --navy-deep: #0a0a0a;
    --navy-light: #232323;
    --accent: #f4c300;
    --accent-dark: #a67c00;
    --accent-light: #f8d859;
    --whatsapp: #25d366;
    --whatsapp-dark: #1fab54;
    --ink: #141414;
    --muted: #5b6b7c;
    --muted-light: #8a97a6;
    --bg-light: #f5f7fa;
    --bg-light-2: #eef1f6;
    --white: #ffffff;
    --border: #e3e8ee;
    --shadow-sm: 0 2px 10px rgba(20, 20, 20, 0.06);
    --shadow-md: 0 12px 30px rgba(20, 20, 20, 0.10);
    --shadow-lg: 0 24px 60px rgba(20, 20, 20, 0.18);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-pill: 999px;
    --radius-industrial: 8px;
    --font-display: 'Oswald', 'Arial Narrow', sans-serif;
    --font-body: 'Inter', sans-serif;
    /* Entrance / hover-in: snappy, responsive deceleration */
    --ease: cubic-bezier(.16, 1, .3, 1);
    /* Exit / hover-out: slower, relaxed settle */
    --ease-relax: cubic-bezier(.65, 0, .35, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.005em;
    text-wrap: balance;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.25s var(--ease);
}

ul, ol {
    list-style: none;
}

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

section {
    scroll-margin-top: 76px;
}

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

/* ---------- Utilities ---------- */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 14px;
}

.eyebrow-dark {
    color: var(--accent-dark);
}

.section-title {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    margin-bottom: 14px;
    color: var(--navy);
}

.section-sub {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 620px;
    margin-bottom: 48px;
}

.section-title-left,
.section-sub-left {
    margin-left: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    /* Industrial default: square-ish corners for structural/utility actions */
    border-radius: var(--radius-industrial);
    font-weight: 700;
    font-size: 0.98rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.25s var(--ease);
    white-space: nowrap;
}

.btn-lg {
    padding: 16px 30px;
    font-size: 1.02rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Solid CTAs: flat color, no blur/glow — depth comes from a hard, un-blurred
   offset shadow (a stamped/pressed plate), not a soft colored halo. Hover
   darkens the fill via brightness(), never the shadow; the shadow itself
   only animates on :active, where the button sinks into it. */
.btn-primary,
.btn-whatsapp {
    box-shadow: 0 4px 0 var(--navy-deep);
    transition: background-color .2s ease, filter .2s ease, transform .1s ease, box-shadow .1s ease;
}

.btn-primary:hover,
.btn-whatsapp:hover {
    filter: brightness(0.9);
}

.btn-primary:active,
.btn-whatsapp:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 var(--navy-deep);
}

.btn-primary {
    background: var(--accent);
    color: var(--navy-deep);
}

/* WhatsApp = the one conversion action on the page: pill-shaped and
   deliberately set apart from every other (industrial-cornered) button. */
.btn-whatsapp {
    border-radius: var(--radius-pill);
    background: var(--whatsapp);
    color: #fff;
}

.btn-outline-light {
    background: rgba(20, 20, 20, 0.7);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}

.btn-outline-light:hover {
    background: rgba(30, 30, 30, 0.85);
    border-color: rgba(255, 255, 255, 0.8);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
}

.btn-outline-light:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.btn-outline-light svg {
    transition: transform 0.25s var(--ease);
}

.btn-outline-light:hover svg {
    transform: translateY(3px);
}

/* Reveal-on-scroll */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.reveal-delay-1.is-visible { transition-delay: .08s; }

/* Hero cascade: headline -> subtext -> CTAs/map */
.hero-stagger-1.is-visible { transition-delay: 0ms; }
.hero-stagger-2.is-visible { transition-delay: 140ms; }
.hero-stagger-3.is-visible { transition-delay: 280ms; }

/* ========================================================
   Header
   ======================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 18px 0;
    background: transparent;
    transition: 0.3s var(--ease);
}

header.is-scrolled {
    background: rgba(20, 20, 20, 0.92);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

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

.logo {
    display: flex;
    align-items: center;
    color: #fff;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.015em;
    text-transform: uppercase;
    line-height: 1.2;
    white-space: nowrap;
}

.logo-text small {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-light);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links ul {
    display: flex;
    gap: 28px;
}

.nav-link {
    color: #e8ecf1;
    font-weight: 600;
    font-size: 0.94rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: 0.25s var(--ease);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #fff;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-light);
    font-weight: 700;
    font-size: 0.92rem;
}

.nav-close-area {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: 0.25s var(--ease);
}

/* ========================================================
   Hero
   ======================================================== */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 90px;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 70%);
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    transform: scale(1.06);
    animation: heroZoom 22s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.06); }
    to { transform: scale(1.14); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 55% at 18% 12%, rgba(201, 162, 39, 0.12), transparent 60%),
        linear-gradient(180deg, rgba(8, 8, 8, 0.88) 0%, rgba(8, 8, 8, 0.8) 45%, rgba(8, 8, 8, 0.96) 100%);
}

/* Fine diagonal hairline grid — adds crafted texture instead of a flat
   color wash, evoking steel plate / blueprint rather than glassmorphism. */
.hero-texture {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: repeating-linear-gradient(135deg, #fff 0, #fff 1px, transparent 1px, transparent 26px);
    mix-blend-mode: overlay;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding-top: 40px;
    padding-bottom: 60px;
}

.hero-content .reveal {
    transform: translateY(32px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.hero h1 {
    font-size: clamp(2.8rem, 5.6vw, 4.2rem);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -0.01em;
    color: #fff;
    margin-bottom: 22px;
}

.hero h1 span {
    color: #fff;
}

.hero-sub {
    color: #cfd8e3;
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    max-width: 520px;
    margin-bottom: 34px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

/* ========================================================
   Coverage (region map) — standalone section below the Hero
   ======================================================== */
.coverage {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
    padding: 100px 0 110px;
}

.coverage .section-title {
    color: #fff;
}

.coverage .section-sub {
    color: rgba(207, 216, 227, 0.75);
}

.coverage-body {
    display: flex;
    gap: 64px;
    align-items: flex-start;
}

.coverage-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 6px;
    max-width: 520px;
}

/* Chile is far too tall/narrow to render as one column without the map
   dominating the section's height, so it's folded into North/South
   halves placed side by side — the same technique used in print atlases
   and Chilean government coverage maps for this exact problem. Both
   halves share the same path data; each <svg>'s viewBox simply clips to
   its half of the country, like creasing a paper map down the middle. */
.region-map-split {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    flex-shrink: 0;
}

.region-map-half {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.region-map-caption {
    color: rgba(232, 236, 241, 0.4);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.map-fold-line {
    align-self: stretch;
    width: 0;
    margin: 4px 0 24px;
    border-left: 1px dashed rgba(255, 255, 255, 0.16);
}

.region-map {
    width: 150px;
    flex-shrink: 0;
    overflow: hidden;
}

.region-band {
    fill: rgba(255, 255, 255, 0.1);
    stroke: rgba(255, 255, 255, 0.22);
    stroke-width: 1;
    stroke-linejoin: round;
    transition: fill .35s var(--ease-relax), stroke .35s var(--ease-relax);
}

.region-band.is-available {
    fill: var(--accent);
    stroke: rgba(201, 162, 39, 0.6);
}

.region-band.is-active-hover {
    stroke: #fff;
    stroke-width: 1.5;
    transition: fill .18s var(--ease), stroke .18s var(--ease);
}

.region-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Column-major fill: column 1 reads Arica → O'Higgins (north to the
       midpoint), then column 2 continues Maule → Magallanes — strict
       north-to-south order, not the row-major zig-zag CSS Grid defaults to. */
    grid-auto-flow: column;
    grid-template-rows: repeat(8, auto);
    gap: 9px 20px;
}

.region-legend li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(232, 236, 241, 0.5);
    line-height: 1.3;
    transition: color .3s var(--ease-relax);
}

.region-legend li.is-active-hover {
    color: #fff;
    transition: color .15s var(--ease);
}

.region-legend .dot {
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.region-legend li.is-available .dot {
    background: var(--accent);
}

.region-legend li.is-available {
    color: rgba(232, 236, 241, 0.88);
}

.map-legend-key {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.map-legend-key li {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.74rem;
    font-weight: 600;
    color: rgba(232, 236, 241, 0.55);
}

.map-legend-key .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-available {
    background: var(--accent);
}

.dot-pending {
    background: rgba(255, 255, 255, 0.2);
}

/* ========================================================
   Machine cards
   ======================================================== */
.machine-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    will-change: transform;
    transition: transform .5s var(--ease-relax), box-shadow .5s var(--ease-relax);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.machine-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}

.machine-img {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-light-2);
}

.machine-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.machine-card:hover .machine-img img {
    transform: scale(1.07);
}

.machine-brand {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--navy);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 6px 12px;
    border-radius: 999px;
}

.machine-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--accent);
    color: var(--navy-deep);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    padding: 6px 11px;
    border-radius: 999px;
}

.machine-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.machine-cat {
    color: var(--accent-dark);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.machine-body h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin: 4px 0 12px;
}

.machine-chips {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.machine-chips span {
    background: var(--bg-light);
    border: 1px solid var(--border);
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
}

.machine-body p {
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 16px;
    flex: 1;
}

.machine-specs {
    margin: -4px 0 16px;
    padding-left: 2px;
}

.machine-specs li {
    color: var(--muted);
    font-size: 0.82rem;
    padding: 3px 0 3px 16px;
    position: relative;
}

.machine-specs li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.machine-link {
    color: var(--navy);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.machine-link:hover {
    color: var(--accent-dark);
}

/* ========================================================
   Fleet grid + filters
   ======================================================== */
.fleet {
    padding: 100px 0 110px;
    background: var(--white);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-light);
    color: var(--navy);
    font-weight: 700;
    font-size: 0.86rem;
    cursor: pointer;
    transition: border-color .4s var(--ease-relax), background-color .4s var(--ease-relax), color .4s var(--ease-relax);
}

.filter-btn:hover {
    border-color: var(--accent);
    transition: border-color .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
}

.filter-btn.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.fleet-grid {
    display: grid;
    /* auto-fill (not auto-fit): keeps every card at its normal width even
       when a filter leaves just one or two visible — the empty tracks stay
       reserved instead of collapsing and stretching the remaining cards. */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 26px;
}

.grid-card.is-hidden {
    display: none;
}

/* ========================================================
   Contact
   ======================================================== */
.contact {
    padding: 100px 0 110px;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.contact .section-title {
    color: #fff;
}

.contact .section-sub {
    color: rgba(207, 216, 227, 0.75);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 28px 0 32px;
}

.contact-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 14px;
}

.contact-label {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(232, 236, 241, 0.5);
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

a.contact-value:hover {
    color: var(--accent-light);
}


.contact-form {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-row label {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--navy);
}

.form-row input,
.form-row select,
.form-row textarea {
    font-family: inherit;
    font-size: 0.96rem;
    padding: 13px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--ink);
    resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}

.form-submit {
    margin-top: 6px;
    width: 100%;
    background: var(--navy);
    color: var(--accent);
    border: 1.5px solid rgba(244, 195, 0, 0.3);
    box-shadow: 0 4px 14px rgba(20, 20, 20, 0.12);
    font-weight: 700;
    transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
}

.form-submit:hover {
    background: var(--navy-deep);
    border-color: var(--accent);
    color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(20, 20, 20, 0.22);
    filter: none;
}

.form-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(20, 20, 20, 0.15);
}

.form-note {
    color: var(--muted-light);
    font-size: 0.8rem;
    text-align: center;
}

/* ========================================================
   Footer
   ======================================================== */
footer {
    background: var(--navy-deep);
    color: #cfd8e3;
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.88rem;
    color: var(--muted-light);
    max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--muted-light);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact p {
    font-size: 0.88rem;
    margin-bottom: 10px;
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding: 22px 24px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted-light);
}

/* ========================================================
   Floating actions
   ======================================================== */
.float-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s var(--ease);
}

.float-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ========================================================
   Responsive
   ======================================================== */
@media (max-width: 1080px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .coverage-body {
        flex-direction: column;
        gap: 40px;
    }

    .region-map-split {
        margin: 0 auto;
    }

    .coverage-info {
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 860px) {
    .nav-links {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(340px, 86vw);
        height: 100vh;
        background: var(--navy-deep);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 100px 32px 40px;
        gap: 32px;
        transform: translateX(100%);
        transition: transform 0.35s var(--ease);
        z-index: 210;
    }

    .nav-links.is-open {
        transform: translateX(0);
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.3);
    }

    .nav-links ul {
        flex-direction: column;
        gap: 22px;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 18px;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .nav-phone {
        display: none;
    }

    /* Logo + "Cotizar ahora" + hamburger all need to fit this row — tighten
       gaps and shrink the two flexible pieces (logo wordmark, button) so
       the hamburger never gets pushed past the viewport edge. */
    .nav-wrap {
        gap: 8px;
    }

    .nav-actions {
        gap: 6px;
    }

    .nav-actions .btn-primary {
        padding: 8px 10px;
        font-size: 0.78rem;
    }

    .logo-text {
        font-size: 0.64rem;
    }

    .region-map {
        width: 100px;
    }

    .region-map-split {
        gap: 16px;
    }

    .coverage,
    .fleet,
    .contact {
        padding: 56px 0 64px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
