/* ==========================================================================
   DR. CASILLERO — REDISEÑO 2026-10 (header, navegación y home)
   Se carga DESPUÉS de /css/style.css: reutiliza sus colores (negro + naranja),
   el cotizador, los beneficios y el footer. Clases nuevas con prefijo propio
   (hd-, hero2-, stores2-…) para no chocar con las del diseño anterior.
   ========================================================================== */

:root {
    --v2-header-h: 76px;
    --v2-wa: #25D366;
    --v2-line: rgba(255, 255, 255, 0.08);
    --v2-soft: #d2d2d7;
    --v2-script: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;
}

.v2 main [id],
.v2 #cotizador {
    scroll-margin-top: calc(var(--v2-header-h) + 16px);
}

.v2-wrap {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.v2-wrap--narrow {
    max-width: 880px;
}

/* ---------- Botones ---------- */
.v2-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 24px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    background: transparent;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.v2-btn:active {
    transform: translateY(1px);
}

.v2-btn--lg {
    padding: 17px 26px;
    font-size: 1.02rem;
}

.v2-btn--block {
    display: flex;
    width: 100%;
    justify-content: center;
}

.v2-btn--primary {
    background: var(--accent);
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 14px 34px -14px rgba(255, 153, 0, 0.7);
}

.v2-btn--primary:hover {
    background: #ffad33;
}

.v2-btn--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

.v2-btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.v2-btn--wa {
    background: var(--v2-wa);
    color: #fff;
}

.v2-btn--wa:hover {
    background: #1fbd5a;
}

.v2-btn-chev {
    margin-left: auto;
    font-size: 0.85em;
}

/* ---------- Encabezados de sección ---------- */
.v2-head {
    text-align: center;
    margin-bottom: 52px;
}

.v2-kicker {
    display: inline-block;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.v2-h2,
.v2 .section-title {
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
    color: var(--text-main);
}

.v2-center {
    text-align: center;
    margin-top: 46px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.hd {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #0a0a0a;
    border-bottom: 1px solid var(--v2-line);
}

.hd.scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.hd-in {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: var(--v2-header-h);
    display: flex;
    align-items: center;
    gap: 24px;
}

.hd-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* sin esto la columna estira el logo al ancho de la frase */
    flex-shrink: 0;
}

.hd-logo img {
    height: 46px;
    width: auto;
    max-width: none;
    align-self: flex-start;
}

/* El PNG trae aire alrededor: la frase va alineada bajo «Dr. Casillero», no bajo el cubo */
.hd-tagline {
    margin: -8px 0 0 48px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.hd-tagline i {
    color: var(--accent);
    font-size: 0.85em;
    margin: 0 2px;
}

.hd-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

.hd-link {
    position: relative;
    padding: 10px 13px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--v2-soft);
    white-space: nowrap;
    transition: color .2s ease;
}

.hd-link:hover,
.hd-link.is-active {
    color: #fff;
}

.hd-link.is-active::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 1px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
}

.hd-track {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    transition: color .2s ease, border-color .2s ease;
}

.hd-track i {
    color: var(--accent);
}

.hd-track:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hd-burger {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.hd-burger span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform .2s ease, opacity .2s ease;
}

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

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

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

/* Menú móvil: cerrado = [hidden] (display:none), nunca fuera de pantalla */
.hd-menu:not([hidden]) {
    position: fixed;
    top: var(--v2-header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 20px 32px;
    background: #0a0a0a;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.hd-menu-links {
    display: flex;
    flex-direction: column;
}

.hd-menu-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 4px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid var(--v2-line);
}

.hd-menu-links a i {
    width: 22px;
    text-align: center;
    color: var(--accent);
    font-size: 1rem;
}

.hd-menu-sec {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 6px 4px 8px;
}

.hd-menu-sec a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.hd-menu-social {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 6px;
}

.hd-menu-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--v2-soft);
    font-size: 1.1rem;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero2 {
    position: relative;
    overflow: hidden;
    background: #0a0a0a;
    min-height: clamp(580px, calc(100vh - var(--v2-header-h)), 720px);
    display: flex;
}

