/* ==========================================================================
   BANNER APP - ESTILOS PRINCIPALES
   ========================================================================== */

.banner-app-responsive {
  display: block;
  width: 100%;
  max-width: 1200px; /* Tamaño máximo en pantallas grandes */
  height: auto;
  margin: 20px auto; /* Centra el banner horizontalmente */
  border-radius: 20px; /* Mantiene las esquinas redondeadas de la imagen */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); /* Sombra suave para darle profundidad */
  object-fit: cover; /* Asegura que cubra bien el espacio asignado */
  transition: all 0.3s ease;
}

/* ==========================================================================
   OPTIMIZACIÓN RESPONSIVE (Media Queries)
   ========================================================================== */

/* En pantallas medianas (Tablets) */
@media (max-width: 992px) {
  .banner-app-responsive {
    max-width: 90%; /* Deja un pequeño margen a los lados */
    border-radius: 16px;
  }
}

/* En pantallas pequeñas (Celulares) */
@media (max-width: 576px) {
  .banner-app-responsive {
    max-width: 95%;
    border-radius: 12px; /* Redondeado más sutil en pantallas pequeñas */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    
    /* Tip opcional: Si notas que el texto integrado se lee muy pequeño en móvil,
       puedes usar 'object-fit: none' para que no se achique al extremo, 
       pero se cortarán los laterales. Con 'auto' e 'img' completas, lo ideal es dejar que escale.
    */
  }
}



/* =============================================
   VARIABLES Y RESET
   ============================================= */
:root {
    --primary-blue: #390FC8;
    --accent-yellow: #FFEA00;
    --text-dark: #1a1a1a;
    --text-gray: #64748b;
    --bg-white: #ffffff;
    --transition-main: all 0.3s ease;
    --top-bar-h: 38px;
    --header-h: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    overflow-x: hidden;
    padding-top: calc(var(--top-bar-h) + var(--header-h));
}

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
    background-color: var(--primary-blue);
    color: white;
    padding: 0 5%;
    height: var(--top-bar-h);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.link-footer-a {
    margin-bottom: 10px;
    color: #94a3b8;
    text-decoration: none;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-info i {
    color: var(--accent-yellow);
}

.top-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-social a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
    opacity: 0.8;
    font-size: 0.9rem;
}

.top-social a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* =============================================
   HEADER
   ============================================= */
header {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    position: fixed;
    top: var(--top-bar-h);
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: var(--header-h);
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 5%;
}

.logo {
    font-weight: 800;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-blue);
    text-decoration: none;
    flex-shrink: 0;
}

.logo .bulb-icon {
    color: var(--accent-yellow);
}

.logo .idea-text {
    font-weight: 400;
    font-size: 1.1rem;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition-main);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Nav */
.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: var(--transition-main);
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 30px;
}

.action-icon {
    font-size: 1.1rem;
    color: var(--text-dark);
    cursor: pointer;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary-blue);
    color: white;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: 800;
}

.btn-quote {
    background: var(--primary-blue);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition-main);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-quote:hover {
    background: #2a0996;
    box-shadow: 0 5px 15px rgba(57, 15, 200, 0.3);
}

.btn-full {
    width: 100%;
}

/* =============================================
   HERO / SLIDER
   ============================================= */
.hero-container {
    display: flex;
    padding: 20px 5%;
    height: 72vh;
    gap: 20px;
    min-height: 380px;
}

.promo-slider {
    flex: 1;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(57, 15, 200, 0.18);
    position: relative;
}

.slides-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.9s cubic-bezier(0.77, 0, 0.18, 1);
    pointer-events: none;
}

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

.slide-1 {
    background: linear-gradient(125deg, rgba(57, 15, 200, 0.92) 0%, rgba(0, 0, 0, 0.55) 100%),
        url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1400&q=80') center / cover;
}

.slide-2 {
    background: linear-gradient(125deg, rgba(20, 10, 80, 0.93) 0%, rgba(57, 15, 200, 0.6) 100%),
        url('https://images.unsplash.com/photo-1461749280684-dccba630e2f6?auto=format&fit=crop&w=1400&q=80') center / cover;
}

.slide-info {
    padding: 0 70px;
    max-width: 700px;
}

.badge {
    display: inline-block;
    background: var(--accent-yellow);
    color: #1a1a1a;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 22px;
    animation: badgePop 0.6s ease forwards;
}

@keyframes badgePop {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.slide-info h1 {
    font-size: clamp(1.6rem, 4vw, 3.4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 18px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.slide-info p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.btn-slide {
    background: var(--accent-yellow);
    color: #1a1a1a;
    padding: 15px 38px;
    border: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(255, 234, 0, 0.35);
}

.btn-slide:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(255, 234, 0, 0.45);
}

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 28px;
    left: 70px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.dot.active {
    background: var(--accent-yellow);
    width: 30px;
    border-radius: 5px;
}

/* Barra de progreso */
.slide-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--accent-yellow);
    width: 0%;
    transition: width linear;
    border-radius: 0 2px 2px 0;
}

/* Contador */
.slide-counter {
    position: absolute;
    bottom: 22px;
    right: 30px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    z-index: 10;
}

.slide-counter span {
    color: white;
    font-weight: 800;
}

/* Flechas */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.slide-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.08);
}

.slide-nav.prev {
    left: 20px;
}

.slide-nav.next {
    right: 20px;
}

/* Social sidebar */
.social-sidebar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    background: #f8fafc;
    padding: 25px;
    border-radius: 25px;
}

.social-sidebar a {
    color: var(--primary-blue);
    font-size: 1.5rem;
    transition: var(--transition-main);
}

.social-sidebar a:hover {
    color: var(--accent-yellow);
    transform: scale(1.2);
}

