﻿@charset "UTF-8";

/* styles.css - 2026 Premium Edition */
:root {
    /* Paleta basada en logo: Maintained strictly */
    --primary: #60A8D8;
    --primary-hover: #4A90BF;
    --secondary: #2B79B7;
    --text-main: #0B1B2B;
    --text-sec: #50667A;
    --bg-soft: #F9FCFF;
    --border-color: rgba(96, 168, 216, 0.15);
    --white: #FFFFFF;

    /* 2026 Premium Additions */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px rgba(11, 27, 43, 0.05);
    --glow-primary: 0 0 24px rgba(96, 168, 216, 0.4);
    --glow-secondary: 0 0 40px rgba(43, 121, 183, 0.2);

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing & Layout */
    --header-height: 140px;
    /* Reduced for more screen space */
    --border-radius: 20px;
    --border-radius-sm: 12px;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Elite 2026 Helper Classes */
.logo-img {
    height: 160px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-drawer {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.icon-primary {
    color: var(--primary);
}

.modern-h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    text-shadow: 0 4px 12px rgba(96, 168, 216, 0.25);
    text-align: center;
}

.modern-p {
    font-size: 1.15rem;
    color: var(--text-sec);
    max-width: 750px;
    margin: 0 auto;
    text-shadow: 0 2px 5px rgba(11, 27, 43, 0.08);
    line-height: 1.6;
    text-align: center;
}

.services-subtitle {
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 10;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Added custom scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-soft);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 10px;
}

.page-transition-wrapper {
    /* Page Transition - Initial State (Blurred but fully opaque to block white flash) */
    opacity: 1;
    filter: blur(20px) brightness(0.9);
    transition: filter 0.5s ease, brightness 0.5s ease;
}

body.page-loaded .page-transition-wrapper {
    filter: blur(0) brightness(1);
}

body.page-exit .page-transition-wrapper {
    filter: blur(20px) brightness(0.8);
    transition: filter 0.4s ease, brightness 0.4s ease;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

p {
    color: var(--text-sec);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: clamp(2rem, 3vw, 2.75rem);
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-center {
    text-align: center;
}

.bg-soft {
    background-color: var(--bg-soft);
}

/* Buttons - Elite 2026 Edition */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: 100px;
    /* Estilo píldora más moderno */
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    z-index: 1;
}

.btn-large {
    padding: 18px 48px;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(96, 168, 216, 0.3), inset 0 2px 2px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(96, 168, 216, 0.45), inset 0 2px 5px rgba(255, 255, 255, 0.3);
}

/* Glass Outline Button - Futuristic Look */
.btn-outline {
    background: rgba(255, 255, 255, 0.08);
    /* Sútil fondo para mejor legibilidad */
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 1);
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: var(--white);
}

/* Efecto Destello (Sheen) Global */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.6s ease;
}

.btn:hover::after {
    left: 100%;
}

/* Enhanced Ripple Animation using box-shadow to avoid overflow clipping */
.btn-pulse {
    position: relative;
    animation: btn-glow-pulse 3s infinite ease-in-out;
}

.btn-pulse::before,
.btn-pulse::after {
    display: none;
    /* Deactivated since we use box-shadow for 'more waves' */
}

.btn-pulse {
    animation: btn-waves-glow 3s infinite ease-in-out;
}

@keyframes btn-waves-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(96, 168, 216, 0.5), 0 0 0 0 rgba(96, 168, 216, 0.3), 0 0 0 0 rgba(43, 121, 183, 0.2);
    }

    100% {
        box-shadow: 0 0 0 18px rgba(96, 168, 216, 0), 0 0 0 35px rgba(96, 168, 216, 0), 0 0 0 55px rgba(43, 121, 183, 0);
    }
}

@keyframes btn-ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.6, 2.5);
        opacity: 0;
    }
}

@keyframes btn-glow-pulse {

    0%,
    100% {
        box-shadow: 0 10px 20px rgba(96, 168, 216, 0.4), 0 0 10px rgba(96, 168, 216, 0.2);
    }

    50% {
        box-shadow: 0 15px 40px rgba(96, 168, 216, 0.7), 0 0 30px rgba(96, 168, 216, 0.4);
        transform: scale(1.05);
    }
}

