[v-cloak] {display: none !important;}
/* ========================================
   SISTEMA COMPLETO DE VARIABLES CSS
   PALETA OFICIAL - LIBROS QUE TE LLEGAN
======================================== */

:root {
    /* ========================= PALETA DE COLORES OFICIAL ========================= */
    --color-lila: #b696c6;
    --color-perico: #dce389;
    --color-turquesa: #b1d8b9;
    --color-rojo: #e64a34;
    --color-verde-oscuro: #0f331c;

    /* ========================= PALETA DE COLORES BASICOS ========================= */
    --color-blanco: #ffffff;
    --color-negro: #000000;
    --color-gris: #666666;
    --color-gris-claro: #f9f9f9;

    /* ========================= VARIACIONES DE COLORES PRINCIPALES ========================= */
    /* Variaciones del lila */
    --color-lila-light: #c8a8d8;
    --color-lila-dark: #a484b4;
    --color-lila-transparent: rgba(182, 150, 198, 0.1);

    /* Variaciones del verde perico */
    --color-perico-light: #e6f099;
    --color-perico-dark: #d2d979;
    --color-perico-transparent: rgba(220, 227, 137, 0.1);

    /* Variaciones del turquesa */
    --color-turquesa-light: #c1e0c9;
    --color-turquesa-dark: #a1c8a9;
    --color-turquesa-transparent: rgba(177, 216, 185, 0.1);

    /* Variaciones del rojo */
    --color-rojo-light: #ea5a44;
    --color-rojo-dark: #d13d2a;
    --color-rojo-transparent: rgba(230, 74, 52, 0.1);

    /* Variaciones del verde oscuro */
    --color-verde-light: #B4D0BE;
    --color-verde-oscuro-light: #1a4a2a;
    --color-verde-oscuro-profundo: #0f331c;
    --color-verde-oscuro-dark: #0a2212;
    --color-verde-oscuro-transparent: rgba(15, 51, 28, 0.1);

    /* ========================= SISTEMA DE COLORES DE TEXTO ========================= */
    /* Colores de texto principales */
    --text-blanco: var(--color-blanco);
    --text-negro: var(--color-negro);
    --text-gris: var(--color-gris);
    --text-gris-feature: 215.4 16.3% 46.9%;

    /* Colores de texto sobre fondos de color */
    --text-on-lila: var(--color-rojo);
    --text-on-perico: var(--color-verde-oscuro);
    --text-on-turquesa: var(--color-rojo);
    --text-on-verde-oscuro: var(--color-perico);

    /* ========================= SISTEMA DE FONDOS ========================= */
    /* Fondos principales */
    --bg-primary: var(--color-blanco);
    --bg-secondary: var(--color-gris-claro);

    /* Fondos de secciones */
    --bg-hero: var(--color-lila);
    --bg-how-it-works: var(--color-perico);
    --bg-book-of-month: var(--color-turquesa);
    --bg-previous-books: var(--color-lila);
    --bg-publishers: var(--color-perico);
    --bg-faq: var(--color-turquesa);
    --bg-contact: var(--color-lila);
    --bg-footer: var(--color-negro);

    /* ========================= SISTEMA DE BORDES ========================= */
    /* Bordes principales */
    --border-primary: var(--color-gris);
    --border-secondary: var(--color-gris-claro);
    --border-accent: var(--color-rojo);
    --border-accent-secondary: var(--color-verde-oscuro);

    /* Bordes de color */
    --border-lila: var(--color-lila);
    --border-perico: var(--color-perico);
    --border-turquesa: var(--color-turquesa);

    /* ========================= SISTEMA DE FUENTES ========================= */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --font-tertiary: 'Montserrat', sans-serif;
    --font-quaternary: 'Lato', sans-serif;
    --font-quinary: 'Open Sans', sans-serif;
    --font-senary: 'Raleway', sans-serif;

    /* ========================= SISTEMA DE SOMBRAS ========================= */
    /* Sombras base */
    --shadow-none: none;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

    /* Sombras de color */
    --shadow-lila: 0 4px 12px rgba(182, 150, 198, 0.2);
    --shadow-perico: 0 4px 12px rgba(220, 227, 137, 0.2);
    --shadow-turquesa: 0 4px 12px rgba(177, 216, 185, 0.2);
    --shadow-rojo: 0 4px 12px rgba(230, 74, 52, 0.2);
    --shadow-verde-oscuro: 0 4px 12px rgba(15, 51, 28, 0.2);

    /* Sombras hover */
    --shadow-hover-lila: 0 8px 20px rgba(182, 150, 198, 0.3);
    --shadow-hover-perico: 0 8px 20px rgba(220, 227, 137, 0.3);
    --shadow-hover-turquesa: 0 8px 20px rgba(177, 216, 185, 0.3);
    --shadow-hover-rojo: 0 8px 20px rgba(230, 74, 52, 0.3);
    --shadow-hover-verde-oscuro: 0 8px 20px rgba(15, 51, 28, 0.3);

    /* ========================= SISTEMA DE BOTONES ========================= */
    /* Botón primario */
    --btn-primary-bg: var(--color-rojo);
    --btn-primary-color: var(--text-white);
    --btn-primary-border: var(--color-rojo);
    --btn-primary-shadow: var(--shadow-rojo);
    --btn-primary-hover-bg: var(--color-rojo-dark);
    --btn-primary-hover-shadow: var(--shadow-hover-rojo);

    /* Botón secundario */
    --btn-secondary-bg: var(--color-verde-oscuro);
    --btn-secondary-color: var(--text-white);
    --btn-secondary-border: var(--color-verde-oscuro);
    --btn-secondary-shadow: var(--shadow-verde-oscuro);
    --btn-secondary-hover-bg: var(--color-verde-oscuro-light);
    --btn-secondary-hover-shadow: var(--shadow-hover-verde-oscuro);

    /* Botón outline */
    --btn-outline-bg: transparent;
    --btn-outline-color: var(--color-rojo);
    --btn-outline-border: var(--color-rojo);
    --btn-outline-hover-bg: var(--color-rojo);
    --btn-outline-hover-color: var(--text-white);

    /* ========================= SISTEMA DE ESTADOS ========================= */
    /* Estados de éxito */
    --success-bg: var(--color-verde-oscuro);
    --success-color: var(--color-blanco);
    --success-border: var(--color-verde-oscuro);

    /* Estados de error */
    --error-bg: var(--color-rojo);
    --error-color: var(--color-blanco);
    --error-border: var(--color-rojo);

    /* Estados de advertencia */
    --warning-bg: var(--color-perico);
    --warning-color: var(--color-negro);
    --warning-border: var(--color-perico);

    /* Estados de información */
    --info-bg: var(--color-turquesa);
    --info-color: var(--color-negro);
    --info-border: var(--color-turquesa);

    /* ========================= SISTEMA DE ESPACIADO ========================= */
    /* Espaciado base */
    --spacing-none: 0;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* ========================= SISTEMA DE TAMAÑOS ========================= */
    /* Tamaños de fuente */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.5rem;
    --font-size-4xl: 3rem;
    --font-size-5xl: 3.5rem;
    --font-size-6xl: 4rem;

    /* Pesos de fuente */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Interlineado */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;

    /* ========================= SISTEMA DE BORDER RADIUS ========================= */
    --border-radius-none: 0;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-2xl: 32px;
    --border-radius-3xl: 40px;

    /* ========================= SISTEMA DE TRANSICIONES ========================= */
    --transition-none: none;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    --muted-foreground: 215.4 16.3% 46.9%;
}

/* Estilos base y configuración */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";
    line-height: 1.6;
    color: var(--color-negro);
    background-color: var(--color-blanco);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Botones usados en Header y en Hero Section */
.btn,
a[href*="regalo"] {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary,
a[href*="planes"] {
    background: #e64a34;
    color: #fff;
}

.btn-primary:hover,
a[href*="planes"]:hover {
    background: #ca3a26;
}

.btn-primary,
a[href*="#suscribete-ahora"] {
    background: #e64a34;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.br-suscribete{
    border-radius: 8px;
}

.btn-primary,
a[href*="#suscribete-ahora"]:hover {
    background: #ca3a26;
}

.btn-secondary,
a[href*="regalo"] {
    background: #fff;
    color: #0f331c;
    border: 1px solid #000;
    font-weight: 500;
}

.btn-secondary:hover,
a[href*="regalo"]:hover {
    background: #b1d8b9;
    color: #fff;
    border: 1px solid #ffffff;
}

/* Secciones */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--color-negro);
}

/* ========================= HEADER ========================= */

.headerarea {
    background: var(--color-verde-oscuro-profundo);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 2rem 0;
    min-height: 80px;
    font-family: sans-serif;
}

.headerarea__3 {
    padding: 0;
}

/* Contenedor principal */
.desktop__menu__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 2rem;
    min-height: 60px;
}