.hero2-media {
    position: absolute;
    inset: 0;
}

/* Escritorio: la foto va pegada a la derecha a toda la altura del hero (no se recorta la caja
   en pantallas anchas); su lado izquierdo ya es casi negro y se funde con el fondo. */
.hero2-media img {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: auto;
    max-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
    mask-image: linear-gradient(90deg, transparent 0, #000 22%);
}

.hero2-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, #0a0a0a 0%, rgba(10, 10, 10, 0.92) 28%, rgba(10, 10, 10, 0.45) 46%, rgba(10, 10, 10, 0) 60%),
        linear-gradient(0deg, #0a0a0a 0%, rgba(10, 10, 10, 0) 18%);
}

/* Partículas (las dibuja js/v2.js): encima de la foto, debajo del texto */
.hero2-fx {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero2-fx.is-on {
    opacity: 1;
}

.hero2-in {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 56px 24px 64px;
    display: flex;
    align-items: center;
}

.hero2-copy {
    max-width: 660px;
}

.hero2-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px;
    border: 1.5px solid rgba(255, 153, 0, 0.55);
    border-radius: 999px;
    background: rgba(255, 153, 0, 0.08);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero2-pill i {
    color: var(--accent);
}

.hero2-title {
    margin: 22px 0 18px;
    font-size: clamp(2.2rem, 3.5vw, 3.1rem);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -1px;
    color: #fff;
    text-wrap: balance;
}

.hero2-title span {
    color: var(--accent);
}

.hero2-lead {
    max-width: 540px;
    font-size: 1.12rem;
    line-height: 1.6;
    color: var(--v2-soft);
}

.hero2-lead-corto {
    display: none;
}

.hero2-ask {
    margin: 26px 0 12px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
}

.hero2-ctas {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 390px;
}

.hero2-wa {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    font-size: 0.95rem;
    color: var(--v2-soft);
}

.hero2-wa i {
    color: var(--v2-wa);
    font-size: 1.3rem;
}

.hero2-wa strong {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(37, 211, 102, 0.6);
    text-underline-offset: 4px;
}

.hero2-wa:hover strong {
    color: var(--v2-wa);
}

.hero2-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 30px;
    margin-top: 32px;
    list-style: none;
}

.hero2-badges li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    line-height: 1.25;
    color: #c8c8cc;
}

.hero2-badges i {
    font-size: 1.45rem;
    color: var(--accent);
}

.hero2-script {
    position: absolute;
    top: 7%;
    left: 50%;
    font-family: var(--v2-script);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    transform: rotate(-9deg);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
    pointer-events: none;
}

.hero2-script::after {
    content: "";
    display: block;
    width: 82%;
    height: 12px;
    margin: 2px 0 0 auto;
    border-bottom: 4px solid var(--accent);
    border-radius: 0 0 50% 50%;
}

/* ==========================================================================
   TIENDAS
   ========================================================================== */
.stores2 {
    background: #0a0a0a;
    padding: 26px 0 14px;
}

.stores2-card {
    background: #fff;
    border-radius: 22px;
    padding: 22px 34px 24px;
    box-shadow: 0 20px 50px -20px rgba(255, 153, 0, 0.25);
}

.stores2-kicker {
    display: inline-block;
    margin-bottom: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--accent);
    color: #111;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.stores2-title {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.2px;
    color: #111;
}

.stores2-list {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px 26px;
    margin-top: 16px;
}

.stores2-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    transition: transform .2s ease;
}

.stores2-list a:hover {
    transform: translateY(-2px) scale(1.04);
}

.stores2-list img {
    width: auto;
    max-width: 140px;
}

.stores2-note {
    margin-top: 12px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   CÓMO FUNCIONA
   ========================================================================== */
.steps2 {
    background: #0a0a0a;
    padding: 84px 0 96px;
}

.steps2-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px;
}

