/* =====================================================================
   Tecniaero · Dirección "señalética aeronáutica"
   Se carga DESPUÉS de main.css y solo cambia la presentación.
   Paleta: asfalto, niebla, blanco, gris señal y naranja internacional.
   Elemento distintivo: las 5 franjas de la manga de viento.
   ===================================================================== */

:root {
    --asfalto: #16202a;
    --asfalto-2: #1f2c38;
    --niebla: #eef1f2;
    --gris: #8a96a0;
    --naranja: #ff5a1f;
    --franjas: linear-gradient(90deg,
            var(--naranja) 0 20%, #ffffff 20% 40%,
            var(--naranja) 40% 60%, #ffffff 60% 80%,
            var(--naranja) 80% 100%);

    /* Variables heredadas de main.css, remapeadas */
    --navy: var(--asfalto);
    --navy-2: var(--asfalto-2);
    --orange: var(--naranja);
    --orange-2: #ff7a45;
    --cream: var(--niebla);
    --border: #d5dbdf;
    --text-primary: var(--asfalto);
    --text-secondary: #3c4853;
    --text-muted: #56626d;
    --radius-lg: 2px;
    --radius-md: 2px;
    --radius-sm: 2px;
}

/* ---------- Tipografía: Archivo (angosta para títulos, normal para texto) ---------- */
* {
    font-family: 'Archivo', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    line-height: 1.6;
}

.hero__title,
.section__title,
.card__title,
.cta-band__content h3,
.list-card h3,
.mini-card h4,
.info-card__header h3,
.step__title,
.contact__form h3,
.side-card h3,
.stats__number,
.side-card__item--whatsapp .side-card__value,
.wa-cta__alt a {
    font-stretch: 72%;
    font-weight: 800;
    letter-spacing: -0.005em;
}

/* Fuera los títulos con degradado y la palabra resaltada en naranja */
.section__title,
.hero__title {
    background: none;
    -webkit-text-fill-color: currentColor;
}

.section__title {
    color: var(--asfalto);
    font-size: clamp(40px, min(6vw, 8.5vh), 72px);
    line-height: 0.95;
}

.hero__title {
    color: #ffffff;
}

.text-orange,
.section__title .text-orange,
.hero__title .text-orange {
    color: inherit;
    -webkit-text-fill-color: currentColor;
}

/* ---------- Encabezados de sección: alineados a la izquierda, con franjas ---------- */
.section__header .eyebrow {
    display: none;
}

.section__header,
.section__header--center {
    align-items: flex-start;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    gap: 20px;
}

.section__header::before {
    content: "";
    width: 68px;
    height: 16px;
    /* Silueta de manga: más ancha en el mástil, se angosta hacia la punta */
    clip-path: polygon(0 0, 100% 22%, 100% 78%, 0 100%);
    background: linear-gradient(90deg,
            var(--naranja) 0 20%, #c3ccd2 20% 40%,
            var(--naranja) 40% 60%, #c3ccd2 60% 80%,
            var(--naranja) 80% 100%);
}

.section--cream::before {
    display: none;
}

/* ---------- Botones: rectos, sin brillo ni saltos ---------- */
.btn {
    border-radius: 2px;
    font-weight: 700;
    padding: 16px 28px;
    letter-spacing: 0.01em;
}

.btn::after {
    display: none;
}

.btn--orange,
.btn--ghost,
.btn--whatsapp {
    transform: none !important;
}

.btn--orange {
    color: var(--asfalto);
}

.btn--ghost {
    border-color: rgba(255, 255, 255, 0.35);
}

/* ---------- Header y barra de franjas ---------- */
.header,
.header.is-scrolled {
    background: var(--asfalto);
}

.header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 4px;
    background: var(--franjas);
    transform: none;
    animation: none;
}

/* Con soporte de scroll-timeline, las 5 bandas se llenan de a una al bajar */
@supports (animation-timeline: scroll()) {
    .header::after {
        transform-origin: left;
        animation: franjas-llenar steps(5, jump-start) both;
        animation-timeline: scroll(root);
    }
}