/* --------------------- LOGO --------------------- */
.header-logo {
    flex-shrink: 0;
}

.header-logo img {
    max-height: 80px;
    height: auto;
    width: auto;
    display: block;
}

.logo-link {
    text-decoration: none;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.logo-link h1 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-negro);
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

/* --------------------- NAVEGACIÓN --------------------- */
.header-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 0.5rem 0;
}

.nav-link {
    text-decoration: none;
    color: var(--color-blanco);
    font-weight: 400;
    transition: color 0.3s ease;
    padding: 1rem 0;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.4;
}

.nav-link:hover {
    color: var(--color-verde-light);
}

/* --------------------- BOTONES DE ACCIÓN --------------------- */
.header-actions {
    flex-shrink: 0;
}

.action-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
}

.btn-primary {
    background: var(--color-rojo);
    color: var(--color-blanco);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    font-size: 1rem;
    line-height: 1.4;
}

.btn-primary:hover {
    background: var(--color-gris);
}

.btn-secondary {
    background: var(--color-blanco);
    color: var(--color-verde-oscuro-profundo);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--color-negro);
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 1rem;
    line-height: 1.4;
}

.btn-secondary:hover {
    background: var(--color-negro);
    color: var(--color-blanco);
}

/* --------------------- BOTÓN MÓVIL --------------------- */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    flex-shrink: 0;
}

 /* Asegurar que el icono sea visible */
    .mobile-menu-btn svg {
        width: 24px;
        height: 24px;
        stroke: white !important; /* Forzar color blanco */
        stroke-width: 2px;
    }

/* --------------------- MENÚ MÓVIL --------------------- */
.mobile-menu {
    display: none;
    background: var(--color-verde-oscuro);
    border-top: 1px solid #e5e5e5;
    padding: 1.5rem 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-link {
    text-decoration: none;
    color: var(--color-gris);
    padding: 1rem 1rem;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.mobile-link:hover {
    color: var(--color-verde-light);
}

.mobile-btn-primary,
.mobile-btn-secondary {
    width: 100%;              /* Ocupar todo el ancho */
    display: block;           /* Asegura que sean de bloque */
    text-align: center;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    text-decoration: none;
    margin: 0;                /* Quitamos márgenes laterales */
    box-shadow: 0 4px 6px rgba(0,0,0,0.2); /* sombra base */
}

.mobile-btn-primary {
    background: var(--color-negro);
    color: var(--color-blanco);
}

.mobile-btn-secondary {
    background: var(--color-blanco);
    color: var(--color-negro);
    border: 1px solid var(--color-negro);
}

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

    .header-navigation,
    .header-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    .mobile-menu:not(.hidden) {
        display: block;
    }

    .desktop__menu__wrapper {
        justify-content: space-between;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .desktop__menu__wrapper {
        flex-direction: row; /* no columna */
        justify-content: space-between;
        align-items: center;
    }
    .header-logo {
        order: 1; /* siempre primero */
    }
    .mobile-menu-btn {
        order: 2; /* siempre después del logo */
         display: block !important; /* Forzar visualización */
   
    }

}

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

    .desktop__menu__wrapper {
        padding: 0 15px;
    }

    .logo-link h1 {
        font-size: 1.25rem;
    }

    .nav-link {
        padding: 0.75rem 0;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.25rem;
    }
}

/* ========================= HERO SECTION ========================= */

.hero-section {
    padding-top: 5px;
    padding-left: 75px;
    padding-bottom: 0.1rem;
    background-image: url('../images/actualizadas/fondo.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: multiply;
    background-position: center 45%;
}

/* Grid principal */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    margin-bottom: 50px;
}

/* -------------------- Contenido -------------------- */
.hero-content {
    max-width: 800px;
    padding-right: 40px;
    position: relative;
    z-index: 3;
}

.titles {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--color-blanco);
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--color-blanco);
}

/* -------------------- Imagen -------------------- */
.hero-image {
    margin-left: 0;
    padding-right: 0;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.hero-image img {
    width: 380px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* -------------------- Responsive -------------------- */
@media (max-width: 1280px) {
    .titles {
        font-size: 3.5rem;
    }

    .hero-content p {
        font-size: 1.125rem;
    }
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-content {
        padding-right: 0;
        margin: 0 auto;
    }

    .hero-image img {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .titles {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-image img {
        width: 250px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .titles {
        font-size: 2rem;
    }

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

    .hero-image img {
        width: 200px;
    }
}

/* =========================  ¿QUÉ ES / QUÉ OFRECEMOS? ========================= */

/* Títulos y subtítulos */
.section-title {
    color: #b696c6;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 0;
    letter-spacing: -.02em;
    display: inline-block;
    width: 100%;
    position: relative;
    margin-top: 40px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #b696c6;
    margin: 1rem auto;
    border-radius: 10px;
    margin-top: 0;
}

.section-subtitle {
    font-size: 1.25rem;
    line-height: 1.75rem;
    color: hsl(var(--muted-foreground));
    margin: 0 auto 2.5rem auto;
    text-align: center;
    max-width: 850px;
}

/* Contenedor de los feature items */
.books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 4rem auto;
    max-width: 1000px;
    position: relative;
}

/* Línea decorativa debajo de los iconos */
.books-grid::before {
    content: "";
    position: absolute;
    top: 6.5rem;
    left: 10%;
    width: 80%;
    height: 3px;
    background-color: #b696c6;
    z-index: 0;
    border-radius: 2px;
}

/* Cada feature-item */
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    position: relative;
    z-index: 1;
}

/* Línea decorativa pequeña debajo del título */
.feature-item::after {
    content: '';
    display: block;
    width: 40px;
    height: 5px;
    background-color: rgb(207, 207, 207);
    border-radius: 10px;
    margin: 0.5rem 0 0 0;
}

/* Contenedor de los iconos */
.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.feature-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Ajusta la imagen al contenedor sin deformarla */
}

/* Estilo opcional para iconos con borde y efecto hover */
.feature-icon-border {
    background: #b696c6;
    color: #fff;
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-icon-border:hover {
    transform: scale(1.08);
    box-shadow: 0 20px 50px rgba(177, 156, 217, 0.35);
}

/* Caja de “Nuestra promesa” */
.promise-box {
    background: linear-gradient(135deg, rgba(177, 156, 217, 0.1), rgba(209, 196, 233, 0.1));
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 2.5rem;
    max-width: 750px;
    margin: 3rem auto 0;
    position: relative;
    overflow: hidden;
}

/* =========================  RESPONSIVE ========================= */

/* Tablets: 2 columnas */
@media (max-width: 900px) {
    .books-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Móviles: 1 columna */
@media (max-width: 600px) {
    .books-grid {
        grid-template-columns: 1fr;
    }

    /* Ocultar línea decorativa en móviles */
    .books-grid::before {
        display: none;
    }

    .feature-item {
        margin-bottom: 2rem;
    }

    .feature-icon {
        width: 4rem;
        height: 4rem;
    }
}

/* =========================  SECCIÓN PLANES ========================= */

/* Contenedor principal */
.pricing-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
}

/* ========================= Encabezado ========================= */
.pricing-header {
    text-align: center;
    margin-bottom: 5rem;
    margin-top: 3rem;
}

.pricing-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #e64a34;
    margin-bottom: 0.5rem;
    display: inline-block;
    position: relative;
    letter-spacing: -.02em;
}

.pricing-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #e64a34;
    margin: 0.5rem auto 0;
    border-radius: 10px;
}

.pricing-subtitle {
    font-size: 1.5rem;
    color: #6c757d;
    font-weight: 400;
    margin-top: 0.5rem;
}

/* ========================= Cards de Plan ========================= */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

/* Cada card */
.pricing-card {
    background: white;
    border-radius: 10px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    display: block;
    background: linear-gradient(to right, #e64a34, #e64a34);
    border-radius: 5px;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Card destacada */
.pricing-card.featured {
    border: 3px solid #e64a34;
    transform: scale(1.05);
}

.pricing-card.selected {
    border: 3px solid #e64a34;
    transform: scale(1.05);
}



.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #e64a34;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* ========================= Contenido de cada plan ========================= */
.plan-header {
    margin: 1rem 0 1rem 0;
}

.plan-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.plan-description {
    font-size: 1rem;
    color: #6c757d;
}

/* Precio */
.plan-price {
    margin: 1rem 0;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #e64a34;
}

.price-suscription {
    font-size: 2rem;
    font-weight: 800;
    color: #e64a34;
}

.price-period {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
}

/* Lista de características */
.plan-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 1rem;
}

.plan-features li {
    padding: 0.25rem 0 0.25rem 2rem;
    font-size: 1rem;
    color: #000;
    position: relative;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e64a34;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Botón de suscripción */
.plan-button {
    background: #e64a34;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
    margin-bottom: 1rem;
}

.plan-button:hover {
    background: #ca3a26;
    transform: translateY(-2px);
}

/* ========================= Sección de regalo ========================= */
.gift-section {
    text-align: center;
    margin-top: 3rem;
}

.gift-question {
    font-size: 1.2rem;
    color: #737579;
    margin-bottom: 1.5rem;
}

.gift-button {
    background: transparent;
    color: #e64a34;
    border: 1.5px solid #e64a34;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gift-button:hover {
    background: #e64a34;
    color: #fff;
}

/* ========================= RESPONSIVE ========================= */
@media (max-width: 992px) {
    .pricing-cards {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .pricing-title {
        font-size: 2.5rem;
    }

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

    .pricing-card.featured {
        transform: none;
    }

    .pricing-section {
        padding: 2rem 1rem;
    }

    .pricing-card.selected {
        transform: none;
        border-width: 2px;
    }
}

/* ========================= LIBROS ========================= */

/* Contenedor principal */
.previous-books {
    padding: 80px 0;
    background-color: #ffffff;
    font-family: ui-sans-serif, system-ui, sans-serif;
}

/* Contenedor de texto y galería */
.books-container {
    display: grid;
    grid-template-columns: 2.5fr 1.2fr;
    gap: 60px;
    align-items: start;
    margin-top: 50px;
}

/* Texto */
.books-text {
    padding: 20px;
    margin-right: auto;
    margin-top: 50px;
}

.section-title-books {
    color: #0f331c;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-align: left;
    margin-bottom: 1rem;
    display: inline-block;
    position: relative;
    letter-spacing: -.02em;
}

.section-title-books::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background-color: var(--color-verde-oscuro-profundo);
    margin: 1rem 0 0 0;
    border-radius: 10px;
}

.text-content p {
    font-size: 1.3rem;
    color: #787a7a;
    line-height: 1.5;
    margin-bottom: 25px;
}

.bukku-highlight {
    color: #b1d8b9;
    font-weight: 700;
    font-style: italic;
}

.books-showcase {
    font-weight: 600;
    color: #000000;
    margin-top: 15px;
    font-size: 1.3rem;
}

/* ========================= Galería de libros 2x2 ========================= */
.books-gallery-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 20px;
    max-width: 700px;
    margin-left: auto;
}

.books-gallery-2x2 .book-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border-radius: 15px;
    /*padding: 15px;*/
    transition: all 0.3s ease;
    text-align: center;
    overflow: hidden;
    border-left: 2px solid #e5e7eb;
    border-right: 2px solid #e5e7eb;
    border-top: 0 #e5e7eb;
    border-bottom: 0 #e5e7eb;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: none;
    padding-bottom: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.0.1); /* sombra más intensa */


}