/* =============================================
   SECCIÓN: DESARROLLO WEB
   ============================================= */
.web-dev-section {
    padding: 90px 5%;
    background: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 100%);
}

.web-dev-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.web-dev-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(57, 15, 200, 0.08);
    color: var(--primary-blue);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 22px;
}

.web-dev-label i {
    font-size: 0.8rem;
    color: var(--accent-yellow);
}

.web-dev-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 18px;
}

.web-dev-text h2 span {
    color: var(--primary-blue);
}

.web-dev-text p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 38px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: var(--accent-yellow);
    font-size: 0.75rem;
}

.btn-outline-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 34px;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-modern:hover {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 8px 25px rgba(57, 15, 200, 0.25);
}

/* Mockup */
.web-dev-visual {
    position: relative;
}

.mockup-wrapper {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(57, 15, 200, 0.15);
    transform: perspective(1000px) rotateY(-6deg) rotateX(3deg);
    transition: transform 0.5s ease;
}

.mockup-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.mockup-bar {
    background: #1e1e2e;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dot.red {
    background: #ff5f57;
}

.mockup-dot.yellow {
    background: #ffbd2e;
}

.mockup-dot.green {
    background: #28c940;
}

.mockup-url {
    margin-left: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 4px 14px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
    font-family: monospace;
}

.mockup-screen {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.mockup-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mockup-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(57, 15, 200, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mockup-wrapper:hover .mockup-overlay {
    opacity: 1;
}

.mockup-overlay-btn {
    background: white;
    color: var(--primary-blue);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
}

/* Badges flotantes */
.float-badge {
    position: absolute;
    background: white;
    border-radius: 14px;
    padding: 12px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.float-badge-1 {
    bottom: -20px;
    left: -30px;
}

.float-badge-2 {
    top: -18px;
    right: -20px;
}

.float-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.float-icon.blue {
    background: rgba(57, 15, 200, 0.1);
    color: var(--primary-blue);
}

.float-icon.yellow {
    background: rgba(255, 234, 0, 0.2);
    color: #b89a00;
}

.float-label {
    font-size: 0.72rem;
    color: var(--text-gray);
    line-height: 1.2;
}

.float-value {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* =============================================
   SECCIÓN: RADIO
   ============================================= */
.radio-dev-section {
    padding: 90px 5%;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.radio-dev-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(57, 15, 200, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.radio-dev-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.radio-dev-visual {
    position: relative;
}

.radio-mockup-card {
    background: linear-gradient(145deg, #0e0826 0%, #1a0550 50%, #390FC8 100%);
    border-radius: 28px;
    padding: 36px;
    box-shadow: 0 30px 70px rgba(57, 15, 200, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.radio-mockup-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.radio-wave-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 28px;
    height: 60px;
}

.radio-wave-bar {
    width: 5px;
    border-radius: 3px;
    background: linear-gradient(to top, var(--accent-yellow), rgba(255, 234, 0, 0.3));
    animation: waveAnim 1.2s ease-in-out infinite;
}

.radio-wave-bar:nth-child(1) {
    height: 20px;
    animation-delay: 0s;
}

.radio-wave-bar:nth-child(2) {
    height: 40px;
    animation-delay: 0.1s;
}

.radio-wave-bar:nth-child(3) {
    height: 55px;
    animation-delay: 0.2s;
}

.radio-wave-bar:nth-child(4) {
    height: 35px;
    animation-delay: 0.3s;
}

.radio-wave-bar:nth-child(5) {
    height: 50px;
    animation-delay: 0.15s;
}

.radio-wave-bar:nth-child(6) {
    height: 28px;
    animation-delay: 0.25s;
}

.radio-wave-bar:nth-child(7) {
    height: 45px;
    animation-delay: 0.05s;
}

.radio-wave-bar:nth-child(8) {
    height: 20px;
    animation-delay: 0.35s;
}

@keyframes waveAnim {

    0%,
    100% {
        transform: scaleY(0.5);
        opacity: 0.6;
    }

    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

.radio-mockup-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.radio-mockup-thumb {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-yellow), #ff9500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(255, 234, 0, 0.3);
}

.radio-mockup-meta {
    flex: 1;
}

.radio-mockup-meta .station-name {
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 3px;
}

.radio-mockup-meta .station-sub {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.78rem;
}

.radio-mockup-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.rmc-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
}

.rmc-play {
    background: var(--accent-yellow) !important;
    color: #1a1a1a !important;
    width: 52px !important;
    height: 52px !important;
    border: none !important;
    font-size: 1.1rem !important;
    box-shadow: 0 8px 24px rgba(255, 234, 0, 0.4);
}

.rmc-vol {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 6px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

.radio-mockup-bar {
    background: rgba(255, 255, 255, 0.1);
    height: 4px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.radio-mockup-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-yellow), #ff9500);
    border-radius: 2px;
    width: 45%;
    position: relative;
}

.radio-mockup-bar-fill::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -4px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255, 234, 0, 0.4);
}

/* Badges flotantes radio */
.radio-float-badge {
    position: absolute;
    background: #fff;
    border-radius: 16px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    min-width: 200px;
    z-index: 2;
}

.radio-float-badge.rb-1 {
    bottom: -20px;
    right: -20px;
}

.radio-float-badge.rb-2 {
    top: -18px;
    left: -18px;
}

.rfb-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.rfb-icon.purple {
    background: rgba(57, 15, 200, 0.12);
    color: var(--primary-blue);
}

.rfb-icon.yellow {
    background: rgba(255, 234, 0, 0.2);
    color: #c8a000;
}

.rfb-value {
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-dark);
}

.rfb-label {
    font-size: 0.72rem;
    color: var(--text-gray);
}

/* Texto radio */
.radio-dev-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(57, 15, 200, 0.08);
    color: var(--primary-blue);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 22px;
}

.radio-dev-label i {
    font-size: 0.8rem;
    color: var(--accent-yellow);
}

.radio-dev-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 18px;
}

.radio-dev-text h2 span {
    color: var(--primary-blue);
}

.radio-dev-text p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.radio-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 38px;
}

.radio-features-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

.radio-btn-play {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 36px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(57, 15, 200, 0.28);
}

.radio-btn-play:hover {
    background: #2a0996;
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(57, 15, 200, 0.38);
}

.radio-btn-play .play-circle {
    width: 32px;
    height: 32px;
    background: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* =============================================
   FLOATING RADIO PLAYER
   ============================================= */
#floating-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.45s;
    pointer-events: none;
}

#floating-player.visible {
    transform: translateY(0);
    visibility: visible;
    pointer-events: all;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0s;
}