.steps2-item {
    position: relative;
    text-align: center;
}

.steps2-item:not(:last-child)::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 30px;
    right: -36px;
    color: var(--accent);
    font-size: 1.1rem;
}

.steps2-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 22px;
}

.steps2-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #111;
    font-weight: 800;
    font-size: 1.1rem;
}

.steps2-ico {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 153, 0, 0.1);
    border: 1px solid rgba(255, 153, 0, 0.28);
    color: var(--accent);
    font-size: 1.9rem;
}

.steps2-item h3 {
    font-size: 1.28rem;
    color: #fff;
    margin-bottom: 10px;
}

.steps2-item p {
    max-width: 290px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1rem;
}

/* ==========================================================================
   POR QUÉ ELEGIRNOS
   ========================================================================== */
.trust2 {
    background: var(--bg-dark);
    padding: 88px 0;
    border-top: 1px solid var(--v2-line);
}

.trust2-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust2-list li {
    text-align: center;
    padding: 6px 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.trust2-list li:first-child {
    border-left: 0;
}

.trust2-list i {
    display: block;
    margin-bottom: 16px;
    font-size: 2.3rem;
    color: var(--accent);
}

.trust2-list h3 {
    font-size: 1.08rem;
    color: #fff;
    margin-bottom: 8px;
}

.trust2-list p {
    font-size: 0.93rem;
    color: var(--text-muted);
}

.trust2-list a {
    color: var(--accent);
    font-weight: 600;
    white-space: nowrap;
}

/* ==========================================================================
   COTIZADOR (envoltura nueva; el widget es el mismo)
   ========================================================================== */
.quote2 {
    background: #0a0a0a;
    padding: 90px 0;
    border-top: 1px solid var(--v2-line);
}

.quote2-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 56px;
    align-items: start;
}

.quote2-copy {
    padding-top: 24px;
}

.quote2-copy .v2-h2 {
    margin-bottom: 16px;
}

.quote2-lead {
    color: var(--v2-soft);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.quote2-lead strong {
    color: #fff;
}

.quote2-list {
    list-style: none;
}

.quote2-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.quote2-list li > i {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 153, 0, 0.1);
    color: var(--accent);
    font-size: 1.1rem;
}

.quote2-list strong {
    display: block;
    color: #fff;
    font-size: 1rem;
}

.quote2-list span {
    color: var(--text-muted);
    font-size: 0.93rem;
}

.quote2-list a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.v2 .features-quote {
    max-width: none;
    margin: 0;
}

/* Las 3 medidas (largo/ancho/alto) se salían de la tarjeta: los input traen ancho mínimo propio */
.v2 .quote-row > .quote-field {
    min-width: 0;
}

.v2 .quote-field input,
.v2 .quote-field select {
    min-width: 0;
    width: 100%;
}

/* ==========================================================================
   BENEFICIOS (mismo contenido; solo se ajusta el ritmo)
   ========================================================================== */
.v2 #beneficios {
    padding: 90px 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--v2-line);
}

.v2 #beneficios .section-header {
    margin-bottom: 48px;
}

/* ==========================================================================
   PREGUNTAS FRECUENTES
   ========================================================================== */
.faq2 {
    background: #0a0a0a;
    padding: 90px 0;
    border-top: 1px solid var(--v2-line);
}

.faq2-item {
    margin-bottom: 12px;
    border-radius: 16px;
    background: #151515;
    border: 1px solid var(--v2-line);
    transition: border-color .2s ease;
}

.faq2-item[open] {
    border-color: rgba(255, 153, 0, 0.4);
}

.faq2-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    font-size: 1.04rem;
    font-weight: 700;
    color: #fff;
}

.faq2-item summary::-webkit-details-marker {
    display: none;
}

.faq2-item summary i {
    flex-shrink: 0;
    color: var(--accent);
    transition: transform .2s ease;
}

.faq2-item[open] summary i {
    transform: rotate(45deg);
}