.books-gallery-2x2 .book-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.book-cover-image-container {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 10px;
    overflow: hidden;
    /*margin-bottom: 15px;*/
    margin-bottom: none;
    margin-top: none;
    position: relative;
    transition: all 0.4s ease;
}

.book-cover-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.book-item:hover .book-cover-image {
    transform: scale(1.05);
}

/* Autor sobre la imagen */
.book-author {
    position: absolute;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    white-space: nowrap;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.books-gallery-2x2 .book-cover-image-container:hover .book-author {
    opacity: 1;
    transform: scale(1);
}

/* Posición de autores */
.books-gallery-2x2 .book-item:nth-child(1) .book-author,
.books-gallery-2x2 .book-item:nth-child(3) .book-author {
    bottom: 10px;
    right: 10px;
}

.books-gallery-2x2 .book-item:nth-child(2) .book-author,
.books-gallery-2x2 .book-item:nth-child(4) .book-author {
    bottom: 10px;
    left: 10px;
}

/* Hover overlay y sombra por libro */
.books-gallery-2x2 .book-item:nth-child(1) .book-cover-image-container:hover {
    transform: rotate(-5deg) scale(1.05);
    box-shadow: -10px 15px 25px rgba(249, 115, 22, 0.3);
}

.books-gallery-2x2 .book-item:nth-child(2) .book-cover-image-container:hover {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 10px 15px 25px rgba(34, 197, 94, 0.3);
}

.books-gallery-2x2 .book-item:nth-child(3) .book-cover-image-container:hover {
    transform: rotate(-5deg) scale(1.05);
    box-shadow: -10px 15px 25px rgba(59, 130, 246, 0.3);
}

.books-gallery-2x2 .book-item:nth-child(4) .book-cover-image-container:hover {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 10px 15px 25px rgba(236, 72, 153, 0.3);
}

/* Colores autores */
.books-gallery-2x2 .book-item:nth-child(1) .book-author {
    background: white;
    color: rgba(139, 69, 19, 0.9);
    border-color: rgba(160, 82, 45, 0.4);
}

.books-gallery-2x2 .book-item:nth-child(2) .book-author {
    background: white;
    color: rgba(255, 193, 7, 0.9);
    border-color: rgba(255, 235, 59, 0.4);
}

.books-gallery-2x2 .book-item:nth-child(3) .book-author {
    background: white;
    color: rgba(63, 81, 181, 0.9);
    border-color: rgba(63, 81, 181, 0.4);
}

.books-gallery-2x2 .book-item:nth-child(4) .book-author {
    background: white;
    color: rgba(62, 39, 35, 0.9);
    border-color: rgba(78, 52, 46, 0.4);
}

/* Brillo hover */
.books-gallery-2x2 .book-cover-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
    z-index: 2;
}

.books-gallery-2x2 .book-cover-image-container:hover::after {
    left: 100%;
}

/* ========================= CARRUSEL DE LIBROS ========================= */

.books-carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    display: block;
}

