:root {
    /* Paleta morado-azul metalizada */
    --bg-primary: #e7eafb;          /* lavanda/azul claro de fondo general */
    --bg-section: #ffffff;          /* secciones / tarjetas blancas */
    --accent-deep: #150f34;         /* morado metalizado profundo */
    --accent-cta: #271c57;          /* morado acero */
    --accent-cta-alt: #2d3f7f;      /* azul acero */
    --accent-sage: #17385f;         /* azul oscuro de apoyo */
    --text-primary: #111827;        /* gris muy oscuro para texto */
    --white: #ffffff;
    --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    font-size: 0.95rem;
    line-height: 1.6;
}

h1,
h2,
h3,
.section-title,
.hero-quote,
.section-banner h2,
.product-title,
.product-modal-title,
.cart-item-title {
    font-family: var(--font-heading);
    letter-spacing: 0.01em;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: var(--accent-cta);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-header {
    position: relative;
    top: 0;
    z-index: 1060;
    background-color: var(--white);   /* menú blanco como en Mindvalley */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.header-inner {
    display: flex;
    align-items: center;
    padding: 0.6rem 0 0;
    gap: 0;
    position: relative;
}

.header-spacer-left {
    flex: 1 1 0;
    min-width: 0;
}

.header-center-group {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    flex: 0 0 auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
}

.header-lang {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 0.5rem;
}

.logo-area {
    flex: 0 0 auto;
    margin-right: 1rem;
}

.logo-link {
    display: block;
    line-height: 0;
}

.logo-img {
    display: block;
    max-height: 124px;
    width: auto;
    object-fit: contain;
}

.nav-mobile-title {
    display: none;
}

.logo-text {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.main-nav {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.main-nav .nav-list {
    list-style: none;
    margin: 0;
    padding: 0.2rem 0 0.28rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.12rem;
}

.main-nav .nav-list .nav-row {
    position: static;
}

.main-nav .nav-row-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.18rem 0.48rem;
}

.main-nav .nav-list .nav-row-inner > span {
    position: relative;
}

.main-nav a {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    font-weight: 500;
    line-height: 1.05;
    padding: 0.42rem 0.55rem;
    border-bottom: 2px solid transparent;
    color: #111827; /* texto oscuro sobre header blanco */
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
    font-feature-settings: "kern" 1, "liga" 1;
}

.main-nav .nav-row-inner > span > a {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.main-nav .nav-row-inner > span > a.nav-key-highlight {
    color: #ffffff;
    border-bottom-color: var(--accent-cta);
    font-weight: 700;
    padding: 0.5rem 0.7rem;
    position: relative;
}

.main-nav .nav-row-inner > span > a.nav-key-highlight:hover,
.main-nav .nav-row-inner > span > a.nav-key-highlight:focus-visible {
    color: var(--accent-deep);
    border-bottom-color: var(--accent-deep);
    box-shadow: inset 0 -2px 0 rgba(122, 51, 30, 0.15);
}

.main-nav a:hover {
    color: var(--accent-deep);
    border-bottom-color: transparent;
    background-color: rgba(39, 28, 87, 0.07);
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(39, 28, 87, 0.14);
    transform: translateY(-1px);
}

@media (min-width: 961px) {
    .main-nav .nav-list .nav-row:first-child {
        padding-bottom: 0.06rem;
        border-bottom: 1px solid rgba(39, 28, 87, 0.08);
    }

    .main-nav .nav-list .nav-row:last-child {
        padding-top: 0.08rem;
    }
}

.main-nav .nav-row-inner > span > a:focus-visible {
    outline: 2px solid var(--accent-cta);
    outline-offset: 2px;
}

/* Dropdown toggle (arrow) - hidden on desktop, shown on mobile */
.dropdown-toggle {
    display: none;
    width: 28px;
    height: 28px;
    padding: 0;
    margin-left: 0.15rem;
    border: none;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    flex-shrink: 0;
}

.dropdown-toggle::after {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -0.2rem;
    transition: transform 0.2s;
}

.has-dropdown.expanded .dropdown-toggle::after {
    transform: rotate(-135deg);
    margin-top: 0.15rem;
}

/* Submenu */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    margin: 0.5rem 0 0;
    padding: 0.5rem 0;
    list-style: none;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 100;
}

.has-dropdown:hover .submenu,
.has-dropdown.expanded .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    margin: 0;
}

.submenu a {
    display: block;
    padding: 0.55rem 1.15rem;
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.02em;
    border-bottom: none;
    white-space: nowrap;
    color: var(--text-primary);
    transition: background 0.18s ease, color 0.18s ease;
}

.submenu li:first-child a {
    border-radius: 8px 8px 0 0;
}

.submenu li:last-child a {
    border-radius: 0 0 8px 8px;
}

.submenu a:hover {
    background: rgba(184, 92, 56, 0.06);
    color: var(--accent-deep);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.25);
}

.btn-primary {
    /* Degradado morado-azul metalizado */
    background-image: linear-gradient(135deg, var(--accent-deep), var(--accent-cta), var(--accent-cta-alt), var(--accent-sage));
    color: var(--white);
}

.btn-primary:hover {
    opacity: 0.95;
    text-decoration: none;
}

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

.btn-outline:hover {
    background-image: linear-gradient(135deg, var(--accent-deep), var(--accent-cta), var(--accent-cta-alt));
    color: var(--white);
    border-color: transparent;
}


.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0;
    background: transparent;
    border-radius: 999px;
    padding: 0;
    border: none;
    opacity: 0.58;
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 3px;
    font-size: 0.52rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1;
    text-decoration: none;
    border-radius: 999px;
    color: rgba(17, 24, 39, 0.45);
    transition: color 0.18s, opacity 0.18s, background-color 0.18s;
}

.lang-option:hover {
    opacity: 1;
    color: rgba(17, 24, 39, 0.65);
    background-color: rgba(39, 28, 87, 0.04);
}

.lang-option.active {
    color: rgba(17, 24, 39, 0.72);
    opacity: 1;
    background-color: rgba(39, 28, 87, 0.06);
}

.lang-switcher:hover {
    opacity: 0.78;
}

.header-cta {
    margin-left: 0;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.header-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(39, 28, 87, 0.22);
    background: rgba(255, 255, 255, 0.92);
    color: var(--accent-cta);
    text-decoration: none;
    line-height: 0;
    position: relative;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.header-cart:hover {
    color: var(--accent-deep);
    border-color: rgba(39, 28, 87, 0.38);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.15);
    transform: translateY(-1px);
    text-decoration: none;
}

.header-cart-icon {
    width: 1.02rem;
    height: 1.02rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-cart-count {
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.16rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -0.32rem;
    right: -0.3rem;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(220, 38, 38, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.92);
}

.header-cta-icon-wrap {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-cta-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    fill: none;
    stroke: rgba(255, 255, 255, 0.98);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-toggle {
    display: none;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: var(--white);
    animation: hero-pan 40s ease-in-out infinite alternate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Overlay neutro (sin color) solo para mejorar legibilidad del texto */
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.38) 0%,
        rgba(0, 0, 0, 0.22) 40%,
        rgba(0, 0, 0, 0.00) 100%
    );
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin-left: 1.25rem;
    margin-right: auto;
    text-align: left;
}

@media (min-width: 1280px) {
    .hero-inner {
        margin-left: 8.5rem; /* aún más margen izquierdo solo en pantallas grandes */
    }
}

.hero-quote {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 2.3rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-align: left;
    opacity: 0;
    animation: fade-in-up 0.85s ease-out forwards;
}

.hero-event-date {
    display: inline-flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 1.25rem;
    padding: 0.65rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    opacity: 0;
    animation: fade-in-up 0.7s ease-out forwards;
}

.hero-event-date__label {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.92;
}

.hero-event-date__value {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.01em;
}

.journey-date-block {
    margin-bottom: 1rem;
}

.journey-date-block__label {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    color: var(--text-secondary);
}

.journey-date-block__value {
    display: block;
    font-size: 1.45rem;
    line-height: 1.3;
    color: var(--accent-cta);
}

.hero-identities {
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fade-in-up 1s ease-out forwards;
}

.hero-subtitle {
    font-size: 1rem;
    max-width: 32rem;
    margin-bottom: 1.75rem;
    text-align: left;
    opacity: 0;
    animation: fade-in-up 1.15s ease-out forwards;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    opacity: 0;
    animation: fade-in-up 1.3s ease-out forwards;
}

/* Botón secundario del hero: fondo sólido para que se vea sobre la imagen */
.hero .btn-outline {
    background-color: var(--white);
    color: var(--text-primary);
    border-color: var(--white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.hero .btn-outline:hover {
    background-color: var(--bg-primary);
    color: var(--accent-deep);
    border-color: var(--white);
}

/* Inicio: fondo desktop (móvil usa imagen distinta vía media query) */
.hero.hero--home {
    background-image: url("../images/pages/imagen1.jpeg");
}

.section {
    padding: 4rem 0;
}

/* Variante compacta para secciones con poco contenido (ej. cabecera de shop) */
.section.section-compact {
    padding: 1.8rem 0 0.75rem;
}

.section-compact + .section {
    padding-top: 1.25rem;
}

/* Cabecera del blog: título y subtítulo más pequeños (legacy) */
.blog-header-section {
    padding: 0.75rem 0;
}

.blog-header .section-title {
    font-size: 1.35rem;
    margin-bottom: 0.2rem;
}

.blog-header .section-subtitle {
    font-size: 0.9rem;
    margin: 0 auto;
    max-width: 36rem;
}

/* ——— Blog listing: hero + fichas (alineado al index) ——— */

.section-blog-hero {
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 1.75rem 0 2rem;
}

.section-blog-hero--compact {
    padding: 0.85rem 0 0.95rem;
}

.section-blog-hero--compact .blog-hero-title {
    font-family: var(--font-body);
    font-size: clamp(1.25rem, 2.4vw, 1.55rem);
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.02em;
}

.section-blog-hero--compact::before {
    animation-duration: 40s;
}

.blog-hero-eyebrow {
    margin: 0 0 0.35rem;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(199, 210, 254, 0.9);
}

.section-blog-hero::before {
    content: "";
    position: absolute;
    inset: -10%;
    z-index: 0;
    background: url("../images/pages/imagen1.jpeg") center center / cover no-repeat;
    animation: about-heading-bg-kenburns 32s ease-in-out infinite alternate;
    will-change: transform;
}

.section-blog-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        125deg,
        rgba(23, 19, 57, 0.92) 0%,
        rgba(32, 26, 75, 0.88) 45%,
        rgba(23, 53, 93, 0.9) 100%
    );
}

.blog-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.blog-hero-title {
    font-family: var(--font-body);
    font-size: clamp(1.55rem, 3.2vw, 2.15rem);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 0.55rem;
    color: #ffffff !important;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.blog-hero-lead {
    margin: 0 auto;
    max-width: 40rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(240, 246, 255, 0.92) !important;
    font-family: var(--font-body);
    font-weight: 400;
}

.section-blog-articles {
    padding-top: 0.75rem;
    padding-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.blog-index-wrap {
    max-width: 960px;
    margin: 0 auto;
}

.blog-index-wrap .blog-list {
    margin: 0;
    font-size: inherit;
}

.blog-index-wrap .blog-list > li {
    margin-bottom: 0;
}

/* Barra de búsqueda en una línea */
.blog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.5rem;
    margin: 0 0 0.85rem;
    padding: 0.35rem 0.45rem;
    border: 1px solid rgba(59, 42, 122, 0.12);
    border-radius: 0.5rem;
    background: #fff;
}

.blog-toolbar__search {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex: 1 1 12rem;
    min-width: 0;
}

.blog-toolbar__icon {
    flex-shrink: 0;
    color: rgba(59, 42, 122, 0.38);
}

.blog-toolbar__search input {
    width: 100%;
    min-width: 0;
    border: 0;
    padding: 0.3rem 0;
    font-family: var(--font-body);
    font-size: 0.8rem;
    background: transparent;
    color: var(--text-primary);
}

.blog-toolbar__search input:focus {
    outline: none;
}

.blog-toolbar__search input::placeholder {
    color: rgba(17, 24, 39, 0.4);
}

.blog-toolbar__category select {
    max-width: 11rem;
    padding: 0.28rem 1.5rem 0.28rem 0.45rem;
    border: 1px solid rgba(59, 42, 122, 0.14);
    border-radius: 0.35rem;
    font-family: var(--font-body);
    font-size: 0.76rem;
    background: #fff;
    color: var(--text-primary);
    cursor: pointer;
}

.blog-toolbar__btn {
    padding: 0.28rem 0.65rem;
    border: 0;
    border-radius: 0.35rem;
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent-cta);
    cursor: pointer;
}

.blog-toolbar__btn:hover {
    filter: brightness(1.06);
}

.blog-toolbar__clear {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(99, 102, 241, 0.85);
    text-decoration: none;
    white-space: nowrap;
}

.blog-toolbar__clear:hover {
    text-decoration: underline;
}

/* Listado: tarjetas medianas (imagen arriba, título y fecha abajo) */
.blog-index-wrap .blog-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.15rem;
}

.blog-index-wrap .blog-list > li {
    min-width: 0;
}

.blog-index-wrap .blog-list-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    border-radius: 0.65rem;
    border: 1px solid rgba(59, 42, 122, 0.1);
    background: #fff;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-index-wrap .blog-list-item:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.blog-index-wrap .blog-list-item__thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 140px;
    flex-shrink: 0;
    background-color: #1a1442;
    background-image: var(--blog-thumb);
    background-size: cover;
    background-position: center;
}

.blog-index-wrap .blog-list-item__text {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
    flex: 1 1 auto;
    padding: 0.8rem 0.95rem 0.9rem;
}

.blog-index-wrap .blog-list-item__title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    color: #171339;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-transform: none;
    letter-spacing: -0.01em;
}

.blog-index-wrap .blog-list-item:hover .blog-list-item__title {
    color: var(--accent-cta);
}

.blog-index-wrap .blog-list-item__date {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(59, 42, 122, 0.58);
}

@media (min-width: 1100px) {
    .blog-index-wrap .blog-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.blog-index-wrap .blog-pagination {
    margin-top: 1.25rem;
    justify-content: flex-start;
}

.blog-section-head {
    margin-bottom: 1.65rem;
}

.blog-section-head .section-title {
    /* Misma tipografía que el index: Inter en .section-title */
    font-family: var(--font-body);
    font-size: clamp(1.75rem, 2.2vw, 2.1rem);
    font-weight: 500;
    margin-bottom: 0;
}

.blog-section-head--centered {
    text-align: center;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}

.blog-section-head--centered .section-title {
    text-align: center;
}

/* Panel de filtros del listado (blog) — alineado con tarjetas y paleta del sitio */
.blog-filters-panel {
    max-width: 960px;
    margin: 0 auto 1.75rem;
    padding: 1.2rem 1.35rem 1.35rem;
    border-radius: 1rem;
    border: 1px solid rgba(59, 42, 122, 0.16);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 244, 255, 0.94) 100%);
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 14px 36px rgba(59, 42, 122, 0.08);
}

.blog-filters-form__grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 1rem 1.15rem;
    align-items: end;
}

.blog-filters-field {
    display: block;
    min-width: 0;
}

.blog-filters-field__label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-sage);
    margin-bottom: 0.38rem;
    opacity: 0.92;
}

.blog-filters-field__input {
    width: 100%;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(59, 42, 122, 0.22);
    border-radius: 0.65rem;
    font-size: 0.9rem;
    font-family: var(--font-body);
    color: var(--text-primary);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-filters-field__input::placeholder {
    color: rgba(17, 24, 39, 0.42);
}

.blog-filters-field__input:hover {
    border-color: rgba(59, 42, 122, 0.32);
}

.blog-filters-field__input:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.65);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.14);
}

.blog-filters-form__submit-wrap {
    display: flex;
    align-items: flex-end;
    padding-bottom: 0.02rem;
}

.blog-filters-form__submit {
    min-width: 7.75rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
    background: linear-gradient(135deg, var(--accent-cta) 0%, var(--accent-cta-alt) 100%);
    border: none;
    color: #fff;
    box-shadow: 0 4px 14px rgba(39, 28, 87, 0.28);
}

.blog-filters-form__submit:hover {
    filter: brightness(1.06);
    box-shadow: 0 6px 18px rgba(39, 28, 87, 0.35);
}

/* Nube de etiquetas */
.blog-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.6rem;
    justify-content: center;
    max-width: 960px;
    margin: 0 auto 1.85rem;
    padding: 0 0.25rem;
}

.blog-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-deep);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(59, 42, 122, 0.18);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.blog-tag-pill:hover {
    border-color: rgba(99, 102, 241, 0.45);
    background: rgba(241, 244, 255, 0.98);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(59, 42, 122, 0.12);
    color: var(--accent-deep);
}

.blog-tag-pill__hash {
    opacity: 0.55;
    font-weight: 600;
}

.blog-tag-pill__count {
    font-size: 0.72rem;
    font-weight: 700;
    margin-left: 0.15rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: rgba(59, 42, 122, 0.1);
    color: var(--accent-deep);
}

.blog-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: center;
    align-items: center;
    margin-top: 1.85rem;
}

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

    .blog-filters-form__submit-wrap {
        grid-column: 1 / -1;
        justify-content: stretch;
    }

    .blog-filters-form__submit {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 560px) {
    .blog-filters-form__grid {
        grid-template-columns: 1fr;
    }

    .blog-filters-panel {
        padding: 1rem 1rem 1.15rem;
    }
}

.blog-empty {
    font-size: 1rem;
    color: rgba(17, 24, 39, 0.75);
    margin: 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem 1.25rem;
}

@media (max-width: 640px) {
    .blog-index-wrap .blog-list {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .blog-index-wrap .blog-list-item__thumb {
        min-height: 160px;
    }

    .blog-toolbar__category select {
        max-width: 100%;
        width: 100%;
    }
}

.blog-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #fff;
    border-radius: 0.75rem;
    border: 1px solid rgba(59, 42, 122, 0.1);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.09);
    border-color: rgba(111, 95, 178, 0.28);
}

.blog-card-media-link {
    display: block;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.blog-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 0;
    background-color: #1a1442;
    background-image: var(--blog-card-bg);
    background-size: cover;
    background-position: center center;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-media {
    transform: scale(1.03);
}

.blog-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(15, 15, 35, 0.55) 100%);
    pointer-events: none;
}

.blog-card-category-pill {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 2;
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.98);
    background: rgba(23, 19, 57, 0.68);
    backdrop-filter: blur(6px);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    max-width: calc(100% - 1rem);
    text-align: left;
    line-height: 1.2;
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    padding: 0.85rem 0.9rem 0.75rem;
    gap: 0.35rem;
}

.blog-card-title {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.32;
    margin: 0;
}

.blog-index-main .blog-card-title {
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-transform: none;
}

.blog-index-main .blog-card-body {
    padding: 0.75rem 0.85rem 0.7rem;
    gap: 0.3rem;
}

.blog-index-main .blog-card-excerpt {
    font-size: 0.8rem;
    line-height: 1.48;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    color: rgba(17, 24, 39, 0.72);
}

.blog-card-reading {
    font-weight: 500;
}

.blog-card-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-cta);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.15s ease, gap 0.15s ease;
}

.blog-card-read-more span {
    transition: transform 0.15s ease;
}

.blog-card-read-more:hover {
    color: var(--accent-cta-alt);
}

.blog-card-read-more:hover span {
    transform: translateX(2px);
}

.blog-card-title a {
    color: #171339;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: var(--accent-cta);
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.55rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: rgba(17, 24, 39, 0.5);
    letter-spacing: 0.01em;
}

.blog-card-meta > *:not(:last-child)::after {
    content: "·";
    margin-left: 0.4rem;
    opacity: 0.4;
}

.blog-card-date {
    font-weight: 500;
    color: rgba(59, 42, 122, 0.75);
}

.blog-card-views {
    font-weight: 500;
}

.blog-card-excerpt {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.58;
    color: rgba(17, 24, 39, 0.82);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 0 1 auto;
    min-height: 0;
}

.blog-card-cta {
    margin-top: 0.15rem;
    display: flex;
    justify-content: flex-start;
}

.blog-card-cta .btn-primary {
    min-width: 10rem;
}

/* Categorías del blog */
.section-blog-categories {
    padding-top: 2rem;
    padding-bottom: 2.25rem;
}

.blog-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.blog-category-card {
    position: relative;
    padding: 1.25rem 1.2rem 1.35rem;
    border-radius: 0.95rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(245, 247, 255, 0.92));
    border: 1px solid rgba(59, 42, 122, 0.12);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    overflow: hidden;
}

.blog-category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 0.95rem 0.95rem 0 0;
}

.blog-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.blog-category-card h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.45rem;
    color: #1a1442;
}

.blog-category-card p {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.52;
    color: rgba(17, 24, 39, 0.78);
}

