/* =========================================================
   BRAVO CRITICAL LOGISTICS — STYLE.CSS (FULLY RESPONSIVE)
   Basado en docs/identidad.pdf (Manual de Identidad Corporativa)
   ---------------------------------------------------
   PALETA PRIMARIA (base del sitio, pag. 03)
   DEEP NAVY         #0D1624   Trust / Control          60-70%
   FIELD OLIVE       #4F5F3B   Strength / Discipline    20-30%
   SILVER/STEEL GRAY #B9BDC0   Technology / Precision   10%
   ---------------------------------------------------
   PALETA SECUNDARIA (solo detalles, pag. 04)
   SAGE GRAY         #89958A   iconos y eyebrows
   ICE WHITE         #F1F3EF   texto principal y placa del logo
   (Obsidian, Forest y Champagne no se usan en la web por ahora)
   ---------------------------------------------------
   TIPOGRAFIA (pag. 05): Helvetica Bold / LT / Light
========================================================= */

/* Helvetica con licencia: primero la instalada en el equipo,
   luego los archivos del sitio en assets/fonts/ */
@font-face {
    font-family: 'Helvetica Brand';
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    src: local('Helvetica Light'), local('Helvetica-Light'),
        url('../fonts/helvetica-light.woff2') format('woff2');
}

@font-face {
    font-family: 'Helvetica Brand';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: local('Helvetica'), local('Helvetica LT'), local('Helvetica-Roman'),
        url('../fonts/helvetica-lt.woff2') format('woff2');
}

@font-face {
    font-family: 'Helvetica Brand';
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: local('Helvetica Bold'), local('Helvetica-Bold'),
        url('../fonts/helvetica-bold.woff2') format('woff2');
}

:root {
    /* ---- Paleta primaria (oficial) ---- */
    --navy: #0D1624;
    /* Deep Navy         */
    --olive: #4F5F3B;
    /* Field Olive       */
    --silver: #B9BDC0;
    /* Silver/Steel Gray */

    /* ---- Paleta secundaria (oficial, solo detalles) ---- */
    --sage: #89958A;
    /* Sage Gray         */
    --ice: #F1F3EF;
    /* Ice White         */

    /* ---- Escalas de la primaria (mezclas con blanco/negro) ---- */
    --navy-900: #0A111C;
    /* navy oscurecido: topbar, footer   */
    --navy-800: #131F30;
    /* navy elevado: secciones alternas  */
    --navy-700: #1A2738;
    /* navy elevado+: info-cards         */
    --silver-light: #D2D5D7;
    /* silver aclarado: hover y textos   */
    --sage-light: #A8B2A9;
    /* sage aclarado: eyebrows           */

    /* ---- Semantica ---- */
    --ink: #F1F3EF;
    /* texto principal  = ICE WHITE  */
    --muted: #B9BDC0;
    /* texto secundario = SILVER     */
    --headline: #F1F3EF;
    /* h1/h2/h3         = ICE WHITE  */

    /* ---- Tipografia ---- */
    --font-brand: 'Helvetica Brand', 'Helvetica Neue', Helvetica, Arial, sans-serif;

    --header-h: 76px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px
}

body {
    font-family: var(--font-brand);
    font-weight: 400;
    background: var(--navy);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-x: clip
}

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

.container {
    width: min(1200px, 100% - 2.5rem);
    margin-inline: auto
}

/* Manual pag. 05:
   Helvetica Bold  (700) -> titulares y mensajes clave
   Helvetica LT    (400) -> cuerpo, botones, navegacion
   Helvetica Light (300) -> textos informativos y descripciones */
h1,
h2,
h3,
h4 {
    font-family: var(--font-brand);
    font-weight: 700
}

.hero p,
.card p,
.info-card p,
.about-card p {
    font-weight: 300
}

section[id] {
    scroll-margin-top: calc(var(--header-h) + 40px)
}

:focus-visible {
    outline: 2px solid var(--silver);
    outline-offset: 3px
}

/* ============ NOTA: SITIO EN CONSTRUCCIÓN ============ */
/* Banda clara: fondo SILVER/STEEL GRAY, texto DEEP NAVY (9.59:1),
   etiqueta FIELD OLIVE con texto ICE WHITE (6.2:1), rayas oliva/navy */
.construction {
    position: relative;
    z-index: 1;
    background: linear-gradient(90deg, var(--silver) 0%, var(--silver-light) 50%, var(--silver) 100%);
    color: var(--navy);
    /* Marco oliva: separa la banda del fondo navy */
    border-top: 3px solid var(--olive);
    border-bottom: 3px solid var(--olive);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .55)
}

/* Rayas oliva / Ice White (6.2:1): ninguna se funde con el fondo oscuro */
.construction::before,
.construction::after {
    content: "";
    display: block;
    height: 10px;
    background: repeating-linear-gradient(-45deg, var(--olive) 0 14px, var(--ice) 14px 28px)
}

.construction-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .9rem;
    padding: .9rem 1.5rem
}

.construction svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    color: var(--olive)
}

.construction p {
    font-size: .92rem;
    font-weight: 400;
    color: var(--navy)
}

.construction strong {
    display: inline-block;
    background: var(--olive);
    color: var(--ice);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .1rem .55rem;
    margin-right: .35rem;
    border-radius: 4px
}

/* ============ TOP BAR ============ */
.topbar {
    background: var(--navy-900);
    border-bottom: 1px solid rgba(185, 189, 192, .25);
    font-size: .85rem
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem 1.5rem;
    flex-wrap: wrap;
    padding: .55rem 1.5rem
}

/* Teléfono en la barra superior: SILVER sobre Navy (10:1),
   chip con borde para que se note a primera vista */
.top-phone {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--silver);
    color: var(--navy);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    letter-spacing: .04em;
    padding: .3rem .85rem;
    border-radius: 999px;
    transition: background .2s
}

