/* force update 23 */
/* Critical CSS - Above the fold con fallbacks cross-browser */
:root {
    --bg: #0B1220;
    --bg-secondary: #0A101B;
    --card: #101a2b;
    --card-elevated: #15202f;
    --text: #EAF2FF;
    --text-secondary: #C8D6E8;
    --muted: #9BB3CC;
    --brand: #1F6FFF;
    --accent: #19E1D6;
    --warning: #FF7A59;
    --success: #2ED47A;
    --error: #FF5F5F;

    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --container-max: 1200px;
    --font-family-headings: 'Space Grotesk', system-ui, sans-serif;
    --font-family-body: 'Inter', system-ui, sans-serif;
    --font-family-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Editorial spacing */
    --space-section: clamp(4rem, 8vh, 8rem);
    --space-content: clamp(2rem, 4vh, 4rem);
    --space-element: clamp(1rem, 2vh, 2rem);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.35);

    --glow-blue: 0 0 40px rgba(31, 111, 255, 0.15);
    --glow-cyan: 0 0 40px rgba(25, 225, 214, 0.2);

    --navbar-height: 55px;
    --letter-spacing-tight: -0.025em;
    --letter-spacing-wide: 0.05em;

    /* Safe area para dispositivos con notch */
    --safe-area-inset-top: env(safe-area-inset-top, 0px);
    --safe-area-inset-right: env(safe-area-inset-right, 0px);
    --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
    --safe-area-inset-left: env(safe-area-inset-left, 0px);
    --vh: 1vh;
}

/* Fallbacks para navegadores sin soporte de variables CSS */
html {
    background: #0B1220;
    /* Fallback */
    color: #EAF2FF;
    /* Fallback */
}

/* Reset mejorado para cross-browser */
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*::before,
*::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    /* Soporte para navegadores antiguos */
    font-size: 100%;
    line-height: 1.15;
}

/* Soporte para IE */
@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
    html {
        overflow-y: scroll;
    }
}