.blog-category-card--shamanic::before {
    background: linear-gradient(90deg, #3b2a7a, #6f5fb2);
}

.blog-category-card--trauma::before {
    background: linear-gradient(90deg, #5b21b6, #a78bfa);
}

.blog-category-card--ceremonies::before {
    background: linear-gradient(90deg, #1e3a5f, #4f8bc9);
}

.blog-category-card--somatic::before {
    background: linear-gradient(90deg, #14532d, #4ade80);
}

.blog-category-card--relationships::before {
    background: linear-gradient(90deg, #9d174d, #f472b6);
}

.section-blog-meditations {
    padding-top: 2rem;
    padding-bottom: 2.25rem;
}

.blog-meditations-lead {
    margin-top: 0.35rem;
    font-family: var(--font-body);
}

.blog-meditations-card {
    align-self: start;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 255, 0.9));
    border: 1px solid rgba(59, 42, 122, 0.12);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .blog-index-main .blog-grid {
        grid-template-columns: 1fr;
    }

    .section-blog-hero,
    .section-blog-hero--compact {
        padding: 0.75rem 0 0.85rem;
    }

    .section-blog-articles {
        padding-top: 0.65rem;
        padding-bottom: 1.5rem;
    }

    .blog-hero-title {
        font-size: clamp(1.15rem, 5vw, 1.35rem);
    }

    .blog-pagination {
        justify-content: center;
        gap: 0.35rem;
    }

    .blog-pagination .btn-small {
        min-width: 2.4rem;
        padding: 0.45rem 0.5rem;
    }

    .blog-categories-grid {
        grid-template-columns: 1fr;
    }

    .section-blog-categories,
    .section-blog-meditations {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .section-blog-meditations .two-column {
        gap: 1.25rem;
    }

    .section-blog-hero .container,
    .section-blog-articles .container,
    .section-blog-categories .container,
    .section-blog-meditations .container,
    .section-blog-post .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Página del artículo: menos espaciado arriba y cabecera más elegante */
.section-blog-post {
    padding: 1.25rem 0 4rem;
}

.blog-post-header {
    margin-bottom: 1.25rem;
}

.blog-post-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.blog-post-back-link {
    font-size: 0.9rem;
    color: var(--accent-cta);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.blog-post-back-link:hover {
    color: var(--accent-deep);
    text-decoration: underline;
}

.blog-post-meta-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.blog-post-date {
    font-size: 0.9rem;
    color: rgba(44, 26, 14, 0.7);
}

.blog-post-category {
    font-size: 0.85rem;
    color: rgba(44, 26, 14, 0.6);
    margin-top: 0.2rem;
}

.blog-post-container .blog-post-title {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    color: var(--text-primary);
    text-align: center;
}

.section-alt {
    background-color: var(--bg-section);
}

/* Index — About Alexander: el bloque texto+foto centrado como unidad (evita sensación de desplazado a la izquierda) */
.section-home-about .home-about-row {
    max-width: min(960px, 100%);
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, auto);
    /* gap explícito: la regla genérica .two-column va después en el archivo y podría pisar column-gap */
    gap: 2rem clamp(1.5rem, 4vw, 2.75rem);
}

.section-home-about .home-about-row > div:last-child {
    justify-self: center;
}

@media (max-width: 768px) {
    .section-home-about .home-about-row {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .section-home-about .home-about-row .section-title,
    .section-home-about .home-about-row .section-subtitle {
        text-align: center;
    }

    .section-home-about .home-about-row .section-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .section-home-about .home-about-row > div:first-child .btn {
        margin-left: auto;
        margin-right: auto;
    }
}

.section-title {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 2rem;
    text-align: left;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    text-align: left;
    max-width: 40rem;
    margin: 0 0 2.5rem;
    color: rgba(31, 36, 48, 0.78);
}

.section-subtitle.small {
    font-size: 0.9rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.75rem;
}

.card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

.card h3 {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.2rem;
    margin-top: 0;
    text-align: left;
}

.card p,
.card-meta {
    text-align: left;
}

/* Centrar botones en fichas (excepto layouts especiales como shop) */
.card > .btn,
.card > p > .btn,
.card > .centered-cta > .btn {
    display: inline-flex;
    margin-left: auto;
    margin-right: auto;
}

/* Home - Journey cards: look more modern and dark */
.journey-cards-grid .card {
    background:
        linear-gradient(145deg, rgba(22, 18, 44, 0.96), rgba(27, 38, 76, 0.92));
    border: 1px solid rgba(111, 95, 178, 0.3);
    box-shadow: 0 16px 34px rgba(9, 12, 26, 0.38);
    color: rgba(243, 246, 255, 0.95);
}

.journey-cards-grid .card h3 {
    color: #f6f8ff;
    font-size: 1.15rem;
    margin-bottom: 0.55rem;
}

.journey-cards-grid .card p {
    color: rgba(231, 237, 255, 0.86);
}

.journey-cards-grid .card .btn-outline {
    border-color: rgba(221, 228, 255, 0.7);
    color: rgba(243, 246, 255, 0.96);
    background: rgba(255, 255, 255, 0.04);
}

.journey-cards-grid .card .btn-outline:hover {
    background: linear-gradient(135deg, var(--accent-deep), var(--accent-cta), var(--accent-cta-alt));
    border-color: transparent;
    color: #ffffff;
}

.card-image {
    padding: 0;
    overflow: hidden;
}

.card-image img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 1rem;
}

.about-photo-wrap {
    padding: 0;
    overflow: hidden;
    max-width: 300px;
    align-self: start;
}

.about-photo-wrap .about-photo {
    display: block;
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
    object-position: top center;
    border-radius: 1rem;
}

.about-photo-elevated {
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.35);
    transform: translateY(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-photo-elevated:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 65px rgba(15, 23, 42, 0.45);
}

.about-extra {
    max-width: 760px;
    margin: 0 auto;
}

.about-main p,
.about-extra p {
    color: rgba(17, 24, 39, 0.9);
    line-height: 1.72;
}

.about-main p + p,
.about-extra p + p {
    margin-top: 0.8rem;
}

.about-photo-below {
    max-width: 520px;
    margin: 3rem auto 0;
}

.about-video-wrap {
    margin-top: 1.2rem;
    position: relative;
    width: 100%;
    max-width: none;
}

.about-video-wrap::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 1.2rem;
    background: linear-gradient(135deg, rgba(59, 42, 122, 0.35), rgba(111, 95, 178, 0.2));
    filter: blur(12px);
    opacity: 0.55;
    z-index: 0;
    pointer-events: none;
}

.about-video-inner {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.28);
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.about-video-inner iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.about-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 1rem 1.2rem;
    align-items: stretch;
}

.about-credentials-card {
    margin-top: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0.15rem 0 0.15rem 0.65rem;
    align-self: stretch;
    display: flex;
    align-items: center;
    animation: about-list-fade-in 0.75s ease-out both;
}

.about-credentials-card .about-bio-list {
    border-left: 2px solid rgba(59, 42, 122, 0.22);
    padding-left: 0.55rem;
}

.about-credentials-card .about-bio-list li {
    padding: 0.24rem 0 0.24rem 1.05rem;
    font-size: 0.79rem;
    line-height: 1.38;
    color: rgba(17, 24, 39, 0.92);
    letter-spacing: 0.005em;
    transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.about-credentials-card .about-bio-list li + li {
    border-top: 1px dashed rgba(59, 42, 122, 0.14);
}

.about-credentials-card .about-bio-list li:hover {
    transform: translateX(4px);
    color: rgba(35, 25, 66, 0.98);
    border-color: rgba(59, 42, 122, 0.24);
}

.about-credentials-card .about-bio-list li::before {
    left: 0.18rem;
    top: 0.72rem;
    width: 5px;
    height: 5px;
    background: linear-gradient(135deg, #2f2363, #6f5fb2);
    transition: transform 0.2s ease, background 0.2s ease;
}

.about-credentials-card .about-bio-list li:hover::before {
    transform: scale(1.2);
    background: linear-gradient(135deg, #231942, #8f7ad9);
}

/* About page – layout & animations */

.section-about-hero {
    position: relative;
    overflow: hidden;
    padding-top: 0;
    background: radial-gradient(circle at 0 0, rgba(59, 42, 122, 0.12), transparent 52%),
                radial-gradient(circle at 100% 0, rgba(111, 95, 178, 0.12), transparent 52%),
                linear-gradient(180deg, #f9fbff 0%, #f5f7ff 100%);
}

.section-about-hero::before,
.section-about-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
}

.section-about-hero::before {
    width: 420px;
    height: 420px;
    top: -210px;
    right: -130px;
    background: radial-gradient(circle, rgba(111, 95, 178, 0.18), rgba(111, 95, 178, 0));
}

.section-about-hero::after {
    width: 360px;
    height: 360px;
    bottom: -160px;
    left: -120px;
    background: radial-gradient(circle, rgba(59, 42, 122, 0.12), rgba(59, 42, 122, 0));
}

.about-main-layout {
    align-items: center;
}

/* About: ancho contenido alineado al resto del sitio (~1200px) */
.section-about-hero > .container,
.about-wide-container {
    max-width: min(100%, 1200px);
    padding-left: clamp(0.9rem, 2vw, 1.5rem);
    padding-right: clamp(0.9rem, 2vw, 1.5rem);
}

.about-main {
    animation: fade-in-up 0.7s ease-out both;
    position: relative;
    z-index: 1;
}

.about-reveal {
    opacity: 0;
    transform: translateY(16px);
    animation: fade-in-up 0.75s ease-out forwards;
}

.about-reveal:nth-of-type(1) { animation-delay: 0.05s; }
.about-reveal:nth-of-type(2) { animation-delay: 0.18s; }
.about-reveal:nth-of-type(3) { animation-delay: 0.3s; }
.about-reveal:nth-of-type(4) { animation-delay: 0.42s; }

.about-story-card {
    margin-top: 1.8rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.84));
    border: 1px solid rgba(59, 42, 122, 0.16);
    border-radius: 1.05rem;
    padding: 1.6rem 1.55rem 1.45rem;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(3px);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.about-story-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(59, 42, 122, 0.75), rgba(111, 95, 178, 0.55));
}

.about-story-main,
.about-story-side,
.about-story-card p,
.about-story-card li {
    font-family: inherit;
}

.about-story-main p {
    margin-top: 0;
}

.about-story-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
    border-color: rgba(59, 42, 122, 0.26);
}

.about-intro {
    font-size: 1.04rem;
    font-weight: 500;
    line-height: 1.78;
}

.about-heading {
    margin-bottom: 1.2rem;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 1.15rem 2rem 1.05rem;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 8px 18px rgba(9, 12, 26, 0.24);
    background: transparent;
}

/* Fondo del título About: imagen panorámica (mejor para cover que el retrato perfil.png) */
.about-heading::before {
    content: "";
    position: absolute;
    inset: -12%;
    z-index: 0;
    background-image: url("../images/pages/imagen1.jpeg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    animation: about-heading-bg-kenburns-soft 28s ease-in-out infinite alternate;
    will-change: transform;
}

/* Velo para contraste: un poco más transparente para que se note mejor la foto */
.about-heading::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        135deg,
        rgba(23, 19, 57, 0.78) 0%,
        rgba(32, 26, 75, 0.72) 45%,
        rgba(23, 53, 93, 0.7) 100%
    );
}

.about-heading > * {
    position: relative;
    z-index: 2;
}

.about-heading .section-title {
    text-align: center;
    margin-bottom: 0.55rem;
    letter-spacing: 0.01em;
    font-size: clamp(2rem, 2.4vw, 2.45rem);
    line-height: 1.08;
    font-weight: 700;
    text-wrap: balance;
    color: #ffffff !important;
    background: none;
}

.about-heading .about-hero-tagline {
    text-align: center;
    margin: 0 0 0.2rem;
    font-size: clamp(0.82rem, 1.1vw, 0.92rem);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.96) !important;
}

.about-heading .about-hero-tagline2 {
    text-align: center;
    margin: 0 0 0.75rem;
    font-size: clamp(1.1rem, 1.65vw, 1.28rem);
    font-weight: 600;
    line-height: 1.25;
    color: rgba(240, 246, 255, 0.98) !important;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.about-heading .about-hero-intro {
    text-align: center;
    margin: 0 auto 1.1rem;
    max-width: 42rem;
    font-size: 0.92rem;
    line-height: 1.68;
    font-weight: 400;
    color: rgba(233, 241, 255, 0.93) !important;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.about-heading-divider {
    width: 110px;
    height: 2px;
    margin: 0.65rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(223, 233, 255, 0.95), rgba(255, 255, 255, 0));
    box-shadow: none;
}

.about-heading .section-subtitle {
    text-align: center;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(240, 246, 255, 0.95) !important;
    text-wrap: balance;
}

.about-guiding {
    text-align: center;
    margin-top: 0.35rem;
    margin-bottom: 0;
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 1;
    color: rgba(233, 241, 255, 0.94) !important;
}

/* Evita que reglas generales de párrafo apaguen el texto dentro del bloque oscuro */
.about-heading p {
    color: rgba(240, 246, 255, 0.95) !important;
}

.about-heading .section-subtitle,
.about-guiding {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.about-photo-elevated {
    animation: fade-in-up 0.7s ease-out both;
    animation-delay: 0.12s;
    border: 1px solid rgba(59, 42, 122, 0.18);
}

.about-extra {
    animation: fade-in-up 0.7s ease-out both;
    display: grid;
    gap: 1.25rem;
    align-items: stretch;
    max-width: none;
    width: 100%;
    margin: 0;
}

.about-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 0.9fr);
    gap: 1.5rem;
    align-items: start;
}

.about-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.about-media-main {
    grid-column: 1 / -1;
    margin: 0;
    max-width: 100%;
    overflow: hidden;
}

.about-media-main .about-photo {
    transition: transform 0.35s ease;
}

.about-media-main:hover .about-photo {
    transform: scale(1.04);
}

.about-media-tile {
    border-radius: 0.9rem;
    overflow: hidden;
    min-height: 132px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(59, 42, 122, 0.14);
    background: #fff;
}

.about-media-tile img {
    width: 100%;
    height: 100%;
    min-height: 132px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.about-media-tile:hover img {
    transform: scale(1.04);
}

/* About longform (post video): segmentos, carruseles, fichas */
.about-longform-wrap {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1.75rem;
    width: 100%;
}

.about-lf-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 1.75rem 2rem;
    align-items: start;
}

/* Fila superior: historia + visión + galería lateral */
.about-lf-grid--intro {
    width: 100%;
}

/* Bloque inferior: ancho completo del contenedor (alineado con vídeo / cabecera) */
.about-lf-continuation {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(59, 42, 122, 0.14);
    box-sizing: border-box;
}

.about-lf-main {
    min-width: 0;
}

.about-lf-aside {
    position: sticky;
    top: 5.25rem;
}

.about-media-grid--sidebar {
    position: relative;
}

.about-media-grid--sidebar .about-media-main {
    overflow: visible;
}

/* Segmentos */
.about-lf-segment {
    margin-bottom: 2rem;
    padding: 1.35rem 1.15rem 1.5rem;
    border-radius: 1.05rem;
    border: 1px solid rgba(59, 42, 122, 0.18);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.72), rgba(231, 234, 251, 0.55));
    box-shadow: 0 12px 36px rgba(21, 15, 52, 0.08);
    transition: box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, transform 0.35s ease;
}

.about-lf-segment:hover {
    box-shadow: 0 18px 48px rgba(21, 15, 52, 0.12);
    border-color: rgba(59, 42, 122, 0.26);
}

.about-lf-segment--story {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(225, 230, 252, 0.65));
    border-color: rgba(59, 42, 122, 0.14);
}

/* Filosofía: acento lateral + chips más definidos */
.about-lf-segment--phil {
    border-left: 4px solid rgba(111, 95, 178, 0.55);
    background: linear-gradient(90deg, rgba(59, 42, 122, 0.05), rgba(255, 255, 255, 0.78) 38%);
    border-color: rgba(59, 42, 122, 0.16);
}

/* Filosofía central: fichas internas cuadradas, títulos destacados */
.about-lf-segment--phil .about-lf-dimensions {
    gap: 0.7rem;
}

.about-lf-segment--phil .about-lf-dimensions li {
    padding: 0.85rem 1rem;
    border-radius: 0.4rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(111, 95, 178, 0.18);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 6px 18px rgba(59, 42, 122, 0.07);
    font-size: 0.92rem;
    line-height: 1.52;
    color: rgba(35, 25, 66, 0.88);
}

.about-lf-segment--phil .about-lf-dimensions li strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 750;
    letter-spacing: 0.03em;
    color: rgba(59, 42, 122, 0.98);
    margin-bottom: 0.4rem;
    line-height: 1.3;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(111, 95, 178, 0.2);
}

.about-lf-segment--band {
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.about-lf-segment--band:hover {
    box-shadow: none;
}

.about-lf-segment--flush {
    padding-left: 0;
    padding-right: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.about-lf-segment--flush:hover {
    box-shadow: none;
}

/* Cribado: bloque claro tipo “papel”, fichas blancas */
.about-lf-segment--screen-soft {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.97), rgba(242, 244, 252, 0.92));
    border: 1px solid rgba(59, 42, 122, 0.12);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.about-lf-segment--screen-soft:hover {
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.09);
    border-color: rgba(111, 95, 178, 0.22);
}

/* Especialidades: bloque oscuro + rejilla de fichas claras */
.about-lf-segment--surface-dark {
    padding: 1.35rem 1.15rem 1.5rem;
    border-radius: 1.05rem;
    border: 1px solid rgba(111, 95, 178, 0.35);
    background: linear-gradient(
        155deg,
        rgba(16, 12, 38, 0.98) 0%,
        rgba(35, 25, 66, 0.95) 45%,
        rgba(22, 38, 72, 0.93) 100%
    );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 18px 44px rgba(15, 23, 42, 0.38);
}

.about-lf-segment--surface-dark .about-lf-segment-badge {
    color: rgba(220, 224, 255, 0.92);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-lf-segment--surface-dark .about-lf-segment-head .about-lf-h2--inline {
    color: rgba(255, 255, 255, 0.97);
}

.about-lf-segment--surface-dark:hover {
    border-color: rgba(143, 122, 217, 0.42);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 22px 52px rgba(0, 0, 0, 0.35);
}

/* Enfoque: caja clara “escarcha” (el highlight interior sigue oscuro) */
.about-lf-segment--surface-frost {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.94), rgba(235, 238, 255, 0.82));
    border-color: rgba(180, 165, 255, 0.28);
    box-shadow: 0 12px 32px rgba(59, 42, 122, 0.08);
}

/* Transformación: niebla azul clara + fichas oscuras */
.about-lf-segment--surface-mist {
    padding: 1.35rem 1.15rem 1.5rem;
    border-radius: 1.05rem;
    border: 1px solid rgba(120, 140, 190, 0.22);
    background: linear-gradient(
        168deg,
        rgba(236, 244, 255, 0.96) 0%,
        rgba(218, 230, 248, 0.9) 55%,
        rgba(228, 236, 252, 0.92) 100%
    );
    box-shadow: 0 10px 32px rgba(45, 63, 127, 0.1);
}

.about-lf-segment--surface-mist .about-lf-segment-head .about-lf-h2--inline {
    color: rgba(18, 24, 52, 0.96);
}

.about-lf-segment--surface-mist .about-lf-closing-line {
    color: rgba(35, 50, 95, 0.92);
}

/* Valores: lavanda suave + fichas blancas con acento */
.about-lf-segment--surface-lilac {
    padding: 1.35rem 1.15rem 1.5rem;
    border-radius: 1.05rem;
    border: 1px solid rgba(111, 95, 178, 0.2);
    background: linear-gradient(
        160deg,
        rgba(250, 248, 255, 0.98) 0%,
        rgba(232, 228, 252, 0.88) 100%
    );
    box-shadow: 0 8px 28px rgba(59, 42, 122, 0.07);
}

/* Principios: noche + fichas blancas estilo “carnet” */
.about-lf-segment--surface-midnight {
    padding: 1.35rem 1.15rem 1.5rem;
    border-radius: 1.05rem;
    border: 1px solid rgba(111, 95, 178, 0.38);
    background: linear-gradient(
        145deg,
        rgba(10, 8, 28, 0.98) 0%,
        rgba(28, 22, 52, 0.96) 45%,
        rgba(12, 32, 58, 0.95) 100%
    );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 16px 40px rgba(0, 0, 0, 0.32);
}