/* --- Premium Liquid Waves (Interior de Botón) --- */
.btn-premium-waves {
    position: relative;
    overflow: hidden;
    color: var(--white);
    transition: all 0.4s ease;
}

/* Fast Shimmer Gleam (Flash) */
.btn-premium-waves::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 50%;
    /* Narrower for blue button */
    height: 200%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: rotate(25deg);
    animation: cinematic-gleam 5s infinite ease-in-out;
    /* Slightly faster frequency */
    z-index: 15;
    pointer-events: none;
}

.btn-premium-waves .btn-text {
    position: relative;
    z-index: 10;
}

.btn-premium-waves .btn-ripple-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 350%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 38% 42% 43% 45% / 40% 45% 42% 43%;
    transform: translate(-50%, 0) rotate(0deg);
    pointer-events: none;
    z-index: 4;
}

.btn-premium-waves .btn-ripple-layer:nth-of-type(1) {
    background: rgba(255, 255, 255, 0.2);
    animation: liquid-wave 4s infinite linear;
    bottom: -150%;
}

.btn-premium-waves .btn-ripple-layer:nth-of-type(2) {
    background: rgba(255, 255, 255, 0.12);
    animation: liquid-wave 7s infinite linear reverse;
    bottom: -160%;
    opacity: 0.6;
}

.btn-premium-waves .btn-ripple-layer:nth-of-type(3) {
    background: rgba(255, 255, 255, 0.08);
    animation: liquid-wave 10s infinite linear;
    bottom: -170%;
    opacity: 0.4;
}

.btn-premium-waves:hover .btn-ripple-layer {
    bottom: -80%;
    transition: bottom 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes liquid-wave {
    0% {
        transform: translate(-50%, 0) rotate(0deg);
    }

    100% {
        transform: translate(-50%, 0) rotate(360deg);
    }
}

/* --- Cinematic Glass Buttons (Background Video Effect) --- */
.btn-cinematic {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    /* Very thin base */
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cinematic .btn-text {
    position: relative;
    z-index: 10;
    transition: all 0.4s ease;
}

.btn-cinematic .btn-wave-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 350%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 38% 42% 43% 45% / 40% 45% 42% 43%;
    transform: translate(-50%, 0) rotate(0deg);
    pointer-events: none;
    z-index: 1;
}

.btn-cinematic .btn-wave-layer:nth-of-type(1) {
    background: rgba(255, 255, 255, 0.15);
    animation: liquid-wave 5s infinite linear;
    bottom: -150%;
}

.btn-cinematic .btn-wave-layer:nth-of-type(2) {
    background: rgba(96, 168, 216, 0.08);
    /* Hint of Brand Blue */
    animation: liquid-wave 8s infinite linear reverse;
    bottom: -160%;
    opacity: 0.6;
}

.btn-cinematic .btn-wave-layer:nth-of-type(3) {
    background: rgba(255, 255, 255, 0.05);
    animation: liquid-wave 12s infinite linear;
    bottom: -170%;
    opacity: 0.4;
}

.btn-cinematic:hover .btn-wave-layer {
    bottom: -80%;
    transition: bottom 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cinematic:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.btn-cinematic:hover .btn-text {
    letter-spacing: 0.18em;
    /* Dynamic interaction */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Shimmer gleam that passes over the button intermittently */
.btn-cinematic::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 100%;
    height: 200%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(25deg);
    animation: cinematic-gleam 6s infinite ease-in-out;
    z-index: 5;
    pointer-events: none;
}

@keyframes cinematic-drift {
    0% {
        transform: translate(0, 0) scale(1.2);
    }

    50% {
        transform: translate(50px, -20px) scale(1.8);
    }

    100% {
        transform: translate(-30px, 30px) scale(1.1);
    }
}

@keyframes cinematic-gleam {
    0% {
        left: -150%;
    }

    20%,
    100% {
        left: 250%;
    }
}

/* Header Glassmorphism */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: transparent;
    z-index: 1000;
    transition: var(--transition);
}

#main-header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

#main-header.header-transparent:not(.scrolled) .nav-menu a {
    color: var(--white);
    text-shadow: 0 2px 10px rgba(11, 27, 43, 0.2);
}