.faq2-item p {
    padding: 0 22px 22px;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq2-more {
    margin-top: 28px;
    text-align: center;
    color: var(--text-muted);
}

.faq2-more a {
    color: var(--accent);
    font-weight: 700;
}

/* ==========================================================================
   CIERRE
   ========================================================================== */
.close2 {
    background: linear-gradient(115deg, #ff9900 0%, #ff8c00 55%, #f57c00 100%);
    color: #111;
    padding-top: 46px;
}

.close2-in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 40px;
}

.close2-script {
    font-family: var(--v2-script);
    font-size: 2.15rem;
    font-weight: 700;
    line-height: 1.1;
    transform: rotate(-3deg);
}

.close2-route {
    list-style: none;
    display: flex;
    align-items: flex-start;
}

.close2-route li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 22px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.close2-route li i {
    font-size: 1.55rem;
}

.close2-route li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 12px;
    right: -14px;
    width: 28px;
    border-top: 2px dashed rgba(0, 0, 0, 0.45);
}

.close2-wa {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 22px 10px 10px;
    border-radius: 999px;
    background: #0a0a0a;
    color: #fff;
    box-shadow: 0 16px 36px -16px rgba(0, 0, 0, 0.6);
    transition: transform .2s ease;
}

.close2-wa:hover {
    transform: translateY(-2px);
}

.close2-wa .fa-whatsapp {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--v2-wa);
    font-size: 1.6rem;
}

.close2-wa span {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    color: #cfcfd4;
}

.close2-wa strong {
    font-size: 1rem;
    color: #fff;
}

.close2-wa .fa-chevron-right {
    color: var(--accent);
    margin-left: 6px;
}

.close2-slogan {
    margin-top: 40px;
    padding: 14px 24px;
    background: rgba(0, 0, 0, 0.1);
    text-align: center;
    font-weight: 700;
    font-size: 0.92rem;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
    .hero2-script {
        display: none;
    }

    .hd-tagline,
    .hd-link--inicio {
        display: none;
    }

    .hd-in {
        gap: 16px;
    }

    .hd-link {
        padding: 10px 9px;
        font-size: 0.86rem;
    }

    .hd-link.is-active::after {
        left: 9px;
        right: 9px;
    }

    .close2-in {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 28px;
    }
}

@media (max-width: 1060px) {
    :root {
        --v2-header-h: 66px;
    }

    .hd-nav,
    .hd-track {
        display: none;
    }

    .hd-burger {
        display: flex;
    }

    /* Celular: logo centrado y menú a la derecha, como el sitio actual */
    .hd-in {
        position: relative;
        justify-content: flex-end;
    }

    .hd-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .hd-logo img {
        height: 42px;
    }

    .hd-tagline {
        display: none;
    }

    /* Barra del sitio actual (COTIZA YA · redes · CASILLERO YA) justo debajo del header */
    .v2 .mobile-action-bar {
        top: var(--v2-header-h);
    }

    /* Al ir a una sección desde el menú, su título queda visible debajo del header y la barra fijos */
    .v2 main [id],
    .v2 #cotizador {
        scroll-margin-top: calc(var(--v2-header-h) + 68px);
    }

    .quote2-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .quote2-copy {
        padding-top: 0;
    }

    .trust2-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 0;
    }

    .trust2-list li:nth-child(3) {
        border-left: 0;
    }
}