.about-lf-segment--surface-midnight .about-lf-segment-badge {
    color: rgba(220, 224, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-lf-segment--surface-midnight .about-lf-segment-head .about-lf-h2--inline,
.about-lf-segment--surface-midnight .about-lf-intro-block {
    color: rgba(245, 246, 255, 0.94);
}

.about-lf-segment--surface-midnight .about-lf-subh {
    color: rgba(200, 210, 255, 0.9);
}

.about-lf-segment--surface-midnight:hover {
    border-color: rgba(143, 122, 217, 0.4);
}

/* “In all”: franja oscura distinta + citas en tarjetas claras */
.about-lf-segment--surface-ink {
    padding: 1.35rem 1.15rem 1.5rem;
    border-radius: 1.05rem;
    border: 1px solid rgba(45, 63, 127, 0.45);
    background: linear-gradient(
        165deg,
        rgba(12, 20, 48, 0.97) 0%,
        rgba(25, 22, 55, 0.95) 50%,
        rgba(18, 40, 72, 0.94) 100%
    );
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.about-lf-segment--surface-ink .about-lf-h2,
.about-lf-segment--surface-ink .about-lf-center-text {
    color: rgba(255, 255, 255, 0.96);
}

.about-lf-segment--surface-ink:hover {
    border-color: rgba(100, 130, 200, 0.45);
}

/* Comunidad: tono cálido */
.about-lf-segment--community-warm {
    background: linear-gradient(
        160deg,
        rgba(255, 252, 248, 0.96) 0%,
        rgba(245, 238, 252, 0.82) 100%
    );
    border-color: rgba(180, 150, 140, 0.22);
    box-shadow: 0 10px 30px rgba(90, 60, 80, 0.06);
}

.about-lf-segment--cta {
    padding: 1.5rem 1.35rem 1.6rem;
    border: none;
    background: linear-gradient(135deg, #231942 0%, #2d2654 48%, #203d6b 100%);
    color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 48px rgba(23, 19, 57, 0.28);
}

.about-lf-segment--cta:hover {
    box-shadow: 0 24px 52px rgba(23, 19, 57, 0.34);
}

.about-lf-segment--last {
    margin-bottom: 0;
}

.about-lf-segment-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(59, 42, 122, 0.75);
    margin-bottom: 0.55rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(59, 42, 122, 0.1);
}

.about-lf-segment-badge--light {
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.14);
}

.about-lf-segment-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
    padding: 0 0.15rem;
}

.about-lf-segment-head .about-lf-h2--inline {
    margin-bottom: 0;
}

/* Columnas */
.about-lf-split {
    display: grid;
    gap: 1.15rem 1.35rem;
}

.about-lf-split--2 {
    grid-template-columns: 1fr 1fr;
}

.about-lf-split--phil {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
}

.about-lf-split--screen {
    grid-template-columns: 1fr 1fr;
    margin-top: 1rem;
}

.about-lf-panel {
    min-width: 0;
}

.about-lf-panel--raised {
    padding: 1.15rem 1.2rem 1.25rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(59, 42, 122, 0.14);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(239, 244, 255, 0.9));
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.about-lf-panel--soft {
    padding: 1.1rem 1.15rem 1.2rem;
    border-radius: 0.95rem;
    background: rgba(59, 42, 122, 0.05);
    border: 1px solid rgba(59, 42, 122, 0.1);
}

/* Banda visión */
.about-lf-band {
    padding: 1.5rem 1.4rem 1.55rem;
    border-radius: 1.05rem;
    background: linear-gradient(125deg, rgba(59, 42, 122, 0.12), rgba(111, 95, 178, 0.14));
    border: 1px solid rgba(59, 42, 122, 0.18);
}

.about-lf-band-grid {
    display: grid;
    gap: 0.65rem;
}

.about-lf-band-lead {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.55;
    color: rgba(23, 19, 57, 0.94);
}

.about-lf-band-sub {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(55, 65, 81, 0.9);
}

/* Highlight enfoque */
.about-lf-highlight {
    padding: 1.2rem 1.25rem 1.3rem;
    border-radius: 1rem;
    border: 1px solid rgba(111, 95, 178, 0.28);
    background: linear-gradient(145deg, rgba(26, 20, 56, 0.94) 0%, rgba(35, 25, 66, 0.92) 50%, rgba(30, 45, 82, 0.9) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 14px 36px rgba(15, 23, 42, 0.22);
    transition: box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-lf-highlight:hover {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 20px 44px rgba(21, 15, 52, 0.35);
    transform: translateY(-2px);
}

.about-lf-highlight .about-lf-h2,
.about-lf-highlight .about-lf-formula {
    color: rgba(255, 255, 255, 0.96);
}

.about-lf-highlight .about-lf-formula {
    color: rgba(196, 210, 255, 0.95);
}

.about-lf-highlight p {
    color: rgba(226, 232, 255, 0.88) !important;
}

/* Rejillas de fichas (sin scroll horizontal; todo visible) */
.about-lf-fiche-grid {
    display: grid;
    gap: 1rem;
    margin-top: 0.35rem;
    width: 100%;
}

.about-lf-fiche-grid--spec {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Transformación: siempre 3 columnas en desktop (3+3), fichas más anchas */
.about-lf-fiche-grid--trans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-lf-fiche-grid--wwm-expect {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (min-width: 541px) {
    .about-lf-fiche-grid--wwm-expect .wwm-expect-fiche--wide {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

/* Work With Me — Inter en toda la página (igual que .section-title del sitio) */
.page-work-with-me {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.62;
    color: rgba(17, 24, 39, 0.88);
    -webkit-font-smoothing: antialiased;
}

.page-work-with-me h1,
.page-work-with-me h2,
.page-work-with-me h3,
.page-work-with-me h4,
.page-work-with-me p,
.page-work-with-me li,
.page-work-with-me span,
.page-work-with-me a,
.page-work-with-me .btn,
.page-work-with-me label,
.page-work-with-me blockquote {
    font-family: inherit;
}

.page-work-with-me .wwm-display-title,
.page-work-with-me .wwm-block-title {
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: rgba(23, 19, 57, 0.96);
}

.page-work-with-me h3,
.page-work-with-me h4 {
    font-weight: 600;
    color: rgba(23, 19, 57, 0.92);
}

.page-work-with-me .section {
    padding: 2.1rem 0;
}

.page-work-with-me .section + .section {
    border-top: 1px solid rgba(59, 42, 122, 0.08);
}

/* ——— Hero de página (título principal) ——— */
.page-work-with-me .section-wwm-hero {
    position: relative;
    overflow: hidden;
    padding: 1.65rem 0 1.75rem;
    background: linear-gradient(
        128deg,
        var(--accent-deep) 0%,
        var(--accent-cta) 50%,
        var(--accent-cta-alt) 100%
    );
    border-top: 0;
}

.page-work-with-me .section-wwm-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 100% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 50% 45% at 0% 100%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.page-work-with-me .section-wwm-hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-work-with-me .section-wwm-hero + .section {
    border-top: 0;
}

.page-work-with-me .wwm-hero-band {
    max-width: 42rem;
    margin-inline: auto;
}

.page-work-with-me .wwm-hero-title {
    margin: 0 0 0.65rem;
    font-family: var(--font-body);
    font-size: clamp(1.65rem, 2.6vw, 2.1rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
    text-wrap: balance;
}

.page-work-with-me .wwm-hero-lead {
    margin: 0 auto;
    max-width: 38rem;
    font-size: 0.94rem;
    font-weight: 400;
    line-height: 1.58;
    color: rgba(255, 255, 255, 0.86);
}

/* ——— What to Expect (contenido, no hero) ——— */
.page-work-with-me .section-wwm-expect {
    padding: 2.25rem 0 2.75rem;
    background: var(--bg-section);
}

.page-work-with-me .wwm-label {
    display: inline-block;
    margin: 0 0 0.65rem;
    padding: 0.3rem 0.7rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(59, 42, 122, 0.82);
    background: rgba(59, 42, 122, 0.08);
    border: 1px solid rgba(59, 42, 122, 0.12);
    border-radius: 999px;
}

.page-work-with-me .wwm-label--hero {
    margin-bottom: 0.45rem;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
}

.page-work-with-me .wwm-section-heading {
    margin: 0 0 0.4rem;
    font-family: var(--font-body);
    font-size: clamp(1.35rem, 2vw, 1.55rem);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.02em;
    color: rgba(23, 19, 57, 0.96);
}

.page-work-with-me .wwm-intro-split-main {
    position: relative;
    padding-left: 1.15rem;
}

.page-work-with-me .wwm-intro-split-main::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.1rem;
    bottom: 0.1rem;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent-deep), var(--accent-cta), var(--accent-cta-alt));
}

.page-work-with-me .wwm-display-title,
.page-work-with-me .wwm-block-title {
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: rgba(23, 19, 57, 0.96);
}

.page-work-with-me .wwm-display-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.35rem, 2vw, 1.55rem);
    font-weight: 700;
    line-height: 1.22;
}

.page-work-with-me .wwm-intro-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.page-work-with-me .wwm-expect-head {
    margin-bottom: 1.75rem;
    max-width: none;
}

.page-work-with-me .wwm-expect-tagline {
    margin: 0;
    font-size: inherit;
    font-weight: 500;
    line-height: 1.55;
    color: var(--accent-cta-alt);
}

.page-work-with-me .wwm-expect-copy p {
    margin: 0 0 0.65rem;
    color: rgba(31, 36, 48, 0.82);
}

.page-work-with-me .wwm-expect-lead {
    margin: 0.85rem 0 0;
    padding: 0.75rem 0.9rem;
    border-left: 3px solid var(--accent-cta);
    border-radius: 0 0.35rem 0.35rem 0;
    background: rgba(59, 42, 122, 0.05);
    font-weight: 600;
    color: rgba(23, 19, 57, 0.9);
}

.page-work-with-me .wwm-expect-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
}

.page-work-with-me .wwm-expect-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.1rem 1.15rem;
    background: var(--bg-primary);
    border: 1px solid rgba(59, 42, 122, 0.09);
    border-radius: 0.4rem;
    box-shadow: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.page-work-with-me .wwm-expect-card:hover {
    transform: none;
    border-color: rgba(59, 42, 122, 0.16);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: none;
}

.page-work-with-me .wwm-expect-card-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    margin-bottom: 0.65rem;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--accent-cta);
    background: rgba(59, 42, 122, 0.1);
    border-radius: 50%;
    box-shadow: none;
}

.page-work-with-me .wwm-expect-card h3 {
    margin: 0 0 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--accent-deep);
}

.page-work-with-me .wwm-expect-card p {
    margin: 0 0 0.5rem;
    font-size: 0.875rem;
    line-height: 1.58;
    color: rgba(31, 36, 48, 0.8);
}

.page-work-with-me .wwm-expect-card ul {
    margin: 0.15rem 0 0.5rem;
    padding-left: 1rem;
}

.page-work-with-me .wwm-expect-card li {
    margin-bottom: 0.2rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.page-work-with-me .wwm-expect-card li::marker {
    color: rgba(59, 42, 122, 0.45);
}

.page-work-with-me .wwm-expect-card p:last-child,
.page-work-with-me .wwm-expect-card ul:last-child {
    margin-bottom: 0;
}

.page-work-with-me .wwm-expect-card--closing {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.15rem 1.3rem;
    background: rgba(59, 42, 122, 0.04);
    border-color: rgba(59, 42, 122, 0.12);
}

.page-work-with-me .wwm-expect-card--closing .wwm-expect-card-num {
    margin-bottom: 0;
    flex-shrink: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-cta), var(--accent-cta-alt));
}

.page-work-with-me .wwm-expect-card--closing h3 {
    margin-top: 0;
}

.page-work-with-me .wwm-expect-card-closing-inner p:last-child {
    margin-bottom: 0;
}

/* Bloque imagen + contenido */
.page-work-with-me .wwm-block {
    display: grid;
    grid-template-columns: minmax(0, 0.38fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.page-work-with-me .wwm-block--flip {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.38fr);
}

.page-work-with-me .wwm-block--flip .wwm-block-media {
    order: 2;
}

/* Imagen integrada: todo el contenido sobre la imagen a ancho completo */
.page-work-with-me .wwm-section--img-overlay {
    padding-left: 0;
    padding-right: 0;
}

.page-work-with-me .wwm-section--img-overlay > .container {
    max-width: 1200px;
    padding-left: 0;
    padding-right: 0;
}

.page-work-with-me .wwm-block--img-overlay {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 0;
}

.page-work-with-me .wwm-block--img-overlay .wwm-block-hero-media {
    position: absolute;
    inset: 0;
    margin: 0;
    z-index: 0;
}

.page-work-with-me .wwm-block--img-overlay .wwm-block-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.page-work-with-me .wwm-block--img-overlay .wwm-block-hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(23, 19, 57, 0.9) 0%,
        rgba(23, 19, 57, 0.78) 22%,
        rgba(23, 19, 57, 0.68) 48%,
        rgba(23, 19, 57, 0.58) 72%,
        rgba(23, 19, 57, 0.5) 100%
    );
}

.page-work-with-me .wwm-block--img-overlay .wwm-block-body {
    position: relative;
    z-index: 2;
    padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 2.5rem);
}

.page-work-with-me .wwm-block--overlay-embed .wwm-block-overlay-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.38fr);
    gap: 2rem;
    align-items: start;
    padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 2.5rem);
}

.page-work-with-me .wwm-block--overlay-embed .wwm-block-body {
    padding: 0;
}

.page-work-with-me .wwm-block--overlay-embed .wwm-block-media--embed {
    position: relative;
    z-index: 2;
}

.page-work-with-me .wwm-block--img-overlay .wwm-block-title {
    margin: 0 0 0.85rem;
    color: #fff;
    text-shadow: 0 1px 18px rgba(0, 0, 0, 0.28);
}

.page-work-with-me .wwm-block--img-overlay .wwm-block-subtitle {
    margin: -0.35rem 0 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.22);
}

.page-work-with-me .wwm-label--on-image {
    margin-bottom: 0.65rem;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
}

.page-work-with-me .wwm-block--img-overlay .wwm-block-content h3 {
    color: #fff;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.page-work-with-me .wwm-block--img-overlay .wwm-block-content p,
.page-work-with-me .wwm-block--img-overlay .wwm-block-content li {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
}

.page-work-with-me .wwm-block--img-overlay .wwm-block-content li::marker {
    color: rgba(255, 255, 255, 0.75);
}

.page-work-with-me .wwm-block--img-overlay .wwm-lead-line {
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.22);
}

.page-work-with-me .wwm-block--img-overlay .wwm-pill-list li::before {
    color: rgba(255, 255, 255, 0.72);
}

.page-work-with-me .wwm-block--img-overlay .wwm-actions .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.85);
    background: transparent;
}

.page-work-with-me .wwm-block--img-overlay .wwm-actions .btn-outline:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.page-work-with-me .wwm-block-media {
    margin: 0;
}

.page-work-with-me .wwm-block-media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 0.35rem;
}

.page-work-with-me .wwm-block-media--embed {
    align-self: stretch;
}

.page-work-with-me .wwm-instagram-wrap {
    width: 100%;
    min-height: 0;
    overflow: hidden;
    border-radius: 0.35rem;
    background: rgba(255, 255, 255, 0.6);
}

.page-work-with-me .wwm-instagram-wrap .instagram-media {
    margin: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    border: 1px solid rgba(59, 42, 122, 0.1) !important;
    border-radius: 0.35rem !important;
}

.page-work-with-me .wwm-block-eyebrow {
    margin: 0 0 0.3rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(59, 42, 122, 0.55);
}

.page-work-with-me .wwm-block-title {
    margin: 0 0 0.45rem;
    font-size: clamp(1.35rem, 2vw, 1.55rem);
    font-weight: 700;
    line-height: 1.22;
}

.page-work-with-me .wwm-block-subtitle {
    margin: 0 0 0.85rem;
    font-size: inherit;
    font-weight: 400;
    line-height: 1.55;
    color: rgba(45, 50, 64, 0.72);
}

.page-work-with-me .wwm-block-content > :last-child,
.page-work-with-me .wwm-block-body > :last-child {
    margin-bottom: 0;
}

.page-work-with-me .wwm-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
}

.page-work-with-me .wwm-cols--prose {
    gap: 1.5rem;
}

.page-work-with-me h3 {
    margin: 0.75rem 0 0.3rem;
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.32;
    color: rgba(35, 25, 66, 0.94);
}

.page-work-with-me h3:first-child {
    margin-top: 0;
}

.page-work-with-me h4 {
    margin: 0 0 0.3rem;
    font-size: 0.84rem;
    font-weight: 650;
    line-height: 1.32;
    color: rgba(35, 25, 66, 0.92);
}

.page-work-with-me p {
    margin: 0 0 0.55rem;
}

.page-work-with-me ul {
    margin: 0.15rem 0 0.55rem;
    padding-left: 1rem;
}

.page-work-with-me li {
    margin-bottom: 0.2rem;
}

.page-work-with-me .wwm-lead-line {
    font-weight: 600;
    color: rgba(23, 19, 57, 0.92);
}

.page-work-with-me .wwm-highlight {
    font-weight: 600;
}

.page-work-with-me .wwm-closing-line {
    color: rgba(45, 50, 64, 0.82);
}

.page-work-with-me .wwm-block-content p {
    color: rgba(23, 19, 57, 0.9);
}

.page-work-with-me .wwm-quote {
    margin: 0 0 0.65rem;
    padding-left: 0.85rem;
    border-left: 3px solid rgba(59, 42, 122, 0.45);
    font-size: inherit;
    font-style: normal;
    font-weight: 500;
    line-height: 1.58;
    color: rgba(23, 19, 57, 0.96);
}

.page-work-with-me .wwm-footnote {
    margin-top: 0.65rem;
    font-size: 0.84rem;
    line-height: 1.48;
    color: rgba(45, 50, 64, 0.72);
}

/* Texto blanco sobre imagen de fondo */
.page-work-with-me .wwm-block--img-overlay .wwm-block-content .wwm-quote,
.page-work-with-me .wwm-block--img-overlay .wwm-block-content blockquote {
    color: rgba(255, 255, 255, 0.95);
    border-left-color: rgba(255, 255, 255, 0.45);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

.page-work-with-me .wwm-block--img-overlay .wwm-block-content .wwm-footnote {
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.22);
}

.page-work-with-me .wwm-block--img-overlay .wwm-block-content a {
    color: #fff;
    font-weight: 600;
    text-underline-offset: 2px;
}

.page-work-with-me .wwm-disclaimer {
    margin-top: 0.55rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(59, 42, 122, 0.1);
    font-size: 0.84rem;
    line-height: 1.48;
    color: rgba(45, 50, 64, 0.76);
}

.page-work-with-me .wwm-price-placeholder:empty {
    display: none;
}

.page-work-with-me .wwm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.65rem;
}

.page-work-with-me .wwm-actions--center {
    justify-content: center;
}

.page-work-with-me .wwm-pill-list {
    list-style: none;
    padding-left: 0;
}

.page-work-with-me .wwm-pill-list li {
    position: relative;
    padding-left: 0.75rem;
}

.page-work-with-me .wwm-pill-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: rgba(59, 42, 122, 0.55);
}

.page-work-with-me .wwm-minimal-list {
    list-style: none;
    padding-left: 0;
}

.page-work-with-me .wwm-minimal-list li {
    position: relative;
    padding-left: 0.85rem;
}

.page-work-with-me .wwm-minimal-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.28rem;
    height: 0.28rem;
    border-radius: 50%;
    background: rgba(59, 42, 122, 0.55);
}

.page-work-with-me .wwm-minimal-list--cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.85rem;
}


/* Kahu Soma — subsecciones compactas */
.page-work-with-me .wwm-kahu-hero {
    position: relative;
    margin-bottom: 1.35rem;
    padding: clamp(1.6rem, 4vw, 2.6rem);
    overflow: hidden;
    border-radius: 0.35rem;
    background-image:
        linear-gradient(180deg, rgba(23, 19, 57, 0.9) 0%, rgba(23, 19, 57, 0.72) 52%, rgba(23, 19, 57, 0.62) 100%),
        var(--kahu-bg);
    background-position: center center;
    background-size: cover;
}

.page-work-with-me .wwm-kahu-header {
    margin-bottom: 1.35rem;
    padding-bottom: 1.35rem;
    border-bottom: 1px solid rgba(59, 42, 122, 0.1);
}

.page-work-with-me .wwm-kahu-hero .wwm-kahu-header {
    border-bottom-color: rgba(255, 255, 255, 0.18);
}

.page-work-with-me .wwm-kahu-hero .wwm-label {
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
}

.page-work-with-me .wwm-kahu-hero .wwm-block-title,
.page-work-with-me .wwm-kahu-hero .wwm-block-subtitle,
.page-work-with-me .wwm-kahu-hero .wwm-quote,
.page-work-with-me .wwm-kahu-hero .wwm-lead-line,
.page-work-with-me .wwm-kahu-hero .wwm-highlight,
.page-work-with-me .wwm-kahu-hero .wwm-closing-line,
.page-work-with-me .wwm-kahu-hero p {
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.24);
}

.page-work-with-me .wwm-kahu-header .wwm-block-title {
    margin-bottom: 0.45rem;
}

.page-work-with-me .wwm-kahu-figure {
    margin: 0;
    border-radius: 0.35rem;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(23, 19, 57, 0.1);
    min-height: 100%;
}

.page-work-with-me .wwm-kahu-figure img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    aspect-ratio: 4 / 5;
}

.page-work-with-me .wwm-kahu-figure--wide {
    width: 100%;
}

.page-work-with-me .wwm-kahu-figure--wide img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    max-height: 440px;
    object-fit: cover;
}

.page-work-with-me .wwm-kahu-media-row {
    display: grid;
    grid-template-columns: minmax(0, 0.44fr) minmax(0, 1fr);
    gap: 1.35rem;
    align-items: stretch;
}

.page-work-with-me .wwm-kahu-media-row--flip {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.44fr);
}

.page-work-with-me .wwm-kahu-media-row--flip .wwm-kahu-figure {
    order: 2;
}

.page-work-with-me .wwm-kahu-media-row .wwm-kahu-segment--paired {
    margin: 0;
    padding: 0;
    border: 0;
}

.page-work-with-me .wwm-kahu-body > * + * {
    margin-top: 1.35rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(59, 42, 122, 0.08);
}

.page-work-with-me .wwm-kahu-panel h3 {
    margin-top: 0;
}

.page-work-with-me .wwm-kahu-concepts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.page-work-with-me .wwm-kahu-concept {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(59, 42, 122, 0.08);
}

.page-work-with-me .wwm-kahu-concept--full {
    grid-column: 1 / -1;
}

