/* ═══════════════════════════════════════════════════════════════════════════
   Hero Home · Arletex v3.2.1
   Atrevido · Textil · Editorial. Tokens --ax-* del DESIGN.md.
   Scope local: prefijo .hh-
   Carrusel principal a ratio 950/730 (preserva slides existentes).
   ═══════════════════════════════════════════════════════════════════════════ */

.hh-scope {
    --ax-ink:          #1F2530;
    --ax-ink-deep:     #0F0F0F;
    --ax-paper:        #FAF6EE;
    --ax-cream:        #F2EDE4;
    --ax-white:        #FFFFFF;
    --ax-orange:       #F15A29;
    --ax-orange-deep:  #B0401A;
    --ax-purple:       #6A52A2;
    --ax-purple-deep:  #382E59;
    --ax-yellow:       #FFEB3B;
    --ax-yellow-deep:  #C4B300;
    --ax-muted:        #6E6A60;
    --ax-muted-dark:   #A8A39A;
    --ax-rule:         rgba(14, 14, 14, 0.18);
    --ax-rule-on-dark: rgba(250, 246, 238, 0.18);
    --ax-pure-black:   #000000;
    --ax-whatsapp:     #25D366;

    --ax-font-display: 'Anton', 'Arial Narrow', sans-serif;
    --ax-font-accent:  'Fraunces', Georgia, serif;
    --ax-font-body:    'Lato', system-ui, sans-serif;
    --ax-font-mono:    'JetBrains Mono', 'SF Mono', ui-monospace, monospace;

    --ax-motion-fast:  120ms;
    --ax-motion-base:  200ms;
    --ax-ease-out:     cubic-bezier(0.16, 1, 0.3, 1);

    position: relative;
    background: var(--ax-white);
    color: var(--ax-ink);
    font-family: var(--ax-font-body);
    padding: clamp(12px, 1.6vw, 20px) 0 clamp(32px, 4vw, 56px);
    overflow: hidden;
    isolation: isolate;
}

/* Mega-text editorial de fondo — N-05: la tipografía es la ilustración */
.hh-scope::before {
    content: 'ARLETEX';
    position: absolute;
    left: -2vw;
    bottom: -3vw;
    font-family: var(--ax-font-display);
    font-weight: 400;
    font-size: clamp(8rem, 22vw, 22rem);
    line-height: 0.8;
    letter-spacing: -0.03em;
    color: rgba(31, 37, 48, 0.05);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.hh-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 clamp(12px, 1.4vw, 24px);
}

/* ─── Mosaic: 4 destinos + carrusel central ────────────────────────────── */
.hh-mosaic {
    display: grid;
    grid-template-columns: 24% 1fr 24%;
    gap: clamp(12px, 1.4vw, 20px);
    align-items: stretch;
}

.hh-col {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.4vw, 20px);
    min-width: 0;
}

/* ─── Destino card (link grande con imagen + label) ────────────────────── */
.hh-dest {
    position: relative;
    display: block;
    flex: 1;
    min-height: 0;
    background: var(--ax-white);
    border: 1px solid var(--ax-ink-deep);
    border-top: 2px solid var(--ax-ink);
    color: var(--ax-ink);
    text-decoration: none;
    overflow: hidden;
    aspect-ratio: 6 / 5;
    transition:
        transform var(--ax-motion-base) var(--ax-ease-out),
        box-shadow var(--ax-motion-base) var(--ax-ease-out),
        border-color var(--ax-motion-base) var(--ax-ease-out);
}
.hh-dest:hover,
.hh-dest:focus-visible {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0 var(--ax-orange);
    border-top-color: var(--ax-orange);
    color: var(--ax-ink);
    text-decoration: none;
}
.hh-dest__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hh-dest__media img,
.hh-dest__media picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 500ms var(--ax-ease-out);
}
.hh-dest:hover .hh-dest__media img {
    transform: scale(1.04);
}
/* ─── Center: carrusel principal con frame chunky ──────────────────────── */
.hh-stage {
    position: relative;
    border: 1px solid var(--ax-rule);
    border-top: 2px solid var(--ax-orange);
    overflow: hidden;
}
.hh-stage .carousel,
.hh-stage .carousel-inner,
.hh-stage .carousel-item,
.hh-stage .slide-principal,
.hh-stage .carousel-item picture {
    width: 100%;
    height: 100%;
}
.hh-stage .carousel-inner {
    aspect-ratio: 950 / 730;
}
.hh-stage .slide-principal a {
    display: block;
    width: 100%;
    height: 100%;
}
.hh-stage .slide-principal img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    margin: 0;
}