.fp-inner {
    background: linear-gradient(90deg, #0e0826 0%, #1a0550 40%, #390FC8 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 5%;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 -8px 40px rgba(57, 15, 200, 0.3);
}

.fp-station-thumb {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-yellow), #ff9500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(255, 234, 0, 0.35);
    animation: thumbPulse 2s ease-in-out infinite;
}

@keyframes thumbPulse {

    0%,
    100% {
        box-shadow: 0 4px 14px rgba(255, 234, 0, 0.35);
    }

    50% {
        box-shadow: 0 4px 22px rgba(255, 234, 0, 0.6);
    }
}

.fp-info {
    flex: 1;
    min-width: 0;
}

.fp-station-name {
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fp-station-sub {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
    margin-top: 2px;
}

.fp-live-badge {
    background: #ef4444;
    color: white;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 50px;
    letter-spacing: 1px;
    animation: livePulse 1.5s ease-in-out infinite;
    display: inline-block;
    margin-top: 4px;
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.fp-waves {
    display: flex;
    align-items: center;
    gap: 3px;
    margin: 0 10px;
}

.fp-wave-bar {
    width: 3px;
    border-radius: 2px;
    background: rgba(255, 234, 0, 0.6);
    animation: fpWave 1.2s ease-in-out infinite;
}

.fp-wave-bar:nth-child(1) {
    height: 8px;
    animation-delay: 0s;
}

.fp-wave-bar:nth-child(2) {
    height: 16px;
    animation-delay: 0.15s;
}

.fp-wave-bar:nth-child(3) {
    height: 22px;
    animation-delay: 0.3s;
}

.fp-wave-bar:nth-child(4) {
    height: 14px;
    animation-delay: 0.1s;
}

.fp-wave-bar:nth-child(5) {
    height: 18px;
    animation-delay: 0.25s;
}

@keyframes fpWave {

    0%,
    100% {
        transform: scaleY(0.4);
    }

    50% {
        transform: scaleY(1);
    }
}

.fp-waves.paused .fp-wave-bar {
    animation-play-state: paused;
    transform: scaleY(0.4);
}

.fp-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fp-vol-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fp-vol-icon {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.fp-vol-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 90px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.15);
    outline: none;
    cursor: pointer;
}

.fp-vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-yellow);
    cursor: pointer;
    box-shadow: 0 0 0 3px rgba(255, 234, 0, 0.25);
}

#fp-play-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-yellow);
    border: none;
    color: #1a1a1a;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 234, 0, 0.4);
    flex-shrink: 0;
}

#fp-play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(255, 234, 0, 0.55);
}

#fp-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.5);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

#fp-close-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

/* =============================================
   PORTFOLIO
   ============================================= */
.portfolio-section {
    padding: 80px 5%;
}

.portfolio-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--primary-blue);
}

.portfolio-section h2 span {
    color: var(--accent-yellow);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    cursor: pointer;
    transition: var(--transition-main);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-main);
}

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(57, 15, 200, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: var(--transition-main);
}

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

.portfolio-title {
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff;
}

.portfolio-category {
    color: var(--accent-yellow);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* =============================================
   CLIENTS
   ============================================= */
.clients-section {
    padding: 30px 5%;
    text-align: center;
    background: #f8fafc;
}

.client-logo {
    width: 120px;
    filter: grayscale(1);
    opacity: 0.5;
    transition: 0.3s;
}

.client-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* =============================================
   PRECIOS
   ============================================= */
.pricing-section {
    padding: 100px 5%;
    text-align: center;
}

.pricing-section h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 0;
}

.pricing-section h2 span {
    color: var(--primary-blue);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
    align-items: start;
}

.price-card {
    background: #fff;
    padding: 40px;
    border-radius: 25px;
    border: 1px solid #e2e8f0;
    transition: var(--transition-main);
}

.price-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.price-card--featured {
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.price-card--featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.price-card .price {
    font-size: 3rem;
    font-weight: 800;
    margin: 20px 0;
}

.price-period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-gray);
}

.price-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.price-card ul li {
    margin-bottom: 12px;
    color: var(--text-gray);
}

.price-card ul li i {
    color: var(--primary-blue);
    margin-right: 10px;
}

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(57, 15, 200, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: 0.5s ease;
    padding: 20px;
}

.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 45px;
    border-radius: 30px;
    width: 100%;
    max-width: 500px;
    position: relative;
    transform: translateY(50px);
    transition: 0.5s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-title {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: clamp(1.2rem, 3vw, 1.6rem);
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-gray);
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #f1f5f9;
    border-radius: 10px;
    outline: none;
    background: #f8fafc;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
}

.btn-send {
    width: 100%;
    background: var(--primary-blue);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition-main);
}