.top-phone svg {
    width: 16px;
    height: 16px;
    color: var(--olive)
}

.top-phone:hover {
    background: var(--ice)
}

.top-reg {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--muted)
}

.top-reg svg {
    width: 15px;
    height: 15px;
    color: var(--sage)
}

.top-mail {
    color: var(--muted);
    text-decoration: none
}

.top-mail:hover {
    color: var(--silver-light)
}

/* ============ INTRO / PANTALLA DE CARGA ============ */
body.intro-active {
    overflow: hidden
}

.intro {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #0A111C;
    transition: opacity .6s ease, visibility .6s ease
}

.intro--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none
}

.intro-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.95)
}

.intro-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 60% at 50% 42%, rgba(13, 22, 36, .05) 0%, rgba(10, 17, 28, .66) 80%),
        linear-gradient(180deg, rgba(13, 22, 36, .22), rgba(10, 17, 28, .58))
}

.intro-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.15rem;
    padding: 1.5rem;
    text-align: center
}

.intro-badge {
    width: 132px;
    height: auto;
    border-radius: 50%;
    box-shadow:
        0 0 0 1px rgba(241, 243, 239, .25),
        0 18px 45px rgba(0, 0, 0, .55);
    animation: introPulse 2.4s ease-in-out infinite
}

@keyframes introPulse {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.03)
    }
}

.intro-tagline {
    color: var(--muted);
    font-size: .7rem;
    letter-spacing: .22em;
    text-transform: uppercase
}

.intro-track {
    width: 220px;
    height: 3px;
    background: rgba(241, 243, 239, .18);
    border-radius: 999px;
    overflow: hidden
}

.intro-bar {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--olive), #8FA27A);
    border-radius: inherit;
    transition: width .18s linear
}

.intro-meta {
    display: flex;
    justify-content: space-between;
    width: 220px;
    color: var(--sage-light);
    font-size: .64rem;
    letter-spacing: .18em;
    text-transform: uppercase
}

/* ============ HEADER / NAV ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, #F6F8F4 0%, #E4E8E1 100%);
    border-bottom: 2px solid var(--olive);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18)
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 1.5rem
}

.brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none
}

.brand svg {
    width: 46px;
    height: 46px;
    flex-shrink: 0
}

/* Logo oficial a color (assets/brand/logo-horizontal.png, 504x184).
   Manual pag. 06: no recolorear, no usar sobre bajo contraste,
   minimo digital 120 px de ancho y espacio libre de ~10%.
   Por eso va sobre una placa ICE WHITE, como en las aplicaciones (pag. 08). */
.brand-plate {
    background: #FFFFFF;
    border: 2px solid var(--olive);
    border-radius: 10px;
    padding: 7px 13px;
    box-shadow: 0 10px 24px rgba(13, 22, 36, .2)
}

.brand-logo {
    height: 56px;
    /* 153 px de ancho */
    width: auto;
    min-width: 120px;
    flex-shrink: 0
}

/* Menú hamburguesa (solo móvil) */
.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    border-radius: 6px;
    margin-left: auto
}

.nav-burger span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .3s, opacity .3s
}

.nav-toggle:checked~.nav-burger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg)
}

.nav-toggle:checked~.nav-burger span:nth-child(2) {
    opacity: 0
}

.nav-toggle:checked~.nav-burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg)
}

.menu-cta {
    display: none
}

.menu {
    display: flex;
    gap: 1.6rem;
    list-style: none
}

.menu a {
    color: var(--navy);
    text-decoration: none;
    text-transform: uppercase;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .09em
}

.menu a:hover {
    color: var(--olive)
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .85rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: .25s
}

/* CTA primario: DEEP NAVY sobre SILVER/STEEL GRAY (9.59:1) */
.btn-accent {
    background: var(--silver);
    color: var(--navy);
    box-shadow: 0 4px 18px rgba(185, 189, 192, .35)
}

.site-header .btn-accent {
    background: var(--olive);
    color: var(--ice);
    box-shadow: 0 4px 18px rgba(79, 95, 59, .35)
}

.site-header .btn-accent:hover {
    background: #5D6F46
}

.btn-accent:hover {
    background: var(--silver-light);
    transform: translateY(-2px)
}

.btn-ghost {
    border: 2px solid var(--sage);
    color: var(--ice)
}

.btn-ghost:hover {
    background: rgba(137, 149, 138, .22);
    border-color: var(--sage-light)
}

.btn svg {
    width: 16px;
    height: 16px
}

/* ============ HERO (video de fondo: assets/video/intro.mp4) ============ */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--navy);
    padding: 25vh 0 clamp(6rem, 12vw, 10rem)
}

/* Video de cabecera: cubre todo el hero, detras del contenido */
.hero-video {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: 0
}

/* Velo navy para conservar el contraste del texto sobre el video */
.hero-veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(13, 22, 36, .88) 0%, rgba(13, 22, 36, .55) 48%, rgba(13, 22, 36, .18) 100%),
        linear-gradient(180deg, rgba(13, 22, 36, .30) 0%, rgba(13, 22, 36, 0) 30%, rgba(13, 22, 36, .42) 100%)
}

.hero .container {
    position: relative;
    z-index: 1
}

/* Sin movimiento: se usa la imagen fija como respaldo */
@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none
    }

    .hero {
        background: url('../img/hero.png') center/cover no-repeat
    }
}

/* Jerarquia del titular: la marca domina y el mensaje la acompania */
.hero h1 {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    text-transform: uppercase;
    max-width: 1000px;
    text-wrap: balance
}

.hero-title-main {
    font-size: clamp(3rem, 7vw, 5.6rem);
    font-weight: 700;
    line-height: .9;
    letter-spacing: -.02em;
    color: var(--headline)
}

/* Acento Field Olive: mismo lenguaje visual que el resto del sitio */
.hero-title-main::after {
    content: "";
    display: block;
    width: 88px;
    height: 4px;
    margin-top: .55rem;
    background: var(--olive);
    border-radius: 2px
}

