/* ==========================================================================
   SISTEMA DE DISEÑO DE YASMINA LÓPEZ SALUD
   Aesthetically crafted for premium wellness & health coaching experience.
   ========================================================================== */

/* Importación de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* Variables de Estilo Core */
:root {
    /* Paleta de Colores Organicos */
    --primary-color: #1a382b;       /* Verde bosque profundo (seriedad, salud, nutrición) */
    --primary-light: #2c5441;       /* Verde medio suave */
    --primary-background: #e5efea;  /* Verde fondo */
    --primary-ultra-light: #e8edea; /* Verde sumamente claro para acentos de fondo */
    --accent-color: #c9933b;        /* Dorado/Ocre sutil (calidad premium, valor) */
    --accent-light: #e0ac58;
    --accent-hover: #b07c2d;
    --bg-main: #fbf9f5;             /* Crema sutil muy elegante */
    --bg-alt: #f4eee2;              /* Crema de contraste cálido */
    --text-dark: #232a26;           /* Carbón vegetal, reduce fatiga visual contra el crema */
    --text-muted: #57635c;          /* Gris verdoso apagado para textos secundarios */
    --white: #ffffff;
    --error: #cb4b31;
    --success: #3c825a;

    /* Fuentes */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

    /* Sombras Elevadas y Suaves */
    --shadow-sm: 0 4px 10px rgba(26, 56, 43, 0.04);
    --shadow-md: 0 10px 30px rgba(26, 56, 43, 0.06);
    --shadow-lg: 0 20px 50px rgba(26, 56, 43, 0.1);
    --shadow-inner: inset 0 2px 4px rgba(26, 56, 43, 0.05);

    /* Glassmorphism */
    --glass-bg: rgba(251, 249, 245, 0.75);
    --glass-bg-hover: rgba(251, 249, 245, 0.9);
    --glass-border: rgba(26, 56, 43, 0.06);

    /* Transiciones */
    --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-elastic: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Radios */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    letter-spacing: -0.01em;
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
    margin: 0;
}

/* Tipografía de Autoridad */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 1rem;
}

/* Adorno elegante inferior para títulos h2 */
h2.decorated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: var(--radius-full);
}

h2.decorated.center::after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-muted);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}
a:hover, a:focus, a:active{
    color: var(--primary-color) !important;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
}

/* Componentes Comunes y Botones Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.95rem 2rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-elastic);
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
    gap: 0.75rem;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    color: var(--bg-main);
}

.btn-primary:focus{
    color: var(--bg-main) !important;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26, 56, 43, 0.2);
    color: var(--white) !important;
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

.btn-accent:hover {
    background-color: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(201, 147, 59, 0.25);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white) !important;
    transform: translateY(-2px);
}

.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}





/* Contenedor Principal */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
}

.contenedor-pagina-estandar {
    padding: 7rem 2rem;
}

@media (max-width: 768px) {
    .page-header .container {
        padding: 2rem 1.25rem;
    }
}








.mt-3{
    margin-top: 3rem;
}

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





/* ==========================================================================
   1. NAVEGACIÓN Y HEADER (GLASSMORPHISM)
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-sm);
    background-color: rgba(251, 249, 245, 0.92);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition-smooth);
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.25rem;
    }
}



.header.scrolled .nav-container {
    height: 65px;
}

/* Logo de Autoridad */
.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 2px;
}

/* Menú Escritorio */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.75rem;
    margin: 0;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 0.25rem 0.25rem;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Redes Sociales en Header */
.nav-socials {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background-color: var(--primary-ultra-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-elastic);
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--white) !important;
    transform: scale(1.1) rotate(5deg);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.7rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition-fast);
}

/* Contenedor del enlace del carrito */
.nav-cart a.cart-contents {
    position: relative;
    display: inline-block;
    padding-right: 10px;
    /* background-color: var(--primary-ultra-light) !important; */
    width: 38px;
    height: 38px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* .nav-cart a.cart-contents:hover {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
} */
.nav-cart a.cart-contents:hover::after {
    transform: scaleX(0);
    transform-origin: left;
}
/* Burbuja del número de productos */
.nav-cart .cart-count {
    position: absolute;
    top: 0px;          /* Ajusta hacia arriba o abajo */
    right: -5px;        /* Ajusta hacia la derecha o izquierda */
    background-color: var(--text-dark); /* Color de fondo (puedes usar tu verde corporativo) */
    color: #ffffff;     /* Color del número */
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    padding: 4px 7px;
    border-radius: 50%; /* Hace que sea perfectamente circular */
    min-width: 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Móvil - Adaptación Drawer */
@media (max-width: 1070px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 380px;
        height: 100vh;
        background-color: var(--bg-main);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 4rem 3rem;
        gap: 2rem;
        transition: var(--transition-smooth);
        z-index: 999;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        font-size: 1.4rem;
        font-family: var(--font-serif);
    }

    .nav-socials {
        margin-top: 2rem;
    }
}








/* ==========================================================================
   NUEVO HERO CON FONDO ORGÁNICO Y CENTRADO
   ========================================================================== */

.hero.hero-organic-bg {
    /* 1. Aplicación de la Imagen de Fondo */
    background-image: url('assets/images/background_header_yasmina.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #FBF9F5; /* Fondo de seguridad crema */
    min-height: 100vh;
    display: flex;
    align-items: center; /* Centrado vertical */
    padding-top: 8rem; /* Padding extra para el menú superior */
    padding-bottom: 8rem;
    position: relative;
    overflow: hidden;
}
.hero-organic-bg::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-alt);
    background: linear-gradient(0deg,rgba(244, 238, 226, 1) 0%, rgba(244, 238, 226, 0.8) 30%);
    /* opacity: .9; */
    pointer-events: none;
}


/* Contenedor principal centrado */
.hero .container {
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 10;
}