@keyframes franjas-llenar {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* ---------- Hero: foto a sangre en la mitad derecha ---------- */
.hero {
    background: var(--asfalto);
}

.hero__bg,
.hero::after,
.stats::after,
.footer::after {
    display: none;
}

.hero:not(.hero--page) {
    padding: 0;
    min-height: min(100svh, 880px);
    display: flex;
    align-items: center;
}

.hero:not(.hero--page) .hero__inner {
    width: min(100% - 32px, var(--max-width));
    padding: clamp(110px, 19vh, 150px) 0 clamp(60px, 11vh, 110px);
    position: static;
}

.hero__content {
    position: relative;
    z-index: 1;
}

.hero__content {
    max-width: min(520px, 46vw);
    gap: 26px;
}

.hero .eyebrow {
    color: var(--gris);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
}

.hero .eyebrow::before {
    display: none;
}

.hero__title {
    font-size: clamp(52px, min(7.4vw, 11vh), 104px);
    line-height: 0.9;
    letter-spacing: -0.01em;
}

.hero__lead {
    color: #c9d1d7;
    font-size: clamp(17px, 1.6vw, 20px);
}

.hero__visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50vw;
    animation: foto-entrar 1100ms cubic-bezier(0.65, 0, 0.35, 1) 150ms both;
}

.hero__frame,
.hero__frame:hover {
    height: 100%;
    width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
}

.hero__frame picture {
    display: block;
    height: 100%;
}

.hero__frame img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 40%;
}

.hero__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--asfalto) 0%, rgba(22, 32, 42, 0) 28%);
    pointer-events: none;
}

@keyframes foto-entrar {
    from { clip-path: inset(0 0 0 100%); }
    to { clip-path: inset(0 0 0 0); }
}

/* ---------- Cifras: placa técnica ---------- */
.stats {
    background: var(--asfalto-2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stats__grid {
    width: min(100% - 32px, var(--max-width));
}

.stats__item {
    align-items: flex-start;
    text-align: left;
    padding: 22px 28px;
    gap: 2px;
}

.stats__item:first-child {
    padding-left: 0;
}

.stats__item:not(:last-child) {
    border-right-color: rgba(255, 255, 255, 0.1);
}

.stats__number {
    color: #ffffff;
    font-size: clamp(26px, 3vw, 34px);
}

.stats__label {
    color: var(--gris);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
}

/* ---------- Sin animaciones de entrada por sección ni saltos al pasar el mouse ---------- */
.reveal,
.reveal--visible,
.cards > .reveal,
.clients.reveal--visible .clients__item {
    opacity: 1;
    animation: none;
}

.card,
.card:hover,
.list-card,
.list-card:hover,
.mini-card,
.mini-card:hover,
.info-card,
.cta-band,
.side-card,
.media-frame,
.clients__item,
.clients__item:hover,
.gallery__item,
.gallery__item:hover {
    transform: none;
    box-shadow: none;
    border-radius: 2px;
}

.card::before,
.list-card::before {
    display: none;
}

/* ---------- Servicios, aplicaciones y accesorios: columnas tipo ficha técnica ---------- */
.cards {
    gap: 0 40px;
}

.card,
.card:hover {
    background: none;
    border: 0;
    border-top: 1px solid var(--asfalto);
    border-radius: 0;
    padding: 24px 0 36px;
    gap: 12px;
}

.card__icon,
.card:hover .card__icon {
    width: auto;
    height: auto;
    background: none;
    color: var(--naranja);
    font-size: 20px;
    justify-content: flex-start;
    transform: none;
}

.card__title {
    font-size: 26px;
    line-height: 1.05;
}

/* ---------- Nosotros: sin numeración (no es una secuencia) ---------- */
.list-card__num {
    display: none;
}

.list-cards {
    gap: 0;
}

.list-card,
.list-card:hover {
    background: none;
    border: 0;
    border-top: 1px solid var(--border);
    border-radius: 0;
    padding: 22px 0;
}

.list-card h3 {
    font-size: 24px;
}

/* ---------- Bloques con fondo: planos ---------- */
.mini-card,
.mini-card:hover,
.info-card,
.cta-band,
.side-card {
    background: #ffffff;
    border: 1px solid var(--border);
}

.section--cream .cta-band,
.section--cream .card {
    background: none;
}

.mini-card h4 i,
.mini-card:hover h4 i {
    transform: none;
}

.cta-band {
    border-left: 6px solid var(--naranja);
}

.media-frame {
    border: 0;
}

.checklist li::before,
.dots-list li::before {
    background-color: var(--naranja);
}

/* ---------- Proceso: la única numeración del sitio ---------- */
.step__dot {
    border-radius: 2px;
}

.step__num {
    color: var(--naranja);
}

/* ---------- Galería: mosaico ---------- */
.gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 250px;
    gap: 8px;
}

.gallery__item {
    aspect-ratio: auto;
    border: 0;
}

.gallery__item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}