.btn-send:hover {
    background: #2a0996;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    background: #111111;
    color: #fff;
    padding: 80px 5% 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-text {
    color: white;
}

.footer-desc {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-col h4 {
    color: var(--accent-yellow);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
    color: #94a3b8;
}

.footer-bottom {
    border-top: 1px solid #222;
    margin-top: 50px;
    padding-top: 30px;
    text-align: center;
    color: #475569;
}

/* =============================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================= */
@media (max-width: 1024px) {

    /* Top bar: solo mostrar redes */
    .top-bar {
        justify-content: flex-end;
    }

    .top-info {
        display: none;
    }

    /* Header */
    body {
        padding-top: var(--header-h);
    }

    header {
        top: 0;
    }

    .top-bar {
        display: none;
    }

    /* Hamburger visible */
    .hamburger {
        display: flex;
        position: absolute;
        right: 0;
        padding: 0 15px;
        width: 55px;

    }

    /* Overlay oscuro separado */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 997;
        opacity: 0;
        transition: opacity 0.35s ease;
    }

    .nav-overlay.open {
        display: block;
        opacity: 1;
    }

    /* Nav lateral desde la derecha */
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        /*bottom: 0;*/
        width: 260px;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: calc(var(--header-h) + 0px) 0 40px;
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 998;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 16px 32px;
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--text-dark) !important;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        transition: all 0.2s ease;
        justify-content: flex-start;
    }

    .nav-links a:hover {
        color: var(--primary-blue) !important;
        background: rgba(57, 15, 200, 0.05);
        padding-left: 40px;
    }

    .header-actions .btn-quote {
        display: none;
    }

    /* Hero */
    .hero-container {
        flex-direction: column;
        height: 200px;
        padding: 15px 4%;
        gap: 15px;
    }

    .promo-slider {
        height: 55vw;
        min-height: 280px;
    }

    .social-sidebar {
        flex-direction: row;
        justify-content: center;
        padding: 18px;
        border-radius: 16px;
    }

    .slide-info {
        padding: 0 30px;
    }

    .slider-dots {
        left: 30px;
    }

    /* Web dev */
    .web-dev-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .float-badge-1,
    .float-badge-2 {
        display: none;
    }

    .mockup-wrapper {
        transform: none;
    }

    /* Radio */
    .radio-dev-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .radio-float-badge {
        display: none;
    }

    /* Precios */
    .price-card--featured {
        transform: scale(1);
    }

    .price-card--featured:hover {
        transform: translateY(-10px);
    }
}

/* =============================================
   RESPONSIVE — MÓVIL (max 600px)
   ============================================= */
