/* 
  SISTEMA DE DISEÑO: Oscar Xicotencatl | Coaching en Frecuencia
  Paleta: Pizarra, Salvia, Arena, Oro Ahumado
  ✅ Optimizado con UI/UX Pro Max Skill
  ✅ WCAG 2.1 AA · Mobile-First · prefers-reduced-motion
*/

:root {
    /* Colors – Contraste WCAG AA verificado */
    --primary: #2C3E50;
    --primary-light: #34495E;
    --primary-dark: #1a252f;
    --secondary: #426E45;
    /* Verde Salvia profundo con contraste WCAG AA (6.1:1 sobre blanco) */
    --secondary-light: #A5D6A7;
    --secondary-dark: #4a7a4d;
    --accent: #B8860B;
    --accent-light: #D4A629;
    --bg-warm: #FAF9F6;
    --bg-alt: #F4F3F0;
    --text-dark: #1A1A1A;
    --text-body: #3D3D3D;
    /* Mejor legibilidad que #555 */
    --text-light: #555555;
    --white: #FFFFFF;
    --danger: #DC2626;
    --whatsapp: #0E7266;
    /* Verde WhatsApp profundo para contraste WCAG AA 4.5:1+ sobre blanco */

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
    --font-cursive: 'Pinyon Script', cursive;

    /* Spacing (8px grid) */
    --space-xs: 0.5rem;
    /* 8px */
    --space-sm: 1rem;
    /* 16px */
    --space-md: 2rem;
    /* 32px */
    --space-lg: 4rem;
    /* 64px */
    --space-xl: 6rem;
    /* 96px */

    /* Transitions – 200ms es el sweet spot per UI/UX Pro Max */
    --transition-fast: all 0.15s ease;
    --transition: all 0.2s ease;
    --transition-slow: all 0.4s ease;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);

    /* Border radius */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;
}

/* ═══════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════ */

.skip-to-content {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 0 0 8px 8px;
    z-index: 10000;
    font-weight: 700;
    transition: top 0.2s;
}
.skip-to-content:focus {
    top: 0;
}

/* ═══════════════════════════════════════
   BASE STYLES
   ═══════════════════════════════════════ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
    /* 16px base */
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-warm);
    color: var(--text-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p {
    margin-bottom: 1.25rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Justificación solo en bloques narrativos largos */
.history-text p,
.service-detail p,
.blog-post p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    text-align-last: left;
}

/* Excepciones de alineación para mantener jerarquía visual */
h1,
h2,
h3,
h4,
.text-center,
.hero-btns,
.footer,
blockquote {
    text-align-last: center;
    text-align: center;
}

/* (Justificación narrativa movida arriba) */

h1,
h2,
h3,
h4,
.serif-font {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

h4 {
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    cursor: pointer;
}

/* Focus states – WCAG keyboard navigation */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    display: block;
}

::selection {
    background: var(--secondary-light);
    color: var(--primary-dark);
}

/* Community Nav Accents */
.nav-community-link {
    color: var(--accent) !important;
    font-weight: bold;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
    animation: gentle-pulse 2s infinite ease-in-out;
}

@keyframes gentle-pulse {
    0% { transform: scale(1); text-shadow: 0 0 0 rgba(200, 150, 50, 0); }
    50% { transform: scale(1.05); text-shadow: 0 0 10px rgba(220, 170, 70, 0.4); }
    100% { transform: scale(1); text-shadow: 0 0 0 rgba(200, 150, 50, 0); }
}

/* ═══════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: var(--space-lg) 0;
}

.bg-light {
    background-color: var(--bg-alt);
}

.mt-md {
    margin-top: var(--space-md);
}

.caption-note {
    font-size: 0.75rem;
    color: #999;
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
}

/* ═══════════════════════════════════════
   HEALY PAGE – WORKFLOW DIAGRAM
   ═══════════════════════════════════════ */

.workflow-diagram-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 0;
    max-width: 700px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 0 auto;
    width: 150px;
}

.workflow-step h4 {
    font-size: 0.95rem;
    color: var(--primary);
    margin-top: 0.75rem;
    line-height: 1.3;
}

.workflow-icon {
    width: 120px;
    height: 120px;
    min-width: 120px;
    max-width: 120px;
    min-height: 120px;
    max-height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    background: var(--bg-alt);
}

.workflow-icon img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.workflow-device {
    width: 120px;
    height: 120px;
    min-width: 120px;
    max-width: 120px;
    min-height: 120px;
    max-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.workflow-device img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
}


.workflow-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    opacity: 0.6;
}

/* ═══════════════════════════════════════
   HEALY PAGE – ILLUSTRATION / TREE IMAGE
   ═══════════════════════════════════════ */

.illustration-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.illustration-container img {
    max-width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* ═══════════════════════════════════════
   HEALY PAGE – COACH DATABASE LISTS
   ═══════════════════════════════════════ */

.neutral-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
}

.neutral-list li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.neutral-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: 700;
    opacity: 0.7;
}

.card-dark .neutral-list li::before {
    content: "✓";
    color: rgba(255, 255, 255, 0.5);
}

.card-green .neutral-list li::before {
    color: var(--primary);
}

.coach-db-grid {
    columns: 2;
    column-gap: 1.5rem;
}

/* Mobile adjustments for workflow */
@media (max-width: 768px) {
    .workflow-diagram-container {
        flex-direction: column;
        gap: 1rem;
        max-width: 300px;
    }

    .workflow-arrow svg {
        transform: rotate(90deg);
    }

    .workflow-icon,
    .workflow-device {
        width: 100px;
        height: 100px;
    }

    .coach-db-grid {
        columns: 1;
    }

    .illustration-container img {
        max-height: 300px;
    }
}

