/* =========================================================================
   SEÑALICONS E.I.R.L. — Estilos
   ========================================================================= */

/* ---------- Sistema de diseño (variables de marca) ---------- */
:root {
    --brand-red: #E52421;       /* CTA principal y acciones */
    --brand-orange: #FF6600;    /* Acento secundario / Hover */
    --brand-yellow: #FFCC00;    /* Destacados y elementos clave */
    --bg-dark: #111111;         /* Negro asfalto (Hero, cifras y Footer) */
    --bg-light: #FFFFFF;        /* Blanco puro (Header y Contenido para alto contraste) */
    --bg-gray: #F8F9FA;         /* Gris ultra claro para fondos de sección */
    --text-main: #1E1E1E;       /* Texto oscuro para máxima legibilidad */
    --text-white: #FFFFFF;      /* Texto para secciones oscuras */
}

/* ---------- Tokens auxiliares (no son colores de marca) ---------- */
:root {
    --text-muted: #62666D;
    --line: #E3E5E8;
    --line-dark: rgba(255, 255, 255, .12);
    --radius: 3px;
    --header-h: 80px;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 8px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text-main);
    background: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

img, svg, iframe { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible {
    outline: 3px solid var(--brand-orange);
    outline-offset: 3px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

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

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 200;
    padding: .6rem 1rem;
    background: var(--bg-dark);
    color: var(--text-white);
}
.skip-link:focus { top: 1rem; }

/* ---------- Tipografía ---------- */
.eyebrow {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: 1.1rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--brand-red);
}
.eyebrow::before {
    content: "";
    flex: none;
    width: 28px;
    height: 3px;
    background: currentColor;
}
.eyebrow--yellow { color: var(--brand-yellow); }
.eyebrow--white { color: var(--text-white); }

.section__title,
.hero__title,
.cta__title {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -.035em;
    text-wrap: balance;
}
.section__title { font-size: clamp(2.200rem, 4.600vw, 3.900rem); }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    padding: .85rem 1.4rem;
    border: 0;
    border-radius: var(--radius);
    font: 700 .98rem/1.2 var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn--lg { padding: 1.2rem 1.9rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn--red {
    background: var(--brand-red);
    color: var(--text-white);
    box-shadow: 0 10px 28px rgba(229, 36, 33, .32);
}
.btn--red:hover {
    background: var(--brand-orange);
    color: var(--bg-dark);
    box-shadow: 0 12px 30px rgba(255, 102, 0, .36);
}

.btn--yellow {
    background: var(--brand-yellow);
    color: var(--bg-dark);
}
.btn--yellow:hover {
    background: var(--bg-light);
    color: var(--bg-dark);
}

.btn--dark {
    background: var(--bg-dark);
    color: var(--text-white);
}
.btn--dark:hover { background: var(--brand-orange); color: var(--bg-dark); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    padding-bottom: .7rem;
    border-bottom: 2px solid var(--brand-red);
    font-weight: 700;
    text-decoration: none;
    transition: color .18s ease, gap .18s ease;
}
.link-arrow:hover { color: var(--brand-red); gap: 1.3rem; }

/* ---------- Header ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-light); /* blanco puro: el logo tiene texto negro */
    transition: box-shadow .2s ease;
}
.header.is-scrolled { box-shadow: 0 8px 28px rgba(17, 17, 17, .14); }

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: var(--header-h);
}

.header__logo { flex: none; }
.header__logo img {
    height: 54px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 1.5rem;
}
.nav__list {
    display: flex;
    gap: .4rem;
    margin-inline: auto;
}
.nav__link {
    position: relative;
    display: block;
    padding: .6rem .9rem;
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-main);
    transition: color .18s ease;
}
.nav__link::after {
    content: "";
    position: absolute;
    left: .9rem;
    right: .9rem;
    bottom: .15rem;
    height: 3px;
    background: var(--brand-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}
.nav__link:hover { color: var(--brand-red); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    background: var(--bg-dark);
    border: 0;
    border-radius: var(--radius);
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2.500px;
    margin: 4.500px auto;
    background: var(--text-white);
    transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    background: var(--bg-dark);
    color: var(--text-white);
    border-left: 8px solid var(--brand-yellow);
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-size: cover;
    background-position: center right;
}
.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17, 17, 17, .96) 0%, rgba(17, 17, 17, .84) 38%, rgba(17, 17, 17, .38) 100%),
        linear-gradient(0deg, rgba(17, 17, 17, .85) 0%, rgba(17, 17, 17, 0) 35%);
}