/* 3. Contenido centrado y optimizado para lectura */
.hero-content.centered {
    text-align: center;
    max-width: 820px; /* Ancho máximo optimizado para legibilidad */
    padding: 0 1rem;
}

/* Tagline */
.hero-tagline {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: rgb(26, 56, 43); /* Verde oscuro corporativo */
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

/* Título Principal */
.hero-title {
    font-size: 4rem; /* Grande y legible */
    line-height: 1.1;
    color: rgb(26, 56, 43);
    margin-bottom: 2rem;
}

/* El span con el color terracota extraído de la imagen */
.hero-title span {
    color: #CB7134; /* Terracota de la imagen de fondo */
}

/* Descripción optimizada */
.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #4A5550; /* Charcoal suave */
    max-width: 680px; /* Más estrecho para evitar fatiga visual */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3.5rem;
}

/* Acciones centradas */
.hero-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .hero-tagline {
        font-size: 1rem;
    }
}

/* ==========================================================================
   INDICADOR DE SCROLL ANIMADO (ESTILO RATÓN PREMIUM)
   ========================================================================== */

/* Contenedor posicionado en la base del Hero */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem; /* Separación del borde inferior */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

/* Enlace contenedor */
.hero-scroll-indicator .scroll-link {
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.hero-scroll-indicator .scroll-link:hover {
    opacity: 0.8;
}

/* Silueta del ratón */
.hero-scroll-indicator .mouse-element {
    display: block;
    width: 24px;
    height: 38px;
    border: 2px solid var(--primary-color, #1a382b); /* Tu verde bosque corporativo */
    border-radius: 14px;
    margin: 0 auto 8px auto;
    position: relative;
}

/* La rueda interna que se mueve */
.hero-scroll-indicator .scroll-wheel {
    display: block;
    width: 4px;
    height: 8px;
    background-color: var(--accent-color, #cb7134); /* Tu color terracota de acento */
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    /* Enganchamos la animación */
    animation: scroll-dot-slide 1.8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

/* Texto descriptivo sutil */
.hero-scroll-indicator .scroll-text {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #8c9692; /* Gris verdoso suave */
}

/* EFECTO DE ANIMACIÓN DEL PUNTERO */
@keyframes scroll-dot-slide {
    0% {
        opacity: 0;
        top: 6px;
    }
    20% {
        opacity: 1;
    }
    60% {
        opacity: 1;
        top: 18px; /* Desplazamiento hacia abajo */
    }
    100% {
        opacity: 0;
        top: 18px;
    }
}

/* Responsive: Ocultar en pantallas muy pequeñas si pisa los badges */
@media (max-width: 768px) {
    .hero-scroll-indicator {
        bottom: 1.5rem;
    }
    /* Si en móviles los badges ocupan mucho espacio, puedes descomentar la siguiente línea para ocultarlo */
    .hero-scroll-indicator { display: none; }
}



/* Botón Primary Grande (Cápsula) */
.btn-primary.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    border-radius: 50px;
    background-color: rgb(26, 56, 43);
    color: #ffffff;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}
@media (max-width: 768px) {
    .btn-primary.btn-large {
        font-size: 1rem !important;
    }
}

.btn-primary.btn-large:hover {
    background-color: #CB7134; /* Hover terracota */
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(203, 113, 52, 0.2);
}

/* 4. Badges centrados y rediseñados para armonía */
.hero-badges.centered-badges {
    display: flex;
    justify-content: center;
    gap: 4rem; /* Separación generosa */
    padding-top: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.badge-item {
    text-align: center;
}

.badge-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgb(26, 56, 43);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.badge-text {
    display: block;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #4A5550;
    font-weight: 600;
}

/* ==========================================
   RESPONSIVE (Ajustes para móvil)
   ========================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {
    .hero.hero-organic-bg {
        padding-top: 7.5rem !important;
        padding-bottom: 6rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    .hero.hero-organic-bg .hero-actions i{
        display: none;
    }
    .hero-badges.centered-badges {
        flex-direction: column;
        gap: 2rem;
        border-top: none;
        padding-top: 0;
    }
    .btn-primary.btn-large {
        padding: 1.1rem 2.2rem;
        width: 100%;
        justify-content: center;
    }
}







/* ==========================================================================
   NUEVO MÓDULO: PILARES VERTICALES (POST-HERO)
   ========================================================================== */
.pilares-seccion {
    padding: 3rem 0 7rem;
    background-color: var(--bg-alt);
    position: relative;
}

.pilares-seccion .section-header{
    margin-bottom: 4rem !important;
}

/* Contenedor principal de la lista vertical */
.pilares-vertical-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 850px;
    margin: 0 auto;
    position: relative;
}

/* Línea vertical decorativa que conecta los puntos (Efecto Timeline Premium) */
.pilares-vertical-stack::before {
    content: '';
    position: absolute;
    left: 45px;
    top: 50px;
    bottom: 50px;
    width: 1px;
    background: linear-gradient(to bottom, 
        var(--accent-color) 0%, 
        var(--primary-light) 50%, 
        var(--glass-border) 100%
    );
    opacity: 0.4;
    z-index: 0;
}

/* Tarjeta individual de cada punto */
.pilar-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-lg);
    background-color: transparent;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
}

/* Efecto Hover: Movimiento orgánico hacia la derecha y aparición de tarjeta física */
.pilar-item:hover {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateX(12px);
}

/* Contenedor del número */
.pilar-visual {
    min-width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-alt); /* Tapa la línea que pasa por detrás */
    border-radius: var(--radius-md);
    transition: var(--transition-elastic);
}

/* Tipografía del número: Gigante, Serif, Itálica y Dorada */
.pilar-number {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 5vw, 4.2rem);
    color: var(--accent-color);
    font-style: italic;
    font-weight: 400;
    line-height: 1;
}

/* Interacción del número al pasar el ratón por la tarjeta */
.pilar-item:hover .pilar-visual {
    background-color: var(--primary-ultra-light);
}