/* ---------- Clientes: grilla de líneas finas ---------- */
.clients {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0;
    max-width: none;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.clients__item,
.clients__item:hover {
    height: 104px;
    background: none;
    border: 0;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-radius: 0;
}

/* ---------- FAQ ---------- */
.faq__item {
    border-radius: 0;
    box-shadow: none;
}

/* ---------- Contacto: el teléfono como protagonista ---------- */
.contact__form {
    border-radius: 2px;
    box-shadow: none;
}

.side-card__item--whatsapp .side-card__value {
    display: block;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1;
    color: var(--asfalto);
}

.wa-cta__icon,
.side-card__icon,
.wa-cta__num {
    border-radius: 2px;
}

/* ---------- Pie ---------- */
.footer {
    background: var(--asfalto);
}

.whatsapp-float,
.scroll-top {
    border-radius: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 280px;
    }

    .gallery__item:first-child {
        grid-row: span 1;
    }
}

@media (max-width: 1080px) {
    .hero__content {
        max-width: 560px;
    }

    /* La foto pasa a ser el fondo del hero, con oscurecido para leer el texto */
    .hero__visual {
        width: 100%;
    }

    .hero__frame::after {
        background: linear-gradient(180deg, rgba(22, 32, 42, 0.3) 0%, rgba(22, 32, 42, 0.72) 50%, var(--asfalto) 100%);
    }

    .hero:not(.hero--page) .hero__inner {
        padding: 130px 0 72px;
    }

    .stats__item:first-child {
        padding-left: 28px;
    }
}