.hero-title-eyebrow {
    font-size: clamp(.85rem, 1.1vw, 1.05rem);
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: .22em;
    color: var(--silver)
}

.hero p {
    margin: 1.3rem 0 2.2rem;
    max-width: 580px;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: var(--ink)
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem 1.6rem;
    margin: 1.2rem 0 0;
    padding: 0;
    list-style: none
}

.hero-badges li {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--silver-light);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase
}

.hero-badges li::before {
    content: "";
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--olive);
    box-shadow: 0 0 0 2px rgba(79, 95, 59, .4)
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap
}

/* ============ SECCIONES ============ */
.section {
    padding: clamp(3.5rem, 7vw, 5rem) 0
}

.eyebrow {
    color: var(--sage-light);
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: .78rem;
    font-weight: 700
}

.section h2 {
    text-transform: uppercase;
    color: var(--headline);
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1.15;
    margin-top: .4rem;
    text-wrap: balance
}

/* Acento estructural: FIELD OLIVE (la "ruta verde" del manual) */
.rule {
    width: 72px;
    height: 4px;
    background: var(--olive);
    border-radius: 2px;
    margin-top: 1.1rem
}

/* ============ SERVICIOS (iconos PNG) ============ */
.services {
    background: var(--navy-800)
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    margin-top: 3rem
}

.card {
    background: var(--olive);
    border: 1px solid rgba(185, 189, 192, .22);
    border-radius: 12px;
    padding: 2.4rem 1.8rem;
    text-align: center;
    transition: transform .25s, border-color .25s
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--silver)
}

/* Nota de servicios planificados */
.services-note {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-top: 2rem;
    padding: 1rem 1.25rem;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.6;
    background: rgba(13, 22, 36, .35);
    border: 1px dashed rgba(185, 189, 192, .35);
    border-radius: 10px
}

.services-note svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--sage)
}

.card .icon {
    display: block;
    width: 96px;
    height: 96px;
    object-fit: contain;
    margin: 0 auto 1.2rem;
    padding: 1rem;
    color: var(--navy);
    background: var(--ice);
    border-radius: 14px;
    border: 1px solid rgba(185, 189, 192, .4);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25)
}

.card h3 {
    color: var(--ice);
    font-size: 1.25rem;
    letter-spacing: .03em;
    margin-bottom: .6rem
}

.card p {
    color: var(--silver-light);
    font-size: .95rem
}

/* ============ INDUSTRIAS ATENDIDAS ============ */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 2.4rem
}

.industry {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: 1.15rem 1.1rem;
    background: rgba(19, 31, 48, .55);
    border: 1px solid rgba(185, 189, 192, .28);
    border-radius: 10px;
    transition: border-color .2s, background .2s
}

.industry:hover {
    border-color: rgba(185, 189, 192, .5);
    background: rgba(19, 31, 48, .8)
}

.industry svg {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--headline)
}

.industry h3 {
    margin-bottom: .3rem;
    color: var(--headline);
    font-size: .8rem;
    line-height: 1.3;
    letter-spacing: .05em;
    text-transform: uppercase
}

.industry p {
    color: var(--muted);
    font-size: .8rem;
    font-weight: 300;
    line-height: 1.5
}

/* ============ FLOTA Y EQUIPO ============ */
.fleet {
    background: var(--navy-800)
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2.6rem
}

.fleet-item {
    padding-top: 1.3rem;
    border-top: 2px solid rgba(185, 189, 192, .22)
}

.fleet-item svg {
    width: 52px;
    height: 52px;
    color: var(--sage)
}

.fleet-item h3 {
    margin: 1rem 0 .45rem;
    color: var(--headline);
    font-size: 1.05rem;
    letter-spacing: .02em;
    line-height: 1.3
}

.fleet-item h3 span {
    color: var(--muted);
    font-size: .82em;
    font-weight: 400;
    letter-spacing: 0
}

.fleet-item p {
    color: var(--muted);
    font-size: .9rem;
    font-weight: 300;
    line-height: 1.6
}

/* ============ VENTAJAS + MAPA ============ */
/* ============ CONTACTO ============ */
.contact {
    background: var(--navy-800)
}

/* Tarjeta principal: superficie SILVER/STEEL GRAY clara para que
   el numero destaque sobre el resto del sitio (navy).
   NAVY sobre SILVER = 9.59:1 */
.phone-card {
    background: linear-gradient(160deg, var(--ice) 0%, var(--silver) 100%);
    color: var(--navy);
    border: 3px solid var(--olive);
    border-radius: 14px;
    padding: 2.4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: glow 3s infinite
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(185, 189, 192, .6)
    }

    50% {
        box-shadow: 0 0 0 16px rgba(185, 189, 192, 0)
    }
}

/* Etiqueta oliva con texto Ice White (6.2:1) */
.phone-card .label {
    align-self: center;
    background: var(--olive);
    color: var(--ice);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .72rem;
    padding: .25rem .65rem;
    border-radius: 4px
}

.big-phone {
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: clamp(2.6rem, 5.2vw, 4.6rem);
    color: var(--navy);
    text-decoration: none;
    line-height: 1.05;
    letter-spacing: -.01em;
    margin: .55rem 0 .7rem;
    white-space: nowrap;
    transition: color .2s
}

.big-phone:hover {
    color: var(--olive)
}

/* Anillo de foco visible para teclado */
.big-phone:focus-visible {
    outline: 3px solid var(--olive);
    outline-offset: 6px;
    border-radius: 4px
}

.phone-card p {
    align-self: stretch;
    text-align: left;
    font-size: .95rem;
    font-weight: 400;
    color: var(--navy)
}

.info-card {
    background: var(--navy-700);
    border: 1px solid rgba(137, 149, 138, .35);
    border-radius: 12px;
    padding: 2rem
}

