.multi-player-wrapper {
    gap: 0.75rem;
}

.custom-player {
    background: rgba(15, 23, 42, 0.55);
    border-radius: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.25);
    padding: 1rem;
    box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.35);
}
/* ============================================
   MUNDO STREAMING HD - CSS RESPONSIVE
   Mobile-First Approach
   ============================================ */

/* Custom Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 20, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    padding: 2rem;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.modal-icon.success {
    color: #10B981;
    background: rgba(16, 185, 129, 0.15);
}

.modal-icon.error {
    color: #F87171;
    background: rgba(248, 113, 113, 0.15);
}

.modal-title {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.modal-message {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.modal-btn {
    padding: 0.85rem 1.75rem;
    border: none;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 128, 255, 0.3);
}

/* Reset y Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Colores - Theme */
    --bg-primary: #F8FAFC;
    --bg-secondary: #FFFFFF;
    --bg-card: rgba(255, 255, 255, 0.7);
    --bg-glass: rgba(234, 232, 232, 0.873);
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    
    /* Brand Colors extracted from Favicon */
    --accent: #0080ff;       /* Bright Blue */
    --accent-hover: #0057b0; /* Dark Blue */
    --accent-glow: rgba(0, 128, 255, 0.4);
    --brand-orange: #ffa115; /* Orange */
    
    --border: rgba(148, 163, 184, 0.2);
    --separator-color: rgba(0, 0, 0, 0.3); /* Negro más visible para tema claro */
    --success: #10B981;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Espaciados base - usando rem */
    --header-h: 3.75rem;
    --section-padding: 3rem 1rem;
    --card-padding: 1.5rem;
    --border-radius: 1rem;
    --web-padding: 0.125rem;
}

[data-theme="dark"] {
    --bg-primary: #0B0E14;
    --bg-secondary: #151A23;
    --bg-card: rgba(30, 41, 59, 0.7);
    --bg-glass: rgba(30, 41, 59, 0.4);
    --text-primary: #E2E8F0;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    /* Mantener colores de marca en modo oscuro para consistencia */
    --accent: #0080ff;
    --accent-hover: #0057b0;
    --accent-glow: rgba(0, 128, 255, 0.4);
    
    --border: rgba(148, 163, 184, 0.25);
    --separator-color: rgba(255, 255, 255, 0.3); /* Blanco más visible para tema oscuro */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

/* Base Typography */
html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Previene scroll horizontal fantasma */
    width: 100%;
}