/* ═══════════════════════════════════════
   BUTTONS – cursor-pointer on all clickables
   ═══════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    border: none;
    font-family: var(--font-sans);
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.8rem;
}

.btn-nav-cta {
    background: var(--accent);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-nav-cta:hover {
    background: #b8841e;
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(200, 149, 46, 0.35);
}

.nav-links .btn-nav-cta.active-link,
.nav-links .btn-nav-cta.active-link:hover {
    color: var(--white);
    background: #b8841e;
}

.nav-links .btn-nav-cta.active-link::after {
    display: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-whatsapp {
    background-color: #426E45;
    color: white !important;
}

.btn-whatsapp:hover {
    background-color: #325435;
    transform: translateY(-2px);
}

/* Botón de Acción Principal (Venta/Conversión) */
.btn-action {
    background: linear-gradient(135deg, #B8860B 0%, #D4A629 100%);
    color: white !important;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
    border: none;
    animation: gold-pulse 2s infinite;
}

.btn-action:hover {
    background: linear-gradient(135deg, #D4A629 0%, #B8860B 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.4);
    color: white !important;
}

@keyframes gold-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(184, 134, 11, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(184, 134, 11, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(184, 134, 11, 0);
    }
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Outline button for dark backgrounds (CTA final) */
.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
}

/* Action button enhanced for dark backgrounds */
.btn-action-on-dark {
    box-shadow: 0 4px 20px rgba(184, 134, 11, 0.5);
}

.btn-action-on-dark:hover {
    box-shadow: 0 6px 28px rgba(184, 134, 11, 0.6);
}

.btn-full {
    width: 100%;
    margin-top: 1rem;
}

.text-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-top: 1rem;
    display: inline-block;
    cursor: pointer;
}

/* --- Container para botones de CTA --- */
.dual-cta, .path-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

@media (max-width: 600px) {
    .dual-cta, .path-cta {
        flex-direction: column;
        align-items: stretch;
    }
    .dual-cta .btn, .path-cta .btn {
        width: 100%;
        margin-top: 0;
    }
}

.text-link:hover {
    color: var(--accent);
}

/* ═══════════════════════════════════════
   HEADER & NAVIGATION
   ═══════════════════════════════════════ */

#main-header {
    background-color: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

#main-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.brand-logo-mixed {
    display: flex;
    height: 80px;
    align-items: center;
}

.brand-logo-mixed a {
    display: flex;
    flex-direction: row;
    /* Coloca la imagen y el texto uno al lado del otro */
    align-items: center;
    /* Centra ambos elementos verticalmente */
    justify-content: flex-start;
    text-decoration: none;
    transition: var(--transition);
    padding-top: 0;
}

.brand-logo-mixed a:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.logo-icon-crop {
    width: 150px;
    height: 80px;
    /* Alto perfecto para dar respiro al logo */
    overflow: hidden;
    position: relative;
    display: block;
    /* Block en lugar de flex facilita el uso de márgenes negativos */
    margin-right: 15px;
    margin-bottom: 0;
}

.logo-icon-crop img {
    width: 220px;
    /* Fuerzo el tamaño grande */
    height: 220px;
    max-width: none;
    /* Evita que otras reglas CSS encojan la imagen */
    margin-top: -50px;
    /* Ajuste óptico Y exacto elegido (Opción 2) */
    margin-left: -35px;
    /* Ajuste óptico X exacto elegido (Opción 2) */
    object-fit: contain;
    /* Encaje estándar de contenedor */
    object-position: center top;
    mix-blend-mode: multiply;
    /* Mantiene la magia del fondo invisible */
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Alinea los textos corporativos a la izquierda */
    justify-content: center;
}

.logo-name-text {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    /* El nombre principal es más grande ahora que tiene todo el ancho */
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    letter-spacing: 0px;
}

.logo-tagline-text {
    font-family: var(--font-sans);
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--accent);
    /* Dorado */
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--primary);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    padding: 0.5rem;
}

/* ═══════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════ */

.hero-section {
    padding: var(--space-xl) 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    margin-bottom: var(--space-sm);
    line-height: 1.08;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto var(--space-md);
    color: var(--text-light);
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Page Hero (Internal Pages) */
.page-hero {
    padding: var(--space-lg) 0 var(--space-md);
    background: var(--bg-alt);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.page-hero h1 {
    margin-bottom: var(--space-xs);
}

.page-hero .hero-subtitle {
    animation: none;
}

/* Card Link for Index navigation */
.card-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
    color: inherit;
}

.card-link h3 {
    transition: var(--transition-fast);
}

.card-link:hover h3 {
    color: var(--accent);
}

.card-icon {
    display: block;
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease;
    text-align: center;
}

.card-link:hover .card-icon {
    transform: scale(1.15);
}

/* Active page indicator in nav */
.nav-links .active-link {
    color: var(--accent);
    font-weight: 700;
}

.nav-links .active-link::after {
    width: 100%;
}

/* ═══════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════ */

.trust-bar {
    background: var(--bg-alt);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1rem 0;
}

.trust-bar-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-light);
    font-family: var(--font-sans);
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: var(--transition-fast);
}

a.trust-item:hover {
    color: var(--accent);
}

.trust-item strong {
    color: var(--primary);
    font-weight: 700;
}

.trust-item svg {
    flex-shrink: 0;
}

.trust-divider {
    width: 1px;
    height: 16px;
    background: rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .trust-divider {
        display: none;
    }
    .trust-bar-items {
        gap: 1rem;
        justify-content: center;
    }
}

/* ═══════════════════════════════════════
   GRID SYSTEM
   ═══════════════════════════════════════ */

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.grid-2.align-start {
    align-items: start;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

/* ═══════════════════════════════════════
   HISTORY / STORY SECTION
   ═══════════════════════════════════════ */

.subheadline {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 2.5px;
    display: block;
    margin-bottom: 0.75rem;
    font-family: var(--font-sans);
}

.history-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    padding: 10px;
    /* Estilo de marco físico */
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.history-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.15);
}

.history-image img {
    border-radius: calc(var(--radius-lg) - 8px);
    display: block;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.history-image:hover img {
    transform: scale(1.02);
}

.history-text h2 {
    margin-bottom: 1.5rem;
}

.history-text p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: var(--text-body);
}

/* ═══════════════════════════════════════
   CARDS & COMPONENTS
   ═══════════════════════════════════════ */

.cards-section {
    margin-top: var(--space-md);
}

.card {
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.card-dark {
    background-color: var(--primary);
    color: white;
}

.card-dark h3 {
    color: var(--secondary-light);
    margin-bottom: 1.2rem;
}

.card-dark li {
    margin-bottom: 0.6rem;
    padding-left: 1.2rem;
    position: relative;
}

.card-dark li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: #ff6b6b;
    font-size: 0.8rem;
}

/* Override: cuando la lista tiene clase .neutral-list, usar checks en vez de cruces */
.card-dark .neutral-list li::before {
    content: "✓";
    color: rgba(255, 255, 255, 0.5);
    font-size: inherit;
}

.card-green {
    background-color: var(--secondary-light);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-green h3 {
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.card-green li {
    margin-bottom: 0.6rem;
    padding-left: 1.2rem;
    position: relative;
}

.card-green li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-dark);
    font-weight: 700;
}