.hero__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: clamp(3.500rem, 9vw, 6.500rem);
}
.hero__title {
    max-width: 15ch;
    font-size: clamp(2.800rem, 7.400vw, 6rem);
    line-height: .98;
}
.hero__title em {
    font-style: normal;
    color: var(--brand-yellow);
}
.hero__subtitle {
    max-width: 38rem;
    margin-top: 1.8rem;
    font-size: clamp(1.050rem, 1.600vw, 1.300rem);
    color: rgba(255, 255, 255, .82);
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 2.4rem;
}

/* Barra de cifras */
.stats {
    background: rgba(17, 17, 17, .86);
    border-top: 1px solid var(--line-dark);
}
.stats__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 2rem;
}
.stats__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.stat {
    display: flex;
    flex-direction: column-reverse;
    padding: 1.6rem 1.5rem 1.6rem 0;
}
.stat + .stat {
    padding-left: 2rem;
    border-left: 1px solid var(--line-dark);
}
.stat dd {
    font-family: var(--font-display);
    font-size: clamp(1.900rem, 3vw, 2.500rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.02em;
    color: var(--brand-yellow);
}
.stat dt {
    margin-top: .45rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
}
.stats__note {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 2rem;
    border-left: 1px solid var(--line-dark);
    font-weight: 600;
    line-height: 1.4;
}
.stats__check,
.about__chip-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
}
.stats__check { background: var(--brand-red); color: var(--text-white); }

/* ---------- Secciones ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--gray { background: var(--bg-gray); }

.section__head { margin-bottom: clamp(2.200rem, 5vw, 3.600rem); }
.section__head--split {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    align-items: end;
    gap: 1.5rem 4rem;
}
.section__lead {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* ---------- Servicios ---------- */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 3px solid var(--bg-dark);
}
.service { padding: 2rem 2rem 0 0; }
.service + .service {
    padding-left: 2rem;
    border-left: 1px solid var(--line);
}
.service__num {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .06em;
    color: var(--brand-red);
}
.service h3 {
    margin: .9rem 0 .7rem;
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
}
.service p { color: var(--text-muted); }

/* ---------- Productos ---------- */
.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.card {
    display: flex;
    flex-direction: column;
    background: var(--bg-light);
    transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(17, 17, 17, .14);
}
.card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--bg-dark);
    overflow: hidden;
}
.card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.card:hover .card__media img { transform: scale(1.05); }
.card__media::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(0deg, rgba(17, 17, 17, .7), rgba(17, 17, 17, 0));
    pointer-events: none;
}
.card__num {
    position: absolute;
    right: 1.2rem;
    bottom: .9rem;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 900;
    color: var(--brand-yellow);
}
.card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.8rem 1.6rem 1.6rem;
}
.card__title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.02em;
}
.card__tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
    padding: .4rem .85rem;
    background: var(--brand-red);
    color: #fff;
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 900;
    letter-spacing: .02em;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}
.card__offer {
    margin: -.6rem 0 1.6rem;
    padding: 1rem 1.1rem 1.1rem;
    background: var(--bg-dark);
    border-left: 5px solid var(--brand-yellow);
    color: #fff;
}
.card__offer-text { font-weight: 700; font-size: .95rem; line-height: 1.4; }
.card__price {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    margin-top: .5rem;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    font-weight: 900;
    line-height: 1;
    color: var(--brand-yellow);
}
.card__price small { font-size: .9rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.card__desc {
    margin: 1rem 0 1.8rem;
    font-size: .96rem;
    color: var(--text-muted);
}
.card__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--brand-red);
    transition: color .18s ease;
}
.card__link .icon { transition: transform .2s ease; }
.card__link:hover { color: var(--brand-orange); }
.card__link:hover .icon { transform: translateX(6px); }
/* toda la tarjeta es clicable */
.card { position: relative; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 2; }

