/* ========================================
   VARIABLES / DESIGN TOKENS
   ======================================== */
:root {
    /* Paleta rosa angelical — rosa profundo */
    --color-bg: #fef6f4;
    --color-bg-light: #fffaf9;
    --color-bg-card: #ffffff;
    --color-text: #7a5565;
    --color-text-light: #a88999;
    --color-accent: #b86b7a;
    --color-accent-dark: #a25a68;
    --color-accent-pink: #e0a5b5;
    --color-border: rgba(184, 107, 122, 0.22);
    --color-border-card: rgba(184, 107, 122, 0.15);

    /* Tipografía */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', 'Segoe UI', sans-serif;

    /* Espaciado */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
}

/* ========================================
   RESET & BASE
   ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100vw;
    overflow-x: clip; /* Prevent horizontal scroll, clip avoids double scrollbar bug */
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh;
    overflow-x: clip; /* Prevent horizontal scroll, clip avoids double scrollbar bug */
    position: relative;
    width: 100%;
    max-width: 100vw;
}

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

ul {
    list-style: none;
}

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

/* ========================================
   HEADER / NAVEGACIÓN
   ======================================== */
.site-header {
    position: relative;
    z-index: 100;
    padding: var(--space-sm) var(--space-md);
    background: var(--color-bg-light);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
}

.nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--color-text);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: var(--color-accent);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

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

/* Botón WhatsApp en el nav */
.btn-whatsapp-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    color: #fff;
    background: #b86b7a;
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-whatsapp-nav svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-whatsapp-nav:hover {
    background: #a25a68;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 107, 122, 0.35);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: stretch;
    min-height: 70vh;
    overflow: hidden;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 58%;
    height: 100%;
    overflow: hidden;
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to right, rgba(254, 246, 244, 1) 0%, rgba(254, 246, 244, 0.6) 20%, transparent 50%),
        linear-gradient(to top, var(--color-bg) 0%, transparent 15%);
    pointer-events: none;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 15% center;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: var(--space-xl) var(--space-md) var(--space-xl) var(--space-lg);
    max-width: 60%;
    margin-right: auto;
    text-align: left;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5.5vw, 4rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    opacity: 0;
    animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    line-height: 1.6;
    opacity: 0;
    animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero-description {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    max-width: 420px;
    opacity: 0;
    animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    opacity: 0;
    animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

/* ========================================
   BOTONES
   ======================================== */

/* Botón sólido rosa */
.btn-solid {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #fff;
    background: var(--color-accent);
    border: 1.5px solid var(--color-accent);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-solid:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 107, 122, 0.35);
}

/* Botón outline */
.btn-outline {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-text);
    border: 1.5px solid var(--color-text);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 107, 122, 0.35);
}

.btn-small {
    font-size: 0.8rem;
    padding: 0.6rem 1.6rem;
}

/* ========================================
   SERVICIOS / CARDS
   ======================================== */
.servicios {
    position: relative;
    z-index: 1;
    padding: var(--space-xl) var(--space-md) var(--space-lg);
    background: var(--color-bg);
}

.servicios-title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    margin-bottom: var(--space-xs);
}

.servicios-subtitle {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--color-text-light);
    text-align: center;
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.cards-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: var(--space-md);
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-card);
    border-radius: 20px;
    padding: var(--space-md) var(--space-sm) calc(var(--space-sm) + 0.5rem);
    text-align: center;
    flex: 1 1 240px;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; /* For making the entire card clickable */
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(184, 107, 122, 0.15);
}

/* Make entire card clickable by stretching link's pseudo-element */
.card .btn-solid::after,
.card .btn-outline::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.card-icon {
    width: 56px;
    height: 56px;
    color: var(--color-accent);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-text);
    line-height: 1.4;
}

.card-description {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.6;
    padding: 0 0.5rem;
}

.card .btn-solid,
.card .btn-outline {
    margin-top: auto;
}

/* ========================================
   SOBRE MÍ
   ======================================== */
.sobre-mi {
    position: relative;
    z-index: 1;
    padding: var(--space-lg) var(--space-md);
    background: var(--color-bg);
}

.sobre-mi-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.sobre-mi-image {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(184, 107, 122, 0.2);
}

.sobre-mi-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sobre-mi-content {
    flex: 1;
}

.sobre-mi-title {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.4;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.sobre-mi-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    max-width: 400px;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    position: relative;
    z-index: 1;
    padding: var(--space-lg) var(--space-md) calc(var(--space-md) + 60px);
    text-align: center;
    background: var(--color-bg);
}

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-link:hover {
    color: var(--color-accent);
    transform: translateY(-3px) scale(1.15);
    filter: drop-shadow(0 4px 8px rgba(184, 107, 122, 0.25));
}