.pilar-item:hover .pilar-number {
    color: var(--primary-color);
    transform: scale(1.05);
}

/* Textos de cada punto */
.pilar-textos {
    flex-grow: 1;
    padding-top: 0.5rem;
}

.pilar-textos h3 {
    font-family: var(--font-sans); /* Contraste moderno */
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
    letter-spacing: -0.01em;
}

.pilar-textos p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.pilar-textos span {
    color: var(--accent-color);
}

/* ==========================================================================
   ADAPTACIÓN MÓVIL (RESPONSIVE)
   ========================================================================== */
@media (max-width: 768px) {
    .pilares-seccion {
        padding: 1rem 0 4rem;
    }

    /* Ocultamos la línea en móvil para limpiar el diseño en pantallas pequeñas */
    .pilares-vertical-stack::before {
        display: none;
    }

    .pilar-item {
        flex-direction: column; /* Apilamos número encima del texto */
        gap: 1rem;
        padding: 1.75rem;
        background-color: var(--white); /* Forzamos formato tarjeta en móvil */
        box-shadow: var(--shadow-sm);
    }

    .pilar-item:hover {
        transform: translateY(-4px); /* En móvil la animación se disfruta mejor hacia arriba */
    }

    .pilar-visual {
        min-width: auto;
        height: auto;
        background: transparent;
        padding: 0;
    }

    .pilar-number {
        font-size: 2.8rem;
        border-bottom: 2px solid var(--accent-color);
        padding-bottom: 0.25rem;
    }
    
    .pilar-textos {
        padding-top: 0;
        text-align: center;
    }

    .pilar-textos h3 {
        font-size: 1.2rem;
    }
}


/* ==========================================================================
   3. SECCIÓN SOBRE MÍ / QUIÉN SOY (ASIMETRÍA SOFISTICADA)
   ========================================================================== */
.about {
    padding: 8rem 0;
    background-color: var(--bg-main);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 5rem;
    align-items: center;
}

.about-media {
    position: relative;
}

.about-img-frame {
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Borde dorado de acento asimétrico */
.about-media::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--accent-color);
    border-radius: var(--radius-lg);
    z-index: 0;
    pointer-events: none;
}

.about-content {
    z-index: 1;
}