@media (max-width: 900px) {
    /* Celular: una sola diapositiva a pantalla completa (foto de fondo, texto centrado arriba, botones abajo) */
    .hero2 {
        min-height: calc(100vh - var(--v2-header-h) - 52px);
        min-height: calc(100svh - var(--v2-header-h) - 52px);
    }

    /* Foto vertical (cielo arriba, mujer y caja abajo): se pega abajo para que la caja quede sobre los botones */
    .hero2-media img {
        top: 0;
        right: auto;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 55% 100%;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .hero2-media::after {
        background: linear-gradient(180deg,
                rgba(10, 10, 10, 0.55) 0%,
                rgba(10, 10, 10, 0.35) 30%,
                rgba(10, 10, 10, 0) 48%,
                rgba(10, 10, 10, 0) 70%,
                rgba(10, 10, 10, 0.7) 86%,
                rgba(10, 10, 10, 0.92) 100%);
    }

    .hero2-in {
        padding: 22px 20px 22px;
        align-items: stretch;
    }

    .hero2-copy {
        max-width: none;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero2-lead {
        max-width: 34ch;
        margin: 0 auto;
    }

    .hero2-ctas {
        max-width: 420px;
        width: 100%;
        margin-top: auto;
        padding-top: 24px;
    }

    .hero2-ask,
    .hero2-wa {
        display: none;
    }

    /* Sellos (seguro, tiempos, atención) justo debajo de los botones: resuelven las dudas de entrada */
    .hero2-badges {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        max-width: 420px;
        margin-top: 16px;
    }

    .hero2-badges li {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 4px;
        font-size: 0.72rem;
        line-height: 1.2;
        color: #e4e4e7;
        text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
    }

    .hero2-badges i {
        font-size: 1.25rem;
    }

    .hero2-script {
        display: none;
    }

    .steps2-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .steps2-item:not(:last-child)::after {
        content: "\f078";
        top: auto;
        bottom: -32px;
        right: 50%;
        transform: translateX(50%);
    }

    .close2-route li {
        padding: 0 14px;
    }

    .close2-route li:not(:last-child)::after {
        width: 18px;
        right: -9px;
    }
}

@media (max-width: 600px) {
    .v2-hide-sm {
        display: none;
    }

    .hd-in {
        padding: 0 14px;
    }

    .v2-wrap {
        padding: 0 18px;
    }

    .hero2-pill {
        font-size: 0.64rem;
        padding: 7px 12px;
        letter-spacing: 0.6px;
    }

    .hero2-title {
        font-size: clamp(1.95rem, 8.6vw, 2.4rem);
        margin: 16px 0 14px;
    }

    .hero2-lead {
        font-size: 1rem;
    }

    .hero2-ask {
        margin-top: 20px;
    }

    .v2-btn--lg {
        padding: 16px 20px;
        font-size: 0.95rem;
    }

    .v2-center .v2-btn {
        width: 100%;
        justify-content: center;
        font-size: 0.88rem;
    }

    .v2-center .v2-btn-chev {
        margin-left: 0;
    }

    .hero2-lead {
        font-size: 0.97rem;
    }

    /* Barra COTIZA YA · redes · CASILLERO YA: que quepa completa */
    .v2 .mobile-action-bar {
        padding: 8px 10px;
        gap: 6px;
    }

    .v2 .mob-act-btn {
        padding: 9px 10px;
        font-size: 0.68rem;
        gap: 5px;
    }

    .v2 .mob-act-social {
        gap: 5px;
    }

    .v2 .mob-act-social-icon {
        width: 32px;
        height: 32px;
    }

    .stores2-card {
        padding: 18px 16px 20px;
        border-radius: 18px;
    }

    .stores2-title {
        text-align: center;
        font-size: 1rem;
    }

    .stores2-card {
        text-align: center;
    }

    .stores2-list {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px 10px;
        justify-items: center;
    }

    .stores2-list a {
        min-height: 40px;
    }

    .stores2-list img {
        height: auto !important;
        max-height: 26px;
        max-width: 68px;
    }

    .steps2,
    .trust2,
    .quote2,
    .faq2,
    .v2 #beneficios {
        padding: 64px 0;
    }

    .v2-head {
        margin-bottom: 38px;
    }

    .trust2-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .trust2-list li {
        border-left: 0;
        padding: 0 8px;
    }

    .faq2-item summary {
        padding: 17px 18px;
        font-size: 0.98rem;
    }

    .faq2-item p {
        padding: 0 18px 18px;
    }

    .close2-script {
        font-size: 1.8rem;
    }

    .close2-route li {
        padding: 0 9px;
        font-size: 0.72rem;
    }

    .close2-route li i {
        font-size: 1.3rem;
    }

    .close2-route li:not(:last-child)::after {
        width: 10px;
        right: -5px;
    }

    .close2-wa {
        width: 100%;
        max-width: 360px;
    }
}

/* Celulares bajos (Safari con barras: 640-800 px de alto): párrafo corto, título y botones un poco menores,
   para que la cara y la caja de la foto queden entre el texto y los botones. */
@media (max-width: 900px) and (max-height: 820px) {
    .hero2-lead-largo {
        display: none;
    }

    .hero2-lead-corto {
        display: inline;
    }

    .hero2-title {
        font-size: min(8.6vw, 4.5vh, 2.4rem);
        margin: 12px 0 10px;
    }

    .hero2-in {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .hero2-ctas {
        gap: 10px;
    }

    .hero2-ctas .v2-btn--lg {
        padding: 13px 20px;
        font-size: 0.9rem;
    }

    .hero2-ctas {
        padding-top: 14px;
    }

    .hero2-badges {
        margin-top: 12px;
    }
}

@media (max-width: 380px) {
    .v2 .mobile-action-bar {
        padding: 8px 8px;
        gap: 4px;
    }

    .v2 .mob-act-btn {
        padding: 8px 8px;
        font-size: 0.62rem;
        gap: 4px;
        letter-spacing: 0.3px;
    }

    .v2 .mob-act-social {
        gap: 4px;
    }

    .v2 .mob-act-social-icon {
        width: 29px;
        height: 29px;
        font-size: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .v2-btn,
    .stores2-list a,
    .close2-wa {
        transition: none;
    }
}

/* ==========================================================================
   CAMBIOS 2026-10-18 (pedidos de Osvaldo)
   ========================================================================== */

/* Cómo funciona: cada paso lleva a su acción */
.steps2-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 6px 10px 18px;
    border-radius: 20px;
    color: inherit;
    transition: background-color .2s ease, transform .2s ease;
}

.steps2-link:hover,
.steps2-link:focus-visible {
    background: rgba(255, 153, 0, 0.06);
    transform: translateY(-2px);
}

.steps2-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.95rem;
}

.steps2-cta i {
    font-size: 0.85rem;
    transition: transform .2s ease;
}

.steps2-link:hover .steps2-cta i {
    transform: translateX(3px);
}

/* Tiendas: enlace a la lista completa */
.stores2-more {
    margin-top: 14px;
    text-align: center;
}

.stores2-more .v2-btn {
    padding: 11px 20px;
    font-size: 0.9rem;
}

/* Beneficios: 7 tarjetas → la última no queda sola a un lado */
@media (min-width: 1025px) {
    .v2 .benefits-grid > .benefit-card:last-child:nth-child(3n+1) {
        grid-column: 2;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .v2 .benefits-grid > .benefit-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 15px);
    }
}