.footer-text {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
}

/* ========================================
   WHATSAPP FLOTANTE
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: max(24px, env(safe-area-inset-bottom, 24px));
    right: max(20px, env(safe-area-inset-right, 20px));
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* ========================================
   ANIMACIONES
   ======================================== */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   SCROLL REVEAL SYSTEM
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger cards */
.card.reveal:nth-child(2) {
    transition-delay: 0.15s;
}

.card.reveal:nth-child(3) {
    transition-delay: 0.3s;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        min-height: 100svh; /* Changed from 65vh to 100svh for immersive mobile view */
        position: relative;
    }

    .hero-image-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        right: auto;
        width: 100%;
        height: 100%;
    }

    .hero-image-wrapper::after {
        background:
            radial-gradient(ellipse at 30% 30%, transparent 20%, rgba(254, 246, 244, 0.55) 60%),
            linear-gradient(to top, rgba(254, 246, 244, 0.95) 0%, rgba(254, 246, 244, 0.7) 30%, rgba(254, 246, 244, 0.3) 60%, transparent 80%),
            linear-gradient(to bottom, var(--color-bg) 0%, transparent 10%);
    }

    .hero-image {
        object-position: 25% 15%;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        max-width: 100%;
        margin: auto 0;
        padding: var(--space-md);
        text-align: center;
        align-items: center;
        background: none;
        border-radius: 0;
        box-shadow: none;
    }

    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }

    .hero-subtitle {
        font-size: clamp(1rem, 2.5vw, 1.2rem);
    }

    .hero-description {
        max-width: 500px;
        font-size: 0.95rem;
    }

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

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .nav-list {
        gap: var(--space-md);
    }

    .nav-link {
        font-size: 0.78rem;
    }

    .hero-image-wrapper {
        height: 350px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 5.5vw, 2.4rem);
    }

    .cards-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        max-width: 340px;
        width: 100%;
    }

    .sobre-mi-container {
        flex-direction: column;
        text-align: center;
    }

    .sobre-mi-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sobre-mi-text {
        max-width: 100%;
    }

    .sobre-mi-image {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    .nav-list {
        gap: var(--space-sm);
    }

    .hero-image-wrapper {
        height: 300px;
    }

    .hero-content {
        padding: var(--space-sm);
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-description {
        font-size: 0.88rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }
    
    .hero-buttons a {
        width: 100%;
        text-align: center;
    }

    .btn-whatsapp-nav {
        font-size: 0.72rem;
        padding: 0.5rem 1rem;
    }
}

/* ========================================
   NAV ACTIVE STATE
   ======================================== */
.nav-link.active {
    color: var(--color-accent);
    font-weight: 500;
}

.nav-link.active::after {
    width: 100%;
    left: 0;
}

/* ========================================
   SOBRE MÍ — PAGE STYLES
   ======================================== */

/* --- Hero Sobre Mí --- */
.sobremi-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.sobremi-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #fef6f4 0%, #f5e6df 40%, #e8d5cc 100%);
    z-index: 0;
}

.sobremi-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(184, 107, 122, 0.1) 0%, transparent 40%);
}

.sobremi-hero-content {
    position: relative;
    z-index: 1;
    padding: var(--space-xl) var(--space-md);
}

.sobremi-hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--color-text-light);
    margin-bottom: var(--space-xs);
    opacity: 0;
    animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.sobremi-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    opacity: 0;
    animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.sobremi-hero-divider {
    width: 60px;
    height: 1.5px;
    background: var(--color-accent);
    margin: 0 auto var(--space-sm);
    opacity: 0;
    animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.sobremi-hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 400;
    color: var(--color-text-light);
    opacity: 0;
    animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

/* --- Story (sección única con fondo acuarela) --- */
.sobremi-story {
    padding: var(--space-xl) var(--space-md) var(--space-lg);
    background:
        linear-gradient(rgba(254, 246, 244, 0.78), rgba(254, 246, 244, 0.78)),
        url('../images/sobremi-watercolor-bg.png') center / cover no-repeat;
    position: relative;
}

.sobremi-story-container {
    max-width: 720px;
    margin: 0 auto;
}

/* Header: imagen + frase de apertura */
.sobremi-story-header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.sobremi-story-image {
    flex-shrink: 0;
    width: 240px; /* Ligeramente más grande */
    height: 320px;
    border-radius: 20px 80px 20px 80px; /* Forma botánica/orgánica */
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 45px rgba(184, 107, 122, 0.25);
    border: 5px solid var(--color-bg-light); /* Marco fotográfico delicado */
}

.sobremi-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    /* Filtros sutiles para darle una temperatura de color cálida/rosada que se integre a la paleta */
    filter: sepia(0.15) hue-rotate(-15deg) contrast(1.05) saturate(1.1);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.sobremi-story-image:hover img {
    transform: scale(1.05); /* Zoom sutil al pasar el mouse */
    filter: sepia(0) hue-rotate(0deg) contrast(1) saturate(1);
}

.sobremi-story-intro {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.5;
    color: var(--color-text);
    flex: 1;
}

/* Body: texto corrido */
.sobremi-story-body p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.85;
    margin-bottom: 1.2rem;
}