.books-carousel {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.books-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.books-carousel .book-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.books-carousel .book-item.active {
    opacity: 1;
    z-index: 10;
}

.books-carousel .book-cover-image-container {
    width: 300px;
    height: 800px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
}

.books-carousel .book-cover-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.books-carousel .book-author {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.books-carousel .book-cover-image-container:hover .book-author {
    opacity: 1;
}

.books-carousel .book-cover-image-container:hover .book-cover-image {
    transform: scale(1.05);
}


/* ========================= Responsive móviles ========================= */
@media (min-width: 1025px) {
    .books-gallery-2x2 {
        max-width: 600px;
        gap: 15px;
    }

    .book-cover-image-container {
        height: 220px;
    }
}

@media (max-width: 768px) {
    /* Ajustes del carrusel en móviles */
    .books-carousel-container {
        max-width: 100%;
        margin: 0 auto;
        height: 400px;
    }

    .books-carousel {
        height: 100%;
    }

    .books-carousel .book-cover-image-container {
        width: 250px;
        height: 320px;
    }

    /* Ajustes de texto y tamaño de párrafos */
    .text-content p {
        font-size: 1rem;
    }

    .books-showcase {
        font-size: 1.1rem;
    }
    .books-text {
        margin-top: 0; /* elimina el margen extra en móvil */
        padding-right: 0;
    }

    .books-container {
        grid-template-columns: 1fr; /* UNA SOLA COLUMNA */
        gap: 30px; /* menos espacio entre texto e imágenes */
    }
.books-gallery-2x2 {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 libros por fila */
        gap: 15px;
        width: 100%; /* ocupar todo el ancho disponible */
        margin: 0 auto; /* centrar */
    }

 
}

@media (max-width: 480px) {

    /* Ajustes para móviles pequeños */
    .books-gallery-2x2 {
        grid-template-columns: 1fr;
        /* Vertical */
        gap: 1rem;
    }

    .book-cover-image-container {
        height: 220px;
    }

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

    .books-showcase {
        font-size: 1rem;
    }
}

/* ========================= CÓMO FUNCIONA ========================= */

.features {
    background: #f8f7f8;
    padding: var(--spacing-3xl) 0;
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-size: 1.125rem;
}

.funcion-bg {
    background: #fbfcfb;
}

.section-title-funcion {
    color: #b1d8b9;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    display: inline-block;
    width: 100%;
    letter-spacing: -.02em;
    margin-top: 40px;
}

.section-title-funcion::after {
    background-color: #b1d8b9;
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    margin: 1rem auto;
    border-radius: 10px;
}

.books-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 4rem auto;
    max-width: 1000px;
    position: relative;
}

.books-grid-v2::before {
    content: "";
    position: absolute;
    top: 5.5rem;
    left: 10%;
    width: 80%;
    height: 3px;
    background-color: var(--color-verde-light);
    z-index: 0;
    border-radius: 2px;
}

.feature-item h3 {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 2rem;
    margin-bottom: 1rem;
}

.feature-item p {
    color: hsl(var(--muted-foreground));
    line-height: 1.625;
    max-width: 24rem;
    margin-bottom: 1rem;
}

.feature-icon,
.feature-icon-v2,
.funcion-icon,
.feature-icon-funcion {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(177, 156, 217, 0.3);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-icon,
.feature-icon-v2 {
    background: #b696c6;
    color: #fff;
    width: 13rem;
    height: 13rem;
    font-size: 2rem;
    margin: 0 auto var(--spacing-md);
}

.funcion-icon {
    background: #b1d8b9;
    color: #fff;
    width: 9rem;
    height: 9rem;
    font-size: 3rem;
    margin: 0 auto var(--spacing-md);
}

.feature-icon-funcion {
    background: #b1d8b9;
    color: #fff;
    width: 8rem;
    height: 8rem;
    font-size: 2rem;
    margin: 0 auto var(--spacing-md);
}

.feature-icon-v2::before {
    content: attr(data-step);
    position: absolute;
    top: -0.4rem;
    left: 60%;
    transform: translateX(-50%);
    width: 2.2rem;
    height: 2.2rem;
    background-color: var(--color-verde-oscuro-profundo, #2f855a);
    color: white;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 3;
}

.feature-icon:hover,
.feature-icon-v2:hover,
.funcion-icon:hover,
.feature-icon-funcion:hover {
    transform: scale(1.08);
    box-shadow: 0 20px 50px rgba(177, 156, 217, 0.35);
}

.feature-icon img {
    height: 120px;
    width: auto;
}

.cta-section {
    text-align: center;
    margin-top: 40px;
    font-family: ui-sans-serif, system-ui, sans-serif;
}

.cta-text {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #b1d8b9;
    color: rgba(0, 0, 0, 0.675);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    text-decoration: none;
    color: white;
}

.cta-button i {
    font-size: 1.2rem;
}

.promise-box h4 {
    font-size: 1.8rem;
    color: #b19cd9;
    margin-bottom: 15px;
    font-weight: 600;
}

.promise-box p {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.7;
    margin: 0;
}

/* ========================= RESPONSIVE ========================= */

/* Tablets y móviles: una columna */
@media (max-width: 1024px) {
    .books-grid-v2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .books-grid-v2::before {
        display: none;
    }

    .feature-icon,
    .feature-icon-v2,
    .funcion-icon,
    .feature-icon-funcion {
        width: 7rem;
        height: 7rem;
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {

    .feature-icon,
    .feature-icon-v2,
    .funcion-icon,
    .feature-icon-funcion {
        width: 6rem;
        height: 6rem;
        font-size: 1.5rem;
    }

    .feature-item p {
        max-width: 100%;
    }

    .cta-text {
        font-size: 1rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {

    .feature-icon,
    .feature-icon-v2,
    .funcion-icon,
    .feature-icon-funcion {
        width: 5rem;
        height: 5rem;
        font-size: 1.3rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .feature-item h3 {
        font-size: 1.3rem;
    }

    .feature-item p {
        font-size: 0.95rem;
    }
}

/* ========================= EDITORIALES ALIADAS ========================= */

/* ----- Título principal ----- */
.section-title-ver-3 {
    color: #e64a34;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    display: inline-block;
    width: 100%;
    letter-spacing: -.02em;
}

.section-title-ver-3::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #e64a34;
    margin: 1rem auto;
    border-radius: 10px;
    margin-top: 0;
}

/* ----- Fondo de sección ----- */
.publishers {
    background: #f9f9f9;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* ----- Grid clásico (no slider) ----- */
.publishers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* ----- Logos editoriales ----- */
.publisher-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.publisher-logo:hover {
    transform: translateY(-5px);
}

.publisher-logo-image {
    max-width: 120px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 1;
    transition: transform 0.3s ease;
}

.publisher-logo-image:hover {
    transform: scale(1.1);
}

/* ----- Slider infinito ----- */
.slider {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 3rem auto;
    overflow: hidden;
}

.slider .slide-track {
    display: flex;
    animation: scroll 40s linear infinite;
    width: calc(100% * 2);
}

.slider-left .slide-track {
    animation-name: scroll-left;
}

.slider-right .slide-track {
    animation-name: scroll-right;
}

.slider .slide {
    flex: 0 0 auto;
    width: 14%;
    padding: 1rem;
    box-sizing: border-box;
}

.slider .slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Pausar animación al hover */
.slider:hover .slide-track {
    animation-play-state: paused;
}

/* Animaciones */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* ========================= RESPONSIVE ========================= */

@media (max-width: 1024px) {
    .section-title-ver-3 {
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .section-subtitle {
        font-size: 1.125rem;
    }

    .publisher-logo-image {
        max-width: 100px;
        max-height: 70px;
    }
}

@media (max-width: 768px) {
    .publishers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .publisher-logo-image {
        max-width: 90px;
        max-height: 60px;
    }

    .slider .slide {
        width: 33%;
    }
}

@media (max-width: 480px) {
    .publishers {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .section-title-ver-3 {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .publishers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .publisher-logo-image {
        max-width: 70px;
        max-height: 50px;
    }

    .slider .slide {
        width: 50%;
    }
}

/* ========================= FAQ ========================= */

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    font-weight: 500;
    font-size: 1.1rem;
    color: #000;
    transition: background-color 0.3s ease;
    background: transparent;
    border: none;
    margin-top: 0;
}

.faq-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.question-hover:hover {
    text-decoration: underline;
    text-decoration-color: #000;
    text-decoration-thickness: 2px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
    color: #666;
    background: transparent;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 0 1.5rem 0;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

/* ========================= CONTACTO ========================= */

/* Sección general */
.contact-section {
    background: #f9f9f9;
    padding: 5rem 0;
    /* equivalente a py-20 */
}

/* Título */
.section-title-ver-4 {
    color: var(--color-verde-oscuro-profundo);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    display: inline-block;
    width: 100%;
    letter-spacing: -.02em;
    margin-top: 30px;
}

.section-title-ver-4::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--color-verde-oscuro-profundo);
    margin: 1rem auto;
    border-radius: 10px;
    margin-top: 0;
}

.contact-subtitles-ver-4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-verde-oscuro-profundo);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Wrapper del contenido */
.contact-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Caja del formulario */
.contact-form-box {
    background-color: var(--color-blanco);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 2px groove var(--color-lila-transparent);
}

/* Formulario */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

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

.contact-section-subtitle-form {
    color: var(--color-verde-oscuro-profundo);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--color-lila-dark);
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    background-color: var(--color-blanco);
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-lila);
}

/* Textarea */
.form-group textarea {
    resize: none;
    min-height: 120px;
}

/* Botón */
.contact-button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    background: var(--color-verde-oscuro-profundo);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-button:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.contact-button:disabled {
    background: var(--color-verde-light) !important;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Texto destacado */
.highlight-text-description {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-gris);
    margin: 1rem 0 0;
}

/* Redes sociales */
.social-box {
    background: #F5F7F6;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 40px;
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: center;
}

.social-section {
    font-weight: 500;
    font-size: 1.125rem;
    color: var(--color-verde-oscuro-profundo);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-verde-oscuro-profundo);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--color-verde-light);
    color: #000;
    transform: translateY(-2px);
}

/* ========================= RESPONSIVE ========================= */

/* Tablets */
@media (min-width: 768px) {
    .form-row {
        flex-direction: row;
        gap: 2rem;
    }

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

/* Teléfonos */
@media (max-width: 480px) {
    .contact-form-box {
        padding: 1.5rem;
    }

    .contact-button {
        font-size: 1rem;
        padding: 0.875rem;
    }

    .social-box {
        padding: 20px;
    }

    .social-links {
        gap: 1rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

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

.footer-simple {
    background: var(--color-verde-oscuro-profundo);
    color: #fff;
    padding: 3rem 0 2rem 0;
    border-top: 1px solid #333;
}

/* Contenedor general */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sección principal del footer */
.footer-main {
    margin-bottom: 2rem;
}

/* Marca (logo + descripción) */
.footer-brand {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo img {
    height: 70px;
    width: auto;
    display: block;
}

.footer-description {
    font-size: 0.875rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 400;
    text-align: center; 
}

/* Columnas de navegación */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    align-items: start;
    justify-content: center;
    text-align: left;
    margin-top: 2rem;
}

.footer-column-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

/* Copyright */
.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.footer-copyright p {
    font-size: 0.9rem;
    color: #999;
    font-weight: 400;
    letter-spacing: 0.025em;
    margin: 0;
}

/* ========================= RESPONSIVE ========================= */

/* Tablets */
@media (max-width: 768px) {
    .footer-simple {
        padding: 2rem 0 1.5rem 0;
    }

    .footer-content {
        padding: 0 15px;
    }

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

    .footer-description {
        font-size: 0.95rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

/* Teléfonos */
@media (max-width: 480px) {
    .footer-simple {
        padding: 1.5rem 0 1rem 0;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column {
        margin-top: 1.5rem;
    }

    .footer-logo img {
        margin: 0 auto;
    }

    .footer-description {
        font-size: 0.9rem;
        text-align: center;
    }

    .social-links {
        gap: 0.75rem;
    }

    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .footer-copyright p {
        font-size: 0.85rem;
    }
}

/* ========================= UTILIDADES ========================= */

/* Utilidades adicionales */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.space-y-4>*+* {
    margin-top: 1rem;
}

.space-y-6>*+* {
    margin-top: 1.5rem;
}

.space-y-8>*+* {
    margin-top: 2rem;
}

/* Grid utilities */
.grid {
    display: grid;
}

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

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

/* Flex utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

/* Background utilities */
.bg-gray-50 {
    background-color: #f9f9f9;
}

.bg-white {
    background-color: #fff;
}

.bg-black {
    background-color: #000;
}

/* Text utilities */
.text-black {
    color: #000;
}

.text-green {
    color: #b1d8b9;
}

.text-gray-600 {
    color: #666;
}

.text-gray-700 {
    color: #333;
}

.text-white {
    color: #fff;
}

/* Spacing utilities */
.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.pb-6 {
    padding-bottom: 1.5rem;
}

/* Border utilities */
.border {
    border-width: 1px;
}

.border-black {
    border-color: #000;
}

.border-gray-300 {
    border-color: #d1d5db;
}

.rounded-lg {
    border-radius: 40px;
}

/* Shadow utilities */
.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Transition utilities */
.transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-duration-300 {
    transition-duration: 300ms;
}

/* Focus utilities */
.focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.focus\:border-black:focus {
    border-color: #000;
}

/* Hover utilities */
.hover\:bg-gray-800:hover {
    background-color: #1f2937;
}

.hover\:bg-black:hover {
    background-color: #000;
}

.hover\:text-white:hover {
    color: #fff;
}

.hover\:bg-gray-50:hover {
    background-color: #f9f9f9;
}

/* Responsive utilities */
@media (min-width: 768px) {
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:grid-cols-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:grid-cols-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (min-width: 640px) {
    .sm\:flex-row {
        flex-direction: row;
    }
}

/* Max width utilities */
.max-w-2xl {
    max-width: 42rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Width utilities */
.w-full {
    width: 100%;
}

/* Resize utilities */
.resize-vertical {
    resize: vertical;
}

/* Cursor utilities */
.cursor-pointer {
    cursor: pointer;
}

/* Overflow utilities */
.overflow-hidden {
    overflow: hidden;
}

/* Transform utilities */
.rotate-180deg {
    transform: rotate(180deg);
}

.rotate-0deg {
    transform: rotate(0deg);
}

/*suscripcion*/
/* Sombra suave tipo "book" */
.shadow-book {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Sombra para tarjetas principales */
.shadow-page {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Gradiente principal (para botones, fondos destacados, etc.) */
.bg-gradient-primary {
    background: linear-gradient(135deg, #e64a34, #6366f1);
}

/* Texto en gradiente (para títulos llamativos si lo deseas) */
.text-gradient {
    background: linear-gradient(135deg, #e64a34, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animación suave al hacer hover en tarjetas */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* Animación para botones */
.btn-animated {
    transition: background 0.3s ease, transform 0.2s ease;
}
.btn-animated:hover {
    transform: scale(1.02);
    opacity: 0.95;
}

/* Badges personalizados */
.badge-popular {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Sticky header con blur */
header {
    backdrop-filter: blur(6px);
}

/* Animación de aparición */
.fade-in {
    animation: fadeIn 0.6s ease-in-out both;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Estilos específicos para la página de suscripción */
#subscription-app {
    min-height: 100vh;
    background-color: #f9fafb;
    padding: 20px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.subscription-header {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.subscription-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.subscription-header p {
    font-size: 1.5rem;
    color: #6b7280;
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.6;
}

.subscription-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

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

@media (min-width: 1024px) {
    .subscription-grid {
        grid-template-columns: 3fr 1fr;
    }
}

.subscription-main h2,
.subscription-summary h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #0f331c;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.plans-grid,
.extras-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .plans-grid,
    .extras-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.plan-card,
.extra-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plan-card:hover,
.extra-card:hover {
    border-color: #818cf8;
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.plan-card.selected,
.extra-card.selected {
    border-color: transparent;
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.1), 0 10px 10px -5px rgba(79, 70, 229, 0.04);
    outline: 2px solid #e64a34;
    background: linear-gradient(135deg, #f5f7ff 0%, #f0f4ff 100%);
}

.plan-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.2rem;
    text-align: center;
}

.price-container {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.plan-price {
    display: flex !important;
    font-size: 2.2rem;
    font-weight: 800;
    color: #e64a34;
    justify-content: center;
    align-items: baseline;
    gap: 0.3rem;
}

.plan-duration {
    font-size: 1rem;
    color: #6b7280;
}

.discount {
    margin-bottom: 1.0rem;
    text-align: center;
}

.original-price {
    text-decoration: line-through;
    font-size: 0.9rem;
    color: #6b7280;
}

.savings {
    font-size: 0.9rem;
    color: #0f331c;
    font-weight: 800;
    margin-left: 0.5rem;
}

.plan-benefit {
    margin-top: 1.2rem;
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.5;
    text-align: center;
}

.extras-section {
    margin-top: 3.5rem;
}

.extra-content {
    display: flex;
    gap: 0.75rem;
}

.extra-checkbox {
    margin-top: 0.3rem;
    width: 18px;
    height: 18px;
}

.extra-card h3 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.extra-description {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.extra-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e64a34;
}

.form-section {
    margin-top: 3.5rem;
}

.subscription-form {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0.9rem;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-group input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.subscription-summary {
    position: relative;
}

.summary-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 6rem;
}

.plan-name-summary {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.plan-benefit-summary {
    text-align: center;
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.plan-price-summary {
    font-weight: 700;
    color: #e64a34;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.extras-summary {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.extras-title {
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #1f2937;
}

.extra-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    padding: 0.3rem 0;
}

.total-section {
    margin-top: 1.5rem;
}

.total-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.7rem;
    font-size: 1rem;
}

.total-final {
    display: flex;
    justify-content: space-between;
    font-size: 1.4rem;
    font-weight: 800;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 2px solid #e5e7eb;
    color: #e64a34;
}

.pay-button {
    width: 100%;
    margin-top: 2rem;
    padding: 1.2rem;
    background-color: #e64a34;
    color: #ffffff;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pay-button:hover {
    background-color: #e64a34;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.terms-notice {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 1rem;
    text-align: center;
    line-height: 1.5;
}

.no-plan-selected {
    text-align: center;
    color: #6b7280;
    font-style: italic;
    padding: 2rem 0;
}

/* Mejoras visuales adicionales */
.text-center {
    text-align: center;
}

.flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

.items-baseline {
    align-items: baseline;
}

.gap-2 {
    gap: 0.5rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.pt-4 {
    padding-top: 1rem;
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}
/* Estilos para campos con error */

.form-group.error input {
    border: 3px solid #e64a34;
    outline: none;
}

.error-text {
    color: #e64a34;
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
}

.required-asterisk {
    color: #e64a34;
    font-weight: 800;
}

/* ========================= ESTILOS UNIFICADOS PARA PLANES ========================= */

/* Aplicar estilos de pricing-card a plan-card en vista de suscripción */
.plan-card {
    background: white;
    border-radius: 10px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    cursor: pointer;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    display: block;
    background: linear-gradient(to right, #e64a34, #e64a34);
    border-radius: 5px;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.plan-card.selected {
    border: 3px solid #e64a34;
    transform: scale(1.05);
}

/* Estilos para el contenedor de planes en suscripción */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Estilos para el header del plan */
.plan-header {
    margin-bottom: 1.5rem;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.plan-description {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Estilos para el precio */
.price-container {
    margin: 1.5rem 0;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #e64a34;
    display: block;
    margin-bottom: 0.5rem;
}

.plan-duration {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

/* Estilos para descuentos */
.discount {
    margin: 1rem 0;
    text-align: center;
}

.original-price {
    text-decoration: line-through;
    font-size: 1rem;
    color: #9ca3af;
    margin-right: 0.5rem;
}

.savings {
    font-size: 1rem;
    color: #0f331c;
    font-weight: 800;
    display: block;
    margin-top: 0.25rem;
}

/* Estilos para beneficios */
.plan-benefit {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 1rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 1.0rem 0;
}

.plan-features li {
    position: relative;
    padding: 0.5rem 0 0.5rem 2rem;
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.5;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e64a34;
    font-weight: bold;
    font-size: 1.2rem;
}

@media (max-width: 992px) and (min-width: 769px) {
    .pricing-cards,
    .plans-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

/* Responsive para planes */
@media (max-width: 768px) {
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .plan-card.selected {
        transform: none;
    }
    
    .plan-price {
        font-size: 2rem;
    }
}    

/* ========================= ESTILOS PARA LA PÁGINA DE SUSCRIPCIÓN EXITOSA ========================= */
#suscripcion_exitosa {
    background: #f3f4f6; /* color de fondo de la página */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#suscripcion_exitosa .min-h-screen {
    min-height: 100vh !important;
    padding: 20px 0 !important;
}

#suscripcion_exitosa .relative {
    position: relative;
}

#suscripcion_exitosa .container {
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

#suscripcion_exitosa .mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

#suscripcion_exitosa .text-center {
    text-align: center !important;
}

#suscripcion_exitosa .space-y-8 > * + * {
    margin-top: 2rem !important;
}

/* ------------------------ Icono de éxito ----------------------*/
#suscripcion_exitosa .success-icon-container {
    padding-top: 50px;
    position: relative;
}

#suscripcion_exitosa .w-20 {
    position: relative !important;
    padding: 20px !important;
    width: 80px !important;
    height: 80px !important;
    background-color: var(--color-turquesa-dark); /* color de fondo del icono */
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 20px !important;
    /* animation: success-bounce 2s cubic-bezier(0.68,-0.55,0.265,1.55) infinite; */
}

#suscripcion_exitosa .w-20::after {
    content: " ";
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--color-turquesa-light);
    z-index: 2;
    animation: suscripcion-ping 2s cubic-bezier(0, 0, 0.05, 1) infinite;
}

#suscripcion_exitosa .text-success-foreground {
    color: #fff !important;
}

#suscripcion_exitosa .w-10 {
    width: 40px !important;
    height: 40px !important;
}

/* ----------------------- Títulos --------------------------*/
#suscripcion_exitosa .text-4xl {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: var(--color-rojo-dark) !important;
    margin-bottom: 15px !important;
    line-height: 1.2 !important;
}

#suscripcion_exitosa .text-5xl {
    font-size: 2.5rem !important;
}

#suscripcion_exitosa .text-text-dark {
    /* color del título suscripción exitosa */
    color: var(--color-negro) !important;
}

#suscripcion_exitosa .text-accent {
    color: var(--color-rojo-dark) !important;
}

#suscripcion_exitosa .text-lg {
    font-size: 1.2rem !important;
}

#suscripcion_exitosa .text-muted-foreground {
    color: var(--color-verde-oscuro-light) !important;
    font-weight: 500 !important;
}

#suscripcion_exitosa .flex {
    display: flex !important;
    color: var(--color-verde-oscuro-light) !important;
}

#suscripcion_exitosa .items-center {
    align-items: center !important;
    color: #2f855a !important;
}

#suscripcion_exitosa .justify-center {
    justify-content: center !important;
    color: #059669;
}

#suscripcion_exitosa .gap-2 {
    gap: 0.5rem !important;
}

#suscripcion_exitosa .w-5 {
    width: 20px !important;
}

#suscripcion_exitosa .h-5 {
    height: 20px !important;
}

#suscripcion_exitosa .text-primary {
    color: var(--color-lila-dark) !important;
}

/* ------------------- Confirmación de email ------------------- */
#suscripcion_exitosa .p-6 {
    padding: 1.5rem !important;
}

#suscripcion_exitosa .bg-card {
    background-color: var(--color-blanco) !important;
    box-shadow: 0 4px 6px -1px rgba(86, 172, 139, 0.2),
                0 2px 4px -1px rgba(88, 211, 160, 0.1) !important;
}

#suscripcion_exitosa .backdrop-blur-sm {
    backdrop-filter: blur(4px) !important;
}

#suscripcion_exitosa .border {
    border-width: 1px !important;
}

#suscripcion_exitosa .border-success\/20 {
    border-color: rgba(16, 185, 129, 0.2) !important;
    background-color: var(--color-blanco) !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

#suscripcion_exitosa .rounded-lg {
    border-radius: 0.5rem !important;
}