/* Controles del carrusel — chevron editorial minimal sobre velo ink */
.hh-stage .carousel-control-prev,
.hh-stage .carousel-control-next {
    position: absolute;
    top: 50%;
    width: 48px;
    height: 48px;
    bottom: auto;
    background: rgba(31, 37, 48, 0.55);
    color: var(--ax-paper);
    border: none;
    border-radius: 0;
    opacity: 0;
    z-index: 4;
    transform: translateY(-50%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition:
        opacity .25s var(--ax-ease-out),
        background-color .2s ease,
        color .2s ease,
        transform .2s var(--ax-ease-out);
}
.hh-stage:hover .carousel-control-prev,
.hh-stage:hover .carousel-control-next,
.hh-stage:focus-within .carousel-control-prev,
.hh-stage:focus-within .carousel-control-next {
    opacity: 1;
}
.hh-stage .carousel-control-prev { left: clamp(10px, 1.2vw, 18px); }
.hh-stage .carousel-control-next { right: clamp(10px, 1.2vw, 18px); }
.hh-stage .carousel-control-prev:hover,
.hh-stage .carousel-control-prev:focus-visible,
.hh-stage .carousel-control-next:hover,
.hh-stage .carousel-control-next:focus-visible {
    background: var(--ax-orange);
    color: var(--ax-paper);
    outline: none;
}
.hh-stage .carousel-control-prev:hover { transform: translate(-2px, -50%); }
.hh-stage .carousel-control-next:hover { transform: translate(2px, -50%); }

/* Icono — chevron de líneas (SVG inline via mask), reemplaza el SVG default */
.hh-stage .carousel-control-prev-icon,
.hh-stage .carousel-control-next-icon {
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-size: contain;
            mask-size: contain;
    background-image: none;
}
.hh-stage .carousel-control-prev-icon {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
}
.hh-stage .carousel-control-next-icon {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
}

/* Touch: siempre visibles (no hay hover real) */
@media (hover: none) {
    .hh-stage .carousel-control-prev,
    .hh-stage .carousel-control-next { opacity: 1; }
}

@media (max-width: 480px) {
    .hh-stage .carousel-control-prev,
    .hh-stage .carousel-control-next { width: 40px; height: 40px; }
    .hh-stage .carousel-control-prev-icon,
    .hh-stage .carousel-control-next-icon { width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .hh-stage .carousel-control-prev,
    .hh-stage .carousel-control-next,
    .hh-stage .carousel-control-prev-icon,
    .hh-stage .carousel-control-next-icon {
        transition: none;
    }
}

/* ─── Badge editorial flotante sobre el stage (esquina sup-izq) ────────── */
.hh-stage__badge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    background: var(--ax-ink);
    color: var(--ax-paper);
    padding: 8px 14px;
    font-family: var(--ax-font-body);
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    line-height: 1;
    border-right: 2px solid var(--ax-orange);
    border-bottom: 2px solid var(--ax-orange);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hh-stage__badge i {
    color: var(--ax-orange);
    font-size: 0.85rem;
}

/* ─── Promo row (3 cards Kaltex / Tienda) ──────────────────────────────── */
.hh-promo {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, 1.4vw, 20px);
    margin-top: clamp(20px, 2.4vw, 32px);
}
.hh-promo__card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(18px, 1.8vw, 26px);
    padding: clamp(18px, 2vw, 28px) clamp(20px, 2.2vw, 32px);
    background: var(--ax-ink-deep);
    border: 1px solid var(--ax-rule-on-dark);
    border-top: 2px solid var(--ax-orange);
    color: var(--ax-paper);
    text-decoration: none;
    min-height: 96px;
    transition:
        transform var(--ax-motion-base) var(--ax-ease-out),
        box-shadow var(--ax-motion-base) var(--ax-ease-out),
        border-color var(--ax-motion-base) var(--ax-ease-out),
        background var(--ax-motion-base) var(--ax-ease-out);
}
.hh-promo__card:hover,
.hh-promo__card:focus-visible {
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0 var(--ax-orange);
    border-top-color: var(--ax-orange);
    background: var(--ax-ink);
    color: var(--ax-paper);
    text-decoration: none;
}
.hh-promo__icon {
    width: clamp(48px, 4.4vw, 60px);
    height: clamp(48px, 4.4vw, 60px);
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 1.5px solid var(--ax-paper);
    color: var(--ax-paper);
    font-size: clamp(1.25rem, 1.6vw, 1.6rem);
    transition: all var(--ax-motion-base) var(--ax-ease-out);
}
.hh-promo__card:hover .hh-promo__icon {
    background: var(--ax-orange);
    border-color: var(--ax-orange);
    color: var(--ax-paper);
}
.hh-promo__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.hh-promo__tag {
    font-family: var(--ax-font-body);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ax-orange);
    line-height: 1;
}
.hh-promo__title {
    font-family: var(--ax-font-display);
    font-weight: 400;
    font-size: clamp(1.5rem, 2.2vw, 2.1rem);
    letter-spacing: -0.005em;
    text-transform: uppercase;
    color: var(--ax-paper);
    line-height: 1;
    margin: 0;
}
.hh-promo__cta {
    font-family: var(--ax-font-body);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ax-orange);
    background: transparent;
    border: 1.5px solid var(--ax-orange);
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    line-height: 1;
    transition:
        background var(--ax-motion-base) var(--ax-ease-out),
        color var(--ax-motion-base) var(--ax-ease-out),
        border-color var(--ax-motion-base) var(--ax-ease-out);
}
.hh-promo__cta::after {
    content: '→';
    transition: transform var(--ax-motion-base) var(--ax-ease-out);
}
.hh-promo__card:hover .hh-promo__cta,
.hh-promo__card:focus-visible .hh-promo__cta {
    background: var(--ax-orange);
    color: var(--ax-paper);
    border-color: var(--ax-orange);
}
.hh-promo__card:hover .hh-promo__cta::after {
    transform: translateX(4px);
}