section[id] {
    scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.domain-search[id] {
    scroll-margin-top: calc(var(--header-h) + 6rem);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
    min-height: 100vh;
    width: 100%; /* Asegurar ancho */
    padding: var(--web-padding);
    display: flex;
    flex-direction: column;
    position: relative; /* Contexto de posicionamiento */
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.top-nav .logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-nav .logo img {
    height: 2.5rem;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.currency-toggle {
    display: flex;
    border-radius: 999px;
    padding: 0.25rem;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    gap: 0.35rem;
}

.currency-option {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.currency-option.active {
    background: rgba(255, 255, 255, 0.95);
    color: #0B0E14;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.currency-option:hover:not(.active) {
    background: rgba(255, 255, 255, 0.15);
}

/* Desktop Menu - Oculto en móvil por defecto */
.top-nav nav {
    display: none;
}

.top-nav .menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.top-nav .menu-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.top-nav .menu-link:hover,
.top-nav .menu-link.active {
    color: var(--brand-orange);
    background: rgba(21, 26, 35, 0.4);
}

.top-nav .nav-cta {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #000000;
    background: var(--brand-orange);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.top-nav .nav-cta:hover {
    background: #ffb84d; /* Un naranja un poco más claro para hover */
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 161, 21, 0.4);
}

.top-nav .nav-cta-secondary {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.top-nav .nav-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    transform: translateY(-1px);
}

.theme-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.currency-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.15rem 0.2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.currency-switch select {
    border: none;
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.currency-switch select:focus {
    box-shadow: 0 0 0 2px rgba(0, 128, 255, 0.3);
}

.currency-switch::after {
    content: '';
    position: absolute;
    right: 0.5rem;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(255, 255, 255, 0.7);
    pointer-events: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.page-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.system-theme-button {
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.5);
    color: #E2E8F0;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.system-theme-button.active {
    border-color: var(--accent);
    color: #0F172A;
    background: var(--brand-orange);
}

.theme-toggle {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.15);
    background: rgba(21, 26, 35, 0.4);
    backdrop-filter: blur(12px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--accent-glow);
}

.theme-toggle svg {
    width: 1rem;
    height: 1rem;
    color: #E2E8F0;
}

.theme-toggle .moon { display: none; }

[data-theme="dark"] .theme-toggle .sun {
    display: none;
}

[data-theme="dark"] .theme-toggle .moon {
    display: block;
}

/* Navigation Dock - Solo móvil */
.mobile-menu-btn {
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(148, 163, 184, 0.15);
    background: transparent;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.mobile-menu-btn span {
    display: block;
    width: 1.2rem;
    height: 2px;
    background: #E2E8F0;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: translateY(-1px);
    border-color: var(--accent);
}

.mobile-menu-panel {
    position: fixed;
    inset: 0;
    background: rgba(5, 6, 15, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-panel.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-inner {
    width: min(320px, 90%);
    padding: 2rem;
    background: rgba(15, 23, 42, 0.95);
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(2, 6, 23, 0.6);
    text-align: center;
    position: relative;
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
}

.mobile-menu-inner ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu-inner a {
    color: #f8fafc;
    font-size: 1rem;
    font-weight: 500;
}

.mobile-menu-inner .btn-mobile {
    display: inline-flex;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--brand-orange);
    color: #000000;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 161, 21, 0.4);
}

body.no-scroll {
    overflow: hidden;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }

    .theme-actions {
        margin-left: 1rem;
    }

    .mobile-menu-panel {
        display: none;
    }
}

/* ============================================
   DEMOS SECTION
   ============================================ */

.demos {
    padding: 3rem 0;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), transparent 45%),
        radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.1), transparent 55%);
    position: relative;
    overflow: hidden;
}

.demos::after {
    content: '';
    position: absolute;
    inset: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 2rem;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.5;
}

.demos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.5rem;
    position: relative;
    z-index: 2;
}

.demo-card {
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(22px);
    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 1.25rem;
    padding: 1.25rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -1px 30px rgba(56, 189, 248, 0.2);
}

.radio-demo {
    border-color: rgba(59, 130, 246, 0.08);
    padding: 0.9rem 0.9rem 1rem;
    background: rgba(15, 23, 42, 0.35);
}

.radio-demo::before,
.radio-demo::after {
    border-color: transparent;
}

.radio-demo .demo-header {
    gap: 0.4rem;
}

.radio-demo .live-indicator {
    padding: 0.2rem 0.55rem;
    font-size: 0.65rem;
    box-shadow: 0 6px 15px rgba(248, 113, 113, 0.2);
}

.radio-demo .player-wrapper {
    margin-bottom: 0.4rem;
    max-height: 200px;
    border-radius: 0.9rem;
    background: rgba(2, 6, 23, 0.72);
}

.radio-demo .player-wrapper::after {
    border-color: rgba(59, 130, 246, 0.25);
    opacity: 0.6;
}

.multi-player-wrapper {
    gap: 0.65rem;
    align-items: stretch;
}

.custom-player {
    border-radius: 0.85rem;
    padding: 0.75rem 0.85rem;
    min-height: 76px;
    background: rgba(15, 23, 42, 0.38);
    border: 1px solid rgba(59, 130, 246, 0.18);
    box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-player + .custom-player {
    margin-top: 0.5rem;
}

.demo-card::before,
.demo-card::after {
    content: '';
    position: absolute;
    inset: auto;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.demo-card::before {
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid rgba(14, 165, 233, 0.6);
}

.demo-card::after {
    inset: 10%;
    border: 1px solid rgba(236, 72, 153, 0.4);
}

.demo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.25);
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.demo-header h3 {
    font-size: 1.1rem;
    margin: 0;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 999px;
    border: 1px solid rgba(248, 113, 113, 0.3);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.25);
}