.shadow {
    box-shadow: var(--shadow);
    background: white;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Section Headers */
.section-header {
    margin-bottom: var(--space-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* ═══════════════════════════════════════
   SERVICES & COACHING
   ═══════════════════════════════════════ */

.check-list {
    margin-top: 1rem;
}

.check-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-body);
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
}

.service-item {
    background: white;
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.service-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.service-item h3 {
    margin-bottom: 0.75rem;
}

/* ═══════════════════════════════════════
   COMPARISON / GUIDE SECTION
   ═══════════════════════════════════════ */

/* --- Carousel Editions --- */
.carousel-editions {
    position: relative;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.edition-card {
    padding: var(--space-md);
    padding-top: 0;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: white;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.65;
    transform: scale(0.97);
    filter: grayscale(0.15);
    overflow: hidden;
    position: relative;
}

/* --- Tier Color Stripe --- */
.tier-stripe {
    width: 100%;
    height: 5px;
    margin-bottom: var(--space-sm);
    transition: height 0.4s ease;
}

.tier-discover .tier-stripe { background: linear-gradient(90deg, #5ba4cf, #2e86c1); }
.tier-evolve .tier-stripe  { background: linear-gradient(90deg, #c8952e, #e6a817); }
.tier-pro .tier-stripe     { background: linear-gradient(90deg, #2a7d4f, #426e45); }

.edition-card.spotlight .tier-stripe { height: 8px; }

/* --- Tier Icon --- */
.tier-icon {
    font-size: 2.2rem;
    margin-bottom: 0.25rem;
    transition: transform 0.4s ease;
}

.edition-card.spotlight .tier-icon {
    transform: scale(1.2);
}

/* --- Tier Stats Badges --- */
.tier-stats {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    justify-content: center;
}

.stat-badge {
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    transition: all 0.4s ease;
}

.stat-badge strong {
    font-size: 1rem;
    display: block;
    line-height: 1.1;
}

.tier-discover .stat-badge {
    background: rgba(91, 164, 207, 0.12);
    color: #2e6a8e;
    border: 1px solid rgba(91, 164, 207, 0.25);
}

.tier-evolve .stat-badge {
    background: rgba(200, 149, 46, 0.12);
    color: #8a6510;
    border: 1px solid rgba(200, 149, 46, 0.25);
}

.tier-pro .stat-badge {
    background: rgba(66, 110, 69, 0.12);
    color: #2a5a2e;
    border: 1px solid rgba(66, 110, 69, 0.25);
}

/* --- Tier Progress Bar --- */
.tier-progress {
    width: 100%;
    margin: 0.75rem 0 1rem;
    position: relative;
}

.tier-progress-bar {
    height: 6px;
    border-radius: 99px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.tier-discover .tier-progress-bar { background: linear-gradient(90deg, #5ba4cf, #2e86c1); }
.tier-evolve .tier-progress-bar  { background: linear-gradient(90deg, #c8952e, #e6a817); }
.tier-pro .tier-progress-bar     { background: linear-gradient(90deg, #2a7d4f, #426e45); }

.tier-progress {
    background: rgba(0, 0, 0, 0.06);
    border-radius: 99px;
    overflow: hidden;
}

.tier-progress-label {
    display: block;
    font-size: 0.7rem;
    color: rgba(0,0,0,0.4);
    margin-top: 0.3rem;
    font-style: italic;
}

/* --- Tier-Specific Spotlight Colors --- */
.tier-discover.spotlight {
    box-shadow: 0 8px 32px rgba(46, 134, 193, 0.18), 0 0 0 2px #5ba4cf;
    border-color: #5ba4cf;
}
.tier-discover.spotlight h3 { color: #2e6a8e; }

.tier-evolve.spotlight {
    box-shadow: 0 8px 32px rgba(200, 149, 46, 0.2), 0 0 0 2px #c8952e;
    border-color: #c8952e;
}
.tier-evolve.spotlight h3 { color: #8a6510; }

.tier-pro.spotlight {
    box-shadow: 0 8px 32px rgba(66, 110, 69, 0.2), 0 0 0 2px #2a7d4f;
    border-color: #2a7d4f;
}
.tier-pro.spotlight h3 { color: #2a5a2e; }

/* --- Tier-Specific Button Colors --- */
.tier-discover .btn-action {
    background: linear-gradient(135deg, #5ba4cf, #2e86c1);
}
.tier-discover .btn-action:hover {
    background: linear-gradient(135deg, #2e86c1, #1a5276);
}
.tier-discover .btn-outline {
    border-color: #5ba4cf;
    color: #2e6a8e;
}
.tier-discover .btn-outline:hover {
    background: rgba(91, 164, 207, 0.08);
}

.tier-pro .btn-action {
    background: linear-gradient(135deg, #2a7d4f, #426e45);
}
.tier-pro .btn-action:hover {
    background: linear-gradient(135deg, #1e5c3a, #2a4a2b);
}
.tier-pro .btn-outline {
    border-color: #2a7d4f;
    color: #2a5a2e;
}
.tier-pro .btn-outline:hover {
    background: rgba(66, 110, 69, 0.08);
}

/* --- Add-ons Note --- */
.addons-note {
    margin-top: var(--space-md);
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px dashed rgba(0, 0, 0, 0.12);
    border-radius: var(--radius);
    text-align: center;
}

.addons-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.addons-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.addon-item {
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.addon-item strong {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.addon-item span {
    font-size: 0.78rem;
    color: rgba(0, 0, 0, 0.55);
    line-height: 1.4;
}

.addons-cta {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.5);
    font-style: italic;
}

.addons-cta a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 600;
}

@media (max-width: 768px) {
    .addons-list {
        grid-template-columns: 1fr;
    }
}

/* === PURCHASE PROCESS SECTION === */

/* --- Block 1: Purchase Process Timeline --- */
.purchase-process {
    margin-top: var(--space-lg);
    padding: 2rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.purchase-process h3 {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.hero-process {
    background: transparent;
    box-shadow: none;
    margin-top: var(--space-md);
    padding: 1.5rem 0 0;
}

.hero-process .step-number {
    background: var(--accent);
}

.process-subtitle {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.process-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.process-step {
    flex: 1;
    max-width: 220px;
    padding: 0 0.75rem;
    position: relative;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.process-step h4 {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.process-step p {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.55);
    line-height: 1.45;
}

.step-connector {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin-top: 14px;
    flex-shrink: 0;
    border-radius: 99px;
}

@media (max-width: 768px) {
    .process-timeline {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .step-connector {
        width: 2px;
        height: 24px;
        margin: 0;
    }
    .process-step {
        max-width: 100%;
    }
}

/* --- Block 2: Referral Note --- */
.referral-note {
    margin-top: var(--space-md);
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(66, 110, 69, 0.04), rgba(200, 149, 46, 0.04));
    border: 1px solid rgba(66, 110, 69, 0.12);
    border-radius: var(--radius);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.referral-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.referral-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.referral-content > p {
    font-size: 0.88rem;
    color: rgba(0, 0, 0, 0.65);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.referral-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem 0;
}

.referral-list li {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
    padding: 0.3rem 0;
    line-height: 1.4;
}

.referral-tagline {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    font-style: italic;
}

@media (max-width: 768px) {
    .referral-note {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* --- Block 3: Enhanced Benefits --- */
.benefits-enhanced {
    margin-top: var(--space-md);
    text-align: center;
}

.benefits-enhanced h3 {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.benefit-card-new {
    padding: 1.25rem 1rem;
    background: white;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card-new:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    border-color: rgba(66, 110, 69, 0.15);
}

.benefit-icon-new {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.benefit-card-new h4 {
    font-size: 0.92rem;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.benefit-card-new p {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.55);
    line-height: 1.45;
}

/* --- Workbook Card Highlight (Index page) --- */
.card-workbook-highlight {
    position: relative;
    border: 2px solid var(--accent) !important;
    background: linear-gradient(135deg, rgba(200, 149, 46, 0.03), rgba(66, 110, 69, 0.03)) !important;
}

.card-workbook-highlight:hover {
    border-color: var(--primary) !important;
    box-shadow: 0 8px 30px rgba(200, 149, 46, 0.15) !important;
}

.card-badge-new {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

/* --- Workbook Showcase Section (Index page) --- */
.workbook-showcase {
    background: linear-gradient(135deg, #f7f4ee 0%, #eee9df 100%);
}

.workbook-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xl);
    align-items: center;
}

.workbook-showcase-visual {
    display: flex;
    justify-content: center;
}

/* Mockup Screen */
.workbook-mockup {
    perspective: 800px;
}

.mockup-screen {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    width: 340px;
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.mockup-screen:hover {
    transform: rotateY(0) rotateX(0) scale(1.02);
}

.mockup-header {
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    padding: 10px 14px;
    display: flex;
    gap: 6px;
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}

.mockup-dot:first-child { background: #ff6b6b; }
.mockup-dot:nth-child(2) { background: #ffd93d; }
.mockup-dot:nth-child(3) { background: #6bff8d; }

.mockup-body {
    padding: 1.5rem;
}

.mockup-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.mockup-progress {
    height: 8px;
    background: rgba(66, 110, 69, 0.1);
    border-radius: 4px;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.mockup-progress-bar {
    height: 100%;
    width: 65%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
    animation: progressGrow 2s ease-out;
}

@keyframes progressGrow {
    from { width: 0; }
    to { width: 65%; }
}

.mockup-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.25rem;
}

.mockup-line {
    height: 10px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 5px;
}

.mockup-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 700;
}

/* Showcase Info */
.workbook-showcase-info .subheadline {
    display: block;
    margin-bottom: 0.5rem;
}

.workbook-showcase-info h2 {
    margin-bottom: 1rem;
}

.workbook-showcase-desc {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 1.75rem;
    max-width: 500px;
}

.workbook-showcase-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.ws-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.ws-feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.ws-feature strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 2px;
}

.ws-feature p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
    margin: 0;
}

.workbook-showcase-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .workbook-showcase-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .workbook-showcase-visual {
        order: -1;
    }

    .mockup-screen {
        transform: none;
        width: 280px;
    }

    .workbook-showcase-desc {
        max-width: 100%;
    }

    .workbook-showcase-actions {
        flex-direction: column;
        justify-content: center;
    }

    .workbook-showcase-actions .btn {
        width: 100%;
        text-align: center;
    }

    .workbook-showcase-features {
        align-items: flex-start;
        margin-top: 1.5rem;
    }

    .ws-feature {
        text-align: left;
    }
}

/* --- Workbook Bonus Exclusive Block --- */
.workbook-bonus {
    margin-top: var(--space-lg);
    padding: 3px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--accent), var(--primary), var(--accent));
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    position: relative;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.workbook-bonus-inner {
    background: linear-gradient(135deg, #faf9f6, #f0ebe3);
    border-radius: calc(var(--radius-lg) - 2px);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.workbook-bonus-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(200, 149, 46, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.workbook-bonus-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), #d4a84b);
    color: white;
    padding: 6px 20px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(200, 149, 46, 0.3);
}

.workbook-bonus-content {
    text-align: center;
}

.workbook-bonus-icon {
    font-size: 3.5rem;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.workbook-bonus-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.workbook-bonus-subtitle {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.workbook-bonus-content > p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.workbook-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.workbook-feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius);
    border: 1px solid rgba(66, 110, 69, 0.08);
    font-size: 0.85rem;
    color: var(--text-body);
    text-align: left;
    transition: all 0.3s ease;
}

.workbook-feature:hover {
    background: white;
    border-color: rgba(66, 110, 69, 0.15);
    transform: translateX(4px);
}

.workbook-bonus-note {
    font-size: 0.85rem !important;
    color: rgba(0, 0, 0, 0.55) !important;
    font-style: italic;
    max-width: 550px;
    margin: 0 auto 1.5rem !important;
    padding: 1rem;
    background: rgba(66, 110, 69, 0.04);
    border-radius: var(--radius);
    border-left: 3px solid var(--primary);
}

.workbook-bonus-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(66, 110, 69, 0.25);
}

.workbook-bonus-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(66, 110, 69, 0.35);
}

@media (max-width: 768px) {
    .workbook-bonus-inner {
        padding: 1.75rem 1.25rem;
    }
    
    .workbook-bonus-content h3 {
        font-size: 1.25rem;
    }
    
    .workbook-features {
        grid-template-columns: 1fr;
    }
}

.edition-card.spotlight {
    opacity: 1;
    transform: scale(1.04);
    filter: grayscale(0);
    box-shadow: 0 8px 32px rgba(66, 110, 69, 0.15), 0 0 0 2px var(--primary);
    border-color: var(--primary);
}

.edition-card.spotlight h3 {
    color: var(--primary);
}

.edition-card p:not(.price-indicator) {
    flex-grow: 1;
}

.edition-card .btn {
    margin-top: auto;
}

.edition-card .text-link {
    margin-top: var(--space-xs);
}

.edition-card:hover {
    opacity: 1;
    transform: scale(1.04);
    filter: grayscale(0);
    box-shadow: var(--shadow);
}

.edition-card.featured {
    border: 2px solid var(--primary);
    position: relative;
    z-index: 2;
}

.edition-card.featured.spotlight {
    transform: scale(1.06);
    box-shadow: 0 12px 40px rgba(66, 110, 69, 0.2), 0 0 0 3px var(--accent);
    border-color: var(--accent);
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: var(--space-sm) 0;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.4s ease;
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(66, 110, 69, 0.3);
}

.carousel-dot:hover {
    background: var(--accent);
    transform: scale(1.2);
}

.badget {
    background: var(--accent);
    color: white;
    padding: 5px 16px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 0 0 var(--radius) var(--radius);
    position: relative;
    z-index: 5;
    letter-spacing: 0.5px;
    white-space: nowrap;
    margin-bottom: -0.25rem;
}

.price-indicator {
    font-size: 0.85rem;
    color: var(--secondary-dark);
    font-weight: 700;
    margin: 0.5rem 0 1rem;
}

/* --- Ventanas Modales (Pop-ups) --- */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Fondo semi-transparente oscuro */
    backdrop-filter: blur(4px); /* Difumina el fondo */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: var(--space-xl);
    border: 1px solid var(--primary);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(-30px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 85vh;
    overflow-y: auto; /* Scroll si el contenido es muy largo */
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--secondary-dark);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--accent);
    text-decoration: none;
}

.modal-content h2 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.modal-content > p {
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.modal-body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-body);
}

.modal-body ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.2rem;
}

.modal-body li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.modal-body hr {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin: 1.5rem 0;
}

/* Botón disparador de Modal en tarjeta */
.modal-trigger {
    margin: 1rem 0;
    width: 100%;
}


/* Benefits Box */
.benefit-box {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin-top: var(--space-md);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.benefit-box h3 {
    margin-bottom: var(--space-md);
}

.benefit {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit .icon {
    background: var(--secondary-light);
    color: var(--primary);
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
}

/* ═══════════════════════════════════════
   RESOURCES & LIBRARY
   ═══════════════════════════════════════ */

.resources-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.training-card {
    background: white;
    padding: var(--space-md);
    border-radius: var(--radius);
    margin-top: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.training-card:hover {
    box-shadow: var(--shadow);
}

.training-card h4 {
    margin-bottom: 0.5rem;
}

.tag {
    background: var(--secondary-light);
    color: var(--primary);
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.library-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.library-item:last-child {
    border-bottom: none;
}

.library-item a {
    display: block;
}

.library-item h4 {
    transition: var(--transition-fast);
    margin-bottom: 0.25rem;
}

.library-item a:hover h4 {
    color: var(--accent);
}

.library-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════
   BLOG SECTION
   ═══════════════════════════════════════ */

.blog-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-image img {
    border-radius: 0;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-image.contain {
    background-color: #f8fcf9;
}

.blog-image.contain img {
    object-fit: contain;
    padding: 1.5rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h4 {
    margin-bottom: 0.5rem;
}

.blog-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* ═══════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════ */

.faq-accordion {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-item h4 {
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.faq-item p {
    color: var(--text-body);
    font-size: 0.95rem;
}

/* ═══════════════════════════════════════
   TESTIMONIALS / REVIEWS
   ═══════════════════════════════════════ */

.rating-summary {
    margin-bottom: var(--space-lg);
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 0.5rem;
}

.rating-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.rating-count {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.testimonial-card {
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    font-family: var(--font-sans);
}

.testimonial-name {
    font-size: 1rem;
    margin-bottom: 2px;
}

.testimonial-stars {
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.7;
    border-left: 3px solid var(--secondary-light);
    padding-left: 1rem;
    margin: 0;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════
   HOW IT WORKS (3-step process)
   ═══════════════════════════════════════ */

.how-it-works {
    background: var(--bg-warm);
}

.hiw-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 1rem;
}

.hiw-step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.hiw-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--white);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 3px 12px rgba(184, 134, 11, 0.25);
}

.hiw-icon {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.hiw-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.hiw-step p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

.hiw-connector {
    display: flex;
    align-items: center;
    padding-top: 3.5rem;
    flex-shrink: 0;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .hiw-steps {
        flex-direction: column;
        align-items: center;
    }
    .hiw-connector {
        transform: rotate(90deg);
        padding-top: 0;
        margin: -0.5rem 0;
    }
    .hiw-step {
        max-width: 100%;
    }
}

/* ═══════════════════════════════════════
   ABOUT OSCAR (Homepage mini-bio)
   ═══════════════════════════════════════ */

.about-oscar-home {
    background: var(--bg-warm);
}

.about-oscar-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-lg);
    align-items: center;
}

.about-oscar-photo .history-image {
    max-width: 380px;
}

.about-oscar-text h2 {
    text-align: left;
    text-align-last: left;
    margin-bottom: 1rem;
}

.about-oscar-text p {
    text-align: left;
    text-align-last: left;
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.8;
}

.about-oscar-text .subheadline {
    text-align: left;
}

.about-oscar-credentials {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.credential-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    background: rgba(184, 134, 11, 0.06);
    border: 1px solid rgba(184, 134, 11, 0.15);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-dark);
    width: fit-content;
}

.credential-badge svg {
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .about-oscar-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-oscar-photo .history-image {
        max-width: 280px;
        margin: 0 auto;
    }
    .about-oscar-text h2,
    .about-oscar-text p,
    .about-oscar-text .subheadline {
        text-align: center;
        text-align-last: center;
    }
    .about-oscar-credentials {
        align-items: center;
    }
    .about-oscar-text .text-link {
        display: block;
        text-align: center;
    }
}

/* ═══════════════════════════════════════
   HOME TESTIMONIALS (Featured on Homepage)
   ═══════════════════════════════════════ */

.home-testimonials {
    background: var(--bg-alt);
}

.home-testimonials-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: -0.5rem;
}

.ht-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.testimonials-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 100%;
}

.home-testimonials-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 2rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
}

.home-testimonials-carousel::-webkit-scrollbar {
    display: none;
}

.home-testimonials-carousel .ht-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
}

@media (min-width: 768px) {
    .home-testimonials-carousel .ht-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (min-width: 1024px) {
    .home-testimonials-carousel .ht-card {
        flex: 0 0 calc(33.333% - 1rem);
    }
}

.carousel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--primary);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    z-index: 2;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.ht-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-left: 4px solid var(--secondary-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ht-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent);
}

.ht-quote-mark {
    color: var(--secondary-light);
    opacity: 0.4;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.ht-text {
    font-style: italic;
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0 0 1.5rem 0;
    border: none;
    padding: 0;
    flex-grow: 1;
    text-align: left;
    text-align-last: left;
}

.ht-text strong {
    color: var(--primary);
    font-style: italic;
}

.ht-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.ht-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ht-name {
    display: block;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
    line-height: 1.2;
}

.ht-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--text-light);
    font-family: var(--font-sans);
    margin-top: 2px;
}

/* Responsive: Tablet */
@media (max-width: 1024px) {
    .home-testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
    .home-testimonials-grid .ht-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        justify-self: center;
    }
}

/* Responsive: Mobile */
@media (max-width: 640px) {
    .home-testimonials-grid {
        grid-template-columns: 1fr;
    }
    .home-testimonials-grid .ht-card:last-child {
        max-width: none;
        grid-column: auto;
    }
    .home-testimonials-rating {
        flex-wrap: wrap;
        font-size: 0.85rem;
    }
    .ht-card {
        padding: 1.5rem;
    }
}

/* ═══════════════════════════════════════
   CTA FINAL
   ═══════════════════════════════════════ */

.final-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
}

.final-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto var(--space-md);
    font-size: 1.1rem;
}

.final-cta .btn-primary {
    background: white;
    color: var(--primary);
}

.final-cta .btn-primary:hover {
    background: var(--secondary-light);
    color: var(--primary-dark);
}

.final-cta .btn-whatsapp {
    background-color: #426E45;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.final-cta .btn-whatsapp:hover {
    background-color: #325435;
    transform: translateY(-3px);
}

.final-cta .btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.final-cta .btn-secondary:hover {
    background: white;
    color: var(--primary);
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */

.footer {
    background: var(--primary-dark);
    color: white;
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.footer .container {
    padding: 0 1.5rem;
}

.footer .grid-3 {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    /* Disclaimer gets more room */
    gap: 4rem;
    align-items: start;
}

.footer h3,
.footer h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-about h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
    opacity: 0.9;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 450px;
    text-align: justify;
    font-style: italic;
}

.footer-links ul {
    margin-top: 0.5rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.footer-bottom {
    margin-top: var(--space-lg);
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */

/* Animated Space Hero (Quantum Aurora) */
.hero-quantum-space {
    position: relative;
    background-color: #1a252f;
    background-image: radial-gradient(circle at 50% 50%, var(--primary) 0%, #1a252f 80%);
    color: white;
    overflow: hidden;
}

.text-white {
    color: #ffffff !important;
}

.text-white-opacity {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Premium Content Styling */
.hero-content-premium {
    animation: floatText 8s ease-in-out infinite;
}

.hero-title-premium {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--bg-warm);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
}

.hero-subtitle-premium {
    font-size: 1.15rem;
    color: rgba(250, 249, 246, 0.85);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    font-weight: 300;
}

/* Premium Buttons */
.btn-premium-primary {
    background-color: var(--secondary);
    color: #ffffff;
    border: 1px solid rgba(107, 154, 110, 0.5);
    box-shadow: 0 15px 35px rgba(107, 154, 110, 0.2);
    backdrop-filter: blur(5px);
}

.btn-premium-primary:hover {
    background-color: #7ab37e;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(107, 154, 110, 0.4);
    color: #ffffff;
}

.btn-premium-outline {
    background-color: transparent;
    color: var(--bg-warm);
    border: 1px solid rgba(250, 249, 246, 0.3);
    backdrop-filter: blur(5px);
}

.btn-premium-outline:hover {
    background-color: rgba(250, 249, 246, 0.1);
    border-color: rgba(250, 249, 246, 0.8);
    transform: translateY(-3px);
    color: var(--bg-warm);
}

.justify-center {
    justify-content: center;
}

/* Hero Trust Line */
.hero-trust-line {
    color: rgba(250, 249, 246, 0.5);
    font-size: 0.8rem;
    margin-top: 1rem;
    letter-spacing: 0.5px;
    font-weight: 300;
}

/* Energy Fields Components */
.frequency-energy-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.info-field-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}


.energy-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    mix-blend-mode: screen;
    animation: floatOrb 20s infinite ease-in-out alternate;
}

.energy-orb-1 {
    width: 60vw;
    height: 60vw;
    background: rgba(107, 154, 110, 0.4);
    /* Sage */
    top: -20vh;
    left: -10vw;
    animation-duration: 25s;
}

.energy-orb-2 {
    width: 70vw;
    height: 70vw;
    background: rgba(184, 134, 11, 0.3);
    /* Gold */
    bottom: -30vh;
    right: -20vw;
    animation-duration: 30s;
    animation-delay: -5s;
}

.energy-orb-3 {
    width: 50vw;
    height: 50vw;
    background: rgba(188, 222, 191, 0.2);
    top: 20vh;
    left: 30vw;
    animation-duration: 22s;
    animation-delay: -10s;
}

.technical-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(500px) rotateX(60deg) translateY(0);
    animation: moveGrid 30s linear infinite;
    z-index: 2;
    opacity: 0.5;
}

.stardust {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 20px 30px, #ffffff, rgba(0, 0, 0, 0)),
        radial-gradient(1.5px 1.5px at 150px 180px, rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 300px 80px, #ffffff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 450px 250px, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 600px 100px, rgba(255, 255, 255, 0.9), rgba(0, 0, 0, 0));
    background-size: 700px 300px;
    animation: driftSpacePremium 120s linear infinite;
    z-index: 2;
    opacity: 0.4;
}

.sine-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40vh;
    z-index: 3;
    opacity: 0.2;
    pointer-events: none;
}

.sine-line {
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
}

.sine-1 {
    stroke: var(--bg-warm);
    animation: waveOscillate 12s infinite linear;
}

.sine-2 {
    stroke: var(--accent);
    animation: waveOscillate 16s infinite linear reverse;
}

.sine-3 {
    stroke: var(--secondary);
    animation: waveOscillate 20s infinite linear;
}

/* KEYFRAMES PREMIUM */
@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(5%, 5%) scale(1.1);
    }

    100% {
        transform: translate(-5%, -5%) scale(0.9);
    }
}

@keyframes moveGrid {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }

    100% {
        transform: perspective(500px) rotateX(60deg) translateY(60px);
    }
}

@keyframes driftSpacePremium {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 700px 300px;
    }
}

@keyframes waveOscillate {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes floatText {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════
   PREFERS-REDUCED-MOTION (WCAG)
   ═══════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ═══════════════════════════════════════
   RESPONSIVE – Breakpoints: 375, 768, 1024, 1440
   ═══════════════════════════════════════ */

@media (max-width: 1440px) {
    .container {
        max-width: 1100px;
    }
}

@media (max-width: 1024px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .hero-section {
        min-height: 70vh;
    }

    .section-padding {
        padding: var(--space-lg) 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    /* Mobile nav overlay */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-warm);
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 9999;
    }

    .nav-links.active a {
        font-size: 1.3rem;
    }

    .hero-section {
        padding: var(--space-lg) 0;
        min-height: 60vh;
    }

    .resources-flex {
        grid-template-columns: 1fr;
    }

    .edition-card.featured {
        transform: scale(1);
    }

    .benefit-box {
        padding: var(--space-md);
    }

    .faq-item {
        padding: 1.25rem;
    }
}

@media (max-width: 375px) {
    body {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%;
    }
}

/* PREMIUM IMAGE EFFECTS */
.healy-usage-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    padding: 12px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
    transition: var(--transition-slow);
}

.healy-usage-image img {
    filter: grayscale(100%);
    border-radius: calc(var(--radius-lg) - 8px);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
        filter 0.6s ease;
}

.healy-usage-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

.healy-usage-image:hover img {
    filter: grayscale(0%);
    transform: scale(1.04);
}

/* ═══════════════════════════════════════
   WHEEL OF LIFE TAGS
   ═══════════════════════════════════════ */

.wheel-tag {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: var(--transition-fast);
    cursor: default;
}

.wheel-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wheel-tag--green {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wheel-tag--yellow {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.wheel-tag--orange {
    background: #fde2cc;
    color: #8a4500;
    border: 1px solid #f5c6a5;
}

.wheel-tag--red {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ═══════════════════════════════════════
   CASE ACCORDION — Casos Reales
   ═══════════════════════════════════════ */

.cases-accordion {
    max-width: 850px;
    margin: 0 auto;
}

.case-accordion {
    margin-bottom: 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    background: white;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.case-accordion:hover {
    box-shadow: var(--shadow);
}

.case-accordion.active {
    border-color: rgba(66, 110, 69, 0.2);
    box-shadow: 0 8px 30px rgba(66, 110, 69, 0.1);
}

.case-accordion__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 1rem;
    transition: var(--transition-fast);
}

.case-accordion__toggle:hover {
    background: rgba(66, 110, 69, 0.03);
}

.case-accordion__header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.case-accordion__icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    line-height: 1;
}

.case-accordion__title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-headings);
    margin: 0;
    line-height: 1.3;
}

.case-accordion__subtitle {
    font-size: 0.88rem;
    color: var(--text-light);
    margin: 0.15rem 0 0;
    line-height: 1.4;
}

.case-accordion__chevron {
    flex-shrink: 0;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.case-accordion.active .case-accordion__chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.case-accordion__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.case-accordion.active .case-accordion__panel {
    max-height: 2000px;
    padding: 0 1.5rem 1.5rem;
}

/* Steps dentro de cada caso */
.case-step {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.case-step:last-of-type {
    border-bottom: none;
}

.case-step__badge {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    margin-bottom: 0.5rem;
}

.case-step p {
    font-size: 0.95rem;
    color: var(--text-body);
    margin: 0;
    line-height: 1.7;
}

.case-step em {
    display: block;
    background: rgba(66, 110, 69, 0.06);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    border-left: 3px solid var(--secondary);
    color: var(--primary);
    font-size: 0.93rem;
    line-height: 1.6;
}

.case-step .check-list {
    margin: 0.5rem 0 0;
}

.case-note {
    background: rgba(184, 134, 11, 0.06);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    color: var(--text-light);
    border-left: 3px solid var(--accent);
    margin-top: 0.75rem;
    line-height: 1.6;
}

/* Responsive Cases */
@media (max-width: 768px) {
    .case-accordion__toggle {
        padding: 1rem;
    }

    .case-accordion__icon {
        font-size: 1.5rem;
    }

    .case-accordion__title {
        font-size: 1rem;
    }

    .case-accordion__panel {
        padding: 0 1rem;
    }

    .case-accordion.active .case-accordion__panel {
        padding: 0 1rem 1rem;
    }

    .wheel-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }
}

/* ═══════════════════════════════════════
   WORKFLOW STEP HOVER EFFECTS
   ═══════════════════════════════════════ */

.workflow-step-img {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.4s ease,
                filter 0.4s ease;
    cursor: pointer;
}

.workflow-step-img:hover {
    transform: scale(1.12) rotate(3deg);
    box-shadow: 0 12px 30px rgba(184, 134, 11, 0.25),
                0 0 20px rgba(184, 134, 11, 0.1);
    filter: brightness(1.05);
}

.workflow-step-img:hover img {
    transform: scale(1.05);
}

.workflow-step-img img {
    transition: transform 0.4s ease;
}

/* ═══════════════════════════════════════
   SERVICIOS: ELIGE TU CAMINO (2 Paths)
   ═══════════════════════════════════════ */

.path-chooser {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.path-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
    animation: fadeInUp 0.6s ease both;
    overflow: visible;
}

.path-card:nth-child(2) {
    animation-delay: 0.15s;
}

.path-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* Workbook variant */
.path-card--workbook {
    border-top: 4px solid var(--accent);
}

/* VIP variant */
.path-card--vip {
    border-top: 4px solid var(--primary);
    box-shadow: 0 8px 35px rgba(44, 62, 80, 0.12);
}

.path-card--vip:hover {
    box-shadow: 0 15px 50px rgba(44, 62, 80, 0.18);
}

/* Badge "SOLO 2 PLAZAS" */
.path-badge {
    position: absolute;
    top: -1px;
    right: 2rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    animation: goldPulse 2.5s ease-in-out infinite;
}

@keyframes goldPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(184, 134, 11, 0.55); }
}

.path-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.path-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    text-align: center;
}

.path-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 1rem;
    font-style: italic;
}

.path-price {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
    text-align: center;
    margin-bottom: 1.5rem;
}

.path-price small {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-light);
    font-family: var(--font-sans);
    margin-top: 0.15rem;
}

.path-section-label {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.5rem;
    margin-top: 1.25rem;
}

.path-for li,
.path-includes li {
    font-size: 0.92rem;
    color: var(--text-body);
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.path-for li::before {
    content: '\2192';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.path-includes li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: -2px;
}

.path-quote {
    font-style: italic;
    font-size: 0.92rem;
    color: var(--text-body);
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
    margin-top: 1.5rem;
    line-height: 1.7;
}

.path-cta {
    text-align: center;
    padding-top: 1.5rem;
}

.path-cta .btn {
    width: 100%;
    justify-content: center;
}

/* ═══════════════════════════════════════
   TABLA COMPARATIVA
   ═══════════════════════════════════════ */

.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 1rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    min-width: 600px;
}

.comparison-table thead th {
    background: var(--primary);
    color: var(--white);
    padding: 1rem;
    font-family: var(--font-serif);
    font-weight: 700;
    text-align: center;
    font-size: 1rem;
}

.comparison-table thead th:first-child {
    text-align: left;
    border-radius: var(--radius-sm) 0 0 0;
}

.comparison-table thead th:last-child {
    border-radius: 0 var(--radius-sm) 0 0;
}

.comparison-table tbody td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    text-align: center;
    color: var(--text-body);
}

.comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
}

.comparison-table tbody tr:nth-child(even) {
    background: var(--bg-alt);
}

.comparison-table tbody tr:hover {
    background: rgba(66, 110, 69, 0.04);
}

.comparison-table tbody tr:last-child td {
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent);
    border-bottom: none;
}

.comparison-table .check {
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table .dash {
    color: var(--text-light);
    opacity: 0.4;
}

/* ═══════════════════════════════════════
   ESCALERA DE VALOR (Timeline)
   ═══════════════════════════════════════ */

.value-ladder {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.value-ladder::before {
    content: "";
    position: absolute;
    left: 2rem;
    top: 2.5rem;
    bottom: 2.5rem;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent), var(--secondary), var(--primary));
    border-radius: 3px;
}

.ladder-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem 0;
    position: relative;
}

.ladder-step__number {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.ladder-step:nth-child(1) .ladder-step__number {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
}

.ladder-step:nth-child(2) .ladder-step__number {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
}

.ladder-step:nth-child(3) .ladder-step__number {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.ladder-step__content h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.ladder-step__content p {
    font-size: 0.93rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* ═══════════════════════════════════════
   CTA DOBLE (Servicios Final)
   ═══════════════════════════════════════ */

.dual-cta {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-action {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--white);
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
    transition: var(--transition);
}

.btn-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
    color: var(--white);
}

/* ═══════════════════════════════════════
   SERVICIOS RESPONSIVE
   ═══════════════════════════════════════ */

@media (max-width: 900px) {
    .path-chooser {
        grid-template-columns: 1fr;
    }

    .path-card--vip {
        order: -1;
    }

    .path-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 375px) {
    .path-title {
        font-size: 1.25rem;
    }

    .path-price {
        font-size: 1.3rem;
    }

    .dual-cta {
        flex-direction: column;
        align-items: center;
    }

    .dual-cta .btn {
        width: 100%;
    }

    .ladder-step {
        gap: 1rem;
    }

    .ladder-step__number {
        width: 3rem;
        height: 3rem;
        font-size: 1.2rem;
    }

    .value-ladder::before {
        left: 1.5rem;
    }
}/* --- PREMIUM TYPOGRAPHY ENHANCEMENTS --- */
.gold-text {
    background: linear-gradient(135deg, #FFDF73 0%, #B8860B 50%, #FFDF73 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0px 2px 8px rgba(184, 134, 11, 0.4));
}

.hero-title-premium {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.hero-subtitle-premium {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9) !important;
    font-weight: 500;
}

.hero-micro-copy {
    display: block;
    margin-top: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.hero-micro-copy i {
    color: #B8860B;
}



/* === MOBILE TABLE FIT === */
.scroll-hint { display: none !important; }
@media (max-width: 768px) {
    .comparison-table {
        min-width: 100% !important;
        table-layout: fixed;
    }
    .comparison-table th, .comparison-table td {
        white-space: normal !important;
        font-size: 0.75rem !important;
        padding: 0.6rem 0.25rem !important;
        word-wrap: break-word;
    }
    .comparison-table thead th {
        font-size: 0.75rem !important;
        padding: 0.5rem 0.2rem !important;
        line-height: 1.2;
    }
    .comparison-table tbody td:first-child {
        line-height: 1.2;
        width: 45%;
    }
    .comparison-table-wrapper {
        padding: 0 !important;
        margin: 0 !important;
        overflow-x: hidden !important;
    }
    .footer .grid-3 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .footer-about p {
        margin: 0 auto;
    }
}


/* FIX CAROUSEL STYLING */
.testimonials-carousel-wrapper {
    position: relative;
    max-width: 100%;
}

.home-testimonials-carousel {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    gap: 1.5rem !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 2rem !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
}

.home-testimonials-carousel::-webkit-scrollbar {
    display: none;
}

.home-testimonials-carousel .ht-card {
    flex: 0 0 calc(100% - 2rem) !important;
    max-width: calc(100% - 2rem) !important;
    scroll-snap-align: center;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .home-testimonials-carousel .ht-card {
        flex: 0 0 calc(50% - 1rem) !important;
        max-width: calc(50% - 1rem) !important;
    }
}

@media (min-width: 1024px) {
    .home-testimonials-carousel .ht-card {
        flex: 0 0 calc(33.333% - 1.33rem) !important;
        max-width: calc(33.333% - 1.33rem) !important;
    }
}

.carousel-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--primary);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: var(--transition);
    z-index: 10 !important;
}

.carousel-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-50%) scale(1.05) !important;
}

.prev-btn { left: -10px !important; }
.next-btn { right: -10px !important; }

@media (max-width: 768px) {
    .carousel-btn { display: none !important; }
    .home-testimonials-carousel { padding: 0 1rem 2rem 1rem !important; gap: 1rem !important; }
}

/* Floating WA Button */
.floating-wa-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-wa-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

@media (max-width: 768px) {
    .floating-wa-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .floating-wa-btn svg {
        width: 26px;
        height: 26px;
    }
}

/* === GHOST BUTTON FOR NAV === */
.btn-nav-ghost {
    background: transparent !important;
    color: var(--accent) !important;
    border: 1.5px solid var(--accent);
    padding: 0.4rem 0.9rem;
    border-radius: 99px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-nav-ghost:hover {
    background: rgba(184, 134, 11, 0.05) !important;
    color: var(--accent-light) !important;
    border-color: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(200, 149, 46, 0.15);
}

.nav-links .btn-nav-ghost.active-link {
    background: rgba(184, 134, 11, 0.1) !important;
}
.nav-links .btn-nav-ghost.active-link::after {
    display: none;
}

/* === OVERRIDE COMMUNITY PULSE === */
.nav-community-link {
    animation: none !important;
}

/* === WORKFLOW FLOW DIAGRAM === */
.workflow-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 0;
    max-width: 700px;
    margin: 0 auto;
}

.workflow-flow__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 0 150px;
    width: 150px;
}

.workflow-flow__label {
    font-size: 0.95rem;
    color: var(--primary);
    margin-top: 0.75rem;
    line-height: 1.3;
}

.workflow-flow__arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-top: 45px;
    opacity: 0.6;
}

@media (max-width: 600px) {
    .workflow-flow {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        max-width: 220px;
    }
    .workflow-flow__step {
        flex: none;
        width: auto;
    }
    .workflow-flow__arrow {
        padding-top: 0;
        transform: rotate(90deg);
    }
    .workflow-flow__label {
        font-size: 0.9rem;
    }
}