@media (max-width: 720px) {
    .hero:not(.hero--page) {
        min-height: 100svh;
        padding: 0;
    }

    .hero__frame {
        border-width: 0;
    }

    .hero__frame img {
        aspect-ratio: auto;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .stats__item,
    .stats__item:first-child {
        padding: 16px 0;
    }

    .gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }

    .gallery__item:first-child,
    .gallery__item:nth-child(2) {
        grid-column: auto;
        grid-row: auto;
    }

    .clients {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clients__item,
    .clients__item:hover {
        flex-basis: auto;
        height: 88px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__visual,
    .header::after {
        animation: none;
    }

    .header::after {
        display: block;
        transform: none;
    }
}

.hero__frame img { animation: none; }

/* Pantallas bajas (laptops): el espacio vertical también limita los tamaños */
.section {
    padding-block: clamp(64px, min(10vw, 13vh), 110px);
}

/* Celulares: escala tipográfica más contenida */
@media (max-width: 600px) {
    .hero__title { font-size: 42px; }
    .section__title { font-size: 32px; }
    .card h3, .card__title { font-size: 21px; }
    body, p, .hero__lead, .section__subtitle { font-size: 16px; }
    .section { padding-block: 56px; }
}

/* Bandera de Uruguay junto al título del hero */
.hero__flag {
    --flag: url("../assets/flag-uy.svg");
    display: inline-flex;
    width: 0.72em;
    height: 0.48em;
    margin-left: 0.14em;
    vertical-align: 0.06em;
    background: var(--flag) center / 100% 100% no-repeat;
}

.hero__flag {
    position: relative;
    overflow: hidden;
}

.hero__sun {
    position: absolute;
    left: 0;
    top: 0;
    width: 37.04%;
    height: 55.56%;
    background: url("../assets/sol-uy.svg") center / contain no-repeat;
}

/* ---------- Contacto: un solo bloque, panel oscuro + ficha de datos ---------- */
.icon-envelope {
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M2 5h20v14H2zm2 3.3V17h16V8.3l-8 5.4zM5.6 7 12 11.3 18.4 7z'/%3E%3C/svg%3E");
}

.contact {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    border: 1px solid var(--border);
    background: #ffffff;
}

/* Panel oscuro con la franja de manga arriba */
.contact__form {
    position: relative;
    gap: 22px;
    padding: clamp(32px, 5vw, 56px);
    border: 0;
    background: var(--asfalto);
    color: #ffffff;
}

.contact__form::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: var(--franjas);
}

.contact__form .wa-cta__icon {
    display: none;
}

.contact__form h3 {
    color: #ffffff;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1;
}

.contact__form .wa-cta__text {
    color: #c9d1d7;
}

.wa-cta__steps {
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.wa-cta__steps li {
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    color: #e3e8eb;
}

.wa-cta__num {
    width: auto;
    height: auto;
    background: none;
    color: var(--naranja);
    font-size: 15px;
    line-height: 1.6;
}

.contact__form .btn--whatsapp {
    margin-top: 6px;
}

.wa-cta__alt {
    color: var(--gris);
}

.wa-cta__alt a {
    color: #ffffff;
}

/* Ficha de datos: filas separadas por líneas, sin tarjetas */
.contact__side {
    padding: clamp(32px, 5vw, 56px);
}

.contact__side .side-card {
    padding: 0;
    gap: 0;
    border: 0;
    background: none;
}

.side-card h3 {
    margin-bottom: 18px;
    color: var(--gris);
    font-size: 15px;
    font-stretch: 100%;
    font-weight: 600;
    letter-spacing: 0;
}

.side-card__item {
    gap: 16px;
    padding: 22px 0;
    border: 0;
    border-top: 1px solid var(--border);
    border-radius: 0;
}

.side-card__item:last-child {
    border-bottom: 1px solid var(--border);
}

.side-card__item:hover {
    transform: none;
}

.side-card__item:hover .side-card__value {
    color: var(--naranja);
}

.side-card__icon,
.side-card__item--whatsapp .side-card__icon {
    width: 22px;
    height: 22px;
    align-self: flex-start;
    margin-top: 2px;
    background: none;
    color: var(--naranja);
    font-size: 18px;
}

.side-card__value {
    transition: color 250ms ease;
}

@media (max-width: 880px) {
    .contact {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* =====================================================================
   Productos: ficha técnica. Normativa en placa oscura, componentes en
   filas, foto fija mientras se lee la ficha.
   ===================================================================== */
#productos .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: start;
}

#productos .split__media {
    position: sticky;
    top: 110px;
}

#productos .media-frame {
    position: relative;
    border-radius: 0;
    box-shadow: none;
}

#productos .media-frame::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 8px;
    background: var(--franjas);
}

#productos .split__content {
    gap: 40px;
}

/* Marcador común de las listas: guion naranja, como una franja de manga */
#productos .checklist li::before,
#accesorios .dots-list li::before {
    -webkit-mask-image: none;
    mask-image: none;
    width: 12px;
    height: 3px;
    top: 0.72em;
    border-radius: 0;
    background: var(--naranja);
}

#productos .checklist {
    gap: 0;
}

#productos .checklist li {
    padding: 13px 0 13px 28px;
    border-top: 1px solid var(--border);
}

#productos .checklist li::before {
    top: calc(13px + 0.72em);
}

#productos .info-card__header {
    gap: 12px;
}