@media (max-width: 600px) {
    :root {
        --header-h: 65px;
    }

    /* Header */
    .logo {
        font-size: 1.3rem;
    }

    .action-icon {
        display: none;
    }

    /* Hero */
    .hero-container {
        padding: 12px 4%;
    }

    .promo-slider {
        height: 58vw;
        min-height: 240px;
        border-radius: 18px;
    }

    .slide-info {
        padding: 0 20px;
    }

    .slide-info h1 {
        font-size: clamp(1.2rem, 5.5vw, 1.8rem);
        margin-bottom: 10px;
    }

    .slide-info p {
        font-size: 0.85rem;
        margin-bottom: 18px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .btn-slide {
        padding: 10px 22px;
        font-size: 0.8rem;
    }

    .slider-dots {
        left: 18px;
        bottom: 18px;
    }

    .slide-counter {
        display: none;
    }

    .slide-nav {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .social-sidebar {
        gap: 14px;
        padding: 14px 18px;
    }


    .social-sidebar a {
        font-size: 1.2rem;
    }

    /* Secciones */
    .web-dev-section,
    .radio-dev-section {
        padding: 60px 4%;
    }

    .radio-mockup-card {
        padding: 24px;
    }

    /* Portfolio */
    .portfolio-section {
        padding: 60px 4%;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    /* Precios */
    .pricing-section {
        padding: 60px 4%;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .price-card {
        padding: 28px;
    }

    /* Modal */
    .modal-content {
        padding: 28px 22px;
        border-radius: 20px;
    }

    /* Floating player */
    .fp-vol-wrap {
        display: none;
    }

    .fp-waves {
        display: none;
    }

    .fp-inner {
        gap: 12px;
        padding: 12px 4%;
    }

    /* Footer */
    footer {
        padding: 50px 4% 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* =============================================
   RESPONSIVE — MÓVIL PEQUEÑO (max 380px)
   ============================================= */
@media (max-width: 380px) {
    .logo {
        font-size: 1.1rem;
    }

    .promo-slider {
        height: 64vw;
        min-height: 200px;
    }

    .btn-quote {
        padding: 10px 16px;
        font-size: 0.75rem;
    }
}

/* SEO SECTION */
.seo-section {
    padding: 90px 5%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.seo-container {
    max-width: 1100px;
    margin: 0 auto;
}

.seo-section h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.seo-section h2 span {
    color: var(--primary-blue);
}

.seo-section p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.portfolio-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    margin-top: 8px;
    line-height: 1.5;
}

.faq-section {
    padding: 90px 5%;
    background: #ffffff;
}

.faq-container {
    max-width: 1000px;
    margin: auto;
}

.faq-item {
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 15px;
    background: #f8fafc;
    transition: var(--transition-main);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    font-size: 1rem;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* === SEO TWO-COL === */
.seo-two-col {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.seo-text-col {
    flex: 1;
}

.seo-image-col {
    flex: 0 0 420px;
}

.seo-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(66, 40, 196, 0.18);
}

.seo-img-wrapper img {
    width: 100%;
    display: block;
    height: 420px;
    object-fit: cover;
}

.seo-img-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    border-radius: 50px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.seo-img-badge i {
    color: var(--accent);
    font-size: 18px;
}

/* === FAQ TWO-COL === */
.faq-two-col {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-text-col {
    flex: 1;
}

.faq-image-col {
    flex: 0 0 380px;
}

.faq-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: visible;
}

.faq-img-wrapper img {
    width: 100%;
    display: block;
    height: 480px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.faq-img-stat {
    position: absolute;
    background: white;
    border-radius: 50px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 13px;
    color: var(--dark);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.faq-img-stat i {
    color: var(--primary);
}

.faq-stat-1 {
    top: -15px;
    left: -20px;
}

.faq-stat-2 {
    bottom: 20px;
    right: -20px;
}

/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 0 20px 20px;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner.hiding {
    transform: translateY(150%);
    transition: transform 0.35s ease-in;
}

.cookie-inner {
    background: #1a1240;
    border-radius: 18px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    flex-wrap: wrap;
}

.cookie-icon-wrap {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
    color: var(--dark);
}

.cookie-text {
    flex: 1;
    color: white;
    min-width: 200px;
}

.cookie-text strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.cookie-text p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.5;
}

.cookie-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn-accept {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-accept:hover {
    background: #5535e8;
    transform: translateY(-1px);
}

.cookie-btn-essential {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-essential:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {

    .seo-two-col,
    .faq-two-col {
        flex-direction: column;
    }

    .seo-image-col,
    .faq-image-col {
        flex: none;
        width: 100%;
    }

    .seo-img-wrapper img,
    .faq-img-wrapper img {
        height: 280px;
    }

    .faq-stat-1 {
        top: -10px;
        left: 10px;
    }

    .faq-stat-2 {
        bottom: 10px;
        right: 10px;
    }
}

/* =============================================
   SECCIÓN: SERVICIOS DINÁMICOS
   ============================================= */
.services-section {
    padding: 100px 0;
    background: #ffffff;
}

.service-card-new {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, var(--primary-blue) 0%, #2a0996 100%);
    transition: all 0.4s ease;
    z-index: -1;
}

.service-card-new:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(57, 15, 200, 0.15);
    border-color: var(--primary-blue);
}

.service-card-new:hover::before {
    height: 100%;
}

.service-card-new:hover h3,
.service-card-new:hover p,
.service-card-new:hover .features-list li {
    color: #ffffff !important;
}

.service-card-new:hover .web-dev-label {
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent-yellow);
}

.service-card-new:hover .service-icon-box {
    background: var(--accent-yellow);
    color: var(--primary-blue);
    transform: rotate(360deg);
}

.service-icon-box {
    width: 66px;
    height: 66px;
    background: var(--primary-blue);
    color: var(--accent-yellow);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 25px;
    transition: 0.6s ease;
}

.service-card-new h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    transition: 0.3s;
}

.service-card-new p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
    transition: 0.3s;
}

/* =============================================
   HERO / SLIDER (Diseño Original Restaurado)
   ============================================= */
.hero-container {
    display: flex;
    padding: 20px 5%;
    height: 72vh;
    gap: 20px;
    min-height: 480px;
}

.promo-slider {
    flex: 1;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(57, 15, 200, 0.18);
    position: relative;
}

.slides-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    background-color: #1a1a1a !important;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.9s cubic-bezier(0.77, 0, 0.18, 1);
    pointer-events: none;
}

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

.slide-info {
    padding: 0 70px;
    max-width: 700px;
}

.badge {
    display: inline-block;
    background: var(--accent-yellow);
    color: #1a1a1a;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 22px;
}

.slide-info h1 {
    font-size: clamp(1.6rem, 4vw, 3.4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 18px;
}

.slide-info p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.btn-slide {
    background: var(--accent-yellow);
    color: #1a1a1a;
    padding: 15px 38px;
    border: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 28px;
    left: 70px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.dot.active {
    background: var(--accent-yellow);
    width: 30px;
    border-radius: 5px;
}

.slide-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--accent-yellow);
    width: 0%;
    transition: width linear;
}

/* SIDEBAR SOCIAL */
.social-sidebar {
    background: white;
    padding: 20px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /*height: fit-content;*/
    height: 650px;
    align-self: center;
}

.social-sidebar a {
    color: var(--text-gray);
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-sidebar a:hover {
    color: var(--primary-blue);
    transform: scale(1.2);
}

@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;

    }

    .social-sidebar {
        flex-direction: row;
        width: 100%;
        justify-content: center;
        height: fit-content;
    }

    .promo-slider {
        height: 80vw;
        /* Más alto para que se vea el fondo oscuro y el texto */
        min-height: 380px;
    }
}

/* =============================================
   PÁGINA DE CONTACTO
   ============================================= */

/* No sobreescribimos el body de main.css para no romper el header fijo */

.contact-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e1b4b 100%);
    padding: 60px 5% 100px;
    /* Reducido para que no sea tan gigante */
    text-align: center;
    color: white;
    /* Un clip-path más sutil para que no "muerda" el contenido en móviles */
    clip-path: ellipse(180% 100% at 50% 0%);
    position: relative;
}

.contact-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.contact-hero p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.contact-grid {
    max-width: 1200px;
    margin: -60px auto 80px;
    /* Sube un poco para entrar en el hero */
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    position: relative;
    z-index: 10;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(57, 15, 200, 0.1);
}

.info-icon {
    width: 55px;
    height: 55px;
    background: rgba(57, 15, 200, 0.06);
    color: var(--primary-blue);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-details h3 {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.info-details p {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    word-break: break-word;
    /* Evita que correos largos rompan el diseño */
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.contact-form h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text-dark);
}

/* Reutilizamos estilos de form-group de components.css si existen, 
   si no, los definimos aquí para asegurar limpieza */
.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.85rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    background: #f8fafc;
    transition: 0.3s;
    font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-blue);
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(57, 15, 200, 0.05);
}

.map-section {
    width: 100%;
    height: 450px;
    border-top: 1px solid #eee;
}

/* RESPONSIVE CONTACTO */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        margin-top: -40px;
    }

    .contact-hero {
        padding: 40px 5% 80px;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        padding: 25px;
    }

    .info-card {
        padding: 18px;
    }
}