/* WhatsApp con indicativo */
.tel-grupo {
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
    gap: 8px;
}

.quote-field .tel-grupo select,
.quote-field .tel-grupo input {
    min-width: 0;
    width: 100%;
}

.quote-field .tel-grupo select {
    padding-left: 12px;
    padding-right: 8px;
    text-overflow: ellipsis;
}

/* Ayuda con medidas y peso */
.calc-ayuda-medidas {
    margin: 10px 0 2px;
    border: 1px dashed rgba(255, 153, 0, 0.55);
    border-radius: 10px;
    background: rgba(255, 153, 0, 0.06);
    font-size: 0.82rem;
    color: var(--v2-soft);
}

.calc-ayuda-medidas summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
}

.calc-ayuda-medidas summary::-webkit-details-marker {
    display: none;
}

.calc-ayuda-medidas summary i {
    color: var(--accent);
    flex-shrink: 0;
}

.calc-ayuda-medidas summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: auto;
    font-size: 0.7rem;
    color: var(--accent);
    transition: transform .2s ease;
}

.calc-ayuda-medidas[open] summary::after {
    transform: rotate(180deg);
}

.calc-ayuda-medidas ul {
    margin: 0;
    padding: 0 14px 4px 30px;
    line-height: 1.55;
}

.calc-ayuda-medidas li {
    margin-bottom: 8px;
}