/* Frases destacadas en rosa */
.sobremi-accent-text {
    font-family: var(--font-heading) !important;
    font-size: 1.15rem !important;
    font-weight: 500 !important;
    font-style: italic;
    color: var(--color-accent) !important;
    padding: 0.4rem 0;
}

/* Separador floral decorativo */
.sobremi-floral-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin: var(--space-lg) 0;
    position: relative;
}

.sobremi-floral-divider::before,
.sobremi-floral-divider::after {
    content: '';
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-accent-pink), transparent);
}

.sobremi-floral-divider span {
    font-size: 1.4rem;
    line-height: 1;
    opacity: 0.7;
    filter: grayscale(0.2);
}

/* Frase central grande */
.sobremi-frase-alma {
    display: block;
    font-family: var(--font-heading) !important;
    font-size: clamp(1.8rem, 4vw, 2.4rem) !important;
    font-weight: 500 !important;
    font-style: italic;
    color: var(--color-accent) !important;
    text-align: center;
    margin: var(--space-lg) 0 !important;
    line-height: 1.3 !important;
    padding: var(--space-md) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

/* CTA al final con foto */
.sobremi-story-cta {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    padding: var(--space-lg);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-card);
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(184, 107, 122, 0.08);
}

.sobremi-cta-photo {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(184, 107, 122, 0.2);
}

.sobremi-cta-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sobremi-cta-content {
    flex: 1;
}

.sobremi-cta-text {
    font-family: var(--font-heading) !important;
    font-size: 1.1rem !important;
    font-weight: 400 !important;
    font-style: italic;
    color: var(--color-text) !important;
    line-height: 1.6 !important;
    margin-bottom: var(--space-sm) !important;
}

.sobremi-cta-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* --- Sobre Mí Responsive --- */
@media (max-width: 768px) {
    .sobremi-hero {
        min-height: 70svh; /* Altura inmersiva para portada de sobre mí */
    }

    .sobremi-story-header {
        flex-direction: column;
        text-align: center;
    }

    .sobremi-story-image {
        width: 180px;
        height: 240px;
    }

    .sobremi-story-cta {
        flex-direction: column;
        text-align: center;
        padding: var(--space-md);
    }

    .sobremi-cta-photo {
        width: 120px;
        height: 120px;
    }

    .sobremi-cta-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sobremi-cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }
    .sobremi-cta-buttons a {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .sobremi-story-image {
        width: 160px;
        height: 210px;
    }

    .sobremi-cta-photo {
        width: 100px;
        height: 100px;
    }

    .sobremi-frase-alma {
        font-size: 1.5rem !important;
    }

}

/* ========================================
   ESCRITOS DEL ALMA — PAGE STYLES
   ======================================== */

/* --- Premium Hero Escritos --- */
.escritos-premium-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl) var(--space-md);
    overflow: hidden;
    background: linear-gradient(135deg, #fef6f4 0%, #f5e6df 40%, #e8d5cc 100%);
}

.escritos-premium-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(212, 162, 149, 0.15) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.escritos-hero-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.escritos-hero-text {
    flex: 1;
    max-width: 600px;
}

.escritos-hero-eyebrow {
    color: var(--color-accent) !important;
    letter-spacing: 3px !important;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.escritos-hero-title {
    font-family: 'Caveat', cursive;
    color: var(--color-text);
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 15px rgba(212, 162, 149, 0.2);
}

.escritos-hero-desc {
    font-size: 1.15rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.escritos-hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 2rem;
}

/* Floating Polaroid 3D */
.escritos-hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.escritos-photo-wrapper {
    position: relative;
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.escritos-photo-3d {
    width: 100%;
    border-radius: 4px;
    padding: 15px 15px 60px 15px; /* Polaroid effect */
    background: #fff;
    box-shadow: 15px 25px 40px rgba(184, 107, 122, 0.15), -5px -5px 20px rgba(255, 255, 255, 0.9);
    transform: rotate(-4deg);
    object-fit: cover;
    height: 480px;
}

/* Polaroid Text Overlay */
.escritos-photo-wrapper::after {
    content: 'Medicina para el alma';
    position: absolute;
    bottom: 22px;
    left: 50%;
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    color: var(--color-text-light);
    transform: translateX(-50%) rotate(-4deg);
    z-index: 2;
    white-space: nowrap;
}

.escritos-photo-shadow {
    display: none;
}

@keyframes floatingPolaroid {
    0% { transform: translateY(0) rotate(-4deg) rotateY(5deg); }
    50% { transform: translateY(-20px) rotate(-2deg) rotateY(8deg); }
    100% { transform: translateY(0) rotate(-4deg) rotateY(5deg); }
}

@keyframes floatingShadowPolaroid {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(0.85); opacity: 0.4; }
    100% { transform: scale(1); opacity: 0.8; }
}

@media (max-width: 992px) {
    .escritos-hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding-top: 4rem; /* Evita choque con header */
    }

    .escritos-hero-cta {
        align-items: center;
    }

    .escritos-hero-visual {
        width: 100%;
        max-width: 320px;
    }

    .escritos-photo-3d {
        height: 400px;
    }
}