/* Skeleton de carga */
.card--skeleton:hover { transform: none; box-shadow: none; }
.card--skeleton .card__media::after { display: none; }
.card--skeleton .card__media,
.sk {
    background: linear-gradient(100deg, #E9EBEE 30%, #F8F9FA 50%, #E9EBEE 70%);
    background-size: 300% 100%;
    animation: shimmer 1.4s linear infinite;
}
.card--skeleton .card__body { gap: .8rem; }
.sk { display: block; height: 14px; }
.sk--lg { width: 70%; height: 26px; margin-bottom: .4rem; }

@keyframes shimmer {
    from { background-position: 100% 0; }
    to { background-position: -100% 0; }
}

.notice {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.6rem;
    background: var(--bg-light);
    border-left: 6px solid var(--brand-red);
}
.notice__actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ---------- Nosotros ---------- */
.about {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: clamp(2.500rem, 7vw, 7rem);
}
.about__lead {
    margin: 1.8rem 0 1.1rem;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
}
.about__text > p:not(.eyebrow):not(.about__lead) { color: var(--text-muted); }

.datasheet {
    margin: 1.8rem 0 2.2rem;
    border-top: 1px solid var(--line);
}
.datasheet > div {
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: 1rem;
    padding: .8rem 0;
    border-bottom: 1px solid var(--line);
}
.datasheet dt {
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 2.1;
    text-transform: uppercase;
    color: var(--text-muted);
}
.datasheet dd { font-weight: 600; }

.about__visual {
    position: relative;
    margin: 0 1.2rem 2rem 3.500rem;
}
.about__img {
    width: 100%;
    height: auto;
    aspect-ratio: 700 / 680;
    object-fit: cover;
    background: var(--bg-gray);
}
.about__chip {
    position: absolute;
    top: 2rem;
    right: -1.2rem;
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 1.1rem 1.4rem;
    background: var(--bg-light);
    box-shadow: 0 16px 36px rgba(17, 17, 17, .14);
    font-size: .78rem;
    line-height: 1.5;
    color: var(--text-muted);
}
.about__chip strong {
    display: block;
    font-size: .98rem;
    color: var(--text-main);
}
.about__chip-icon { background: var(--brand-yellow); color: var(--bg-dark); }
.about__badge {
    position: absolute;
    left: -3.500rem;
    bottom: -2rem;
    min-width: 14rem;
    padding: 2.2rem 2rem 2.4rem;
    background: var(--brand-red);
    color: var(--text-white);
}
.about__badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.04em;
}
.about__badge span {
    display: block;
    margin-top: .7rem;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* ---------- Contacto ---------- */
.contact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.contact__item {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    padding: 2rem 1.8rem;
    background: var(--bg-light);
    border-top: 4px solid var(--brand-red);
}
.contact__item .icon {
    width: 46px;
    height: 46px;
    margin-bottom: 1rem;
    padding: 11px;
    background: var(--bg-dark);
    color: var(--brand-yellow);
}
.contact__item strong { font-size: 1.1rem; }
.contact__item span { color: var(--text-muted); }
.contact__item a {
    font-weight: 700;
    color: var(--brand-red);
    text-underline-offset: 3px;
}
.contact__item a:hover { color: var(--brand-orange); }

/* ---------- Franja de cierre ---------- */
.cta {
    position: relative;
    overflow: hidden;
    background: var(--brand-red);
    color: var(--text-white);
}
.cta::before,
.cta::after {
    content: "";
    position: absolute;
    top: -20%;
    bottom: -20%;
    width: 150px;
    background: rgba(255, 255, 255, .09);
    transform: skewX(-24deg);
}
.cta::before { right: 28%; }
.cta::after { right: -3%; }
.cta__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem 3rem;
    padding-block: clamp(3rem, 7vw, 5rem);
}
.cta__title {
    max-width: 16ch;
    font-size: clamp(2.100rem, 4.600vw, 3.700rem);
}
.cta__text {
    margin-top: 1.1rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .92);
}
.cta__btn { flex: none; min-width: 15.500rem; justify-content: space-between; }