.info-card svg {
    width: 34px;
    height: 34px;
    color: var(--sage);
    margin-bottom: 1rem
}

.info-card h3 {
    color: var(--ice);
    font-size: 1.1rem;
    margin-bottom: .5rem;
    letter-spacing: .04em
}

.info-card a {
    color: var(--silver);
    text-decoration: none;
    word-break: break-all;
    font-weight: 600
}

.info-card a:hover {
    color: var(--silver-light)
}

.info-card p {
    color: var(--muted);
    font-size: .88rem
}

/* ============ ABOUT ============ */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem
}

/* Resumen corporativo (Company Overview) */
.about-intro {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    gap: 1rem 2.4rem;
    max-width: 1080px;
    margin: 1.9rem 0 2.8rem
}

.about-intro p {
    color: var(--muted);
    font-size: .98rem;
    font-weight: 300;
    line-height: 1.7
}

.about-intro .about-lead {
    color: var(--ice);
    font-size: 1.12rem;
    font-weight: 300;
    border-left: 3px solid var(--olive);
    padding-left: 1.1rem
}

.about-intro strong {
    color: var(--silver-light);
    font-weight: 700;
    white-space: nowrap
}

.about-card {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    border: 1px solid rgba(185, 189, 192, .4);
    background: linear-gradient(90deg, rgba(79, 95, 59, .35), rgba(13, 22, 36, 0));
    border-radius: 12px;
    padding: 2rem
}

.about-card svg {
    width: 56px;
    height: 56px;
    color: var(--sage);
    flex-shrink: 0
}

.about-card h3 {
    color: var(--headline);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 1.15rem;
    margin-bottom: .4rem
}

.about-card strong {
    color: var(--silver)
}

.about-card p {
    color: var(--muted);
    font-size: .93rem
}

/* Ficha corporativa: datos registrales del About */
.company-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 1.5rem;
    margin-top: 2.4rem;
    align-items: start
}

.company-data {
    margin-top: 0;
    padding: 1.8rem 2rem;
    background: rgba(19, 31, 48, .55);
    border: 1px solid rgba(185, 189, 192, .3);
    border-radius: 12px
}

.company-data h3 {
    color: var(--headline);
    font-size: .88rem;
    letter-spacing: .1em;
    text-transform: uppercase
}

.company-data dl {
    margin-top: 1rem
}

.company-data dl>div {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.2rem;
    padding: .65rem 0;
    border-top: 1px solid rgba(185, 189, 192, .16)
}

.company-data dl>div:first-child {
    border-top: 0;
    padding-top: .3rem
}

.company-data dt {
    padding-top: .1rem;
    color: var(--sage-light);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase
}

.company-data dd {
    color: var(--ice);
    font-size: .92rem;
    line-height: 1.5;
    font-variant-numeric: tabular-nums
}

.company-note {
    margin-top: 1.1rem;
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.55
}

.sister-card {
    padding: 1.8rem 1.9rem;
    background: rgba(19, 31, 48, .55);
    border: 1px solid rgba(185, 189, 192, .3);
    border-radius: 12px
}

.sister-card h3 {
    margin-bottom: 1.1rem;
    color: var(--headline);
    font-size: .88rem;
    letter-spacing: .1em;
    text-transform: uppercase
}

.sister-name {
    margin-bottom: .9rem;
    color: var(--ice);
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.4
}

.sister-meta {
    padding: .55rem 0;
    border-top: 1px solid rgba(185, 189, 192, .16);
    color: var(--muted);
    font-size: .84rem;
    line-height: 1.55
}

.sister-card a {
    color: var(--ice);
    text-decoration: none;
    border-bottom: 1px solid rgba(185, 189, 192, .35);
    transition: color .2s, border-color .2s
}

.sister-card a:hover {
    color: var(--silver-light);
    border-color: var(--silver-light)
}

.sister-note {
    margin-top: .9rem;
    color: var(--sage-light);
    font-size: .76rem;
    line-height: 1.5
}

/* Enlaces dentro de las fichas de datos */
.company-data dd a,
.reg-data dd a {
    color: var(--ice);
    text-decoration: none;
    border-bottom: 1px solid rgba(185, 189, 192, .35);
    transition: color .2s, border-color .2s
}

.company-data dd a:hover,
.reg-data dd a:hover {
    color: var(--silver-light);
    border-color: var(--silver-light)
}

/* ============ FOOTER ============ */
footer {
    background: linear-gradient(180deg, #F6F8F4 0%, #E4E8E1 100%);
    border-top: 2px solid var(--olive);
    padding: 4rem 0 0
}

/* Pie: texto a la izquierda, logo centrado, contacto a la derecha */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2.5rem;
    align-items: center
}

.footer-about p {
    max-width: 34ch;
    color: #4A554E;
    font-size: .9rem;
    font-weight: 300;
    line-height: 1.6
}

.footer-claim {
    margin-top: .7rem;
    color: var(--olive);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase
}

.footer-mark {
    display: flex;
    justify-content: center
}

.footer-badge {
    display: inline-flex;
    border-radius: 50%;
    box-shadow:
        0 0 0 1px rgba(13, 22, 36, .12),
        0 18px 40px rgba(13, 22, 36, .2);
    transition: transform .2s, box-shadow .2s
}

.footer-badge img {
    display: block;
    width: 160px;
    height: auto;
    border-radius: 50%
}

.footer-badge:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 1px rgba(13, 22, 36, .18),
        0 22px 46px rgba(13, 22, 36, .24)
}

.footer-grid h4 {
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 1.1rem
}

.footer-grid>div:last-child {
    text-align: right
}

.footer-contact li {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    margin-bottom: .7rem;
    flex-direction: row-reverse;
    justify-content: flex-start
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    color: var(--olive);
    flex-shrink: 0;
    margin-top: 3px
}