.page-work-with-me .wwm-kahu-concept p:last-child {
    margin-bottom: 0;
}

.page-work-with-me .wwm-kahu-rules {
    padding: 0.95rem 1rem;
    border: 1px solid rgba(23, 19, 57, 0.14);
    border-radius: 0.35rem;
    background: rgba(23, 19, 57, 0.03);
}

.page-work-with-me .wwm-kahu-rules h3 {
    margin-top: 0;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.page-work-with-me .wwm-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    margin: 0.55rem 0 0;
    padding: 0;
    list-style: none;
}

.page-work-with-me .wwm-tag-list li {
    margin: 0;
    padding: 0.2rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid rgba(59, 42, 122, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
}

.page-work-with-me .wwm-kahu-twin h3 {
    margin-top: 0;
}

.page-work-with-me .wwm-kahu-intake {
    text-align: center;
}

.page-work-with-me .wwm-kahu-intake h3 {
    margin-top: 0;
}

.page-work-with-me .wwm-kahu-intake p {
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
}

.page-work-with-me .wwm-kahu-intake-notice {
    max-width: 38rem;
    margin: 0 auto 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.45;
}

.page-work-with-me .wwm-kahu-intake-notice--success {
    background: rgba(34, 120, 74, 0.1);
    border: 1px solid rgba(34, 120, 74, 0.22);
    color: #1f5f3f;
}

.page-work-with-me .wwm-kahu-intake-notice--error {
    background: rgba(180, 60, 40, 0.08);
    border: 1px solid rgba(180, 60, 40, 0.22);
    color: #8a2f1f;
}

body.kahu-intake-modal-open {
    overflow: hidden;
}

.kahu-intake-modal {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.kahu-intake-modal[hidden] {
    display: none !important;
}

.kahu-intake-modal__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(39, 28, 87, 0.28) 0%, transparent 55%),
        rgba(8, 12, 25, 0.62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 220ms ease;
}

.kahu-intake-modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(94vw, 780px);
    max-height: min(92vh, 940px);
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8f7fc 100%);
    border: 1px solid rgba(39, 28, 87, 0.12);
    border-radius: 18px;
    box-shadow:
        0 4px 24px rgba(21, 15, 52, 0.08),
        0 28px 64px rgba(15, 23, 42, 0.22);
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    transition: opacity 220ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.kahu-intake-modal.is-open .kahu-intake-modal__backdrop {
    opacity: 1;
}

.kahu-intake-modal.is-open .kahu-intake-modal__dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.kahu-intake-modal__header {
    position: relative;
    flex-shrink: 0;
    padding: 1.35rem 1.5rem 1.15rem;
    background:
        linear-gradient(135deg, rgba(39, 28, 87, 0.97) 0%, rgba(45, 63, 127, 0.94) 100%);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.kahu-intake-modal__header::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

.kahu-intake-modal__header-inner {
    position: relative;
    z-index: 1;
}

.kahu-intake-modal__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.kahu-intake-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.kahu-intake-modal__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    font-weight: 600;
    line-height: 1.15;
    color: #fff;
    letter-spacing: 0.01em;
}

.kahu-intake-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.kahu-intake-modal__close:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.38);
    transform: scale(1.04);
}

.kahu-intake-modal__intro {
    margin: 0.7rem 0 0;
    max-width: 38rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.84);
}

.kahu-intake-modal__body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 1.15rem 1.35rem 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(39, 28, 87, 0.28) transparent;
}

.kahu-intake-modal__body::-webkit-scrollbar {
    width: 8px;
}

.kahu-intake-modal__body::-webkit-scrollbar-thumb {
    background: rgba(39, 28, 87, 0.22);
    border-radius: 999px;
}

.kahu-intake-section {
    margin-bottom: 1.15rem;
    padding: 1.1rem 1.15rem 0.35rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(39, 28, 87, 0.08);
    box-shadow: 0 8px 24px rgba(21, 15, 52, 0.04);
}

.kahu-intake-section-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1rem;
}

.kahu-intake-section-title::before {
    content: "";
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cta), var(--accent-cta-alt));
    box-shadow: 0 0 0 3px rgba(39, 28, 87, 0.1);
    flex-shrink: 0;
}

.kahu-intake-section-title__text {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-sage);
}

.kahu-intake-section-fields {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.kahu-intake-section--grid-2 .kahu-intake-section-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1rem;
}

.kahu-intake-section--grid-2 .kahu-intake-field--full,
.kahu-intake-section--grid-2 .kahu-intake-field:has(textarea),
.kahu-intake-section--grid-2 .kahu-intake-field:has(.kahu-intake-checkboxes),
.kahu-intake-section--grid-2 .kahu-intake-field:has(.kahu-intake-radios) {
    grid-column: 1 / -1;
}

.kahu-intake-field {
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
    margin-bottom: 1rem;
}

.kahu-intake-field[hidden] {
    display: none !important;
}

.kahu-intake-label {
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(21, 15, 52, 0.88);
    line-height: 1.4;
}

.kahu-intake-required {
    color: #c47a2c;
    font-weight: 700;
}

.kahu-intake-form input[type="text"],
.kahu-intake-form input[type="email"],
.kahu-intake-form input[type="tel"],
.kahu-intake-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.62rem 0.82rem;
    font: inherit;
    font-size: 0.92rem;
    color: var(--text-primary);
    background: #fff;
    border: 1px solid rgba(39, 28, 87, 0.14);
    border-radius: 10px;
    box-shadow: inset 0 1px 2px rgba(21, 15, 52, 0.03);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.kahu-intake-form textarea {
    resize: vertical;
    min-height: 5.5rem;
    line-height: 1.5;
}

.kahu-intake-form input::placeholder,
.kahu-intake-form textarea::placeholder {
    color: rgba(21, 15, 52, 0.38);
}

.kahu-intake-form input:focus,
.kahu-intake-form textarea:focus {
    outline: none;
    background: #fff;
    border-color: rgba(39, 28, 87, 0.42);
    box-shadow:
        inset 0 1px 2px rgba(21, 15, 52, 0.02),
        0 0 0 3px rgba(39, 28, 87, 0.1);
}

.kahu-intake-checkboxes,
.kahu-intake-radios {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.kahu-intake-checkboxes--invalid {
    padding: 0.65rem;
    border-radius: 12px;
    border: 1px solid rgba(196, 122, 44, 0.35);
    background: rgba(196, 122, 44, 0.06);
}

.kahu-intake-choice {
    display: flex;
    align-items: flex-start;
    gap: 0.62rem;
    padding: 0.72rem 0.82rem;
    font-size: 0.86rem;
    line-height: 1.42;
    color: rgba(21, 15, 52, 0.9);
    cursor: pointer;
    border: 1px solid rgba(39, 28, 87, 0.12);
    border-radius: 11px;
    background: linear-gradient(180deg, #ffffff 0%, #faf9fd 100%);
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.kahu-intake-choice:hover {
    border-color: rgba(39, 28, 87, 0.22);
    box-shadow: 0 4px 14px rgba(21, 15, 52, 0.05);
}

.kahu-intake-choice:has(input:checked) {
    border-color: rgba(39, 28, 87, 0.42);
    background: linear-gradient(135deg, rgba(39, 28, 87, 0.07) 0%, rgba(45, 63, 127, 0.06) 100%);
    box-shadow: 0 6px 18px rgba(39, 28, 87, 0.08);
}

.kahu-intake-choice input {
    margin-top: 0.18rem;
    flex-shrink: 0;
    accent-color: var(--accent-cta);
}

.kahu-intake-choice--consent {
    grid-column: 1 / -1;
    padding: 0.9rem 1rem;
    background: linear-gradient(135deg, rgba(39, 28, 87, 0.04) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.kahu-intake-choice--consent span {
    font-size: 0.88rem;
    line-height: 1.5;
}

.kahu-intake-form__actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin: 0 -1.35rem;
    padding: 1rem 1.35rem 1.2rem;
    background: linear-gradient(180deg, rgba(248, 247, 252, 0) 0%, rgba(248, 247, 252, 0.92) 24%, #f8f7fc 100%);
    border-top: 1px solid rgba(39, 28, 87, 0.08);
}

.kahu-intake-form__note {
    margin: 0 0 0.75rem;
    font-size: 0.78rem;
    color: rgba(21, 15, 52, 0.58);
    text-align: center;
}

.kahu-intake-form__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.7rem;
}

.kahu-intake-form__buttons .btn-primary {
    min-width: 11rem;
    box-shadow: 0 10px 24px rgba(39, 28, 87, 0.22);
}

@media (max-width: 720px) {
    .kahu-intake-modal {
        padding: 0.65rem;
    }

    .kahu-intake-modal__dialog {
        width: 100%;
        max-height: 94vh;
        border-radius: 14px;
    }

    .kahu-intake-modal__header {
        padding: 1.1rem 1.1rem 0.95rem;
    }

    .kahu-intake-modal__body {
        padding: 0.9rem 1rem 0;
    }

    .kahu-intake-section {
        padding: 0.95rem 0.9rem 0.2rem;
    }

    .kahu-intake-section--grid-2 .kahu-intake-section-fields,
    .kahu-intake-checkboxes,
    .kahu-intake-radios {
        grid-template-columns: 1fr;
    }

    .kahu-intake-form__actions {
        margin: 0 -1rem;
        padding: 0.9rem 1rem 1rem;
    }

    .kahu-intake-form__buttons {
        flex-direction: column-reverse;
    }

    .kahu-intake-form__buttons .btn {
        width: 100%;
    }
}

.page-work-with-me .wwm-massage-bars {
    margin-top: 1.35rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(59, 42, 122, 0.1);
}

.page-work-with-me .wwm-massage-bars h3 {
    margin-top: 0;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .page-work-with-me .section-wwm-hero {
        padding: 1.35rem 0 1.45rem;
    }

    .page-work-with-me .wwm-block,
    .page-work-with-me .wwm-block--flip {
        grid-template-columns: 1fr;
    }

    .page-work-with-me .wwm-block--flip .wwm-block-media {
        order: 0;
    }

    .page-work-with-me .wwm-block--overlay-embed .wwm-block-overlay-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .page-work-with-me .wwm-block-media img {
        aspect-ratio: 16 / 10;
        max-height: 280px;
    }

    .page-work-with-me .wwm-section--img-overlay > .container {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    .page-work-with-me .wwm-block--img-overlay .wwm-block-body {
        padding: 1.5rem 1.1rem;
    }

    .page-work-with-me .wwm-intro-split {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .page-work-with-me .wwm-expect-grid {
        grid-template-columns: 1fr;
    }

    .page-work-with-me .wwm-cols,
    .page-work-with-me .wwm-minimal-list--cols {
        grid-template-columns: 1fr;
    }

    .page-work-with-me .wwm-kahu-figure--wide img {
        max-height: 280px;
        aspect-ratio: 16 / 10;
    }

    .page-work-with-me .wwm-kahu-media-row,
    .page-work-with-me .wwm-kahu-media-row--flip {
        grid-template-columns: 1fr;
    }

    .page-work-with-me .wwm-kahu-media-row--flip .wwm-kahu-figure {
        order: 0;
    }

    .page-work-with-me .wwm-kahu-figure img {
        min-height: 200px;
        aspect-ratio: 16 / 10;
    }

    .page-work-with-me .wwm-kahu-concepts {
        grid-template-columns: 1fr;
    }

    .page-work-with-me .wwm-expect-card--closing {
        flex-direction: column;
        gap: 0.5rem;
    }

    .page-work-with-me .wwm-kahu-concept--full {
        grid-column: auto;
    }
}

.event-promo-popup {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 1.2rem;
}

.event-promo-popup[hidden] {
    display: none !important;
}

.event-promo-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 12, 23, 0.7);
    opacity: 0;
    transition: opacity 1200ms ease;
}

.event-promo-popup__dialog {
    position: relative;
    z-index: 1;
    width: min(98vw, 1280px);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(7, 9, 19, 0.35);
    background: #fff;
    opacity: 0;
    transform: translateY(10px) scale(0.975);
    filter: blur(7px);
    transition: opacity 1400ms ease, transform 1400ms ease, filter 1400ms ease;
}

.event-promo-popup__link {
    display: block;
    line-height: 0;
}

.event-promo-popup__link img {
    display: block;
    width: 100%;
    height: auto;
}

.event-promo-popup__close {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    z-index: 2;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.75);
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

body.event-promo-popup-open {
    overflow: hidden;
}

.event-promo-popup.is-visible .event-promo-popup__backdrop {
    opacity: 1;
}

.event-promo-popup.is-visible .event-promo-popup__dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}


.about-lf-fiche-grid--values {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.about-lf-fiche-grid--principles {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.about-lf-fiche-grid--principles .about-lf-fiche--principle {
    min-height: 0;
}

@keyframes about-lf-fiche-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fichas base (listados / cribado) */
.about-lf-fiche {
    padding: 1rem 1.05rem 1.1rem;
    border-radius: 0.95rem;
    height: 100%;
}

.about-lf-fiche .about-lf-h3 {
    margin-top: 0;
}

/* Rejilla: por defecto fichas claras (bloques oscuros o lilac, etc.) */
.about-lf-fiche-grid > .about-lf-fiche {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 1.15rem 1.15rem 1.2rem;
    border-radius: 1rem;
    border: 1px solid rgba(59, 42, 122, 0.12);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 249, 255, 0.96) 100%);
    box-shadow:
        0 2px 4px rgba(23, 19, 57, 0.04),
        0 12px 28px rgba(15, 23, 42, 0.08);
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease,
        border-color 0.35s ease;
    animation: about-lf-fiche-rise 0.6s ease-out backwards;
}

.about-lf-fiche-grid > .about-lf-fiche:nth-child(1) {
    animation-delay: 0.02s;
}
.about-lf-fiche-grid > .about-lf-fiche:nth-child(2) {
    animation-delay: 0.06s;
}
.about-lf-fiche-grid > .about-lf-fiche:nth-child(3) {
    animation-delay: 0.1s;
}
.about-lf-fiche-grid > .about-lf-fiche:nth-child(4) {
    animation-delay: 0.14s;
}
.about-lf-fiche-grid > .about-lf-fiche:nth-child(5) {
    animation-delay: 0.18s;
}
.about-lf-fiche-grid > .about-lf-fiche:nth-child(6) {
    animation-delay: 0.22s;
}
.about-lf-fiche-grid > .about-lf-fiche:nth-child(7) {
    animation-delay: 0.26s;
}
.about-lf-fiche-grid > .about-lf-fiche:nth-child(8) {
    animation-delay: 0.3s;
}
.about-lf-fiche-grid > .about-lf-fiche:nth-child(9) {
    animation-delay: 0.34s;
}
.about-lf-fiche-grid > .about-lf-fiche:nth-child(10) {
    animation-delay: 0.38s;
}
.about-lf-fiche-grid > .about-lf-fiche:nth-child(11) {
    animation-delay: 0.42s;
}
.about-lf-fiche-grid > .about-lf-fiche:nth-child(12) {
    animation-delay: 0.46s;
}

.about-lf-fiche-grid > .about-lf-fiche::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        rgba(59, 42, 122, 0.88),
        rgba(111, 95, 178, 0.72) 50%,
        rgba(45, 63, 127, 0.65) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.about-lf-fiche-grid > .about-lf-fiche::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 90% 70% at 100% 0%, rgba(143, 122, 217, 0.09), transparent 58%);
    opacity: 0;
    transition: opacity 0.45s ease;
    z-index: 0;
    pointer-events: none;
}

.about-lf-fiche-grid > .about-lf-fiche:hover {
    transform: translateY(-5px);
    border-color: rgba(111, 95, 178, 0.28);
    box-shadow:
        0 4px 8px rgba(23, 19, 57, 0.06),
        0 22px 44px rgba(15, 23, 42, 0.12);
}

.about-lf-fiche-grid > .about-lf-fiche:focus-visible {
    outline: 2px solid rgba(111, 95, 178, 0.55);
    outline-offset: 3px;
}

.about-lf-fiche-grid > .about-lf-fiche:hover::after {
    opacity: 1;
}

.about-lf-fiche-grid > .about-lf-fiche > * {
    position: relative;
    z-index: 1;
}

.about-lf-fiche-grid > .about-lf-fiche p {
    color: rgba(35, 25, 66, 0.9);
    margin-bottom: 0.65rem;
}

.about-lf-fiche-grid > .about-lf-fiche p:last-child {
    margin-bottom: 0;
}

.about-lf-fiche-grid > .about-lf-fiche .about-lf-h3 {
    color: rgba(23, 19, 57, 0.96);
    text-shadow: none;
}

/* Valores: barra de acento a la izquierda en lugar de solo superior */
.about-lf-segment--values-surface .about-lf-fiche-grid > .about-lf-fiche::before {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 4px;
    height: auto;
    border-radius: 1rem 0 0 1rem;
    background: linear-gradient(
        180deg,
        rgba(59, 42, 122, 0.9) 0%,
        rgba(111, 95, 178, 0.75) 50%,
        rgba(45, 63, 127, 0.65) 100%
    );
}

/* Principios: “carnet” blanco sobre noche, borde fino */
.about-lf-segment--principles-tone .about-lf-fiche-grid > .about-lf-fiche {
    border-radius: 0.78rem;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 10px 28px rgba(0, 0, 0, 0.22);
}

.about-lf-segment--principles-tone .about-lf-fiche-grid > .about-lf-fiche::before {
    height: 2px;
    opacity: 0.85;
}

.about-lf-segment--principles-tone .about-lf-fiche-grid > .about-lf-fiche:hover {
    border-color: rgba(255, 255, 255, 0.65);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 18px 40px rgba(0, 0, 0, 0.28);
}

/* Rejilla con fichas oscuras (solo bloque niebla / transformación) */
.about-lf-segment--fiches-dark .about-lf-fiche-grid > .about-lf-fiche {
    border: 1px solid rgba(111, 95, 178, 0.32);
    background: linear-gradient(
        155deg,
        rgba(21, 15, 52, 0.97) 0%,
        rgba(35, 25, 66, 0.95) 42%,
        rgba(28, 40, 75, 0.93) 100%
    );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 10px 28px rgba(15, 23, 42, 0.4);
}

.about-lf-segment--fiches-dark .about-lf-fiche-grid > .about-lf-fiche:hover {
    border-color: rgba(180, 165, 255, 0.45);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 22px 48px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.about-lf-segment--fiches-dark .about-lf-fiche-grid > .about-lf-fiche::after {
    background: radial-gradient(ellipse 90% 70% at 100% 0%, rgba(143, 122, 217, 0.18), transparent 58%);
}

.about-lf-segment--fiches-dark .about-lf-fiche-grid > .about-lf-fiche p {
    color: rgba(226, 232, 255, 0.86);
}

.about-lf-segment--fiches-dark .about-lf-fiche-grid > .about-lf-fiche .about-lf-h3 {
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.about-lf-segment--fiches-dark .about-lf-fiche-grid--trans > .about-lf-fiche {
    background: linear-gradient(
        160deg,
        rgba(23, 28, 58, 0.97) 0%,
        rgba(35, 25, 66, 0.95) 45%,
        rgba(23, 56, 90, 0.92) 100%
    );
}

.about-lf-fiche--step,
.about-lf-fiche--value,
.about-lf-fiche--principle {
    position: relative;
    padding-top: 1.85rem;
}

/* Rejilla: reservar hueco para el badge (evita solape con título y texto) */
.about-lf-fiche-grid > .about-lf-fiche.about-lf-fiche--step,
.about-lf-fiche-grid > .about-lf-fiche.about-lf-fiche--value,
.about-lf-fiche-grid > .about-lf-fiche.about-lf-fiche--principle {
    padding: 2.75rem 1.15rem 1.2rem 2.95rem;
}

/* Números de dos cifras (p. ej. 10) */
.about-lf-fiche-grid--principles > .about-lf-fiche.about-lf-fiche--principle {
    padding-left: 3.2rem;
}

.about-lf-fiche--value .about-lf-h3,
.about-lf-fiche--principle .about-lf-h3 {
    font-size: 1rem;
}

/* Números: pill morada sobre ficha clara */
.about-lf-segment--fiches-light .about-lf-fiche-grid > .about-lf-fiche .about-lf-fiche-num,
.about-lf-fiche-grid > .about-lf-fiche .about-lf-fiche-num {
    position: absolute;
    top: 0.75rem;
    left: 0.85rem;
    min-width: 1.65rem;
    text-align: center;
    box-sizing: border-box;
    z-index: 3;
    padding: 0.22rem 0.55rem;
    border-radius: 0.4rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.98);
    background: linear-gradient(135deg, rgba(59, 42, 122, 0.92), rgba(111, 95, 178, 0.82));
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 14px rgba(59, 42, 122, 0.28);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-lf-segment--fiches-dark .about-lf-fiche-grid > .about-lf-fiche .about-lf-fiche-num {
    background: linear-gradient(135deg, rgba(111, 95, 178, 0.55), rgba(45, 63, 127, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.35);
}

.about-lf-fiche-grid > .about-lf-fiche:hover .about-lf-fiche-num {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(59, 42, 122, 0.35);
}

.about-lf-segment--fiches-dark .about-lf-fiche-grid > .about-lf-fiche:hover .about-lf-fiche-num {
    box-shadow: 0 6px 20px rgba(111, 95, 178, 0.45);
}

/* Citas: tarjetas claras sobre bloque ink */
.about-lf-fiche--quote {
    font-weight: 500;
    font-size: 0.96rem;
    line-height: 1.55;
    text-align: center;
    font-style: italic;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 1.15rem 1rem 1.2rem;
    border-radius: 1rem;
    border: 1px solid rgba(59, 42, 122, 0.12);
    color: rgba(35, 25, 66, 0.92);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.99), rgba(248, 249, 255, 0.96));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.35s ease;
}

.about-lf-segment--surface-ink .about-lf-fiche--quote {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.about-lf-fiche--quote::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(111, 95, 178, 0.45), transparent);
    opacity: 0.9;
}

.about-lf-trio .about-lf-fiche--quote {
    animation: about-lf-fiche-rise 0.55s ease-out backwards;
}

.about-lf-trio .about-lf-fiche--quote:nth-child(1) {
    animation-delay: 0.04s;
}

.about-lf-trio .about-lf-fiche--quote:nth-child(2) {
    animation-delay: 0.1s;
}

.about-lf-trio .about-lf-fiche--quote:nth-child(3) {
    animation-delay: 0.16s;
}

.about-lf-trio .about-lf-fiche--quote:hover {
    transform: translateY(-4px);
    border-color: rgba(111, 95, 178, 0.28);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.about-lf-segment--surface-ink .about-lf-trio .about-lf-fiche--quote:hover {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.about-lf-trio .about-lf-fiche--quote:focus-visible {
    outline: 2px solid rgba(111, 95, 178, 0.55);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .about-lf-fiche-grid > .about-lf-fiche,
    .about-lf-trio .about-lf-fiche--quote {
        animation: none;
    }

    .about-lf-fiche-grid > .about-lf-fiche:hover,
    .about-lf-trio .about-lf-fiche--quote:hover,
    .about-lf-highlight:hover {
        transform: none;
    }

    .about-lf-fiche-grid > .about-lf-fiche:hover .about-lf-fiche-num {
        transform: none;
    }

    .about-lf-split--screen .about-lf-fiche--list {
        animation: none;
    }

    .about-lf-split--screen .about-lf-fiche--list:hover {
        transform: none;
    }
}

.about-lf-fiche--list .about-lf-h3 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* Cribado: tarjetas blancas sobre bloque papel */
.about-lf-segment--screen-soft .about-lf-split--screen .about-lf-fiche--list {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 1.15rem 1.15rem 1.2rem;
    border-radius: 1rem;
    border: 1px solid rgba(59, 42, 122, 0.1);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.99), rgba(250, 251, 255, 0.96));
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.07);
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease,
        border-color 0.35s ease;
    animation: about-lf-fiche-rise 0.55s ease-out backwards;
}