/* --- Section Title Shared --- */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 400;
    color: var(--color-text);
    text-align: center;
    margin-bottom: var(--space-md);
}

/* --- Galería de Escritos — Carousel --- */
.escritos-galeria {
    padding: var(--space-lg) var(--space-md);
    /* Tranquil background image with soft pink overlay */
    background: 
        linear-gradient(rgba(254, 246, 244, 0.72), rgba(254, 246, 244, 0.72)),
        url('../images/galeria-bg-tranquil.png') center / cover no-repeat;
    position: relative;
    /* Fill viewport so only escritos are visible */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.escritos-galeria .section-title {
    font-family: 'Caveat', cursive;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-lg);
    color: var(--color-text);
    position: relative;
    padding-bottom: var(--space-sm);
}

.escritos-galeria .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--color-accent);
    margin: var(--space-xs) auto 0;
    border-radius: 2px;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    width: 100%;
}

.escrito-card-full {
    min-width: 100%;
    /* Wrinkled paper texture with subtle ruled lines */
    background: 
        repeating-linear-gradient(
            180deg,
            transparent,
            transparent 31px,
            rgba(212, 162, 149, 0.08) 31px,
            rgba(212, 162, 149, 0.08) 32px
        ),
        url('../images/paper-texture.png') center / cover no-repeat;
    border: none;
    border-radius: 2px;
    padding: var(--space-md) var(--space-lg);
    padding-left: calc(var(--space-lg) + 1.2rem);
    display: flex;
    flex-direction: column;
    position: relative;
    /* Realistic paper-on-surface shadow */
    box-shadow: 
        1px 2px 6px rgba(0, 0, 0, 0.08),
        3px 4px 12px rgba(0, 0, 0, 0.05),
        inset 0 0 30px rgba(200, 180, 160, 0.06);
    /* Slight rotation for natural placement feel */
    transform: rotate(-0.4deg);
    transition: 
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.5s ease,
        filter 0.5s ease,
        scale 0.35s ease,
        box-shadow 0.35s ease;
    opacity: 0.4;
    filter: blur(2px);
}

/* Red margin line on the left — like a real notebook */
.escrito-card-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(var(--space-lg) + 0.6rem);
    width: 1.5px;
    height: 100%;
    background: rgba(212, 162, 149, 0.18);
    z-index: 1;
}

/* Subtle page curl / fold at bottom-right corner */
.escrito-card-full::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, transparent 50%, rgba(212, 162, 149, 0.1) 50%, rgba(192, 142, 128, 0.06) 100%);
    border-radius: 0 0 4px 0;
    pointer-events: none;
}

.escrito-card-full.is-active {
    opacity: 1;
    filter: blur(0);
    box-shadow: 
        1px 2px 6px rgba(0, 0, 0, 0.08),
        3px 4px 12px rgba(0, 0, 0, 0.05),
        0 10px 40px rgba(255, 255, 255, 0.6),
        inset 0 0 30px rgba(200, 180, 160, 0.06);
}