/* ---------- Footer ---------- */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.7fr .9fr 1.3fr 1fr;
    gap: 2.5rem clamp(2rem, 5vw, 5rem);
    padding-block: clamp(3rem, 6vw, 5rem) clamp(2.500rem, 5vw, 4rem);
}
.footer__logo { display: inline-block; }
.footer__logo img { height: 70px; width: auto; }
.footer__brand p {
    max-width: 22rem;
    margin-top: 1.5rem;
    font-size: .95rem;
    color: rgba(255, 255, 255, .72);
}
.footer__col h3 {
    margin-bottom: 1.5rem;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brand-yellow);
}
.footer__col ul { display: grid; gap: 1rem; }
.footer__col li {
    font-size: .92rem;
    color: rgba(255, 255, 255, .78);
}
.footer__col a { text-decoration: none; transition: color .18s ease; }
.footer__col a:hover { color: var(--brand-yellow); }
.footer__status {
    display: flex;
    align-items: center;
    gap: .6rem;
}
.footer__status::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--brand-yellow);
    box-shadow: 0 0 0 4px rgba(255, 204, 0, .2);
}
.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem 2rem;
    padding-block: 1.6rem 2rem;
    border-top: 1px solid var(--line-dark);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
}
.footer__slogan { color: var(--text-white); }

/* ---------- Botones flotantes: Instagram, Facebook y WhatsApp ---------- */
.float-stack {
    position: fixed;
    right: clamp(1rem, 3vw, 2.500rem);
    bottom: clamp(1rem, 3vw, 2rem);
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .7rem;
}
.float-btn {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 3px solid var(--brand-yellow);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-red) 30%, var(--brand-orange) 100%);
    color: var(--text-white);
    box-shadow: 0 10px 28px rgba(229, 36, 33, .45);
    transition: transform .2s ease;
}
.float-btn .icon { width: 30px; height: 30px; }
.float-btn--sm { width: 50px; height: 50px; box-shadow: 0 8px 20px rgba(229, 36, 33, .35); }
.float-btn--sm .icon { width: 24px; height: 24px; }
.float-btn:hover { transform: scale(1.08); }

/* Redes en el footer */
.social {
    display: flex;
    gap: .6rem;
    margin-top: 1.4rem;
}
.social a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    color: var(--text-white);
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.social a:hover { background: var(--brand-yellow); border-color: var(--brand-yellow); color: var(--bg-dark); }
.social .icon { width: 20px; height: 20px; }

/* ---------- Pasos para cotizar ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 2.2rem 0 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}
.steps li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    color: var(--text-muted);
    font-size: .96rem;
}
.steps span {
    display: grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--brand-yellow);
    font-weight: 800;
    color: var(--bg-dark);
}
.steps strong {
    display: block;
    margin-bottom: .2rem;
    color: var(--text-main);
}

/* ---------- Aviso de privacidad ---------- */
.privacy {
    padding: 1.2rem 0;
    border-top: 1px solid var(--line-dark);
    font-size: .88rem;
    color: rgba(255, 255, 255, .7);
}
.privacy summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--text-white);
}
.privacy summary:hover { color: var(--brand-yellow); }
.privacy p { max-width: 60rem; margin-top: .7rem; }

/* ---------- Promociones ---------- */
.promos {
    background: var(--bg-dark);
    color: var(--text-white);
}
.promos .section__lead { color: rgba(255, 255, 255, .75); }
.promos__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}
.promo {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-top: 4px solid var(--brand-yellow);
}
.promo__media { position: relative; aspect-ratio: 4 / 3; background: #222; }
.promo__media img { width: 100%; height: 100%; object-fit: cover; }
.promo__tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: .45rem .9rem;
    background: var(--brand-red);
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1;
    color: var(--text-white);
}
.promo__tag--inline { position: static; align-self: flex-start; margin: 1.5rem 0 0 1.5rem; }
.promo__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: .6rem;
    padding: 1.5rem;
}
.promo__title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;
}
.promo__desc { font-size: .96rem; color: rgba(255, 255, 255, .78); }
.promo__price {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    line-height: 1;
    margin: .3rem 0 .4rem;
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--brand-yellow);
}
.promo__price small { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .8); }
.promo__date { font-size: .85rem; color: rgba(255, 255, 255, .6); }
.promo__btn { margin-top: auto; align-self: flex-start; }
.promos__note { margin-top: 1.5rem; font-size: .85rem; color: rgba(255, 255, 255, .55); }