body {
    font-family: var(--font-family-body, 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    background: -webkit-linear-gradient(180deg, var(--bg, #0B1220) 0%, var(--bg-secondary, #0A101B) 100%);
    background: -moz-linear-gradient(180deg, var(--bg, #0B1220) 0%, var(--bg-secondary, #0A101B) 100%);
    background: -o-linear-gradient(180deg, var(--bg, #0B1220) 0%, var(--bg-secondary, #0A101B) 100%);
    background: linear-gradient(180deg, var(--bg, #0B1220) 0%, var(--bg-secondary, #0A101B) 100%);
    color: var(--text, #EAF2FF);
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    /* Soporte para dispositivos con notch */
    padding-left: var(--safe-area-inset-left);
    padding-right: var(--safe-area-inset-right);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 10%, rgba(31, 111, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 90%, rgba(25, 225, 214, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* Media queries específicas para accesibilidad y dispositivos */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
        -webkit-scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        -webkit-animation-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        -webkit-animation-iteration-count: 1 !important;
        animation-iteration-count: 1 !important;
        -webkit-transition-duration: 0.01ms !important;
        -moz-transition-duration: 0.01ms !important;
        -o-transition-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Media queries específicas para dispositivos Apple */
@media screen and (-webkit-min-device-pixel-ratio: 2) {
    body {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}

/* Dispositivos con notch (iPhone X y superiores) */
@media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) {
    .navbar {
        top: max(1rem, env(safe-area-inset-top, 1rem));
    }
}

/* iPhone 12/13/14 Pro Max */
@media only screen and (device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) {
    .container {
        padding-left: max(1.5rem, env(safe-area-inset-left, 1.5rem));
        padding-right: max(1.5rem, env(safe-area-inset-right, 1.5rem));
    }
}

/* iPad específico */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
    .hero__content {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Android específico */
@media screen and (-webkit-min-device-pixel-ratio: 1.5) and (max-width: 767px) {
    body {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
    }
}

/* Modo oscuro del sistema */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
    }
}

/* Alto contraste */
@media (prefers-contrast: high) {
    :root {
        --bg: #000000;
        --text: #ffffff;
        --muted: #cccccc;
        --card: #111111;
    }

    .btn {
        border: 2px solid currentColor;
    }
}

/* Modo de datos reducidos */
@media (prefers-reduced-data: reduce) {
    .hero__video {
        display: none;
    }

    .hero__video-bg::before {
        background: var(--bg, #0B1220);
    }
}

/* Soporte para Firefox */
@-moz-document url-prefix() {
    .hero__video {
        -moz-object-fit: cover;
        object-fit: cover;
    }

    .btn {
        -moz-appearance: none;
        appearance: none;
    }
}

/* Orientación landscape para móviles */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: calc(var(--navbar-height, 55px) + 0.5rem) 0 0.5rem;
    }

    .hero__content {
        min-height: calc(100vh - var(--navbar-height, 55px) - 1rem);
        padding: 1rem 0;
    }

    .hero__copy h1 {
        font-size: clamp(1.5rem, 4vw, 2rem);
        margin-bottom: 1rem;
    }

    .hero__copy p {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
        margin-bottom: 1.5rem;
    }
}

/* === MEDIA QUERIES ESPECÍFICAS PARA DISPOSITIVOS === */

/* iPhone 15 Pro / 14 Pro / 13 Pro / 12 Pro */
@media only screen and (device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3) {
    .hero__content {
        padding-top: 30vh;
    }

    .hero__copy h1 {
        font-size: clamp(1.8rem, 5.5vw, 2.2rem);
        line-height: 1.25;
    }

    .navbar {
        top: max(env(safe-area-inset-top, 1rem), 1rem);
        left: max(env(safe-area-inset-left, 0.5rem), 0.5rem);
        right: max(env(safe-area-inset-right, 0.5rem), 0.5rem);
    }
}

/* iPhone 15 Plus / 14 Plus */
@media only screen and (device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) {
    .hero__content {
        padding-top: 28vh;
    }

    .container {
        padding: 0 1.25rem;
    }

    .pain-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* iPhone SE 3rd gen / 8 / 7 / 6s */
@media only screen and (device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) {
    .hero__content {
        padding-top: 25vh;
    }

    .hero__copy h1 {
        font-size: clamp(1.6rem, 5vw, 1.9rem);
        margin-bottom: 1.25rem;
    }

    .hero__copy p {
        font-size: clamp(0.95rem, 3.2vw, 1.1rem);
        margin-bottom: 1.75rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Samsung Galaxy S21/S20/Note series */
@media only screen and (device-width: 360px) and (device-height: 800px) and (-webkit-device-pixel-ratio: 3) {
    .hero__content {
        padding-top: 25vh;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pain-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}

/* Google Pixel 6/7/8 */
@media only screen and (device-width: 412px) and (device-height: 915px) and (-webkit-device-pixel-ratio: 2.625) {
    .hero__content {
        padding-top: 26vh;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* iPad Air / iPad Pro 11" */
@media only screen and (device-width: 820px) and (device-height: 1180px) and (-webkit-device-pixel-ratio: 2) {
    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 15vh;
    }

    .hero__copy h1 {
        font-size: clamp(3rem, 5vw, 3.8rem);
    }

    .pain-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .solution-container {
        height: auto;
        min-height: 500px;
    }

    .solution-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0;
    }

    .solution-divider {
        display: none;
    }
}

/* iPad Pro 12.9" */
@media only screen and (device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) {
    .hero__content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        padding-top: 10vh;
    }

    .pain-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .solution-grid {
        grid-template-columns: 1fr 1px 1fr 1px 1fr;
    }

    .solution-divider {
        display: block;
    }
}

/* Dispositivos con notch específicos */
@supports (padding: max(0px)) {
    .navbar {
        top: max(1rem, env(safe-area-inset-top, 1rem));
        left: max(0.5rem, env(safe-area-inset-left, 0.5rem));
        right: max(0.5rem, env(safe-area-inset-right, 0.5rem));
    }

    .sticky-cta {
        padding-bottom: max(1rem, env(safe-area-inset-bottom, 1rem));
        padding-left: env(safe-area-inset-left, 0);
        padding-right: env(safe-area-inset-right, 0);
    }
}

/* Surface Pro y tablets Windows */
@media only screen and (min-device-width: 768px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 1.5) {
    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .solution-container {
        height: auto;
        min-height: 450px;
    }

    .solution-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Laptops pequeños y Chromebooks */
@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 1) {
    .container {
        max-width: 1100px;
    }

    .hero__content {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 3rem;
    }

    .pain-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

/* Monitores ultrawide */
@media only screen and (min-width: 1920px) {
    .container {
        max-width: 1400px;
        padding: 0 4rem;
    }

    .hero__content {
        grid-template-columns: 1.3fr 0.7fr;
        gap: 6rem;
    }

    .hero__copy {
        padding-left: 4rem;
    }

    .pain-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
}

/* === OPTIMIZACIONES CROSS-BROWSER === */

/* Edge específico */
@supports (-ms-ime-align: auto) {
    .hero__video {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .btn {
        -ms-touch-action: manipulation;
        touch-action: manipulation;
    }
}

/* Chrome en Android específico */
@media screen and (-webkit-min-device-pixel-ratio: 1.5) and (max-width: 767px) and (pointer: coarse) {

    body {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }

    input,
    textarea,
    .selectable-text,
    p,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        -webkit-user-select: text;
        user-select: text;
    }

    .btn {
        min-height: 48px;
        -webkit-appearance: none;
        border-radius: 8px;
    }

    .navbar__link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Samsung Internet específico */
@media screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 767px) {

    .hero__video {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .pain-card {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}

/* iOS Safari específico */
@supports (-webkit-appearance: -apple-pay-button) {
    .hero {
        min-height: -webkit-fill-available;
        min-height: calc(var(--vh, 1vh) * 100);
        min-height: 100vh;
    }

    .hero__video {
        -webkit-object-fit: cover;
        object-fit: cover;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .sticky-cta {
        bottom: env(safe-area-inset-bottom, 0);
    }
}

/* Firefox en móviles */
@-moz-document url-prefix() {
    @media (max-width: 768px) {
        .hero__video {
            -moz-object-fit: cover;
            object-fit: cover;
        }

        .btn {
            -moz-appearance: none;
            appearance: none;
        }

        input,
        textarea,
        select {
            -moz-appearance: none;
            appearance: none;
        }
    }
}

/* Fold y dispositivos flexibles */
@media (max-width: 280px) {
    .hero__copy h1 {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero__copy p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .pain-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .container {
        padding: 0 0.75rem;
    }
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* Sections - Editorial Style */
.section {
    padding: clamp(3rem, 5vh, 4.5rem) 0;
    position: relative;
    z-index: 1;
}

.section-animate {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.section--alt {
    background: #0B1220 !important;
    position: relative;
}

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

/* Responsive section spacing */
@media (max-width: 1024px) {
    .section {
        padding: clamp(2.5rem, 4.5vh, 3.5rem) 0;
    }
}

@media (max-width: 768px) {
    .section {
        padding: clamp(2rem, 3.5vh, 3rem) 0;
    }
}

@media (max-width: 480px) {
    .section {
        padding: clamp(1.5rem, 3vh, 2.5rem) 0;
    }
}

/* Typography Tech Premium */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-headings);
    color: var(--text);
    font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1, 'ss01' 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-optical-sizing: auto;
}

h1 {
    font-family: var(--font-family-headings);
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 200;
    line-height: 1.1;
    margin-bottom: var(--space-content);
    color: #FFFFFF;
    letter-spacing: -0.04em;
    text-align: left;
}

h2 {
    font-family: var(--font-family-headings);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 200;
    line-height: 1.15;
    margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
    text-align: left;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    position: relative;
}

h3 {
    font-family: var(--font-family-headings);
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.96);
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.85),
        0 1px 4px rgba(0, 0, 0, 0.75),
        0 1px 2px rgba(0, 0, 0, 0.9);
    font-optical-sizing: auto;
}

h4 {
    font-family: var(--font-family-headings);
    font-size: clamp(1.25rem, 2.4vw, 1.5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    line-height: 1.25;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.96);
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.85),
        0 1px 4px rgba(0, 0, 0, 0.75),
        0 1px 2px rgba(0, 0, 0, 0.9);
    font-optical-sizing: auto;
}

h5,
h6 {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-weight: 200;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.96);
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.85),
        0 1px 4px rgba(0, 0, 0, 0.75),
        0 1px 2px rgba(0, 0, 0, 0.9);
}

p {
    font-family: var(--font-family-body);
    color: var(--text-secondary);
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: var(--space-element);
    letter-spacing: -0.01em;
    text-rendering: optimizeLegibility;
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
}

/* Container and layout */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Optimización del container para Desktop */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
        padding: 0 2.5rem;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1300px;
        padding: 0 3rem;
    }
}

.section {
    padding: 4rem 0;
    position: relative;
}

.section--alt {
    background: rgba(26, 35, 50, 0.5);
}

.section__subtitle {
    font-size: clamp(1.125rem, 2.2vw, 1.25rem);
    color: var(--text-secondary);
    text-align: left;
    margin-bottom: clamp(2.5rem, 5vh, 4rem);
    max-width: 600px;
    margin-left: 0;
    margin-right: auto;
}

/* Section animations */
.section-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.lead-text {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: var(--text);
    line-height: 1.6;
    text-align: center;
    max-width: 50ch;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius);
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    line-height: 1.2;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
    box-shadow: none;
    text-align: center;
    width: 100%;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent) 0%, #16c7bd 100%);
    color: #000000;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(25, 225, 214, 0.3);
    border: 1px solid rgba(25, 225, 214, 0.5);
}

.btn--primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(25, 225, 214, 0.4);
    background: linear-gradient(135deg, #16c7bd 0%, var(--accent) 100%);
}

.btn--featured {
    background: linear-gradient(135deg, var(--accent) 0%, var(--brand) 100%);
    color: white;
    box-shadow: var(--shadow-lg), var(--glow-blue);
    transform: scale(1.05);
}

.btn--full {
    width: 100%;
}

/* Navigation optimizada cross-browser */
.navbar {
    position: fixed;
    top: max(1rem, env(safe-area-inset-top, 1rem));
    left: 8rem;
    right: 8rem;
    height: var(--navbar-height, 55px);
    background: rgba(11, 18, 32, 0.96);
    /* Fallback para navegadores sin soporte backdrop-filter */
    background: -webkit-linear-gradient(rgba(11, 18, 32, 0.96), rgba(11, 18, 32, 0.96));
    background: linear-gradient(rgba(11, 18, 32, 0.96), rgba(11, 18, 32, 0.96));
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-border-radius: var(--radius-lg, 16px);
    -moz-border-radius: var(--radius-lg, 16px);
    border-radius: var(--radius-lg, 16px);
    z-index: 1000;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    padding: 0;
    -webkit-box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    /* Soporte para navegadores antiguos */
    will-change: transform, opacity;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.navbar.scrolled {
    background: rgba(11, 18, 32, 0.98);
    box-shadow: var(--shadow-lg);
}

.navbar__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    transition: all 0.3s ease;
    padding: 0.25rem 1.5rem;
}

.navbar__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.navbar__logo {
    height: 40px;
    width: auto;
}

.navbar__title {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.02em;
}

.navbar__menu {
    font-family: var(--font-family-body);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar__link {
    font-family: var(--font-family-body);
    color: rgba(234, 242, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.75rem 0;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: -0.005em;
    white-space: nowrap;
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.navbar__link:hover,
.navbar__link.active {
    color: var(--text);
}

.navbar__link:hover::after,
.navbar__link.active::after {
    width: 100%;
}

.navbar__link--cta {
    background: var(--accent);
    color: #0B1220 !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.navbar__link--cta::after {
    display: none;
}

.navbar__link--cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(25, 225, 214, 0.4);
    background: #16c7bd;
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.navbar__toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
}

@media (max-width: 968px) {
    .navbar {
        top: 0.5rem;
        left: 0.5rem;
        right: 0.5rem;
        border-radius: var(--radius);
    }

    .navbar__content {
        padding: 0 1.5rem;
    }

    .navbar__menu {
        position: fixed;
        top: calc(var(--navbar-height) + 1rem);
        left: 0.5rem;
        right: 0.5rem;
        background: rgba(11, 18, 32, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 2rem;
        transform: translateY(-100vh);
        transition: transform 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: var(--radius);
    }

    .navbar__menu.open {
        transform: translateY(0);
    }

    .navbar__link {
        padding: 1.25rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        width: 100%;
        text-align: center;
        font-size: 1rem;
    }

    .navbar__link--cta {
        margin-top: 1rem;
        padding: 1rem 2rem;
        border-radius: 12px;
        border-bottom: none;
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .navbar__toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .navbar__toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Section Animations */
.section-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.section-animate.animate-from-left {
    transform: translateX(-40px);
}

.section-animate.animate-from-right {
    transform: translateX(40px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: calc(var(--navbar-height) + 1rem) 0 1rem;
    overflow: hidden;
}

.hero__video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    -webkit-object-fit: cover;
    -moz-object-fit: cover;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-object-position: center;
    -moz-object-position: center;
    -o-object-position: center;
    object-position: center;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1;

    /* Forzar visibilidad */
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    max-height: none;

    /* Sin transiciones ni animaciones */
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
    -webkit-animation: none !important;
    -moz-animation: none !important;
    -o-animation: none !important;
    animation: none !important;
    -webkit-filter: none !important;
    -moz-filter: none !important;
    -o-filter: none !important;
    filter: none !important;

    /* Renderizado inmediato cross-browser */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    will-change: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;

    /* Optimización de carga */
    background: var(--bg, #0B1220);
    -webkit-video-decodable: true;
    -webkit-playsinline: true;
    loading: eager;
    decoding: sync;

    /* Ocultar controles del video completamente */
    outline: none !important;
    border: none !important;

    /* Específico para navegadores */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Ocultar todos los controles del video */
.hero__video::-webkit-media-controls {
    display: none !important;
    -webkit-appearance: none !important;
}

.hero__video::-webkit-media-controls-panel {
    display: none !important;
    -webkit-appearance: none !important;
}

.hero__video::-webkit-media-controls-play-button {
    display: none !important;
    -webkit-appearance: none !important;
}

.hero__video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none !important;
}

.hero__video::-webkit-media-controls-timeline {
    display: none !important;
    -webkit-appearance: none !important;
}

.hero__video::-webkit-media-controls-current-time-display {
    display: none !important;
    -webkit-appearance: none !important;
}

.hero__video::-webkit-media-controls-time-remaining-display {
    display: none !important;
    -webkit-appearance: none !important;
}

.hero__video::-webkit-media-controls-mute-button {
    display: none !important;
    -webkit-appearance: none !important;
}

.hero__video::-webkit-media-controls-volume-slider {
    display: none !important;
    -webkit-appearance: none !important;
}

.hero__video::-webkit-media-controls-fullscreen-button {
    display: none !important;
    -webkit-appearance: none !important;
}

.hero__video::-webkit-media-controls-enclosure {
    display: none !important;
    -webkit-appearance: none !important;
}

/* Preloader para video */
.hero__video-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0B1220;
    z-index: -1;
}

/* Safari-specific video fixes */
@supports (-webkit-appearance: none) {
    .hero__video {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-perspective: 1000;
        perspective: 1000;
    }
}

/* Optimizaciones adicionales para Chrome y Firefox */
.hero__video {
    /* Forzar aceleración de hardware */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);

    /* Evitar retrasos en navegadores */
    display: block;
    outline: none;
    border: none;
    vertical-align: baseline;
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 80vh;
    position: relative;
    z-index: 1;
    gap: 4rem;
}

/* Optimización específica para Desktop */
@media (min-width: 1200px) {
    .hero__content {
        grid-template-columns: 1.2fr 0.8fr;
        min-height: 75vh;
        gap: 4rem;
        align-items: center;
        padding: 0 1rem;
    }
}

.hero__copy {
    text-align: left;
    max-width: none;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Estilos optimizados para Desktop (PC) */
@media (min-width: 1200px) {
    .hero__copy {
        padding-left: 3rem;
        padding-right: 4rem;
        max-width: 650px;
    }
}

.hero__copy h1 {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 200;
    color: #FFFFFF;
    letter-spacing: -0.04em;
    text-align: left;
    max-width: none;
    text-shadow:
        0 6px 20px rgba(0, 0, 0, 0.85),
        0 3px 10px rgba(0, 0, 0, 0.75),
        0 2px 5px rgba(0, 0, 0, 0.9);
    font-optical-sizing: auto;
    word-spacing: 0.02em;
}

/* Optimización del título para Desktop */
@media (min-width: 1200px) {
    .hero__copy h1 {
        font-size: clamp(3.5rem, 4.5vw, 4.8rem);
        line-height: 1.05;
        margin-bottom: 2rem;
        max-width: 600px;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
    }
}

.hero__copy p {
    font-size: clamp(1.125rem, 2.2vw, 1.3rem);
    line-height: 1.55;
    font-weight: 300;
    color: rgba(234, 242, 255, 0.88);
    letter-spacing: -0.01em;
    margin-bottom: 2.5rem;
    max-width: 480px;
    text-align: left;
    text-shadow:
        0 3px 12px rgba(0, 0, 0, 0.85),
        0 2px 6px rgba(0, 0, 0, 0.75),
        0 1px 3px rgba(0, 0, 0, 0.9);
}

/* Optimización del párrafo para Desktop */
@media (min-width: 1200px) {
    .hero__copy p {
        font-size: clamp(1.25rem, 1.8vw, 1.45rem);
        line-height: 1.6;
        margin-bottom: 3rem;
        max-width: 520px;
    }
}

.hero__copy .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    min-width: 140px;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Móviles grandes */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        height: 100vh;
        padding: calc(var(--navbar-height) + 0.5rem) 0 0.5rem;
    }

    .hero__content {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
        min-height: calc(100vh - var(--navbar-height) - 1rem);
        height: calc(100vh - var(--navbar-height) - 1rem);
        justify-content: flex-start;
        padding: 2rem 1rem 1rem;
        display: flex;
        align-items: flex-start;
        padding-top: 25vh;
    }

    .hero__copy {
        text-align: center;
        padding: 0 1rem;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        margin: 0 auto;
    }

    .hero__copy h1 {
        text-align: center;
        font-size: clamp(1.75rem, 5.5vw, 2.2rem);
        line-height: 1.3;
        margin-bottom: 1.5rem;
        max-width: 90%;
        word-break: normal;
        overflow-wrap: break-word;
        hyphens: auto;
        white-space: normal;
        color: #FFFFFF;
        font-weight: 200;
        text-shadow:
            0 6px 20px rgba(0, 0, 0, 0.85),
            0 3px 10px rgba(0, 0, 0, 0.75),
            0 2px 5px rgba(0, 0, 0, 0.9);
        margin-left: auto;
        margin-right: auto;
        letter-spacing: -0.02em;
        font-optical-sizing: auto;
    }

    .hero__copy p {
        max-width: 85%;
        font-size: clamp(1rem, 3.5vw, 1.15rem);
        margin-bottom: 2rem;
        text-align: center;
        line-height: 1.6;
        color: rgba(234, 242, 255, 0.9);
        text-shadow:
            0 3px 12px rgba(0, 0, 0, 0.85),
            0 2px 6px rgba(0, 0, 0, 0.75),
            0 1px 3px rgba(0, 0, 0, 0.9);
        font-weight: 300;
        letter-spacing: -0.01em;
        margin-left: auto;
        margin-right: auto;
    }

    .hero__copy .btn {
        align-self: center;
        margin-top: 1.5rem;
        padding: 1.25rem 2rem;
        font-size: 1rem;
        font-weight: 500;
        border-radius: 12px;
        min-width: 200px;
        text-align: center;
        max-width: 280px;
        width: 100%;
    }
}

/* Optimizaciones específicas para tablets */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        padding: 0 2.5rem;
        max-width: 900px;
    }

    /*Navbar tablet */
    .navbar {
        left: 1.5rem;
        right: 1.5rem;
        height: 65px;
    }

    .navbar__content {
        padding: 0 2rem;
    }

    .navbar__menu {
        gap: 2rem;
    }

    .navbar__link {
        font-size: 0.925rem;
        padding: 0.875rem 0;
    }

    .navbar__link--cta {
        padding: 0.875rem 1.75rem;
        font-size: 0.9rem;
    }

    /* Hero tablet optimizado */
    .hero {
        min-height: 90vh;
        padding: calc(65px + 1.5rem) 0 2rem;
    }

    .hero__content {
        grid-template-columns: 1fr;
        min-height: 75vh;
        gap: 3rem;
        padding: 3rem 0;
        text-align: center;
    }

    .hero__copy {
        text-align: center;
        padding: 0;
        max-width: 700px;
        margin: 0 auto;
    }

    .hero__copy h1 {
        font-size: clamp(2.8rem, 6vw, 4rem);
        line-height: 1.1;
        margin-bottom: 2.5rem;
        text-align: center;
    }

    .hero__copy p {
        font-size: clamp(1.25rem, 3vw, 1.5rem);
        margin-bottom: 3.5rem;
        max-width: 550px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .hero__copy .btn {
        padding: 1.375rem 2.75rem;
        font-size: 1.125rem;
        min-width: 240px;
    }

    /* Sections tablet mejoradas */
    .section {
        padding: clamp(3.5rem, 7vh, 6rem) 0;
    }

    h2 {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
        margin-bottom: 3rem;
        text-align: center;
    }

    .section__subtitle {
        font-size: 1.25rem;
        max-width: 750px;
        margin: 0 0 3rem 0;
        text-align: left;
        line-height: 1.65;
    }

    /* Pain grid tablet mejorado */
    .pain-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        max-width: 850px;
        margin: 0 auto;
    }

    .pain-card {
        height: 520px;
        border-radius: 20px;
    }

    .pain-card__content h4 {
        font-size: 1.375rem;
        margin-bottom: 1rem;
    }

    .pain-card__content p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Before after tablet mejorado */
    .before-after {
        max-width: 750px;
        gap: 2.5rem;
    }

    .before-after__card {
        padding: 3rem 2.5rem;
        border-radius: 20px;
    }

    .before-after__card h3 {
        font-size: 1.625rem;
        margin-bottom: 2rem;
    }

    /* Solution section tablet mejorado */
    .solution-container {
        height: 550px;
        margin: 3rem auto 0;
        border-radius: 28px;
        max-width: 900px;
    }

    .solution-grid {
        grid-template-columns: 1fr 1px 1fr 1px 1fr;
        gap: 0 1.5rem;
    }

    .solution-panel {
        padding: 1.5rem 1rem;
        height: 150px;
    }

    .solution-panel h3 {
        font-size: clamp(1.25rem, 2.8vw, 1.5rem);
        margin-bottom: 1rem;
    }

    .solution-panel p {
        font-size: clamp(1rem, 2vw, 1.125rem);
    }

    .solution-grid::after {
        height: 150px;
    }

    .solution-grid::before {
        height: 150px;
    }

    .solution-divider {
        height: 150px;
    }

    /* Comparison table tablet mejorado */
    .comparison-table {
        overflow-x: auto;
        font-size: 1rem;
        border-radius: 20px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.875rem;
        font-size: 0.95rem;
    }

    /* Plans grid tablet mejorado */
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
        max-width: 750px;
        margin: 0 auto;
    }

    .plan-card {
        padding: 3rem 2.25rem;
        border-radius: 20px;
    }

    .plan-card--featured {
        transform: scale(1.03);
    }

    .plan-card__price .price {
        font-size: 2.75rem;
    }

    /* Metrics grid tablet mejorado */
    .metrics-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
        max-width: 850px;
    }

    .metric-card {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }

    .metric-number {
        font-size: clamp(2.5rem, 4vw, 3.25rem);
    }

    .metric-label {
        font-size: 1.1875rem;
    }

    /* Testimonials tablet mejorado */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        max-width: 850px;
        margin: 0 auto;
    }

    .testimonial-card {
        border-radius: 20px;
    }

    .testimonial-card__content {
        padding: 2.5rem;
    }

    /* FAQ tablet mejorado */
    .faq-list {
        max-width: 750px;
    }

    .faq-item {
        border-radius: 16px;
        margin-bottom: 1.25rem;
    }

    .faq-question {
        padding: 1.5rem;
        font-size: 1.075rem;
    }

    .faq-answer {
        font-size: 1.025rem;
        line-height: 1.7;
    }

    /* Contact tablet mejorado */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 650px;
    }

    .contact-form,
    .contact-info {
        padding: 3rem;
        border-radius: 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem;
        font-size: 1.025rem;
        border-radius: 12px;
    }

    /* Footer tablet mejorado */
    .footer__content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer__brand {
        align-items: center;
    }

    .provinces-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.75rem 1.25rem;
        max-width: 700px;
        margin: 0 auto;
    }

    /* Sticky CTA tablet mejorado */
    .sticky-cta {
        padding: 1.25rem 0;
    }

    .sticky-cta .container {
        flex-direction: row;
        gap: 2rem;
        align-items: center;
    }

    .sticky-cta__content {
        flex: 1;
        text-align: left;
    }

    .sticky-cta__main-text {
        font-size: 1.075rem;
    }

    .sticky-cta .btn {
        width: auto;
        min-width: 220px;
        padding: 1.125rem 2.25rem;
    }

    /* Moving band tablet mejorado */
    .moving-band-image {
        width: 260px;
        height: 165px;
        border-radius: 12px;
    }

    .moving-band-track {
        animation-duration: 38s;
        gap: 1.25rem;
    }

    /* Results grid tablet mejorado */
    .results-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
        max-width: 850px;
        margin: 0 auto;
    }

    .result-card {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }

    .result-card__number {
        font-size: 2.75rem;
    }

    /* Authority logos tablet mejorado */
    .authority-logos {
        gap: 3rem;
        max-width: 700px;
        margin: 0 auto;
    }

    .authority-logo {
        min-width: 110px;
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }

    /* Guarantee card tablet mejorado */
    .guarantee-card {
        padding: 3rem;
        max-width: 650px;
        margin: 0 auto;
        border-radius: 24px;
    }

    .guarantee-card h2 {
        font-size: 2rem;
    }

    .guarantee-card p {
        font-size: 1.125rem;
        line-height: 1.65;
    }

    /* Ajustes específicos para iPad Pro y tablets grandes */
    @media (min-width: 1024px) {
        .container {
            max-width: 1000px;
        }

        .pain-grid {
            grid-template-columns: repeat(3, 1fr);
            max-width: 100%;
        }

        .metrics-grid {
            grid-template-columns: repeat(5, 1fr);
            max-width: 100%;
        }

        .testimonials-grid {
            grid-template-columns: repeat(2, 1fr);
            max-width: 100%;
        }

        .plans-grid {
            grid-template-columns: repeat(3, 1fr);
            max-width: 100%;
        }
    }
}

/* Ajustes específicos para tablets en orientación landscape */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }

    .hero__content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        text-align: left;
        min-height: 85vh;
    }

    .hero__copy {
        text-align: left;
        max-width: none;
    }

    .hero__copy h1 {
        text-align: left;
        font-size: clamp(2.5rem, 5vw, 3.25rem);
    }

    .hero__copy p {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
        max-width: 90%;
    }

    .pain-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .solution-grid {
        grid-template-columns: 1fr 1px 1fr 1px 1fr;
    }

    .metrics-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.5rem;
    }

    .plans-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

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

/* Ajustes para tablets en orientación portrait */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .pain-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .metrics-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 600px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 600px;
    }

    .solution-container {
        height: auto;
        min-height: 450px;
    }

    .solution-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 0;
    }

    .solution-divider {
        display: none;
    }

    .solution-column {
        padding: 0 1.5rem;
        align-items: center;
        height: auto;
        display: flex;
        justify-content: center;
    }

    .solution-panel {
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(20px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 2.5rem 2rem;
        height: auto;
        min-height: 150px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
    }
}