.live-indicator.offline {
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-muted);
    border-color: var(--border);
    box-shadow: none;
}

.live-indicator .dot {
    width: 0.45rem;
    height: 0.45rem;
    background: currentColor;
    border-radius: 50%;
}

.live-indicator:not(.offline) .dot {
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.9);
}

.player-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    max-height: 260px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.92));
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 60px rgba(59, 130, 246, 0.35), 0 10px 20px rgba(2, 6, 23, 0.8);
}

.player-wrapper::after {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 0.9rem;
    border: 1px solid rgba(59, 130, 246, 0.4);
    pointer-events: none;
    mix-blend-mode: screen;
}

.player-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.demo-info {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.quality-badge {
    padding: 0.2rem 0.75rem;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.4);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #cbd5f5;
    text-transform: uppercase;
}

.demo-info p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* Empty State / Placeholder */
.demo-card.empty-state {
    display: flex;
    flex-direction: column;
}

.player-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-glass);
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border);
    text-align: center;
    padding: 1rem;
    color: var(--text-muted);
}

.player-placeholder .icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.player-placeholder p {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.player-placeholder span {
    font-size: 0.8rem;
    opacity: 0.8;
}

@media (min-width: 768px) {
    .demos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 900px; /* Limitamos el ancho total para hacerlas más compactas */
        margin: 0 auto;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.hero {
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* HERO con slider1 de fondo y efecto de movimiento va y ven */ 
.hero::before { 
    content: ''; 
    position: absolute; 
    inset: 0; 
    background-image: 
        linear-gradient(to bottom, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.96)), 
        url('../imagen/slider1.png'); 
    background-size: cover; 
    background-position: center; 
    z-index: 0; 
    will-change: transform; /* Optimización de rendimiento */
    animation: heroMove 9s ease-in-out infinite alternate; 
} 

/* Animación suave va y ven */ 
@keyframes heroMove { 
    0% { 
        transform: scale(1.05) translateX(0); 
    } 
    50% { 
        transform: scale(1.08) translateX(-15px); 
    } 
    100% { 
        transform: scale(1.05) translateX(15px); 
    } 
} 

/* COLORES DE TEXTO SEGÚN TEMA */ 

/* Tema claro: letras blancas en el hero */ 
html[data-theme="light"] .hero h1, 
html[data-theme="light"] .hero p, 
html[data-theme="light"] .hero-badge { 
    color: #ffffff; 
} 

/* Tema oscuro: letras claras en el hero */ 
html[data-theme="dark"] .hero h1, 
html[data-theme="dark"] .hero p, 
html[data-theme="dark"] .hero-badge { 
    color: #F9FAFB; 
}

.hero-bg {
    display: none; /* Desactivar el fondo anterior */
}

.g-recaptcha {
    transform: scale(0.95);
    transform-origin: 0 0;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-badge .dot {
    width: 0.4rem;
    height: 0.4rem;
    background: var(--brand-orange);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero h1 .highlight {
    color: var(--brand-orange);
}

.hero p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 100%;
    margin: 0 auto 1.5rem;
}

.hero-buttons {
display: flex;
flex-direction: column;
gap: 0.75rem;
align-items: center;
justify-content: center;
}

.pricing-card .price {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.35rem;
min-width: 150px;
}

.pricing-card .price .period {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.currency-code {
    color: rgba(255, 255, 255, 0.75);
}

.currency-value {
    color: #ffffff;
}

[data-theme="light"] .pricing-card .price .amount {
    color: var(--text-primary);
}

[data-theme="light"] .pricing-card .price .amount .currency-code {
    color: rgba(15, 23, 42, 0.85);
}

[data-theme="light"] .pricing-card .price .amount .currency-value {
    color: #0B0E14;
}

[data-theme="light"] .pricing-card .price .period {
    color: rgba(15, 23, 42, 0.6);
}

.pricing-card .price .amount {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #ffffff;
    min-width: 110px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.pricing-card .price .amount .currency-code {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
    margin-bottom: 0;
    transform: translateY(0.1rem);
}

.pricing-card .price .amount .currency-value {
    display: block;
}

.price-bump {
    animation: bump 0.4s ease-out;
}

@keyframes bump {
    0% { transform: scale(1); }
    50% { transform: scale(1.07); }
    100% { transform: scale(1); }
}

.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.75rem 1.5rem;
font-size: 0.9rem;
font-weight: 600;
border-radius: 0.75rem;
text-decoration: none;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
cursor: pointer;
border: none;
white-space: nowrap;
width: 100%;
max-width: 280px;
    max-width: 280px;
}

.btn-primary {
    background: var(--brand-orange);
    color: #000000;
    box-shadow: 0 4px 15px rgba(255, 161, 21, 0.4);
}

.btn-primary:hover {
    background: #ffb84d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 161, 21, 0.6);
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
}

/* Floating Cards - Ahora dentro del contenido */
.floating-cards {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.float-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
}

.float-card .icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
}

.float-card .text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.2;
}

.float-card .value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* ============================================
   SECTIONS COMMON
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
}

.section-label {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 100%;
}

/* Grids flexibles */
.about-grid,
.pricing-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0.5rem;
}