.footer-contact a {
    color: #4A554E;
    font-size: .9rem;
    text-decoration: none
}

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

.footer-contact a.tel {
    color: var(--navy);
    font-weight: 700
}

.footer-bottom {
    background: #0A111C;
    border-top: 1px solid rgba(185, 189, 192, .15);
    margin-top: 3rem;
    padding: 1rem 0 5.2rem
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .4rem 2.5rem;
    font-size: .8rem;
    color: var(--muted)
}

/* ============ REGISTROS OFICIALES (botón flotante) ============ */
.reg-stack {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 300;
    display: flex;
    align-items: center;
    gap: .6rem
}

.reg-fab {
    position: relative;
    width: max-content
}

.reg-fab-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .5rem .95rem .5rem .5rem;
    list-style: none;
    cursor: pointer;
    /* Superficie clara (Ice White → Silver) con borde Field Olive:
       el botón destaca sobre el navy igual que la tarjeta de contacto */
    color: var(--navy);
    background: linear-gradient(160deg, var(--ice) 0%, var(--silver) 100%);
    border: 2px solid var(--olive);
    border-radius: 999px;
    box-shadow:
        0 8px 18px rgba(6, 12, 22, .55),
        0 0 22px rgba(185, 189, 192, .3);
    transition: transform .2s, box-shadow .2s, border-color .2s
}

/* Pulso: onda que nace en el borde de la píldora y se desvanece */
.reg-fab-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    animation: reg-pulse 3.2s ease-out infinite
}

@keyframes reg-pulse {

    0% {
        box-shadow:
            0 0 0 1px rgba(241, 243, 239, .4),
            0 0 8px 1px rgba(241, 243, 239, .16)
    }

    70%,
    100% {
        box-shadow:
            0 0 0 9px rgba(241, 243, 239, 0),
            0 0 18px 8px rgba(241, 243, 239, 0)
    }
}

.reg-fab-btn::-webkit-details-marker {
    display: none
}

/* Botón secundario: Company Info (mismo formato, sin pulso) */
.reg-fab-btn--info::after {
    display: none
}

.reg-fab-btn--info .reg-fab-row strong {
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase
}

.reg-fab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .55)
}

/* Medalla: escudo sobre placa Field Olive con degradado y aro interior */
.reg-fab-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    color: var(--ice);
    background: radial-gradient(120% 120% at 30% 18%, #6E804F 0%, var(--olive) 52%, #3B4A2C 100%);
    border: 1px solid rgba(241, 243, 239, .28);
    box-shadow:
        inset 0 1px 0 rgba(241, 243, 239, .35),
        inset 0 -2px 6px rgba(9, 14, 24, .45),
        0 0 0 3px rgba(79, 95, 59, .18),
        0 3px 10px rgba(0, 0, 0, .35);
    transition: background .2s, box-shadow .2s
}

.reg-fab-icon::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    border: 1px solid rgba(241, 243, 239, .16);
    pointer-events: none
}

.reg-fab-btn:hover .reg-fab-icon {
    background: radial-gradient(120% 120% at 30% 18%, #7C8F5A 0%, #55663F 52%, #414F30 100%);
    box-shadow:
        inset 0 1px 0 rgba(241, 243, 239, .42),
        inset 0 -2px 6px rgba(9, 14, 24, .45),
        0 0 0 3px rgba(79, 95, 59, .26),
        0 4px 14px rgba(0, 0, 0, .42)
}

.reg-fab-icon svg {
    display: block;
    width: 19px;
    height: 19px;
    filter: drop-shadow(0 1px 1px rgba(9, 14, 24, .45))
}

.reg-fab-text {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    line-height: 1
}

.reg-fab-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .45rem;
    font-size: .78rem;
    letter-spacing: .04em;
    white-space: nowrap
}

.reg-fab-label {
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .14em;
    /* Olive sobre Ice White: contraste suficiente en la píldora clara */
    color: var(--olive)
}

.reg-fab-row strong {
    font-weight: 700;
    font-variant-numeric: tabular-nums
}

.reg-data {
    display: grid;
    gap: .55rem;
    margin-top: .9rem
}

.reg-data>div {
    display: grid;
    grid-template-columns: 98px 1fr;
    gap: .6rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid rgba(185, 189, 192, .16)
}

.reg-data>div.reg-data-wide {
    grid-template-columns: 1fr;
    gap: .2rem
}

.reg-data>div:last-child {
    padding-bottom: 0;
    border-bottom: 0
}

.reg-data dt {
    padding-top: .15rem;
    color: var(--sage-light);
    font-size: .55rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase
}

.reg-data dd {
    margin: 0;
    color: var(--headline);
    font-size: .78rem;
    line-height: 1.45;
    font-variant-numeric: tabular-nums
}

/* Panel desplegable */
.reg-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + .7rem);
    width: 310px;
    max-height: calc(100vh - 9rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1.35rem 1.4rem 1.4rem;
    color: var(--muted);
    background: linear-gradient(155deg, rgba(19, 31, 48, .99), rgba(10, 17, 28, .99));
    border: 1px solid rgba(185, 189, 192, .35);
    border-top: 2px solid var(--olive);
    border-radius: 14px;
    box-shadow: 0 22px 48px rgba(0, 0, 0, .55);
    backdrop-filter: blur(10px)
}

.reg-panel-eyebrow {
    display: block;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--sage-light)
}

.reg-panel h3 {
    margin: .3rem 0 .9rem;
    color: var(--headline);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase
}

/* Ficha de datos dentro del panel Company Info */
.reg-panel--info {
    position: fixed;
    right: 1.25rem;
    bottom: 5.6rem;
    width: 420px
}

.reg-panel--info h3 {
    font-size: .95rem;
    letter-spacing: .04em;
    text-wrap: balance
}

.reg-list {
    display: grid;
    gap: .55rem;
    margin: 0 0 .9rem
}