.escrito-card-full.enter-from-right {
    animation: slideGrowFromRight 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.escrito-card-full.enter-from-left {
    animation: slideGrowFromLeft 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideGrowFromRight {
    0% {
        opacity: 0;
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes slideGrowFromLeft {
    0% {
        opacity: 0;
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
    }
}

.escrito-card-full-title {
    font-family: 'Caveat', cursive;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--color-text);
    text-align: center;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1.5px dashed var(--color-border);
    letter-spacing: 0.02em;
}

.escrito-card-full-body {
    max-height: 450px;
    overflow-y: auto;
    padding-right: var(--space-xs);
}

/* Scrollbar sutil */
.escrito-card-full-body::-webkit-scrollbar {
    width: 4px;
}

.escrito-card-full-body::-webkit-scrollbar-track {
    background: transparent;
}

.escrito-card-full-body::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
}

.escrito-card-full-body p {
    font-family: 'Caveat', cursive;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--color-text);
    line-height: 2;
    margin-bottom: 1rem;
}

.escrito-highlight {
    font-style: italic;
    color: var(--color-accent-dark) !important;
    font-weight: 600 !important;
    font-size: 1.25rem !important;
    padding: 0.4rem 0.8rem 0.4rem 1rem;
    border-left: 2.5px solid var(--color-accent);
    background: rgba(224, 165, 181, 0.08);
    border-radius: 0 4px 4px 0;
}

.escrito-cta-text {
    font-style: italic;
    font-family: 'Caveat', cursive !important;
    color: var(--color-text) !important;
    font-weight: 500 !important;
    font-size: 1.1rem !important;
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1.5px dashed var(--color-border);
}

/* Botones de navegación */
.carousel-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--color-border);
    background: rgba(255, 255, 255, 0.7);
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.carousel-btn:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 4px 15px rgba(184, 107, 122, 0.3);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.4);
    color: var(--color-text-light);
    border-color: var(--color-border);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

/* Dots indicadores */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-md);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid var(--color-accent);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    background: var(--color-accent);
    transform: scale(1.2);
}

/* Responsive carousel */
@media (max-width: 768px) {
    .carousel-wrapper {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .carousel-track {
        order: -1;
        width: 100%;
        flex: 0 0 100%;
        margin-bottom: 0.5rem;
    }

    .carousel-btn {
        margin: 0 1.5rem;
        width: 44px;
        height: 44px;
    }

    .escrito-card-full {
        padding: var(--space-md) var(--space-sm);
        border-radius: 15px;
    }

    .escrito-card-full-body {
        max-height: 450px;
    }

    .escrito-card-full-body p {
        font-size: 1.1rem; /* Font un poco más grande en móviles */
        line-height: 1.6;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .carousel-btn {
        width: 44px;
        height: 44px;
        margin: 0 1rem;
    }

    .escrito-card-full-body {
        max-height: 400px;
    }

    .escrito-card-full-body p {
        font-size: 1.1rem; /* Font un poco más grande en móviles */
    }
}

/* --- Escúchalos en mi voz --- */
.escritos-audio {
    padding: var(--space-xl) var(--space-md);
    background: linear-gradient(135deg, rgba(254, 246, 244, 0.8), rgba(245, 230, 223, 0.8));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.escritos-audio::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.8) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.escritos-audio-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    padding: 3rem 2rem;
    box-shadow: 0 15px 35px rgba(212, 162, 149, 0.15);
    position: relative;
    z-index: 1;
}

.escritos-audio-text {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

/* --- CTA Final --- */
.escritos-cta {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.escritos-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.escritos-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.escritos-cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(254, 246, 244, 0.7);
}

.escritos-cta-content {
    position: relative;
    z-index: 1;
    padding: var(--space-xl) var(--space-md);
}

.escritos-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 1.7rem);
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.5;
    margin-bottom: var(--space-md);
}

.escritos-cta-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Escritos Responsive --- */
@media (max-width: 768px) {
    .escritos-hero {
        min-height: 70svh;
    }

    .escritos-historia-container {
        flex-direction: column;
    }

    .escritos-historia-image {
        width: 100%;
        max-height: 250px;
    }

    .escritos-cards-container {
        flex-direction: column;
        align-items: center;
    }

    .escrito-card {
        max-width: 340px;
        width: 100%;
    }

    .escritos-cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }
    .escritos-cta-buttons a {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   SESIONES — REGISTROS AKÁSHICOS PAGE
   ======================================== */

/* --- Hero Sesiones --- */
.sesion-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.sesion-hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/hero_bg_4k_1774106329750.png') center center / cover no-repeat;
    z-index: 0;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Efecto onírico para ocultar la baja resolución en PC */
    filter: blur(8px);
    transform: scale(1.05);
}

.sesion-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(254, 246, 244, 0.45) 0%, rgba(245, 230, 223, 0.35) 50%, rgba(232, 213, 204, 0.45) 100%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
}

.sesion-hero-content {
    position: relative;
    z-index: 1;
    padding: var(--space-xl) var(--space-md);
}