#suscripcion_exitosa .gap-3 {
    gap: 0.75rem !important;
}

#suscripcion_exitosa .flex-shrink-0 {
    flex-shrink: 0 !important;
}

#suscripcion_exitosa .font-semibold {
    font-weight: 600 !important;
}

/* --------------------- Detalles de suscripción -----------------*/
#suscripcion_exitosa .max-w-lg {
    max-width: 32rem !important;
}

#suscripcion_exitosa .space-y-4 > * + * {
    margin-top: 1rem !important;
}

#suscripcion_exitosa .border-b {
    border-radius: 15px !important;
    color: var(--color-verde-oscuro-light) !important;
}

#suscripcion_exitosa .pb-4 {
    padding-bottom: 1rem !important;
}

#suscripcion_exitosa .text-xl {
    font-size: 1.25rem !important;
    line-height: 1.75rem !important;
}

#suscripcion_exitosa .space-y-3 > * + * {
    margin-top: 0.75rem !important;
}

#suscripcion_exitosa .justify-between {
    justify-content: space-between !important;
}

#suscripcion_exitosa .text-lg {
    font-size: 1.125rem !important;
    line-height: 1.75rem !important;
}

#suscripcion_exitosa .border-t {
    border-top-width: 1px !important;
}

#suscripcion_exitosa .pt-3 {
    padding-top: 0.75rem !important;
}