.pricing-grid--streaming {
    display: grid;
    grid-template-columns: repeat(4, minmax(240px, 1fr));
    gap: 1.25rem;
    justify-content: center;
}

@media (max-width: 1200px) {
    .pricing-grid--streaming {
        grid-template-columns: repeat(3, minmax(220px, 1fr));
    }
}

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

@media (max-width: 600px) {
    .pricing-grid--streaming {
        grid-template-columns: 1fr;
    }
}

/* Separadores decorativos entre secciones */
.domain-search,
.about,
.services,
.pricing,
.gallery {
    position: relative;
}

.domain-search::after,
.about::after,
.services::after,
.pricing::after,
.gallery::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--separator-color), transparent);
    opacity: 0.8;
}

/* Título de la sección de dominios siempre en blanco */ 
.domain-search .section-header h2 { 
    color: #ffffff !important; 
} 

/* Subtítulo de la sección dominios según el tema */ 
/* Tema claro: texto negro */ 
html[data-theme="light"] .domain-search .section-header p { 
    color: #000000 !important; 
} 

/* Tema oscuro: texto claro */ 
html[data-theme="dark"] .domain-search .section-header p { 
    color: rgba(255, 255, 255, 0.85) !important; 
} 

/* Ocultar el badge "Dominios" en la sección de dominios */ 
.domain-search .section-label { 
    display: none !important; 
} 

/* Subir el título "Encuentra tu nombre de dominio ideal" unos píxeles */ 
.domain-search .section-header h2 { 
    color: #000000 !important;  /* Ajuste solicitado: blanco en oscuro, negro en claro según contexto, pero instrucción pide explícitamente esto. REVISAR: "Encuentra tu nombre de dominio ideal en tema blanco esta negro pero en tema oscuro queda negro necesito que cambia a balnac en tema oscuro y en tema claro queda nego lo normal" */
    /* CORRECCION SOBRE LA MARCHA BASADA EN INSTRUCCION DE USUARIO: */
    /* Usuario dice: "necesito que cambia a balnac en tema oscuro y en tema claro queda nego lo nomrmal" */
    margin-top: 100px;           /* lo sube ligeramente - se mantiene margin */
}
/* Re-aplicando colores correctos para .domain-search h2 basados en la petición explicita del usuario */
html[data-theme="light"] .domain-search .section-header h2 {
    color: #000000 !important;
}
html[data-theme="dark"] .domain-search .section-header h2 {
    color: #ffffff !important;
}