.sesion-hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--color-text-light);
    margin-bottom: var(--space-xs);
    opacity: 0;
    animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.sesion-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    opacity: 0;
    animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.sesion-hero-divider {
    width: 60px;
    height: 1.5px;
    background: var(--color-accent);
    margin: 0 auto var(--space-sm);
    opacity: 0;
    animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.sesion-hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    font-weight: 500;
    color: var(--color-text);
    text-shadow: 0 1px 8px rgba(254, 246, 244, 0.9), 0 0 20px rgba(254, 246, 244, 0.7);
    opacity: 0;
    animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

/* --- Inline SVG icon sizes --- */
.sesion-icon-inline {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.1em;
    color: var(--color-accent);
}

.sesion-icon-title {
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    vertical-align: -0.15em;
    color: var(--color-accent);
}

.sesion-icon-btn {
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    vertical-align: -0.15em;
}

/* --- Shared container --- */
.sesion-container {
    max-width: 720px;
    margin: 0 auto;
}

/* --- Intro section --- */
.sesion-intro {
    padding: var(--space-xl) var(--space-md) var(--space-lg);
    background: var(--color-bg);
}

.sesion-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.85;
    margin-bottom: 1.2rem;
}

.sesion-accent-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    font-style: italic;
    color: var(--color-accent);
    line-height: 1.6;
    padding: 0.4rem 0;
    margin-bottom: 1.2rem;
}

/* --- Content sections --- */
.sesion-section {
    padding: var(--space-lg) var(--space-md);
}

.sesion-para-quien {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.sesion-para-quien::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(rgba(255, 250, 249, 0.78), rgba(255, 250, 249, 0.78)),
        url('../images/forest_bg_4k_1774106362323.png') center center / cover no-repeat;
    /* Efecto onírico en PC */
    filter: blur(8px);
    transform: scale(1.05);
}

.sesion-como {
    background: var(--color-bg);
}

.sesion-experimentar {
    background: var(--color-bg-light);
}

/* --- Section titles --- */
.sesion-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 500;
    font-style: italic;
    color: var(--color-text);
    text-align: center;
    margin-bottom: var(--space-md);
    line-height: 1.4;
}

/* --- Para quién: lista --- */
.sesion-list {
    list-style: none;
    padding: 0;
    max-width: 520px;
    margin: 0 auto var(--space-md);
}

.sesion-list li {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.7;
    padding: 0.6rem 0 0.6rem 2rem;
    position: relative;
    border-bottom: 1px solid var(--color-border-card);
}

.sesion-list li:last-child {
    border-bottom: none;
}

.sesion-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 12px;
    height: 12px;
    background: var(--color-accent);
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 22 C12 22 12 14 12 10 C12 6 9 3 5 3 M12 10 C12 6 15 3 19 3 M7 8 C9 6 11 7 12 10 M17 8 C15 6 13 7 12 10' stroke='currentColor' stroke-width='2' fill='none'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 22 C12 22 12 14 12 10 C12 6 9 3 5 3 M12 10 C12 6 15 3 19 3 M7 8 C9 6 11 7 12 10 M17 8 C15 6 13 7 12 10' stroke='currentColor' stroke-width='2' fill='none'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Frase destacada */
.sesion-frase-destacada {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3.5vw, 1.9rem);
    font-weight: 500;
    font-style: italic;
    color: var(--color-accent);
    text-align: center;
    margin-top: var(--space-md);
    padding: var(--space-sm) 0;
    line-height: 1.4;
}

/* --- Cómo es la sesión: grid de detalles --- */
.sesion-detalles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.sesion-detalle-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-card);
    border-radius: 16px;
    padding: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sesion-detalle-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(184, 107, 122, 0.12);
}

.sesion-detalle-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--color-accent);
}

.sesion-detalle-icon svg {
    width: 100%;
    height: 100%;
}

.sesion-detalle-item strong {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text);
    display: block;
    margin-bottom: 0.15rem;
}

.sesion-detalle-item p {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.5;
    margin: 0;
}

/* Nota card (audio WhatsApp) */
.sesion-nota-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-card);
    border-radius: 20px;
    padding: var(--space-md);
    text-align: center;
    box-shadow: 0 4px 20px rgba(184, 107, 122, 0.06);
}

.sesion-nota-card p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.sesion-nota-card p:last-child {
    margin-bottom: 0;
}

.sesion-nota-accent {
    font-family: var(--font-heading) !important;
    font-weight: 400 !important;
    font-style: italic;
    color: var(--color-accent) !important;
    font-size: 0.95rem !important;
}

/* --- Beneficios lista --- */
.sesion-beneficios {
    list-style: none;
    padding: 0;
    max-width: 480px;
    margin: 0 auto var(--space-md);
}

.sesion-beneficios li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.6;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--color-border-card);
}

.sesion-beneficios li:last-child {
    border-bottom: none;
}

.sesion-beneficio-icon {
    color: var(--color-accent);
    flex-shrink: 0;
    width: 12px;
    height: 12px;
}

.sesion-beneficio-icon svg {
    width: 100%;
    height: 100%;
}

.sesion-frase-cierre {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 400;
    font-style: italic;
    color: var(--color-text);
    text-align: center;
    line-height: 1.6;
}

/* --- Testimonios --- */
.sesion-testimonios {
    background: var(--color-bg);
}