.about-lf-segment--screen-soft .about-lf-split--screen .about-lf-fiche--list:nth-child(1) {
    animation-delay: 0.05s;
}

.about-lf-segment--screen-soft .about-lf-split--screen .about-lf-fiche--list:nth-child(2) {
    animation-delay: 0.12s;
}

.about-lf-segment--screen-soft .about-lf-split--screen .about-lf-fiche--list::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        rgba(59, 42, 122, 0.85),
        rgba(111, 95, 178, 0.65) 50%,
        rgba(45, 63, 127, 0.55) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.about-lf-segment--screen-soft .about-lf-split--screen .about-lf-fiche--list::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 85% 65% at 100% 0%, rgba(143, 122, 217, 0.07), transparent 55%);
    opacity: 0;
    transition: opacity 0.45s ease;
    z-index: 0;
    pointer-events: none;
}

.about-lf-segment--screen-soft .about-lf-split--screen .about-lf-fiche--list:hover {
    transform: translateY(-4px);
    border-color: rgba(111, 95, 178, 0.22);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
}

.about-lf-segment--screen-soft .about-lf-split--screen .about-lf-fiche--list:hover::after {
    opacity: 1;
}

.about-lf-segment--screen-soft .about-lf-split--screen .about-lf-fiche--list > * {
    position: relative;
    z-index: 1;
}

.about-lf-segment--screen-soft .about-lf-split--screen .about-lf-fiche--list .about-lf-h3 {
    color: rgba(23, 19, 57, 0.96);
    text-shadow: none;
}

.about-lf-segment--screen-soft .about-lf-split--screen .about-lf-fiche--list .about-lf-list,
.about-lf-segment--screen-soft .about-lf-split--screen .about-lf-fiche--list .about-lf-list li {
    color: rgba(35, 25, 66, 0.9);
}

.about-lf-segment--screen-soft .about-lf-split--screen .about-lf-fiche--list .about-lf-list--questions li::before {
    background: linear-gradient(135deg, rgba(59, 42, 122, 0.85), rgba(111, 95, 178, 0.75));
}

.about-lf-segment--screen-soft .about-lf-split--screen .about-lf-fiche--list .about-lf-list--numbered li::marker {
    color: rgba(59, 42, 122, 0.85);
    font-weight: 600;
}

.about-lf-segment--screen-soft .about-lf-split--screen .about-lf-fiche--list:focus-visible {
    outline: 2px solid rgba(111, 95, 178, 0.45);
    outline-offset: 3px;
}

.about-lf-trio {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.about-lf-center-text {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 0.25rem;
}

.about-lf-intro-block {
    margin: 0 0 0.65rem;
    line-height: 1.65;
}

.about-lf-intro-block--light {
    color: rgba(255, 255, 255, 0.9);
}

.about-lf-closing-line {
    margin: 1rem 0 0;
    font-weight: 600;
    color: rgba(59, 42, 122, 0.88);
}

.about-lf-note {
    margin: 1rem 0 0;
    font-size: 0.92rem;
    font-style: italic;
    color: rgba(55, 65, 81, 0.88);
}

.about-lf-h2 {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.55rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    color: rgba(23, 19, 57, 0.96);
    margin: 0 0 0.75rem;
    line-height: 1.25;
}

.about-lf-h2--sm {
    font-size: clamp(1.12rem, 1.5vw, 1.28rem);
}

.about-lf-h2--inline {
    flex: 1;
    min-width: 0;
}

.about-lf-h2--light {
    color: #fff !important;
}

.about-lf-h3 {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.08rem;
    font-weight: 650;
    color: rgba(35, 25, 66, 0.94);
    margin: 1.1rem 0 0.45rem;
    line-height: 1.3;
}

.about-lf-panel .about-lf-h3:first-child,
.about-lf-fiche .about-lf-h3:first-child {
    margin-top: 0;
}

.about-lf-lead {
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.65;
    color: rgba(17, 24, 39, 0.92);
}

.about-lf-subh {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(59, 42, 122, 0.88);
    margin: 0 0 0.65rem;
}

.about-lf-formula {
    font-size: 1.02rem;
    font-weight: 600;
    color: rgba(59, 42, 122, 0.95);
    margin: 0 0 0.75rem;
    line-height: 1.45;
}

.about-lf-main p {
    margin: 0 0 0.85rem;
    line-height: 1.72;
}

.about-lf-segment--cta p {
    color: rgba(255, 255, 255, 0.9);
}

.about-lf-dimensions {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.about-lf-dimensions--grid {
    grid-template-columns: 1fr 1fr;
}

.about-lf-dimensions li {
    margin: 0;
    padding: 0.65rem 0.85rem;
    border-radius: 0.65rem;
    background: rgba(59, 42, 122, 0.06);
    border: 1px solid rgba(59, 42, 122, 0.1);
    font-size: 0.94rem;
    line-height: 1.55;
}

.about-lf-list {
    margin: 0.5rem 0 0;
    padding-left: 1.15rem;
}

.about-lf-fiche--list .about-lf-list {
    margin-bottom: 0;
}

.about-lf-list li {
    margin-bottom: 0.45rem;
    line-height: 1.55;
}

.about-lf-list--check {
    list-style: disc;
}

.about-lf-list--questions {
    list-style: none;
    padding-left: 0;
}

.about-lf-list--questions li {
    position: relative;
    padding-left: 1.15rem;
    margin-bottom: 0.5rem;
}

.about-lf-list--questions li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-cta), var(--accent-cta-alt));
}

.about-lf-list--numbered {
    list-style: decimal;
    padding-left: 1.35rem;
}

.about-lf-cta-grid {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

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

.about-lf-cta {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(59, 42, 122, 0.18);
    background: rgba(255, 255, 255, 0.85);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.about-lf-cta--inv {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
}

.about-lf-cta--inv .about-lf-cta-title {
    color: #fff;
}

.about-lf-cta--inv .about-lf-cta-sub {
    color: rgba(255, 255, 255, 0.82);
}

/* Ready to Begin: tarjetas claras sobre gradiente oscuro (legibilidad) */
.about-lf-segment--cta .about-lf-cta--inv {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
    backdrop-filter: none;
}

.about-lf-segment--cta .about-lf-cta--inv .about-lf-cta-title {
    color: rgba(23, 19, 57, 0.96);
}

.about-lf-segment--cta .about-lf-cta--inv .about-lf-cta-sub {
    color: rgba(55, 65, 81, 0.9);
}

.about-lf-segment--cta .about-lf-cta--inv:hover {
    border-color: rgba(255, 255, 255, 0.85);
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

.about-lf-cta:hover {
    border-color: rgba(59, 42, 122, 0.35);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}

.about-lf-cta--inv:hover {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.16);
}

.about-lf-cta-ico {
    font-size: 1.35rem;
    line-height: 1;
}

.about-lf-cta-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.about-lf-cta-title {
    font-weight: 650;
    font-size: 0.98rem;
    color: rgba(23, 19, 57, 0.96);
}

.about-lf-cta-sub {
    font-size: 0.88rem;
    color: rgba(55, 65, 81, 0.88);
    line-height: 1.45;
}

.about-lf-expand {
    margin: 1.5rem 0 2rem;
    border-radius: 0.9rem;
    border: 1px dashed rgba(59, 42, 122, 0.35);
    background: rgba(249, 250, 255, 0.85);
    overflow: hidden;
}

.about-lf-expand--fancy {
    border-style: solid;
    border-color: rgba(111, 95, 178, 0.35);
    box-shadow: 0 12px 32px rgba(59, 42, 122, 0.08);
}

.about-lf-expand-hint {
    display: inline-block;
    margin-left: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(59, 42, 122, 0.55);
}

.about-lf-expand-summary {
    cursor: pointer;
    list-style: none;
    padding: 0.9rem 1.1rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(59, 42, 122, 0.95);
}

.about-lf-expand-summary::-webkit-details-marker {
    display: none;
}

.about-lf-expand[open] .about-lf-expand-summary {
    border-bottom: 1px solid rgba(59, 42, 122, 0.12);
}

.about-lf-expand-body {
    padding: 1rem 1.15rem 1.2rem;
}

@media (max-width: 1020px) {
    .about-lf-grid {
        grid-template-columns: 1fr;
    }

    .about-lf-aside {
        position: relative;
        top: auto;
    }

    .about-media-grid--sidebar {
        max-width: 420px;
        margin: 1.75rem auto 0;
    }

    .about-lf-split--2,
    .about-lf-split--phil,
    .about-lf-split--screen {
        grid-template-columns: 1fr;
    }

    .about-lf-dimensions--grid {
        grid-template-columns: 1fr;
    }

    .about-lf-fiche-grid--trans,
    .about-lf-fiche-grid--wwm-expect {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-lf-trio {
        grid-template-columns: 1fr;
    }

    .about-lf-cta-grid--3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .about-lf-fiche-grid--trans,
    .about-lf-fiche-grid--wwm-expect {
        grid-template-columns: 1fr;
    }
}

/* Galería lateral About: retrato completo (evita recorte de cabeza por cover + altura fija) */
@media (min-width: 1021px) {
    .about-media-grid--sidebar .about-media-main {
        max-height: none;
    }

    .about-media-grid--sidebar .about-media-main .about-photo {
        width: 100%;
        height: auto;
        max-height: min(420px, 72vh);
        object-fit: contain;
        object-position: top center;
    }
}

@media (min-width: 1200px) {
    .about-lf-grid {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
        gap: 2rem 2.25rem;
    }
}

@media (min-width: 1400px) {
    .about-lf-grid {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
        gap: 2rem 2.75rem;
    }
}

.about-info-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(59, 42, 122, 0.14);
    border-radius: 1rem;
    padding: 1.3rem 1.4rem;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
    height: 100%;
}

.about-info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(59, 42, 122, 0.78), rgba(111, 95, 178, 0.55));
}

.about-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.16);
    border-color: rgba(59, 42, 122, 0.3);
}

.about-info-card .section-title {
    text-align: left;
    font-size: 1.28rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-pan {
    from {
        background-position: 48% center;
        transform: scale(1.01);
    }
    to {
        background-position: 52% center;
        transform: scale(1.02);
    }
}

@keyframes about-list-fade-in {
    from {
        opacity: 0;
        transform: translateX(14px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes about-heading-bg-kenburns {
    0% {
        transform: scale(1.06) translate(0%, 0%);
    }
    100% {
        transform: scale(1.14) translate(-1.8%, -1.2%);
    }
}

/* Variante suave para la foto de perfil más pequeña en About */
@keyframes about-heading-bg-kenburns-soft {
    0% {
        transform: scale(1.03) translate(0%, 0%);
    }
    100% {
        transform: scale(1.08) translate(-1.2%, -0.8%);
    }
}

.about-main ul,
.about-bio-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    border-left: 1px solid rgba(55, 65, 81, 0.28);
    columns: 1;
    width: 100%;
}

.about-main ul li,
.about-bio-list li {
    position: relative;
    break-inside: avoid;
    padding: 0.11rem 0 0.11rem 1rem;
    font-size: 0.8rem;
    line-height: 1.3;
}

/* About: misma tipografía/tamaño/color para todos los párrafos */
.about-main p,
.about-extra p,
.about-content-grid p {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    color: rgba(17, 24, 39, 0.88);
    font-weight: 400;
}

/* Pisa el color de .about-main p en el bloque CTA oscuro (misma especificidad, orden posterior) */
.about-main .about-lf-segment--cta p {
    color: rgba(248, 250, 255, 0.94);
}

.about-main ul li::before,
.about-bio-list li::before {
    content: "";
    position: absolute;
    left: 0.24rem;
    top: 0.56rem;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-cta), var(--accent-cta-alt));
}

@media (max-width: 900px) {
    .about-main-layout {
        align-items: flex-start;
    }

    .about-video-wrap {
        margin-top: 0;
        margin-bottom: 0;
        max-width: 100%;
    }

    .section-about-hero > .container,
    .about-wide-container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

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

    .about-credentials-card {
        margin-top: 0;
        align-self: auto;
        padding: 0.95rem 1rem 0.9rem;
        height: auto;
    }

    .about-credentials-card .about-bio-list {
        border-left-width: 1px;
        padding-left: 0.45rem;
    }

    .about-credentials-card .about-bio-list li {
        font-size: 0.82rem;
        line-height: 1.35;
    }

    .about-main ul,
    .about-bio-list {
        columns: 1;
    }

    .about-story-card,
    .about-info-card {
        padding: 1.05rem 1rem;
    }

    .about-content-grid {
        grid-template-columns: 1fr;
    }

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

    .about-heading-divider {
        width: 104px;
    }
}

@media (min-width: 901px) and (max-width: 1199px) {
    .section-about-hero > .about-wide-container,
    .section-alt > .about-wide-container,
    .about-wide-container {
        max-width: min(100%, 1100px) !important;
        padding-left: clamp(1rem, 2.5vw, 1.5rem) !important;
        padding-right: clamp(1rem, 2.5vw, 1.5rem) !important;
    }
}

@media (min-width: 1200px) {
    .section-about-hero > .about-wide-container,
    .section-alt > .about-wide-container,
    .about-wide-container {
        max-width: min(100%, 1200px) !important;
        padding-left: clamp(1.15rem, 2.5vw, 1.75rem) !important;
        padding-right: clamp(1.15rem, 2.5vw, 1.75rem) !important;
    }

    .about-content-grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.35fr) minmax(0, 0.9fr);
    }

    .about-extra {
        grid-column: 1 / 3;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }

    .about-extra .about-info-card:first-child {
        grid-column: 1 / -1;
    }

    .about-media-grid {
        grid-column: 3 / 4;
        grid-template-columns: 1fr;
    }

    .about-media-main {
        grid-column: 1 / 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-heading::before,
    .section-home-drum-banner::before,
    .section-testimonials-pro::before,
    .section-blog-hero::before {
        animation: none;
        transform: scale(1.08);
    }

    .about-reveal,
    .about-main,
    .about-extra,
    .about-photo-elevated,
    .about-credentials-card {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .about-credentials-card .about-bio-list li,
    .about-credentials-card .about-bio-list li::before {
        transition: none;
    }
}

.pillars-icon {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.grid-4 .card {
    border: 1px solid rgba(59, 42, 122, 0.12);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.pillars-media {
    width: 100%;
    height: 120px;
    border-radius: 0.8rem;
    overflow: hidden;
    margin-bottom: 0.8rem;
    background: #e8ecff;
}

.pillars-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.grid-4 .card:hover .pillars-media img {
    transform: scale(1.04);
}

.section-home-drum-banner {
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 3rem 0;
}

.section-home-drum-banner::before {
    content: "";
    position: absolute;
    inset: -10%;
    z-index: 0;
    background: url("../images/pages/tambores.jpg") center center / cover no-repeat;
    animation: about-heading-bg-kenburns 28s ease-in-out infinite alternate;
    will-change: transform;
}

.section-home-drum-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        130deg,
        rgba(26, 20, 66, 0.93) 0%,
        rgba(29, 28, 82, 0.89) 42%,
        rgba(21, 59, 103, 0.91) 100%
    );
}

.section-home-drum-banner > .container {
    max-width: 1200px;
    position: relative;
    z-index: 2;
}

.section-banner {
    border-radius: 0;
    padding: 2rem 1.65rem;
    max-width: 760px;
    background: transparent;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 0.78rem;
    align-items: flex-start;
    box-shadow: none;
    border: none;
}

.section-banner h2 {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin: 0;
}

.section-banner p,
.section-banner .card-meta {
    margin: 0;
    color: rgba(245, 248, 255, 0.92);
    font-size: 0.95rem;
    max-width: 640px;
}

/* Shop – product grid & cart */
.shop-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 2.5rem;
}

.shop-header .section-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.4rem;
    text-align: center;
    margin: 0;
}

.shop-header .section-subtitle {
    text-align: left;
    margin: 0 0 0.75rem;
}

.shop-platforms-section {
    padding: 0.5rem 0 0.9rem;
}

.shop-platforms-quick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem 1rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(231, 234, 251, 0.92));
    border: 1px solid rgba(39, 28, 87, 0.14);
    border-radius: 0.9rem;
    padding: 0.75rem 1rem;
    box-shadow: 0 12px 32px rgba(21, 15, 52, 0.1);
}

.shop-platforms-title {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-deep);
    letter-spacing: 0.02em;
}

.shop-platforms-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.shop-platform-link.btn {
    padding: 0.38rem 0.8rem;
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    border-color: rgba(39, 28, 87, 0.22);
    color: var(--accent-cta);
}

.shop-platform-link.btn:hover {
    border-color: transparent;
}

.shop-actions {
    flex-shrink: 0;
}

.shop-cart-link {
    text-decoration: none;
}

/* Shop page – hero y catálogo (alineado con home: morado/azul metalizado) */
.shop-page-hero.section {
    padding: 0.75rem 0 0.9rem;
}

.shop-page-hero {
    background: linear-gradient(165deg, var(--accent-deep) 0%, #1a1440 38%, var(--accent-cta-alt) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.shop-page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 100% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 0% 100%, rgba(45, 63, 127, 0.35) 0%, transparent 50%);
    pointer-events: none;
}

.shop-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}

.shop-hero-text {
    flex: 1 1 220px;
    max-width: 640px;
}

.shop-page-title {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.4vw, 1.65rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 0.35rem;
    color: var(--white);
    letter-spacing: 0.02em;
}

.shop-hero-lead {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.4;
    color: rgba(245, 248, 255, 0.85);
    max-width: 36rem;
}

.shop-hero-actions {
    flex-shrink: 0;
}

.shop-page-hero .shop-cart-link.btn-primary {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
}

.shop-cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    margin-left: 0.35rem;
    padding: 0.15rem 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    color: var(--white);
}

.shop-catalog {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
}

.shop-catalog-inner {
    max-width: 1200px;
}

.shop-results-toolbar {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.shop-results-count {
    display: inline-block;
    padding: 0.45rem 1.1rem;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-sage);
    background: rgba(45, 63, 127, 0.08);
    border: 1px solid rgba(39, 28, 87, 0.1);
    border-radius: 999px;
}

.shop-results-count strong {
    color: var(--accent-deep);
    font-weight: 700;
}

.shop-product-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

/* Shop: bloques inferiores (libro + más enlaces) */
.shop-book-block {
    padding-top: 2.5rem;
    padding-bottom: 2.75rem;
}

.shop-book-inner {
    align-items: start;
}

.shop-more-block {
    padding-top: 2.25rem;
    padding-bottom: 3rem;
}

.shop-more-inner {
    max-width: 1100px;
}

.shop-more-title {
    text-align: center;
    font-family: var(--font-heading);
    color: var(--accent-deep);
}

.shop-more-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 36rem;
    color: rgba(17, 24, 39, 0.78);
}