/* Quitar fondo de la sección de dominios (por si quedó antes) */ 
.domain-search::before { 
    background-image: none !important; 
}

.domain-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    padding: 0.5rem;
    border-radius: 50px; /* Redondo y moderno */
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.search-box:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
    transform: translateY(-2px);
}

.search-box input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    color: var(--text-primary);
    outline: none;
    font-family: 'Space Grotesk', sans-serif;
    min-width: 0; /* Evita desbordamiento en flex */
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box .btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    flex-shrink: 0;
}

.tld-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.tld-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    text-align: center;
    min-width: 120px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

.tld-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.tld-card.featured {
    border-color: var(--accent-glow);
    background: linear-gradient(to bottom right, var(--bg-card), rgba(0, 128, 255, 0.05));
}

.tld-card .tld-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.tld-card .tld-price {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.tld-card .discount {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: var(--brand-orange);
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 2;
}

/* Ajustes Mobile para el buscador */
@media (max-width: 640px) {
    .search-box {
        flex-direction: column;
        border-radius: 1.5rem;
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .search-box input {
        width: 100%;
        text-align: center;
        padding: 0.5rem;
    }
    
    .search-box .btn {
        width: 100%;
        border-radius: 1rem;
    }

    .tld-grid {
        gap: 0.75rem;
    }

    .tld-card {
        min-width: 100px;
        padding: 0.75rem 1rem;
        flex: 1 1 40%; /* 2 por fila */
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 3rem 0;
}

.about-card {
    padding: 1.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 1rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.about-card .icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    padding: 0.75rem;
    background: var(--bg-glass);
    border-radius: 0.75rem;
    color: var(--accent);
}

.about-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    padding: 3rem 0;
    overflow: hidden;
}

.services-scroll {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.services-scroll::-webkit-scrollbar {
    display: none;
}

.service-card {
    flex: 0 0 85%;
    max-width: 320px;
    margin: 0;
    padding: 1.25rem;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 1rem;
    scroll-snap-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.service-card.featured {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: white;
}

.service-card.featured .icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.service-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.service-card .icon {
    width: 3rem;
    height: 3rem;
    padding: 0.75rem;
    background: var(--bg-glass);
    border-radius: 0.75rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.85rem;
    line-height: 1.5;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.8rem;
    border-top: 1px solid var(--border);
}

.service-card.featured .service-features li {
    border-color: rgba(255, 255, 255, 0.2);
}

.service-features svg {
    width: 1rem;
    height: 1rem;
    color: var(--success);
    flex-shrink: 0;
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing {
    padding: 3rem 0;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.pricing-tab {
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 2rem;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-tab:hover {
    background: var(--bg-glass);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.pricing-tab.active {
    background: var(--brand-orange);
    color: #000;
    border-color: var(--brand-orange);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 161, 21, 0.3);
}

.pricing-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.pricing-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    position: relative;
}

.pricing-toggle span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.pricing-toggle span.active {
    color: var(--text-primary);
}

.toggle-switch {
    position: relative;
    width: 3rem;
    height: 1.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-switch::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 1.1rem;
    height: 1.1rem;
    background: var(--brand-orange);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-switch.active::before {
    left: calc(100% - 1.1rem - 2px);
}

.discount-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 0.5rem;
    padding: 0.15rem 0.4rem;
    background: var(--brand-orange);
    color: #000000 !important;
    font-size: 0.5rem;
    font-weight: 600 !important;
    line-height: 1;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(255, 161, 21, 0.3);
    animation: badgePulse 2s infinite;
}

.discount-badge::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-right: 3px solid var(--brand-orange);
}

@keyframes badgePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pricing-card {
    position: relative;
    padding: 1.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 40px var(--accent-glow);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, var(--accent) 0%, transparent 100%);
    border-radius: 1rem;
    z-index: -1;
    opacity: 0.5;
}

.pricing-card .popular {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.3rem 0.75rem;
    background: var(--brand-orange);
    color: #000000;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 50px;
    z-index: 5;
}

.pricing-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.25rem;
}

.pricing-card .desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.pricing-card .price {
    margin-bottom: 1rem;
}

.pricing-card .amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.pricing-card .period {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.pricing-card .features {
    list-style: none;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.pricing-card .features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.8rem;
    border-bottom: 1px solid var(--border);
}

.pricing-card .features li:last-child {
    border-bottom: none;
}

.pricing-card .features svg {
    width: 1rem;
    height: 1rem;
    color: var(--success);
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery {
    padding: 3rem 0;
}

.gallery-item {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-glass) 100%);
}

.gallery-placeholder svg {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.gallery-placeholder span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 3rem 0;
}

.contact-wrapper {
    max-width: 700px;
    width: min(70vw, 700px);
    margin: 0 auto;
    padding: 1.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
    width: 100%;
}

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

.form-group textarea {
    min-height: 8rem;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23475569' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.contact-form .btn {
    justify-content: center;
    padding: 0.75rem 1.5rem;
    width: fit-content;
    min-width: 220px;
    margin: 0 auto;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: linear-gradient(180deg, #070b1a 0%, #03050c 100%);
    padding: 4.5rem 1.5rem 0.35rem;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    align-items: center;
}

.footer-container {
    width: min(1200px, 100%);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: flex-start;
    margin: 0 auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}

.footer-brand-block {
    max-width: 320px;
}

.footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--brand-orange);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.9);
    margin: 0.5rem 0 1rem;
    font-size: 0.9rem;
}

.footer-cta .btn {
    width: fit-content;
    padding: 0.65rem 1.5rem;
    font-size: 0.85rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
    position: relative;
}

.footer-column h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--brand-orange);
    margin-bottom: 0.5rem;
}