.testimonios-carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    padding: 2rem 0;
}

.testimonios-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    align-items: center;
}

.testimonio-img-card {
    min-width: 100%;
    flex: 0 0 100%;
    padding: 0 1rem;
    opacity: 0.5;
    transform: scale(0.9);
    transition: all 0.5s ease;
    filter: blur(2px);
}

.testimonio-img-card.is-active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

.voz-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--diario-shadow, 0 15px 35px rgba(184, 107, 122, 0.25));
    border: 2px solid rgba(255, 255, 255, 0.6);
}

/* Privacy Mask (Blur at top) */
.voz-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 85px; /* Adjust based on typical header height */
    background: linear-gradient(to bottom, rgba(255,255,255,0.95) 20%, rgba(255,255,255,0));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2;
    pointer-events: none;
}

.voz-image {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* Carousel Controls */
.testimonio-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--color-border);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.testimonio-btn:hover {
    background: var(--color-accent);
    color: #fff;
}

.testimonio-btn.prev {
    left: 10px;
}

.testimonio-btn.next {
    right: 10px;
}

.testimonios-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.testimonios-dots .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(184, 107, 122, 0.3);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonios-dots .carousel-dot.active {
    background: var(--color-accent);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .testimonio-btn {
        width: 36px;
        height: 36px;
    }
}

/* --- Inversión / CTA --- */
.sesion-inversion {
    padding: var(--space-lg) var(--space-md) var(--space-xl);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.sesion-inversion::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(rgba(254, 246, 244, 0.7), rgba(254, 246, 244, 0.7)),
        url('../images/sky_bg_4k_1774106346094.png') center center / cover no-repeat;
    /* Efecto onírico en PC */
    filter: blur(8px);
    transform: scale(1.05);
}

.sesion-inversion-card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--color-bg-card);
    border: 1.5px solid var(--color-border);
    border-radius: 24px;
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    box-shadow: 0 12px 40px rgba(184, 107, 122, 0.1);
    position: relative;
    overflow: hidden;
}

.sesion-inversion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent-pink), var(--color-accent), var(--color-accent-pink));
}

.sesion-inversion-eyebrow {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-text-light);
    margin-bottom: var(--space-xs);
}

.sesion-inversion-precio {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.sesion-inversion-detalle {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.sesion-btn-reservar {
    font-size: 1rem !important;
    padding: 1rem 2.5rem !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- Sesiones Responsive --- */
@media (max-width: 768px) {
    .sesion-hero {
        min-height: 70svh; /* Altura inmersiva para portada de sesiones */
    }

    .sesion-detalles-grid,
    .sesion-testimonios-grid {
        grid-template-columns: 1fr;
    }

    .sesion-inversion-card {
        padding: var(--space-md);
    }

    /* Quitar el acuarelado (blur) en pantallas móviles para que se vea la imagen nítida original */
    .sesion-hero-bg,
    .sesion-para-quien::before,
    .sesion-inversion::before {
        filter: none;
        transform: none;
    }
}

@media (max-width: 480px) {
    .sesion-hero-title {
        font-size: 1.8rem;
    }

    .sesion-frase-destacada {
        font-size: 1.3rem;
    }

    .sesion-btn-reservar {
        font-size: 0.9rem !important;
        padding: 0.85rem 2rem !important;
    }
}

/* ========== SHOWCASE DIARIO ========== */
.diario-showcase {
    background: var(--color-bg);
}

.diario-showcase-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.diario-showcase-image {
    position: relative;
    max-width: 420px; /* Aumentado a petición del usuario */
    margin: 0 auto;
    border-radius: 4px 10px 10px 4px; /* Lomo recto a la izquierda, bordes curvos a la derecha */
    overflow: hidden;
    /* Efecto inicial base, aunque será dirigido por la animación y continuará */
    box-shadow: 
        inset 5px 0 10px rgba(0,0,0,0.1),
        inset -1px 0 2px rgba(255,255,255,0.4),
        15px 20px 40px rgba(184, 107, 122, 0.25),
        5px 5px 15px rgba(0,0,0,0.1); 
    transform-style: preserve-3d;
    perspective: 1000px;
    z-index: 10;
    
    /* Animación continua de rebote/flotación */
    animation: floatBook 6s ease-in-out infinite;
}

@keyframes floatBook {
    0% {
        transform: translateY(0) rotateY(0deg);
        box-shadow: 
            inset 5px 0 10px rgba(0,0,0,0.1),
            inset -1px 0 2px rgba(255,255,255,0.4),
            15px 20px 40px rgba(184, 107, 122, 0.25),
            5px 5px 15px rgba(0,0,0,0.1);
    }
    50% {
        transform: translateY(-12px) rotateY(-3deg) rotateX(1deg); /* Rebote suave con ligera rotación 3D */
        box-shadow: 
            inset 5px 0 10px rgba(0,0,0,0.1),
            inset -1px 0 2px rgba(255,255,255,0.5),
            20px 30px 45px rgba(184, 107, 122, 0.35),
            10px 10px 25px rgba(0,0,0,0.15); /* Sombra más amplia simulando mayor altura */
    }
    100% {
        transform: translateY(0) rotateY(0deg);
        box-shadow: 
            inset 5px 0 10px rgba(0,0,0,0.1),
            inset -1px 0 2px rgba(255,255,255,0.4),
            15px 20px 40px rgba(184, 107, 122, 0.25),
            5px 5px 15px rgba(0,0,0,0.1);
    }
}

/* Efecto de luz reflectiva en el lomo */
.diario-showcase-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0.0) 0%,
        rgba(255,255,255,0.15) 15%,
        rgba(0,0,0,0.05) 25%,
        rgba(255,255,255,0.0) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.diario-showcase-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    z-index: 1;
}

.diario-showcase-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.diario-showcase-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.diario-showcase-text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

.diario-showcase-quote {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    color: var(--color-accent-dark);
    margin-top: 1rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--color-accent);
}