/* Estilos específicos de Páginas Legales para replicar el diseño original */
:root {
    --primary-blue: #390FC8;
    --accent-yellow: #FFEA00;
    --text-dark: #1a1a1a;
    --text-gray: #64748b;
    --header-h: 70px;
    --top-bar-h: 38px;
}

body {
    padding-top: calc(var(--top-bar-h) + var(--header-h));
}

.legal-hero {
    background: linear-gradient(125deg, rgba(57, 15, 200, 0.94) 0%, rgba(0, 0, 0, 0.62) 100%), url('https://images.unsplash.com/photo-1557683316-973673baf926?auto=format&fit=crop&w=1400&q=80') center/cover;
    padding: 90px 5% 80px;
    text-align: center;
    color: #fff;
}

.legal-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}

.legal-hero p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .8);
    max-width: 560px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 234, 0, 0.15);
    border: 1px solid rgba(255, 234, 0, 0.3);
    color: var(--accent-yellow);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.legal-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 5%;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 40px);
}

.sidebar-card {
    background: linear-gradient(135deg, #f8f9ff, #eef2ff);
    border: 1px solid rgba(57, 15, 200, .12);
    border-radius: 24px;
    padding: 28px 24px;
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-gray);
    transition: 0.3s;
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
    background: rgba(57, 15, 200, .08);
    color: var(--primary-blue);
}

.legal-content h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    margin-top: 40px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Estilos para listas con iconos (como en Privacidad) */
.legal-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.legal-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.legal-features-list i {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-top: 4px;
}

.legal-features-list span {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.5;
}

/* Eliminar puntos de lista en estas listas específicas */
.legal-features-list li::before {
    display: none !important;
}

@media (max-width: 991px) {
    .legal-wrapper {
        grid-template-columns: 1fr;
        padding-top: 20px;
        gap: 20px;
    }

    .legal-sidebar {
        order: -1;
        /* Sidebar arriba en móvil */
    }

    .sidebar-card {
        padding: 20px;
    }

    .sidebar-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .sidebar-nav li {
        flex: 1 1 calc(50% - 10px);
        margin: 0;
    }
}

.sidebar-nav li a i {
    color: var(--primary-blue);
    opacity: 0.7;
    transition: 0.3s;
}

.sidebar-nav li a.active i {
    opacity: 1;
    transform: scale(1.1);
}

/* =============================================
   SERVICIOS PREMIUM: DISEÑO DE ALTA GAMA
   ============================================= */
.premium-services-section {
    padding: 100px 5%;
    background: #ffffff;
    text-align: center;
}

.section-header .badge {
    background: rgba(57, 15, 200, 0.08);
    color: var(--primary-blue);
    padding: 8px 20px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-top: 20px;
    margin-bottom: 60px;
    color: #0f172a;
}

.services-3-col-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
}

.service-card-premium {
    background: #fff;
    border-radius: 35px;
    padding: 40px;
    text-align: left;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card-premium:hover {
    transform: translateY(-20px);
    box-shadow: 0 30px 60px rgba(57, 15, 200, 0.12);
    border-color: rgba(57, 15, 200, 0.1);
}

.card-image-wrap {
    width: 100%;
    height: 220px;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s ease;
}

.service-card-premium:hover .card-image-wrap img {
    transform: scale(1.1);
}

.card-icon-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card-body h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 15px;
}

.card-body p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.mini-features {
    list-style: none;
    margin-bottom: 30px;
}

.mini-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
}

.mini-features i {
    color: #10b981;
    /* Verde esmeralda para los checks */
    font-size: 1rem;
}

.btn-card-premium {
    margin-top: auto;
    padding: 16px;
    border-radius: 20px;
    background: #f8fafc;
    border: none;
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
    cursor: pointer;
}

.service-card-premium:hover .btn-card-premium {
    background: var(--primary-blue);
    color: #fff;
}

/* =============================================
   VARIABLES Y RESET
   ============================================= */
:root {
    --primary-blue: #390FC8;
    --accent-yellow: #FFEA00;
    --text-dark: #1a1a1a;
    --text-gray: #64748b;
    --bg-white: #ffffff;
    --transition-main: all 0.3s ease;
    --top-bar-h: 38px;
    --header-h: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    overflow-x: hidden;
    padding-top: calc(var(--top-bar-h) + var(--header-h));
}

@media (max-width: 1024px) {
    body {
        padding-top: var(--header-h);
    }
}

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
    background-color: var(--primary-blue);
    color: white;
    padding: 0 5%;
    height: var(--top-bar-h);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-info i {
    color: var(--accent-yellow);
}

.top-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-social a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
    opacity: 0.8;
    font-size: 0.9rem;
}

.top-social a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* =============================================
   HEADER
   ============================================= */
header {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    position: fixed;
    top: var(--top-bar-h);
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: var(--header-h);
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 5%;
}

.logo {
    font-weight: 800;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-blue);
    text-decoration: none;
    flex-shrink: 0;
}

.logo .bulb-icon {
    color: var(--accent-yellow);
}

.logo .idea-text {
    font-weight: 400;
    font-size: 1.1rem;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition-main);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Nav */
.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: var(--transition-main);
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 30px;
}