#main-header.header-transparent:not(.scrolled) .logo img {
    /* Eliminado el filtro invert para que se vean los colores reales (azul/texto) */
    filter: drop-shadow(0 4px 6px rgba(11, 27, 43, 0.3));
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 120px;
    width: auto;
    transition: var(--transition);
}

#main-header.scrolled .logo img {
    height: 85px;
}

.logo:hover img {
    transform: scale(1.05);
}

/* Nav Menu */
.nav-menu ul {
    display: flex;
    gap: 36px;
}

.nav-menu a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
    box-shadow: 0 0 10px var(--primary);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 4px;
    transition: var(--transition);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--glass-bg);
    backdrop-filter: blur(25px) saturate(180%);
    border-left: 1px solid var(--glass-border);
    z-index: 1100;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: right 0.6s cubic-bezier(0.82, 0.085, 0.395, 0.895);
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    padding: 30px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.logo-small {
    height: 35px;
    filter: drop-shadow(0 4px 6px rgba(11, 27, 43, 0.1));
    image-rendering: -webkit-optimize-contrast;
}

.close-drawer {
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--text-main);
    cursor: pointer;
    line-height: 1;
}

.drawer-nav {
    padding: 30px 24px;
    flex-grow: 1;
}

.drawer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.drawer-nav a {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-main);
}

.drawer-footer {
    padding: 30px 24px;
    border-top: 1px solid var(--border-color);
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(11, 27, 43, 0.4);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section Mesh Gradient 2026 */
.hero {
    position: relative;
    padding-top: var(--header-height);
    padding-bottom: 40px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* Mantener centrado pero con el offset del texto */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 27, 43, 0.5) 0%, rgba(11, 27, 43, 0.2) 100%), url('hero-4k-bg.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25px;
    /* Mínimo difuminado para una transición imperceptible */
    background: linear-gradient(to top, var(--white) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

/* Animated animated background shapes */
.hero-bg::before,
.hero-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: drift 20s infinite alternate ease-in-out;
}

.hero-bg::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -10%;
    right: -5%;
}

.hero-bg::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    bottom: -10%;
    left: -10%;
    animation-delay: -10s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-100px, 50px) scale(1.1);
    }
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 60vh;
}

.hero-text {
    max-width: 850px;
    margin: 0 auto;
    transform: translateY(-30px);
    /* Desplazar hacia arriba sutilmente */
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-text h1 {
    font-size: clamp(3rem, 7vw, 4.8rem);
    /* Slightly more compact font */
    margin-bottom: 0.5rem;
    font-weight: 800;
    line-height: 1.05;
    color: var(--white);
    text-shadow: 0 10px 30px rgba(11, 27, 43, 0.3);
}

.hero-text p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    /* Slightly more compact font */
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    min-width: 220px;
}

/* Cards & Elements Glass 2026 */
.apnea-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.apnea-text {
    max-width: 800px;
    margin-bottom: 4rem;
}

.apnea-text h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 1rem;
}

.apnea-text p {
    font-size: 1.25rem;
}

.apnea-symptoms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    width: 100%;
}

/* Card Foundation Styles */
.symptom-card,
.service-card,
.product-card,
.contact-method,
.contact-form-container,
.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.symptom-card {
    padding: 30px;
    box-shadow: var(--glass-shadow);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Bento Grid Accents removed for better organization */

@media (max-width: 992px) {
    .apnea-symptoms {
        grid-template-columns: repeat(2, 1fr);
    }

    .symptom-card:nth-child(n) {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .apnea-symptoms {
        grid-template-columns: 1fr;
    }
}

.symptom-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1.5rem;
}

.symptom-card h3 {
    font-size: 1.25rem;
}

/* Metallic Sheen dynamically applied by JS */
.sheen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.6;
    z-index: 2;
    mix-blend-mode: overlay;
    border-radius: var(--border-radius);
}

.services-grid,
.products-grid {
    display: grid;
    gap: 30px;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.products-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.service-card {
    padding: 40px 30px;
    box-shadow: var(--glass-shadow);
}

.service-card .icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--bg-soft) 0%, var(--white) 100%);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.7), 0 8px 16px rgba(96, 168, 216, 0.15);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-card p {
    margin-bottom: 24px;
    min-height: 80px;
    font-size: 1.05rem;
}