#suscripcion_exitosa .space-y-2 > * + * {
    margin-top: 0.5rem !important;
}

#suscripcion_exitosa .text-sm {
    font-size: 0.875rem !important;
    line-height: 1.25rem !important;
}

/* ----------------------- Aviso especial --------------------------*/
#suscripcion_exitosa .bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops)) !important;
}

#suscripcion_exitosa .from-secondary\/30 {
    background-color: rgba(243, 244, 246, 0.3) !important;
}

#suscripcion_exitosa .to-success\/20 {
    background-color: var(--color-lila-transparent) !important;
}

#suscripcion_exitosa .border-secondary\/40 {
    border-color: rgba(231, 163, 16, 0.4) !important;
}

#suscripcion_exitosa .w-6 {
    width: 1.5rem !important;
}

#suscripcion_exitosa .h-6 {
    height: 1.5rem !important;
}

#suscripcion_exitosa .text-medium {
    font-weight: 500 !important;
}

/* ----------------------- Botones --------------------------*/
#suscripcion_exitosa .pt-4 {
    padding-top: 1rem !important;
    padding-bottom: 60px !important;
}

#suscripcion_exitosa .bg-primary {
    background-color: var(--color-rojo-dark) !important;
    border: none !important;
}

#suscripcion_exitosa .hover\:bg-primary\/90:hover {
    background-color: var(--color-rojo-light) !important;
}

#suscripcion_exitosa .text-primary-foreground {
    color: var(--color-blanco) !important;
}

#suscripcion_exitosa .px-8 {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

#suscripcion_exitosa .py-3 {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

#suscripcion_exitosa .shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
                0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

#suscripcion_exitosa .hover\:shadow-xl:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
                0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

#suscripcion_exitosa .transition-all {
    transition-property: all !important;
}

#suscripcion_exitosa .duration-300 {
    transition-duration: 300ms !important;
}

#suscripcion_exitosa .rounded-md {
    border-radius: 0.375rem !important;
}

#suscripcion_exitosa .inline-flex {
    display: inline-flex !important;
}

/* ------------------ Animaciones --------------------*/
@keyframes suscripcion-ping {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    75%, 100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes success-bounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

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

#suscripcion_exitosa .animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards !important;
}

/* -------------------------- Responsiva ---------------- */
@media (max-width: 768px) {
    #suscripcion_exitosa .text-4xl,
    #suscripcion_exitosa .text-5xl {
        font-size: 2rem !important;
    }
    
    #suscripcion_exitosa .text-lg {
        font-size: 1rem !important;
    }
    
    #suscripcion_exitosa .p-6 {
        padding: 1.25rem !important;
    }
    
    #suscripcion_exitosa .flex {
        flex-direction: column !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    #suscripcion_exitosa .text-4xl,
    #suscripcion_exitosa .text-5xl {
        font-size: 1.75rem !important;
    }
    
    #suscripcion_exitosa .w-20 {
        width: 70px !important;
        height: 70px !important;
    }
    
    #suscripcion_exitosa .w-10 {
        width: 30px !important;
        height: 30px !important;
    }
    
    #suscripcion_exitosa .px-8 {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

/* ----------------------------- Estilos vista suscripción Denegada ------------------------------*/
.suscripcion-denegada-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f3f4f6;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.suscripcion-denegada-content {
    background-color: #f3f4f6;
    border-radius: 16px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
    padding: 40px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    animation: suscripcion-denegada-fadeIn 0.5s ease-out;
}

.suscripcion-denegada-icon {
    margin-bottom: 24px;
}

.suscripcion-denegada-icon svg {
    width: 80px;
    height: 80px;
    animation: suscripcion-denegada-pulse 1.5s infinite;
}