.reg-list>div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .55rem;
    border-bottom: 1px solid rgba(185, 189, 192, .16)
}

.reg-list dt {
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--sage-light)
}

.reg-list dd {
    margin: 0;
    color: var(--headline);
    font-size: 1.25rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: .03em
}

.reg-panel p {
    margin-bottom: 1rem;
    font-size: .82rem;
    line-height: 1.5
}

.reg-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .85rem;
    color: var(--ice);
    background: var(--olive);
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-decoration: none;
    transition: background .2s, transform .2s
}

.reg-link svg {
    width: 14px;
    height: 14px
}

.reg-link:hover {
    background: #5d6f46;
    transform: translateY(-1px)
}

.reg-fab[open] .reg-fab-btn {
    border-color: #3B4A2C;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .55)
}

/* Cobertura bajo la flota */
.coverage-strip {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    margin-top: 2.6rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(185, 189, 192, .18)
}

.coverage-end {
    display: flex;
    align-items: center;
    gap: .65rem;
    flex-shrink: 0;
    color: var(--ice)
}

.coverage-end strong {
    display: block;
    font-size: .95rem;
    line-height: 1.2
}

.coverage-sub {
    display: block;
    margin-top: .15rem;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 300
}

.coverage-dot {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--ice);
    border: 3px solid var(--olive);
    box-shadow: 0 0 0 3px rgba(79, 95, 59, .22)
}

.coverage-line {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    text-align: center
}

.coverage-top {
    color: var(--ice);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .02em
}

.coverage-bottom {
    color: var(--muted);
    font-size: .72rem;
    letter-spacing: .06em
}

.coverage-rule {
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: repeating-linear-gradient(90deg, var(--olive) 0 9px, transparent 9px 18px)
}

/* ============ WHY BRAVO (sección propia) ============ */
.why-carousel {
    margin-top: 0
}

.why-radio {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none
}

.why-layout {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    margin-top: 1.8rem
}

.why-intro {
    display: flex;
    flex-direction: column;
    gap: 1.4rem
}

.why-intro h2 {
    margin-top: 0
}

.why-main {
    display: grid;
    grid-template-columns: minmax(0, 480px) auto;
    justify-content: center;
    gap: 1.4rem;
    align-items: center
}

.why-stage {
    position: relative;
    min-height: 430px;
    perspective: 1200px
}

.why-card {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    padding: 2.2rem 2rem;
    text-align: center;
    background: linear-gradient(90deg, rgba(79, 95, 59, .35), rgba(13, 22, 36, 0));
    border: 1px solid rgba(185, 189, 192, .4);
    border-radius: 14px;
    opacity: 0;
    visibility: hidden;
    backface-visibility: visible
}

.why-card svg {
    width: 78px;
    height: 78px;
    color: var(--sage)
}

.why-card h3 {
    color: var(--ice);
    font-size: 1.28rem;
    line-height: 1.3
}

.why-card p {
    max-width: 36ch;
    color: var(--muted);
    font-size: .95rem;
    font-weight: 300;
    line-height: 1.6
}

@keyframes whyFlip {
    0% {
        transform: rotateY(-360deg) scale(.86);
        opacity: 0
    }

    35% {
        opacity: 1
    }

    100% {
        transform: rotateY(0) scale(1);
        opacity: 1
    }
}

.why-dots {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .9rem
}

.why-dots label {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--olive);
    background: transparent;
    cursor: pointer;
    transition: background .2s, box-shadow .2s, border-color .2s
}

.why-dots label:hover {
    background: rgba(79, 95, 59, .5)
}

.why-claim {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.35rem 1.8rem;
    background: linear-gradient(160deg, #F5F7F3 0%, #DDE2DA 100%);
    border: 2px solid var(--olive);
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
    text-align: center
}

.why-claim span {
    color: var(--olive);
    font-size: clamp(1rem, 1.3vw, 1.25rem);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase
}

#why-1:checked~.why-layout .why-card-1,
#why-2:checked~.why-layout .why-card-2,
#why-3:checked~.why-layout .why-card-3,
#why-4:checked~.why-layout .why-card-4,
#why-5:checked~.why-layout .why-card-5 {
    opacity: 1;
    visibility: visible;
    animation: whyFlip .9s cubic-bezier(.2, .7, .2, 1)
}

#why-1:checked~.why-layout .why-dots label[for="why-1"],
#why-2:checked~.why-layout .why-dots label[for="why-2"],
#why-3:checked~.why-layout .why-dots label[for="why-3"],
#why-4:checked~.why-layout .why-dots label[for="why-4"],
#why-5:checked~.why-layout .why-dots label[for="why-5"] {
    background: var(--ice);
    border-color: var(--olive);
    box-shadow: 0 0 0 3px rgba(79, 95, 59, .3)
}

/* ============ RED / CORREDOR I-95 ============ *//* ============ RED / CORREDOR I-95 ============ *//* ============ RED / CORREDOR I-95 ============ */
.lane-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center
}

.lane-lead {
    max-width: 56ch;
    margin-top: 1.2rem;
    color: var(--ice);
    font-size: 1.02rem;
    font-weight: 300;
    line-height: 1.65
}

.lane-list {
    display: grid;
    gap: .9rem;
    margin-top: 1.6rem
}

.lane-list>div {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1rem;
    padding-top: .9rem;
    border-top: 1px solid rgba(185, 189, 192, .16)
}

.lane-list dt {
    padding-top: .15rem;
    color: var(--sage-light);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase
}

.lane-list dd {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.6;
    font-weight: 300
}

.lane-note {
    margin-top: 1.4rem;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 300
}

.lane-note a {
    color: var(--ice);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(185, 189, 192, .4)
}

.lane-note a:hover {
    border-color: var(--ice)
}

.lane-map {
    padding: 1.1rem 1.1rem .9rem;
    background: linear-gradient(90deg, rgba(79, 95, 59, .35), rgba(13, 22, 36, 0));
    border: 1px solid rgba(185, 189, 192, .4);
    border-radius: 14px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, .35)
}