/* Spline/3D Buttons Concept embedded in product filters */
.product-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    color: var(--text-sec);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.product-card {
    display: flex;
    flex-direction: column;
}

.product-img {
    height: 220px;
    background: linear-gradient(180deg, var(--glass-bg) 0%, var(--bg-soft) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.product-img svg {
    transition: var(--transition);
}

.product-card:hover .product-img svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px var(--primary));
}

.product-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.category-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-soft);
    border: 1px solid var(--border-color);
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 16px;
    align-self: flex-start;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.product-info p {
    font-size: 1rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-card.hide {
    display: none;
}

/* Diferencial Section 2026 Layout */
.split-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    align-items: center;
}

.split-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.split-text .lead {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.check-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    margin-top: 4px;
    box-shadow: 0 4px 10px rgba(96, 168, 216, 0.3);
}

.check-icon svg {
    width: 16px;
    height: 16px;
}

.feature-content strong {
    display: block;
    color: var(--text-main);
    margin-bottom: 6px;
    font-size: 1.25rem;
}

.split-image {
    position: relative;
    border-radius: 30px;
    height: 100%;
    min-height: 500px;
    background: url('senor-durmiendo.png') center/cover no-repeat;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(11, 27, 43, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Decorations removed as requested to show the image clearly */
.split-image::after,
.split-image::before {
    display: none;
}

/* FAQ */
.faq-container {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 28px;
    background: none;
    border: none;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    position: relative;
    width: 28px;
    height: 28px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

.faq-icon::before {
    top: 13px;
    left: 4px;
    width: 20px;
    height: 2px;
}

.faq-icon::after {
    top: 4px;
    left: 13px;
    width: 2px;
    height: 20px;
}

.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.faq-answer-inner {
    padding: 0 28px 28px 28px;
    margin-top: -5px;
    font-size: 1.1rem;
}

.faq-item.active .faq-answer {
    max-height: 600px;
}

/* Contacto */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-cards {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    padding: 24px;
}

.contact-method .icon {
    width: 60px;
    height: 60px;
    color: var(--primary);
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
}

.contact-method svg {
    width: 24px;
    height: 24px;
}

.contact-method div strong {
    font-size: 1.15rem;
    color: var(--text-main);
}

.contact-method div p {
    font-size: 1rem;
    margin-top: 6px;
    margin-bottom: 0;
}

.contact-form-container {
    padding: 50px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1.05rem;
    transition: var(--transition);
    background-color: var(--white);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(96, 168, 216, 0.2);
    background-color: var(--white);
}

/* Footer Premium 2026 Redesign */
.footer {
    background-color: #12161b;
    /* Professional Deep Gray */
    color: var(--white);
    padding: 120px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(96, 168, 216, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.footer-brand p {
    color: #ffffff;
    /* pure white as per request */
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 400px;
    margin: 0;
}

.footer-logo-img {
    height: 140px;
    width: auto;
    object-fit: contain;
    margin-bottom: 30px;
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
    transition: var(--transition);
    display: block;
}

.footer-logo-img:hover {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(96, 168, 216, 0.4));
}

.footer h4 {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer a,
.footer li {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--primary);
    transform: translateX(8px);
    display: inline-block;
}

.footer-contact li a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact li a:hover {
    color: #ffffff;
}

/* Neon Glow Icons 2026 */
.footer-icon-neon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transition: var(--transition);
    filter: drop-shadow(0 0 5px currentColor);
}

.footer-contact li a:hover .footer-icon-neon {
    transform: scale(1.2);
    filter: drop-shadow(0 0 12px currentColor);
}

/* Specific Neon Colors */
.icon-neon-email {
    color: #00d2ff;
}

.icon-neon-insta {
    color: #ff007a;
}

.icon-neon-wa {
    color: #00ff88;
}

.icon-neon-map {
    color: #ff3c00;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(11, 27, 43, 0.7);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--glass-bg);
    padding: 50px;
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 550px;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    margin: 20px;
    border: 1px solid var(--border-color);
}

.modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.close-modal {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-sec);
    line-height: 1;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--text-main);
    transform: rotate(90deg);
}

.modal-content h2 {
    margin-bottom: 12px;
    font-size: 2rem;
}

.modal-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Floating WhatsApp Premium */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25d366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 99999 !important;
    /* Por encima de todo */
    transition: var(--transition);
    opacity: 1 !important;
    /* Siempre visible */
    visibility: visible !important;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: ripple 2s infinite ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.stagger {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }

    .hero-text h1 {
        font-size: clamp(2.8rem, 6vw, 4rem);
    }
}