/* Ajustes para tablets en portrait */
@media (max-width: 768px) and (min-width: 481px) and (orientation: portrait) {
    .hero__copy {
        margin-left: 1.5rem;
        padding-right: 25%;
    }

    .hero__copy h1 {
        font-size: clamp(2rem, 5.5vw, 2.8rem);
        line-height: 1.2;
        margin-bottom: 1.75rem;
    }

    .hero__copy p {
        font-size: clamp(1.1rem, 3.2vw, 1.3rem);
        margin-bottom: 2.75rem;
    }

    .hero__copy .btn {
        padding: 1.5rem 2.25rem;
        font-size: 1.15rem;
        min-width: 220px;
    }

    .pain-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .solution-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 0;
    }

    .solution-divider {
        display: none;
    }

    .solution-column {
        padding: 0 1rem;
        align-items: center;
        height: auto;
    }

    .solution-panel {
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(15px);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        padding: 2rem 1.5rem;
    }
}

/* Ajustes para móviles más pequeños */
@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        padding: calc(var(--navbar-height) + 0.5rem) 0 0.5rem;
    }

    .hero__content {
        min-height: calc(100vh - var(--navbar-height) - 1rem);
        padding: 1rem 1rem 0.5rem;
        padding-top: 20vh;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .hero__copy {
        margin: 0 auto;
        padding: 0 1rem;
    }

    .hero__copy h1 {
        font-size: clamp(1.6rem, 6.5vw, 2rem);
        line-height: 1.3;
        margin-bottom: 1rem;
        word-break: keep-all;
        overflow-wrap: normal;
        hyphens: none;
    }

    .hero__copy p {
        font-size: clamp(0.95rem, 4vw, 1.1rem);
        margin-bottom: 1.5rem;
        line-height: 1.65;
    }

    .hero__copy .btn {
        padding: 1rem 1.75rem;
        font-size: 1rem;
        min-width: 180px;
    }
}