.footer-column:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0.5rem;
    bottom: 0.5rem;
    right: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.footer-social {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.social-link:hover {
    background: var(--accent);
    color: #ffffff;
    transform: translateY(-3px);
}

.social-link svg {
    width: 1rem;
    height: 1rem;
}
.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.85);
}

.footer-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-legal p {
    margin: 0;
}

/* ============================================
   MEDIA QUERIES - TABLET (768px+)
   ============================================ */

@media (min-width: 768px) {
    :root {
        --header-h: 4rem;
        --section-padding: 4rem 2rem;
        --card-padding: 2rem;
        --border-radius: 1.25rem;
    }

    /* Header */
    .top-nav {
        padding: 0 3rem;
    }

    .top-nav .logo {
        font-size: 1.15rem;
    }

    .top-nav nav {
        margin-left: auto;
        margin-right: 1rem;
    }

    .top-nav .logo svg {
        width: 1.75rem;
        height: 1.75rem;
    }

    .top-nav nav {
        display: flex;
        align-items: center;
    }

    .top-nav .menu-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .top-nav .nav-cta {
        padding: 0.5rem 1.25rem;
        font-size: 0.9rem;
    }

    .theme-toggle {
        width: 2.25rem;
        height: 2.25rem;
        margin-left: 1rem;
    }

    .theme-toggle svg {
        width: 1.1rem;
        height: 1.1rem;
    }

    /* Dock oculto en desktop */
    .nav-dock {
        display: none;
    }

    /* Hero */
    .hero {
        min-height: calc(100vh - var(--header-h));
        padding: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
        max-width: 80%;
    }

    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .btn {
        width: auto;
        max-width: none;
    }

    .floating-cards {
        gap: 1.25rem;
        margin-top: 2rem;
    }

    .float-card {
        padding: 0.75rem 1.25rem;
    }

    .float-card .icon {
        width: 1.75rem;
        height: 1.75rem;
    }

    .float-card .text {
        font-size: 0.8rem;
    }

    .float-card .value {
        font-size: 1.2rem;
    }

    .float-card .icon {
        width: 1.5rem;
        height: 1.5rem;
        margin-bottom: 0.25rem;
    }

    .float-card .text {
        font-size: 0.7rem;
        color: var(--text-secondary);
    }

    .float-card .value {
        font-size: 1rem;
        font-weight: 700;
    }

    /* Sections */
    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

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

    .service-card {
        flex: none;
        width: 100%;
        max-width: 420px;
        margin-inline: auto;
    }

    .services-scroll {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.75rem;
        overflow: visible;
        padding: 1.5rem 1rem;
        justify-items: stretch;
    }

    .form-row {
        flex-direction: row;
    }

    .form-row .form-group {
        flex: 1;
    }

    .footer {
        padding: 3.5rem 0 1.5rem;
    }
}