.action-icon {
    font-size: 1.1rem;
    color: var(--text-dark);
    cursor: pointer;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary-blue);
    color: white;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: 800;
}

/* RESPONSIVE HEADER */
@media (max-width: 1024px) {
    .top-bar {
        display: none;
    }

    header {
        top: 0;
    }

    .header-container {
        padding: 0 20px;
        /* Asegura margen para el logo y el hamburguesa */
    }

    .hamburger {
        display: flex;
        margin-right: 20px;
        /* Un pequeño margen extra */
    }

    .slide-info {
        padding: 0 30px;
        /* Menos margen en móvil para que quepa el texto */
        text-align: center;
    }

    .slide-info h1 {
        font-size: 1.8rem;
    }

    .nav-overlay.open {
        display: block;
        opacity: 1;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: calc(var(--header-h) + 20px) 0 40px;
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 998;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 16px 32px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        width: 100%;
    }

    .header-actions .btn-quote {
        display: none;
    }
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    background: #111111;
    color: #fff;
    padding: 80px 5% 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-text {
    color: white;
}

.footer-desc {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-col h4 {
    color: var(--accent-yellow);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #222;
    margin-top: 50px;
    padding-top: 30px;
    text-align: center;
    color: #475569;
}

/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 0 20px 20px;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner.hiding {
    transform: translateY(150%);
    transition: transform 0.35s ease-in;
}

.cookie-inner {
    background: #1a1240;
    border-radius: 18px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    flex-wrap: wrap;
}

.cookie-icon-wrap {
    width: 48px;
    height: 48px;
    background: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
    color: #1a1a1a;
}

.cookie-text {
    flex: 1;
    color: white;
    min-width: 200px;
}

.cookie-text strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.cookie-text p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.5;
}

.cookie-link {
    color: var(--accent-yellow);
    font-weight: 600;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn-accept {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-essential {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   COMPONENTE: MODAL
   ============================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(57, 15, 200, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: 0.5s ease;
    padding: 20px;
}

.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 45px;
    border-radius: 30px;
    width: 100%;
    max-width: 500px;
    position: relative;
    transform: translateY(50px);
    transition: 0.5s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-title {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: clamp(1.2rem, 3vw, 1.6rem);
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-gray);
}

/* =============================================
   COMPONENTE: FLOATING PLAYER
   ============================================= */
#floating-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 999;
    transform: translateY(100%);
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.08);
}

#floating-player.visible {
    transform: translateY(0);
}

.fp-inner {

    margin: 0 auto;
    padding: 15px 5%;
    display: flex;
    align-items: center;
    gap: 30px;
}

.fp-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.fp-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.fp-text h4 {
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.fp-text p {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.fp-waves {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 20px;
}

.fp-waves span {
    width: 3px;
    height: 100%;
    background: var(--primary-blue);
    border-radius: 10px;
    animation: wave 1s ease-in-out infinite alternate;
}

.fp-waves.paused span {
    animation-play-state: paused;
}

@keyframes wave {
    0% {
        height: 20%;
    }

    100% {
        height: 100%;
    }
}

/* =============================================
   BOTONES Y UTILIDADES
   ============================================= */
.btn-primary {
    background: var(--primary-blue);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition-main);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #2a0996;
    box-shadow: 0 5px 15px rgba(57, 15, 200, 0.3);
}

/* =============================================
   HERO / SLIDER (Diseño Original Restaurado)
   ============================================= */
.hero-container {
    display: flex;
    padding: 20px 5%;
    height: 72vh;
    gap: 20px;
    min-height: 480px;
}

.promo-slider {
    flex: 1;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(57, 15, 200, 0.18);
    position: relative;
}

.slides-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.9s cubic-bezier(0.77, 0, 0.18, 1);
    pointer-events: none;
}

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

.slide-info {
    padding: 0 70px;
    max-width: 700px;
}

.badge {
    display: inline-block;
    background: var(--accent-yellow);
    color: #1a1a1a;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 22px;
}

.slide-info h1 {
    font-size: clamp(1.6rem, 4vw, 3.4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 18px;
}

.slide-info p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.btn-slide {
    background: var(--accent-yellow);
    color: #1a1a1a;
    padding: 15px 38px;
    border: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 28px;
    left: 70px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.dot.active {
    background: var(--accent-yellow);
    width: 30px;
    border-radius: 5px;
}

.slide-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--accent-yellow);
    width: 0%;
    transition: width linear;
}

/* SIDEBAR SOCIAL */
.social-sidebar {
    background: white;
    padding: 20px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 650px;
    /*height: fit-content;*/
    align-self: center;
}

.social-sidebar a {
    color: var(--text-gray);
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-sidebar a:hover {
    color: var(--primary-blue);
    transform: scale(1.2);
}

@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;

    }

    .social-sidebar {
        flex-direction: row;
        width: 100%;
        justify-content: center;
        height: fit-content;
    }

    .promo-slider {
        height: 55vw;
        min-height: 280px;
    }
}

/* =============================================
   PÁGINA DE CONTACTO
   ============================================= */

/* No sobreescribimos el body de main.css para no romper el header fijo */

.contact-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e1b4b 100%);
    padding: 60px 5% 100px;
    /* Reducido para que no sea tan gigante */
    text-align: center;
    color: white;
    /* Un clip-path más sutil para que no "muerda" el contenido en móviles */
    clip-path: ellipse(180% 100% at 50% 0%);
    position: relative;
}

.contact-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.contact-hero p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.contact-grid {
    max-width: 1200px;
    margin: -60px auto 80px;
    /* Sube un poco para entrar en el hero */
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    position: relative;
    z-index: 10;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(57, 15, 200, 0.1);
}

