/* ==========================================================================
1. DESIGN TOKENS — AISLADOS EN .ivh
   ========================================================================== */
.ivh {
    --ivh-navy-deep: #071B33;
    --ivh-navy-secondary: #0B2A4A;
    --ivh-blue-tech: #1479B8;
    --ivh-turquoise: #40E0D0;
    --ivh-aqua-pastel: #E2FAF8;
    --ivh-gray-cold: #F2F4F6;
    --ivh-white: #FFFFFF;
    --ivh-blue-gray: #AFC1D3;
    --ivh-dark-text: #0B2239;

    --ivh-font-heading: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --ivh-font-body: 'Lato', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --ivh-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    --ivh-transition-fast: 200ms cubic-bezier(0.22, 1, 0.36, 1);

    position: relative;
    width: 100%;
    background: linear-gradient(135deg, var(--ivh-navy-deep) 0%, var(--ivh-navy-secondary) 100%);
    color: var(--ivh-white);
    font-family: var(--ivh-font-body);
    overflow: hidden;
    isolation: isolate;
    padding-block: 2.5rem 3rem;
}

.ivh *,
.ivh *::before,
.ivh *::after {
    box-sizing: border-box;
}

/* ==========================================================================
2. BASE MOBILE FIRST (320px - 479px)
   ========================================================================== */
.ivh__ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.ivh__canvas {
    display: none;
}

.ivh__halo--right {
    position: absolute;
    width: 18rem;
    height: 18rem;
    right: -4rem;
    bottom: 6rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(64, 224, 208, 0.14) 0%, rgba(20, 121, 184, 0.05) 50%, transparent 72%);
    pointer-events: none;
}

.ivh__container {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-inline: auto;
    padding-inline: 1.25rem;
}

.ivh__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    align-items: start;
}

.ivh__content {
    text-align: left;
    min-width: 0;
    max-width: 37.5rem;
    animation: ivhFadeIn 280ms ease-out both;
}

.ivh__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.95rem 0;
    font-family: var(--ivh-font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ivh-turquoise);
    line-height: 1.3;
}

.ivh__eyebrow-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background-color: var(--ivh-turquoise);
    box-shadow: 0 0 8px rgba(64, 224, 208, 0.65);
    flex-shrink: 0;
}

.ivh__title {
    margin: 0 0 1.15rem 0;
    font-family: var(--ivh-font-heading);
    font-size: clamp(2rem, 8.8vw, 2.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--ivh-white);
    text-align: left;
    overflow-wrap: break-word;
}

.ivh__title-accent {
    color: var(--ivh-turquoise);
}

.ivh__description {
    margin: 0 0 1.55rem 0;
    max-width: 34rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.55;
    color: var(--ivh-blue-gray);
    text-align: left;
}

.ivh__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
}

.ivh__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 3.125rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-family: var(--ivh-font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--ivh-transition-fast),
    background-color var(--ivh-transition-fast),
    border-color var(--ivh-transition-fast),
    box-shadow var(--ivh-transition-fast);
    user-select: none;
}

.ivh__btn--primary {
    background-color: var(--ivh-turquoise);
    color: var(--ivh-navy-deep);
    border: 1px solid var(--ivh-turquoise);
    box-shadow: 0 8px 20px -6px rgba(64, 224, 208, 0.35);
}

.ivh__btn--primary:hover {
    background-color: #55e7d8;
    border-color: #55e7d8;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -6px rgba(64, 224, 208, 0.48);
}

.ivh__btn--primary:active {
    transform: translateY(0) scale(0.99);
    background-color: #35cfc0;
}

.ivh__btn--secondary {
    background-color: transparent;
    color: var(--ivh-white);
    border: 1px solid var(--ivh-blue-gray);
}

.ivh__btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: var(--ivh-white);
    transform: translateY(-2px);
}

.ivh__btn--secondary:active {
    transform: translateY(0) scale(0.99);
    background-color: rgba(255, 255, 255, 0.1);
}

.ivh__btn:focus-visible {
    outline: 3px solid var(--ivh-white);
    outline-offset: 3px;
}

.ivh__btn[aria-disabled="true"],
.ivh__btn:disabled {
    opacity: 0.5;
    pointer-events: none;
}

.ivh__btn-icon {
    flex-shrink: 0;
}

/* Escena Visual */
.ivh__visual {
    width: 100%;
    max-width: 32rem;
    margin-inline: auto;
}

.ivh__showcase {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    min-height: 13.5rem;
    max-height: 17.5rem;
    padding: 0.75rem 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ivh__fiber-line {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Smart TV */
.ivh-tv {
    position: relative;
    z-index: 2;
    width: 82%;
    margin-top: -0.5rem;
}

.ivh-tv__bezel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0.65rem;
    background-color: var(--ivh-navy-secondary);
    border: 2px solid rgba(175, 193, 211, 0.28);
    box-shadow: 0 18px 38px -10px rgba(7, 27, 51, 0.85), 0 0 0 1px rgba(64, 224, 208, 0.18);
    overflow: hidden;
}

.ivh-tv__screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ivh-tv__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 27, 51, 0.05) 0%, rgba(7, 27, 51, 0.55) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0.6rem 0.75rem;
}