.about-quote {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-style: italic;
    color: var(--primary-color);
    line-height: 1.5;
    border-left: 3px solid var(--accent-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-dot {
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    background-color: var(--primary-ultra-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.about-feature-item p {
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
    color: var(--text-dark);
}

@media (max-width: 991px) {
    .about {
        padding: 5rem 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .about-media {
        max-width: 450px;
        margin: 0 auto;
        width: 100%;
        padding-left: 20px;
    }
    
    .about-media::before{
        left: 0;
    }
}

@media (max-width: 768px) {
    .about{
        padding: 4rem 0 !important;
    }
}

/* ==========================================================================
   4. HUB DE SERVICIOS INTERACTIVO (TARJETAS HOVER & DETALLES)
   ========================================================================== */
.services {
    padding: 8rem 0;
    background-color: var(--bg-alt);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem auto;
}
@media (max-width: 768px) {
    .yl-testimonios-section .section-header {
        margin-bottom: 1rem !important;
    }

    .yl-testimonios-grid {
        margin-top: 0 !important;
    }
    .yl-testimonios-grid .container{
        padding: 2rem 1.25rem 0 !important;
    }
}

.section-header h2 {
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

/* Tarjetas de Servicio Premium */
.service-card {
    background-color: var(--white);
    border: 1px solid var(--glass-border);
    padding: 3rem 2.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-elastic);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

/* Efecto de fondo sutil al pasar el mouse */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--accent-color);
    transition: var(--transition-fast);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(26, 56, 43, 0.12);
}

.service-card:hover::before {
    height: 8px;
    background-color: var(--primary-color);
}

.service-icon-box {
    width: 65px;
    height: 65px;
    border-radius: var(--radius-md);
    background-color: var(--primary-ultra-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    transition: var(--transition-elastic);
}

.service-card:hover .service-icon-box {
    background-color: var(--primary-color);
    color: var(--bg-main);
    transform: scale(1.08) rotate(-5deg);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.45rem;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-card .btn-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.service-card .btn-link i {
    transition: var(--transition-fast);
}

.service-card:hover .btn-link {
    color: var(--accent-color);
}

.service-card:hover .btn-link i {
    transform: translateX(5px);
}

/* VENTANA MODAL (LIGHTBOX) DE SERVICIO */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background-color: rgba(35, 42, 38, 0.6);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
    padding: 1.5rem;
}

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

.modal-content {
    background-color: var(--bg-main);
    width: 100%;
    max-width: 680px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.modal.open .modal-content {
    transform: scale(1);
}

.modal-header-decor {
    height: 10px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.modal-body {
    padding: 3rem;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-full);
    background-color: var(--primary-ultra-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.modal-title {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.modal-desc {
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.modal-features-list {
    list-style: none;
    margin-bottom: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 576px) {
    .modal-features-list {
        grid-template-columns: 1fr;
    }
}

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

.modal-features-list li i {
    color: var(--success);
}

.modal-action-box {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.75rem;
}

@media (max-width: 768px) {
    .modal-body {
        padding: 2rem;
    }
}

/* ==========================================================================
   5. SECCIÓN RETO GRATUITO (LEAD MAGNET OPT-IN DE ALTO IMPACTO)
   ========================================================================== */
.challenge-section {
    padding: 6rem 0;
    background-color: var(--bg-main);
    position: relative;
    overflow: hidden;
}

.challenge-box {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
}

.challenge-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
}


.challenge-media {
    /* 1. Aplicación de la Imagen de Fondo */
    background-image: url('assets/images/background_gratuito.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #FBF9F5; /* Fondo de seguridad crema */
    min-height: 100vh;
    display: flex;
    align-items: center; /* Centrado vertical */
    padding-top: 8rem; /* Padding extra para el menú superior */
    padding-bottom: 8rem;
    position: relative;
    overflow: hidden;
}


.challenge-media {
    position: relative;
    min-height: 380px;
}

.challenge-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.challenge-media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 56, 43, 0.4) 0%, rgba(26, 56, 43, 0.1) 100%);
}

.challenge-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.challenge-badge {
    align-self: flex-start;
    background-color: var(--accent-color);
    color: var(--text-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.challenge-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 0;
}

.challenge-content p {
    font-size: 1.05rem;
    margin-bottom: .7rem;
}

/* Estilos de Formulario Avanzado */
.form-group, .ml-field-group{
    position: relative;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

.form-input, .form-control {
    width: 100% !important;
    padding: 1.1rem 1.25rem !important;
    background-color: var(--bg-main) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-md) !important;
    font-family: var(--font-sans) !important;
    font-size: 0.95rem !important;
    color: var(--text-dark) !important;
    outline: none !important;
    transition: var(--transition-fast);
}

.form-input:focus, .form-control:focus{
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(26, 56, 43, 0.08);
}

/* Etiquetas flotantes modernas */
.form-label, .ml-field-group label {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: var(--transition-fast);
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label{
    top: 0;
    background-color: var(--white);
    padding: 0 0.5rem;
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    transform: translateY(-50%) scale(0.95);
    border-radius: var(--radius-sm);
}

.form-control:focus + .ml-field-group label,
.form-control:not(:placeholder-show) + .ml-field-group label{
    top: 0;
    background-color: var(--white);
    padding: 0 0.5rem;
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    transform: translateY(-50%) scale(0.95);
    border-radius: var(--radius-sm);
}

.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid var(--glass-border);
    accent-color: var(--primary-color);
    margin-top: 4px;
    cursor: pointer;
}

.form-checkbox-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    cursor: pointer;
}

.form-checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

.challenge-form button {
    width: 100%;
}

/* Estado de Éxito Interactivo del Formulario */
.form-success-message {
    display: none;
    text-align: center;
    padding: 2rem 0;
    animation: fadeInUp 0.6s var(--transition-smooth);
}

.success-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-full);
    background-color: var(--primary-ultra-light);
    color: var(--success);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    animation: scaleUp 0.5s var(--transition-elastic);
}

@media (max-width: 991px) {
    .challenge-section{
        padding: 4rem 0;
    }

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

    .challenge-media {
        min-height: 250px;
    }

    .challenge-content {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .challenge-section{
        padding: 4rem 0 !important;
    }
    .challenge-content {
        padding: 2rem 1.4rem;
    }
}

/* ==========================================================================
   SECCIÓN DE TESTIMONIOS PREMIUM (GOOGLE STYLE)
   ========================================================================== */
.yl-testimonios-section {
    padding: 7rem 0;
    background-color: var(--bg-alt); /* Fondo crema suave alternativo */
}

.yl-testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.yl-testimonio-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.yl-testimonio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.yl-testimonio-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
}

.yl-testimonio-stars svg {
    width: 18px;
    height: 18px;
    color: var(--accent-color); /* Estrellas Doradas */
}

.yl-testimonio-text {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.yl-testimonio-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.25rem;
}

.yl-author-initial {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary-ultra-light);
    color: var(--primary-color);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.yl-testimonio-author h4 {
    margin: 0 0 0.15rem 0;
    font-size: 1.05rem;
    color: var(--primary-color);
    font-weight: 600;
}

.yl-verified {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.yl-verified i {
    color: #4285F4; /* Azul Google corporativo para el iconito */
}

@media (max-width: 991px) {
    .yl-testimonios-section {
        padding: 4rem 0;
    }

}

@media (max-width: 768px) {
    .yl-testimonios-section {
        padding: 4rem 0 !important;
    }
}


/* ==========================================================================
   6. SECCIÓN DE ARTÍCULOS DE BLOG (TARJETAS FLUIDAS)
   ========================================================================== */
.blog {
    padding: 5rem 0;
    background-color: var(--bg-main);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-elastic);
    display: flex;
    flex-direction: column;
}

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

.blog-img-box {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-img-box img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

.blog-card h3 {
    font-size: 1.35rem;
    line-height: 1.35;
    margin-bottom: 1rem;
}

.blog-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.blog-readmore {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-readmore i {
    transition: var(--transition-fast);
}

.blog-card:hover .blog-readmore {
    color: var(--accent-color);
}

.blog-card:hover .blog-readmore i {
    transform: translateX(4px);
}

/* ==========================================================================
   7. SECCIÓN DE CONTACTO & AGENDA
   ========================================================================== */
.contact {
    padding: 8rem 0;
    background-color: var(--bg-main);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
    align-items: flex-start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro p {
    font-size: 1.1rem;
    margin-bottom: .8rem;
}

.contact-method-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.contact-icon-box {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background-color: var(--primary-ultra-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-details p {
    font-size: 0.95rem;
    margin: 0;
    color: var(--text-muted);
}

.contact-details a:hover {
    color: var(--accent-color);
}

.contact-form-box {
    background-color: var(--white);
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
}

.contact-form-box h3 {
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.contact-form textarea.form-input {
    min-height: 140px;
    resize: vertical;
}

@media (max-width: 991px) {
    .contact{
        padding: 4rem 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .contact-form-box {
        padding: 2rem 1.4rem;
    }
}

@media (max-width: 768px) {
    .contact{
        padding: 4rem 0 2rem;
    }
}














































/* ==========================================================================
   PÁGINA DE PREGUNTAS FRECUENTES (FAQS STYLE)
   ========================================================================== */

/* Cabecera / Hero de FAQs */
.faqs-hero {
    background-color: var(--primary-ultra-light, #e8edea); /* Fondo verde ultra claro orgánico */
    padding: 6rem 0 5rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(26, 56, 43, 0.05);
}

.faqs-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--primary-color, #1a382b);
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.faqs-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--primary-light, #2c5441);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contenedor estrecho de lectura optimizada */
.faqs-content-section {
    padding: 5rem 0;
    background-color: var(--bg-main, #fbf9f5); /* Tu crema sutil corporativo */
}

.faqs-narrow-container {
    /* max-width: 800px !important;  */
    margin: 0 auto;
}

/* Acordeones */
.faqs-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 5rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid rgba(26, 56, 43, 0.06);
    border-radius: 16px; /* Bordes suaves y amigables */
    box-shadow: 0 4px 20px rgba(26, 56, 43, 0.02);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover,
.faq-item.active {
    border-color: rgba(26, 56, 43, 0.15);
    box-shadow: 0 8px 30px rgba(26, 56, 43, 0.05);
}

/* Botón disparador (Trigger) */
.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    gap: 1.5rem;
}

.faq-trigger:hover, .faq-trigger:focus{
    background: var(--primary-ultra-light) !important;
}

.faq-trigger:hover .faq-icon-box, .faq-trigger:focus .faq-icon-box{
    background-color: var(--primary-color);
    color: #ffffff;
}


.faq-trigger[aria-expanded="true"] {
    background-color: var(--primary-ultra-light);
    color: var(--primary-color);
    border-bottom: 1px solid rgba(26, 56, 43, 0.1);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.faq-question {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color, #1a382b);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question,
.faq-item.active .faq-question {
    color: var(--primary-light, #2c5441);
}

/* Caja contenedora del icono circular */
.faq-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    max-width: 34px;
    height: 34px;
    border-radius: 50%; /* En sintonía con tu carrito y paginación */
    background-color: var(--primary-ultra-light, #e8edea);
    color: var(--primary-color, #1a382b);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.faq-item.active .faq-icon-box {
    background-color: var(--primary-color, #1a382b);
    color: #ffffff;
}

/* Panel desplegable (Animado mediante JS + CSS max-height) */
.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-panel-inner {
    padding: 0 2rem 1.75rem 2rem;
    border-top: 1px solid rgba(26, 56, 43, 0.03);
    padding-top: 1.25rem;
}

.faq-panel-inner p {
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
    color: #4a5550;
    line-height: 1.65;
    margin: 0;
}

/* Bloque inferior CTA */
.faqs-cta {
    width: 100%;
    margin-top: 2rem;
}

.faqs-cta-box {
    background-color: var(--bg-alt, #f4eee2); /* Crema alternativo cálido */
    border: 1px dashed rgba(26, 56, 43, 0.12);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
}

.faqs-cta-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--primary-color, #1a382b);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.faqs-cta-box p {
    font-family: 'Inter', sans-serif;
    color: #5a6660;
    font-size: 1rem;
    margin-bottom: 1.75rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .faqs-narrow-container{
        padding: 0;
    }
    .faqs-hero {
        padding: 4.5rem 1rem 3.5rem 1rem;
    }
    .faqs-title {
        font-size: 2.2rem;
    }
    .faqs-content-section {
        padding: 3.5rem 1rem;
    }
    .faq-trigger {
        padding: 1.25rem 1.5rem;
    }
    .faq-panel-inner {
        padding: 1.5rem 1.5rem 1.5rem 1.5rem;
    }
    .faq-question {
        font-size: 1rem;
    }
    .faqs-cta-box {
        padding: 2.5rem 1.5rem;
    }
}


















/* ==========================================================================
   FILTRO DE BLOG ESTILO TIENDA (SHOP FILTER PRESTIGE)
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important; /* Fuerza siempre 3 columnas exactas */
    gap: 2.5rem 2rem; /* Separación vertical y horizontal */
    width: 100%;
    align-items: start;
}

/* Evitamos que las tarjetas colapsen o adopten anchos extraños */
.blog-card {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    height: 100%;
}

/* Transición suave para el contenedor dinámico durante la carga AJAX */
#blog-dynamic-container {
    will-change: opacity;
    opacity: 1;
}

/* RESPONSIVE: Adaptación controlada para pantallas medianas y móviles */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 columnas en tablets */
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr !important; /* 1 columna en móviles */
    }
}

.shop-filter-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: -1rem auto 2rem auto;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border, rgba(0, 0, 0, 0.06));
    max-width: 950px;
    width: 100%;
}

/* Etiqueta izquierda opcional "Filtrar por:" */
.shop-filter-title {
    font-family: var(--font-sans, sans-serif);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted, #777);
    font-weight: 600;
}

/* Lista horizontal de la tienda */
.shop-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 2rem;
    row-gap: 0.75rem;
}

/* Elemento de lista individual */
.shop-filter-list li {
    position: relative;
    padding: 0.25rem 0;
}

/* Enlaces del filtro */
.shop-filter-list li a {
    font-family: var(--font-sans, sans-serif);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--primary-light, #2c5441);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.3s ease;
}

/* El contador entre paréntesis estilo WooCommerce (ej: (5) ) */
.shop-filter-list li a .shop-cat-count {
    font-size: 0.85rem;
    color: var(--text-muted, #999);
    font-weight: 400;
    transition: color 0.3s ease;
}

/* Efecto Línea inferior al pasar el cursor (Hover) y al estar Activo */
.shop-filter-list li::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color, #c9933b); /* Tu dorado premium */
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

/* Cambios de color y activación de la línea */
.shop-filter-list li:hover a,
.shop-filter-list li.active a {
    color: var(--primary-color, #1a382b);
}

.shop-filter-list li:hover .shop-cat-count,
.shop-filter-list li.active .shop-cat-count {
    color: var(--accent-color, #c9933b);
    font-weight: 600;
}

.shop-filter-list li:hover::after,
.shop-filter-list li.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ==========================================================================
   ADAPTACIÓN RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .shop-filter-wrapper {
        margin-bottom: 2.5rem;
        padding-bottom: 1rem;
    }
    
    .shop-filter-list {
        column-gap: 1.25rem;
    }
    
    .shop-filter-list li a {
        font-size: 0.95rem;
    }
}

.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 4.5rem;
    margin-bottom: 1rem;
    width: 100%;
}

/* Estilo base para todos los elementos de la paginación (números, flechas, etc.) */
.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%; /* Botones circulares perfectos en sintonía con el icono de tu carrito */
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-light, #2c5441);
    text-decoration: none;
    background-color: transparent;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    user-select: none;
}

/* Enlaces normales cuando pasas el cursor (Hover) */
.blog-pagination a.page-numbers:hover {
    background-color: var(--primary-ultra-light, #e8edea);
    color: var(--primary-color, #1a382b);
    border-color: rgba(26, 56, 43, 0.08);
}

/* Estado de la Página Actual Activa */
.blog-pagination .page-numbers.current {
    background-color: var(--primary-color, #1a382b); /* Tu verde corporativo profundo */
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(26, 56, 43, 0.15); /* Sombra suave de elevación */
}

/* Iconos de Flechas (Prev / Next) */
.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next {
    font-size: 0.85rem;
    background-color: #ffffff;
    border: 1px solid var(--glass-border, rgba(0, 0, 0, 0.06));
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.blog-pagination a.page-numbers.prev:hover,
.blog-pagination a.page-numbers.next:hover {
    background-color: var(--primary-color, #1a382b);
    color: var(--white) !important;
    border-color: var(--primary-color, #1a382b);
}

/* Puntos suspensivos estáticos (...) cuando hay muchas páginas */
.blog-pagination .page-numbers.dots {
    color: var(--text-muted, #999);
    cursor: default;
    background: transparent;
    border: none;
}

/* Ajustes Responsive para Pantallas Móviles */
@media (max-width: 480px) {
    .blog-pagination {
        margin-top: 3rem;
        gap: 0.25rem;
    }
    
    .blog-pagination .page-numbers {
        width: 36px;
        height: 36px;
        font-size: 0.88rem;
    }
}


/* ==========================================================================
   8. FOOTER LEGAL & ACCESOS
   ========================================================================== */
.footer {
    background-color: var(--primary-color);
    color: var(--bg-main);
    padding: 3rem 0 2rem 0;
    position: relative;
    bottom: 0;
    width: 100%;
    margin-top: auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    border-bottom: 1px solid rgba(251, 249, 245, 0.1);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.footer .logo-main {
    color: var(--bg-main);
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials .social-icon {
    background-color: rgba(251, 249, 245, 0.08);
    color: var(--bg-main);
}

.footer-socials .social-icon:hover {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(251, 249, 245, 0.6);
    margin: 0;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 0;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(251, 249, 245, 0.6);
}

.footer-links a:hover {
    color: var(--accent-color) !important;
}

@media (max-width: 768px) {
    .footer-top, .footer-bottom {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-links {
        justify-content: center;
        gap: 1rem;
    }

    .footer .container{
        padding: 0 1.25rem 1rem !important;
    }
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
    z-index: 999;
    transition: var(--transition-elastic);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   ANIMACIONES CLAVE
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInBlur {
    from {
        opacity: 0;
        filter: blur(10px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.fadeInUp {
    animation: fadeInUp 0.8s var(--transition-smooth) forwards;
}
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }

/* ==========================================================================
   NUEVOS ESTILOS PARA SITIO MULTIPÁGINA
   ========================================================================== */

/* 1. Encabezado de Página Interna (Página Banner) */
.page-header {
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, rgba(26, 56, 43, 0.95) 0%, rgba(44, 84, 65, 0.85) 100%);
    padding: 7rem 0 4rem 0;
    text-align: center;
    color: var(--bg-main);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(201, 147, 59, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.page-header h1 {
    color: var(--bg-main);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 0.75rem;
    animation: fadeInUp 0.7s var(--transition-smooth);
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(251, 249, 245, 0.7);
    list-style: none;
    animation: fadeInUp 0.9s var(--transition-smooth);
}

.breadcrumbs a {
    color: var(--accent-color);
}

.breadcrumbs a:hover {
    color: var(--bg-main) !important;
}

.breadcrumbs li::after {
    content: '/';
    margin-left: 0.5rem;
}

.breadcrumbs li:last-child::after {
    display: none;
}

.breadcrumbs li:last-child {
    color: var(--bg-main);
    font-weight: 600;
}

/* 2. Estilos para Páginas de Contenido Interno */
.inner-content-section {
    padding: 5rem 0;
    background-color: var(--bg-main);
}

.inner-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.rich-text {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.rich-text h2, .rich-text h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem 0;
}

.rich-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.rich-text ul, .rich-text ol {
    margin: 0 0 2rem 1.5rem;
    color: var(--text-muted);
}

.rich-text li {
    margin-bottom: 0.5rem;
}


/* 3. Estilos de Tablas de Precios (Pricing Tables) */
.pricing-section {
    padding: 7rem 0;
    background-color: var(--bg-alt);
}

.pricing-section .section-header{
    max-width: 800px !important;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
    margin-top: 3rem;
}

.pricing-card {
    background-color: var(--white);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: var(--transition-elastic);
    overflow: hidden;
}
@media (max-width: 768px) {
    .pricing-card {
        padding: 3.5rem 1.2rem;
    }
}

.pricing-card:hover {
    /* transform: translateY(-8px); */
    box-shadow: var(--shadow-lg);
}

/* Plan Destacado / Más Popular */
.pricing-card.featured {
    border: 2px solid var(--accent-color);
}

.pricing-card.featured::before {
    content: 'MÁS POPULAR';
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    /* transform: rotate(45deg); */
    letter-spacing: 0.1em;
    border-radius: 30px;
}

.pricing-card.bullet::before {
    content: 'PARA PATOLOGÍAS DIGESTIVAS';
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    /* transform: rotate(45deg); */
    letter-spacing: 0.1em;
    border-radius: 30px;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.pricing-header h5 {
    margin-bottom: .4rem;
}

.pricing-price {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 1.5rem 0;
    line-height: 1;
}

.pricing-price span {
    font-size: 0.95rem;
    font-family: var(--font-sans);
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-card p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

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

.pricing-features li {
    /* display: flex;
    align-items: flex-start; */
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.85rem;
    line-height: 1.4;
}

.pricing-features li i {
    color: var(--success);
    margin-top: 4px;
    margin-right: 12px;
    flex-shrink: 0;
}

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

/* 4. Estilos de Catálogo e-Commerce (Tienda) */
.shop-filters-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3.5rem;
}

.filter-tabs {
    display: flex;
    background-color: var(--bg-alt);
    padding: 0.35rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
    gap: 0.25rem;
}

.filter-btn {
    background: none;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    color: var(--primary-color);
    background: inherit;
    box-shadow: none;
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-main);
    box-shadow: var(--shadow-sm);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    /* align-items: start; */
}
@media (max-width: 1024px) {
    .shop-grid {
        /* 2 columnas en tablets */
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 768px) {
    .page-header{
        padding:  5rem 0 1rem 0 !important;
    }

    .pricing-section{
        padding: 4rem 0;
    }

    .pricing-section .section-header{
        margin-bottom: 2rem !important;
    }
    .shop-grid {
        /* 1 sola columna en móviles para que se vea cómodo */
        grid-template-columns: 1fr; 
    }
    .pricing-header h3{
        font-size: 1.4rem;
    }
}

.product-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-elastic);
}

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

.product-img-box {
    position: relative;
    /* aspect-ratio: 1/1; */
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: var(--transition-smooth);
}

.product-card:hover .product-img-box img {
    transform: scale(1.05);
}

.sale-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 999;
}

.product-content {
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    /* flex-grow: 1; */
}

.product-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.product-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.product-price-box {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-price-box del {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.product-price-box ins{
    text-decoration: none !important;
}

.product-content .btn {
    margin-top: auto;
    width: 100%;
}

/* ==========================================================================
   9. NUEVOS ESTILOS PARA DETALLE DE PRODUCTO
   ========================================================================== */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}
@media (max-width: 991px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
/* Galería de imágenes premium */
.product-gallery {
    display: flex;
    flex-direction: column;
}
.product-main-img-box {
    background-color: var(--white);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}
.product-main-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}
.product-main-img-box:hover img {
    transform: scale(1.03);
}
.product-thumbnails {
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
}
.thumb-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.6;
    transition: var(--transition-fast);
    background-color: var(--white);
}
.thumb-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.thumb-img:hover {
    opacity: 0.9;
}
.thumb-img.active {
    opacity: 1;
    border-color: var(--accent-color);
    box-shadow: var(--shadow-sm);
}
/* Información del producto */
.product-info-panel h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 0.75rem;
}
.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.product-rating .stars {
    color: var(--accent-color);
    font-size: 0.95rem;
}
.product-rating .rating-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.product-info-panel .product-price-box {
    font-size: 2rem;
    font-family: var(--font-serif);
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1.5rem;
}
.product-info-panel .product-meta-list {
    list-style: none;
    margin-bottom: 2rem;
}
.product-meta-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.product-meta-list li strong {
    color: var(--text-dark);
}
/* Selector de cantidad y acciones */
.product-actions-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    background-color: var(--white);
    overflow: hidden;
}
.qty-btn {
    background: none;
    border: none;
    width: 45px;
    height: 48px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-btn:hover {
    color: var(--primary-color);
    background-color: var(--bg-alt);
}
.qty-input {
    width: 45px;
    height: 48px;
    border: none;
    border-left: 1px solid var(--glass-border);
    border-right: 1px solid var(--glass-border);
    text-align: center;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    outline: none;
    background-color: var(--white);
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.product-actions-row .btn {
    flex-grow: 1;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Pestañas de información de producto (Tabs) */
.product-tabs-container {
    margin-top: 5rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 3.5rem;
}
.product-tabs-nav {
    display: flex;
    gap: 2.5rem;
    border-bottom: 1px solid var(--glass-border);
    list-style: none;
    margin-bottom: 2rem;
}
.tab-link {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
    padding-bottom: 1rem;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}
.tab-link:hover {
    color: var(--primary-color);
}
.tab-link.active {
    color: var(--primary-color);
}
.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
}
.tab-pane {
    display: none;
    animation: fadeInBlur 0.4s var(--transition-smooth) forwards;
}
.tab-pane.active {
    display: block;
}
.tab-pane p {
    line-height: 1.8;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}
/* Reseñas de clientes */
.reviews-summary {
    display: flex;
    gap: 4rem;
    margin-bottom: 3.5rem;
    align-items: center;
    background-color: var(--bg-alt);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    flex-wrap: wrap;
}
@media (max-width: 576px) {
    .reviews-summary {
        gap: 2rem;
        padding: 1.5rem;
    }
}
.rating-big-box {
    text-align: center;
}
.rating-big-num {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.review-item {
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 2rem;
}
.review-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.review-author {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
}
.review-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.review-stars {
    color: var(--accent-color);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}
.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}












/* ==========================================================================
   BLOG
========================================================================== */

.blog .section-header{
    max-width: none !important;
}

/* ==========================================================================
   MAQUETACIÓN Y TIPOGRAFÍA PARA ENTRADAS INDIVIDUALES (BLOG)
   ========================================================================== */

/* ==========================================================================
   CABECERA DE ENTRADA CON IMAGEN DE FONDO (EDITORIAL EXPERT)
   ========================================================================== */

.post-premium-header.post-header-with-bg {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--bg-main, #fbf9f5); /* Color crema de respaldo si no hay foto */
    padding: 0 !important; /* El padding ahora lo maneja el escudo interno */
    position: relative;
    overflow: hidden;
}

/* Escudo protector: Difumina la foto de fondo y le mete una capa crema suave */
.post-header-overlay-shield {
    width: 100%;
    height: 100%;
    padding: 9rem 0 5rem 0; /* Padding generoso para centrar el contenido */
    
    /* Filtro de cristal premium: aclara el fondo y lo desenfoca sutilmente */
    background: rgba(251, 249, 245, 0.82); 
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    
    position: relative;
    z-index: 2;
}

/* Ajustes tipográficos para potenciar el contraste sobre el fondo */
.post-header-with-bg .post-main-title {
    font-family: var(--font-serif, 'Playfair Display'), serif;
    font-size: 3.4rem; /* Un pelín más grande para que presida la sección */
    color: var(--primary-color, #1a382b);
    line-height: 1.15;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(26, 56, 43, 0.02); /* Sombra suave de seguridad */
}

/* Forzamos a que las categorías resalten más */
.post-header-with-bg .post-header-categories a {
    background-color: var(--primary-color, #1a382b) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(26, 56, 43, 0.15) !important;
}

/* Reducimos el espacio superior del cuerpo del post porque la cabecera ya es imponente */
.post-editorial-body {
    padding: 4rem 0 8rem 0 !important;
}

/* --- Ajuste Móvil --- */
@media (max-width: 768px) {
    .post-header-overlay-shield {
        padding: 9rem 0 5rem 0;
    }
    .post-header-with-bg .post-main-title {
        font-size: 2.4rem;
    }
}

/* Contenedor estrecho optimizado para la lectura (evita líneas infinitas y fatiga visual) */
.narrow-post-container {
    /* max-width: 740px !important; */
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Cabecera del Artículo */
.post-premium-header {
    padding: 8rem 0 3rem 0;
    text-align: center;
    background-color: var(--bg-main, #fbf9f5);
}


/* Categorías superiores en formato botón orgánico */
.post-header-categories a {
    display: inline-block;
    background-color: #ffffff;
    border: 1px solid rgba(26, 56, 43, 0.06);
    color: var(--primary-color, #1a382b);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-family: var(--font-sans, 'Inter'), sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(26, 56, 43, 0.02);
}

.post-main-title {
    font-family: var(--font-serif, 'Playfair Display'), serif;
    font-size: 3rem;
    line-height: 1.2;
    color: var(--primary-color, #1a382b);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Metadatos */
.post-meta-data {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-family: var(--font-sans, 'Inter'), sans-serif;
    font-size: 0.88rem;
    color: var(--text-muted, #5a6660);
}

.meta-item i {
    color: var(--accent-color, #cb7134);
    margin-right: 0.3rem;
}

/* Imagen Destacada */
.post-featured-media-container {
    background-color: var(--bg-main, #fbf9f5);
    padding-bottom: 4rem;
}

.post-img-frame {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(26, 56, 43, 0.04);
}

.post-img-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* Cuerpo del artículo */
.post-editorial-body {
    padding: 5rem 0 8rem 0;
    background-color: #ffffff;
}

/* FORMATO AUTOMÁTICO DE TEXTO (Gutenberg Core Elements) */
.post-rich-text-format {
    font-family: var(--font-sans, 'Inter'), sans-serif;
    font-size: 1.12rem;
    line-height: 1.85; /* Espaciado generoso para lectura descansada */
    color: #333a37; /* Gris oscuro orgánico */
}

/* Párrafos e introducciones */
.post-rich-text-format p {
    margin-bottom: 2rem;
}

.has-theme-palette-2-color{
    color: var(--primary-color) !important;
}

/* Subtítulos automáticos dentro del post */
.post-rich-text-format h2,
.post-rich-text-format h3,
.post-rich-text-format h4 {
    font-family: var(--font-serif, 'Playfair Display'), serif;
    color: var(--primary-color, #1a382b);
    font-weight: 600;
    line-height: 1.3;
    margin-top: 3.5rem;
    margin-bottom: 1.25rem;
}

.post-rich-text-format h2 { font-size: 2rem; }
.post-rich-text-format h3 { font-size: 1.6rem; }

/* Listas con viñetas estéticas */
.post-rich-text-format ul,
.post-rich-text-format ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.post-rich-text-format li {
    margin-bottom: 0.75rem;
}

/* Citas / Bloques de texto memorables en el post */
.post-rich-text-format blockquote {
    margin: 3rem 0;
    padding: 1.5rem 2rem;
    background-color: var(--bg-main, #fbf9f5);
    border-left: 3px solid var(--accent-color, #cb7134);
    border-radius: 0 12px 12px 0;
}

.post-rich-text-format blockquote p {
    font-family: var(--font-serif, 'Playfair Display'), serif;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--primary-light, #2c5441);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Enlaces internos del artículo */
.post-rich-text-format a {
    color: var(--primary-color, #1a382b);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.post-rich-text-format a:hover {
    color: var(--accent-color, #cb7134);
}

/* Imágenes internas insertadas en el contenido */
.post-rich-text-format img,
.post-rich-text-format .wp-block-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2.5rem 0;
}

/* Pie de página del post (Etiquetas) */
.post-editorial-footer {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px dashed rgba(26, 56, 43, 0.1);
}

.tags-label {
    font-weight: 700;
    color: var(--primary-color, #1a382b);
    margin-right: 0.5rem;
}

.post-tags-box a {
    color: var(--text-muted, #5a6660);
    text-decoration: none;
    font-size: 0.95rem;
}

.post-tags-box a:hover {
    color: var(--accent-color, #cb7134);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .post-main-title {
        font-size: 2.2rem;
    }
    .post-premium-header {
        padding-top: 6rem;
    }
    .post-rich-text-format {
        font-size: 1.05rem;
    }


    .contenedor-pagina-estandar{
        padding-top: 7.5rem !important;
    }
}





h1.titulo-pagina {
    display: none !important;
}