/* ---------- Ofertas dentro de la tarjeta de un producto ---------- */
.card__media--promos {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 3px;
    aspect-ratio: auto;
    min-height: 300px;
    background: var(--bg-dark);
}
.card__media--promos::after { display: none; }
.promo-row {
    position: relative;
    z-index: 3; /* por encima del enlace general de la tarjeta, para que el botón funcione */
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 0;
    background: #1b1b1b;
}
.promo-row__img { position: relative; overflow: hidden; background: #111; }
.promo-row__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card:hover .promo-row__img img { transform: none; }
.promo-row__tag {
    position: absolute;
    top: .5rem;
    left: .5rem;
    padding: .2rem .5rem;
    background: var(--brand-red);
    color: #fff;
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 900;
}
.promo-row__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .2rem;
    padding: .7rem .85rem;
    border-left: 3px solid var(--brand-yellow);
    color: #fff;
}
.promo-row__title { font-family: var(--font-display); font-size: .95rem; font-weight: 800; line-height: 1.2; }
.promo-row__desc { font-size: .74rem; line-height: 1.35; color: rgba(255, 255, 255, .7); }
.promo-row__price {
    display: flex;
    align-items: baseline;
    gap: .35rem;
    margin: .15rem 0 .3rem;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
    color: var(--brand-yellow);
}
.promo-row__price small { font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.promo-row__btn {
    align-self: flex-start;
    padding: .35rem .65rem;
    background: var(--brand-red);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    transition: background .2s ease;
}
.promo-row__btn:hover { background: var(--brand-orange); }
.promo-row__btn, .promo-row__btn:hover { text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .nav-toggle { display: block; }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem 1.25rem 1.5rem;
        background: var(--bg-light);
        box-shadow: 0 18px 30px rgba(17, 17, 17, .16);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
    }
    .nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: none;
    }
    .nav__list { flex-direction: column; margin: 0; }
    .nav__link { padding: .85rem .25rem; border-bottom: 1px solid var(--line); }
    .nav__link::after { display: none; }
    .nav__link.is-active { color: var(--brand-red); }

    .products { grid-template-columns: repeat(2, 1fr); }
    .stats__inner { grid-template-columns: 1fr; gap: 0; }
    .stats__note {
        padding: 1.2rem 0;
        border-left: 0;
        border-top: 1px solid var(--line-dark);
    }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .contact { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .section__head--split,
    .about,
    .contact { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }

    .services { grid-template-columns: 1fr; }
    .service { padding: 1.6rem 0; }
    .service + .service {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--line);
    }
    .about__visual { max-width: 560px; }
    .cta__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
    :root { --header-h: 68px; }
    body { font-size: 1rem; }
    .header__logo img { height: 44px; }
    .hero { border-left-width: 5px; }
    .hero__bg::after { background: linear-gradient(90deg, rgba(17, 17, 17, .93) 0%, rgba(17, 17, 17, .72) 100%); }
    .hero__actions .btn,
    .cta__btn { width: 100%; }
    .stat { padding: 1.2rem .6rem 1.2rem 0; }
    .stat + .stat { padding-left: .9rem; }
    .stat dt { font-size: .66rem; letter-spacing: .06em; }
    .products { grid-template-columns: 1fr; }
    .about__visual { margin: 0 .8rem 1.5rem 1.2rem; }
    .about__badge { left: -1.2rem; bottom: -1.5rem; min-width: 0; padding: 1.3rem 1.4rem 1.5rem; }
    .about__badge strong { font-size: 2.8rem; }
    .about__chip { top: 1rem; right: -.8rem; padding: .8rem 1rem; }
    .datasheet > div { grid-template-columns: 1fr; gap: 0; }
    .footer__grid { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; }
    .float-btn { width: 56px; height: 56px; }
    .float-btn .icon { width: 26px; height: 26px; }
    .float-btn--sm { width: 46px; height: 46px; }
    .float-btn--sm .icon { width: 22px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}

.about__text p + p { margin-top: .9rem; }

.about__badge { max-width: 16rem; }
.about__badge span { line-height: 1.35; }

.stat__sub { display: block; margin-top: .25rem; color: var(--brand-yellow); font-weight: 800; }