@media (max-width: 992px) {

    .split-layout,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 3.2rem;
    }

    .section {
        padding: 80px 0;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .hero-bg::before {
        width: 400px;
        height: 400px;
    }

    .hero-bg::after {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    #desktop-nav,
    .header-actions .btn {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .symptom-card {
        width: 100%;
        /* Forzar 100% para evitar roturas por el gap */
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .contact-form-container {
        padding: 30px 20px;
    }

    .split-image {
        min-height: 300px;
        border-radius: 20px;
    }

    .logo-img {
        height: 75px;
        /* Reducir logo en móviles */
    }

    #main-header.scrolled .logo-img {
        height: 65px;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 40px);
        padding-bottom: 60px;
    }

    /* Modales responsivos */
    .modal-content {
        width: 95%;
        margin: 10px auto;
        padding: 30px 20px;
        max-height: 90vh;
        /* Prevenir que se salga de pantalla */
        overflow-y: auto;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }

    form input,
    form textarea {
        font-size: 16px !important;
        /* Evitar zoom en iOS */
        padding: 14px 15px;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2.4rem;
    }

    .hero-text p {
        font-size: 1.05rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-logo-img {
        margin: 0 auto 20px;
    }

    .footer-contact li a {
        justify-content: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .contact-info h3 {
        font-size: 1.8rem;
        text-align: center;
    }

    .contact-method {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-method .icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .product-filters {
        flex-direction: column;
        width: 100%;
    }

    .filter-btn {
        width: 100%;
        text-align: center;
    }

    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .thank-you-card {
        padding: 40px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal,
    .stagger {
        opacity: 1;
        transform: none;
    }
}

\n

/* Doctors Section 2026 Premium */
.doctors-section {
    position: relative;
    overflow: hidden;
}

.doctors-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* --- Doctors Section Modern Refined --- */
.doctors-section {
    padding: 120px 0;
    background: linear-gradient(to bottom, var(--white), var(--bg-soft));
}

.doctors-subtitle {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 5rem;
    font-size: 1.1rem;
    color: var(--text-sec);
    opacity: 0.9;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.doctor-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 1;
}

.doctor-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    filter: blur(15px);
}

.doctor-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(96, 168, 216, 0.1);
}

.doctor-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 35px;
    border-radius: 30px;
    /* Modern Squircle */
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.4s ease;
    position: relative;
}

.doctor-avatar svg {
    width: 55px;
    height: 55px;
    transition: transform 0.4s ease;
}

.doctor-card:hover .doctor-avatar {
    background: var(--primary);
    color: var(--white);
    transform: rotate(5deg);
}

.doctor-card:hover .doctor-avatar svg {
    transform: scale(1.1);
}

.doctor-card h3 {
    font-size: 1.6rem;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.doctor-card p {
    font-size: 1.05rem;
    color: var(--text-sec);
    line-height: 1.7;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .doctor-card {
        padding: 40px 20px;
    }
}

/* Brands Section 2026 */
.brands-section {
    padding: 100px 0;
    background-color: #0d1117;
    text-align: center;
    border-top: 1px solid #30363d;
}

.brands-title {
    font-size: 3rem;
    color: #0b1b2b;
    /* Solid dark color for maximum contrast */
    margin-bottom: 60px;
    font-weight: 800;
    text-align: center;
    background: linear-gradient(135deg, #0b1b2b 0%, #2b79b7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.brands-grid.single-brand {
    display: flex;
    justify-content: center;
    max-width: 600px;
}


.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.brand-logo-wrapper {
    height: 140px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.95);
    /* High contrast background */
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.brand-logo-wrapper img {
    max-height: 90px;
    max-width: 85%;
    filter: none;
    /* Show original colors */
    opacity: 1;
    transition: var(--transition);
}

.brand-card:hover .brand-logo-wrapper {
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(96, 168, 216, 0.3);
}

.brand-card:hover .brand-logo-wrapper img {
    transform: scale(1.08);
}

.brand-text {
    color: #8b949e;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 400px;
    text-align: center;
    margin: 0 auto;
}

/* Footer Icons Styling - Refined 2026 */
.footer-contact li a {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.footer-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* Branded Representative Colors */
a[href^='mailto:'] .footer-icon {
    color: #5cbbf6;
}

a[href*='instagram.com'] .footer-icon {
    color: #E1306C;
}

a[href*='wa.me'] .footer-icon {
    color: #25D366;
}

a[href*='google.com/maps'] .footer-icon {
    color: #ff5252;
}

.footer-contact li a:hover .footer-icon {
    transform: scale(1.2);
    filter: drop-shadow(0 0 5px currentColor);
}

/* Product Details Modal Styling */
.product-details-content {
    max-width: 1000px;
    max-height: 90vh;
    padding: 0;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-details-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    min-height: 400px;
}

.product-details-image {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.product-details-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    mix-blend-mode: darken;
    transform: none;
}

.product-details-info {
    padding: 40px 30px;
    background: rgba(13, 17, 23, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-details-info h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.1;
}

.product-details-info p {
    font-size: 0.95rem;
    color: #8b949e;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Modal Carousel Enhancements */
.product-details-image .carousel-btn {
    background: rgba(11, 27, 43, 0.1);
    border: 1px solid rgba(11, 27, 43, 0.1);
    color: #0b1b2b;
    width: 45px;
    height: 45px;
    font-size: 24px;
    opacity: 0.8;
}

.product-details-image .carousel-btn:hover {
    background: #0b1b2b;
    color: #ffffff;
    opacity: 1;
}

@media (max-width: 768px) {
    .product-details-grid {
        grid-template-columns: 1fr;
    }

    .product-details-info {
        padding: 40px 30px;
    }

    .product-details-image {
        padding: 20px;
        height: 300px;
    }
}

/* Modern Floating Bubble Testimonials 2026 */
.testimonials-modern {
    padding: 100px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #E2E8F0 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 10;
}

.testimonial-bubble {
    background: #FFFFFF;
    padding: 45px;
    border-radius: 40px;
    box-shadow: 0 25px 55px rgba(11, 27, 43, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    animation: floatingBubbles 6s ease-in-out infinite;
}

.testimonial-bubble:nth-child(2) {
    animation-delay: -2s;
}

.testimonial-bubble:nth-child(3) {
    animation-delay: -4s;
}

@keyframes floatingBubbles {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-18px);
    }

    100% {
        transform: translateY(0px);
    }
}

.testimonial-bubble:hover {
    transform: translateY(-25px) scale(1.03) !important;
    box-shadow: 0 40px 80px rgba(11, 27, 43, 0.12);
    border-color: var(--primary);
    animation-play-state: paused;
}

.bubble-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.user-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 12px 25px rgba(96, 168, 216, 0.25);
}

.user-avatar.bg-blue {
    background: #3B82F6;
}

.user-avatar.bg-navy {
    background: #0B2545;
}

.user-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.user-name {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.15rem;
}

.stars.yellow {
    color: #FFD700;
    font-size: 1.15rem;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.bubble-content .testimonial-title {
    font-size: 1.45rem;
    color: var(--secondary);
    margin-bottom: 18px;
    font-weight: 700;
    line-height: 1.35;
    font-style: italic;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bubble-content .testimonial-text {
    font-size: 1.1rem;
    color: var(--text-sec);
    line-height: 1.8;
    margin: 0;
}

/* Domicilio Banner - Ribbon Section */
.domicilio-banner {
    padding: 40px 0;
    background: #f4faff;
}

.banner-inner {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(96, 168, 216, 0.12);
    border: 1px solid rgba(96, 168, 216, 0.1);
}

.banner-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.banner-illus img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.banner-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.banner-info h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--secondary);
    margin-bottom: 20px;
    text-align: left;
    background: none;
    -webkit-text-fill-color: initial;
}

.banner-info p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-sec);
    margin-bottom: 30px;
    max-width: 550px;
    line-height: 1.6;
}

.btn-accent {
    background: linear-gradient(135deg, #FF6B00 0%, #FF9E00 100%);
    color: var(--white) !important;
    border: none;
    box-shadow:
        0 12px 24px rgba(255, 107, 0, 0.25),
        inset 0 0 15px rgba(255, 255, 255, 0.2);
    padding: 16px 36px;
    font-size: 1rem;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn-accent:hover {
    transform: translateY(-6px);
    box-shadow:
        0 20px 40px rgba(255, 107, 0, 0.4),
        0 0 50px rgba(255, 158, 0, 0.2);
    filter: brightness(1.05);
}

.btn-accent::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    transition: 0.8s;
    pointer-events: none;
    opacity: 0;
}

.btn-accent:hover::before {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
}

@media (max-width: 992px) {
    .banner-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .banner-inner {
        padding: 40px 30px;
    }

    .banner-info {
        align-items: center;
    }

    .banner-info h2 {
        text-align: center;
    }
}

/* ==========================================================================
   PREMIUM PRODUCT CATALOG - FUTURISTIC DESIGN 2026
   ========================================================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.premium-product-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(96, 168, 216, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    height: 100%;
    /* Subtle blue neon glow */
    box-shadow: 0 5px 15px rgba(96, 168, 216, 0.1), 0 2px 4px rgba(0, 0, 0, 0.05);
}

.premium-product-card:hover {
    box-shadow: 0 8px 25px rgba(96, 168, 216, 0.35), 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.card-image-wrapper {
    position: relative;
    height: 200px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    /* Removed padding to allow image to be larger */
    border-bottom: 1px solid #f3f3f3;
}

.card-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card-content {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-category {
    font-size: 12px;
    color: #565959;
    margin-bottom: 4px;
}

.card-title {
    font-size: 16px;
    font-weight: 500;
    color: #0F1111;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    font-size: 14px;
}

.card-rating .stars {
    color: #FFA41C;
    letter-spacing: -1px;
}

.card-rating .count {
    color: #007185;
    font-size: 13px;
}

.card-sales {
    font-size: 13px;
    color: #565959;
    margin-bottom: 8px;
}

.card-price {
    display: flex;
    align-items: flex-start;
    color: #0F1111;
    margin-bottom: 12px;
}

.card-price .symbol {
    font-size: 13px;
    margin-top: 4px;
    font-weight: 600;
}

.card-price .integer {
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
}

.card-price .decimal {
    font-size: 13px;
    margin-top: 4px;
    font-weight: 600;
}

.card-extra-info {
    font-size: 13px;
    color: #565959;
    margin-bottom: 16px;
    flex-grow: 1;
}

.card-extra-info p {
    margin-bottom: 2px;
}

.card-extra-info .delivery {
    color: #0F1111;
}

.card-extra-info .delivery b {
    font-weight: 600;
}

.card-actions {
    margin-top: auto;
    padding-top: 10px;
}

/* Amazon Yellow Button */
.btn-quote {
    width: 100%;
    background: #FFD814;
    border: 1px solid #FCD200;
    border-radius: 20px;
    padding: 8px 0;
    font-size: 13px;
    color: #0F1111;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(213, 217, 217, .5);
    font-weight: 500;
    text-align: center;
    transition: background 0.2s ease;
}

.btn-quote:hover {
    background: #F7CA00;
    border-color: #F2C200;
}

.btn-view-details {
    display: none;
    /* Simplified for Amazon look, details can be accessed by clicking card */
}

.card-badge {
    position: absolute;
    top: 10px;
    left: 0;
    background: #CC0C39;
    color: white;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
    border-radius: 0 4px 4px 0;
}


@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Elite Premium Instagram Section 2026 --- */
.bg-premium-insta {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
}

.insta-header-elite {
    text-align: center;
    margin-bottom: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.elite-title {
    font-size: clamp(2.5rem, 4.5vw, 3.8rem);
    font-weight: 800;
    color: #0B1B2B;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.elite-divider {
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 10px;
    margin-bottom: 20px;
}

.elite-handle {
    font-size: 1.2rem;
    font-weight: 600;
    color: #50667A;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.elite-handle:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.insta-grid-elite {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.insta-card-elite {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    display: block;
    background: #f0f0f0;
    aspect-ratio: 1 / 1.1;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.insta-media {
    position: relative;
    width: 100%;
    height: 100%;
}

.insta-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.insta-icon-top {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--white);
    opacity: 0.8;
    z-index: 5;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.insta-icon-top svg {
    width: 24px;
    height: 24px;
}

.insta-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    color: var(--white);
    opacity: 0.9;
    z-index: 5;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.insta-play-btn svg {
    width: 50px;
    height: 50px;
}

.insta-glass-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(11, 27, 43, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 24px;
    border-radius: 24px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform: translateY(10px);
    opacity: 0.95;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.glass-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.glass-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.glass-avatar svg {
    width: 100%;
    height: 100%;
    color: white;
}

.glass-handle {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.glass-caption {
    font-size: 0.85rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.glass-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
}

.insta-card-elite:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.insta-card-elite:hover .insta-media img {
    transform: scale(1.1);
}

.insta-card-elite:hover .insta-play-btn {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
}

.insta-card-elite:hover .insta-glass-info {
    transform: translateY(0);
    background: rgba(11, 27, 43, 0.85);
}

.insta-footer-elite {
    text-align: center;
    margin-top: 40px;
}

.btn-ig-blue {
    background: linear-gradient(135deg, #1877F2 0%, var(--primary) 100%);
    min-width: 280px;
}

.btn-ig-blue:hover {
    box-shadow: 0 15px 30px rgba(24, 119, 242, 0.3);
}

@media (max-width: 992px) {
    .insta-grid-elite {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .insta-grid-elite {
        grid-template-columns: 1fr;
    }

    .insta-card-elite {
        aspect-ratio: 1 / 1.25;
    }
}

/* Carousel Styles */
.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    /* Match parent height */
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    width: 100%;
    height: 100%;
}

.carousel-img {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    height: 100%;
    object-fit: contain;
    padding: 0;
    transform: scale(1.05);
    /* Original safe size */
    transition: transform 0.3s ease;
}

/* Enlarge image and blend white background only for masks */
.premium-product-card[data-category="masks"] .carousel-img {
    transform: scale(1.05);
    /* Reduced from 1.2 to avoid clipping */
    mix-blend-mode: darken;
}

/* Ensure lifestyle photos with humans are not scaled at all */
.premium-product-card[data-category="masks"] .lifestyle-img {
    transform: scale(1) !important;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(200, 200, 200, 0.3);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: var(--white);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(96, 168, 216, 0.4);
    color: var(--secondary);
    border-color: transparent;
}

.carousel-wrapper:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.5);
    padding: 6px 12px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.carousel-dot:hover {
    background: rgba(96, 168, 216, 0.5);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.4);
}


/* 
===============================================
  HERO PHONE ANIMATION (Cascading + Light)
===============================================
*/
.hero-phone {
    margin-top: 30px;
}

.animated-phone-link {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.animated-phone-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 221, 151, 0.3);
    border-color: rgba(13, 221, 151, 0.5);
}

.phone-prefix {
    font-weight: 300;
    margin-right: 10px;
    font-size: 1.1rem;
    opacity: 0.8;
}

.cascading-phone {
    display: inline-flex;
}

.cascading-phone span {
    display: inline-block;
    opacity: 0;
    transform: translateY(-20px);
    animation: dropDownNumber 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    color: var(--accent-light);
    text-shadow: 0 0 10px rgba(13, 221, 151, 0.5);
    position: relative;
}

/* Character dash styling */
.cascading-phone span.dash {
    color: var(--white);
    text-shadow: none;
    opacity: 0.5;
    margin: 0 3px;
}

/* Light sweep effect inside the button container */
.animated-phone-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: sweepLight 4s infinite 2s ease-in-out;
    z-index: 1;
}

@keyframes dropDownNumber {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.8);
    }

    50% {
        opacity: 1;
        transform: translateY(5px) scale(1.1);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes sweepLight {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}