.shop-more-grid {
    margin-top: 0.25rem;
}

.shop-more-card {
    border: 1px solid rgba(39, 28, 87, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 26px rgba(21, 15, 52, 0.07);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.shop-more-card:hover {
    box-shadow: 0 14px 36px rgba(21, 15, 52, 0.12);
    transform: translateY(-2px);
}

.shop-more-card h3 {
    font-family: var(--font-heading);
    color: var(--accent-deep);
}

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

/* Contenido del blog (texto enriquecido) */
.blog-content {
    position: relative;
    font-size: 1rem;
    line-height: 1.8;
}

.blog-content img[data-img-layout="free"] {
    position: absolute;
    margin: 0;
    z-index: 1;
    max-width: 100%;
    height: auto;
}

.blog-content p {
    margin: 0 0 1.1rem;
}

.blog-content img:not([data-img-align]):not([data-img-layout="free"]) {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
    border-radius: 8px;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
    margin: 1.6rem 0 0.8rem;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.blog-content ul,
.blog-content ol {
    padding-left: 1.4rem;
    margin: 0 0 1.1rem;
}

/* Tablas dentro del texto (layout e imagen + contenido) */
.blog-content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 1.15rem 0;
    table-layout: auto;
}

/* Tablas 1–3 columnas: ancho legible en móvil (scroll suave si no caben) */
.blog-table-mobile-readable {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 0.5rem;
    margin: 1.15rem 0;
}

.blog-table-mobile-readable > table {
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: table;
    table-layout: fixed;
    border-collapse: collapse;
    box-sizing: border-box;
}

@media (min-width: 769px) {
    .blog-table-mobile-readable {
        overflow-x: visible;
    }
}

/* Tablas anchas (4+ columnas): contenedor con scroll lateral */
.blog-table-scroll {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    margin: 1.15rem 0;
}

.blog-table-scroll > table {
    width: max-content;
    min-width: 100%;
    max-width: none;
    margin: 0;
    display: table;
    table-layout: auto;
}

.blog-table-scroll > table td,
.blog-table-scroll > table th {
    white-space: normal;
    min-width: 7rem;
}

.blog-content table td,
.blog-content table th {
    vertical-align: top;
    text-align: left;
}

.blog-content table td p:first-child,
.blog-content table th p:first-child {
    margin-top: 0;
}

.blog-content table td p:last-child,
.blog-content table th p:last-child {
    margin-bottom: 0;
}

.blog-content table td > img,
.blog-content table th > img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Alineación persistida desde el editor (data-img-align) */
.blog-content p:has(> img[data-img-align="right"]:not([data-img-layout="free"])),
.blog-content > div:not([class]):has(> img[data-img-align="right"]:not([data-img-layout="free"])) {
    text-align: right;
}

.blog-content p:has(> img[data-img-align="center"]:not([data-img-layout="free"])),
.blog-content > div:not([class]):has(> img[data-img-align="center"]:not([data-img-layout="free"])) {
    text-align: center;
}

.blog-content p:has(> img[data-img-align="left"]:not([data-img-layout="free"])),
.blog-content > div:not([class]):has(> img[data-img-align="left"]:not([data-img-layout="free"])) {
    text-align: left;
}

.blog-content p img[data-img-align]:not([data-img-layout="free"]),
.blog-content > div:not([class]) img[data-img-align]:not([data-img-layout="free"]),
.blog-content figure img[data-img-align]:not([data-img-layout="free"]) {
    display: inline-block;
    vertical-align: top;
    margin: 0;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Imagen hija directa de .blog-content (sin párrafo): márgenes automáticos */
.blog-content > img[data-img-align="center"]:not([data-img-layout="free"]) {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
}

.blog-content > img[data-img-align="right"]:not([data-img-layout="free"]) {
    display: block;
    margin-left: auto;
    margin-right: 0;
    max-width: 100%;
    height: auto;
}

.blog-content > img[data-img-align="left"]:not([data-img-layout="free"]) {
    display: block;
    margin-left: 0;
    margin-right: auto;
    max-width: 100%;
    height: auto;
}

/* En celda, tamaño natural hasta que la celda sea más estrecha que la imagen (max-width: 100%) */
.blog-content table td img[data-img-in-cell="1"],
.blog-content table th img[data-img-in-cell="1"] {
    width: auto;
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
    display: block;
    margin: 0.35rem 0 0.5rem;
}

.blog-content table td img[data-img-in-cell="1"][data-img-align="center"],
.blog-content table th img[data-img-in-cell="1"][data-img-align="center"] {
    margin-left: auto;
    margin-right: auto;
}

.blog-content table td img[data-img-in-cell="1"][data-img-align="right"],
.blog-content table th img[data-img-in-cell="1"][data-img-align="right"] {
    margin-left: auto;
    margin-right: 0;
}

.blog-content table td img[data-img-in-cell="1"][data-img-align="left"],
.blog-content table th img[data-img-in-cell="1"][data-img-align="left"] {
    margin-left: 0;
    margin-right: auto;
}

/* Maquetación invisible (clase añadida por el editor al elegir borde «ninguno» / botón 2 columnas) */
.blog-content table.blog-table--layout {
    border: none !important;
    background: transparent !important;
    border-spacing: 0;
}

.blog-content table.blog-table--layout td,
.blog-content table.blog-table--layout th {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Maquetación 2–3 columnas: misma cuadrícula en todos los anchos de pantalla */
.blog-content table.blog-table--layout,
.blog-content table.blog-table--2col,
.blog-content table.blog-table--3col {
    table-layout: fixed;
    width: 100%;
    max-width: 100%;
}

.blog-content table.blog-table--layout td,
.blog-content table.blog-table--layout th,
.blog-content table.blog-table--2col td,
.blog-content table.blog-table--2col th,
.blog-content table.blog-table--3col td,
.blog-content table.blog-table--3col th {
    vertical-align: top;
    word-break: normal;
    overflow-wrap: break-word;
    box-sizing: border-box;
    /* El texto va a la izquierda; las imágenes se centran solo con data-img-align */
    text-align: left !important;
}

.blog-content table.blog-table--layout td :is(p, ul, ol, li, blockquote, div, h2, h3, h4),
.blog-content table.blog-table--2col td :is(p, ul, ol, li, blockquote, div, h2, h3, h4),
.blog-content table.blog-table--3col td :is(p, ul, ol, li, blockquote, div, h2, h3, h4),
.blog-content table.blog-table--layout th :is(p, ul, ol, li, blockquote, div, h2, h3, h4),
.blog-content table.blog-table--2col th :is(p, ul, ol, li, blockquote, div, h2, h3, h4),
.blog-content table.blog-table--3col th :is(p, ul, ol, li, blockquote, div, h2, h3, h4) {
    text-align: left;
}

.blog-content table.blog-table--layout td :is(ul, ol),
.blog-content table.blog-table--2col td :is(ul, ol),
.blog-content table.blog-table--3col td :is(ul, ol),
.blog-content table.blog-table--layout th :is(ul, ol),
.blog-content table.blog-table--2col th :is(ul, ol),
.blog-content table.blog-table--3col th :is(ul, ol) {
    padding-left: 1.35rem;
    margin-left: 0;
    list-style-position: outside;
}

@media (max-width: 768px) {
    /*
     * Móvil: tablas ≤3 columnas en .blog-table-mobile-readable (columnas legibles, scroll si hace falta).
     * 4+ columnas: .blog-table-scroll.
     */
    .blog-content table {
        display: table !important;
        border-collapse: collapse !important;
    }

    .blog-content table thead,
    .blog-content table tbody,
    .blog-content table tfoot {
        display: table-row-group !important;
    }

    .blog-content table tr {
        display: table-row !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .blog-content table td,
    .blog-content table th {
        display: table-cell !important;
        height: auto !important;
        min-height: 0 !important;
        vertical-align: top !important;
        text-align: left !important;
        float: none !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        hyphens: auto;
    }

    .blog-content table td :is(p, ul, ol, li, h2, h3, h4, div),
    .blog-content table th :is(p, ul, ol, li, h2, h3, h4, div) {
        text-align: left !important;
    }

    .blog-content .blog-table-mobile-readable {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }

    .blog-table-mobile-readable > table {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        table-layout: fixed !important;
        box-sizing: border-box !important;
    }

    /* Anchos proporcionales vía <colgroup> (%); padding para que el texto no roce el borde */
    .blog-table-mobile-readable > table td,
    .blog-table-mobile-readable > table th {
        overflow: visible !important;
        box-sizing: border-box !important;
        padding-left: 0.45rem !important;
        padding-right: 0.45rem !important;
    }

    .blog-table-mobile-readable > table[data-blog-cols="2"] td,
    .blog-table-mobile-readable > table[data-blog-cols="2"] th,
    .blog-table-mobile-readable > table[data-blog-cols="3"] td,
    .blog-table-mobile-readable > table[data-blog-cols="3"] th,
    .blog-table-mobile-readable > table.blog-table--2col td,
    .blog-table-mobile-readable > table.blog-table--2col th,
    .blog-table-mobile-readable > table.blog-table--3col td,
    .blog-table-mobile-readable > table.blog-table--3col th {
        min-width: 0 !important;
        max-width: none !important;
    }

    .blog-table-mobile-readable > table.blog-table--3col td,
    .blog-table-mobile-readable > table.blog-table--3col th {
        padding-left: 0.35rem !important;
        padding-right: 0.35rem !important;
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .blog-table-mobile-readable > table td :is(ul, ol),
    .blog-table-mobile-readable > table th :is(ul, ol) {
        list-style-position: inside;
        padding-left: 0.65rem;
        margin-left: 0;
    }

    .blog-table-mobile-readable > table[data-blog-cols="1"] td,
    .blog-table-mobile-readable > table[data-blog-cols="1"] th {
        min-width: 0 !important;
        width: auto !important;
    }

    .blog-table-mobile-readable > table td img,
    .blog-table-mobile-readable > table th img {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* 4+ columnas: scroll horizontal */
    .blog-table-scroll {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        margin-left: 0;
        margin-right: 0;
    }

    .blog-table-scroll > table {
        width: max-content;
        min-width: 100%;
        max-width: none;
        display: table !important;
        table-layout: auto;
        font-size: 0.88rem;
    }

    .blog-table-scroll > table thead,
    .blog-table-scroll > table tbody,
    .blog-table-scroll > table tfoot {
        display: table-row-group !important;
    }

    .blog-table-scroll > table tr {
        display: table-row !important;
    }

    .blog-table-scroll > table td,
    .blog-table-scroll > table th {
        display: table-cell !important;
        white-space: normal;
        min-width: 7rem;
        padding: 0.5rem 0.65rem !important;
        line-height: 1.45;
    }

    /* Imágenes libres / posicionadas (editor) */
    .blog-content img[data-img-layout="free"],
    .blog-content img[style*="position: absolute"],
    .blog-content img[style*="position:absolute"] {
        position: static !important;
        left: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 1rem auto !important;
        display: block;
        max-width: 100%;
    }
}

/* Reacciones y comentarios integrados en la misma tarjeta del artículo */
.blog-reactions {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(44, 26, 14, 0.08);
}

.blog-reactions-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.blog-reactions-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-reaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border: 1px solid rgba(44, 26, 14, 0.2);
    border-radius: 999px;
    background: var(--white);
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.blog-reaction-btn:hover {
    border-color: var(--accent-cta);
    background: rgba(184, 92, 56, 0.06);
}

.blog-reaction-btn.is-active {
    border-color: var(--accent-deep);
    background: rgba(184, 92, 56, 0.1);
}

.blog-reaction-icon {
    font-size: 1.1rem;
}

.blog-reaction-count {
    min-width: 1.25rem;
    text-align: center;
}

/* Comentarios del blog (mismo bloque que el artículo) */
.blog-comments {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(44, 26, 14, 0.08);
}

.blog-comments-title {
    font-size: 1.2rem;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0 0 1.25rem;
}

.blog-comment-message {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.blog-comment-success {
    background: rgba(40, 120, 60, 0.12);
    color: #1a5c2e;
}

.blog-comment-error {
    background: rgba(180, 50, 50, 0.1);
    color: #8b2828;
}

.blog-comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.blog-comment-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(44, 26, 14, 0.08);
}

.blog-comment-item:last-child {
    border-bottom: none;
}

.blog-comment-author {
    font-size: 0.95rem;
}

.blog-comment-date {
    font-size: 0.8rem;
    color: rgba(44, 26, 14, 0.6);
    margin-left: 0.5rem;
}

.blog-comment-text {
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
    line-height: 1.55;
}

.blog-comment-form-wrap {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(44, 26, 14, 0.1);
}

.blog-comment-form-title {
    font-size: 1rem;
    margin: 0 0 1rem;
}

.blog-comment-field {
    margin-bottom: 1rem;
}

.blog-comment-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.blog-comment-field input,
.blog-comment-field textarea {
    width: 100%;
    padding: 0.6rem 0.85rem;
    font-size: 0.95rem;
    font-family: inherit;
    border: 1px solid rgba(44, 26, 14, 0.2);
    border-radius: 8px;
}

.blog-comment-field textarea {
    min-height: 100px;
    resize: vertical;
}

/* Blog post preset: Editorial (tipo WordPress) */
.blog-post-layout-editorial .blog-post-container {
    max-width: 1240px;
}

.blog-post-layout-editorial .blog-post-header {
    margin-bottom: 1.75rem;
}

.blog-post-layout-editorial .blog-post-container .blog-post-title {
    max-width: 18ch;
    margin: 0.2rem auto 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4.4vw, 3.1rem);
    line-height: 1.14;
    font-weight: 700;
    color: #191919;
    text-wrap: balance;
}

.blog-post-layout-editorial .blog-post-top-row {
    justify-content: center;
    gap: 0.8rem 1.2rem;
}

.blog-post-layout-editorial .blog-post-back-link {
    order: 2;
    margin-top: 0.3rem;
}

.blog-post-layout-editorial .blog-post-meta-block {
    order: 1;
    align-items: center;
    text-align: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.8rem;
    font-size: 0.9rem;
    color: rgba(30, 30, 30, 0.68);
}

.blog-post-layout-editorial .blog-post-date,
.blog-post-layout-editorial .blog-post-category,
.blog-post-layout-editorial .blog-post-views {
    font-size: 0.88rem;
    color: rgba(30, 30, 30, 0.65);
}

.blog-post-layout-editorial .blog-post-card {
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.09);
    box-shadow: 0 12px 30px rgba(14, 20, 33, 0.08);
    padding: clamp(1.1rem, 2.4vw, 2.3rem);
}

.blog-post-layout-editorial .blog-content {
    max-width: 1100px;
    margin: 0 auto;
    font-size: 1.06rem;
    line-height: 1.82;
    color: #232323;
}

.blog-post-layout-editorial .blog-content p {
    margin: 0 0 1.25rem;
}

.blog-post-layout-editorial .blog-content h2,
.blog-post-layout-editorial .blog-content h3,
.blog-post-layout-editorial .blog-content h4 {
    margin: 2rem 0 0.85rem;
    line-height: 1.25;
    color: #191919;
    font-family: Georgia, "Times New Roman", serif;
}

.blog-post-layout-editorial .blog-content ul,
.blog-post-layout-editorial .blog-content ol {
    margin: 0 0 1.25rem;
    padding-left: 1.35rem;
}

.blog-post-layout-editorial .blog-content img:not([data-img-align]):not([data-img-layout="free"]) {
    border-radius: 12px;
    margin: 1.4rem auto;
}

.blog-post-layout-editorial .blog-content p img[data-img-align]:not([data-img-layout="free"]),
.blog-post-layout-editorial .blog-content > div:not([class]) img[data-img-align]:not([data-img-layout="free"]),
.blog-post-layout-editorial .blog-content figure img[data-img-align]:not([data-img-layout="free"]) {
    border-radius: 12px;
    margin: 0;
}

.blog-post-layout-editorial .blog-content table td img,
.blog-post-layout-editorial .blog-content table th img {
    display: block;
    margin: 0 0 0.75rem;
}

.blog-post-layout-editorial .blog-content table td img[data-img-in-cell="1"],
.blog-post-layout-editorial .blog-content table th img[data-img-in-cell="1"] {
    width: auto;
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}

.blog-post-layout-editorial .blog-content table.blog-table--layout td img,
.blog-post-layout-editorial .blog-content table.blog-table--layout th img {
    margin: 0 0 1rem;
}

.blog-post-layout-editorial .blog-content table.blog-table--layout td,
.blog-post-layout-editorial .blog-content table.blog-table--layout th,
.blog-post-layout-editorial .blog-content table.blog-table--2col td,
.blog-post-layout-editorial .blog-content table.blog-table--2col th,
.blog-post-layout-editorial .blog-content table.blog-table--3col td,
.blog-post-layout-editorial .blog-content table.blog-table--3col th {
    text-align: left !important;
}

.blog-post-layout-editorial .blog-content table.blog-table--layout td :is(p, ul, ol, li, h2, h3, h4),
.blog-post-layout-editorial .blog-content table.blog-table--2col td :is(p, ul, ol, li, h2, h3, h4),
.blog-post-layout-editorial .blog-content table.blog-table--3col td :is(p, ul, ol, li, h2, h3, h4) {
    text-align: left;
}

.blog-post-layout-editorial .blog-content blockquote {
    margin: 1.5rem 0;
    padding: 0.8rem 1rem;
    border-left: 4px solid rgba(91, 69, 38, 0.35);
    background: rgba(91, 69, 38, 0.06);
    border-radius: 8px;
    font-style: italic;
}

.blog-post-layout-editorial .blog-content .wp-block-columns,
.blog-post-layout-editorial .blog-content .benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    margin: 1.6rem 0;
}

.blog-post-layout-editorial .blog-content .wp-block-column,
.blog-post-layout-editorial .blog-content .benefit-card {
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 12px;
    padding: 0.95rem;
    background: #fff;
}

/* Compatibilidad con contenido importado de Elementor (2 columnas) */
.blog-post-layout-editorial .blog-content .e-con-boxed > .e-con-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
    margin: 1.6rem 0;
}

.blog-post-layout-editorial .blog-content .e-con-boxed > .e-con-inner > .e-child {
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 12px;
    background: #fff;
    padding: 0.95rem;
}

.blog-post-layout-editorial .blog-content .elementor-widget-container > :last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    /* Hasta 2 columnas en bloques importados (Elementor / WP): mantener lado a lado como en escritorio */
    .blog-post-layout-editorial .blog-content .wp-block-columns,
    .blog-post-layout-editorial .blog-content .benefits-grid,
    .blog-post-layout-editorial .blog-content .e-con-boxed > .e-con-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

  /* 4+ columnas en esos bloques: apilar */
    .blog-post-layout-editorial .blog-content .wp-block-columns:has(.wp-block-column:nth-child(4)),
    .blog-post-layout-editorial .blog-content .benefits-grid:has(> :nth-child(4)),
    .blog-post-layout-editorial .blog-content .e-con-boxed > .e-con-inner:has(> .e-child:nth-child(4)) {
        grid-template-columns: 1fr;
    }
}

/* Blog: ajustes móvil y tablet (listado + artículo + contenido importado) */
@media (max-width: 768px) {
    .blog-post-container,
    .blog-index-layout,
    .blog-index-main {
        min-width: 0;
    }

    .blog-content {
        min-width: 0;
        max-width: 100%;
        overflow-x: clip;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .blog-post-container .card.blog-post-card {
        min-width: 0;
        max-width: 100%;
        overflow-x: clip;
    }

    .blog-content img.alignleft,
    .blog-content img.alignright,
    .blog-content img.aligncenter,
    .blog-content .alignleft,
    .blog-content .alignright,
    .blog-content .aligncenter,
    .blog-content .wp-block-image.alignleft,
    .blog-content .wp-block-image.alignright,
    .blog-content .wp-block-image.aligncenter,
    .blog-content figure.alignleft,
    .blog-content figure.alignright,
    .blog-content figure.aligncenter {
        float: none !important;
        display: block;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
    }

    .blog-content img[width] {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .blog-content img[data-img-layout="free"] {
        position: static !important;
        left: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 1rem auto !important;
        display: block;
        max-width: 100%;
    }

    .blog-content iframe,
    .blog-content video,
    .blog-content embed {
        max-width: 100%;
    }

    .blog-content pre {
        overflow-x: auto;
        max-width: 100%;
        font-size: 0.85rem;
        white-space: pre-wrap;
    }

    .section-blog-post {
        padding: 0.75rem 0 2.75rem;
    }

    .blog-post-container .blog-post-title {
        font-size: clamp(1.35rem, 5.5vw, 1.65rem);
        text-align: left;
        line-height: 1.25;
    }

    .blog-post-top-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    .blog-post-meta-block {
        align-items: flex-start;
        text-align: left;
    }

    .blog-post-container .card.blog-post-card {
        padding: 1rem 0.9rem;
        border-radius: 0.85rem;
    }

    .blog-content {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .blog-content h1 {
        font-size: clamp(1.35rem, 5vw, 1.75rem);
        line-height: 1.25;
    }

    .blog-content h2 {
        font-size: clamp(1.2rem, 4.5vw, 1.5rem);
    }

    .blog-content h3 {
        font-size: clamp(1.05rem, 4vw, 1.25rem);
    }

    .blog-post-layout-editorial .blog-post-container .blog-post-title {
        max-width: none;
        text-align: center;
        font-size: clamp(1.45rem, 6.5vw, 2rem);
    }

    .blog-post-layout-editorial .blog-post-top-row {
        flex-direction: column;
        align-items: center;
    }

    .blog-post-layout-editorial .blog-post-back-link {
        order: 0;
        margin-top: 0;
    }

    .blog-reactions-buttons {
        gap: 0.4rem;
    }

    .blog-reaction-btn {
        flex: 1 1 calc(50% - 0.25rem);
        justify-content: center;
        min-width: 0;
    }

    .blog-comment-date {
        display: block;
        margin-left: 0;
        margin-top: 0.2rem;
    }

    .blog-index-toolbar .blog-tag-cloud {
        gap: 0.4rem;
    }

    .blog-index-toolbar .blog-tag-pill {
        font-size: 0.72rem;
        padding: 0.28rem 0.6rem;
    }
}

.product-card {
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 14px;
    border: 1px solid rgba(39, 28, 87, 0.1);
    box-shadow: 0 8px 28px rgba(21, 15, 52, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(21, 15, 52, 0.14);
    border-color: rgba(39, 28, 87, 0.16);
}

.product-image-wrap {
    position: relative;
    height: 220px;
    background: linear-gradient(180deg, rgba(45, 63, 127, 0.06) 0%, rgba(255, 255, 255, 0.96) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 0.85rem;
    box-sizing: border-box;
}

/* Carrusel de imágenes del producto */
.product-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-carousel-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-carousel-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.product-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-carousel-slide .product-image {
    max-width: 100%;
    max-height: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.product-carousel-slide .product-placeholder {
    width: 100%;
    height: 100%;
    max-height: 220px;
}

.product-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background 0.2s, color 0.2s;
    z-index: 2;
}

.product-carousel-arrow:hover {
    background: var(--accent-deep);
    color: var(--white);
}

.product-carousel-prev {
    left: 0.5rem;
}

.product-carousel-next {
    right: 0.5rem;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    max-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--text-primary);
    opacity: 0.5;
}

.product-image {
    max-width: 100%;
    max-height: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Página de detalle de producto */
.product-detail-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: flex-start;
}

.product-detail-gallery {
    flex: 0 0 360px;
    max-width: 100%;
}

.product-detail-info {
    flex: 1 1 280px;
    max-width: 560px;
}

.product-detail-title {
    margin-bottom: 0.75rem;
}

.product-detail-price {
    margin-top: 0;
}

.product-detail-actions {
    margin-top: 1.5rem;
}

.product-detail-qty {
    max-width: 120px;
    display: inline-block;
    margin-right: 0.75rem;
}

.product-detail-description {
    margin-top: 2.5rem;
    max-width: 720px;
}

.product-detail-description-title {
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-deep);
    margin-bottom: 0.75rem;
}

.product-desc-long {
    font-size: 0.98rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .product-detail-layout {
        flex-direction: column;
    }

    .product-detail-gallery,
    .product-detail-info {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.product-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 4px;
}

.product-badge-sale {
    background: var(--accent-cta);
    color: var(--white);
}

.product-badge-out {
    background: var(--text-primary);
    color: var(--white);
}

.product-body {
    padding: 0.85rem 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex: 0 0 auto;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.25;
    color: var(--accent-deep);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-desc {
    font-size: 0.82rem;
    color: var(--accent-sage);
    opacity: 0.95;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.product-price-old {
    font-size: 0.82rem;
    text-decoration: line-through;
    opacity: 0.7;
}

.product-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--accent-deep);
}

.product-actions {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin-top: 0.35rem;
}

.product-actions .btn,
.product-actions .product-add-form .btn {
    flex: 1;
    min-width: 0;
}

.product-actions .product-add-form {
    flex: 1;
    min-width: 0;
}

.product-actions .product-unavailable {
    width: 100%;
}

.product-add-form {
    margin-top: 0;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.product-unavailable {
    margin: 0;
    font-size: 0.88rem;
    opacity: 0.8;
}

/* Modal detalle producto */
.product-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.product-modal[hidden] {
    display: none;
}

.product-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(44, 26, 14, 0.5);
    cursor: pointer;
}

.product-modal-box {
    position: relative;
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    overflow: auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.product-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: none;
    background: rgba(0, 0, 0, 0.06);
    color: var(--text-primary);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    z-index: 3;
    transition: background 0.2s, color 0.2s;
}

.product-modal-close:hover {
    background: var(--accent-deep);
    color: var(--white);
}

.product-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
}

@media (max-width: 640px) {
    .product-modal-content {
        grid-template-columns: 1fr;
    }
}

.product-modal-gallery {
    min-height: 200px;
    background: var(--bg-section);
    border-radius: 8px;
    position: relative;
}

.product-modal-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 280px;
    overflow: hidden;
}

.product-modal-slides {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 280px;
    transition: transform 0.3s ease;
}

.product-modal-slides .product-modal-slide {
    flex: 0 0 100%;
    width: 100%;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.product-modal-slides .product-modal-slide img {
    max-width: 100%;
    max-height: 260px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-modal-carousel .product-carousel-prev {
    left: 0.5rem;
}

.product-modal-carousel .product-carousel-next {
    right: 0.5rem;
}

.product-modal-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-modal-title {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.35rem;
    margin: 0;
    line-height: 1.35;
}

.product-modal-desc {
    font-size: 0.95rem;
    margin: 0;
    flex: 1;
    line-height: 1.5;
}

.product-modal-price-wrap {
    font-size: 1.1rem;
}

.product-modal-price-wrap .product-price-old {
    text-decoration: line-through;
    margin-right: 0.5rem;
    opacity: 0.8;
}

.product-modal-add-form {
    margin-top: 0.5rem;
}

.product-modal-unavailable {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Cart */
.cart-wrap {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 1.25rem;
    align-items: start;
}

.cart-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.cart-item.card {
    padding: 0.85rem 1.1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(44, 26, 14, 0.08);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

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

.cart-item-title {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.15rem;
}

.cart-item-price {
    margin: 0;
    font-size: 0.88rem;
    opacity: 0.88;
}

.cart-item-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.cart-qty-form {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.cart-qty-input {
    width: 3.25rem;
    padding: 0.3rem 0.4rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    font: inherit;
    font-size: 0.9rem;
}

.btn-small {
    padding: 0.3rem 0.6rem;
    font-size: 0.78rem;
}

.cart-remove-btn {
    color: var(--accent-deep);
}

.cart-summary.card {
    padding: 1rem 1.1rem;
    border-radius: 8px;
    border: 1px solid rgba(44, 26, 14, 0.08);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.cart-summary {
    position: sticky;
    top: 5rem;
}

.cart-total-label {
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 0.2rem;
    opacity: 0.9;
}

.cart-total-amount {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--accent-deep);
}

.cart-shipping-alert {
    background: rgba(45, 63, 127, 0.1);
    border: 1px solid rgba(39, 28, 87, 0.2);
    color: var(--accent-deep);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cart-shipping-block {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(39, 28, 87, 0.12);
}

.cart-shipping-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-sage);
    margin-bottom: 0.4rem;
}

.cart-shipping-select {
    width: 100%;
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
    font-family: var(--font-body);
    border: 1px solid rgba(39, 28, 87, 0.24);
    border-radius: 8px;
    background: var(--bg-section);
    color: var(--text-primary);
}

.cart-totals-breakdown {
    margin-bottom: 0.75rem;
}

.cart-total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.cart-total-line span:last-child {
    font-weight: 600;
    color: var(--accent-deep);
}

.cart-shipping-hint {
    font-size: 0.82rem;
    color: var(--accent-sage);
    margin: 0.5rem 0 0;
    line-height: 1.4;
}

.cart-summary .btn-block {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.cart-summary .btn-block + .btn-block {
    margin-top: 0.4rem;
}

.cart-summary .btn-block:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
}

.two-column .section-title {
    text-align: left;
}

.block-with-title > .section-title {
    text-align: left;
    margin-bottom: 1.25rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.testimonial {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 0.9rem;
    padding: 0.95rem;
    font-size: 0.88rem;
    border: 1px solid rgba(59, 42, 122, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.14);
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 0.75rem;
}

.testimonial-name {
    font-weight: 600;
    margin: 0;
}

.section-testimonials-pro {
    position: relative;
    overflow: hidden;
    background: transparent;
    padding-top: 2.5rem;
    padding-bottom: 2.6rem;
}

.section-testimonials-pro::before {
    content: "";
    position: absolute;
    inset: -10%;
    z-index: 0;
    background: url("../images/pages/imagen1.jpeg") center center / cover no-repeat;
    animation: about-heading-bg-kenburns 34s ease-in-out infinite alternate-reverse;
    will-change: transform;
}

.section-testimonials-pro::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(140deg, rgba(27, 34, 64, 0.93) 0%, rgba(28, 38, 73, 0.91) 100%);
}

.section-testimonials-pro > .container {
    position: relative;
    z-index: 2;
}

.section-testimonials-pro .section-title,
.section-testimonials-pro .section-subtitle {
    color: rgba(255, 255, 255, 0.95);
}

.section-testimonials-pro .section-subtitle {
    margin-bottom: 1.35rem;
}

.google-reviews-preview {
    margin-top: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    backdrop-filter: none;
}

.reviews-sources {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1rem;
}

.reviews-source {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0.75rem;
    padding: 0.8rem 0.85rem;
}

.reviews-source-title {
    margin: 0;
    font-size: 0.95rem;
    color: #1b2240;
}

.reviews-source-subtitle {
    margin: 0.15rem 0 0.55rem;
    font-size: 0.78rem;
    color: rgba(17, 24, 39, 0.72);
}

.reviews-source-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.reviews-source-list li {
    position: relative;
    margin: 0;
    padding: 0.36rem 0 0.36rem 0.9rem;
    font-size: 0.8rem;
    line-height: 1.35;
    color: rgba(17, 24, 39, 0.9);
    border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.reviews-source-list li:first-child {
    border-top: none;
}

.reviews-source-list li::before {
    content: "";
    position: absolute;
    left: 0.2rem;
    top: 0.88rem;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: rgba(27, 34, 64, 0.7);
}

.reviews-source-cta {
    margin: 0.65rem 0 0;
    text-align: left;
}

.reviews-source-cta .btn {
    padding: 0.34rem 0.75rem;
    font-size: 0.7rem;
}

.reviews-write-cta {
    margin: 0;
    text-align: left;
}

.reviews-write-cta .btn {
    min-width: 220px;
}

.reviews-write-row {
    margin-top: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.reviews-qr-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
}

.reviews-qr-image {
    width: 92px;
    height: 92px;
    border-radius: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: #ffffff;
    padding: 0.3rem;
}

.reviews-qr-text {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-footer {
    background:
        linear-gradient(112deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.015) 18%, rgba(255, 255, 255, 0.07) 36%, rgba(255, 255, 255, 0.02) 54%, rgba(255, 255, 255, 0.065) 72%, rgba(255, 255, 255, 0.02) 100%),
        linear-gradient(140deg, #150f34 0%, #271c57 26%, #3c2f74 46%, #2d3f7f 66%, #17385f 84%, #0f2c4f 100%);
    color: rgba(255, 255, 255, 0.85);
    margin-top: 2rem;
    padding-top: 1rem;
}

.site-footer .container.footer-grid {
    max-width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1.2fr 1fr;
    gap: 1.5rem 2rem;
    align-items: start;
}

.footer-brand .logo-text {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 600;
}

.footer-tagline {
    max-width: 20rem;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    line-height: 1.35;
}

.footer-links h4,
.footer-contact h4,
.footer-map-social h4 {
    margin-top: 0;
    margin-bottom: 0.35rem;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 1.25rem;
}

.footer-links li {
    margin-bottom: 0.15rem;
    break-inside: avoid;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.82rem;
}

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

.footer-contact p {
    font-size: 0.82rem;
    margin: 0.15rem 0;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.94);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.98);
    text-decoration: none;
    font-weight: 500;
}

.footer-contact a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.map-embed iframe {
    width: 100%;
    min-height: 120px;
    border: 0;
    border-radius: 0.5rem;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
}

.footer-social a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.footer-social-icon {
    width: 1.1rem;
    height: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom .container {
    max-width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
}

.contact-fabs {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 1300;
}

.whatsapp-fab,
.telegram-fab {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.whatsapp-fab {
    background: #128C7E;
}

.telegram-fab {
    background: #229ED9;
}

.contact-fab-icon {
    width: 26px;
    height: 26px;
    display: block;
}

.whatsapp-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    background: #0c6a5f;
}

.telegram-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    background: #1a8bc4;
}

@media (max-width: 640px) {
    .contact-fabs {
        right: 1rem;
        bottom: 1rem;
    }

    .whatsapp-fab,
    .telegram-fab {
        width: 52px;
        height: 52px;
    }
}

.work-with-me-grid {
    margin-bottom: 1.5rem;
}

.work-with-me-grid .card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 255, 0.95));
    border: 1px solid rgba(39, 28, 87, 0.14);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.work-with-me-grid .card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-deep), var(--accent-cta), var(--accent-cta-alt));
    opacity: 0.85;
}

.work-with-me-grid .card:hover {
    transform: translateY(-4px);
    border-color: rgba(39, 28, 87, 0.28);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
}

.work-with-me-grid .card h3 {
    margin-bottom: 0.55rem;
}

.work-with-me-grid .card p {
    color: rgba(17, 24, 39, 0.88);
}

.work-with-me-grid .card .btn-outline {
    border-color: rgba(39, 28, 87, 0.42);
    color: var(--accent-cta);
    background: rgba(39, 28, 87, 0.03);
}

.work-with-me-grid .card .btn-outline:hover {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--accent-deep), var(--accent-cta), var(--accent-cta-alt));
}

/* Home - Workshops & Groups cards styled like Work With Me */
.workshops-groups-grid .card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 255, 0.95));
    border: 1px solid rgba(39, 28, 87, 0.14);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.workshops-groups-grid .card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-deep), var(--accent-cta), var(--accent-cta-alt));
    opacity: 0.85;
}