/* Results Gallery Section */
.results-gallery-section {
    background: #0B121F;
    padding: var(--space-section) 0;
    position: relative;
    z-index: 1;
}

.results-gallery-title {
    font-family: var(--font-family-headings);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 200;
    line-height: 1.15;
    margin-bottom: clamp(2.5rem, 5vh, 4rem);
    text-align: left;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    position: relative;
}



/* Moving Band Gallery */
.moving-band-container {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    padding: 2rem 0;
    margin: 0 -2rem;
}

.moving-band-row {
    display: flex;
    white-space: nowrap;
    margin-bottom: 1rem;
    overflow: hidden;
}

.moving-band-row:last-child {
    margin-bottom: 0;
}

.moving-band-track {
    display: flex;
    animation-duration: 40s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    gap: 1rem;
}

/* First row moves left to right */
.moving-band-row--left .moving-band-track {
    animation-name: moveLeft;
}

/* Second row moves right to left */
.moving-band-row--right .moving-band-track {
    animation-name: moveRight;
}

.moving-band-image {
    width: 280px;
    height: 180px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    cursor: pointer;
}

.moving-band-image:hover {
    transform: scale(1.05) translateZ(0);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Animation keyframes */
@keyframes moveLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes moveRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Pause animation on hover */
.moving-band-container:hover .moving-band-track {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .moving-band-image {
        width: 240px;
        height: 150px;
    }

    .moving-band-track {
        animation-duration: 35s;
    }
}

@media (max-width: 768px) {
    .moving-band-container {
        margin: 0 -1rem;
        padding: 1.5rem 0;
    }

    .moving-band-image {
        width: 200px;
        height: 130px;
    }

    .moving-band-track {
        animation-duration: 30s;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .moving-band-image {
        width: 160px;
        height: 100px;
    }

    .moving-band-track {
        animation-duration: 25s;
        gap: 0.5rem;
    }
}

/* Pain Grid */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

@media (max-width: 1199px) {
    .pain-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .pain-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.pain-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    height: 420px;
    display: flex;
    flex-direction: column;

    /* Bordes 3D con efecto biselado */
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        /* Sombra principal */
        0 8px 32px rgba(0, 0, 0, 0.3),
        /* Borde biselado superior-izquierdo (luz) */
        inset 1px 1px 0 rgba(255, 255, 255, 0.4),
        /* Borde biselado inferior-derecho (sombra) */
        inset -1px -1px 0 rgba(0, 0, 0, 0.3),
        /* Resplandor suave exterior */
        0 0 20px rgba(255, 255, 255, 0.15),
        /* Resplandor suave interior */
        inset 0 0 30px rgba(255, 255, 255, 0.08);
}

@media (max-width: 767px) {
    .pain-card {
        height: 460px;
    }

    .pain-card__content {
        height: 40%;
        padding: 1rem 1rem 1.5rem;
    }

    .pain-card__content h4 {
        font-size: clamp(1rem, 4vw, 1.2rem);
        margin-bottom: 0.75rem;
        font-weight: 700;
    }

    .pain-card__content p {
        font-size: clamp(0.8rem, 3.5vw, 0.9rem);
        line-height: 1.35;
    }
}

.pain-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        /* Sombra principal más intensa */
        0 12px 40px rgba(0, 0, 0, 0.4),
        /* Borde biselado superior-izquierdo más brillante */
        inset 1px 1px 0 rgba(255, 255, 255, 0.5),
        /* Borde biselado inferior-derecho */
        inset -1px -1px 0 rgba(0, 0, 0, 0.4),
        /* Resplandor exterior más intenso */
        0 0 30px rgba(255, 255, 255, 0.25),
        /* Resplandor interior */
        inset 0 0 40px rgba(255, 255, 255, 0.12);
}

.pain-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pain-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    border: none;
    box-shadow: none;
}

.pain-card:hover .pain-card__image img {
    transform: scale(1.02);
}

.pain-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 25%;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.75) 25%,
            rgba(0, 0, 0, 0.55) 50%,
            rgba(0, 0, 0, 0.35) 70%,
            rgba(0, 0, 0, 0.20) 85%,
            transparent 100%);
    backdrop-filter: blur(2px);
    pointer-events: none;
    z-index: 1;
}