.suscripcion-denegada-title {
    color: #e74c3c;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.suscripcion-denegada-message {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.suscripcion-denegada-button-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.suscripcion-denegada-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.suscripcion-denegada-btn-primary {
    background-color: var(--color-rojo-dark);
    color: white;
}

.suscripcion-denegada-btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

.suscripcion-denegada-btn-secondary {
    background-color: transparent;
    color: #7f8c8d;
    border: 1px solid #ddd;
}

.suscripcion-denegada-btn-secondary:hover {
    background-color: #f9f9f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.suscripcion-denegada-support-link {
    color: #7f8c8d;
    font-size: 14px;
}

.suscripcion-denegada-support-link a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.suscripcion-denegada-support-link a:hover {
    text-decoration: underline;
}

/* Animaciones específicas */
@keyframes suscripcion-denegada-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes suscripcion-denegada-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 576px) {
    .suscripcion-denegada-container {
        padding: 15px;
        display: block;
        background: white;
    }
    
    .suscripcion-denegada-content {
        padding: 30px 20px;
        margin: 0;
        box-shadow: none;
        border-radius: 0;
        max-width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .suscripcion-denegada-title {
        font-size: 60px;
    }
    
    .suscripcion-denegada-message {
        font-size: 14px;
    }
    
    .suscripcion-denegada-button-group {
        gap: 10px;
    }
    
    .suscripcion-denegada-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .suscripcion-denegada-icon svg {
        width: 60px;
        height: 60px;
    }
}

/* Móviles muy pequeños */
@media (max-width: 380px) {
    .suscripcion-denegada-content {
        padding: 20px 15px;
    }
    
    .suscripcion-denegada-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .suscripcion-denegada-title {
        font-size: 20px;
    }
    
    .suscripcion-denegada-message {
        font-size: 13px;
        margin-bottom: 24px;
    }
    
    .suscripcion-denegada-btn {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .suscripcion-denegada-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .suscripcion-denegada-support-link {
        font-size: 13px;
    }
}

/* Pantallas grandes */
@media (min-width: 1200px) {
    .suscripcion-denegada-content {
        max-width: 550px;
        padding: 50px;
    }
    
    .suscripcion-denegada-icon svg {
        width: 90px;
        height: 90px;
    }
    
    .suscripcion-denegada-title {
        font-size: 32px;
    }
    
    .suscripcion-denegada-message {
        font-size: 18px;
    }
    
    .suscripcion-denegada-button-group {
        flex-direction: row;
        justify-content: center;
    }
    
    .suscripcion-denegada-btn {
        flex: 1;
        max-width: 220px;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 8px;
    padding: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header h3 {
    margin: 0 0 16px 0;
    color: #0f331c;
    font-size: 1.25rem;
    text-align: center;
}

.modal-body {
    margin-bottom: 24px;
}

.subscription-info__modal {
    background: #f3f4f6;
    padding: 16px;
    border-radius: 6px;
    margin-top: 16px;
}

.subscription-info__modal p {
    margin: 4px 0;
    color: #374151;
}

.modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-secondary__modal {
    background: #6b7280;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-primary__modal {
    background: #e64a34;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-primary__modal:hover{
    transform: scale(1.05);
}

.btn-secondary__modal:hover{
    transform: scale(1.05);
}

.btn-primary__modal:disabled {
    cursor: not-allowed;
}
/* ----------------------Boton editar datos------------------ */
.btn-editar-datos {
    background-color: var(--color-verde-oscuro-light); 
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.9rem 2.2rem;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(2, 83, 22, 0.3);
}

/* Efecto al pasar el mouse */
.btn-editar-datos:hover {
    background-color: var(--color-verde-oscuro-light); 
    box-shadow: 0 6px 15px rgba(2, 90, 28, 0.671);
    transform: translateY(-2px);
}

/* Efecto al presionar */
.btn-editar-datos:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(10, 41, 221, 0.3);
}
/* ----------------------Boton cancelar suscripcion------------------ */
.btn-cancelar-suscription {
    background-color: #c7c2c2; /* rojo fuerte */
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.9rem 2.2rem;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(80, 79, 79, 0.3);
}

/* Efecto al pasar el mouse */
.btn-cancelar-suscription:hover {
    background-color: #b91c1c; /* tono más oscuro */
    box-shadow: 0 6px 15px rgba(220, 38, 38, 0.4);
    transform: translateY(-2px);
}

/* Efecto al presionar */
.btn-cancelar-suscription:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(220, 38, 38, 0.3);
}

/* ----------------------Modal cancelar suscripcion------------------ */
#cancel-modal {
    display: none; /* oculto por defecto */
    position: fixed;
    inset: 0; /* top:0; bottom:0; left:0; right:0 */
    background-color: rgba(0, 0, 0, 0.6); /* fondo semi-transparente */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
    opacity: 0;
}

/* Cuando el modal está visible */
#cancel-modal.is-visible {
    display: flex;
    opacity: 1;
}

/* === Contenido del modal === */
.modal-cancel-content {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem 2.5rem;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

/* Animación al mostrar */
#cancel-modal.is-visible .modal-cancel-content {
    transform: translateY(0);
}

/* === Botón de cerrar === */
.modal-cancel-close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 28px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-cancel-close-btn:hover {
    color: #dc2626; /* rojo al pasar el mouse */
}

/* === Encabezado del modal === */
.modal-cancel-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-cancel-icon {
    font-size: 40px;
    color: #dc2626;
    margin-bottom: 0.5rem;
}

/* === Formulario dentro del modal === */
.cancel-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.2rem;
}

.cancel-form-group label {
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: #333;
    font-size: 0.95rem;
}

.form-input {
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    border-color: #dc2626;
    box-shadow: 0 0 5px rgba(220, 38, 38, 0.4);
}

/* === Botón de envío === */
.contact-cancel-button {
    background-color: #dc2626;
    color: #fff;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    width: 100%;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.contact-cancel-button:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
}

.contact-cancel-button:active {
    transform: translateY(0);
}


#cancel-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#cancel-modal.is-visible {
    display: flex;
}

/* ----------------------Modal modificar datos------------------ */
#edit-modal {
    display: none; /* oculto por defecto */
    position: fixed;
    inset: 0; /* top:0; bottom:0; left:0; right:0 */
    background-color: rgba(0, 0, 0, 0.6); /* fondo semi-transparente */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
    opacity: 0;
}

/* Cuando el modal está visible */
#edit-modal.is-visible {
    display: flex;
    opacity: 1;
}

/* === Contenido del modal === */
.modal-edit-content {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem 2.5rem;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

/* Animación al mostrar */
#edit-modal.is-visible .modal-edit-content {
    transform: translateY(0);
}

/* === Botón de cerrar === */
.modal-edit-close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 28px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-edit-close-btn:hover {
    color: var(--color-verde-oscuro-light); 
}

/* === Encabezado del modal === */
.modal-edit-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-edit-icon {
    font-size: 40px;
    color: var(--color-verde-oscuro); 
    margin-bottom: 0.5rem;
}

/* === Formulario dentro del modal === */
.edit-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.2rem;
}

.edit-form-group label {
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: #333;
    font-size: 0.95rem;
}

.form-input {
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    border-color: var(--color-verde-oscuro-profundo);
    box-shadow: 0 0 5px rgba(2, 87, 51, 0.4);
}

/* === Botón de envío === */
.contact-edit-button {
    background-color: var(--color-verde-oscuro-light);
    color: #fff;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    width: 100%;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.contact-edit-button:hover {
    background-color: #064123;
    transform: translateY(-2px);
}

.contact-edit-button:active {
    transform: translateY(0);
}

/* --- Aseguramos que el modal se centre --- */
#edit-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#edit-modal.is-visible {
    display: flex;
}


/* ---------------------- Estilos vista Modificar Datos------------------ */

#modificar_datos {
    background-color: var(--bg-secondary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-3xl) var(--spacing-md);
    font-family: var(--font-primary); 
    box-sizing: border-box;
}

#modificar_datos .container {
    max-width: 800px;
    width: 100%;
}

/* === Wrapper del Formulario === */
.form-wrapper {
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-lg); 
    box-shadow: var(--shadow-lg); 
    padding: var(--spacing-2xl);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* --- Icono de editar --- */
.form-icon-container {
    margin: 0 auto;
    width: 60px;
    height: 60px;
    background-color: var(--info-bg); 
    color: var(--info-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-icon-container svg {
    width: 32px;
    height: 32px;
}

/* --- Encabezados --- */
.form-header {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-title {
    font-size: var(--font-size-2xl); /* Sistema de tamaños */
    font-weight: var(--font-weight-bold);
    color: var(--text-negro);
    margin: 0;
}

.form-subtitle {
    font-size: var(--font-size-md);
    color: var(--text-gris);
    margin: 0;
}

/* --- Grid y Elementos del Formulario --- */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-negro);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--border-secondary);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-md);
    font-family: var(--font-secondary);
    box-sizing: border-box;
    transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--border-accent); /* Borde rojo al enfocar */
    box-shadow: 0 0 0 3px var(--color-rojo-transparent); /* Sombra de enfoque */
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* --- Botones de acción --- */
.form-actions {
    padding-top: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.form-actions .btn {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--border-radius-md);
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--transition-normal);
    width: 100%;
    max-width: 320px;
}