/* ============================================
   MEDIA QUERIES - DESKTOP (1024px+)
   ============================================ */

@media (min-width: 1024px) {
    :root {
        --header-h: 4.5rem;
        --section-padding: 5rem 2rem;
        --card-padding: 2rem;
        --border-radius: 1.5rem;
    }

    .top-nav {
        padding: 0 4rem;
    }

    .top-nav .logo {
        font-size: 1.25rem;
    }

    .top-nav nav {
        margin-left: auto;
        margin-right: 2rem;
    }

    .top-nav .menu {
        gap: 0.25rem;
    }

    .top-nav .menu-link {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }

    .theme-toggle {
        width: 2.5rem;
        height: 2.5rem;
    }

    .theme-toggle svg {
        width: 1.25rem;
        height: 1.25rem;
    }

    /* Hero */
    .hero {
        padding: 3rem 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.1rem;
        max-width: 60%;
    }

    .hero-badge {
        font-size: 0.9rem;
    }

    .floating-cards {
        gap: 1.25rem;
    }

    .float-card {
        padding: 0.75rem 1.25rem;
    }

    .float-card .icon {
        width: 1.75rem;
        height: 1.75rem;
    }

    .float-card .text {
        font-size: 0.8rem;
    }

    .float-card .value {
        font-size: 1.2rem;
    }

    /* Sections */
    .section-header {
        margin-bottom: 3rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-label {
        font-size: 0.75rem;
        padding: 0.35rem 1rem;
    }

    .about-grid,
    .pricing-grid,
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        max-width: 1400px;
    }

    .pricing-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
        max-width: 1200px;
        margin-inline: auto;
    }

    .service-card {
        padding: 2rem;
        width: 100%;
        max-width: 260px; /* Ancho fijo y estrecho */
        flex: 0 0 auto;   /* No crecer, no encoger impredeciblemente */
        margin: 0;        /* Sin margenes auto */
    }

    .services-scroll {
        display: flex;             /* Usar Flexbox para pegar elementos */
        flex-wrap: wrap;           /* Permitir varias lineas si hace falta */
        justify-content: center;   /* Centrar todo el bloque */
        gap: 0.5rem;               /* Espacio minimo entre tarjetas */
        max-width: 1200px;         /* Contenedor contenido para agrupar */
        margin-inline: auto;
        overflow-x: visible;
        scroll-snap-type: none;
    }

    .service-card .icon {
        width: 3.5rem;
        height: 3.5rem;
    }

    .service-card h3 {
        font-size: 1.25rem;
    }

    .pricing-card {
        padding: 2rem;
    }

    .pricing-card .amount {
        font-size: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .contact-wrapper {
        max-width: 700px;
        padding: 2.5rem;
    }

    .footer {
        padding: 4.5rem 0 12rem;
    }

    .footer-logo {
        font-size: 1.25rem;
    }

    .social-links a {
        width: 2.75rem;
        height: 2.75rem;
    }
}

/* ============================================
   MEDIA QUERIES - LARGE (1280px+)
   ============================================ */