.pain-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem 1.25rem;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 35%;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.85) 30%,
            rgba(0, 0, 0, 0.70) 60%,
            rgba(0, 0, 0, 0.45) 85%,
            transparent 100%);
}

.pain-card__content h4 {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.98);
    line-height: 1.25;
    letter-spacing: -0.025em;
    text-shadow:
        0 3px 12px rgba(0, 0, 0, 0.9),
        0 2px 6px rgba(0, 0, 0, 0.8),
        0 1px 3px rgba(0, 0, 0, 0.95);
    text-transform: none;
}

.pain-card__content p {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.4;
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    margin: 0;
    font-weight: 400;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.9),
        0 1px 4px rgba(0, 0, 0, 0.8),
        0 1px 2px rgba(0, 0, 0, 0.95);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
}

/* Before After */
.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .before-after {
        grid-template-columns: 1fr;
    }
}

.before-after__card {
    background: var(--card);
    padding: 3.5rem 3rem;
    border-radius: var(--radius-lg);
    border: 2px solid;
}

.before-after__card--before {
    border-color: var(--error);
}

.before-after__card--after {
    border-color: var(--accent);
    box-shadow: var(--glow-cyan);
}

.before-after__card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.before-after__card--before h3 i {
    color: var(--error);
}

.before-after__card--after h3 i {
    color: var(--accent);
}

.before-after__card ul {
    list-style: none;
}

.before-after__card li {
    padding: 0.5rem 0;
    color: var(--muted);
}

/* Solution Section */
.solution-container {
    position: relative;
    max-width: 1000px;
    height: 500px;
    margin: clamp(2rem, 4vh, 3rem) auto 0;
    border-radius: 22px;
    overflow: hidden;
    background-image: url('attached_assets/Advantiai.png');
    background-size: cover;
    background-position: center;

    /* Bordes 3D con efecto biselado */
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        /* Sombra principal */
        0 8px 32px rgba(0, 0, 0, 0.4),
        /* Borde biselado superior-izquierdo (luz) */
        inset 1px 1px 0 rgba(255, 255, 255, 0.4),
        /* Borde biselado inferior-derecho (sombra) */
        inset -1px -1px 0 rgba(0, 0, 0, 0.3),
        /* Resplandor suave exterior */
        0 0 20px rgba(255, 255, 255, 0.15),
        /* Resplandor suave interior */
        inset 0 0 30px rgba(255, 255, 255, 0.08);
}

.solution-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.15) 50%,
            rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
    z-index: 1;
}

.solution-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
    height: 100%;
    align-items: end;
    z-index: 2;
    gap: 0;
}

.solution-grid::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.75rem;
    right: 0.75rem;
    height: 130px;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.85) 25%,
            rgba(0, 0, 0, 0.65) 50%,
            rgba(0, 0, 0, 0.40) 75%,
            transparent 100%);
    backdrop-filter: blur(20px) saturate(1.2);
    border-radius: 20px 20px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: none;
    pointer-events: none;
    z-index: 1;
}

.solution-grid::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.75rem;
    right: 0.75rem;
    height: 130px;
    background:
        linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.25) 8%, rgba(255, 255, 255, 0.25) 92%, transparent 100%) 0 0 / 100% 1px no-repeat,
        linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.25) 8%, rgba(255, 255, 255, 0.25) 92%, transparent 100%) 0 129px / 100% 1px no-repeat;
    pointer-events: none;
    z-index: 3;
}

.solution-divider {
    background: rgba(255, 255, 255, 0.25);
    width: 1px;
    height: 130px;
    align-self: end;
    margin: 0;
    z-index: 2;
}

.solution-column {
    position: relative;
    display: flex;
    align-items: end;
    height: 100%;
    padding: 0 0.5rem;
    z-index: 4;
}

.solution-panel {
    text-align: center;
    width: 100%;
    padding: 1.5rem 1rem;
    position: relative;
    height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
    gap: 1rem;
}

.solution-panel h3 {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: clamp(1.25rem, 2.4vw, 1.5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.98);
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.85),
        0 1px 4px rgba(0, 0, 0, 0.75),
        0 1px 2px rgba(0, 0, 0, 0.9);
    font-optical-sizing: auto;
    word-wrap: normal;
    overflow-wrap: normal;
    hyphens: none;
    max-width: 100%;
    text-align: center;
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 50px;
}

.solution-panel p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: -1.5rem 0 0 0;
    font-weight: 400;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.85),
        0 1px 4px rgba(0, 0, 0, 0.75),
        0 1px 2px rgba(0, 0, 0, 0.9);
    word-wrap: normal;
    overflow-wrap: normal;
    hyphens: none;
    word-break: keep-all;
    max-width: 100%;
    text-align: center;
    padding: 0 0.5rem;
    display: block;
    height: auto;
    min-height: 50px;
    letter-spacing: -0.005em;
}

/* Asegurar que imágenes dentro de las secciones no tengan efectos 3D */
.pain-card img,
.solution-panel img,
.moving-band-image {
    border: none !important;
    box-shadow: none !important;
}

@media (max-width: 1023px) {
    .solution-container {
        height: auto;
        min-height: 450px;
        margin: 2.5rem auto 0;
        padding: 2rem 0;
    }

    .solution-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 2rem;
        padding: 1rem 0;
        align-items: stretch;
    }

    .solution-grid::after,
    .solution-grid::before {
        display: none;
    }

    .solution-divider {
        display: none;
    }

    .solution-column {
        padding: 0 1.5rem;
        align-items: center;
        height: auto;
        display: flex;
        justify-content: center;
    }

    .solution-panel {
        width: 100%;
        max-width: 400px;
        padding: 2rem 1.5rem;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(20px);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        height: auto;
        min-height: 120px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
    }

    .solution-panel h3 {
        margin-bottom: 0.5rem;
        height: auto;
        min-height: auto;
        padding: 0;
        text-align: center;
        font-size: 1.25rem;
    }

    .solution-panel p {
        margin: 0;
        height: auto;
        min-height: auto;
        padding: 0;
        text-align: center;
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 767px) {
    .solution-container {
        height: auto;
        min-height: 400px;
        margin: 2rem auto 0;
        border-radius: 16px;
        padding: 1.5rem 0;
    }

    .solution-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 1.5rem;
        padding: 0.5rem 0;
    }

    .solution-grid::after,
    .solution-grid::before {
        display: none;
    }

    .solution-divider {
        display: none;
    }

    .solution-column {
        padding: 0 1rem;
        align-items: center;
        height: auto;
    }

    .solution-panel {
        width: 100%;
        max-width: 350px;
        padding: 1.5rem 1.25rem;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(20px);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        height: auto;
        min-height: 100px;
    }

    .solution-panel h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }

    .solution-panel p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .solution-container {
        margin: 1.5rem auto 0;
        padding: 1rem 0;
    }

    .solution-grid {
        gap: 1.25rem;
        padding: 0.25rem 0;
    }

    .solution-column {
        padding: 0 0.75rem;
    }

    .solution-panel {
        max-width: 320px;
        padding: 1.25rem 1rem;
    }

    .solution-panel h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .solution-panel p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.result-card {
    background: var(--card);
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-card__number {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
    font-feature-settings: 'tnum' 1, 'lnum' 1;
    letter-spacing: -0.04em;
}

.results-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--muted);
    font-style: italic;
}

/* Comparison Table */
.comparison-table {
    overflow-x: auto;
    margin-bottom: 2rem;
    /* Añadir bordes 3D al contenedor de la tabla */
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-lg);
    box-shadow:
        /* Sombra principal */
        0 8px 32px rgba(0, 0, 0, 0.3),
        /* Borde biselado superior-izquierdo (luz) */
        inset 1px 1px 0 rgba(255, 255, 255, 0.4),
        /* Borde biselado inferior-derecho (sombra) */
        inset -1px -1px 0 rgba(0, 0, 0, 0.3),
        /* Resplandor suave exterior */
        0 0 20px rgba(255, 255, 255, 0.15),
        /* Resplandor suave interior */
        inset 0 0 30px rgba(255, 255, 255, 0.08);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    /* Remover bordes duplicados de la tabla */
    border: none;
    box-shadow: none;
}

.comparison-table th,
.comparison-table td {
    font-family: var(--font-family-body);
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-feature-settings: 'tnum' 1, 'lnum' 1;
}

.comparison-table th {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.005em;
}

.comparison-table td:nth-child(2) {
    color: var(--error);
    font-weight: 600;
}

.comparison-table td:nth-child(3) {
    color: var(--accent);
    font-weight: 600;
}

.total-row {
    background: rgba(255, 255, 255, 0.05);
}

.comparison-note {
    text-align: center;
    font-weight: 600;
    color: var(--accent);
    font-size: 1.125rem;
}

/* Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    align-items: start;
    margin-top: 2.5rem;
}

/* Ajuste específico para móviles - mayor separación entre bloques de planes */
@media (max-width: 768px) {
    .plans-grid {
        gap: 6rem;
        grid-template-columns: 1fr;
    }

    .plan-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .plans-grid {
        gap: 7rem;
        grid-template-columns: 1fr;
    }

    .plan-card {
        margin-bottom: 2.5rem;
    }
}

.plan-card {
    background: linear-gradient(135deg, rgba(16, 26, 43, 0.95) 0%, rgba(21, 32, 47, 0.9) 100%);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand);
}

.plan-card--featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg), var(--glow-cyan);
    transform: scale(1.05);
}

.plan-card__badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent) 0%, var(--brand) 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-card__header {
    text-align: center;
    margin-bottom: 2rem;
}

.pack-subtitle {
    font-family: var(--font-family-body);
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 1rem 0;
    font-weight: 400;
}