.calc-ayuda-medidas li strong {
    color: #fff;
}

.calc-ayuda-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 4px 12px 12px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--v2-wa);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
}

.calc-ayuda-wa:hover {
    filter: brightness(1.05);
}

/* Resultado: aviso de que es un estimado */
.quote-estimado {
    display: block;
    margin-top: 10px;
    padding: 10px 12px;
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    background: rgba(255, 153, 0, 0.08);
    color: var(--v2-soft);
    font-size: 0.8rem;
    line-height: 1.5;
    text-align: left;
}

.quote-estimado i {
    color: var(--accent);
    margin-right: 4px;
}

.quote-estimado strong {
    color: #fff;
}

/* ==========================================================================
   PÁGINA /tiendas/ (lista por categoría)
   ========================================================================== */
.tiendas3-hero {
    background: radial-gradient(120% 90% at 85% 0%, rgba(255, 153, 0, 0.16) 0%, rgba(10, 10, 10, 0) 60%), #0a0a0a;
    padding: 56px 0 34px;
    border-bottom: 1px solid var(--v2-line);
}

.tiendas3-title {
    margin: 14px 0 12px;
    font-size: clamp(1.8rem, 4.2vw, 2.8rem);
    line-height: 1.1;
    color: #fff;
    letter-spacing: -0.5px;
}

.tiendas3-lead {
    max-width: 62ch;
    color: var(--v2-soft);
    font-size: 1.05rem;
    line-height: 1.6;
}

.tiendas3-lead strong {
    color: #fff;
}

.tiendas3-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.tiendas3-cats a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 999px;
    border: 1px solid rgba(255, 153, 0, 0.35);
    background: rgba(255, 153, 0, 0.07);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    transition: background-color .2s ease, border-color .2s ease;
}

.tiendas3-cats a i {
    color: var(--accent);
}

.tiendas3-cats a:hover {
    border-color: var(--accent);
    background: rgba(255, 153, 0, 0.16);
}

.tiendas3-sec {
    background: #0a0a0a;
    padding: 46px 0 10px;
}

.tiendas3-sec:nth-of-type(odd) {
    background: var(--bg-dark);
}

.tiendas3-sec:last-of-type {
    padding-bottom: 46px;
}

.tiendas3-sec-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.tiendas3-sec-ico {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 153, 0, 0.1);
    border: 1px solid rgba(255, 153, 0, 0.3);
    color: var(--accent);
    font-size: 1.3rem;
}

.tiendas3-sec-head h2 {
    font-size: 1.45rem;
    color: #fff;
    line-height: 1.2;
}

.tiendas3-sec-head p {
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.tiendas3-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding-bottom: 36px;
}

.tiendas3-grid a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
    padding: 18px 20px;
    border-radius: 16px;
    background: #151515;
    border: 1px solid var(--v2-line);
    color: inherit;
    transition: border-color .2s ease, transform .2s ease;
}

.tiendas3-grid a:hover {
    border-color: rgba(255, 153, 0, 0.55);
    transform: translateY(-2px);
}

.tiendas3-grid strong {
    color: #fff;
    font-size: 1.08rem;
}

.tiendas3-grid span {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.tiendas3-grid em {
    margin-top: auto;
    padding-top: 6px;
    font-style: normal;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
}

.tiendas3-grid em i {
    font-size: 0.7rem;
    margin-left: 3px;
}

.tiendas3-nota {
    margin: -18px 0 36px;
    padding: 12px 14px;
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    background: rgba(255, 153, 0, 0.08);
    color: var(--v2-soft);
    font-size: 0.88rem;
    line-height: 1.5;
}

.tiendas3-nota i {
    color: var(--accent);
    margin-right: 4px;
}

.tiendas3-cierre {
    background: #0a0a0a;
    border-top: 1px solid var(--v2-line);
    padding: 64px 0 70px;
    text-align: center;
}

.tiendas3-cierre > .v2-wrap > p {
    max-width: 60ch;
    margin: 12px auto 0;
    color: var(--v2-soft);
}

.tiendas3-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
}