#productos .info-card__header h3 {
    font-size: clamp(24px, 2.4vw, 30px);
    line-height: 1.05;
}

/* Normativa: placa oscura */
#productos .info-card:first-child {
    position: relative;
    gap: 22px;
    padding: clamp(30px, 4vw, 44px);
    padding-top: calc(clamp(30px, 4vw, 44px) + 6px);
    border: 0;
    border-radius: 0;
    background: var(--asfalto);
    box-shadow: none;
}

#productos .info-card:first-child::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: var(--franjas);
}

#productos .info-card:first-child h3 {
    color: #ffffff;
}

#productos .info-card:first-child .checklist li {
    color: #e3e8eb;
    border-top-color: rgba(255, 255, 255, 0.14);
}

/* Componentes: sin caja, filas con líneas finas */
#productos .info-card:not(:first-child) {
    gap: 18px;
    padding: 26px 0 0;
    border: 0;
    border-top: 2px solid var(--asfalto);
    border-radius: 0;
    background: none;
    box-shadow: none;
}

#productos .info-card:not(:first-child) .checklist li:last-child {
    border-bottom: 1px solid var(--border);
}

/* Iluminación y montaje: dos columnas de ficha */
#productos .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px;
}

#productos .mini-card,
#productos .mini-card:hover {
    padding: 22px 0 0;
    border: 0;
    border-top: 2px solid var(--asfalto);
    border-radius: 0;
    background: none;
    box-shadow: none;
    transform: none;
}

#productos .mini-card h4 {
    font-size: 22px;
    line-height: 1.1;
}

@media (max-width: 1080px) {
    #productos .split {
        grid-template-columns: minmax(0, 1fr);
    }

    #productos .split__media {
        position: static;
    }
}

@media (max-width: 600px) {
    #productos .grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
}

/* =====================================================================
   Accesorios: columnas de ficha con datos en filas, un enlace sobrio por
   columna y el cierre en placa oscura.
   ===================================================================== */
#accesorios .cards {
    align-items: stretch;
}

#accesorios .card {
    border-top-width: 2px;
}

#accesorios .dots-list {
    gap: 0;
    margin-top: 6px;
}

#accesorios .dots-list li {
    padding: 11px 0 11px 26px;
    border-top: 1px solid var(--border);
    color: var(--asfalto);
    font-weight: 500;
}

#accesorios .dots-list li:last-child {
    border-bottom: 1px solid var(--border);
}

#accesorios .dots-list li::before {
    top: calc(11px + 0.72em);
}

/* "Consultar": enlace subrayado en vez de tres botones naranjas iguales */
#accesorios .card__footer {
    padding-top: 10px;
}

#accesorios .card__footer .btn {
    min-height: 0;
    padding: 0 0 4px;
    border: 0;
    border-bottom: 2px solid var(--naranja);
    border-radius: 0;
    background: none;
    color: var(--asfalto);
    font-weight: 700;
    box-shadow: none;
}

#accesorios .card__footer .btn:hover,
#accesorios .card__footer .btn:focus-visible {
    background: none;
    color: var(--naranja);
}

/* Cierre: placa oscura con la franja de manga */
#accesorios .cta-band {
    position: relative;
    padding: clamp(32px, 5vw, 52px);
    padding-top: calc(clamp(32px, 5vw, 52px) + 6px);
    border: 0;
    border-radius: 0;
    background: var(--asfalto);
    box-shadow: none;
}

#accesorios .cta-band::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: var(--franjas);
}

#accesorios .cta-band__content {
    max-width: 640px;
}

#accesorios .cta-band__content h3 {
    color: #ffffff;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.05;
}

#accesorios .cta-band__content p {
    color: #c9d1d7;
}

/* =====================================================================
   Preguntas frecuentes: lista editorial con líneas finas (todas las
   páginas) y, en el inicio, título fijo a la izquierda.
   ===================================================================== */
.faq {
    gap: 0;
    border-top: 2px solid var(--asfalto);
}