.pack-ideal {
    font-family: var(--font-family-body);
    color: var(--text);
    font-size: 0.875rem;
    text-align: center;
    font-style: italic;
    margin: 1.5rem 0;
    padding: 0.75rem;
    background: rgba(25, 225, 214, 0.1);
    border-radius: var(--radius);
    border-left: 3px solid var(--accent);
}

.plan-card__price {
    margin-top: 1rem;
}

.plan-card__price .price {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    font-feature-settings: 'tnum' 1, 'lnum' 1;
    letter-spacing: -0.035em;
}

.plan-card__price .period {
    font-family: var(--font-family-body);
    color: var(--muted);
    font-size: 1rem;
    font-weight: 500;
}

.plan-card__features {
    font-family: var(--font-family-body);
    list-style: none;
    margin-bottom: 2rem;
}

.plan-card__features li {
    font-family: var(--font-family-body);
    padding: 0.75rem 0;
    color: var(--muted);
    position: relative;
    padding-left: 1.5rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.005em;
}

.plan-card__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.plan-card__features .bonus-feature {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 140, 0, 0.1) 100%);
    border-radius: var(--radius);
    padding: 0.75rem 1rem 0.75rem 1.5rem;
    margin-top: 1rem;
    border-left: 3px solid #FFD700;
    font-weight: 500;
    color: var(--text);
}

.plan-card__features .bonus-feature::before {
    display: none;
}

/* Botones específicos en plan cards para todos los dispositivos */
.plan-card .btn {
    width: 100%;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    box-shadow: none;
    white-space: normal;
    line-height: 1.3;
    padding: 1rem 0.75rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
}

/* Tablets */
@media (max-width: 1024px) {
    .plan-card .btn {
        padding: 0.875rem 0.75rem;
        font-size: 0.95rem;
        line-height: 1.25;
        min-height: 46px;
    }
}

/* Móviles grandes */
@media (max-width: 768px) {
    .plan-card .btn {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
        line-height: 1.3;
        min-height: 44px;
        border-radius: 8px;
    }
}

/* Móviles pequeños y iPhone */
@media (max-width: 480px) {
    .plan-card .btn {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
        line-height: 1.35;
        min-height: 44px;
        border-radius: 8px;
        word-spacing: normal;
        letter-spacing: -0.01em;
    }
}

/* Ajustes específicos para iPhone y dispositivos Apple */
@media (max-width: 414px) {
    .plan-card .btn {
        padding: 0.75rem 0.25rem;
        font-size: 0.8rem;
        line-height: 1.4;
        min-height: 44px;
        overflow-wrap: anywhere;
    }
}

/* iPhone SE y dispositivos muy pequeños */
@media (max-width: 375px) {
    .plan-card .btn {
        padding: 0.7rem 0.25rem;
        font-size: 0.75rem;
        line-height: 1.45;
        min-height: 42px;
    }
}

/* Guarantee Card */
.guarantee-card {
    background: var(--card);
    background-image: url('attached_assets/enfoque_1759095643584.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;

    /* Bordes 3D con efecto biselado */
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        /* Sombra principal */
        0 8px 32px rgba(0, 0, 0, 0.3),
        /* Borde biselado superior-izquierdo (luz) */
        inset 1px 1px 0 rgba(255, 255, 255, 0.4),
        /* Borde biselado inferior-derecho (sombra) */
        inset -1px -1px 0 rgba(0, 0, 0, 0.3),
        /* Resplandor suave exterior */
        0 0 20px rgba(255, 255, 255, 0.15),
        /* Resplandor suave interior */
        inset 0 0 30px rgba(255, 255, 255, 0.08);
}

.guarantee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(11, 18, 32, 0.4) 0%,
            rgba(16, 26, 43, 0.35) 50%,
            rgba(11, 18, 32, 0.4) 100%);
    z-index: 1;
    border-radius: var(--radius-lg);
}

.guarantee-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(31, 111, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(25, 225, 214, 0.03) 0%, transparent 50%);
    pointer-events: none;
    border-radius: var(--radius-lg);
    z-index: 2;
}

.guarantee-card__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 3;
}

.guarantee-card__icon {
    color: var(--accent);
    flex-shrink: 0;
}

.guarantee-card h2 {
    color: var(--accent);
    margin-bottom: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
    position: relative;
    z-index: 3;
}

.guarantee-card p {
    color: rgba(234, 242, 255, 0.95);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 0;
    position: relative;
    z-index: 3;
}

@media (max-width: 768px) {
    .guarantee-card {
        padding: 2rem 1.5rem;
    }

    .guarantee-card__header {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .guarantee-card__icon {
        width: 24px;
        height: 24px;
    }
}

/* Métricas en Tiempo Real */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin: 0 auto 3rem auto;
    max-width: 1000px;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .metrics-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        max-width: 900px;
    }
}

@media (max-width: 1024px) {
    .metrics-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0 0.75rem;
    }
}

.metric-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 2rem 1.25rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;

    /* Bordes 3D con efecto biselado */
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        /* Sombra principal */
        0 8px 32px rgba(0, 0, 0, 0.3),
        /* Borde biselado superior-izquierdo (luz) */
        inset 1px 1px 0 rgba(255, 255, 255, 0.4),
        /* Borde biselado inferior-derecho (sombra) */
        inset -1px -1px 0 rgba(0, 0, 0, 0.3),
        /* Resplandor suave exterior */
        0 0 20px rgba(255, 255, 255, 0.15),
        /* Resplandor suave interior */
        inset 0 0 30px rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
    .metric-card {
        padding: 1.5rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .metric-card {
        padding: 1.25rem 0.75rem;
    }
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(25, 225, 214, 0.1) 30%,
            rgba(31, 111, 255, 0.1) 70%,
            transparent 100%);
    transition: left 2s ease;
    z-index: 1;
}

.metric-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        /* Sombra principal más intensa */
        0 12px 40px rgba(0, 0, 0, 0.4),
        /* Borde biselado superior-izquierdo más brillante */
        inset 1px 1px 0 rgba(255, 255, 255, 0.5),
        /* Borde biselado inferior-derecho */
        inset -1px -1px 0 rgba(0, 0, 0, 0.4),
        /* Resplandor exterior más intenso */
        0 0 30px rgba(255, 255, 255, 0.25),
        /* Resplandor interior */
        inset 0 0 40px rgba(255, 255, 255, 0.12);
}

.metric-card:hover::before {
    left: 100%;
}

.metric-icon {
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem auto;
}

.metric-icon svg {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.metric-card:hover .metric-icon svg {
    transform: scale(1.1);
}

.metric-icon--followers svg {
    animation: followers-glow 3s ease-in-out infinite;
}

.metric-icon--visits svg {
    animation: visits-glow 3s ease-in-out infinite 0.5s;
}

.metric-icon--google svg {
    animation: google-glow 3s ease-in-out infinite 0.5s;
}

.metric-icon--maps svg {
    animation: maps-glow 3s ease-in-out infinite 1s;
}

.metric-icon--time svg {
    animation: time-glow 3s ease-in-out infinite 2s;
}

@keyframes followers-glow {

    0%,
    100% {
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    }

    50% {
        filter: drop-shadow(0 4px 16px rgba(252, 176, 69, 0.4)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    }
}

@keyframes visits-glow {

    0%,
    100% {
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    }

    50% {
        filter: drop-shadow(0 4px 16px rgba(31, 111, 255, 0.4)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    }
}

@keyframes google-glow {

    0%,
    100% {
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    }

    50% {
        filter: drop-shadow(0 4px 16px rgba(66, 133, 244, 0.4)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    }
}

@keyframes maps-glow {

    0%,
    100% {
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    }

    50% {
        filter: drop-shadow(0 4px 16px rgba(52, 169, 83, 0.4)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    }
}

@keyframes time-glow {

    0%,
    100% {
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    }

    50% {
        filter: drop-shadow(0 4px 16px rgba(25, 225, 214, 0.4)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    }
}

.metric-number {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    font-feature-settings: 'tnum' 1, 'lnum' 1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--accent) 0%, var(--brand) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-family: var(--font-family-body);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 2;
}

.metric-period {
    font-family: var(--font-family-body);
    font-size: 0.875rem;
    color: var(--muted);
    position: relative;
    z-index: 2;
}

/* Authority Section */
.authority-section {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.authority-text {
    font-family: var(--font-family-body);
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 2rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.authority-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .authority-logos {
        gap: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        max-width: 600px;
    }

    .testimonial-card__content {
        padding: 1.5rem 1.25rem;
    }
}

.authority-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    min-width: 120px;
}

.authority-logo:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.authority-logo i {
    font-size: 1.5rem;
    color: var(--accent);
}

.authority-logo span {
    font-family: var(--font-family-body);
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
}

/* Testimonials - Optimizado para PC con fotos bien centradas */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Desktop optimizado - PC */
@media (min-width: 1200px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
        max-width: 1100px;
    }

    .testimonial-card {
        max-width: 350px;
        margin: 0 auto;
    }

    .testimonial-card img {
        height: 220px;
        object-fit: cover;
        object-position: center top;
    }

    .testimonial-card__content {
        padding: 1.5rem 1.25rem;
        min-height: auto;
    }

    .testimonial-card__content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .testimonial-card__content cite {
        font-size: 0.85rem;
    }
}

/* Tablets grandes */
@media (max-width: 1199px) and (min-width: 769px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        max-width: 950px;
    }

    .testimonial-card img {
        height: 180px;
        object-fit: cover;
        object-position: center top;
    }
}

/* Móviles grandes */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        max-width: 100%;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        max-width: 100%;
    }
}

.testimonial-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;

    /* Bordes 3D con efecto biselado */
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        /* Sombra principal */
        0 8px 32px rgba(0, 0, 0, 0.3),
        /* Borde biselado superior-izquierdo (luz) */
        inset 1px 1px 0 rgba(255, 255, 255, 0.4),
        /* Borde biselado inferior-derecho (sombra) */
        inset -1px -1px 0 rgba(0, 0, 0, 0.3),
        /* Resplandor suave exterior */
        0 0 20px rgba(255, 255, 255, 0.15),
        /* Resplandor suave interior */
        inset 0 0 30px rgba(255, 255, 255, 0.08);
}