.tiendas3-cierre .tiendas3-pie {
    margin-top: 26px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.tiendas3-pie a {
    color: var(--accent);
    font-weight: 700;
}

.tiendas3-cierre .tiendas3-legal {
    margin-top: 14px;
    font-size: 0.75rem;
    color: #7a7a80;
}

@media (max-width: 900px) {
    .tiendas3-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .tiendas3-hero {
        padding: 34px 0 26px;
    }

    .tiendas3-cats {
        gap: 8px;
    }

    .tiendas3-cats a {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .tiendas3-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .tiendas3-grid a {
        padding: 15px 16px;
    }

    .tiendas3-sec-head h2 {
        font-size: 1.25rem;
    }

    .tiendas3-ctas .v2-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Nosotros (2026-10-19): las 3 cifras (25+ · 4 · 3) obligaban a la columna a medir más que la pantalla
   y el texto se cortaba a la derecha en el celular. */
.quienes-grid > * {
    min-width: 0;
}

@media (max-width: 600px) {
    .quienes-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .quienes-stat {
        padding: 16px 6px;
    }

    .quienes-stat .stat-label {
        font-size: 0.62rem;
        letter-spacing: 0.5px;
    }
}

/* ==========================================================================
   2026-10-22 · Revisión Yoast: los títulos de tarjetas dejan de ser <h3> (no son secciones) y se ven igual
   ========================================================================== */
.tit3 {
    display: block;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.17em;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.steps2-item .tit3 {
    font-size: 1.28rem;
    color: #fff;
    margin-bottom: 10px;
}

.trust2-list .tit3 {
    font-size: 1.08rem;
    color: #fff;
    margin-bottom: 8px;
}

.benefit-content .tit3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.quote-header .tit3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.quote-confirmation .tit3 {
    color: var(--accent);
    margin-bottom: 8px;
    font-size: 1.4rem;
}

.contact-info-card .tit3 {
    color: var(--text-main);
    font-size: 1rem;
    margin: 0 0 4px;
}

/* Imagen dentro de los artículos del blog */
.blog-figura {
    margin: 0 0 36px;
}

.blog-figura img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
}

/* Tiendas de Estados Unidos: franja de logos bajo el titular */
.tiendas3-logos {
    max-width: 920px;
    margin-top: 22px;
    padding: 16px 28px;
    background: #fff;
    border-radius: 18px;
}

/* Nosotros y contacto: bloque de texto con dos columnas */
.nos2 {
    padding: 70px 0 80px;
    background: var(--bg-deep);
    border-top: 1px solid var(--border-subtle);
}

.nos2-in {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
}

.nos2-h2 {
    margin-bottom: 16px;
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    color: var(--text-main);
}

.nos2-col p,
.nos2-lista li {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

.nos2-col p + p,
.nos2-lista + p {
    margin-top: 14px;
}

.nos2-col strong {
    color: var(--text-main);
}

.nos2-col a {
    color: var(--accent);
}

.nos2-lista {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.nos2-lista li {
    position: relative;
    padding-left: 22px;
}

.nos2-lista li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.nos2-figura {
    margin-top: 22px;
}

.nos2-figura img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

@media (max-width: 860px) {
    .nos2-in {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .tiendas3-logos {
        padding: 14px 18px;
    }
}

/* Etiquetas sobre el H1 (y la línea de autor del blog): el texto se dibuja con CSS para que Yoast no las tome
   como «primer párrafo». Se ven igual que antes. */
.tadorno::before {
    content: attr(data-t);
}