.info-icon {
    width: 55px;
    height: 55px;
    background: rgba(57, 15, 200, 0.06);
    color: var(--primary-blue);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-details h3 {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.info-details p {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    word-break: break-word;
    /* Evita que correos largos rompan el diseño */
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.contact-form h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text-dark);
}

/* Reutilizamos estilos de form-group de components.css si existen, 
   si no, los definimos aquí para asegurar limpieza */
.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.85rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    background: #f8fafc;
    transition: 0.3s;
    font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-blue);
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(57, 15, 200, 0.05);
}

.map-section {
    width: 100%;
    height: 450px;
    border-top: 1px solid #eee;
}

/* RESPONSIVE CONTACTO */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        margin-top: -40px;
    }

    .contact-hero {
        padding: 40px 5% 80px;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        padding: 25px;
    }

    .info-card {
        padding: 18px;
    }
}

/* Estilos específicos de Páginas Legales para replicar el diseño original */
:root {
    --primary-blue: #390FC8;
    --accent-yellow: #FFEA00;
    --text-dark: #1a1a1a;
    --text-gray: #64748b;
    --header-h: 70px;
    --top-bar-h: 38px;
}

body {
    padding-top: calc(var(--top-bar-h) + var(--header-h));
}

.legal-hero {
    background: linear-gradient(125deg, rgba(57, 15, 200, 0.94) 0%, rgba(0, 0, 0, 0.62) 100%), url('https://images.unsplash.com/photo-1557683316-973673baf926?auto=format&fit=crop&w=1400&q=80') center/cover;
    padding: 90px 5% 80px;
    text-align: center;
    color: #fff;
}

.legal-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}

.legal-hero p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .8);
    max-width: 560px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 234, 0, 0.15);
    border: 1px solid rgba(255, 234, 0, 0.3);
    color: var(--accent-yellow);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.legal-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 5%;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 40px);
}

.sidebar-card {
    background: linear-gradient(135deg, #f8f9ff, #eef2ff);
    border: 1px solid rgba(57, 15, 200, .12);
    border-radius: 24px;
    padding: 28px 24px;
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-gray);
    transition: 0.3s;
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
    background: rgba(57, 15, 200, .08);
    color: var(--primary-blue);
}

.legal-content h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    margin-top: 40px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Estilos para listas con iconos (como en Privacidad) */
.legal-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.legal-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.legal-features-list i {
    color: var(--accent-yellow);
    font-size: 1.1rem;
    margin-top: 4px;
}

.legal-features-list span {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.5;
}

/* Eliminar puntos de lista en estas listas específicas */
.legal-features-list li::before {
    display: none !important;
}

/* Ajuste específico para el Header de Legales en Móvil */
@media (max-width: 768px) {
    .legal-header {
        padding: 30px 20px;

        margin-bottom: 3 .legal-header h1 {
            font-size: 1.8rem;
        }

        .legal-features-list i {
            flex-shrink: 0;
        }
    }

    /* =============================================
   SOLUCIÓN FINAL: TARJETAS DE COOKIES (RESPONSIVE)
   ============================================= */
    .cookie-details-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        margin: 30px 0;
    }

    .cookie-detail-card {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
        transition: 0.3s ease;
    }

    .cookie-detail-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(57, 15, 200, 0.08);
        border-color: rgba(57, 15, 200, 0.2);
    }

    .cookie-detail-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
        padding-bottom: 12px;
        border-bottom: 1px solid #f1f5f9;
    }

    .cookie-detail-header strong {
        font-size: 1.1rem;
        color: #390fc8;
    }

    .cookie-detail-body p {
        font-size: 0.9rem;
        color: #64748b;
        margin-bottom: 8px !important;
        line-height: 1.5;
    }

    .cookie-detail-body p span {
        font-weight: 700;
        color: #1e293b;
        margin-right: 5px;
    }

    @media (max-width: 480px) {
        .cookie-details-grid {
            grid-template-columns: 1fr;
        }

        .cookie-detail-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
        }
    }

    /* === RESPONSIVE GENERAL PARA TODAS LAS PAGINAS LEGALES === */
    @media (max-width: 991px) {
        .legal-wrapper {
            grid-template-columns: 1fr;
            padding: 40px 5%;
            gap: 40px;
        }

        .legal-sidebar {
            position: static;
            order: -1;
        }

        .sidebar-nav {
            display: flex;
            overflow-x: auto;
            gap: 10px;
            padding-bottom: 15px;
            scrollbar-width: thin;
        }

        .sidebar-nav li {
            flex-shrink: 0;
        }

        .sidebar-nav li a {
            white-space: nowrap;
            background: rgba(57, 15, 200, 0.05);
            border: 1px solid rgba(57, 15, 200, 0.1);
        }
    }

    /* Componentes Especiales de Privacidad y Términos */
    .legal-cta-box,
    .warning-box,
    .info-box,
    .contact-card {
        padding: 25px;
        border-radius: 20px;
        margin: 30px 0;
    }

    .legal-cta-box {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        text-align: center;
    }

    .warning-box {
        background: #fffbeb;
        border-left: 5px solid #f59e0b;
        color: #92400e;
    }

    .btn-slide,
    .btn-quote {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 12px 25px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 700;
        transition: 0.3s;
        border: none;
        cursor: pointer;
    }

    .btn-slide {
        background: #390fc8;
        color: #fff;
    }

    .btn-quote {
        background: #FFEA00;
        color: #000;
    }

    @media (max-width: 768px) {
        .legal-hero {
            padding: 60px 5%;
        }

        .legal-hero h1 {
            font-size: 2.2rem;
        }

        .legal-content h2 {
            font-size: 1.4rem;
        }

        .legal-content p {
            font-size: 0.95rem;
        }
    }

    s: flex-start;
    gap: 10px;
}
}