.testimonial-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        /* Sombra principal más intensa */
        0 12px 40px rgba(0, 0, 0, 0.4),
        /* Borde biselado superior-izquierdo más brillante */
        inset 1px 1px 0 rgba(255, 255, 255, 0.5),
        /* Borde biselado inferior-derecho */
        inset -1px -1px 0 rgba(0, 0, 0, 0.4),
        /* Resplandor exterior más intenso */
        0 0 30px rgba(255, 255, 255, 0.25),
        /* Resplandor interior */
        inset 0 0 40px rgba(255, 255, 255, 0.12);
}

.testimonial-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
    transition: all 0.3s ease;
    height: clamp(120px, 25vw, 200px);
    flex-shrink: 0;
    filter: brightness(1.05) contrast(1.1) saturate(1.1);
}

.testimonial-card:hover img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.15) saturate(1.15);
}

.testimonial-card__content {
    padding: clamp(0.75rem, 2vw, 1.5rem) clamp(0.5rem, 1.5vw, 1.25rem);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(16, 26, 43, 0.95) 0%, rgba(21, 32, 47, 0.9) 100%);
}

.testimonial-card__content p {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text);
    font-size: clamp(0.7rem, 1.8vw, 0.95rem);
    line-height: 1.5;
    flex: 1;
    font-weight: 300;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.testimonial-card__content cite {
    color: var(--accent);
    font-weight: 600;
    font-size: clamp(0.65rem, 1.5vw, 0.85rem);
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Trust Section */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.trust-card {
    background: var(--card);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;

    /* Bordes 3D con efecto biselado */
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        /* Sombra principal */
        0 8px 32px rgba(0, 0, 0, 0.3),
        /* Borde biselado superior-izquierdo (luz) */
        inset 1px 1px 0 rgba(255, 255, 255, 0.4),
        /* Borde biselado inferior-derecho (sombra) */
        inset -1px -1px 0 rgba(0, 0, 0, 0.3),
        /* Resplandor suave exterior */
        0 0 20px rgba(255, 255, 255, 0.15),
        /* Resplandor suave interior */
        inset 0 0 30px rgba(255, 255, 255, 0.08);
}

.trust-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        /* Sombra principal más intensa */
        0 12px 40px rgba(0, 0, 0, 0.4),
        /* Borde biselado superior-izquierdo más brillante */
        inset 1px 1px 0 rgba(255, 255, 255, 0.5),
        /* Borde biselado inferior-derecho */
        inset -1px -1px 0 rgba(0, 0, 0, 0.4),
        /* Resplandor exterior más intenso */
        0 0 30px rgba(255, 255, 255, 0.25),
        /* Resplandor interior */
        inset 0 0 40px rgba(255, 255, 255, 0.12);
}

.trust-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    background: rgba(25, 225, 214, 0.1);
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.trust-icon svg {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.trust-card:hover .trust-icon svg {
    transform: scale(1.1);
}

.trust-card h3 {
    font-family: var(--font-family-headings);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.trust-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .trust-card {
        padding: 2rem 1.5rem;
    }

    .trust-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 1rem;
    }

    .trust-card h3 {
        font-size: 1.125rem;
    }

    .trust-card p {
        font-size: 0.9rem;
    }
}