@media (min-width: 1280px) {
    :root {
        --border-radius: 1.5rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        max-width: 50%;
    }

    .floating-cards {
        gap: 1.5rem;
    }

    .float-card {
        padding: 0.75rem 1.5rem;
    }

    .float-card {
        padding: 1.25rem 1.5rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .about-card {
        padding: 2.5rem 2rem;
    }

    /* Service Card Grid Adjustments */
    .services-scroll {
        max-width: 1300px; /* Ajuste ligero para pantallas muy grandes */
    }

    .pricing-card {
        padding: 2.5rem 2rem;
    }

    .pricing-card .amount {
        font-size: 3rem;
    }

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

/* ============================================
   CUSTOM RADIO PLAYER DESIGN
   Modern & Professional Look
   ============================================ */

.player-wrapper.multi-player-wrapper {
    background: transparent;
    aspect-ratio: auto;
    height: auto;
    padding: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: visible;
}

.custom-player {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Subtle gradient accent on hover */
.custom-player::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--brand-orange);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-player:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.custom-player:hover::before {
    opacity: 1;
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.station-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.live-badge {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(239, 68, 68, 0.3);
    display: flex;
    align-items: center;
    gap: 4px;
}

.live-badge::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background-color: #ef4444;
    border-radius: 50%;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { opacity: 1; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0); }
    100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.track-info {
    color: var(--text-secondary);
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.track-info::before {
    content: '♪';
    color: var(--brand-orange);
    font-size: 1.1em;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.75rem;
    border-radius: 50px;
}

.play-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--brand-orange);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(255, 161, 21, 0.3);
}

.play-btn:hover {
    transform: scale(1.1);
    background: #fff;
    color: var(--brand-orange);
}

.play-btn svg {
    width: 18px;
    height: 18px;
    margin-left: 2px; /* Visual center adjustment for play icon */
}

.play-btn svg path {
    stroke-width: 0; 
}

/* Volume Slider Styling */
.volume-slider {
    flex-grow: 1;
    -webkit-appearance: none;
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    position: relative;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Equalizer Animation (Simulated) */
.equalizer {
    display: flex;
    gap: 2px;
    align-items: flex-end;
    height: 12px;
    margin-left: auto;
}

.bar {
    width: 3px;
    background: var(--brand-orange);
    animation: equalize 1s infinite alternate;
}

.bar:nth-child(2) { animation-delay: 0.2s; }
.bar:nth-child(3) { animation-delay: 0.4s; }

@keyframes equalize {
    0% { height: 20%; }
    100% { height: 100%; }
}

/* Media Queries */
@media (min-width: 768px) {
    .multi-player-wrapper {
        flex-direction: row; /* Side by side on larger screens */
    }
    
    .custom-player {
        flex: 1;
    }
}


@media (max-width: 400px) {
    :root {
        --header-h: 3.5rem;
        --card-padding: 1rem;
    }

    .top-nav .logo span {
        display: none;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .service-card {
        flex: 0 0 90%;
    }

    .btn {
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   SMOOTH TRANSITIONS
   ============================================ */

* {
    transition-property: background, border-color, color, box-shadow, transform;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

/* Features Toggle Button */
.features-toggle-btn {
    background: transparent;
    border: none;
    color: var(--brand-orange);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem auto 0;
    font-weight: 600;
    width: 100%;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.features-toggle-btn:hover {
    opacity: 0.8;
}

/* Contact Form Required Asterisk */
.required {
    color: #ef4444; /* Red color */
    font-weight: bold;
    margin-left: 2px;
}

/* Center reCAPTCHA */
.g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

/* ============================================
   SERVICE ICONS ADJUSTMENTS
   ============================================ */

/* Hacer más grandes solo las imágenes de los servicios (Roku, FireTV, etc.) */ 
.service-card .service-icon-img { 
    width: 80px !important; 
    height: 80px !important; 
    padding: 0 !important;
    object-fit: contain; 
} 

/* Reducir el marco gris para que casi todo sea logo */ 
.service-card .icon { 
    padding: 0.15rem !important;
}