.ivh-tv__tag {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 0.35rem;
    background-color: rgba(7, 27, 51, 0.85);
    border: 1px solid rgba(64, 224, 208, 0.45);
    color: var(--ivh-white);
    font-family: var(--ivh-font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.ivh-tv__stand {
    width: 28%;
    height: 0.35rem;
    margin: 0 auto;
    background: linear-gradient(90deg, var(--ivh-navy-secondary), var(--ivh-blue-gray), var(--ivh-navy-secondary));
    border-radius: 0 0 0.35rem 0.35rem;
    opacity: 0.7;
}

/* Router Wi-Fi */
.ivh-router {
    position: absolute;
    bottom: 0.35rem;
    left: 2%;
    z-index: 3;
    width: 34%;
    max-width: 9.5rem;
}

.ivh-router__antennas {
    display: flex;
    justify-content: space-around;
    padding-inline: 0.45rem;
    height: 1.15rem;
}

.ivh-router__antennas span {
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--ivh-turquoise), var(--ivh-navy-secondary));
    border-radius: 3px 3px 0 0;
}

.ivh-router__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.65rem;
    border-radius: 0.5rem;
    background-color: var(--ivh-navy-secondary);
    border: 1px solid rgba(64, 224, 208, 0.42);
    box-shadow: 0 10px 24px rgba(7, 27, 51, 0.9);
}

.ivh-router__leds {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.ivh-router__leds .ivh-led {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.ivh-router__leds .ivh-led--active {
    background-color: var(--ivh-turquoise);
    box-shadow: 0 0 6px var(--ivh-turquoise);
}

.ivh-router__leds .ivh-led--blue {
    background-color: var(--ivh-blue-tech);
}

.ivh-router__label {
    font-family: var(--ivh-font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--ivh-white);
    letter-spacing: 0.02em;
}

/* Smartphone */
.ivh-phone {
    position: absolute;
    bottom: 0.25rem;
    right: 3%;
    z-index: 3;
    width: 21%;
    max-width: 5.5rem;
    aspect-ratio: 9 / 16;
    border-radius: 0.65rem;
    background: linear-gradient(160deg, var(--ivh-navy-secondary) 0%, var(--ivh-navy-deep) 100%);
    border: 1.5px solid rgba(175, 193, 211, 0.38);
    box-shadow: 0 12px 24px rgba(7, 27, 51, 0.9);
    padding: 0.35rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ivh-phone__notch {
    position: absolute;
    top: 0.25rem;
    width: 36%;
    height: 3px;
    border-radius: 99px;
    background-color: rgba(175, 193, 211, 0.35);
}

.ivh-phone__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.15rem;
}

.ivh-phone__status {
    font-family: var(--ivh-font-heading);
    font-size: 0.58rem;
    font-weight: 700;
    color: var(--ivh-white);
}

.ivh-phone__sub {
    font-size: 0.5rem;
    color: var(--ivh-blue-gray);
    display: none;
}

/* Chips */
.ivh__chip {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    font-family: var(--ivh-font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ivh-dark-text);
    box-shadow: 0 8px 20px rgba(7, 27, 51, 0.45);
}

.ivh__chip--tv {
    top: 0.15rem;
    right: 4%;
    background-color: var(--ivh-aqua-pastel);
}

.ivh__chip--net {
    top: 12%;
    left: 2%;
    background-color: var(--ivh-gray-cold);
}

.ivh__chip-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--ivh-blue-tech);
}

/* Beneficios */
.ivh__benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
}

.ivh__benefits--desktop {
    display: none;
}

.ivh__benefits--mobile {
    display: flex;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(242, 244, 246, 0.12);
}

.ivh__benefit-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ivh-white);
}

.ivh__benefit-icon {
    color: var(--ivh-turquoise);
    flex-shrink: 0;
}

.ivh__disclaimer {
    margin: 0.9rem 0 0 0;
    font-size: 0.78rem;
    color: var(--ivh-blue-gray);
}

/* ==========================================================================
3. BREAKPOINT: MÓVIL COMPACTO EXTREMO (320px - 374px)
   ========================================================================== */
@media (max-width: 374px) {
    .ivh__container {
        padding-inline: 1.125rem;
    }

    .ivh__title {
        font-size: 2rem;
    }

    .ivh__description {
        font-size: 0.9375rem;
    }

    .ivh__showcase {
        min-height: 12rem;
    }

    .ivh__chip {
        display: none;
    }
}