@media (max-width: 900px) {
    .diario-showcase-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .diario-showcase-image {
        max-width: 450px;
        margin: 0 auto;
    }
    
    .diario-showcase-title {
        font-size: 1.8rem;
    }
}

/* ========================================
   FAQ ACCORDION (Global para Sesiones y otros)
   ======================================== */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--color-accent);
    box-shadow: 0 8px 25px rgba(184, 107, 122, 0.08); /* Sombra de marca */
}

.faq-question {
    padding: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    list-style: none; /* Ocultar viñeta nativa */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-family: var(--font-body);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--color-accent);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

details[open] .faq-question::after {
    transform: rotate(45deg);
}

details[open] .faq-item {
    border-color: var(--color-accent);
    background: var(--color-bg-light);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--color-text-light);
    line-height: 1.8;
    font-size: 1.05rem;
    animation: fadeInDown 0.4s ease forwards;
    opacity: 0;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 1rem;
        font-size: 1.15rem;
    }
    .faq-answer {
        padding: 0 1rem 1rem 1rem;
        font-size: 0.95rem;
    }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   HAMBURGER MENU & MOBILE NAV STYLES
   ======================================== */
.mobile-logo {
    display: none;
}

.hamburger-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 12px;
    margin-right: -12px;
    z-index: 1100;
    -webkit-tap-highlight-color: transparent;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -1.5px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 30px;
    height: 2px;
    background-color: var(--color-accent);
    border-radius: 4px;
    position: absolute;
    transition: transform 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: '';
    display: block;
}

.hamburger-inner::before { top: -8px; }
.hamburger-inner::after { bottom: -8px; }

/* Animación del Hamburger (clase "is-active") */
.hamburger-btn.is-active .hamburger-inner {
    background-color: transparent !important;
}
.hamburger-btn.is-active .hamburger-inner::before {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-btn.is-active .hamburger-inner::after {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    .site-header {
        display: flex;
        justify-content: space-between; /* Espacia el logo y el botón */
        align-items: center;
        position: fixed;
        width: 100%;
        left: 0;
        top: 0;
        z-index: 1000;
        background: rgba(254, 246, 244, 0.85); /* Glassmorphism */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--color-border-card);
        padding: 0.8rem 1.2rem; /* Reducido para evitar overflow horizontal */
    }
    
    .mobile-logo {
        display: block;
        font-family: var(--font-heading);
        font-size: 1.15rem;
        font-weight: 500;
        font-style: italic;
        color: var(--color-text);
        text-decoration: none;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 70vw; /* Evita que el texto empuje la pantalla */
    }
    
    .hamburger-btn {
        display: block;
        position: relative;
        z-index: 1100;
        margin-right: 0.5rem;
    }

    .nav-container {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh; /* Soporte para navegadores móviles modernos */
        background: rgba(254, 246, 244, 0.97); /* Casi opaco pero con blur */
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%); /* Oculto a la derecha */
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1050;
        visibility: hidden;
    }

    /* Clase que se agrega con JS para abrir el menú */
    .nav-container.is-active {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 2.2rem;
        text-align: center;
        width: 100%;
    }

    .nav-link {
        font-size: 1.3rem; 
        padding: 0.5rem;
        font-weight: 500;
    }

    .btn-whatsapp-nav {
        margin-top: 1rem;
        font-size: 0.95rem;
        padding: 0.85rem 1.8rem;
    }
}

/* Bloqueo del scroll al abrir el menú en móviles */
body.nav-open {
    overflow: hidden;
}