.lane-svg {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    margin: 0 auto
}

.lane-caption {
    margin-top: .7rem;
    color: var(--sage);
    font-size: .6rem;
    letter-spacing: .18em;
    text-align: center;
    text-transform: uppercase
}

/* ============ COTIZACIÓN ============ */
.quote-lead {
    max-width: 62ch;
    margin-top: 1.1rem;
    color: var(--muted);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6
}

.quote-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 2rem;
    margin-top: 2.4rem;
    align-items: start
}

.quote-form {
    padding: 2rem;
    background: linear-gradient(160deg, #F5F7F3 0%, #DDE2DA 100%);
    color: var(--navy);
    border: 2px solid rgba(79, 95, 59, .55);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
    color-scheme: light
}

.quote-form fieldset {
    margin: 0 0 1.5rem;
    padding: 0;
    border: 0
}

.quote-form fieldset:last-of-type {
    margin-bottom: 0
}

.quote-form legend {
    margin-bottom: .9rem;
    padding: 0;
    color: var(--olive);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem
}

.field-row:last-child {
    margin-bottom: 0
}

.field-row--3 {
    grid-template-columns: repeat(3, 1fr)
}

.field-row--full {
    grid-template-columns: 1fr
}

.field {
    display: flex;
    flex-direction: column;
    gap: .35rem
}

.field>span {
    color: var(--navy);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: .6rem .75rem;
    background: #FFFFFF;
    color: var(--navy);
    border: 1px solid rgba(13, 22, 36, .28);
    border-radius: 8px;
    font: inherit;
    font-size: .9rem;
    font-weight: 300;
    transition: border-color .2s, background .2s, box-shadow .2s
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    background: #FFFFFF;
    border-color: var(--olive);
    box-shadow: 0 0 0 3px rgba(79, 95, 59, .22)
}

.field textarea {
    min-height: 84px;
    resize: vertical
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(13, 22, 36, .42)
}

/* Dimensiones: largo, ancho y alto en campos independientes */
.dim-group {
    display: flex;
    align-items: flex-end;
    gap: .45rem
}

.dim-group .dim {
    flex: 1 1 0;
    min-width: 0
}

.dim-group .dim input {
    text-align: center
}

.dim-times {
    flex: 0 0 auto;
    padding-bottom: .58rem;
    color: rgba(13, 22, 36, .4);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    user-select: none
}

.field-hint {
    margin-top: .1rem;
    color: rgba(13, 22, 36, .58);
    font-size: .72rem;
    font-weight: 400;
    line-height: 1.4
}

.check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .7rem 1.4rem
}

.check {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    color: var(--navy);
    font-size: .88rem;
    font-weight: 400;
    line-height: 1.45
}

.check input {
    width: 16px;
    height: 16px;
    margin-top: .2rem;
    flex-shrink: 0;
    accent-color: var(--olive)
}

.quote-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.4rem;
    margin-top: 1.6rem
}

.quote-urgent {
    color: var(--navy);
    font-size: .85rem
}

.quote-urgent a {
    color: var(--olive);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(79, 95, 59, .45)
}

.quote-urgent a:hover {
    border-color: var(--olive)
}

/* Estado del envío del formulario */
.form-status {
    margin-top: 1rem;
    padding: .7rem .9rem;
    border-radius: 8px;
    background: rgba(13, 22, 36, .06);
    color: var(--navy);
    font-size: .88rem;
    font-weight: 600;
    line-height: 1.5
}

.form-status:empty {
    display: none
}

.form-status.is-success {
    background: rgba(79, 95, 59, .16);
    border-left: 3px solid var(--olive);
    color: #2F4A22
}

.form-status.is-error {
    background: rgba(139, 30, 30, .10);
    border-left: 3px solid #8B1E1E;
    color: #7A1B1B
}

.quote-form .btn-accent {
    background: var(--olive);
    color: var(--ice);
    box-shadow: 0 6px 18px rgba(79, 95, 59, .35)
}

.quote-form .btn-accent:hover {
    background: #3E4B2E
}

.quote-aside {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 6.5rem;
    align-self: start
}

.quote-aside .phone-card {
    padding: 2rem 1.6rem
}

.quote-aside .big-phone {
    font-size: clamp(1.8rem, 2.4vw, 2.5rem)
}

.info-card a.contact-line {
    display: block;
    margin-top: .15rem
}

/* =========================================================
   RESPONSIVE — CUALQUIER DISPOSITIVO
========================================================= */

/* Monitores grandes (1440px+) y 4K */
@media (min-width:1440px) {
    html {
        font-size: 17px
    }

    .container {
        width: min(1320px, 100% - 3rem)
    }
}

@media (min-width:1920px) {
    html {
        font-size: 18px
    }
}

/* Tablet horizontal / laptop pequeño */
@media (max-width:1080px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .fleet-grid {
        grid-template-columns: 1fr 1fr
    }

    .field-row--3 {
        grid-template-columns: 1fr 1fr
    }

    .field-row--3>.field:last-child {
        grid-column: 1/-1
    }

    .menu {
        gap: 1.1rem
    }
}