.form-actions .btn-primary {
    background-color: var(--btn-primary-bg);
    color: var(--color-blanco); /* --text-white no estaba definido, usando --color-blanco */
    border-color: var(--btn-primary-border);
    box-shadow: var(--btn-primary-shadow);
}

.form-actions .btn-primary:hover {
    background-color: var(--btn-primary-hover-bg);
    box-shadow: var(--btn-primary-hover-shadow);
    transform: translateY(-2px);
}

.form-actions .btn-cancel {
    color: var(--text-gris);
    background-color: transparent;
    font-weight: var(--font-weight-medium);
}

.form-actions .btn-cancel:hover {
    color: var(--text-negro);
    text-decoration: underline;
}

/* --- Responsividad --- */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr; /* Una sola columna en móviles */
    }
    .form-wrapper {
        padding: var(--spacing-xl);
    }
    .form-title {
        font-size: var(--font-size-xl);
    }
}

.error-message {
    color: red;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

input:invalid, textarea:invalid {
    border-color: red;
}

.form-group input, .form-group textarea {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.5rem;
    width: 100%;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}


/* ----------------------Estilos vista cancelar suscripcion------------------ */
#suscripcion_cancelada {
    background-color: var(--bg-secondary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
}

#suscripcion_cancelada .container {
    max-width: 650px;
    width: 100%;
}

/* === Wrapper de cancelación === */
.cancelacion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

/* --- Icono de cancelación --- */
.cancelacion-icon-container {
    display: flex;
    justify-content: center;
}

.cancelacion-icon {
    width: 80px;
    height: 80px;
    background-color: var(--color-rojo);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cancelacion-icon svg {
    width: 40px;
    height: 40px;
}

/* --- Encabezados --- */
.cancelacion-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cancelacion-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-negro);
}

.cancelacion-subtitle {
    font-size: 1rem;
    color: var(--text-gris);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cancelacion-subtitle .icon {
    width: 20px;
    height: 20px;
    color: var(--color-lila);
}

/* --- Cajas de información --- */
.info-box {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-secondary);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.info-box p {
    color: var(--text-negro);
    margin: 0;
}

.info-box .icon {
    width: 20px;
    height: 20px;
    color: var(--color-lila);
    flex-shrink: 0;
}

.info-box .highlight-email {
    font-weight: 600;
    color: var(--color-verde-oscuro-profundo);
}

.info-box--error {
    background-color: rgba(220,38,38,0.1);
    border-color: #dc2626;
    color: #b91c1c;
}

.info-box--error .icon,
.info-box--error p {
    color: #b91c1c;
}

/* --- Tarjeta de detalles --- */
.details-card {
    background-color: var(--bg-primary);
    border-radius: 12px;
    border: 1px solid var(--border-secondary);
    padding: 1.5rem 2rem;
    text-align: left;
}

.details-card__header {
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-secondary);
    margin-bottom: 1rem;
}

.details-card__header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-negro);
}

.details-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.details-card__body p {
    margin: 0;
}

.details-value--strikethrough {
    text-decoration: line-through;
    color: var(--text-gris);
}

.details-value--bold {
    font-weight: 700;
}

/* --- Aviso especial --- */
.special-notice {
    background-color: rgba(64,224,208,0.1);
    border: 1px solid #40e0d0;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.special-notice .icon {
    width: 24px;
    height: 24px;
    color: #008b8b;
}

.special-notice p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-negro);
    margin: 0;
}

/* --- Botón de acción --- */
.cancelacion-actions {
    padding-top: 0.5rem;
}

.cancelacion-actions .btn {
    background-color: #e91b1b; 
    color: #fff;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cancelacion-actions .btn:hover {
    background-color: #ff0000; 
    transform: translateY(-2px);
}

.cancelacion-actions .icon {
    width: 20px;
    height: 20px;
}

/* ----------------------Estilos vista pago pendiente------------------ */

/* Contenedor principal */
#pago_pendiente {
  background: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 24px;
  max-width: 700px;
  margin: 0 auto;
  margin-top: 50px;
  margin-bottom: 50px;
  /*box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);*/
  
}

/* Icono y mensaje */
.contenedor-reloj {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  padding: 20px;
}

.fondo-verde {
  background-color: #f6f9ec; /* Verde claro */
}

.reloj-giratorio-grande {
  width: 50px;
  height: 50px;
  animation: girar 2s linear infinite;
  color: var(--color-perico-dark); /* Color del icono */
}

/* Para un tamaño aún más grande */
.reloj-giratorio-enorme {
  width: 120px;
  height: 120px;
}

@keyframes girar {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


#pago_pendiente .flex-col {
  flex-direction: column;
}

#pago_pendiente .items-center {
  align-items: center;
}

#pago_pendiente .text-center {
  text-align: center;
}

#pago_pendiente .mb-6 {
  margin-bottom: 24px;
}

#pago_pendiente img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 16px;
}

#pago_pendiente h2 {
  font-size: 30px;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 8px;
}

#pago_pendiente p {
  color: #6B7280;
  max-width: 384px;
}

/* Detalles del pago */
#pago_pendiente .bg-warning\/5 {
  background-color: var(--color-lila-transparent);
  border: 1px solid var(--color-lila-light);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
}

#pago_pendiente h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: #1F2937;
  margin-bottom: 16px;
}

#pago_pendiente h3 svg {
  width: 20px;
  height: 20px;
  color: var(--color-rojo-dark);
}

#pago_pendiente .divide-y > :not([hidden]) ~ :not([hidden]) {
  border-top-width: 1px;
  border-color: rgba(229, 231, 235, 0.5);
}

#pago_pendiente .flex.justify-between {
  display: flex;
  justify-content: space-between;
}

#pago_pendiente .py-2 {
  padding-top: 8px;
  padding-bottom: 8px;
}

#pago_pendiente .text-text-muted {
  color: #6B7280;
  font-size: 18px;
}

#pago_pendiente .font-medium {
  font-weight: 500;
}

#pago_pendiente .font-bold {
  font-weight: 700;
}

#pago_pendiente .text-lg {
  font-size: 18px;
}

#pago_pendiente .text-warning {
  color: var(--color-rojo-dark);
}

/* Botones */
#pago_pendiente .flex.flex-col.gap-3 {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: center;
}

#pago_pendiente button {
border-radius: 8px;
  padding: 12px 20px; 
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 0 1 auto; 
  height: auto; 
  display: inline-flex;
  align-items: center;
  justify-content: center; 
  gap: 8px; 
  min-width: 120px; 
}

/* Botón cancelar */
#btn-cancelar {
  background-color: var(--color-lila);
  color: white;
  border: none;
}

#btn-cancelar:hover {
  background-color: var(--color-lila-dark);
  transform: translateY(-2px);
}

/* Botón inicio */
#btn-inicio {
  background-color: transparent;
  border: 1px solid #9ca3af;
  color: #9ca3af;;
}

#btn-inicio svg {
  flex-shrink: 0;
}

#btn-inicio:hover {
  background-color: var(--color-perico-dark);
  transform: translateY(-2px);
}
/* Información adicional */
#pago_pendiente .mt-6 {
  margin-top: 24px;
}

#pago_pendiente .bg-secondary\/30 {
  background-color: #F9FAFB;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}

#pago_pendiente .text-sm {
  font-size: 14px;
  text-align: center;
}

#pago_pendiente a {
  color: #3B82F6;
  font-weight: 600;
  text-decoration: none;
}

#pago_pendiente a:hover {
  text-decoration: underline;
}

/* Animación */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s ease-out;
}

/* Responsive */
@media (max-width: 640px) {
  #pago_pendiente {
    margin: 16px;
    padding: 24px;
    max-width: 100%;
  }

  #pago_pendiente h2 {
    font-size: 22px;
  }

  #pago_pendiente p {
    font-size: 14px;
    max-width: 100%;
  }

  #pago_pendiente img {
    width: 60px;
    height: 60px;
  }

  /* Botones en columna en móviles */
  #pago_pendiente .flex.flex-col.gap-3 {
    flex-direction: column;
    gap: 10px;
  }

  #pago_pendiente button {
    width: 100%; /* Que ocupen todo el ancho */
    min-width: unset;
  }

  /* Ajustar detalles del pago */
  #pago_pendiente .bg-warning\/5 {
    padding: 12px;
    font-size: 14px;
  }

  #pago_pendiente .text-lg {
    font-size: 16px;
  }

  #pago_pendiente h3 {
    font-size: 16px;
  }
}