.workshops-groups-grid .card:hover {
    transform: translateY(-4px);
    border-color: rgba(39, 28, 87, 0.28);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
}

.workshops-groups-grid .card h3 {
    margin-bottom: 0.55rem;
}

.workshops-groups-grid .card p {
    color: rgba(17, 24, 39, 0.88);
}

.card-meta {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0.75rem 0 1rem;
}

.centered-cta {
    text-align: center;
    margin-top: 2rem;
}

.events-list,
.blog-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
    font-size: 0.95rem;
}

.events-list li,
.blog-list li {
    margin-bottom: 0.75rem;
}

.events-list__item {
    margin-bottom: 1.15rem;
}

.events-list__cta {
    margin-top: 0.65rem;
}

.drum-dates {
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.drum-date {
    margin: 0;
    padding: 1.15rem 1.2rem 1.2rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(39, 28, 87, 0.1);
    box-shadow: 0 10px 24px rgba(39, 28, 87, 0.06);
}

.drum-date__title {
    margin: 0 0 0.7rem;
    color: var(--accent-cta);
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.45;
    text-wrap: balance;
}

.drum-date__line {
    margin: 0;
    color: rgba(39, 28, 87, 0.78);
    font-size: 0.92rem;
    line-height: 1.45;
}

.drum-date__line--place {
    margin-top: 0.2rem;
}

.drum-date__cta {
    margin-top: 1rem;
}

.events-list__link {
    color: inherit;
    text-decoration: none;
}

.events-list__link:hover strong {
    color: var(--accent-cta);
}

.events-list__meta,
.events-list__category {
    font-size: 0.9em;
    color: var(--text-secondary);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 340px));
    gap: 1rem;
    justify-content: start;
}

.event-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(39, 28, 87, 0.12);
    background: #fff;
    box-shadow: 0 10px 24px rgba(21, 15, 52, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(21, 15, 52, 0.14);
}

.event-card__media-link {
    display: block;
    line-height: 0;
}

.event-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.event-card__image--placeholder {
    background: linear-gradient(135deg, #2a3568 0%, #5346a8 100%);
    color: #fff;
    display: grid;
    place-items: center;
    padding: 1rem;
    text-align: center;
    line-height: 1.4;
}

.event-card__body {
    padding: 1rem 1rem 1.1rem;
}

.event-card__title {
    margin: 0 0 0.45rem;
    font-size: 1.28rem;
    line-height: 1.28;
    font-weight: 800;
    color: #15172b;
    letter-spacing: 0.01em;
}

.event-card__meta {
    margin: 0 0 0.8rem;
    color: var(--text-muted);
    font-size: 0.84rem;
    font-weight: 500;
    opacity: 0.82;
}

.event-card__chips {
    margin: 0 0 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.event-card__chips span {
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    background: rgba(50, 60, 120, 0.08);
    color: #2a3568;
}

.event-card__archive {
    margin: 0;
    color: var(--text-muted);
}

/* Events page — hero band (compacto, tipografía Inter como el resto de la página) */
.events-hero.section {
    padding: 0.9rem 0 1rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, var(--accent-deep) 0%, #1a1440 42%, var(--accent-cta-alt) 100%);
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.events-hero__backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 70% at 100% 0%, rgba(255, 255, 255, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 55% 60% at 0% 100%, rgba(45, 63, 127, 0.35) 0%, transparent 50%);
}

.events-hero__backdrop::after {
    display: none;
}

.events-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem 1.25rem;
    flex-wrap: wrap;
}

.events-hero__copy {
    flex: 1 1 16rem;
    max-width: 38rem;
}

.events-hero__eyebrow {
    margin: 0 0 0.28rem;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(230, 225, 255, 0.78);
}

.events-hero__eyebrow::before {
    content: "◆";
    display: inline-block;
    margin-right: 0.35rem;
    font-size: 0.45rem;
    vertical-align: middle;
    color: rgba(255, 247, 194, 0.85);
}

.events-hero__title {
    margin: 0 0 0.3rem;
    font-family: var(--font-body);
    font-size: clamp(1.3rem, 2.2vw, 1.55rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #fff;
    text-wrap: balance;
}

.events-hero__lead {
    margin: 0;
    max-width: 34rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.45;
    color: rgba(245, 248, 255, 0.82);
}

.events-hero__stats {
    display: inline-flex;
    gap: 0.4rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.events-hero__stat {
    display: inline-flex;
    align-items: baseline;
    gap: 0.3rem;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.events-hero__stat--upcoming {
    background: rgba(255, 255, 255, 0.14);
}

.events-hero__stat-value {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
}

.events-hero__stat-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    color: rgba(245, 248, 255, 0.78);
}

.events-page.section {
    padding: 1.35rem 0 2.5rem;
}

.events-block-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    font-family: var(--font-body);
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--accent-deep, #1a1a2e);
}

.events-block-title::before {
    content: "";
    flex-shrink: 0;
    width: 1.75rem;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent-cta) 0%, rgba(79, 70, 229, 0.15) 100%);
}

.events-block-title--past {
    margin-top: 1.65rem;
}

.events-empty {
    margin-bottom: 0.5rem;
    padding: 1.35rem 1.25rem;
    border-radius: 14px;
    text-align: center;
    background: linear-gradient(180deg, rgba(79, 70, 229, 0.06) 0%, rgba(255, 255, 255, 0.9) 100%);
    border: 1px dashed rgba(79, 70, 229, 0.22);
}

.events-empty__text {
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(31, 36, 48, 0.78);
}

.events-empty__text--inline {
    margin: 0 0 1rem;
}

@media (max-width: 720px) {
    .events-hero.section {
        padding: 0.8rem 0 0.9rem;
    }

    .events-hero__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .events-hero__stats {
        width: 100%;
    }
}

.event-card__title,
.event-card__meta,
.event-card__chips span,
.event-card .btn {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.event-payment-cta-wrap {
    margin-top: 1.35rem;
    display: block;
    max-width: 430px;
}

.event-payment-cta-btn {
    width: 100%;
    min-height: 64px;
    border: 0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
    background: linear-gradient(135deg, #2a3568 0%, #4f46b4 100%);
    color: #fff;
    box-shadow: 0 14px 30px rgba(43, 54, 118, 0.34);
    font-weight: 700;
    cursor: pointer;
    transition: transform 170ms ease, box-shadow 170ms ease, filter 170ms ease;
}

.event-payment-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(43, 54, 118, 0.4);
    filter: saturate(1.06);
}

.event-payment-cta-btn:active {
    transform: translateY(0);
}

.event-payment-cta-btn__label {
    text-align: left;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
}

.event-payment-cta-btn__amount {
    flex-shrink: 0;
    padding: 0.28rem 0.56rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.event-payment-cta-btn__amount--sale {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
}

.event-payment-price-old {
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: line-through;
    opacity: 0.78;
}

.event-payment-price-sale {
    font-size: 0.98rem;
    font-weight: 900;
    color: #fff7c2;
    text-shadow: 0 0 12px rgba(255, 247, 194, 0.35);
}

.event-rich-content {
    line-height: 1.5;
    font-size: 1rem;
}

.event-rich-content p {
    margin: 0 0 0.55rem;
    white-space: normal;
}

.event-rich-content div,
.event-rich-content li {
    white-space: normal;
}

.event-rich-content h2,
.event-rich-content h3,
.event-rich-content h4 {
    margin: 0.9rem 0 0.45rem;
}

.event-payment-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.event-payment-modal[hidden] {
    display: none !important;
}

.event-payment-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 25, 0.42);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 180ms ease;
}