/* Ajustes específicos para móviles muy pequeños */
@media (max-width: 375px) {
    .testimonials-grid {
        gap: 0.25rem;
    }

    .testimonial-card img {
        height: 100px;
    }

    .testimonial-card__content {
        padding: 0.5rem 0.375rem;
    }

    .testimonial-card__content p {
        font-size: 0.65rem;
        line-height: 1.35;
    }

    .testimonial-card__content cite {
        font-size: 0.6rem;
    }
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;

    /* Bordes 3D con efecto biselado */
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        /* Sombra principal */
        0 8px 32px rgba(0, 0, 0, 0.3),
        /* Borde biselado superior-izquierdo (luz) */
        inset 1px 1px 0 rgba(255, 255, 255, 0.4),
        /* Borde biselado inferior-derecho (sombra) */
        inset -1px -1px 0 rgba(0, 0, 0, 0.3),
        /* Resplandor suave exterior */
        0 0 20px rgba(255, 255, 255, 0.15),
        /* Resplandor suave interior */
        inset 0 0 30px rgba(255, 255, 255, 0.08);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    color: var(--muted);
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-answer.open {
    max-height: 300px;
    padding: 0 1.5rem 1.5rem;
    opacity: 1;
}

/* Contact Form */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.contact-form {
    background: var(--card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);

    /* Bordes 3D con efecto biselado */
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        /* Sombra principal */
        0 8px 32px rgba(0, 0, 0, 0.3),
        /* Borde biselado superior-izquierdo (luz) */
        inset 1px 1px 0 rgba(255, 255, 255, 0.4),
        /* Borde biselado inferior-derecho (sombra) */
        inset -1px -1px 0 rgba(0, 0, 0, 0.3),
        /* Resplandor suave exterior */
        0 0 20px rgba(255, 255, 255, 0.15),
        /* Resplandor suave interior */
        inset 0 0 30px rgba(255, 255, 255, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-family: var(--font-family-body);
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.005em;
    font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-family-body);
    width: 100%;
    padding: 0.875rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(25, 225, 214, 0.1);
}

.form-group--checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-group--checkbox input {
    width: auto;
    margin-top: 0.25rem;
}

.form-group--checkbox label {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.contact-info {
    background: var(--card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    height: fit-content;

    /* Bordes 3D con efecto biselado */
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        /* Sombra principal */
        0 8px 32px rgba(0, 0, 0, 0.3),
        /* Borde biselado superior-izquierdo (luz) */
        inset 1px 1px 0 rgba(255, 255, 255, 0.4),
        /* Borde biselado inferior-derecho (sombra) */
        inset -1px -1px 0 rgba(0, 0, 0, 0.3),
        /* Resplandor suave exterior */
        0 0 20px rgba(255, 255, 255, 0.15),
        /* Resplandor suave interior */
        inset 0 0 30px rgba(255, 255, 255, 0.08);
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-info p i {
    color: var(--accent);
    width: 20px;
    text-align: center;
}

.contact-info a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.contact-info .fa-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: instagram-glow 3s ease-in-out infinite;
}

@keyframes instagram-glow {

    0%,
    100% {
        filter: drop-shadow(0 0 0px rgba(240, 148, 51, 0));
    }

    50% {
        filter: drop-shadow(0 0 8px rgba(240, 148, 51, 0.6));
    }
}

.contact-info a[href*="instagram"]:hover {
    color: #e6683c;
}

.success-message {
    background: rgba(26, 35, 50, 0.8);
    color: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 2rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: 1px solid rgba(25, 225, 214, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.success-message i.fa-check-circle {
    font-size: 3rem;
    color: var(--success);
}

.success-message h3 {
    font-family: 'Space Grotesk', system-ui, sans-serif;
}

.success-message p {
    line-height: 1.6;
    color: #A0AEC0;
}

.success-message a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4);
}

/* Footer */
.footer {
    background: var(--card);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: clamp(2rem, 4vh, 3rem) 0 clamp(1rem, 2vh, 2rem);
    margin-top: clamp(2rem, 4vh, 3rem);
}

.footer__seo-content {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__seo-content h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer__seo-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer__cities {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer__cities strong {
    color: var(--text);
    display: block;
    margin-bottom: 0.5rem;
}

.footer__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

@media (max-width: 768px) {
    .footer__content {
        text-align: center;
    }
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer__brand>div:first-child {
    position: absolute;
    left: 0;
    top: 320px;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.footer__logo {
    height: 56px;
}

.footer__provinces {
    margin-top: 1rem;
    max-width: 800px;
}

.footer__provinces p {
    font-family: var(--font-family-body);
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 1rem 0;
    text-align: left;
}

.provinces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem 1rem;
    max-width: 800px;
}

@media (max-width: 768px) {
    .provinces-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .provinces-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.3rem 0.6rem;
    }
}

.provinces-grid span {
    font-family: var(--font-family-body);
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 400;
    padding: 0.25rem 0;
    text-align: left;
    transition: color 0.3s ease;
    cursor: default;
}

.provinces-grid span:hover {
    color: var(--accent);
}

.footer__bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer__bottom p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer__bottom a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.footer__bottom a:hover {
    color: var(--text-secondary);
    text-decoration: underline;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
    z-index: 100;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(20px);
}

.sticky-cta.show {
    transform: translateY(0);
}

.sticky-cta .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.sticky-cta__content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sticky-cta__main-text {
    font-family: var(--font-family-body);
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.sticky-cta__live-counter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-family-body);
    font-size: 0.825rem;
    color: var(--muted);
    font-weight: 400;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #00ff41;
    border-radius: 50%;
    animation: pulse-live 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(0, 255, 65, 0.4);
}

@keyframes pulse-live {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.counter-number {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    color: var(--accent);
    font-weight: 600;
    font-feature-settings: 'tnum' 1, 'lnum' 1;
    letter-spacing: -0.02em;
}

.counter-update {
    animation: highlight-update 0.3s ease-out;
}

@keyframes highlight-update {
    0% {
        color: var(--accent);
        transform: scale(1.1);
    }

    100% {
        color: var(--accent);
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .sticky-cta .container {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }

    .sticky-cta__content {
        text-align: center;
        align-items: center;
    }

    .sticky-cta__main-text {
        font-size: 0.95rem;
    }

    .sticky-cta__live-counter {
        font-size: 0.8rem;
        justify-content: center;
    }

    .sticky-cta .btn {
        width: auto;
        min-width: auto;
        background: linear-gradient(135deg, #14a599 0%, #16b8af 100%);
        font-weight: 500;
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        border-radius: 6px;
        text-transform: none;
        letter-spacing: -0.01em;
    }
}



/* Accessibility */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 2rem 0;
    }

    .section {
        padding: 3rem 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .pain-grid,
    .solution-grid,
    .results-grid,
    .plans-grid,
    .testimonials-grid {
        gap: 1.5rem;
    }
}

/* Focus styles */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Optimizaciones específicas por navegador */

/* Chrome/Webkit específico */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .btn {
        -webkit-appearance: none;
        -webkit-transform: translateZ(0);
    }

    input,
    textarea,
    select {
        -webkit-appearance: none;
        -webkit-border-radius: var(--radius, 12px);
    }
}

/* Firefox específico */
@-moz-document url-prefix() {
    .hero__video {
        -moz-object-fit: cover;
    }

    .btn {
        -moz-appearance: none;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        -moz-appearance: none;
    }
}

/* Edge específico */
@supports (-ms-ime-align: auto) {
    .hero__content {
        display: -ms-grid;
        -ms-grid-columns: 1fr 1fr;
    }
}

/* Safari específico */
@supports (-webkit-appearance: none) and (not (contain: paint)) {
    .hero__video {
        -webkit-transform: translate3d(0, 0, 0);
        -webkit-backface-visibility: hidden;
        -webkit-perspective: 1000;
    }

    .navbar {
        -webkit-backdrop-filter: blur(25px);
        backdrop-filter: blur(25px);
    }
}

/* Internet Explorer fallbacks */
@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
    .hero__content {
        display: table;
        width: 100%;
    }

    .hero__copy {
        display: table-cell;
        vertical-align: middle;
    }

    .btn {
        filter: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --bg: #000000;
        --text: #ffffff;
        --muted: #cccccc;
        --card: #111111;
    }

    .btn {
        border: 2px solid currentColor !important;
        font-weight: 700;
    }

    .navbar {
        background: #000000 !important;
        border: 2px solid #ffffff !important;
    }
}

/* Soporte para pantallas de tinta electrónica */
@media (monochrome) {
    * {
        background: white !important;
        color: black !important;
    }

    .hero__video {
        display: none !important;
    }
}

/* Modo de impresión optimizado */
@media print {
    * {
        background: white !important;
        color: black !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }

    .navbar,
    .sticky-cta,
    .hero__video {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    h1,
    h2,
    h3 {
        page-break-after: avoid;
    }
}

/* === OPTIMIZACIONES DE RENDIMIENTO === */

/* Aceleración de hardware para elementos animados */
.pain-card,
.testimonial-card,
.metric-card,
.btn,
.hero__video,
.navbar {
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Optimización de scroll */
body,
html {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        -webkit-animation-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        -webkit-animation-iteration-count: 1 !important;
        animation-iteration-count: 1 !important;
        -webkit-transition-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Optimización de fonts */
@font-face {
    font-family: 'Space Grotesk';
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    font-display: swap;
}

/* === COMPATIBILIDAD CROSS-BROWSER AVANZADA === */

/* Webkit específico (Safari, Chrome, Edge Chromium) */
@supports (-webkit-appearance: none) {
    .hero__video {
        -webkit-object-fit: cover;
        object-fit: cover;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .navbar {
        -webkit-backdrop-filter: blur(25px);
        backdrop-filter: blur(25px);
    }

    .pain-card__overlay {
        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
    }

    input,
    textarea,
    select {
        -webkit-appearance: none;
        appearance: none;
        -webkit-border-radius: var(--radius, 12px);
        border-radius: var(--radius, 12px);
    }

    .btn {
        -webkit-appearance: none;
        appearance: none;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Gecko específico (Firefox) */
@-moz-document url-prefix() {
    .hero__video {
        -moz-object-fit: cover;
        object-fit: cover;
    }

    .navbar {
        background: rgba(11, 18, 32, 0.98);
    }

    input,
    textarea,
    select {
        -moz-appearance: none;
        appearance: none;
    }

    .btn {
        -moz-appearance: none;
        appearance: none;
    }

    .pain-card__overlay {
        background: linear-gradient(to top,
                rgba(0, 0, 0, 0.95) 0%,
                rgba(0, 0, 0, 0.85) 30%,
                rgba(0, 0, 0, 0.65) 50%,
                rgba(0, 0, 0, 0.45) 70%,
                rgba(0, 0, 0, 0.25) 85%,
                transparent 100%);
    }
}

/* Edge Legacy */
@supports (-ms-ime-align: auto) {
    .hero__content {
        display: -ms-grid;
        -ms-grid-columns: 1fr 1fr;
    }

    .hero__video {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .navbar {
        background: rgba(11, 18, 32, 0.98);
    }
}

/* Internet Explorer fallbacks */
@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
    .hero__content {
        display: table;
        width: 100%;
        height: 80vh;
    }

    .hero__copy {
        display: table-cell;
        vertical-align: middle;
    }

    .pain-grid {
        display: block;
    }

    .pain-card {
        display: block;
        width: 100%;
        margin-bottom: 2rem;
    }

    .btn {
        filter: none;
        border: 2px solid #19E1D6;
    }
}

/* === DISPOSITIVOS DE ALTO DPI === */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .hero__video {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .pain-card img,
    .testimonial-card img {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* === MODO OSCURO DEL SISTEMA === */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
        --bg: #0B1220;
        --text: #EAF2FF;
        --card: #101a2b;
    }
}

/* === MODO DE ALTO CONTRASTE === */
@media (prefers-contrast: high) {
    :root {
        --bg: #000000;
        --text: #ffffff;
        --muted: #cccccc;
        --card: #111111;
        --accent: #00ffff;
        --brand: #ffffff;
    }

    .btn {
        border: 3px solid currentColor !important;
        font-weight: 700 !important;
    }

    .navbar {
        background: #000000 !important;
        border: 2px solid #ffffff !important;
    }

    .pain-card,
    .testimonial-card,
    .metric-card {
        border: 2px solid #ffffff !important;
    }
}

/* === CONEXIÓN LENTA === */
@media (prefers-reduced-data: reduce) {
    .hero__video {
        display: none !important;
    }

    .hero__video-bg::before {
        background: var(--bg, #0B1220);
        content: '';
        position: absolute;
        inset: 0;
    }

    .moving-band-image {
        background: var(--card, #101a2b);
    }

    .testimonial-card img,
    .pain-card img {
        background: var(--card, #101a2b);
    }
}

/* Security CSS Protection */
* {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection for specific elements */
input,
textarea,
.selectable-text,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Prevent image dragging */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* Re-enable pointer events for functional images */
.navbar img,
button img,
a img {
    pointer-events: auto;
}

/* Hide from print */
@media print {
    * {
        display: none !important;
    }

    body::before {
        content: "© AdvantiAI España - Contenido protegido por derechos de autor";
        display: block !important;
        text-align: center;
        font-size: 24px;
        color: #000;
        margin: 50px;
    }
}

/* Anti-selection overlay for critical content */
.protected-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

/* Disable outline on security elements */
.security-protected {
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

/* AnyChat Integration Styles */
#anychat-container {
    z-index: 999999 !important;
}

#anychat-launcher-frame {
    z-index: 99999998 !important;
}

#anychat-chatbox-container {
    z-index: 99999997 !important;
    font-family: var(--font-family-body) !important;
}

/* Custom styling for chat to match landing theme */
#anychat-chatbox-container iframe {
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-lg) !important;
}

/* Ensure chat doesn't interfere with navbar */
@media (max-width: 768px) {
    #anychat-chatbox-container {
        bottom: 10px !important;
        right: 10px !important;
        left: 10px !important;
    }
}



/* Sections from dolor to contacto with #0B1220 background */
#dolor,
#necesidad,
#solucion,
#comparativa,
#planes,
#metricas,
#garantia,
#resultados-visuales,
#casos,
#faq,
#contacto {
    background: #0B1220 !important;
}

/* force update 25 – elimină line-clamp pentru textul cardului */
.pain-card__content p {
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    display: block !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
    max-height: none !important;
}

.solution-column:nth-child(3) .solution-panel h3 {
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    text-align: center !important;
    line-height: 1.3 !important;
    margin-top: 0.75rem !important;
    /* coboară titlul */
    margin-bottom: 0.25rem !important;
    padding-top: 0 !important;
}
/* force update 26 – aliniere titlu card 3 */
.solution-grid .solution-column:nth-child(3) .solution-panel h3 {
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
  text-align: center !important;
  line-height: 1.25 !important;
  margin: 0.35rem 0 0.15rem !important; /* împinge titlul puțin în jos */
  padding-top: 0 !important;
}

/* spațiere mică sub titlu, ca textul să nu “urce” peste el */
.solution-grid .solution-column:nth-child(3) .solution-panel p {
  margin-top: 0.25rem !important;
}
body .solution-grid .solution-column:nth-child(3) .solution-panel h3 {
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    text-align: center !important;
    line-height: 1.25 !important;
    margin: 0.35rem 0 0.15rem !important;
    padding-top: 0 !important;
}