/* ==========================================================================
4. BREAKPOINT: MÓVIL GRANDE / PHABLET (480px - 767px)
   ========================================================================== */
@media (min-width: 30rem) {
    .ivh__container {
        padding-inline: 1.5rem;
    }

    .ivh__title {
        font-size: clamp(2.25rem, 6vw, 2.75rem);
    }

    .ivh__actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .ivh__btn {
        flex: 1 1 auto;
    }

    .ivh__showcase {
        min-height: 16rem;
        max-height: 20rem;
    }

    .ivh-phone__sub {
        display: block;
    }
}

@media (max-width: 959px) and (orientation: landscape) and (max-height: 500px) {
    .ivh {
        padding-block: 1.75rem;
    }

    .ivh__showcase {
        max-height: 13.5rem;
    }
}

/* ==========================================================================
5. BREAKPOINT: TABLET VERTICAL (768px - 959px)
   ========================================================================== */
@media (min-width: 48rem) {
    .ivh {
        padding-block: 3.5rem 4rem;
    }

    .ivh__container {
        padding-inline: 2.25rem;
    }

    .ivh__title {
        font-size: clamp(2.625rem, 5vw, 3rem);
    }

    .ivh__description {
        font-size: 1.0625rem;
        max-width: 35rem;
    }

    .ivh__actions {
        flex-direction: row;
        justify-content: flex-start;
    }

    .ivh__btn {
        flex: 0 1 auto;
        padding-inline: 1.65rem;
    }

    .ivh__visual {
        max-width: 36rem;
        margin-inline: 0;
    }

    .ivh__showcase {
        min-height: 19rem;
        max-height: 23rem;
    }
}

/* ==========================================================================
6. BREAKPOINT: SPLIT HERO (960px+)
   ========================================================================== */
@media (min-width: 60rem) {
    .ivh {
        padding-block: 4.25rem 4.75rem;
    }

    .ivh__canvas {
        display: block;
        width: 100%;
        height: 100%;
    }

    .ivh__halo--right {
        width: 26rem;
        height: 26rem;
        right: 4%;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
    }

    .ivh__layout {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        align-items: center;
        gap: 2.25rem;
    }

    .ivh__content {
        max-width: 37.5rem;
    }

    .ivh__title {
        font-size: clamp(2.65rem, 3.8vw, 3.25rem);
    }

    .ivh__btn {
        min-height: 3.35rem;
    }

    .ivh__benefits--desktop {
        display: flex;
        margin-top: 1.85rem;
        padding-top: 1.25rem;
        border-top: 1px solid rgba(242, 244, 246, 0.14);
    }

    .ivh__benefits--mobile {
        display: none;
    }

    .ivh__visual {
        max-width: 100%;
        margin-inline: auto;
    }

    .ivh__showcase {
        min-height: 22rem;
        max-height: 26rem;
    }
}

/* ==========================================================================
7. BREAKPOINT: LAPTOP COMPACTA (1024px - 1279px)
   ========================================================================== */
@media (min-width: 64rem) {
    .ivh__container {
        max-width: 78rem;
        padding-inline: 2.5rem;
    }

    .ivh__layout {
        gap: 2.5rem;
    }
}

/* ==========================================================================
8. BREAKPOINT: LAPTOP Y ESCRITORIO ESTÁNDAR (1280px - 1599px)
   ========================================================================== */
@media (min-width: 80rem) {
    .ivh {
        padding-block: 4.75rem 5.25rem;
        min-height: 42rem;
        display: flex;
        align-items: center;
    }

    .ivh__container {
        max-width: 85rem;
        padding-inline: 3.25rem;
    }

    .ivh__layout {
        grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
        gap: 3.5rem;
    }

    .ivh__content {
        max-width: 38.75rem;
    }

    .ivh__eyebrow {
        font-size: 0.85rem;
        margin-bottom: 1.15rem;
    }

    .ivh__title {
        font-size: clamp(3.375rem, 4vw, 3.75rem);
        line-height: 1.06;
        margin-bottom: 1.35rem;
    }

    .ivh__description {
        font-size: 1.125rem;
        max-width: 34.5rem;
        margin-bottom: 1.85rem;
    }

    .ivh__showcase {
        min-height: 25rem;
        max-height: 28.5rem;
    }
}

/* ==========================================================================
9. BREAKPOINT: ESCRITORIO GRANDE Y ULTRAWIDE (1600px+)
   ========================================================================== */
@media (min-width: 100rem) {
    .ivh__container {
        max-width: 90rem;
        padding-inline: 3.5rem;
    }

    .ivh__layout {
        gap: 4rem;
    }

    .ivh__title {
        font-size: 3.875rem;
    }
}

/* ==========================================================================
10. ANIMACIONES Y ACCESIBILIDAD
   ========================================================================== */
@keyframes ivhFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ivh__content,
    .ivh__btn {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }

    .ivh__canvas {
        display: none !important;
    }
}