.event-payment-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(94vw, 420px);
    background: #ffffff;
    border: 1px solid rgba(39, 28, 87, 0.14);
    border-radius: 14px;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.28);
    padding: 1rem;
    opacity: 0;
    transform: translateY(8px) scale(0.985);
    transition: opacity 180ms ease, transform 180ms ease;
}

.event-payment-modal.is-open .event-payment-modal__backdrop {
    opacity: 1;
}

.event-payment-modal.is-open .event-payment-modal__dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.event-payment-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
}

.event-payment-modal__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #161a31;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.event-payment-modal__close {
    border: 0;
    background: transparent;
    color: #4a4f6a;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.event-payment-modal__subtitle {
    margin: 0.45rem 0 0.85rem;
    font-size: 0.9rem;
    color: #5a607a;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.event-payment-modal__form {
    margin: 0 0 0.5rem;
}

.event-payment-modal__form:last-child {
    margin-bottom: 0;
}

.event-payment-modal__btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 42px;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 0.01em;
}

.event-payment-modal__btn-icon {
    display: inline-flex;
    width: 1.15rem;
    justify-content: center;
}

.event-payment-modal__btn--primary {
    background: linear-gradient(135deg, #2a3568 0%, #4f46b4 100%);
    border: 0;
    color: #fff;
}

.payment-option[hidden] {
    display: none !important;
}

/* Honeypot antispam: oculto visualmente (no usar display:none para algunos bots) */
.form-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.form-honeypot label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.newsletter-section .newsletter-form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
}

.newsletter-form label {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    gap: 0.25rem;
}

.newsletter-form input[type="email"],
.newsletter-form input[type="text"] {
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    font: inherit;
}

.newsletter-form fieldset {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.75rem;
    padding: 0.75rem 0.9rem 0.9rem;
    font-size: 0.85rem;
}

.newsletter-form legend {
    padding: 0 0.35rem;
    font-weight: 600;
}

.newsletter-form fieldset label {
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
}

/* Sacred drums — drum inquiry form */
#drum-inquiry,
#apply,
#apply-form {
    scroll-margin-top: 1.5rem;
}

.sd-inquiry-section {
    padding: 2.5rem 0 3rem;
}

.sd-inquiry__header {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 1.75rem;
}

.sd-inquiry__eyebrow {
    margin: 0 0 0.35rem;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-sage);
}

.sd-inquiry__title {
    margin: 0 0 0.45rem;
    font-family: var(--font-body);
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--accent-deep);
}

.sd-inquiry__lead {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(31, 36, 48, 0.78);
}

.sd-inquiry__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
    gap: 1.5rem 2rem;
    align-items: start;
}

.sd-inquiry__intro {
    padding: 1.15rem 1.2rem;
    border-radius: 14px;
    background: linear-gradient(165deg, rgba(39, 28, 87, 0.06) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(39, 28, 87, 0.1);
}

.sd-inquiry__intro p {
    margin: 0 0 0.85rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(31, 36, 48, 0.82);
}

.sd-inquiry__steps {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sd-inquiry__steps li {
    position: relative;
    padding: 0.45rem 0 0.45rem 1.65rem;
    font-size: 0.86rem;
    line-height: 1.45;
    color: rgba(31, 36, 48, 0.88);
}

.sd-inquiry__steps li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cta) 0%, var(--accent-cta-alt) 100%);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.sd-inquiry__card {
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(39, 28, 87, 0.1);
    box-shadow:
        0 4px 6px rgba(21, 15, 52, 0.04),
        0 18px 40px rgba(21, 15, 52, 0.08);
    overflow: hidden;
}

.sd-inquiry-form {
    padding: 1.25rem 1.35rem 1.35rem;
}

.sd-inquiry-form__group {
    margin: 0 0 1rem;
    padding: 0;
    border: none;
}

.sd-inquiry-form__group legend {
    display: block;
    width: 100%;
    margin: 0 0 0.65rem;
    padding: 0 0 0.45rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-sage);
    border-bottom: 1px solid rgba(39, 28, 87, 0.1);
}

.sd-inquiry-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem 0.85rem;
}

.sd-inquiry-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    min-width: 0;
}

.sd-inquiry-form__field--full {
    grid-column: 1 / -1;
}

.sd-inquiry-form__label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(21, 15, 52, 0.88);
}

.sd-inquiry-form__req {
    color: #b45309;
}

.sd-inquiry-form input[type="text"],
.sd-inquiry-form input[type="email"],
.sd-inquiry-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.52rem 0.7rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-primary);
    background: #fafbff;
    border: 1px solid rgba(39, 28, 87, 0.16);
    border-radius: 8px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.sd-inquiry-form textarea {
    resize: vertical;
    min-height: 4.5rem;
}

.sd-inquiry-form input:focus,
.sd-inquiry-form textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--accent-cta);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.14);
}

.sd-inquiry-form__actions {
    margin-top: 0.35rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(39, 28, 87, 0.08);
}

.sd-inquiry-form__submit {
    width: 100%;
    padding: 0.65rem 1.25rem;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 8px 22px rgba(39, 28, 87, 0.22);
}

.sd-inquiry-form__note {
    margin: 0.75rem 0 0;
    font-size: 0.8rem;
    line-height: 1.45;
    color: rgba(31, 36, 48, 0.72);
}

.sd-inquiry-form__note::before {
    content: "✉ ";
    opacity: 0.85;
}

.sd-inquiry-form__whatsapp {
    margin: 0.5rem 0 0;
    font-size: 0.78rem;
    line-height: 1.4;
    color: rgba(31, 36, 48, 0.62);
}

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

    .sd-inquiry__intro {
        order: 2;
    }

    .sd-inquiry__card {
        order: 1;
    }
}

@media (max-width: 560px) {
    .sd-inquiry-form__grid {
        grid-template-columns: 1fr;
    }

    .sd-inquiry-form {
        padding: 1rem;
    }
}

/* Contact form – compact and professional */
.contact-wrap {
    max-width: 72rem;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.contact-form-map {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-map {
    position: sticky;
    top: 1rem;
}

.contact-map iframe {
    width: 100%;
    height: 320px;
    min-height: 280px;
    border: 0;
    border-radius: 0.75rem;
    background: rgba(44, 26, 14, 0.06);
}

.contact-intro {
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-section .section-title.contact-title {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 0.35rem;
}

.contact-section .section-subtitle.contact-subtitle {
    text-align: center;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
}

.contact-form {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1rem;
}

.contact-form label:nth-of-type(5),
.contact-form .contact-submit {
    grid-column: 1 / -1;
}

.contact-form label {
    gap: 0.2rem;
    min-width: 0;
}

.contact-form .contact-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(44, 26, 14, 0.85);
}

.contact-form input[type="email"],
.contact-form input[type="text"] {
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.contact-form textarea {
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.4;
    border: 1px solid rgba(0, 0, 0, 0.12);
    font-family: inherit;
    resize: vertical;
    min-height: 4.5rem;
}

.contact-form .contact-submit {
    margin-top: 0.25rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

@media (max-width: 960px) {
    /* Sin esto, backdrop-filter del header crea bloque de contención y el nav fixed queda recortado (solo overlay visible). */
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .site-header .container {
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }

    .header-inner {
        min-height: 64px;
        gap: 0.4rem;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .header-spacer-left {
        display: none;
    }

    .header-center-group {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.65rem;
    }

    .logo-area {
        display: flex;
        align-items: center;
        gap: 0;
        margin-left: 0;
        flex-shrink: 0;
    }

    .logo-img {
        max-height: 82px;
    }

    .header-right {
        margin-left: 0;
        gap: 0.35rem;
        flex-shrink: 0;
    }

    .header-cart {
        width: 2.05rem;
        height: 2.05rem;
    }

    .header-lang {
        flex: 0 0 auto;
        padding-left: 0;
    }

    .header-lang .lang-switcher {
        opacity: 0.48;
    }

    .header-lang .lang-option {
        min-width: 16px;
        height: 16px;
        font-size: 0.48rem;
        padding: 0 2px;
    }

    .header-lang .lang-switcher:hover {
        opacity: 0.7;
    }

    /* Panel lateral cristal (glass) + overlay */
    .nav-drawer-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1040;
        background: rgba(15, 12, 35, 0.48);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-drawer-overlay.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.nav-drawer-open {
        overflow: hidden;
    }

    .main-nav {
        position: fixed;
        left: 0;
        top: 96px;
        bottom: 0;
        width: min(82vw, 320px);
        max-width: 100%;
        margin: 0;
        padding: 0;
        background: rgba(21, 15, 52, 0.44);
        backdrop-filter: blur(18px) saturate(1.35);
        -webkit-backdrop-filter: blur(18px) saturate(1.35);
        border-right: 1px solid rgba(255, 255, 255, 0.14);
        box-shadow: 8px 0 32px rgba(0, 0, 0, 0.22);
        transform: translateX(-105%);
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        display: flex;
        flex-direction: column;
        z-index: 1100;
    }

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

    .nav-mobile-title {
        display: block;
        margin: 0;
        padding: 1rem 1.35rem 0.65rem;
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.55);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .main-nav a {
        color: rgba(255, 255, 255, 0.96) !important;
    }

    .main-nav a:hover,
    .main-nav a:focus-visible {
        color: #ffffff !important;
        background-color: rgba(255, 255, 255, 0.1) !important;
        box-shadow: none !important;
        transform: none;
    }

    .main-nav .nav-row-inner > span > a.nav-key-highlight {
        color: #ffffff !important;
        border-bottom-color: transparent !important;
    }

    .main-nav .nav-row-inner > span > a.nav-key-highlight:hover,
    .main-nav .nav-row-inner > span > a.nav-key-highlight:focus-visible {
        color: #ffffff !important;
        border-bottom-color: transparent !important;
        box-shadow: none !important;
    }

    .main-nav .nav-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 0.35rem 0 1.35rem;
        gap: 0;
    }

    .main-nav .nav-row {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav .nav-row-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-nav .nav-row-inner > span {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .main-nav .nav-row-inner > span > a {
        padding: 0.85rem 1.1rem;
        display: block;
    }

    .main-nav .nav-row-inner > span > a.nav-key-highlight {
        margin: 0;
        text-align: left;
        padding: 0.85rem 1.1rem;
        border-left: 3px solid rgba(255, 255, 255, 0.45);
        border-bottom-color: transparent;
        background: rgba(255, 255, 255, 0.06);
    }

    .main-nav .nav-row:first-of-type {
        border-top: none;
    }

    .main-nav .dropdown-toggle {
        display: flex;
        color: rgba(255, 255, 255, 0.9);
    }

    .main-nav .has-dropdown {
        display: flex;
        flex-wrap: wrap;
    }

    .main-nav .has-dropdown > a {
        flex: 1 1 auto;
    }

    .main-nav .submenu {
        position: static;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        margin: 0;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: rgba(0, 0, 0, 0.22);
        transform: none;
        transition: max-height 0.28s ease, opacity 0.2s ease;
    }

    .main-nav .has-dropdown.expanded .submenu {
        opacity: 1;
        visibility: visible;
        max-height: 400px;
        padding: 0.2rem 0 0.45rem 0.35rem;
    }

    .main-nav .submenu a {
        padding: 0.55rem 1rem 0.55rem 1.5rem;
        font-size: 0.82rem;
        color: rgba(255, 255, 255, 0.88) !important;
    }

    .main-nav .submenu a:hover,
    .main-nav .submenu a:focus-visible {
        background: rgba(255, 255, 255, 0.08) !important;
        color: #ffffff !important;
    }

    .header-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.88rem;
        font-weight: 700;
        padding: 0.58rem 1.05rem;
        min-height: 2.75rem;
        letter-spacing: 0.06em;
        white-space: nowrap;
    }

    .nav-toggle.nav-toggle--fab,
    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        position: fixed;
        bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
        left: calc(0.85rem + env(safe-area-inset-left, 0px));
        right: auto;
        top: auto;
        margin: 0;
        padding: 0.75rem;
        min-width: 3.35rem;
        min-height: 3.35rem;
        border: none;
        background-color: #ffffff;
        border-radius: 999px;
        box-shadow:
            0 2px 4px rgba(15, 23, 42, 0.06),
            0 12px 28px rgba(39, 28, 87, 0.22);
        z-index: 1350;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .grid-3,
    .grid-4,
    .two-column,
    .testimonials-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .reviews-sources {
        grid-template-columns: 1fr;
    }

    .reviews-write-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .reviews-qr-link {
        align-items: flex-start;
    }

    .section-testimonials-pro {
        padding-top: 2.1rem;
        padding-bottom: 2.2rem;
    }

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

    .shop-hero-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-hero-actions {
        width: 100%;
    }

    .shop-page-hero .shop-cart-link.btn-primary {
        width: 100%;
        justify-content: center;
    }

    .shop-page-title {
        font-size: 1.4rem;
    }

    .shop-page-hero.section {
        padding: 0.65rem 0 0.85rem;
    }

    .cart-wrap {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

    .cart-item {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-form-map {
        grid-template-columns: 1fr;
    }

    .contact-map {
        position: static;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 70vh;
        background-position: 35% center;
    }

    /* Inicio móvil: foto alternativa, texto arriba centrado, CTAs al pie del hero */
    .hero.hero--home {
        background-image: url("../images/pages/imagen2.jpeg");
        /* Encuadre hacia el cielo: el sujeto queda más abajo y el texto no tapa el rostro */
        background-position: center 18%;
        background-size: cover;
        animation: none;
        min-height: 82vh;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 0.35rem 0 0;
        box-sizing: border-box;
    }

    .hero.hero--home::before {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.58) 0%,
            rgba(0, 0, 0, 0.32) 28%,
            rgba(0, 0, 0, 0.1) 48%,
            rgba(0, 0, 0, 0.05) 100%
        );
    }

    .hero-inner {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 36rem;
    }

    .hero.hero--home .hero-inner {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        margin-top: 0;
        margin-bottom: 0;
        padding: 0.2rem 0.75rem 0;
        width: 100%;
        max-width: 26rem;
        box-sizing: border-box;
    }

    .hero-quote {
        font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        font-size: clamp(1.2rem, 4.2vw, 1.75rem);
        line-height: 1.3;
        font-style: normal;
    }

    .hero-event-date {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        align-items: center;
    }

    .hero-event-date__value {
        font-size: 1.15rem;
    }

    .hero.hero--home .hero-quote,
    .hero.hero--home .hero-identities,
    .hero.hero--home .hero-subtitle {
        text-align: center;
    }

    .hero.hero--home .hero-quote {
        margin-bottom: 0.5rem;
    }

    .hero.hero--home .hero-identities {
        margin-bottom: 0.4rem;
    }

    .hero.hero--home .hero-subtitle {
        margin-bottom: 0;
        max-width: 20rem;
        font-size: 0.82rem;
        line-height: 1.38;
    }

    .hero-identities {
        font-size: 0.68rem;
        letter-spacing: 0.1em;
        line-height: 1.4;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero.hero--home .hero-ctas {
        margin-top: auto;
        width: 100%;
        max-width: none;
        padding: 0.75rem 0 calc(1.05rem + env(safe-area-inset-bottom, 0px));
        gap: 0.45rem;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: stretch;
    }

    .hero.hero--home .hero-ctas .btn {
        flex: 1 1 0;
        min-width: 0;
        font-size: 0.62rem;
        padding: 0.58rem 0.35rem;
        line-height: 1.25;
        letter-spacing: 0.05em;
    }

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

    /* Pantallas bajas (p. ej. iPhone SE) o muy estrechas: menos altura de texto y foto más “al cielo” */
    @media (max-height: 720px) {
        .hero.hero--home {
            background-position: center 12%;
            min-height: min(76vh, 640px);
        }

        .hero.hero--home .hero-quote {
            font-size: clamp(1.05rem, 3.8vw, 1.4rem);
            line-height: 1.25;
            margin-bottom: 0.4rem;
        }

        .hero.hero--home .hero-identities {
            font-size: 0.6rem;
            letter-spacing: 0.08em;
            line-height: 1.32;
            margin-bottom: 0.3rem;
        }

        .hero.hero--home .hero-subtitle {
            font-size: 0.76rem;
            line-height: 1.32;
            max-width: 18rem;
        }

        .hero.hero--home .hero-ctas {
            padding-top: 0.5rem;
        }
    }

    @media (max-width: 380px) {
        .hero.hero--home {
            background-position: center 10%;
        }
    }
}

/* Photo gallery (Journeys & Events) */
.photo-gallery-page {
    padding-top: 2.25rem;
    padding-bottom: 3rem;
}

.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.15rem;
}

.photo-gallery-card {
    margin: 0;
}

.photo-gallery-card__open {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 1px solid rgba(39, 28, 87, 0.12);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(21, 15, 52, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.photo-gallery-card__open:hover,
.photo-gallery-card__open:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(21, 15, 52, 0.14);
}

.photo-gallery-card__open:focus-visible {
    outline: 2px solid var(--accent-cta);
    outline-offset: 3px;
}

.photo-gallery-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #2a3568 0%, #5346a8 100%);
    overflow: hidden;
}

.photo-gallery-card__layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-gallery-card__layer--1,
.photo-gallery-card__layer--2 {
    width: 42%;
    height: 42%;
    inset: auto 0.55rem 0.55rem auto;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 6px 16px rgba(10, 8, 28, 0.28);
}

.photo-gallery-card__layer--2 {
    right: 1.55rem;
    bottom: 1.15rem;
    z-index: 1;
}

.photo-gallery-card__layer--1 {
    z-index: 2;
}

.photo-gallery-card__placeholder {
    display: grid;
    place-items: center;
    height: 100%;
    color: #fff;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
}

.photo-gallery-card__count {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    z-index: 3;
    min-width: 1.7rem;
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    background: rgba(18, 14, 44, 0.78);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
}

.photo-gallery-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    padding: 0.85rem 0.95rem 1rem;
}

.photo-gallery-card__title {
    font-family: var(--font-body);
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.25;
    color: #15172b;
}

.photo-gallery-card__meta {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.photo-gallery-viewer {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.photo-gallery-viewer[hidden] {
    display: none !important;
}

.photo-gallery-viewer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 8, 28, 0.82);
}

.photo-gallery-viewer__panel {
    position: relative;
    z-index: 1;
    width: min(96vw, 1120px);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(8, 6, 24, 0.35);
}

.photo-gallery-viewer__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.2rem 0.95rem;
    border-bottom: 1px solid rgba(39, 28, 87, 0.1);
}

.photo-gallery-viewer__heading {
    min-width: 0;
}

.photo-gallery-viewer__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    line-height: 1.2;
    color: var(--accent-deep);
}

.photo-gallery-viewer__hint {
    margin: 0.35rem 0 0;
    color: var(--text-muted);
    font-size: 0.86rem;
}

.photo-gallery-viewer__close {
    flex: 0 0 auto;
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    border-radius: 50%;
    background: rgba(21, 15, 52, 0.08);
    color: var(--accent-deep);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.photo-gallery-viewer__close:hover,
.photo-gallery-viewer__close:focus-visible {
    background: rgba(21, 15, 52, 0.14);
}

.photo-gallery-viewer__close:focus-visible {
    outline: 2px solid var(--accent-cta);
    outline-offset: 2px;
}

.photo-gallery-viewer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
    padding: 1rem 1.15rem 1.2rem;
    overflow: auto;
}

.photo-gallery-viewer__item {
    position: relative;
    padding: 0;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #2a3568 0%, #5346a8 100%);
    cursor: pointer;
    aspect-ratio: 1;
}

.photo-gallery-viewer__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 220ms ease;
}

.photo-gallery-viewer__item:hover img,
.photo-gallery-viewer__item:focus-visible img {
    transform: scale(1.05);
}

.photo-gallery-viewer__item:focus-visible {
    outline: 2px solid var(--accent-cta);
    outline-offset: 3px;
}

.photo-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-gallery-lightbox[hidden] {
    display: none !important;
}

.photo-gallery-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 8, 28, 0.88);
}

.photo-gallery-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(96vw, 1100px);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.photo-gallery-lightbox__title {
    margin: 0 0 0.65rem;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
}

.photo-gallery-lightbox__image {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.photo-gallery-lightbox__close {
    position: absolute;
    top: -0.25rem;
    right: 0;
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.photo-gallery-lightbox__arrow {
    position: absolute;
    top: 52%;
    transform: translateY(-50%);
    width: 2.6rem;
    height: 2.6rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--accent-deep);
    font-size: 1.15rem;
    cursor: pointer;
}

.photo-gallery-lightbox__prev {
    left: 0.2rem;
}

.photo-gallery-lightbox__next {
    right: 0.2rem;
}

.photo-gallery-lightbox__counter {
    margin: 0.7rem 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

@media (max-width: 700px) {
    .photo-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .photo-gallery-card__title {
        font-size: 0.92rem;
    }

    .photo-gallery-viewer {
        padding: 0.55rem;
    }

    .photo-gallery-viewer__panel {
        max-height: 96vh;
        border-radius: 14px;
    }

    .photo-gallery-viewer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
        padding: 0.8rem;
    }

    .photo-gallery-lightbox__arrow {
        width: 2.2rem;
        height: 2.2rem;
    }
}

@media (max-width: 420px) {
    .photo-gallery-grid {
        grid-template-columns: 1fr;
    }
}