/* Tablet vertical */
@media (max-width:980px) {
    .cards {
        grid-template-columns: 1fr 1fr
    }

    .industries-grid {
        grid-template-columns: 1fr 1fr
    }

    .fleet-grid {
        grid-template-columns: 1fr 1fr
    }

    .about-grid {
        grid-template-columns: 1fr
    }

    .about-intro {
        grid-template-columns: 1fr;
        gap: .9rem;
        margin-bottom: 2.2rem
    }

    .company-grid {
        grid-template-columns: 1fr
    }

    .company-data,
    .sister-card {
        padding: 1.5rem 1.4rem
    }

    .company-data dl>div {
        grid-template-columns: 1fr;
        gap: .2rem
    }

    .lane-grid {
        grid-template-columns: 1fr
    }

    .lane-map {
        max-width: 560px;
        margin: 0 auto
    }

    .quote-grid {
        grid-template-columns: 1fr
    }

    .quote-aside {
        position: static
    }

    .quote-aside {
        grid-template-columns: 1fr 1fr;
        align-items: start
    }

    .quote-aside .phone-card {
        grid-column: 1/-1
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.6rem;
        text-align: center
    }

    .footer-mark {
        order: -1
    }

    .footer-about p {
        margin: 0 auto
    }

    .footer-grid>div:last-child {
        text-align: center
    }

    .footer-contact li {
        flex-direction: row;
        justify-content: center
    }
}

/* Menú hamburguesa activo */
@media (max-width:900px) {
    .nav-cta {
        display: none
    }

    .nav-burger {
        display: flex
    }

    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #F1F3EF;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .4s ease;
        border-bottom: 2px solid var(--olive);
        box-shadow: 0 18px 40px rgba(0, 0, 0, .45)
    }

    .nav-toggle:checked~.menu {
        max-height: 480px
    }

    .menu li {
        width: 100%
    }

    .menu a {
        display: block;
        padding: 1rem 1.5rem;
        border-top: 1px solid rgba(13, 22, 36, .1);
        font-size: .9rem;
        min-height: 44px
    }

    .menu-cta {
        display: block
    }

    .menu-cta a {
        color: var(--olive);
        font-weight: 700
    }
}

/* Móviles */
@media (max-width:640px) {
    .container {
        width: min(1200px, 100% - 2rem)
    }

    .cards,
    .industries-grid,
    .fleet-grid,
    .footer-grid {
        grid-template-columns: 1fr
    }

    .footer-badge img {
        width: 140px
    }

    .about-grid {
        grid-template-columns: 1fr
    }

    .about-card {
        flex-direction: column;
        text-align: center
    }

    .why-layout {
        grid-template-columns: 1fr;
        gap: 2rem
    }

    .why-main {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        width: 100%
    }

    .why-stage {
        min-height: 380px
    }

    .why-dots {
        flex-direction: row;
        justify-content: center
    }

    .coverage-strip {
        flex-direction: column;
        align-items: stretch;
        gap: 1.2rem
    }

    .coverage-end--right {
        justify-content: flex-end
    }

    .lane-list>div {
        grid-template-columns: 1fr;
        gap: .25rem
    }

    .quote-form {
        padding: 1.4rem
    }

    .field-row,
    .field-row--3,
    .check-grid,
    .quote-aside {
        grid-template-columns: 1fr
    }

    .topbar-inner {
        justify-content: center;
        text-align: center
    }

    .construction-inner {
        flex-direction: column;
        text-align: center;
        gap: .4rem;
        padding: .8rem 1.2rem
    }

    .hero-veil {
        background: linear-gradient(180deg, rgba(13, 22, 36, .82) 0%, rgba(13, 22, 36, .60) 55%, rgba(13, 22, 36, .42) 100%)
    }

    .hero-video {
        object-position: 60% center
    }

    .hero-cta .btn {
        width: 100%
    }

    .footer-bottom {
        padding: 1.1rem 0 4.6rem
    }

    .footer-bottom .container {
        justify-content: center;
        text-align: center;
        gap: .4rem
    }

    .reg-stack {
        right: .85rem;
        bottom: .85rem;
        gap: .5rem
    }

    .reg-fab-btn {
        gap: .5rem;
        padding: .42rem .8rem .42rem .42rem
    }

    .reg-fab-icon {
        width: 30px;
        height: 30px
    }

    /* En móvil el halo se expande menos para no cortarse en el borde */
    .reg-fab-btn::after {
        animation-name: reg-pulse-sm
    }

    @keyframes reg-pulse-sm {

        0% {
            box-shadow:
                0 0 0 1px rgba(241, 243, 239, .38),
                0 0 7px 1px rgba(241, 243, 239, .14)
        }

        70%,
        100% {
            box-shadow:
                0 0 0 7px rgba(241, 243, 239, 0),
                0 0 15px 7px rgba(241, 243, 239, 0)
        }
    }

    .reg-fab-row {
        font-size: .72rem
    }

    .reg-panel {
        position: fixed;
        right: .85rem;
        bottom: 5rem;
        width: min(340px, calc(100vw - 1.7rem));
        padding: 1.15rem 1.15rem 1.2rem
    }
}

/* Móviles muy pequeños (320px) */
@media (max-width:380px) {
    html {
        font-size: 14.5px
    }

    .brand-logo {
        height: 48px
        /* 131 px de ancho: respeta el minimo de 120 px */
    }

    .top-reg {
        font-size: .72rem
    }

    .card .icon {
        width: 92px;
        height: 92px
    }
}

/* Pantallas muy estrechas: el botón Company Info queda solo con icono
   (el texto se oculta visualmente pero sigue disponible para lectores de pantalla) */
@media (max-width:350px) {
    .reg-fab-btn--info .reg-fab-text {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0
    }
}

/* Teléfono en horizontal (pantalla baja) */
@media (max-height:520px) and (orientation:landscape) {
    .hero {
        padding: 3rem 0
    }

    .hero h1 {
        font-size: 2rem
    }

    .hero-title-main {
        font-size: 2.4rem
    }

    .hero-title-eyebrow {
        font-size: .82rem;
        letter-spacing: .14em
    }

    .section {
        padding: 2.5rem 0
    }
}

/* Pantallas táctiles: objetivos de toque ≥44px */
@media (hover:none) and (pointer:coarse) {

    .btn,
    .top-phone,
    .top-mail {
        min-height: 44px
    }

    .card:hover {
        transform: none
    }
}

/* Accesibilidad: usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important
    }

    html {
        scroll-behavior: auto
    }
}