.faq__item {
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(22, 32, 42, 0.16);
    background: none;
}

.faq__question {
    gap: 24px;
    padding: 24px 0;
    color: var(--asfalto);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    transition: color 200ms ease;
}

.faq__question:hover {
    color: var(--naranja);
}

/* Cuadrado con el +, que se vuelve naranja al abrir (el ícono es una máscara,
   así que el cuadrado lo dibuja la pregunta) */
.faq__question {
    position: relative;
    padding-right: 58px;
}

.faq__question::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 34px;
    height: 34px;
    margin-top: -17px;
    border: 1px solid rgba(22, 32, 42, 0.22);
    border-radius: 2px;
    transition: background 250ms ease, border-color 250ms ease;
}

.faq__question i {
    position: absolute;
    right: 11px;
    top: 50%;
    width: 13px;
    height: 13px;
    margin-top: -6.5px;
    z-index: 1;
    color: var(--asfalto);
    font-size: 13px;
}

.faq__item[open] .faq__question::after {
    background: var(--naranja);
    border-color: var(--naranja);
}

.faq__answer {
    color: #44525e;
    font-size: 16px;
}

.faq__answer p {
    max-width: 62ch;
    padding-right: 58px;
    padding-bottom: 14px;
}

.faq__answer p:last-child {
    padding-bottom: 28px;
}

@media (min-width: 881px) {
    #faq .container {
        display: grid;
        grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
        gap: 64px;
        align-items: start;
    }

    #faq .section__header {
        position: sticky;
        top: 120px;
        margin-bottom: 0;
    }

    #faq .faq {
        max-width: none;
        margin: 0;
    }
}

@media (max-width: 600px) {
    .faq__question {
        font-size: 17px;
        padding-block: 20px;
    }

    .faq__answer p {
        padding-right: 0;
    }
}

/* =====================================================================
   Menú desplegable de Servicios (páginas internas). Antes no tenía
   estilos y la lista quedaba suelta dentro del encabezado.
   ===================================================================== */
.nav__item--menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav__caret {
    width: 7px;
    height: 7px;
    margin-top: -4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    color: #dce6ef;
    transform: rotate(45deg);
    transition: transform 200ms ease, color 200ms ease;
}

.nav__submenu {
    position: absolute;
    top: 100%;
    left: -22px;
    min-width: 260px;
    padding: 10px 0;
    margin-top: 14px;
    list-style: none;
    background: var(--asfalto);
    border-top: 3px solid var(--naranja);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
}

/* Puente invisible para que el menú no se cierre al bajar el mouse */
.nav__submenu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 17px;
}

.nav__item--menu:hover .nav__submenu,
.nav__item--menu:focus-within .nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.nav__item--menu:hover .nav__caret,
.nav__item--menu:focus-within .nav__caret {
    color: var(--naranja);
    transform: rotate(225deg);
    margin-top: 3px;
}

.nav__submenu a {
    display: block;
    padding: 10px 22px;
    color: #dce6ef;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 150ms ease, background 150ms ease;
}

.nav__submenu a:hover,
.nav__submenu a:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.nav__submenu a[aria-current] {
    color: var(--naranja);
}

/* Foto del inicio: encuadre centrado en la manga */
.hero:not(.hero--page) .hero__frame img {
    object-position: 55% center;
}

/* En PC la foto arranca debajo del encabezado para que la manga no quede tapada */
@media (min-width: 1081px) {
    .hero:not(.hero--page) .hero__visual {
        top: 79px;
    }
}

/* =====================================================================
   Pie de página: franja de manga arriba, títulos sobrios, enlaces con
   subrayado naranja y crédito del sitio.
   ===================================================================== */
.footer {
    border-top: 0;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: var(--franjas);
}

.footer__grid {
    padding: clamp(56px, 8vw, 88px) 0 clamp(44px, 6vw, 64px);
}

.footer__brand img {
    width: 166px;
    height: auto;
}

.footer__brand p {
    color: #aeb9c2;
    line-height: 1.6;
}