/* ─── Benefits strip — banda oscura, acento ink-deep ──────────── */
.hh-benefits {
    margin-top: clamp(20px, 2.4vw, 32px);
    padding: clamp(22px, 2.4vw, 32px) clamp(22px, 2.4vw, 36px);
    background: var(--ax-ink-deep);
    border-top: 2px solid var(--ax-orange);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(14px, 1.6vw, 24px);
    align-items: center;
}
.hh-benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 1.2vw, 18px);
    min-width: 0;
}
.hh-benefit + .hh-benefit {
    border-left: 1px solid var(--ax-rule-on-dark);
    padding-left: clamp(16px, 1.6vw, 26px);
}
.hh-benefit__icon {
    flex-shrink: 0;
    width: clamp(40px, 3.2vw, 48px);
    height: clamp(40px, 3.2vw, 48px);
    display: grid;
    place-items: center;
    color: var(--ax-orange);
    font-size: clamp(1.4rem, 1.6vw, 1.65rem);
}
.hh-benefit__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}
.hh-benefit__title {
    font-family: var(--ax-font-body);
    font-weight: 800;
    font-size: clamp(0.88rem, 1vw, 1.02rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ax-paper);
    line-height: 1.15;
}
.hh-benefit__title em {
    font-family: var(--ax-font-accent);
    font-style: italic;
    font-weight: 500;
    font-size: 1.05em;
    text-transform: none;
    letter-spacing: -0.01em;
    color: var(--ax-orange);
}
.hh-benefit__sub {
    font-family: var(--ax-font-body);
    font-weight: 400;
    font-size: clamp(0.78rem, 0.88vw, 0.88rem);
    color: rgba(250, 246, 238, 0.7);
    margin-top: 4px;
}

/* ─── Mobile: stack carrusel + 4 destinos en grid 2×2 ──────────────────── */
.hh-mosaic--mobile {
    display: none;
}

@media screen and (max-width: 1024px) {
    .hh-mosaic {
        grid-template-columns: 22% 1fr 22%;
        gap: 12px;
    }
}

@media screen and (max-width: 768px) {
    .hh-scope {
        padding: clamp(10px, 2vw, 16px) 0 clamp(24px, 5vw, 36px);
    }
    .hh-scope::before {
        font-size: 12rem;
        bottom: -5vw;
        left: -4vw;
    }
    .hh-mosaic { display: none; }
    .hh-mosaic--mobile {
        display: block;
    }
    .hh-stage {
        margin-bottom: 16px;
    }
    .hh-dest-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .hh-dest { aspect-ratio: 4 / 3; }

    .hh-promo {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 20px;
    }
    .hh-promo__card {
        min-height: 84px;
        padding: 14px 16px;
        gap: 14px;
    }
    .hh-promo__title { font-size: 1.2rem; }
    .hh-promo__tag   { font-size: 0.65rem; letter-spacing: 0.18em; }
    .hh-promo__cta   { font-size: 0.7rem; padding: 8px 14px; }
    .hh-promo__icon  { width: 44px; height: 44px; font-size: 1.15rem; }

    .hh-benefits {
        grid-template-columns: 1fr 1fr;
        gap: 14px 16px;
        padding: 18px 16px;
        margin-top: 20px;
    }
    .hh-benefit + .hh-benefit { border-left: none; padding-left: 0; }
    .hh-benefit:nth-child(odd) {
        padding-right: 12px;
        border-right: 1px solid var(--ax-rule-on-dark);
    }
    .hh-benefit__icon { width: 36px; height: 36px; font-size: 1.25rem; }
    .hh-benefit__title { font-size: 0.82rem; letter-spacing: 0.1em; }
    .hh-benefit__sub { font-size: 0.78rem; }
}

@media screen and (max-width: 420px) {
    .hh-dest-grid { gap: 8px; }
    .hh-benefits { grid-template-columns: 1fr; }
    .hh-benefit:nth-child(odd) { border-right: none; padding-right: 0; }
    .hh-benefit + .hh-benefit { border-top: 1px solid var(--ax-rule-on-dark); padding-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .hh-dest,
    .hh-dest__media img,
    .hh-promo__card,
    .hh-promo__card .hh-promo__icon,
    .hh-stage .carousel-control-prev,
    .hh-stage .carousel-control-next {
        transition: none !important;
    }
    .hh-dest:hover,
    .hh-promo__card:hover {
        transform: none;
    }
    .hh-dest:hover .hh-dest__media img {
        transform: none;
    }
}