.footer__social a {
    border-radius: 2px;
    border-color: rgba(255, 255, 255, 0.2);
    transition: border-color 200ms ease, background 200ms ease, color 200ms ease;
}

.footer__social a:hover,
.footer__social a:focus-visible {
    border-color: var(--naranja);
    background: var(--naranja);
    color: var(--asfalto);
}

.footer__group h3 {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--gris);
    font-size: 14px;
    font-stretch: 100%;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.footer__group a {
    position: relative;
    color: #e3e8eb;
    font-weight: 500;
}

.footer__group a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--naranja);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 250ms ease;
}

.footer__group a:hover,
.footer__group a:focus-visible {
    color: #ffffff;
}

.footer__group a:hover::after,
.footer__group a:focus-visible::after {
    transform: scaleX(1);
}

.footer .flag-uy {
    box-shadow: none;
}

/* Barra inferior: legales a la izquierda, crédito a la derecha */
.footer__bottom {
    padding: 22px 0;
    text-align: left;
    color: #8a96a0;
    font-size: 13px;
}

.footer__bottom .container {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 32px;
    align-items: end;
}

.footer__bottom .container > p:nth-child(2) {
    grid-row: 2;
}

.footer__credit {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    color: #8a96a0;
}

.footer__credit span {
    color: #ffffff;
    font-weight: 700;
}

@media (max-width: 720px) {
    .footer__bottom .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__credit {
        grid-column: 1;
        grid-row: auto;
        margin-top: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer__group a::after {
        transition: none;
    }
}

/* =====================================================================
   Bandas de cierre (todas las páginas): placa oscura con franja de manga,
   igual que Accesorios y Contacto.
   ===================================================================== */
.cta-band,
.section--cream .cta-band {
    position: relative;
    padding: clamp(32px, 5vw, 52px);
    padding-top: calc(clamp(32px, 5vw, 52px) + 6px);
    border: 0;
    border-radius: 0;
    background: var(--asfalto);
    box-shadow: none;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: var(--franjas);
}

.cta-band__content {
    max-width: 640px;
}

.cta-band__content h3 {
    color: #ffffff;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.05;
}

.cta-band__content p {
    color: #c9d1d7;
}

.cta-band .flag-uy {
    height: 0.62em;
    vertical-align: 0.05em;
    box-shadow: none;
}

/* Páginas internas: las preguntas alineadas con el título, no centradas */
.faq {
    margin-left: 0;
}

/* Que el crédito no quede debajo de los botones flotantes */
@media (min-width: 721px) {
    .footer__bottom .container {
        padding-right: 84px;
    }
}

/* Accesibilidad: contraste suficiente en textos chicos */
.step__num {
    color: #c2410c;
}

.side-card h3 {
    color: #5f6b75;
}

@media (max-width: 720px) {
    .footer__bottom {
        padding-bottom: 150px;
    }
}

/* =====================================================================
   Páginas internas: foto del producto junto al título
   ===================================================================== */
.hero--page .hero__inner:has(.hero__photo) {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.hero__photo {
    position: relative;
    margin: 0;
    overflow: hidden;
}

.hero__photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hero__photo::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 6px;
    background: var(--franjas);
}

@media (max-width: 880px) {
    .hero--page .hero__inner:has(.hero__photo) {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Inicio · Productos: accesos a las páginas de cada producto */
.product-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 2px solid var(--asfalto);
}

.product-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    color: var(--asfalto);
    font-weight: 700;
    transition: color 200ms ease;
}

.product-links a:nth-child(odd) {
    margin-right: 16px;
}

.product-links a:nth-child(even) {
    margin-left: 16px;
}

.product-links a::after {
    content: "→";
    color: var(--naranja);
    transition: transform 200ms ease;
}

.product-links a:hover,
.product-links a:focus-visible {
    color: #c2410c;
}

.product-links a:hover::after {
    transform: translateX(4px);
}

@media (max-width: 600px) {
    .product-links {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-links a:nth-child(n) {
        margin: 0;
    }
}
