@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;500;600;700;800&display=swap');

/* ============================================
   CENTRO ECO CLUB - SISTEMA VISUAL
   Referencias cromáticas:
   #3fad32  Verde primario: CTAs, estados activos, enlaces destacados.
   #5f4c98  Morado institucional: pagos, newsletter, acentos premium.
   #5b9306  Verde profundo: hovers, fondos oscuros, textos de énfasis.
   #6aa220  Verde oliva: fondos suaves, bordes, etiquetas y elementos secundarios.
   Fuente principal: Roboto Slab.
   ============================================ */

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

:root {
    --color-verde-primario: #3fad32;
    --color-morado: #5f4c98;
    --color-verde-profundo: #5b9306;
    --color-verde-oliva: #6aa220;
    --color-crema: #f8f6ed;
    --color-crema-verde: #eef6e8;
    --color-blanco: #ffffff;
    --color-verde: var(--color-verde-primario);
    --color-marron: var(--color-verde-profundo);
    --color-naranja: var(--color-morado);
    --color-texto: #2f332c;
    --color-texto-suave: #687064;
    --color-borde: rgba(95, 76, 152, 0.14);
    --color-overlay: rgba(22, 35, 18, 0.46);
    --gradiente-verde: linear-gradient(135deg, var(--color-verde-primario) 0%, var(--color-verde-profundo) 100%);
    --gradiente-morado: linear-gradient(135deg, var(--color-morado) 0%, #4f3d86 100%);
    --gradiente-eco: linear-gradient(90deg, var(--color-verde-primario), var(--color-verde-oliva), var(--color-morado));
    --sombra-suave: 0 12px 32px rgba(46, 51, 44, 0.08);
    --sombra-media: 0 18px 48px rgba(46, 51, 44, 0.14);
    --radio-sm: 8px;
    --radio-md: 16px;
    --radio-lg: 28px;
    --radio-pill: 999px;
    --transicion: all 0.28s ease;
    --font-principal: 'Roboto Slab', Georgia, serif;
    --font-titulos: var(--font-principal);
    --font-cuerpo: var(--font-principal);
    --header-height: 88px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-cuerpo);
    color: var(--color-texto);
    background: var(--color-blanco);
    line-height: 1.65;
    padding-top: var(--header-height);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at top left, rgba(63, 173, 50, 0.08), transparent 30%),
        radial-gradient(circle at bottom right, rgba(95, 76, 152, 0.08), transparent 28%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-titulos);
    font-weight: 700;
    color: var(--color-verde-profundo);
    line-height: 1.18;
    margin-bottom: 0.7em;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.15rem, 4vw, 4.25rem);
}

h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
}

p {
    color: var(--color-texto);
}

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

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

strong {
    color: var(--color-verde-profundo);
    font-weight: 800;
}

button,
input,
textarea,
select {
    font-family: var(--font-cuerpo);
}

button,
input[type="submit"],
input[type="button"] {
    cursor: pointer;
}

input,
textarea,
select {
    border: 1px solid var(--color-borde);
    border-radius: var(--radio-sm);
    padding: 0.78rem 0.95rem;
    color: var(--color-texto);
    background: var(--color-blanco);
    transition: var(--transicion);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-verde-primario);
    box-shadow: 0 0 0 4px rgba(63, 173, 50, 0.13);
}

button,
.btn,
.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 46px;
    padding: 0.85rem 1.65rem;
    border-radius: var(--radio-pill);
    border: 0;
    background: var(--gradiente-verde);
    color: var(--color-blanco) !important;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 12px 24px rgba(63, 173, 50, 0.24);
    transition: var(--transicion);
}

button:hover,
.btn:hover,
.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(91, 147, 6, 0.26);
    background: linear-gradient(135deg, var(--color-verde-profundo) 0%, var(--color-verde-primario) 100%);
}

/* ============================================
   HEADER - Inspirado en Welcome Tlalli
   ============================================ */
.header-principal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 32px rgba(47, 51, 44, 0.08);
    border-bottom: 1px solid rgba(95, 76, 152, 0.10);
}

.header-principal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradiente-eco);
}

.header-container {
    width: min(1480px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: var(--header-height);
    padding: 0 clamp(1rem, 2vw, 2.2rem);
    gap: clamp(0.8rem, 1.4vw, 1.6rem);
}

.logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.logo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
}

.logo img {
    height: 64px;
    width: 64px;
    object-fit: contain;
    border-radius: 50%;
    transition: var(--transicion);
    filter: drop-shadow(0 6px 14px rgba(47, 51, 44, 0.14));
}

.logo:hover img {
    transform: translateY(-1px) scale(1.02);
}

.menu-principal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1 1 auto;
    min-width: 0;
    gap: clamp(0.35rem, 0.72vw, 0.95rem);
    height: 100%;
    list-style: none;
}

.menu-principal > li {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    flex: 0 0 auto;
}

.menu-principal > li:nth-last-child(-n+2) {
    margin-left: clamp(0.15rem, 0.5vw, 0.45rem);
}

.menu-principal a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.08rem;
    color: var(--color-texto);
    font-size: clamp(0.68rem, 0.72vw, 0.8rem);
    font-weight: 700;
    letter-spacing: 0.032em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    transition: var(--transicion);
}

.menu-principal > li > a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.2rem;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: var(--gradiente-eco);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.28s ease;
}

.menu-principal > li:hover > a:not(.btn-nav),
.menu-principal > li.activo > a:not(.btn-nav) {
    color: var(--color-verde-profundo);
}

.menu-principal > li:hover > a:not(.btn-nav)::after,
.menu-principal > li.activo > a:not(.btn-nav)::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-con-hijos > a::before {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    order: 2;
    font-size: 0.72rem;
    color: var(--color-verde-oliva);
    transition: var(--transicion);
}

.menu-con-hijos:hover > a::before {
    transform: rotate(180deg);
    color: var(--color-morado);
}

.submenu {
    position: absolute;
    top: calc(100% - 10px);
    left: 50%;
    min-width: 235px;
    padding: 0.85rem;
    list-style: none;
    background: var(--color-blanco);
    border: 1px solid var(--color-borde);
    border-top: 4px solid var(--color-verde-primario);
    border-radius: 0 0 var(--radio-md) var(--radio-md);
    box-shadow: var(--sombra-media);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 12px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
}

.menu-principal > li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.submenu li a {
    display: flex;
    width: 100%;
    padding: 0.82rem 1rem;
    border-radius: var(--radio-sm);
    color: var(--color-texto);
    font-size: 0.8rem;
    text-align: left;
}

.submenu li a:hover {
    color: var(--color-verde-profundo);
    background: var(--color-crema-verde);
    transform: translateX(3px);
}

/* Botones principales del menú */
.btn-nav,
.menu-principal a.btn-nav {
    min-height: 40px;
    padding: 0.62rem clamp(0.72rem, 0.9vw, 1rem);
    border-radius: var(--radio-pill);
    border: 2px solid transparent;
    font-size: clamp(0.66rem, 0.68vw, 0.74rem);
    font-weight: 800;
    letter-spacing: 0.025em;
    box-shadow: 0 10px 22px rgba(47, 51, 44, 0.10);
}

.btn-nav::after {
    display: none !important;
}

.btn-nav i {
    font-size: 0.88rem;
}

.btn-nav span {
    white-space: nowrap;
}

.btn-registro,
.menu-principal a.btn-registro {
    background: var(--gradiente-verde);
    color: var(--color-blanco) !important;
    box-shadow: 0 12px 24px rgba(63, 173, 50, 0.28);
}

.btn-registro:hover,
.menu-principal a.btn-registro:hover {
    color: var(--color-blanco) !important;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(63, 173, 50, 0.34);
}

.btn-pagos,
.menu-principal a.btn-pagos {
    background: var(--color-blanco);
    border-color: var(--color-morado);
    color: var(--color-morado) !important;
}

.btn-pagos:hover,
.menu-principal a.btn-pagos:hover {
    background: var(--gradiente-morado);
    color: var(--color-blanco) !important;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(95, 76, 152, 0.28);
}

.hamburguesa {
    display: none;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid var(--color-borde);
    border-radius: var(--radio-pill);
    padding: 0.58rem 0.85rem;
    cursor: pointer;
    color: var(--color-verde-profundo);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--color-blanco);
    box-shadow: 0 8px 20px rgba(47, 51, 44, 0.07);
}

.hamburguesa::before {
    content: 'Menu';
    font-size: 0.75rem;
}

.hamburguesa span {
    width: 22px;
    height: 2px;
    grid-column: 2;
    background: var(--color-morado);
    border-radius: 2px;
    transition: var(--transicion);
}

.hamburguesa span:nth-child(1) { margin-left: 0.1rem; }
.hamburguesa.activo span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburguesa.activo span:nth-child(2) { opacity: 0; }
.hamburguesa.activo span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO SLIDER
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - var(--header-height));
    overflow: hidden;
    background: var(--color-verde-profundo);
}

.swiper,
.hero-swiper {
    width: 100%;
    height: calc(100vh - var(--header-height));
    min-height: 590px;
}

.swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: min(92%, 980px);
    transform: translate(-50%, -50%);
    color: var(--color-blanco);
    text-align: center;
}

.slide-title {
    color: var(--color-blanco);
    font-size: clamp(2.5rem, 6vw, 5.8rem);
    font-weight: 800;
    line-height: 1.02;
    margin-bottom: 1rem;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.36);
}

.slide-subtitle {
    max-width: 780px;
    margin: 0 auto 2.1rem;
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    font-weight: 500;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.swiper-button-prev,
.swiper-button-next {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: var(--color-blanco);
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(8px);
    transition: var(--transicion);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 1.05rem;
    font-weight: 800;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--color-verde-primario);
    transform: scale(1.06);
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--color-blanco);
    opacity: 0.65;
}

.swiper-pagination-bullet-active {
    width: 34px;
    border-radius: var(--radio-pill);
    background: var(--color-verde-primario);
    opacity: 1;
}

/* ============================================
   HOME / TARJETAS DE ACCESO
   ============================================ */
.quick-links-section {
    position: relative;
    padding: clamp(3.6rem, 6.2vw, 5.6rem) 0;
    background:
        radial-gradient(circle at 12% 22%, rgba(63, 173, 50, 0.10), transparent 30%),
        radial-gradient(circle at 86% 72%, rgba(95, 76, 152, 0.10), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f4faef 100%);
    overflow: hidden;
}

.quick-links-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    background: var(--gradiente-eco);
}

.experience-cards-container {
    width: min(1240px, 100%);
}

.section-heading {
    max-width: 820px;
    margin: 0 auto 2.4rem;
    text-align: center;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
    padding: 0.38rem 0.9rem;
    border-radius: var(--radio-pill);
    background: rgba(95, 76, 152, 0.10);
    color: var(--color-morado);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-kicker::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-verde-primario);
}

.section-heading p {
    color: var(--color-texto-suave);
    font-size: 1.05rem;
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 2vw, 2rem);
}

.experience-card-grid {
    align-items: stretch;
}

.access-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: var(--color-blanco);
    border: 1px solid rgba(95, 76, 152, 0.12);
    box-shadow: 0 20px 50px rgba(47, 51, 44, 0.10);
    transition: var(--transicion);
    isolation: isolate;
}

.access-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(145deg, rgba(63, 173, 50, 0.08), rgba(95, 76, 152, 0.06));
    opacity: 0;
    transition: var(--transicion);
}

.access-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 26px 58px rgba(47, 51, 44, 0.16);
}

.access-card:hover::before {
    opacity: 1;
}

.access-card-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0)),
        var(--color-blanco);
    border-radius: 24px 24px 0 0;
}

.access-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 46%),
        linear-gradient(0deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0) 30%);
    pointer-events: none;
}

.access-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.access-card:hover .access-card-image img {
    transform: scale(1.045);
    filter: saturate(1.04) contrast(1.02);
}

.access-card-body {
    padding: clamp(1.35rem, 2.1vw, 1.8rem) clamp(1.3rem, 2vw, 1.7rem) 1.75rem;
    background: var(--color-blanco);
}

.access-card-body h3 {
    margin-bottom: 0.65rem;
    color: var(--color-verde-profundo);
    font-size: clamp(1.55rem, 2vw, 2.05rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.access-card-body p {
    min-height: 5.1rem;
    color: var(--color-texto-suave);
    font-size: 0.97rem;
    line-height: 1.7;
    margin-bottom: 1.35rem;
}

.access-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-morado);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.access-card-link::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: var(--transicion);
}

.access-card-link:hover {
    color: var(--color-verde-profundo);
}

.access-card-link:hover::after {
    transform: translateX(4px);
}

/* ============================================
   CONTENIDO GENERAL
   ============================================ */
.container {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.col {
    flex: 1;
    min-width: 250px;
}

.page-section {
    padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.page-card {
    border: 1px solid var(--color-borde);
    border-radius: var(--radio-lg);
    background: var(--color-blanco);
    box-shadow: var(--sombra-suave);
    overflow: hidden;
}

.page-card-content {
    padding: clamp(1.4rem, 3vw, 2.4rem);
}

.page-banner {
    width: 100%;
    height: min(42vh, 360px);
    overflow: hidden;
    background: var(--color-crema-verde);
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.galeria-destino {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.85rem !important;
    margin: 1.25rem 0 2rem !important;
}

.galeria-destino img {
    width: 100% !important;
    height: 140px !important;
    object-fit: cover;
    border-radius: var(--radio-md) !important;
    box-shadow: var(--sombra-suave);
}

/* Leaflet */
#mapa {
    border: 1px solid var(--color-borde);
    border-radius: var(--radio-lg) !important;
    box-shadow: var(--sombra-suave) !important;
    overflow: hidden;
}

.leaflet-popup-content a {
    color: var(--color-verde-profundo) !important;
    font-weight: 800;
}

.leyenda {
    justify-content: center;
    flex-wrap: wrap;
}

.leyenda-item {
    color: var(--color-texto);
    font-weight: 700;
}

.leyenda-circulo.primaria,
.primaria {
    background: var(--color-verde-primario) !important;
}

.leyenda-circulo.secundaria,
.secundaria {
    background: var(--color-morado) !important;
}




/* ============================================
   CLASE VERDE - PÁGINA INTERNA
   ============================================ */
.clase-verde-page {
    position: relative;
    overflow: hidden;
    padding: clamp(3.2rem, 6vw, 5.6rem) 0 clamp(4.2rem, 7vw, 6.8rem);
    background:
        radial-gradient(circle at 18% 20%, rgba(63, 173, 50, 0.12), transparent 29%),
        radial-gradient(circle at 88% 76%, rgba(95, 76, 152, 0.10), transparent 31%),
        linear-gradient(180deg, #ffffff 0%, #fbfdf7 42%, #edf6e7 100%);
    isolation: isolate;
}

.clase-verde-page::before {
    content: '';
    position: absolute;
    left: -5vw;
    right: -5vw;
    bottom: -8.4rem;
    height: clamp(10rem, 18vw, 18rem);
    z-index: -1;
    background:
        radial-gradient(ellipse at 18% 42%, rgba(106, 162, 32, 0.25), transparent 36%),
        linear-gradient(135deg, rgba(106, 162, 32, 0.30), rgba(63, 173, 50, 0.11));
    border-radius: 50% 50% 0 0 / 38% 38% 0 0;
    transform: rotate(-1deg);
}

.clase-verde-page::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(63, 173, 50, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(95, 76, 152, 0.025) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(180deg, transparent, #000 20%, #000 76%, transparent);
}

.clase-verde-container {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.clase-verde-header {
    max-width: 830px;
    margin: 0 auto clamp(1.8rem, 4vw, 3rem);
    text-align: center;
}

.clase-verde-ornament,
.clase-verde-footer-ornament {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--color-verde-profundo);
}

.clase-verde-ornament span,
.clase-verde-footer-ornament span {
    display: block;
    width: 52px;
    height: 3px;
    border-radius: var(--radio-pill);
    background: var(--color-morado);
}

.clase-verde-ornament i,
.clase-verde-footer-ornament i {
    font-size: 1.35rem;
    color: var(--color-verde-profundo);
}

.clase-verde-header h1 {
    margin: 0.45rem 0 0.35rem;
    color: var(--color-verde-profundo);
    font-size: clamp(3rem, 7vw, 5.7rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    text-transform: none;
}

.clase-verde-header p {
    margin: 0;
    color: var(--color-texto-suave);
    font-size: clamp(1.02rem, 1.7vw, 1.34rem);
    font-weight: 600;
}

.clase-verde-small-line {
    width: 58px;
    height: 4px;
    margin: 1rem auto 0;
    border-radius: var(--radio-pill);
    background: var(--color-morado);
}

.clase-verde-composition {
    position: relative;
    display: grid;
    gap: clamp(1rem, 1.8vw, 1.35rem);
    min-height: 610px;
}

.clase-verde-panel {
    position: relative;
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 1.7rem);
    border-radius: 24px;
    padding: clamp(1.05rem, 2.1vw, 1.5rem) clamp(1.2rem, 2.5vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.68);
    box-shadow: 0 18px 46px rgba(47, 51, 44, 0.10);
    backdrop-filter: blur(10px);
    transition: var(--transicion);
}

.clase-verde-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 58px rgba(47, 51, 44, 0.14);
}

.clase-verde-panel-soft {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(238, 246, 232, 0.94)),
        radial-gradient(circle at 12% 30%, rgba(63, 173, 50, 0.14), transparent 34%);
    color: var(--color-verde-profundo);
}

.clase-verde-panel-solid {
    background:
        radial-gradient(circle at 13% 25%, rgba(255, 255, 255, 0.16), transparent 26%),
        linear-gradient(135deg, var(--color-verde-primario), var(--color-verde-profundo));
    color: var(--color-blanco);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 22px 52px rgba(63, 173, 50, 0.20);
}

.clase-verde-panel p {
    margin: 0;
    font-size: clamp(1.05rem, 1.55vw, 1.55rem);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.025em;
}

.clase-verde-panel-soft p {
    color: var(--color-verde-profundo);
}

.clase-verde-panel-solid p {
    color: rgba(255, 255, 255, 0.96);
}

.clase-verde-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 clamp(64px, 7vw, 86px);
    width: clamp(64px, 7vw, 86px);
    height: clamp(64px, 7vw, 86px);
    border-radius: 50%;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    box-shadow: 0 12px 28px rgba(47, 51, 44, 0.15);
}

.clase-verde-panel-soft .clase-verde-icon {
    color: var(--color-verde-profundo);
    background: rgba(255, 255, 255, 0.72);
    border: 2px solid rgba(63, 173, 50, 0.22);
}

.clase-verde-panel-solid .clase-verde-icon {
    color: var(--color-blanco);
    background: rgba(47, 96, 18, 0.42);
    border: 2px solid rgba(255, 255, 255, 0.18);
}

.clase-verde-panel-one {
    width: min(760px, 72%);
    margin-left: 4.5rem;
}

.clase-verde-panel-two {
    width: min(820px, 76%);
    margin-left: auto;
    margin-right: 2.3rem;
}

.clase-verde-panel-three {
    width: min(790px, 74%);
    margin-left: 11.5rem;
}

.clase-verde-panel-four {
    width: min(930px, 82%);
    margin-left: auto;
    margin-right: 1.1rem;
}

.clase-verde-panel-four p {
    font-size: clamp(0.98rem, 1.28vw, 1.34rem);
    line-height: 1.5;
}

.clase-verde-brand-seal {
    position: absolute;
    left: 0.2rem;
    bottom: 2.7rem;
    z-index: 2;
    display: grid;
    place-items: center;
    width: clamp(150px, 15vw, 214px);
    height: clamp(150px, 15vw, 214px);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 6px solid rgba(63, 173, 50, 0.30);
    box-shadow: 0 22px 52px rgba(47, 51, 44, 0.14);
}

.clase-verde-brand-seal img {
    width: 86%;
    height: 86%;
    object-fit: contain;
    filter: drop-shadow(0 5px 14px rgba(47, 51, 44, 0.10));
}

.clase-verde-footer-ornament {
    display: flex;
    margin-top: clamp(2rem, 4vw, 3.3rem);
}

.clase-verde-leaves {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.clase-verde-leaves span {
    position: absolute;
    display: block;
    width: 44px;
    height: 74px;
    border-radius: 80% 0 80% 0;
    background: linear-gradient(135deg, rgba(106, 162, 32, 0.82), rgba(63, 173, 50, 0.45));
    transform-origin: bottom center;
    box-shadow: inset -8px -8px 0 rgba(91, 147, 6, 0.08);
}

.clase-verde-leaves-left {
    left: 0;
    bottom: 4.8rem;
    width: 180px;
    height: 230px;
}

.clase-verde-leaves-left span:nth-child(1) { left: 0; bottom: 38px; transform: rotate(-38deg) scale(0.9); }
.clase-verde-leaves-left span:nth-child(2) { left: 46px; bottom: 84px; transform: rotate(-12deg) scale(0.72); }
.clase-verde-leaves-left span:nth-child(3) { left: 84px; bottom: 30px; transform: rotate(32deg) scale(1.05); }
.clase-verde-leaves-left span:nth-child(4) { left: 124px; bottom: 112px; transform: rotate(45deg) scale(0.65); }

.clase-verde-leaves-right {
    right: 0;
    bottom: 1.4rem;
    width: 190px;
    height: 190px;
}

.clase-verde-leaves-right span:nth-child(1) { right: 4px; bottom: 26px; transform: rotate(42deg) scale(0.9); }
.clase-verde-leaves-right span:nth-child(2) { right: 58px; bottom: 72px; transform: rotate(16deg) scale(0.7); }
.clase-verde-leaves-right span:nth-child(3) { right: 102px; bottom: 12px; transform: rotate(-28deg) scale(0.78); }


/* ============================================
   QUIÉNES SOMOS / MISIÓN
   ============================================ */
.mission-ecoclub {
    position: relative;
    margin-top: clamp(2.6rem, 5vw, 4.2rem);
    padding: clamp(1rem, 2vw, 1.25rem);
    border-radius: var(--radio-lg);
    background:
        radial-gradient(circle at 12% 10%, rgba(63, 173, 50, 0.16), transparent 34%),
        radial-gradient(circle at 92% 14%, rgba(95, 76, 152, 0.15), transparent 30%),
        linear-gradient(135deg, rgba(238, 246, 232, 0.92), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(95, 76, 152, 0.12);
    box-shadow: var(--sombra-suave);
    overflow: hidden;
}

.mission-ecoclub::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 7px;
    background: var(--gradiente-eco);
}

.mission-card {
    position: relative;
    z-index: 1;
    padding: clamp(1.55rem, 3.2vw, 3rem);
    border-radius: calc(var(--radio-lg) - 8px);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(8px);
}

.mission-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.2rem;
    margin-bottom: 1.3rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid rgba(95, 76, 152, 0.14);
}

.mission-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.38rem 0.9rem;
    border-radius: var(--radio-pill);
    background: rgba(95, 76, 152, 0.10);
    color: var(--color-morado);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mission-kicker::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-verde-primario);
}

.mission-head h2 {
    margin: 0;
    color: var(--color-morado);
    font-size: clamp(2rem, 4vw, 3.4rem);
    text-transform: uppercase;
}

.mission-intro {
    max-width: 980px;
    margin-bottom: 1.7rem;
}

.mission-intro p,
.mission-closing p {
    color: var(--color-texto);
    font-size: clamp(1rem, 1.25vw, 1.12rem);
    line-height: 1.85;
}

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

.mission-item {
    position: relative;
    min-height: 100%;
    padding: 1.25rem 1.15rem 1.25rem;
    border-radius: var(--radio-md);
    background: var(--color-blanco);
    border: 1px solid rgba(95, 76, 152, 0.13);
    box-shadow: 0 12px 30px rgba(47, 51, 44, 0.07);
    transition: var(--transicion);
}

.mission-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--sombra-media);
    border-color: rgba(63, 173, 50, 0.26);
}

.mission-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 0.9rem;
    border-radius: 50%;
    background: var(--gradiente-verde);
    color: var(--color-blanco);
    box-shadow: 0 10px 24px rgba(63, 173, 50, 0.22);
}

.mission-item:nth-child(2) .mission-icon {
    background: var(--gradiente-morado);
    box-shadow: 0 10px 24px rgba(95, 76, 152, 0.22);
}

.mission-item:nth-child(3) .mission-icon {
    background: linear-gradient(135deg, var(--color-verde-oliva), var(--color-verde-profundo));
}

.mission-item p {
    color: var(--color-texto-suave);
    font-size: 0.96rem;
    line-height: 1.75;
}

.mission-closing {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    border-radius: var(--radio-md);
    background: linear-gradient(135deg, rgba(95, 76, 152, 0.10), rgba(63, 173, 50, 0.10));
    border: 1px solid rgba(95, 76, 152, 0.13);
}

.mission-closing-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--color-blanco);
    background: var(--color-morado);
}

.mission-closing p {
    margin: 0;
}

/* ============================================
   FOOTER - Inspirado en Welcome Tlalli
   ============================================ */
.footer-principal {
    position: relative;
    margin-top: 0;
    background: var(--color-crema);
    border-top: 1px solid rgba(95, 76, 152, 0.12);
}

.footer-principal::before {
    content: '';
    display: block;
    height: 6px;
    background: var(--gradiente-eco);
}

.footer-newsletter {
    position: relative;
    overflow: hidden;
    padding: clamp(2.4rem, 5vw, 4.3rem) 1.5rem;
    color: var(--color-blanco);
    text-align: center;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.15), transparent 30%),
        linear-gradient(135deg, var(--color-verde-profundo) 0%, var(--color-morado) 100%);
}

.footer-newsletter h3 {
    color: var(--color-blanco);
    font-size: clamp(1.45rem, 2.5vw, 2.35rem);
    margin-bottom: 0.45rem;
}

.footer-newsletter p {
    max-width: 650px;
    margin: 0 auto 1.4rem;
    color: rgba(255,255,255,0.86);
}

.newsletter-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    max-width: 620px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
    flex: 1 1 300px;
    min-height: 52px;
    border: 1px solid rgba(255,255,255,0.26);
    border-radius: var(--radio-pill);
    background: rgba(255,255,255,0.96);
    padding: 0.9rem 1.25rem;
    font-size: 0.96rem;
}

.newsletter-form button {
    min-height: 52px;
    padding: 0.9rem 1.6rem;
    background: var(--color-verde-primario);
    color: var(--color-blanco);
    border: 2px solid rgba(255,255,255,0.34);
    border-radius: var(--radio-pill);
    box-shadow: none;
}

.newsletter-form button:hover {
    background: var(--color-verde-oliva);
}

.footer-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.9rem;
}

.footer-step {
    padding: 1.1rem;
    border-radius: var(--radio-md);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    text-align: left;
}

.footer-step i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 0.65rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    color: var(--color-blanco);
}

.footer-step strong {
    display: block;
    color: var(--color-blanco);
    font-size: 0.93rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-step span {
    display: block;
    margin-top: 0.25rem;
    color: rgba(255,255,255,0.82);
    font-size: 0.88rem;
}

.footer-contenido {
    display: grid;
    grid-template-columns: 1.15fr 0.9fr 1fr;
    gap: clamp(1.8rem, 4vw, 3rem);
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: clamp(2.7rem, 5vw, 4.6rem) 1.5rem;
}

.footer-col h4 {
    position: relative;
    display: inline-flex;
    margin-bottom: 1.25rem;
    color: var(--color-morado);
    font-size: 1.08rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.45rem;
    width: 42px;
    height: 3px;
    border-radius: 999px;
    background: var(--gradiente-eco);
}

.contacto-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.95rem;
    color: var(--color-texto);
    font-size: 0.94rem;
}

.contacto-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--color-blanco);
    background: var(--gradiente-verde);
    font-size: 0.92rem;
}

.contacto-item a {
    color: var(--color-texto);
    transition: var(--transicion);
}

.contacto-item a:hover {
    color: var(--color-verde-profundo);
}

.redes-sociales {
    display: flex;
    flex-wrap: wrap;
    gap: 0.72rem;
    margin-top: 1.35rem;
}

.redes-sociales a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--color-blanco);
    background: var(--color-morado);
    font-size: 1rem;
    transition: var(--transicion);
}

.redes-sociales a:hover {
    background: var(--color-verde-primario);
    transform: translateY(-3px);
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.65rem;
}

.footer-menu li a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-texto);
    font-size: 0.92rem;
    transition: var(--transicion);
}

.footer-menu li a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--color-verde-oliva);
    font-size: 0.75rem;
}

.footer-menu li a:hover {
    color: var(--color-verde-profundo);
    transform: translateX(4px);
}

.footer-menu .footer-subitem a {
    padding-left: 1rem;
    color: var(--color-texto-suave);
}

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

.instagram-feed a {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: var(--radio-md);
    background: var(--color-crema-verde);
}

.instagram-feed a::after {
    content: '\f16d';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--color-blanco);
    font-family: 'Font Awesome 6 Brands';
    font-size: 1.35rem;
    background: rgba(95, 76, 152, 0.48);
    opacity: 0;
    transition: var(--transicion);
}

.instagram-feed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.instagram-feed a:hover img {
    transform: scale(1.08);
}

.instagram-feed a:hover::after {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(95, 76, 152, 0.12);
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.58);
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--color-texto-suave);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--color-morado);
    font-weight: 800;
}

/* ============================================
   ADMIN / FORMULARIOS BÁSICOS
   ============================================ */
form[method="POST"] {
    border: 1px solid var(--color-borde);
    border-radius: var(--radio-md) !important;
    background: var(--color-blanco) !important;
    box-shadow: var(--sombra-suave);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-blanco);
    border-radius: var(--radio-md);
    overflow: hidden;
    box-shadow: var(--sombra-suave);
}

th {
    background: var(--color-verde-profundo);
    color: var(--color-blanco);
    text-align: left;
}

th,
td {
    padding: 0.75rem;
    border: 1px solid rgba(95, 76, 152, 0.12);
}

td a {
    color: var(--color-morado);
    font-weight: 700;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1180px) {
    .clase-verde-panel-one,
    .clase-verde-panel-two,
    .clase-verde-panel-three,
    .clase-verde-panel-four {
        width: min(880px, 88%);
    }

    .clase-verde-panel-one {
        margin-left: 2rem;
    }

    .clase-verde-panel-two,
    .clase-verde-panel-four {
        margin-right: 0;
    }

    .clase-verde-panel-three {
        margin-left: 7rem;
    }
}

@media (max-width: 1180px) {
    .header-container {
        width: min(100%, 100%);
        padding: 0 0.95rem;
        gap: 0.75rem;
    }

    .logo img {
        height: 58px;
        width: 58px;
    }

    .menu-principal {
        gap: 0.38rem;
    }

    .menu-principal a {
        font-size: 0.68rem;
        letter-spacing: 0.016em;
    }

    .btn-nav,
    .menu-principal a.btn-nav {
        padding-inline: 0.58rem;
    }
}

@media (max-width: 1120px) {
    :root {
        --header-height: 82px;
    }

    .header-container {
        min-height: var(--header-height);
    }

    .logo a {
        width: 56px;
        height: 56px;
    }

    .logo img {
        height: 52px;
        width: 52px;
    }

    .hamburguesa {
        display: grid;
        grid-template-columns: auto 24px;
        grid-template-rows: repeat(3, 4px);
    }

    .hamburguesa::before {
        grid-row: 1 / 4;
        align-self: center;
    }

    .menu-principal {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: auto;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem 1.25rem 1.35rem;
        background: rgba(255,255,255,0.98);
        border-top: 1px solid var(--color-borde);
        box-shadow: var(--sombra-media);
        transform: translateY(-115%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.32s ease, opacity 0.25s ease;
    }

    .menu-principal.activo {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .menu-principal > li {
        width: 100%;
        height: auto;
        display: block;
        border-bottom: 1px solid rgba(95, 76, 152, 0.10);
        margin-left: 0;
    }

    .menu-principal a {
        width: 100%;
        padding: 0.95rem 0.25rem;
        justify-content: space-between;
        font-size: 0.86rem;
    }

    .menu-principal > li > a:not(.btn-nav)::after {
        display: none;
    }

    .submenu {
        position: static;
        width: 100%;
        min-width: auto;
        padding: 0 0 0.65rem 1rem;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .menu-principal > li.submenu-abierto .submenu {
        display: block;
    }

    .submenu li a {
        padding: 0.62rem 0.75rem;
        background: var(--color-crema-verde);
        margin-bottom: 0.35rem;
    }

    .btn-nav,
    .menu-principal a.btn-nav {
        justify-content: center;
        margin: 0.8rem 0 0;
    }

    .swiper,
    .hero-swiper {
        height: calc(84vh - var(--header-height));
        min-height: 520px;
    }

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

    .mission-head {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .mission-closing {
        align-items: flex-start;
    }


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


@media (max-width: 980px) {
    .clase-verde-composition {
        min-height: auto;
    }

    .clase-verde-panel-one,
    .clase-verde-panel-two,
    .clase-verde-panel-three,
    .clase-verde-panel-four {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .clase-verde-brand-seal {
        position: relative;
        left: auto;
        bottom: auto;
        margin: 0 auto 1.4rem;
        width: 156px;
        height: 156px;
        order: -1;
    }

    .clase-verde-leaves-left,
    .clase-verde-leaves-right {
        opacity: 0.38;
    }
}

@media (max-width: 980px) {
    .access-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-inline: auto;
    }

    .quick-links-section {
        padding: clamp(2.8rem, 7vw, 4rem) 0;
    }

    .access-card-body p {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .clase-verde-page {
        padding-top: 2.9rem;
    }

    .clase-verde-header h1 {
        font-size: clamp(2.6rem, 16vw, 4rem);
    }

    .clase-verde-panel {
        align-items: flex-start;
        flex-direction: column;
        padding: 1.2rem;
        border-radius: 20px;
    }

    .clase-verde-panel p,
    .clase-verde-panel-four p {
        font-size: 1rem;
        line-height: 1.58;
        letter-spacing: -0.015em;
    }

    .clase-verde-icon {
        width: 60px;
        height: 60px;
        flex-basis: 60px;
        font-size: 1.55rem;
    }

    .clase-verde-brand-seal {
        width: 132px;
        height: 132px;
        border-width: 4px;
    }

    .clase-verde-ornament span,
    .clase-verde-footer-ornament span {
        width: 38px;
    }
}

@media (max-width: 768px) {
    body {
        line-height: 1.58;
    }

    .container {
        padding-inline: 1.1rem;
    }

    .header-container {
        padding-inline: 1rem;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }

    .slide-title {
        font-size: clamp(2.15rem, 12vw, 3.3rem);
    }

    .access-card-body {
        padding: 1.2rem 1.15rem 1.45rem;
    }

    .newsletter-form {
        display: grid;
        grid-template-columns: 1fr;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }

    .mission-ecoclub {
        padding: 0.7rem;
        border-radius: var(--radio-md);
    }

    .mission-card {
        padding: 1.15rem;
    }

    .mission-closing {
        flex-direction: column;
    }

}

@media (max-width: 520px) {
    .clase-verde-container {
        padding-inline: 1rem;
    }

    .clase-verde-panel-soft,
    .clase-verde-panel-solid {
        box-shadow: 0 14px 34px rgba(47, 51, 44, 0.10);
    }

    .clase-verde-leaves {
        display: none;
    }
}

@media (max-width: 520px) {
    .logo img {
        height: 44px;
    }

    .hamburguesa::before {
        display: none;
    }

    .hamburguesa {
        grid-template-columns: 24px;
        padding-inline: 0.8rem;
    }
}

/* Ajuste específico: el formulario del newsletter no debe heredar el estilo base de formularios administrativos. */
.footer-newsletter .newsletter-form {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* ============================================
   METODOLOGÍA EDUCATIVA - PÁGINA INTERNA
   ============================================ */
.metodologia-page {
    position: relative;
    overflow: hidden;
    padding: clamp(3.4rem, 6vw, 6rem) 0 clamp(4.5rem, 7vw, 7rem);
    background:
        radial-gradient(circle at 16% 16%, rgba(63, 173, 50, 0.11), transparent 30%),
        radial-gradient(circle at 86% 18%, rgba(95, 76, 152, 0.10), transparent 27%),
        linear-gradient(180deg, #ffffff 0%, #fbfdf7 46%, #eef6e8 100%);
    isolation: isolate;
}

.metodologia-page::before {
    content: '';
    position: absolute;
    left: -6vw;
    right: -6vw;
    bottom: -8.5rem;
    height: clamp(10rem, 17vw, 18rem);
    z-index: -1;
    background:
        radial-gradient(ellipse at 22% 42%, rgba(106, 162, 32, 0.26), transparent 38%),
        linear-gradient(135deg, rgba(106, 162, 32, 0.26), rgba(63, 173, 50, 0.10));
    border-radius: 50% 50% 0 0 / 38% 38% 0 0;
    transform: rotate(-1deg);
}

.metodologia-page::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(63, 173, 50, 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(95, 76, 152, 0.024) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent);
}

.metodologia-container {
    width: min(1220px, 100%);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.metodologia-header {
    max-width: 980px;
    margin: 0 auto clamp(2.1rem, 4vw, 3.5rem);
    text-align: center;
}

.metodologia-ornament {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--color-verde-profundo);
}

.metodologia-ornament span {
    display: block;
    width: 54px;
    height: 3px;
    border-radius: var(--radio-pill);
    background: var(--color-morado);
}

.metodologia-ornament i {
    font-size: 1.28rem;
    color: var(--color-verde-profundo);
}

.metodologia-kicker {
    margin: 0.65rem 0 0.2rem;
    color: var(--color-verde-profundo);
    font-size: clamp(0.86rem, 1.4vw, 1rem);
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.metodologia-header h1 {
    margin: 0 0 0.35rem;
    color: var(--color-verde-profundo);
    font-size: clamp(2.55rem, 6vw, 5.45rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    text-transform: none;
}

.metodologia-subtitle {
    max-width: 760px;
    margin: 0 auto;
    color: var(--color-texto-suave);
    font-size: clamp(1.02rem, 1.6vw, 1.28rem);
    font-weight: 600;
}

.metodologia-small-line {
    width: 58px;
    height: 4px;
    margin: 1.05rem auto 0;
    border-radius: var(--radio-pill);
    background: var(--color-morado);
}

.metodologia-map {
    position: relative;
    display: grid;
    grid-template-columns: minmax(230px, 0.82fr) minmax(0, 1.24fr) minmax(0, 1.05fr);
    gap: clamp(1.25rem, 2.4vw, 2rem);
    align-items: stretch;
    margin-bottom: clamp(2.8rem, 5vw, 4.4rem);
}

.metodologia-map::before {
    content: '';
    position: absolute;
    left: calc(25.4% + 0.6rem);
    top: 1.2rem;
    bottom: 1.2rem;
    width: 2px;
    border-radius: var(--radio-pill);
    background: linear-gradient(180deg, rgba(63, 173, 50, 0.08), rgba(63, 173, 50, 0.65), rgba(95, 76, 152, 0.16));
}

.metodologia-process-card,
.metodologia-topic,
.metodologia-spirit {
    border: 1px solid rgba(255, 255, 255, 0.68);
    box-shadow: 0 18px 46px rgba(47, 51, 44, 0.10);
    backdrop-filter: blur(10px);
}

.metodologia-process-card {
    position: relative;
    z-index: 2;
    align-self: stretch;
    padding: clamp(1.45rem, 2.8vw, 2.2rem);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(238, 246, 232, 0.94)),
        radial-gradient(circle at 18% 16%, rgba(63, 173, 50, 0.13), transparent 36%);
}

.metodologia-process-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 1rem;
    border-radius: 50%;
    color: var(--color-blanco);
    background: var(--gradiente-verde);
    box-shadow: 0 14px 30px rgba(63, 173, 50, 0.22);
    font-size: 1.55rem;
}

.metodologia-process-card h2 {
    margin-bottom: 1rem;
    color: var(--color-verde-profundo);
    font-size: clamp(1.22rem, 2.2vw, 1.75rem);
    font-weight: 800;
}

.metodologia-check-list,
.metodologia-dot-list,
.metodologia-spirit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.metodologia-check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.64rem;
    color: var(--color-verde-profundo);
    font-size: clamp(0.95rem, 1.25vw, 1.13rem);
    font-weight: 800;
    line-height: 1.38;
}

.metodologia-check-list li::before {
    content: '\f00c';
    position: absolute;
    left: 0;
    top: 0.02rem;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--color-verde-primario);
}

.metodologia-topic {
    position: relative;
    z-index: 2;
    border-radius: 28px;
    padding: clamp(1.35rem, 2.4vw, 2rem);
    transition: var(--transicion);
}

.metodologia-topic:hover,
.metodologia-process-card:hover,
.metodologia-spirit:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 58px rgba(47, 51, 44, 0.14);
}

.metodologia-topic-nature {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(238, 246, 232, 0.95)),
        radial-gradient(circle at 12% 20%, rgba(63, 173, 50, 0.16), transparent 32%);
}

.metodologia-topic-culture {
    margin-top: clamp(5rem, 9vw, 7.2rem);
    background:
        radial-gradient(circle at 12% 24%, rgba(255, 255, 255, 0.15), transparent 28%),
        linear-gradient(135deg, var(--color-verde-primario), var(--color-verde-profundo));
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 22px 52px rgba(63, 173, 50, 0.20);
}

.metodologia-topic-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.metodologia-topic-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    font-size: 1.6rem;
    box-shadow: 0 12px 28px rgba(47, 51, 44, 0.14);
}

.metodologia-topic-nature .metodologia-topic-icon {
    color: var(--color-verde-profundo);
    background: rgba(255, 255, 255, 0.75);
    border: 2px solid rgba(63, 173, 50, 0.22);
}

.metodologia-topic-culture .metodologia-topic-icon {
    color: var(--color-blanco);
    background: rgba(47, 96, 18, 0.42);
    border: 2px solid rgba(255, 255, 255, 0.18);
}

.metodologia-topic-head span {
    display: block;
    margin-bottom: 0.18rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.metodologia-topic-nature .metodologia-topic-head span {
    color: var(--color-morado);
}

.metodologia-topic-culture .metodologia-topic-head span,
.metodologia-topic-culture h3,
.metodologia-topic-culture .metodologia-dot-list li {
    color: var(--color-blanco);
}

.metodologia-topic h3 {
    margin: 0;
    font-size: clamp(1.15rem, 2vw, 1.62rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.metodologia-dot-list {
    display: grid;
    gap: 0.48rem;
}

.metodologia-dot-list li {
    position: relative;
    padding-left: 1.25rem;
    color: var(--color-verde-profundo);
    font-size: clamp(0.78rem, 1vw, 0.95rem);
    font-weight: 700;
    line-height: 1.38;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.metodologia-dot-list li::before {
    content: '✤';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-verde-primario);
    font-size: 0.78rem;
}

.metodologia-topic-culture .metodologia-dot-list li::before {
    color: rgba(255, 255, 255, 0.82);
}

.metodologia-bird {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.metodologia-bird img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(47, 51, 44, 0.08));
    opacity: 0.78;
}

.metodologia-bird-one {
    right: 0.4rem;
    top: -2.2rem;
    width: clamp(130px, 13vw, 190px);
    height: clamp(130px, 13vw, 190px);
}

.metodologia-spirit {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.4rem, 3.4vw, 3rem);
    border-radius: 34px;
    padding: clamp(1.5rem, 3vw, 2.7rem);
    background:
        radial-gradient(circle at 9% 50%, rgba(95, 76, 152, 0.12), transparent 27%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(238, 246, 232, 0.96));
}

.metodologia-spirit::after {
    content: '';
    position: absolute;
    right: -5rem;
    bottom: -6rem;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(95, 76, 152, 0.08);
}

.metodologia-spirit-brand {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: clamp(150px, 16vw, 210px);
    height: clamp(150px, 16vw, 210px);
    margin-inline: auto;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.93);
    border: 6px solid rgba(63, 173, 50, 0.30);
    box-shadow: 0 22px 52px rgba(47, 51, 44, 0.14);
}

.metodologia-spirit-brand img {
    width: 86%;
    height: 86%;
    object-fit: contain;
}

.metodologia-spirit-content {
    position: relative;
    z-index: 2;
}

.metodologia-ornament-compact {
    margin-bottom: 0.2rem;
}

.metodologia-ornament-compact span {
    width: 42px;
}

.metodologia-spirit h2 {
    margin: 0;
    color: var(--color-verde-profundo);
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.055em;
}

.metodologia-spirit-subtitle {
    margin: 0 0 clamp(1.2rem, 2.4vw, 1.8rem);
    color: var(--color-verde-profundo);
    font-size: clamp(1.02rem, 1.7vw, 1.36rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.metodologia-spirit-list {
    display: grid;
    gap: 0.8rem;
}

.metodologia-spirit-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-texto);
    font-size: clamp(0.96rem, 1.35vw, 1.24rem);
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
}

.metodologia-spirit-list i {
    color: var(--color-verde-primario);
    font-size: clamp(1.22rem, 2vw, 1.55rem);
}

.metodologia-spirit-list li:nth-child(even) span,
.metodologia-spirit-list li:nth-child(even) i {
    color: var(--color-verde-profundo);
}

.metodologia-leaves {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.metodologia-leaves span {
    position: absolute;
    display: block;
    width: 42px;
    height: 70px;
    border-radius: 80% 0 80% 0;
    background: linear-gradient(135deg, rgba(106, 162, 32, 0.82), rgba(63, 173, 50, 0.45));
    transform-origin: bottom center;
    box-shadow: inset -8px -8px 0 rgba(91, 147, 6, 0.08);
}

.metodologia-leaves-left {
    left: 0;
    bottom: 6.4rem;
    width: 180px;
    height: 230px;
}

.metodologia-leaves-left span:nth-child(1) { left: 0; bottom: 38px; transform: rotate(-38deg) scale(0.9); }
.metodologia-leaves-left span:nth-child(2) { left: 46px; bottom: 84px; transform: rotate(-12deg) scale(0.72); }
.metodologia-leaves-left span:nth-child(3) { left: 84px; bottom: 30px; transform: rotate(32deg) scale(1.05); }
.metodologia-leaves-left span:nth-child(4) { left: 124px; bottom: 112px; transform: rotate(45deg) scale(0.65); }

.metodologia-leaves-right {
    right: 0;
    bottom: 1.9rem;
    width: 190px;
    height: 190px;
}

.metodologia-leaves-right span:nth-child(1) { right: 4px; bottom: 26px; transform: rotate(42deg) scale(0.9); }
.metodologia-leaves-right span:nth-child(2) { right: 58px; bottom: 72px; transform: rotate(16deg) scale(0.7); }
.metodologia-leaves-right span:nth-child(3) { right: 102px; bottom: 12px; transform: rotate(-28deg) scale(0.78); }

@media (max-width: 1180px) {
    .metodologia-map {
        grid-template-columns: 0.9fr 1.1fr;
    }

    .metodologia-map::before {
        display: none;
    }

    .metodologia-topic-culture {
        grid-column: 1 / -1;
        margin-top: 0;
    }

    .metodologia-bird-one {
        right: 1rem;
        top: auto;
        bottom: 3rem;
    }
}

@media (max-width: 980px) {
    .metodologia-map,
    .metodologia-spirit {
        grid-template-columns: 1fr;
    }

    .metodologia-bird-one {
        display: none;
    }

    .metodologia-spirit-brand {
        width: 156px;
        height: 156px;
    }

    .metodologia-leaves-left,
    .metodologia-leaves-right {
        opacity: 0.38;
    }
}

@media (max-width: 768px) {
    .metodologia-page {
        padding-top: 2.9rem;
    }

    .metodologia-header h1 {
        font-size: clamp(2.35rem, 15vw, 3.8rem);
    }

    .metodologia-process-card,
    .metodologia-topic,
    .metodologia-spirit {
        border-radius: 22px;
        padding: 1.2rem;
    }

    .metodologia-topic-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .metodologia-topic-icon,
    .metodologia-process-badge {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
        font-size: 1.4rem;
    }

    .metodologia-dot-list li,
    .metodologia-check-list li,
    .metodologia-spirit-list li {
        text-transform: none;
    }

    .metodologia-spirit-list li {
        align-items: flex-start;
        font-size: 0.95rem;
    }

    .metodologia-spirit-brand {
        width: 132px;
        height: 132px;
        border-width: 4px;
    }

    .metodologia-ornament span {
        width: 38px;
    }
}

/* ============================================
   QUIÉNES SOMOS - PÁGINA INTERNA REDISEÑADA
   ============================================ */
.quienes-page {
    position: relative;
    overflow: hidden;
    padding: clamp(3.4rem, 6vw, 6rem) 0 clamp(4.7rem, 7vw, 7.2rem);
    background:
        radial-gradient(circle at 12% 14%, rgba(63, 173, 50, 0.12), transparent 30%),
        radial-gradient(circle at 86% 16%, rgba(95, 76, 152, 0.10), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #fbfdf7 44%, #eef6e8 100%);
    isolation: isolate;
}

.quienes-page::before {
    content: '';
    position: absolute;
    left: -7vw;
    right: -7vw;
    bottom: -8.6rem;
    height: clamp(10rem, 17vw, 18rem);
    z-index: -1;
    background:
        radial-gradient(ellipse at 20% 42%, rgba(106, 162, 32, 0.28), transparent 38%),
        linear-gradient(135deg, rgba(106, 162, 32, 0.26), rgba(63, 173, 50, 0.10));
    border-radius: 50% 50% 0 0 / 38% 38% 0 0;
    transform: rotate(-1.2deg);
}

.quienes-page::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(63, 173, 50, 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(95, 76, 152, 0.024) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent);
}

.quienes-container {
    width: min(1220px, 100%);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.quienes-header,
.quienes-mission-head {
    max-width: 980px;
    margin: 0 auto clamp(2.15rem, 4vw, 3.5rem);
    text-align: center;
}

.quienes-ornament,
.quienes-footer-ornament {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--color-verde-profundo);
}

.quienes-ornament span,
.quienes-footer-ornament span {
    display: block;
    width: 54px;
    height: 3px;
    border-radius: var(--radio-pill);
    background: var(--color-morado);
}

.quienes-ornament i,
.quienes-footer-ornament i {
    font-size: 1.28rem;
    color: var(--color-verde-profundo);
}

.quienes-kicker {
    margin: 0.65rem 0 0.2rem;
    color: var(--color-verde-profundo);
    font-size: clamp(0.86rem, 1.4vw, 1rem);
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.quienes-header h1 {
    margin: 0 0 0.35rem;
    color: var(--color-verde-profundo);
    font-size: clamp(2.55rem, 6vw, 5.45rem);
    font-weight: 800;
    letter-spacing: -0.055em;
}

.quienes-subtitle {
    max-width: 790px;
    margin: 0 auto;
    color: var(--color-texto-suave);
    font-size: clamp(1.02rem, 1.6vw, 1.28rem);
    font-weight: 600;
}

.quienes-small-line {
    width: 58px;
    height: 4px;
    margin: 1.05rem auto 0;
    border-radius: var(--radio-pill);
    background: var(--color-morado);
}

.quienes-intro {
    position: relative;
    display: grid;
    grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.7fr);
    align-items: center;
    gap: clamp(1.35rem, 4vw, 3.5rem);
    margin-bottom: clamp(3rem, 5vw, 4.7rem);
}

.quienes-intro::before {
    content: '';
    position: absolute;
    left: calc(28% + 0.2rem);
    top: 1.6rem;
    bottom: 1.6rem;
    width: 2px;
    border-radius: var(--radio-pill);
    background: linear-gradient(180deg, rgba(63, 173, 50, 0.08), rgba(63, 173, 50, 0.58), rgba(95, 76, 152, 0.16));
}

.quienes-brand-card,
.quienes-story-panel,
.quienes-mission-item,
.quienes-closing {
    border: 1px solid rgba(255, 255, 255, 0.68);
    box-shadow: 0 18px 46px rgba(47, 51, 44, 0.10);
    backdrop-filter: blur(10px);
}

.quienes-brand-card {
    position: relative;
    z-index: 2;
    overflow: hidden;
    display: grid;
    place-items: center;
    min-height: 520px;
    padding: clamp(1.35rem, 2.8vw, 2.2rem);
    border-radius: 34px;
    background:
        radial-gradient(circle at 50% 38%, rgba(95, 76, 152, 0.10), transparent 35%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(238, 246, 232, 0.96));
}

.quienes-brand-card::before,
.quienes-brand-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.quienes-brand-card::before {
    width: 280px;
    height: 280px;
    background: rgba(63, 173, 50, 0.09);
    left: -6rem;
    top: -5rem;
}

.quienes-brand-card::after {
    width: 210px;
    height: 210px;
    background: rgba(95, 76, 152, 0.08);
    right: -5rem;
    bottom: -4rem;
}

.quienes-brand-orbit {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: clamp(176px, 20vw, 245px);
    height: clamp(176px, 20vw, 245px);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    border: 7px solid rgba(63, 173, 50, 0.30);
    box-shadow: 0 22px 52px rgba(47, 51, 44, 0.14);
}

.quienes-brand-orbit::before {
    content: '';
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    border: 2px dashed rgba(95, 76, 152, 0.24);
}

.quienes-brand-orbit img {
    width: 86%;
    height: 86%;
    object-fit: contain;
}

.quienes-brand-tags {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.72rem;
    margin-top: 1.8rem;
}

.quienes-brand-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radio-pill);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(63, 173, 50, 0.16);
    color: var(--color-verde-profundo);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quienes-story {
    position: relative;
    z-index: 2;
    display: grid;
    gap: clamp(1.1rem, 2.2vw, 1.55rem);
}

.quienes-story-panel {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: clamp(1rem, 2vw, 1.45rem);
    border-radius: 28px;
    padding: clamp(1.25rem, 2.4vw, 1.95rem);
    transition: var(--transicion);
}

.quienes-story-panel:hover,
.quienes-mission-item:hover,
.quienes-closing:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 58px rgba(47, 51, 44, 0.14);
}

.quienes-story-panel-soft {
    max-width: 92%;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.80), rgba(238, 246, 232, 0.96)),
        radial-gradient(circle at 12% 20%, rgba(63, 173, 50, 0.16), transparent 32%);
}

.quienes-story-panel-solid {
    max-width: 92%;
    margin-left: auto;
    background:
        radial-gradient(circle at 12% 24%, rgba(255, 255, 255, 0.15), transparent 28%),
        linear-gradient(135deg, var(--color-verde-primario), var(--color-verde-profundo));
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 22px 52px rgba(63, 173, 50, 0.20);
}

.quienes-story-panel-wide {
    max-width: 96%;
    margin-left: 7%;
}

.quienes-story-icon,
.quienes-mission-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 66px;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    font-size: 1.56rem;
    box-shadow: 0 12px 28px rgba(47, 51, 44, 0.14);
}

.quienes-story-panel-soft .quienes-story-icon,
.quienes-mission-item-soft .quienes-mission-icon {
    color: var(--color-verde-profundo);
    background: rgba(255, 255, 255, 0.80);
    border: 2px solid rgba(63, 173, 50, 0.22);
}

.quienes-story-panel-solid .quienes-story-icon,
.quienes-mission-item-solid .quienes-mission-icon {
    color: var(--color-blanco);
    background: rgba(47, 96, 18, 0.42);
    border: 2px solid rgba(255, 255, 255, 0.18);
}

.quienes-story-panel p {
    margin: 0;
    font-size: clamp(0.96rem, 1.25vw, 1.1rem);
    font-weight: 600;
    line-height: 1.62;
}

.quienes-story-panel-soft p {
    color: var(--color-texto);
}

.quienes-story-panel-solid p,
.quienes-story-panel-solid strong {
    color: var(--color-blanco);
}

.quienes-mission {
    position: relative;
    z-index: 2;
}

.quienes-mission-head {
    margin-bottom: clamp(1.8rem, 3.4vw, 2.75rem);
}

.quienes-ornament-compact span {
    width: 42px;
}

.quienes-mission-head h2 {
    margin: 0 0 0.75rem;
    color: var(--color-verde-profundo);
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -0.055em;
}

.quienes-mission-head p {
    max-width: 900px;
    margin: 0 auto;
    color: var(--color-texto-suave);
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    font-weight: 600;
    line-height: 1.7;
}

.quienes-mission-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.45rem);
    align-items: stretch;
    margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
}

.quienes-mission-item {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: clamp(1.25rem, 2.2vw, 1.85rem);
    transition: var(--transicion);
}

.quienes-mission-item::after {
    content: '';
    position: absolute;
    right: -4.8rem;
    bottom: -5.2rem;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.quienes-mission-item-soft {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(238, 246, 232, 0.95)),
        radial-gradient(circle at 18% 16%, rgba(63, 173, 50, 0.13), transparent 36%);
}

.quienes-mission-item-solid {
    background:
        radial-gradient(circle at 12% 24%, rgba(255, 255, 255, 0.16), transparent 28%),
        linear-gradient(135deg, var(--color-verde-primario), var(--color-verde-profundo));
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 22px 52px rgba(63, 173, 50, 0.20);
}

.quienes-mission-item h3 {
    position: relative;
    z-index: 2;
    margin: 1rem 0 0.72rem;
    font-size: clamp(1.12rem, 1.8vw, 1.52rem);
    font-weight: 800;
    letter-spacing: -0.035em;
}

.quienes-mission-item p {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: clamp(0.92rem, 1.18vw, 1.03rem);
    font-weight: 600;
    line-height: 1.62;
}

.quienes-mission-item-soft h3,
.quienes-mission-item-soft p {
    color: var(--color-verde-profundo);
}

.quienes-mission-item-soft p {
    color: var(--color-texto);
}

.quienes-mission-item-solid h3,
.quienes-mission-item-solid p {
    color: var(--color-blanco);
}

.quienes-closing {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: clamp(1.05rem, 2.8vw, 2rem);
    padding: clamp(1.3rem, 2.8vw, 2.2rem);
    border-radius: 34px;
    background:
        radial-gradient(circle at 9% 50%, rgba(95, 76, 152, 0.12), transparent 27%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(238, 246, 232, 0.96));
    transition: var(--transicion);
}

.quienes-closing::after {
    content: '';
    position: absolute;
    right: -5rem;
    bottom: -6rem;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(95, 76, 152, 0.08);
}

.quienes-closing-seal {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: clamp(92px, 10vw, 136px);
    height: clamp(92px, 10vw, 136px);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.93);
    border: 5px solid rgba(63, 173, 50, 0.30);
    box-shadow: 0 18px 38px rgba(47, 51, 44, 0.12);
}

.quienes-closing-seal img {
    width: 86%;
    height: 86%;
    object-fit: contain;
}

.quienes-closing div:last-child {
    position: relative;
    z-index: 2;
}

.quienes-closing span {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-morado);
    font-size: clamp(0.88rem, 1.2vw, 1.02rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.quienes-closing p {
    margin: 0;
    color: var(--color-texto);
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    font-weight: 700;
    line-height: 1.66;
}

.quienes-footer-ornament {
    display: flex;
    margin-top: clamp(2.2rem, 4vw, 3rem);
}

.quienes-leaves {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.quienes-leaves span {
    position: absolute;
    display: block;
    width: 42px;
    height: 70px;
    border-radius: 80% 0 80% 0;
    background: linear-gradient(135deg, rgba(106, 162, 32, 0.82), rgba(63, 173, 50, 0.45));
    transform-origin: bottom center;
    box-shadow: inset -8px -8px 0 rgba(91, 147, 6, 0.08);
}

.quienes-leaves-left {
    left: 0;
    bottom: 7rem;
    width: 180px;
    height: 230px;
}

.quienes-leaves-left span:nth-child(1) { left: 0; bottom: 38px; transform: rotate(-38deg) scale(0.9); }
.quienes-leaves-left span:nth-child(2) { left: 46px; bottom: 84px; transform: rotate(-12deg) scale(0.72); }
.quienes-leaves-left span:nth-child(3) { left: 84px; bottom: 30px; transform: rotate(32deg) scale(1.05); }
.quienes-leaves-left span:nth-child(4) { left: 124px; bottom: 112px; transform: rotate(45deg) scale(0.65); }

.quienes-leaves-right {
    right: 0;
    bottom: 2.2rem;
    width: 190px;
    height: 190px;
}

.quienes-leaves-right span:nth-child(1) { right: 4px; bottom: 26px; transform: rotate(42deg) scale(0.9); }
.quienes-leaves-right span:nth-child(2) { right: 58px; bottom: 72px; transform: rotate(16deg) scale(0.7); }
.quienes-leaves-right span:nth-child(3) { right: 102px; bottom: 12px; transform: rotate(-28deg) scale(0.78); }

@media (max-width: 1180px) {
    .quienes-intro {
        grid-template-columns: 1fr;
    }

    .quienes-intro::before {
        display: none;
    }

    .quienes-brand-card {
        min-height: auto;
    }

    .quienes-story-panel-soft,
    .quienes-story-panel-solid,
    .quienes-story-panel-wide {
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 980px) {
    .quienes-mission-grid {
        grid-template-columns: 1fr;
    }

    .quienes-leaves-left,
    .quienes-leaves-right {
        opacity: 0.38;
    }
}

@media (max-width: 768px) {
    .quienes-page {
        padding-top: 2.9rem;
    }

    .quienes-header h1 {
        font-size: clamp(2.35rem, 15vw, 3.8rem);
    }

    .quienes-story-panel,
    .quienes-closing {
        grid-template-columns: 1fr;
        border-radius: 22px;
        padding: 1.2rem;
    }

    .quienes-mission-item {
        border-radius: 22px;
        padding: 1.2rem;
    }

    .quienes-story-icon,
    .quienes-mission-icon {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
        font-size: 1.4rem;
    }

    .quienes-brand-card {
        border-radius: 26px;
    }

    .quienes-brand-orbit {
        width: 154px;
        height: 154px;
        border-width: 4px;
    }

    .quienes-closing-seal {
        width: 112px;
        height: 112px;
        border-width: 4px;
    }

    .quienes-ornament span,
    .quienes-footer-ornament span {
        width: 38px;
    }
}

/* ============================================
   DESTINOS DE CLASES VERDES - MAPA INTERACTIVO
   ============================================ */
.destinos-verdes-page {
    position: relative;
    overflow: hidden;
    padding: clamp(3.4rem, 6vw, 6rem) 0 clamp(4.5rem, 7vw, 7rem);
    background:
        radial-gradient(circle at 14% 16%, rgba(63, 173, 50, 0.12), transparent 30%),
        radial-gradient(circle at 86% 20%, rgba(95, 76, 152, 0.10), transparent 27%),
        linear-gradient(180deg, #ffffff 0%, #fbfdf7 45%, #eef6e8 100%);
    isolation: isolate;
}

.destinos-verdes-page::before {
    content: '';
    position: absolute;
    left: -6vw;
    right: -6vw;
    bottom: -9rem;
    height: clamp(10rem, 17vw, 18rem);
    z-index: -1;
    background:
        radial-gradient(ellipse at 22% 42%, rgba(106, 162, 32, 0.24), transparent 38%),
        linear-gradient(135deg, rgba(106, 162, 32, 0.26), rgba(63, 173, 50, 0.10));
    border-radius: 50% 50% 0 0 / 38% 38% 0 0;
    transform: rotate(-1deg);
}

.destinos-verdes-page::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(63, 173, 50, 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(95, 76, 152, 0.024) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent);
}

.destinos-verdes-container {
    width: min(1280px, 100%);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.destinos-verdes-header {
    max-width: 980px;
    margin: 0 auto clamp(2.2rem, 4vw, 3.6rem);
    text-align: center;
}

.destinos-verdes-header h1 {
    margin: 0 0 0.35rem;
    color: var(--color-verde-profundo);
    font-size: clamp(2.55rem, 6vw, 5.3rem);
    font-weight: 800;
    letter-spacing: -0.055em;
}

.destinos-verdes-subtitle {
    max-width: 820px;
    margin: 0 auto;
    color: var(--color-texto-suave);
    font-size: clamp(1.02rem, 1.6vw, 1.26rem);
    font-weight: 600;
}

.destinos-verdes-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1.35fr);
    gap: clamp(1.35rem, 2.6vw, 2.2rem);
    align-items: stretch;
}

.destinos-verdes-shell::before {
    content: '';
    position: absolute;
    left: 30%;
    top: 1.2rem;
    bottom: 1.2rem;
    width: 2px;
    z-index: 0;
    border-radius: var(--radio-pill);
    background: linear-gradient(180deg, rgba(63, 173, 50, 0.08), rgba(63, 173, 50, 0.60), rgba(95, 76, 152, 0.16));
}

.destinos-verdes-panel,
.destinos-verdes-map-card {
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 34px;
    box-shadow: 0 18px 46px rgba(47, 51, 44, 0.10);
    backdrop-filter: blur(10px);
}

.destinos-verdes-panel {
    overflow: hidden;
    padding: clamp(1.35rem, 2.6vw, 2rem);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(238, 246, 232, 0.96)),
        radial-gradient(circle at 14% 12%, rgba(63, 173, 50, 0.13), transparent 36%);
}

.destinos-verdes-panel::after {
    content: '';
    position: absolute;
    right: -5.2rem;
    top: -5.2rem;
    width: 185px;
    height: 185px;
    border-radius: 50%;
    background: rgba(95, 76, 152, 0.08);
}

.destinos-verdes-brand {
    position: absolute;
    right: 1.2rem;
    top: 1.15rem;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    border: 4px solid rgba(63, 173, 50, 0.28);
    box-shadow: 0 14px 30px rgba(47, 51, 44, 0.12);
}

.destinos-verdes-brand img {
    width: 85%;
    height: 85%;
    object-fit: contain;
}

.destinos-verdes-panel-head {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1rem;
    padding-right: 4.5rem;
    margin-bottom: 1rem;
}

.destinos-verdes-count {
    display: inline-grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    color: var(--color-blanco);
    background: var(--gradiente-verde);
    box-shadow: 0 14px 30px rgba(63, 173, 50, 0.22);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.destinos-verdes-panel-head p {
    margin: 0;
    color: var(--color-morado);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.destinos-verdes-panel-head h2 {
    margin: 0.12rem 0 0;
    color: var(--color-verde-profundo);
    font-size: clamp(1.26rem, 2vw, 1.7rem);
    font-weight: 800;
}

.destinos-verdes-help {
    position: relative;
    z-index: 2;
    margin: 0 0 1.2rem;
    color: var(--color-texto-suave);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.55;
}

.destinos-verdes-list {
    position: relative;
    z-index: 2;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    max-height: 660px;
    margin: 0;
    padding: 0.15rem 0.3rem 0.15rem 0;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(63, 173, 50, 0.55) rgba(255, 255, 255, 0.45);
}

.destinos-verdes-list::-webkit-scrollbar {
    width: 8px;
}

.destinos-verdes-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.45);
    border-radius: var(--radio-pill);
}

.destinos-verdes-list::-webkit-scrollbar-thumb {
    background: rgba(63, 173, 50, 0.55);
    border-radius: var(--radio-pill);
}

button.destinos-verdes-item,
.destinos-verdes-item {
    all: unset;
    box-sizing: border-box;
    cursor: pointer;
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.78rem;
    min-height: 0;
    padding: 0.78rem 0.78rem;
    border-radius: 18px;
    border: 1px solid rgba(95, 76, 152, 0.10);
    background: rgba(255, 255, 255, 0.66);
    color: var(--color-texto);
    box-shadow: 0 9px 18px rgba(47, 51, 44, 0.045);
    transition: var(--transicion);
}

.destinos-verdes-item:hover,
.destinos-verdes-item.activo {
    transform: translateX(4px);
    border-color: rgba(63, 173, 50, 0.28);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(238, 246, 232, 0.95));
    box-shadow: 0 14px 28px rgba(47, 51, 44, 0.09);
}

.destinos-verdes-item.activo .destinos-verdes-number,
.destinos-verdes-item:hover .destinos-verdes-number {
    color: var(--color-blanco);
    background: var(--gradiente-verde);
}

.destinos-verdes-number {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--color-verde-profundo);
    background: rgba(63, 173, 50, 0.12);
    border: 1px solid rgba(63, 173, 50, 0.18);
    font-size: 0.8rem;
    font-weight: 800;
    transition: var(--transicion);
}

.destinos-verdes-name-wrap {
    display: grid;
    gap: 0.05rem;
}

.destinos-verdes-name-wrap strong {
    color: var(--color-verde-profundo);
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.destinos-verdes-name-wrap small {
    color: var(--color-texto-suave);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.destinos-verdes-item > i {
    color: var(--color-morado);
    font-size: 0.92rem;
}

.destinos-verdes-map-card {
    overflow: hidden;
    display: grid;
    grid-template-rows: auto minmax(560px, 1fr) auto;
    padding: clamp(1.2rem, 2.2vw, 1.7rem);
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.24), transparent 28%),
        linear-gradient(135deg, rgba(63, 173, 50, 0.98), rgba(91, 147, 6, 0.95));
    border-color: rgba(255, 255, 255, 0.30);
    box-shadow: 0 22px 52px rgba(63, 173, 50, 0.20);
}

.destinos-verdes-map-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--color-blanco);
}

.destinos-verdes-map-top span {
    display: block;
    margin-bottom: 0.2rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.destinos-verdes-map-top h2 {
    margin: 0;
    color: var(--color-blanco);
    font-size: clamp(1.25rem, 2.4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.035em;
}

.destinos-verdes-map-badge {
    display: inline-grid;
    place-items: center;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    color: var(--color-blanco);
    background: rgba(47, 96, 18, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 12px 28px rgba(47, 51, 44, 0.14);
    font-size: 1.55rem;
}

#mapa.destinos-verdes-map,
.destinos-verdes-map {
    width: 100%;
    min-height: 560px;
    height: 100%;
    border: 10px solid rgba(255, 255, 255, 0.42) !important;
    border-radius: 26px !important;
    box-shadow: 0 18px 38px rgba(47, 51, 44, 0.16) !important;
    overflow: hidden;
    background: var(--color-crema-verde);
}

.destinos-verdes-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.2rem;
    align-items: center;
    justify-content: center;
    padding-top: 1rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.destinos-verdes-legend i {
    color: rgba(255, 255, 255, 0.92);
    margin-right: 0.35rem;
}

.destinos-verdes-marker {
    background: transparent;
    border: 0;
}

.destinos-verdes-marker span {
    position: relative;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50% 50% 50% 6px;
    color: var(--color-blanco);
    background: var(--gradiente-verde);
    border: 3px solid var(--color-blanco);
    box-shadow: 0 12px 22px rgba(47, 51, 44, 0.24);
    font-family: var(--font-principal);
    font-size: 0.8rem;
    font-weight: 800;
    transform: rotate(-45deg);
}

.destinos-verdes-marker span::after {
    content: attr(data-label);
}

.destinos-verdes-marker span {
    line-height: 1;
}

.destinos-verdes-marker span * {
    transform: rotate(45deg);
}

.destinos-verdes-marker span {
    text-align: center;
}

.destinos-verdes-marker span::before {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.destinos-verdes-marker span {
    color: transparent;
}

.destinos-verdes-marker span::after {
    content: attr(data-number);
}

.destinos-verdes-marker span {
    font-size: 0;
}

.destinos-verdes-marker span::after {
    position: relative;
    z-index: 2;
    display: block;
    color: var(--color-blanco);
    font-size: 0.8rem;
    line-height: 1;
    transform: rotate(45deg);
}

.leaflet-marker-icon.destinos-verdes-marker span::after {
    content: attr(data-number);
}

.destinos-popup {
    min-width: 190px;
    font-family: var(--font-principal);
}

.destinos-popup strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--color-verde-profundo);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
}

.destinos-popup small {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--color-texto-suave);
    font-size: 0.78rem;
    font-weight: 700;
}

.destinos-popup a,
.destinos-popup-note {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.45rem 0.75rem;
    border-radius: var(--radio-pill);
    background: rgba(63, 173, 50, 0.11);
    color: var(--color-verde-profundo) !important;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.destinos-popup-note {
    background: rgba(95, 76, 152, 0.10);
    color: var(--color-morado) !important;
}

.destinos-verdes-leaves {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.destinos-verdes-leaves span {
    position: absolute;
    display: block;
    width: 42px;
    height: 70px;
    border-radius: 80% 0 80% 0;
    background: linear-gradient(135deg, rgba(106, 162, 32, 0.82), rgba(63, 173, 50, 0.45));
    transform-origin: bottom center;
    box-shadow: inset -8px -8px 0 rgba(91, 147, 6, 0.08);
}

.destinos-verdes-leaves-left {
    left: 0;
    bottom: 6.4rem;
    width: 180px;
    height: 230px;
}

.destinos-verdes-leaves-left span:nth-child(1) { left: 0; bottom: 38px; transform: rotate(-38deg) scale(0.9); }
.destinos-verdes-leaves-left span:nth-child(2) { left: 46px; bottom: 84px; transform: rotate(-12deg) scale(0.72); }
.destinos-verdes-leaves-left span:nth-child(3) { left: 84px; bottom: 30px; transform: rotate(32deg) scale(1.05); }
.destinos-verdes-leaves-left span:nth-child(4) { left: 124px; bottom: 112px; transform: rotate(45deg) scale(0.65); }

.destinos-verdes-leaves-right {
    right: 0;
    bottom: 1.9rem;
    width: 190px;
    height: 190px;
}

.destinos-verdes-leaves-right span:nth-child(1) { right: 4px; bottom: 26px; transform: rotate(42deg) scale(0.9); }
.destinos-verdes-leaves-right span:nth-child(2) { right: 58px; bottom: 72px; transform: rotate(16deg) scale(0.7); }
.destinos-verdes-leaves-right span:nth-child(3) { right: 102px; bottom: 12px; transform: rotate(-28deg) scale(0.78); }

@media (max-width: 1180px) {
    .destinos-verdes-shell {
        grid-template-columns: 1fr;
    }

    .destinos-verdes-shell::before {
        display: none;
    }

    .destinos-verdes-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: none;
        padding-right: 0;
    }
}

@media (max-width: 980px) {
    .destinos-verdes-map-card {
        grid-template-rows: auto minmax(460px, 1fr) auto;
    }

    #mapa.destinos-verdes-map,
    .destinos-verdes-map {
        min-height: 460px;
    }

    .destinos-verdes-leaves-left,
    .destinos-verdes-leaves-right {
        opacity: 0.38;
    }
}

@media (max-width: 768px) {
    .destinos-verdes-page {
        padding-top: 2.9rem;
    }

    .destinos-verdes-header h1 {
        font-size: clamp(2.35rem, 15vw, 3.8rem);
    }

    .destinos-verdes-panel,
    .destinos-verdes-map-card {
        border-radius: 22px;
        padding: 1.15rem;
    }

    .destinos-verdes-panel-head {
        grid-template-columns: 1fr;
        padding-right: 0;
    }

    .destinos-verdes-brand {
        width: 62px;
        height: 62px;
        right: 1rem;
        top: 1rem;
    }

    .destinos-verdes-list {
        grid-template-columns: 1fr;
    }

    .destinos-verdes-map-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .destinos-verdes-map-badge {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
        font-size: 1.4rem;
    }

    #mapa.destinos-verdes-map,
    .destinos-verdes-map {
        min-height: 390px;
        border-width: 6px !important;
        border-radius: 20px !important;
    }

    .destinos-verdes-leaves {
        display: none;
    }
}

/* ============================================
   JORNADAS - MAPA INTERACTIVO
   ============================================ */
.destinos-jornadas-page {
    background:
        radial-gradient(circle at 12% 15%, rgba(95, 76, 152, 0.10), transparent 30%),
        radial-gradient(circle at 84% 18%, rgba(63, 173, 50, 0.13), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #fbfdf7 48%, #eef6e8 100%);
}

.destinos-jornadas-shell {
    grid-template-columns: minmax(365px, 0.9fr) minmax(0, 1.32fr);
}

.destinos-jornadas-panel {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.90), rgba(238, 246, 232, 0.97)),
        radial-gradient(circle at 16% 12%, rgba(95, 76, 152, 0.10), transparent 36%);
}

.destinos-jornadas-groups {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 1.05rem;
}

.destinos-jornadas-group {
    padding: 0.85rem;
    border: 1px solid rgba(95, 76, 152, 0.10);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 12px 24px rgba(47, 51, 44, 0.05);
}

.destinos-jornadas-group-title {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.78rem;
    align-items: center;
    margin-bottom: 0.7rem;
}

.destinos-jornadas-group-title h3 {
    margin: 0;
    color: var(--color-verde-profundo);
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.destinos-jornadas-group-title small {
    display: block;
    color: var(--color-texto-suave);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.destinos-jornadas-level-icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--color-blanco);
    background: var(--gradiente-verde);
    box-shadow: 0 12px 24px rgba(63, 173, 50, 0.18);
}

.destinos-jornadas-group-secundaria .destinos-jornadas-level-icon {
    background: var(--gradiente-morado);
    box-shadow: 0 12px 24px rgba(95, 76, 152, 0.18);
}

.destinos-jornadas-list.destinos-verdes-list {
    max-height: none;
    gap: 0.48rem;
    padding: 0;
    overflow: visible;
}

.destinos-jornadas-item.destinos-verdes-item {
    padding: 0.68rem 0.68rem;
    border-radius: 16px;
    gap: 0.66rem;
}

.destinos-jornadas-item-secundaria .destinos-verdes-number {
    color: var(--color-morado);
    background: rgba(95, 76, 152, 0.10);
    border-color: rgba(95, 76, 152, 0.18);
}

.destinos-jornadas-item-secundaria:hover,
.destinos-jornadas-item-secundaria.activo {
    border-color: rgba(95, 76, 152, 0.30);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(245, 242, 251, 0.96));
}

.destinos-jornadas-item-secundaria:hover .destinos-verdes-number,
.destinos-jornadas-item-secundaria.activo .destinos-verdes-number {
    color: var(--color-blanco);
    background: var(--gradiente-morado);
}

.destinos-jornadas-code {
    width: 42px;
    height: 42px;
    font-size: 0.78rem;
}

.destinos-jornadas-map-card {
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.25), transparent 28%),
        linear-gradient(135deg, rgba(95, 76, 152, 0.96), rgba(63, 173, 50, 0.98));
    box-shadow: 0 22px 52px rgba(95, 76, 152, 0.18);
}

.destinos-jornadas-marker span {
    width: 42px;
    height: 42px;
    background: var(--gradiente-verde);
}

.destinos-jornadas-marker.jornadas-secundaria span {
    background: var(--gradiente-morado);
}

.destinos-jornadas-marker span::after {
    font-size: 0.68rem;
    letter-spacing: -0.02em;
}

.destinos-jornadas-legend .jornadas-legend-dot.nivel-primaria {
    color: #ffffff;
}

.destinos-jornadas-legend .jornadas-legend-dot.nivel-secundaria {
    color: rgba(255, 255, 255, 0.72);
}

.destinos-jornadas-popup small {
    text-transform: none;
}

@media (max-width: 1180px) {
    .destinos-jornadas-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .destinos-jornadas-group {
        padding: 0.72rem;
        border-radius: 20px;
    }

    .destinos-jornadas-code {
        width: 38px;
        height: 38px;
        font-size: 0.72rem;
    }
}

/* ============================================
   AJUSTES PRODUCCIÓN - LOGO COMPLETO / HERO / FICHAS / ADMIN
   ============================================ */
.logo a {
    width: clamp(150px, 13vw, 210px);
    height: 72px;
    border-radius: 0;
}
.logo img {
    width: 100%;
    height: 64px;
    border-radius: 0;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(47, 51, 44, 0.12));
}
.header-container { gap: clamp(1rem, 1.6vw, 2rem); }

.hero-slide-designed::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.25));
}
.hero-slide-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    text-align: center;
}
.hero-slide-panel {
    position: relative;
    width: min(1120px, 88vw);
    padding: clamp(2rem, 4vw, 3.3rem) clamp(1.4rem, 5vw, 5rem);
    border: 24px solid rgba(255, 255, 255, 0.26);
    background: rgba(70, 60, 40, 0.46);
    box-shadow: 0 22px 62px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(2px);
}
.hero-slide-panel h1 {
    margin: 0;
    color: #fff;
    font-family: Georgia, 'Roboto Slab', serif;
    font-size: clamp(2.1rem, 4.5vw, 4.45rem);
    line-height: 1.18;
    font-weight: 400;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}
.hero-slide-logo {
    position: absolute;
    top: calc(50% - 190px);
    z-index: 4;
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 4px solid rgba(63, 173, 50, 0.78);
    box-shadow: 0 12px 34px rgba(0,0,0,0.16);
}
.hero-slide-logo img { width: 76%; height: 76%; object-fit: contain; }

/* Página: Clases sin Fronteras */
.sin-fronteras-page {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f4faef 100%);
    padding: clamp(2.2rem, 4vw, 3.2rem) 0;
}
.sin-fronteras-hero {
    position: relative;
    display: grid;
    place-items: center;
    width: min(1920px, 100%);
    min-height: min(800px, calc(100vh - var(--header-height) - 5rem));
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem) 1.5rem;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.sin-fronteras-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.28));
}
.sin-fronteras-panel {
    position: relative;
    z-index: 2;
    width: min(1120px, 92vw);
    padding: clamp(2.2rem, 5vw, 4rem) clamp(1.4rem, 5vw, 5rem);
    text-align: center;
    border: 22px solid rgba(255, 255, 255, 0.26);
    background: rgba(70, 60, 40, 0.46);
    color: var(--color-blanco);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(2px);
}
.sin-fronteras-badge {
    position: absolute;
    left: 50%;
    top: -72px;
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    width: 98px;
    height: 98px;
    border-radius: 50%;
    background: rgba(255,255,255,0.94);
    border: 4px solid rgba(63, 173, 50, 0.72);
}
.sin-fronteras-badge img { width: 78%; height: 78%; object-fit: contain; }
.sin-fronteras-kicker {
    margin: 0 0 0.55rem;
    color: rgba(255,255,255,0.82);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}
.sin-fronteras-panel h1 {
    margin-bottom: 0.8rem;
    color: var(--color-blanco);
    font-size: clamp(2.2rem, 5vw, 5.1rem);
    text-transform: uppercase;
}
.sin-fronteras-message {
    max-width: 900px;
    margin: 0 auto 1.7rem;
    color: var(--color-blanco);
    font-family: Georgia, 'Roboto Slab', serif;
    font-size: clamp(1.25rem, 2.9vw, 2.65rem);
    line-height: 1.28;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

/* Fichas públicas de destinos y jornadas */
.ficha-detalle-page {
    position: relative;
    overflow: hidden;
    padding: clamp(3.2rem, 6vw, 5.8rem) 0;
    background:
        radial-gradient(circle at 14% 18%, rgba(63, 173, 50, 0.12), transparent 30%),
        radial-gradient(circle at 86% 78%, rgba(95, 76, 152, 0.10), transparent 28%),
        linear-gradient(180deg, #fff 0%, #fbfdf7 46%, #eef6e8 100%);
}
.ficha-detalle-container {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.ficha-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    color: var(--color-morado);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.ficha-detalle-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: clamp(1.35rem, 3vw, 2.4rem);
    align-items: start;
    border-radius: 34px;
    padding: clamp(1.35rem, 3vw, 2.6rem);
    background:
        radial-gradient(circle at 10% 8%, rgba(63, 173, 50, 0.12), transparent 32%),
        rgba(255,255,255,0.82);
    border: 1px solid rgba(95,76,152,0.12);
    box-shadow: 0 22px 58px rgba(47,51,44,0.12);
    backdrop-filter: blur(10px);
}
.ficha-detalle-main h1 {
    max-width: 900px;
    margin-bottom: 1.4rem;
    color: var(--color-verde-profundo);
    font-size: clamp(2.2rem, 5.4vw, 4.7rem);
    font-weight: 800;
    letter-spacing: -0.055em;
}
.ficha-detalle-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.8rem;
    padding: 0.42rem 0.9rem;
    border-radius: var(--radio-pill);
    background: rgba(95,76,152,0.10);
    color: var(--color-morado);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.ficha-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.ficha-info-block {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: start;
    padding: 1.1rem;
    border-radius: 22px;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(95,76,152,0.12);
    box-shadow: 0 12px 30px rgba(47,51,44,0.07);
}
.ficha-info-wide { grid-column: 1 / -1; }
.ficha-info-solid {
    background: linear-gradient(135deg, var(--color-verde-primario), var(--color-verde-profundo));
    border-color: rgba(255,255,255,0.25);
}
.ficha-info-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--color-blanco);
    background: var(--gradiente-verde);
    box-shadow: 0 10px 24px rgba(63,173,50,0.22);
}
.ficha-info-solid .ficha-info-icon {
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.22);
}
.ficha-info-block h2 {
    margin: 0 0 0.25rem;
    color: var(--color-verde-profundo);
    font-size: 1.25rem;
}
.ficha-info-block p {
    margin: 0;
    color: var(--color-texto-suave);
    font-size: 0.98rem;
    line-height: 1.75;
}
.ficha-info-solid h2,
.ficha-info-solid p { color: var(--color-blanco); }
.ficha-galeria-card {
    border-radius: 26px;
    padding: 1.1rem;
    background: rgba(255,255,255,0.76);
    border: 1px solid rgba(95,76,152,0.12);
    box-shadow: 0 14px 34px rgba(47,51,44,0.08);
}
.ficha-galeria-card h2 {
    margin-bottom: 0.8rem;
    color: var(--color-morado);
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.ficha-galeria-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

/* Botón flotante Spotify */
.spotify-floating {
    position: fixed;
    right: 1.3rem;
    bottom: 1.35rem;
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 52px;
    max-width: calc(100vw - 2rem);
    padding: 0.78rem 1.05rem;
    border-radius: var(--radio-pill);
    color: var(--color-blanco) !important;
    background: linear-gradient(135deg, #1DB954 0%, var(--color-verde-profundo) 100%);
    box-shadow: 0 18px 38px rgba(29,185,84,0.28);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: none;
}
.spotify-floating i { font-size: 1.45rem; }
.spotify-floating:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(29,185,84,0.35); }

/* ============================================
   ADMIN ECOLÓGICO - LOGIN / DASHBOARD / ABM
   ============================================ */
body.admin-login-page,
body.admin-shell {
    padding-top: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 9% 18%, rgba(63,173,50,0.14), transparent 32%),
        radial-gradient(circle at 90% 78%, rgba(95,76,152,0.11), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #fbfdf7 42%, #eef6e8 100%);
}
body.admin-login-page::before,
body.admin-shell::before { display: none; }
.admin-login-wrap {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(330px, 480px);
    align-items: stretch;
}
.admin-login-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 6vw, 6rem);
    overflow: hidden;
    color: var(--color-blanco);
    background:
        radial-gradient(circle at 20% 25%, rgba(255,255,255,0.13), transparent 30%),
        linear-gradient(135deg, #15201a 0%, var(--color-verde-profundo) 54%, var(--color-morado) 100%);
}
.admin-login-brand::after {
    content: '\f4d8';
    position: absolute;
    right: -4rem;
    bottom: -7rem;
    color: rgba(255,255,255,0.08);
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 22rem;
}
.admin-login-brand img {
    position: relative;
    z-index: 2;
    width: min(330px, 82%);
    margin-bottom: 2rem;
    filter: drop-shadow(0 16px 32px rgba(0,0,0,0.28));
}
.admin-login-brand h1 {
    position: relative;
    z-index: 2;
    margin: 0 0 0.7rem;
    color: var(--color-blanco);
    font-size: clamp(2.2rem, 5vw, 4.8rem);
}
.admin-login-brand p {
    position: relative;
    z-index: 2;
    max-width: 620px;
    color: rgba(255,255,255,0.84);
    font-size: 1.08rem;
}
.admin-login-note {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    width: fit-content;
    margin-top: 1.5rem;
    padding: 0.82rem 1rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.16);
}
.admin-login-card {
    align-self: center;
    width: min(460px, calc(100% - 2rem));
    margin: 2rem auto;
    padding: clamp(1.5rem, 4vw, 2.5rem) !important;
    border-radius: 30px !important;
    background: rgba(255,255,255,0.86) !important;
    border: 1px solid rgba(95,76,152,0.12) !important;
    box-shadow: 0 24px 70px rgba(47,51,44,0.14) !important;
    backdrop-filter: blur(12px);
}
.admin-login-card h2 { margin: 0.45rem 0 0.35rem; font-size: 2.1rem; }
.admin-login-card p { margin-bottom: 1.2rem; color: var(--color-texto-suave); }
.admin-field { display: grid; gap: 0.42rem; margin-bottom: 1rem; }
.admin-field span,
.admin-check span {
    color: var(--color-verde-profundo);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.admin-field input,
.admin-field textarea,
.admin-field select {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(95,76,152,0.16);
    background: rgba(255,255,255,0.94);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}
.admin-field textarea { resize: vertical; min-height: 110px; }
.admin-login-button { width: 100%; margin-top: 0.35rem; }
.admin-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    padding: 0.4rem 0.92rem;
    border-radius: var(--radio-pill);
    color: var(--color-morado);
    background: rgba(95,76,152,0.10);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.admin-alert {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto 1rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    font-weight: 700;
}
.admin-alert-error { background: #fff1f1; color: #9f1d1d; border: 1px solid rgba(159,29,29,0.16); }
.admin-alert-success { background: rgba(63,173,50,0.10); color: var(--color-verde-profundo); border: 1px solid rgba(63,173,50,0.18); }
.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 900;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    min-height: 82px;
    padding: 0.7rem clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, #14201a 0%, #1d2826 60%, #202138 100%);
    box-shadow: 0 12px 34px rgba(47,51,44,0.12);
}
.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-blanco);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.admin-brand img { width: 156px; height: 56px; object-fit: contain; }
.admin-brand span { color: var(--color-verde-primario); }
.admin-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; justify-content: center; }
.admin-nav-link,
.admin-logout {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 42px;
    padding: 0.62rem 0.9rem;
    border-radius: var(--radio-pill);
    color: rgba(255,255,255,0.82);
    font-weight: 800;
    font-size: 0.88rem;
    transition: var(--transicion);
}
.admin-nav-link:hover,
.admin-nav-active {
    color: var(--color-blanco);
    background: rgba(63,173,50,0.22);
}
.admin-logout { color: #d7cfff; }
.admin-logout:hover { background: rgba(95,76,152,0.22); color: var(--color-blanco); }
.admin-main {
    width: min(1280px, 100%);
    margin: 0 auto;
    padding: clamp(1.5rem, 3vw, 2.4rem) 1.5rem 3rem;
}
.admin-hero-card,
.admin-page-title {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.4rem;
    padding: clamp(1.4rem, 3vw, 2.4rem);
    border-radius: 30px;
    color: var(--color-blanco);
    background: linear-gradient(135deg, #1d2826 0%, var(--color-verde-profundo) 56%, var(--color-morado) 100%);
    box-shadow: 0 22px 58px rgba(47,51,44,0.12);
}
.admin-page-title { background: rgba(255,255,255,0.82); color: var(--color-texto); border: 1px solid rgba(95,76,152,0.12); }
.admin-page-title h1,
.admin-hero-card h1 { margin: 0.55rem 0 0.45rem; font-size: clamp(2rem, 5vw, 4rem); color: inherit; }
.admin-hero-card p { color: rgba(255,255,255,0.84); max-width: 780px; }
.admin-page-title p { color: var(--color-texto-suave); }
.admin-hero-mark {
    display: grid;
    place-items: center;
    flex: 0 0 130px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
    border: 2px solid rgba(255,255,255,0.18);
}
.admin-hero-mark img { width: 86%; height: 86%; object-fit: contain; }
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.3rem;
}
.admin-stat-card,
.admin-card,
.admin-panel-card {
    border-radius: 24px;
    background: rgba(255,255,255,0.86);
    border: 1px solid rgba(95,76,152,0.12);
    box-shadow: 0 16px 44px rgba(47,51,44,0.10);
    backdrop-filter: blur(10px);
}
.admin-stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem;
}
.admin-stat-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: var(--color-verde-profundo);
    background: rgba(63,173,50,0.13);
    font-size: 1.45rem;
}
.admin-stat-card strong { display: block; color: var(--color-verde-profundo); font-size: 2rem; line-height: 1; }
.admin-stat-card span { color: var(--color-texto-suave); font-size: 0.88rem; font-weight: 700; }
.admin-dashboard-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 1rem; }
.admin-panel-card,
.admin-card { padding: clamp(1rem, 2vw, 1.4rem); }
.admin-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(95,76,152,0.12);
}
.admin-panel-head h2 { margin: 0; font-size: 1.28rem; }
.admin-panel-head span { color: var(--color-morado); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.admin-quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; }
.admin-quick-card {
    display: grid;
    gap: 0.7rem;
    padding: 1rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(238,246,232,0.88), rgba(255,255,255,0.94));
    border: 1px solid rgba(63,173,50,0.12);
    color: var(--color-verde-profundo);
    font-weight: 800;
}
.admin-quick-card i { font-size: 1.5rem; color: var(--color-verde-primario); }
.admin-quick-card b { color: var(--color-morado); }
.admin-system-list { list-style: none; display: grid; gap: 0.7rem; }
.admin-system-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid rgba(95,76,152,0.10); }
.admin-system-list strong { color: var(--color-morado); }
.admin-system-list .admin-ok { color: var(--color-verde-profundo); }
.admin-two-column { display: grid; grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr); gap: 1rem; align-items: start; }
.admin-two-column-wide { grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr); }
.admin-form-card { display: grid; gap: 0.2rem; }
.admin-form-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0.8rem; }
.admin-form-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0.8rem; }
.admin-check {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 54px;
    padding: 0.8rem 0.95rem;
    border-radius: 18px;
    background: rgba(63,173,50,0.08);
    border: 1px solid rgba(63,173,50,0.13);
    margin-top: 1.65rem;
}
.admin-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; margin-top: 0.5rem; }
.admin-secondary-link { color: var(--color-morado); font-weight: 800; }
.admin-preview-img { width: 100%; max-height: 220px; object-fit: cover; border-radius: 18px; box-shadow: 0 12px 28px rgba(47,51,44,0.10); }
.admin-current-images { display: grid; gap: 0.7rem; margin: 0.4rem 0 1rem; }
.admin-current-images > span { color: var(--color-verde-profundo); font-weight: 800; text-transform: uppercase; font-size: 0.84rem; letter-spacing: 0.04em; }
.admin-current-images label { display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem; border: 1px solid rgba(95,76,152,0.12); border-radius: 16px; background: rgba(255,255,255,0.7); }
.admin-current-images img { width: 84px; height: 58px; object-fit: cover; border-radius: 12px; }
.admin-table-toolbar { display: flex; justify-content: flex-end; margin-bottom: 0.9rem; }
.admin-table-toolbar label { display: flex; align-items: center; gap: 0.6rem; color: var(--color-texto-suave); font-weight: 700; }
.admin-table-search { min-width: 260px; border-radius: var(--radio-pill); }
.admin-table-wrap { overflow-x: auto; }
.admin-data-table { box-shadow: none; border-radius: 18px; overflow: hidden; min-width: 720px; }
.admin-data-table th {
    background: linear-gradient(135deg, var(--color-verde-profundo), var(--color-verde-primario));
    color: var(--color-blanco);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.admin-data-table td { vertical-align: middle; background: rgba(255,255,255,0.86); }
.admin-data-table tbody tr:hover td { background: rgba(238,246,232,0.92); }
.admin-data-table td strong { display: block; color: var(--color-texto); }
.admin-data-table td small { display: block; margin-top: 0.15rem; color: var(--color-texto-suave); }
.admin-thumb { width: 112px; height: 62px; object-fit: cover; border-radius: 12px; }
.admin-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0.32rem 0.7rem;
    border-radius: var(--radio-pill);
    font-size: 0.75rem;
    font-weight: 800;
}
.admin-status-ok { color: var(--color-verde-profundo); background: rgba(63,173,50,0.13); }
.admin-status-off { color: #666; background: rgba(0,0,0,0.06); }
.admin-status-purple { color: var(--color-morado); background: rgba(95,76,152,0.12); }
.admin-actions { white-space: nowrap; }
.admin-actions a {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-right: 0.35rem;
    border-radius: 50%;
    color: var(--color-morado);
    background: rgba(95,76,152,0.10);
    transition: var(--transicion);
}
.admin-actions a:hover { color: var(--color-blanco); background: var(--color-verde-primario); transform: translateY(-2px); }
.admin-footer {
    width: min(1280px, 100%);
    margin: 0 auto;
    padding: 1.15rem 1.5rem 2rem;
    color: var(--color-texto-suave);
    font-size: 0.86rem;
}
.admin-footer i { color: var(--color-verde-primario); }

@media (max-width: 1180px) {
    .logo a { width: 170px; }
    .menu-principal a { font-size: 0.66rem; }
    .admin-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-dashboard-grid,
    .admin-two-column,
    .admin-two-column-wide { grid-template-columns: 1fr; }
    .admin-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
    .ficha-detalle-card { grid-template-columns: 1fr; }
    .logo a { width: 150px; }
    .logo img { height: 56px; }
    .admin-login-wrap { grid-template-columns: 1fr; }
    .admin-login-brand { min-height: 42vh; }
    .admin-topbar { grid-template-columns: 1fr; justify-items: start; }
    .admin-nav { justify-content: flex-start; }
}
@media (max-width: 768px) {
    .hero-slide-logo { top: calc(50% - 155px); width: 74px; height: 74px; }
    .hero-slide-panel { border-width: 14px; }
    .ficha-meta-grid,
    .admin-stats-grid,
    .admin-quick-grid,
    .admin-form-grid-2,
    .admin-form-grid-3 { grid-template-columns: 1fr; }
    .spotify-floating span { display: none; }
    .spotify-floating { width: 54px; height: 54px; justify-content: center; padding: 0; }
    .admin-brand img { width: 130px; }
    .admin-nav-link span { display: none; }
}

/* ============================================
   AJUSTES FINALES: MENÚ MÓVIL, HERO VERTICAL, FOOTER Y CLASE VERDE
   ============================================ */
.hero-slide,
.swiper-slide {
    background-image: var(--slide-desktop);
}

@media (max-width: 768px) {
    .hero,
    .swiper,
    .hero-swiper {
        height: calc(100svh - var(--header-height));
        min-height: 680px;
    }

    .hero-slide,
    .swiper-slide {
        background-image: var(--slide-mobile, var(--slide-desktop));
        background-size: cover;
        background-position: center top;
    }

    .hero-swiper.swiper-vertical .swiper-pagination {
        right: 1rem;
        left: auto;
    }

    .hero-swiper.swiper-vertical .swiper-pagination-bullet {
        display: block;
        width: 10px;
        height: 10px;
        margin: 8px 0 !important;
        border-radius: 50%;
    }

    .hero-swiper.swiper-vertical .swiper-pagination-bullet-active {
        height: 32px;
        width: 10px;
        border-radius: var(--radio-pill);
    }

    .slide-content {
        width: min(88%, 560px);
    }

    .hero-slide-panel {
        width: min(88vw, 720px);
        padding: 2rem 1.25rem;
        border-width: 14px;
    }

    .hero-slide-panel h1 {
        font-size: clamp(1.75rem, 9vw, 3rem);
        line-height: 1.2;
    }

    .hero-slide-logo {
        top: calc(50% - 176px);
        width: 74px;
        height: 74px;
        border-width: 3px;
    }
}

@media (max-width: 1120px) {
    body.menu-mobile-open {
        overflow: hidden;
    }

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

    .logo a {
        width: clamp(132px, 46vw, 188px);
        height: 68px;
    }

    .logo img {
        width: 100%;
        height: 58px;
        object-fit: contain;
    }

    .hamburguesa {
        position: relative;
        z-index: 1204;
        display: inline-grid;
        grid-template-columns: auto 24px;
        grid-template-rows: repeat(3, 4px);
        align-items: center;
        min-height: 46px;
        border: 1px solid rgba(95, 76, 152, 0.18);
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 12px 28px rgba(47, 51, 44, 0.10);
    }

    .hamburguesa.activo {
        background: var(--gradiente-morado);
        color: var(--color-blanco);
    }

    .hamburguesa.activo span {
        background: var(--color-blanco);
    }

    .menu-mobile-overlay {
        position: fixed;
        inset: var(--header-height) 0 0;
        z-index: 1198;
        background: rgba(19, 26, 17, 0.44);
        backdrop-filter: blur(6px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.28s ease, visibility 0.28s ease;
    }

    body.menu-mobile-open .menu-mobile-overlay {
        opacity: 1;
        visibility: visible;
    }

    .menu-principal {
        position: fixed;
        top: var(--header-height);
        right: 0;
        left: auto;
        z-index: 1200;
        width: min(420px, calc(100vw - 1.6rem));
        height: calc(100svh - var(--header-height));
        max-height: none;
        padding: 1rem;
        border-top: 0;
        border-left: 1px solid rgba(95, 76, 152, 0.14);
        border-radius: 28px 0 0 28px;
        background:
            radial-gradient(circle at 8% 10%, rgba(63, 173, 50, 0.12), transparent 32%),
            radial-gradient(circle at 92% 82%, rgba(95, 76, 152, 0.12), transparent 34%),
            rgba(255, 255, 255, 0.98);
        box-shadow: -24px 0 58px rgba(47, 51, 44, 0.22);
        transform: translateX(110%);
        opacity: 1;
        pointer-events: none;
        transition: transform 0.34s cubic-bezier(.2,.8,.2,1);
    }

    .menu-principal::before {
        content: 'Menú principal';
        display: block;
        margin: 0 0 0.8rem;
        padding: 0.85rem 1rem;
        border-radius: 20px;
        color: var(--color-verde-profundo);
        background: rgba(238, 246, 232, 0.78);
        font-size: 0.84rem;
        font-weight: 900;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .menu-principal.activo {
        transform: translateX(0);
        pointer-events: auto;
    }

    .menu-principal > li {
        border-bottom: 0;
        margin-bottom: 0.35rem;
    }

    .menu-principal > li > a:not(.btn-nav),
    .submenu li a {
        min-height: 52px;
        padding: 0.82rem 1rem;
        border-radius: 18px;
        color: var(--color-texto);
        background: rgba(255, 255, 255, 0.72);
        border: 1px solid rgba(95, 76, 152, 0.10);
        font-size: 0.9rem;
        font-weight: 800;
    }

    .menu-principal > li.activo > a:not(.btn-nav),
    .menu-principal > li > a:not(.btn-nav):hover,
    .submenu li a:hover {
        color: var(--color-verde-profundo);
        background: rgba(238, 246, 232, 0.96);
        border-color: rgba(63, 173, 50, 0.20);
        transform: none;
    }

    .menu-con-hijos > a::before {
        margin-left: auto;
    }

    .menu-con-hijos.submenu-abierto > a::before {
        transform: rotate(180deg);
        color: var(--color-morado);
    }

    .submenu {
        padding: 0.45rem 0 0.35rem 0.55rem;
    }

    .submenu li a {
        min-height: 44px;
        margin-bottom: 0.42rem;
        padding-left: 1rem;
        font-size: 0.82rem;
        background: rgba(238, 246, 232, 0.75);
    }

    .menu-cta {
        margin-top: 0.72rem;
    }

    .menu-principal a.btn-nav {
        min-height: 52px;
        margin: 0;
        justify-content: center;
        font-size: 0.84rem;
        border-radius: 18px;
    }
}

@media (max-width: 520px) {
    .menu-principal {
        width: calc(100vw - 1rem);
        padding: 0.85rem;
        border-radius: 22px 0 0 22px;
    }

    .hamburguesa::before {
        content: '';
    }

    .logo a {
        width: min(58vw, 168px);
    }
}

.footer-newsletter {
    padding: clamp(3.8rem, 7vw, 6.4rem) 1.5rem;
    background:
        radial-gradient(circle at 14% 22%, rgba(255,255,255,0.12), transparent 28%),
        radial-gradient(circle at 86% 76%, rgba(95,76,152,0.24), transparent 34%),
        linear-gradient(115deg, var(--color-verde-profundo) 0%, #597645 48%, var(--color-morado) 100%);
}

.footer-newsletter .container {
    width: min(1180px, 100%);
}

.footer-newsletter h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.035em;
}

.footer-newsletter p {
    max-width: 740px;
    margin-bottom: 1.75rem;
    font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.footer-newsletter .newsletter-form {
    max-width: 720px;
    gap: 0.85rem;
}

.footer-newsletter .newsletter-form input[type="email"] {
    min-height: 58px;
    border: 0;
    padding-inline: 1.45rem;
    box-shadow: 0 18px 42px rgba(20, 31, 17, 0.12);
}

.footer-newsletter .newsletter-form button {
    min-height: 58px;
    padding-inline: 1.8rem;
    background: var(--color-verde-primario);
    box-shadow: 0 16px 34px rgba(63, 173, 50, 0.25);
}

.footer-steps {
    margin-top: clamp(1.8rem, 3vw, 2.6rem);
    gap: clamp(0.9rem, 2vw, 1.35rem);
}

.footer-step {
    min-height: 148px;
    padding: 1.35rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.105);
    border: 1px solid rgba(255, 255, 255, 0.20);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.footer-step i {
    width: 42px;
    height: 42px;
    margin-bottom: 0.82rem;
}

.clase-verde-panel-with-logo {
    align-items: center;
}

.clase-verde-logo-mark {
    display: grid;
    place-items: center;
    flex: 0 0 clamp(92px, 9vw, 132px);
    width: clamp(92px, 9vw, 132px);
    height: clamp(92px, 9vw, 132px);
    border-radius: 50%;
    background: rgba(255,255,255,0.90);
    border: 4px solid rgba(63,173,50,0.22);
    box-shadow: 0 18px 38px rgba(47, 51, 44, 0.16);
}

.clase-verde-logo-mark img {
    width: 92%;
    height: 92%;
    object-fit: contain;
}

.clase-verde-panel-logo-right .clase-verde-logo-mark {
    order: 2;
}

.clase-verde-panel-logo-right p {
    order: 1;
}

.clase-verde-panel-logo-left .clase-verde-logo-mark {
    order: 1;
}

.clase-verde-panel-logo-left p {
    order: 2;
}

.clase-verde-panel-solid .clase-verde-logo-mark {
    border-color: rgba(255,255,255,0.30);
    background: rgba(255,255,255,0.94);
}

.admin-slide-image-grid .admin-field span small {
    display: block;
    margin-top: 0.12rem;
    color: var(--color-morado);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.admin-thumb-vertical {
    width: 46px !important;
    height: 70px !important;
}

@media (max-width: 768px) {
    .clase-verde-panel-with-logo {
        align-items: center;
        text-align: center;
    }

    .clase-verde-panel-logo-right .clase-verde-logo-mark,
    .clase-verde-panel-logo-left .clase-verde-logo-mark,
    .clase-verde-panel-logo-right p,
    .clase-verde-panel-logo-left p {
        order: initial;
    }

    .clase-verde-logo-mark {
        width: 108px;
        height: 108px;
        flex-basis: 108px;
    }
}

/* ============================================
   AJUSTES FINALES: CLASE VERDE + MENÚ MÓVIL
   ============================================ */
.clase-verde-side-seal {
    position: absolute;
    z-index: 3;
    display: grid;
    place-items: center;
    width: clamp(118px, 11vw, 172px);
    height: clamp(118px, 11vw, 172px);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    border: 5px solid rgba(63, 173, 50, 0.30);
    box-shadow: 0 22px 52px rgba(47, 51, 44, 0.16);
}

.clase-verde-side-seal img {
    width: 92%;
    height: 92%;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(47, 51, 44, 0.13));
}

.clase-verde-side-seal-first {
    top: clamp(0.4rem, 1.4vw, 1.2rem);
    right: clamp(0.4rem, 5vw, 5.4rem);
}

@media (max-width: 1180px) {
    .clase-verde-side-seal-first {
        right: 0.5rem;
        top: 0.6rem;
    }
}

@media (max-width: 980px) {
    .clase-verde-side-seal {
        position: relative;
        inset: auto;
        margin: -0.35rem auto 0.5rem;
        width: 142px;
        height: 142px;
        order: -1;
    }

    .clase-verde-brand-seal {
        order: -2;
    }
}

@media (max-width: 768px) {
    .clase-verde-side-seal {
        width: 118px;
        height: 118px;
        border-width: 4px;
    }
}

@media (max-width: 1120px) {
    .hamburguesa {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.62rem;
        grid-template-columns: none !important;
        grid-template-rows: none !important;
        min-height: 46px;
        padding: 0.62rem 0.92rem;
    }

    .hamburguesa::before {
        content: 'Menú' !important;
        grid-row: auto !important;
        align-self: auto !important;
        font-size: 0.76rem;
        line-height: 1;
    }

    .hamburguesa.activo::before {
        content: 'Cerrar' !important;
    }

    .hamburguesa span {
        display: block;
        width: 20px;
        height: 2px;
        margin: 0 !important;
        background: var(--color-morado);
        transform: none !important;
        opacity: 1 !important;
        transition: background 0.2s ease;
    }

    .hamburguesa span + span {
        margin-left: -20px !important;
    }

    .hamburguesa span:nth-child(1) {
        transform: translateY(-6px) !important;
    }

    .hamburguesa span:nth-child(2) {
        transform: translateY(0) !important;
    }

    .hamburguesa span:nth-child(3) {
        transform: translateY(6px) !important;
    }

    .hamburguesa.activo span:nth-child(1),
    .hamburguesa.activo span:nth-child(2),
    .hamburguesa.activo span:nth-child(3) {
        transform: none !important;
        background: var(--color-blanco);
    }

    .hamburguesa.activo span:nth-child(1) {
        transform: translateY(-6px) !important;
    }

    .hamburguesa.activo span:nth-child(2) {
        transform: translateY(0) !important;
    }

    .hamburguesa.activo span:nth-child(3) {
        transform: translateY(6px) !important;
    }

    .menu-principal .submenu {
        padding: 0.45rem 0 0.35rem 0 !important;
        margin: 0 !important;
    }

    .menu-principal .submenu li {
        margin: 0 0 0.42rem 0 !important;
        padding: 0 !important;
    }

    .menu-principal .submenu li a {
        width: 100%;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        margin: 0 !important;
        transform: none !important;
        justify-content: flex-start;
    }

    .menu-principal .submenu li a:hover,
    .menu-principal .submenu li a:focus,
    .menu-principal .submenu li a:active {
        transform: none !important;
    }
}

@media (max-width: 520px) {
    .hamburguesa::before {
        content: 'Menú' !important;
    }

    .hamburguesa.activo::before {
        content: 'Cerrar' !important;
    }
}

/* ============================================
   CORRECCIÓN PRODUCCIÓN: HERO MÓVIL, MENÚ DESTINOS Y TEXTO ADMINISTRABLE
   ============================================ */
.hero-slide::after,
.swiper-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(0,0,0,0.10) 52%, rgba(0,0,0,0.18) 100%);
}

.hero-managed-content,
.slide-content.hero-managed-content {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 100%;
    max-width: none;
    transform: none;
    padding: clamp(1.25rem, 3vw, 2rem);
    color: var(--color-blanco);
    text-align: center;
}

.hero-managed-content .hero-slide-panel,
.hero-slide-content .hero-slide-panel {
    z-index: 2;
}

.hero-managed-content .hero-slide-logo,
.hero-slide-content .hero-slide-logo {
    left: 50%;
    transform: translateX(-50%);
}

.hero-managed-content .slide-title,
.hero-slide-panel .slide-title,
.hero-slide-panel h1,
.hero-slide-panel h2 {
    margin: 0;
    color: var(--color-blanco);
    font-family: Georgia, 'Roboto Slab', serif;
    font-size: clamp(2.05rem, 4.35vw, 4.35rem);
    line-height: 1.18;
    font-weight: 400;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.hero-managed-content .slide-subtitle,
.hero-slide-panel .slide-subtitle {
    max-width: 860px;
    margin: 0.8rem auto 0;
    color: rgba(255,255,255,0.92);
    font-size: clamp(1rem, 1.6vw, 1.35rem);
    line-height: 1.55;
    font-weight: 500;
    text-shadow: 0 4px 16px rgba(0,0,0,0.20);
}

.hero-managed-content .btn-hero,
.hero-slide-panel .btn-hero {
    margin-top: 1.4rem;
}

@media (max-width: 768px) {
    .hero,
    .swiper,
    .hero-swiper {
        height: clamp(430px, 62svh, 590px) !important;
        min-height: 0 !important;
        max-height: 590px !important;
        overflow: hidden !important;
    }

    .hero-swiper .swiper-wrapper,
    .hero-swiper .swiper-slide {
        height: 100% !important;
        max-height: 590px !important;
    }

    .hero-slide,
    .swiper-slide {
        background-image: var(--slide-mobile, var(--slide-desktop)) !important;
        background-size: cover !important;
        background-position: center center !important;
    }

    .hero-swiper .swiper-button-prev,
    .hero-swiper .swiper-button-next {
        display: none;
    }

    .hero-swiper .swiper-pagination {
        left: 50% !important;
        right: auto !important;
        bottom: 1.05rem !important;
        transform: translateX(-50%) !important;
        width: auto !important;
    }

    .hero-swiper .swiper-pagination-bullet {
        display: inline-block !important;
        width: 9px !important;
        height: 9px !important;
        margin: 0 5px !important;
        border-radius: 50% !important;
    }

    .hero-swiper .swiper-pagination-bullet-active {
        width: 28px !important;
        height: 9px !important;
        border-radius: var(--radio-pill) !important;
    }

    .hero-managed-content,
    .slide-content.hero-managed-content,
    .hero-slide-content {
        padding: 1.25rem 1rem 2.3rem;
    }

    .hero-slide-panel {
        width: min(90vw, 620px) !important;
        padding: 1.55rem 1rem !important;
        border-width: 10px !important;
    }

    .hero-managed-content .slide-title,
    .hero-slide-panel .slide-title,
    .hero-slide-panel h1,
    .hero-slide-panel h2 {
        font-size: clamp(1.42rem, 7.4vw, 2.55rem) !important;
        line-height: 1.22;
        letter-spacing: 0.028em;
    }

    .hero-managed-content .slide-subtitle,
    .hero-slide-panel .slide-subtitle {
        font-size: 0.95rem;
        line-height: 1.45;
    }

    .hero-managed-content .hero-slide-logo,
    .hero-slide-content .hero-slide-logo {
        top: calc(50% - 142px) !important;
        width: 66px !important;
        height: 66px !important;
        border-width: 3px !important;
    }
}

@media (max-width: 1120px) {
    .menu-principal {
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

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

    .menu-principal > li,
    .menu-principal li {
        width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        transform: none !important;
    }

    .menu-principal a,
    .menu-principal a:hover,
    .menu-principal a:focus,
    .menu-principal a:active {
        left: auto !important;
        right: auto !important;
        translate: none !important;
        transform: none !important;
        max-width: 100% !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: normal;
        text-align: left;
    }

    .menu-principal > li > a:not(.btn-nav),
    .menu-principal .submenu li a {
        justify-content: flex-start !important;
    }

    .menu-con-hijos > a::before {
        margin-left: auto;
        flex: 0 0 auto;
    }

    .menu-principal .submenu {
        position: static !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        display: none !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0.45rem 0 0.35rem 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .menu-principal > li.submenu-abierto > .submenu {
        display: block !important;
    }

    .menu-principal .submenu li {
        display: block !important;
        padding: 0 !important;
        margin: 0 0 0.42rem 0 !important;
    }

    .menu-principal .submenu li a {
        display: flex !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0.82rem 1rem !important;
        background: rgba(238, 246, 232, 0.78) !important;
        border: 1px solid rgba(63, 173, 50, 0.14) !important;
        border-radius: 16px !important;
        color: var(--color-texto) !important;
    }

    .menu-principal .submenu li a:hover,
    .menu-principal .submenu li a:focus,
    .menu-principal .submenu li a:active {
        color: var(--color-verde-profundo) !important;
        background: rgba(238, 246, 232, 0.98) !important;
        border-color: rgba(63, 173, 50, 0.28) !important;
    }
}

/* ============================================
   CLASES INTERNACIONALES + AJUSTE HEADER ADMIN
   ============================================ */
.admin-topbar {
    background:
        linear-gradient(90deg, var(--color-verde-primario), var(--color-verde-oliva), var(--color-morado)) top / 100% 5px no-repeat,
        rgba(255, 255, 255, 0.96) !important;
    border-bottom: 1px solid rgba(95, 76, 152, 0.14);
    box-shadow: 0 12px 34px rgba(47, 51, 44, 0.10) !important;
    backdrop-filter: blur(14px);
}
.admin-brand { color: var(--color-verde-profundo) !important; }
.admin-brand img {
    filter: drop-shadow(0 8px 18px rgba(47, 51, 44, 0.12));
}
.admin-brand span {
    color: var(--color-morado) !important;
}
.admin-nav-link,
.admin-logout {
    color: var(--color-texto) !important;
    background: rgba(255,255,255,0.62);
    border: 1px solid rgba(95, 76, 152, 0.10);
}
.admin-nav-link i,
.admin-logout i { color: var(--color-morado); }
.admin-nav-link:hover,
.admin-nav-active {
    color: var(--color-verde-profundo) !important;
    background: rgba(238, 246, 232, 0.96) !important;
    border-color: rgba(63, 173, 50, 0.22) !important;
    box-shadow: 0 10px 24px rgba(63, 173, 50, 0.12);
}
.admin-nav-link:hover i,
.admin-nav-active i { color: var(--color-verde-primario); }
.admin-logout { color: var(--color-morado) !important; }
.admin-logout:hover {
    color: var(--color-blanco) !important;
    background: var(--gradiente-morado) !important;
}
.admin-logout:hover i { color: var(--color-blanco); }
.admin-hero-card {
    color: var(--color-texto) !important;
    background:
        radial-gradient(circle at 85% 18%, rgba(95,76,152,0.14), transparent 28%),
        radial-gradient(circle at 8% 82%, rgba(63,173,50,0.15), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,0.94), rgba(238,246,232,0.90)) !important;
    border: 1px solid rgba(95, 76, 152, 0.14);
}
.admin-hero-card h1 { color: var(--color-verde-profundo) !important; }
.admin-hero-card p { color: var(--color-texto-suave) !important; }
.admin-hero-mark {
    background: rgba(255,255,255,0.80) !important;
    border-color: rgba(63,173,50,0.22) !important;
    box-shadow: inset 0 0 0 7px rgba(95,76,152,0.06), 0 18px 42px rgba(47,51,44,0.12);
}
.admin-stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.admin-quick-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.internacionales-page {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 16%, rgba(63,173,50,0.10), transparent 32%),
        radial-gradient(circle at 92% 72%, rgba(95,76,152,0.10), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #fbfdf7 52%, #eef6e8 100%);
}
.internacionales-hero {
    position: relative;
    min-height: clamp(440px, 48vw, 760px);
    background-size: cover;
    background-position: center center;
    display: grid;
    place-items: center;
    isolation: isolate;
    overflow: hidden;
}
.internacionales-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.14), rgba(0,0,0,0.28)),
        radial-gradient(circle at center, rgba(255,255,255,0.05), rgba(0,0,0,0.22));
}
.internacionales-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 58px;
    z-index: 1;
    background: linear-gradient(180deg, transparent, #fbfdf7);
    clip-path: polygon(0 42%, 8% 52%, 16% 38%, 25% 58%, 33% 44%, 42% 61%, 50% 47%, 60% 60%, 70% 43%, 79% 57%, 88% 39%, 100% 54%, 100% 100%, 0 100%);
}
.internacionales-hero-overlay {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: min(1050px, calc(100% - 2rem));
    padding-top: 4rem;
}
.internacionales-hero-logo {
    top: 0 !important;
    position: relative !important;
    left: auto !important;
    transform: none !important;
    margin-bottom: -2.2rem;
    z-index: 4;
}
.internacionales-hero-panel {
    width: min(960px, 100%);
    text-align: center;
}
.internacionales-hero-panel h1 {
    color: var(--color-blanco);
    font-family: Georgia, 'Roboto Slab', serif;
    font-size: clamp(2.4rem, 5vw, 5.2rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.035em;
}
.internacionales-hero-panel p {
    max-width: 820px;
    margin: 0.2rem auto 0;
    color: rgba(255,255,255,0.92);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
}
.internacionales-kicker {
    margin-bottom: 0.65rem !important;
    color: rgba(255,255,255,0.90) !important;
    font-size: 0.84rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.internacionales-container {
    padding-top: clamp(3rem, 6vw, 5.5rem);
    padding-bottom: clamp(4rem, 7vw, 6rem);
}
.internacionales-header h2 {
    color: var(--color-verde-profundo);
}
.internacionales-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 0 auto 1.35rem;
    width: min(1180px, 100%);
}
.internacionales-tab {
    display: grid;
    justify-items: center;
    gap: 0.28rem;
    min-height: 118px;
    padding: 1rem 0.8rem;
    border-radius: 22px;
    border: 1px solid rgba(95,76,152,0.12);
    background: rgba(255,255,255,0.82);
    color: var(--color-verde-profundo);
    box-shadow: 0 14px 34px rgba(47,51,44,0.08);
    cursor: pointer;
    transition: var(--transicion);
}
.internacionales-tab i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--color-verde-primario);
    background: rgba(63,173,50,0.12);
    font-size: 1.2rem;
}
.internacionales-tab span {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.internacionales-tab small {
    color: var(--color-texto-suave);
    font-size: 0.76rem;
    font-weight: 800;
}
.internacionales-tab:hover,
.internacionales-tab.activo {
    transform: translateY(-3px);
    color: var(--color-blanco);
    border-color: rgba(63,173,50,0.18);
    background: var(--gradiente-verde);
    box-shadow: 0 18px 42px rgba(63,173,50,0.22);
}
.internacionales-tab:hover i,
.internacionales-tab.activo i {
    color: var(--color-morado);
    background: rgba(255,255,255,0.92);
}
.internacionales-tab:hover small,
.internacionales-tab.activo small { color: rgba(255,255,255,0.84); }
.internacionales-shell {
    align-items: stretch;
}
.internacionales-map {
    min-height: 600px;
}
.internacionales-list {
    margin-top: 1rem;
}
.internacionales-empty {
    display: grid;
    justify-items: center;
    gap: 0.55rem;
    padding: 1.5rem 1rem;
    border-radius: 20px;
    text-align: center;
    background: rgba(238,246,232,0.78);
    border: 1px dashed rgba(63,173,50,0.28);
}
.internacionales-empty i {
    color: var(--color-morado);
    font-size: 1.7rem;
}
.internacionales-empty strong {
    color: var(--color-verde-profundo);
    font-size: 1.08rem;
}
.internacionales-empty span {
    color: var(--color-texto-suave);
    font-size: 0.88rem;
}
.internacionales-marker span {
    background: linear-gradient(135deg, var(--color-morado), var(--color-verde-primario));
}
.ficha-internacional-card .ficha-detalle-kicker {
    color: var(--color-morado);
}
.ficha-internacional-image-grid {
    grid-template-columns: 1fr !important;
}
.ficha-internacional-image-grid img {
    width: 100%;
    min-height: 260px;
    object-fit: cover;
    border-radius: 20px;
}

@media (max-width: 980px) {
    .internacionales-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .internacionales-tab:last-child {
        grid-column: 1 / -1;
    }
    .internacionales-map { min-height: 520px; }
}
@media (max-width: 640px) {
    .internacionales-hero { min-height: 540px; }
    .internacionales-hero-panel { border-width: 10px; padding: 1.5rem 1rem; }
    .internacionales-hero-panel h1 { font-size: clamp(1.8rem, 10vw, 3rem); }
    .internacionales-tabs { grid-template-columns: 1fr; }
    .internacionales-tab:last-child { grid-column: auto; }
    .internacionales-map { min-height: 430px; }
}

/* Ajustes admin: niveles educativos y galerías múltiples */
.admin-fieldset {
    border: 1px solid rgba(63, 173, 50, 0.18);
    border-radius: 20px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(63, 173, 50, 0.06), rgba(95, 76, 152, 0.04));
    margin: 12px 0 18px;
}

.admin-fieldset legend {
    padding: 0 10px;
    color: var(--eco-green-dark, #5b9306);
    font-weight: 800;
    font-family: 'Roboto Slab', serif;
}

.admin-fieldset small,
.admin-field small {
    color: #667766;
    font-size: 0.82rem;
    line-height: 1.45;
    margin-top: 6px;
    display: block;
}

.admin-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.admin-check-card {
    margin: 0;
    border: 1px solid rgba(106, 162, 32, 0.22);
    border-radius: 14px;
    background: rgba(255,255,255,0.78);
    padding: 10px 12px;
    align-items: center;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.admin-check-card:hover {
    border-color: rgba(63, 173, 50, 0.5);
    box-shadow: 0 10px 24px rgba(63, 173, 50, 0.12);
    transform: translateY(-1px);
}

.admin-check-card input:checked + span {
    color: var(--eco-green-dark, #5b9306);
    font-weight: 800;
}

.admin-data-table td small {
    display: block;
    color: #647264;
    margin-top: 4px;
    line-height: 1.35;
}

.ficha-galeria-grid img {
    background: #f6f9f3;
}

@media (max-width: 720px) {
    .admin-checkbox-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   AJUSTE FICHAS: GALERÍA + MODAL DE IMÁGENES
   ============================================ */
.ficha-detalle-card {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    overflow: visible;
}

.ficha-detalle-main {
    min-width: 0;
}

.ficha-detalle-main h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
    letter-spacing: -0.045em;
}

.ficha-galeria-card {
    align-self: start;
    width: 100%;
    margin-top: clamp(1rem, 3.8vw, 3.8rem);
    padding: clamp(1rem, 2vw, 1.35rem);
    border-radius: 28px;
    background:
        radial-gradient(circle at 18% 10%, rgba(63,173,50,0.10), transparent 36%),
        rgba(255,255,255,0.88);
    border: 1px solid rgba(95,76,152,0.15);
    box-shadow: 0 20px 46px rgba(47,51,44,0.10);
}

.ficha-galeria-card h2 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    color: var(--color-morado);
    font-family: 'Roboto Slab', Georgia, serif;
    font-size: clamp(1.05rem, 1.7vw, 1.35rem);
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.ficha-galeria-card h2::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-verde-primario);
    box-shadow: 0 0 0 6px rgba(63,173,50,0.12);
}

.ficha-galeria-grid,
.ficha-internacional-image-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)) !important;
    gap: 0.85rem !important;
}

.ficha-galeria-item {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 0;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #f6f9f3;
    cursor: zoom-in;
    box-shadow: 0 12px 28px rgba(47,51,44,0.10);
    transition: transform .22s ease, box-shadow .22s ease;
}

.ficha-galeria-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0.55rem;
    bottom: 0.55rem;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--color-blanco);
    background: rgba(95,76,152,0.90);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .22s ease, transform .22s ease;
}

.ficha-galeria-item:hover,
.ficha-galeria-item:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(47,51,44,0.16);
    outline: none;
}

.ficha-galeria-item:hover::after,
.ficha-galeria-item:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.ficha-galeria-item img,
.ficha-galeria-grid img,
.ficha-internacional-image-grid img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover;
    border-radius: 18px !important;
    background: #f6f9f3;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2rem);
    background: rgba(21, 27, 24, 0.82);
    backdrop-filter: blur(8px);
}

.gallery-modal.is-open {
    display: flex;
}

.gallery-modal__dialog {
    position: relative;
    width: min(1120px, 96vw);
    max-height: 90vh;
    padding: clamp(0.75rem, 2vw, 1rem);
    border-radius: 28px;
    background:
        linear-gradient(90deg, var(--color-verde-primario), var(--color-morado)) top / 100% 5px no-repeat,
        rgba(255,255,255,0.96);
    box-shadow: 0 28px 80px rgba(0,0,0,0.35);
}

.gallery-modal__image {
    display: block;
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 22px;
    background: #eef6e8;
}

.gallery-modal__close {
    position: absolute;
    top: -18px;
    right: -18px;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    color: var(--color-blanco);
    background: var(--gradiente-morado);
    box-shadow: 0 14px 30px rgba(95,76,152,0.26);
    cursor: pointer;
}

.gallery-modal__close:hover,
.gallery-modal__close:focus-visible {
    background: var(--gradiente-verde);
    outline: none;
}

body.gallery-modal-open {
    overflow: hidden;
}

@media (max-width: 980px) {
    .ficha-detalle-card {
        grid-template-columns: 1fr;
    }
    .ficha-galeria-card {
        margin-top: 0.5rem;
    }
}

@media (max-width: 560px) {
    .ficha-galeria-grid,
    .ficha-internacional-image-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.65rem !important;
    }
    .gallery-modal__close {
        top: 0.5rem;
        right: 0.5rem;
    }
}

/* ============================================
   AJUSTE FINAL FICHAS: TÍTULO COMPLETO + GALERÍA INFERIOR
   ============================================ */
.ficha-detalle-container {
    width: min(1380px, 100%);
}

.ficha-detalle-card {
    grid-template-columns: 1fr !important;
    gap: clamp(1.35rem, 2.5vw, 2rem) !important;
    width: 100%;
}

.ficha-detalle-main {
    width: 100%;
}

.ficha-detalle-main h1 {
    max-width: 100% !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none;
    line-height: 1.02;
    margin-bottom: clamp(1.4rem, 3vw, 2rem);
}

.ficha-meta-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    max-width: 780px;
}

.ficha-info-wide {
    grid-column: 1 / -1;
}

.ficha-galeria-card {
    width: 100%;
    max-width: none;
    margin-top: 0 !important;
    align-self: stretch;
    padding: clamp(1.1rem, 2.2vw, 1.65rem);
}

.ficha-galeria-grid,
.ficha-internacional-image-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
}

.ficha-galeria-item {
    min-height: 130px;
}

@media (min-width: 981px) {
    .ficha-detalle-card {
        padding: clamp(1.75rem, 3vw, 3rem) !important;
    }

    .ficha-detalle-main h1 {
        font-size: clamp(2.9rem, 5vw, 5.4rem);
    }
}

@media (max-width: 820px) {
    .ficha-meta-grid {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .ficha-detalle-main h1 {
        font-size: clamp(2.2rem, 11vw, 4rem);
    }
}
/* ============================================
   PÁGINAS LEGALES NATIVAS
   ============================================ */
.legal-page {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 12%, rgba(63, 173, 50, 0.12), transparent 34%),
        radial-gradient(circle at 92% 18%, rgba(95, 76, 152, 0.08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, var(--color-crema-verde) 100%);
}

.legal-page::before,
.legal-page::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.16;
    background: var(--gradiente-eco);
    filter: blur(28px);
}

.legal-page::before { left: -110px; top: 180px; }
.legal-page::after { right: -140px; bottom: 120px; }

.legal-hero {
    padding: clamp(3rem, 6vw, 5.75rem) 0 1.5rem;
}

.legal-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4rem);
    padding: clamp(1.8rem, 4vw, 3.5rem);
    border-radius: var(--radio-lg);
    color: var(--color-blanco);
    background:
        radial-gradient(circle at 82% 28%, rgba(255,255,255,0.16), transparent 28%),
        linear-gradient(135deg, rgba(33, 52, 24, 0.98) 0%, var(--color-verde-profundo) 48%, var(--color-morado) 100%);
    box-shadow: var(--sombra-media);
    overflow: hidden;
}

.legal-page--purple .legal-hero__inner {
    background:
        radial-gradient(circle at 82% 28%, rgba(255,255,255,0.16), transparent 28%),
        linear-gradient(135deg, var(--color-verde-profundo) 0%, var(--color-morado) 100%);
}

.legal-hero__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-top: 5px solid var(--color-verde-primario);
    border-right: 5px solid rgba(95, 76, 152, 0.52);
    opacity: 0.9;
    pointer-events: none;
}

.legal-hero__copy {
    position: relative;
    z-index: 1;
    max-width: 860px;
}

.legal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    padding: 0.48rem 0.86rem;
    border-radius: var(--radio-pill);
    background: rgba(255,255,255,0.13);
    color: #d7f4ce;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.legal-eyebrow i { color: var(--color-verde-primario); }

.legal-hero h1 {
    margin: 0 0 0.55rem;
    color: var(--color-blanco);
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    letter-spacing: -0.04em;
}

.legal-hero p {
    max-width: 760px;
    color: rgba(255,255,255,0.88);
    font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.legal-hero__seal {
    position: relative;
    z-index: 1;
    width: clamp(108px, 13vw, 180px);
    height: clamp(108px, 13vw, 180px);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.86);
    box-shadow: inset 0 0 0 9px rgba(63, 173, 50, 0.12), 0 20px 44px rgba(0,0,0,0.22);
}

.legal-hero__seal img {
    width: 72%;
    height: 72%;
    object-fit: contain;
}

.legal-section {
    position: relative;
    z-index: 1;
    padding: 1.5rem 0 clamp(4rem, 7vw, 7rem);
}

.legal-grid {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2.2rem);
    align-items: start;
}

.legal-sidebar,
.legal-document {
    border: 1px solid var(--color-borde);
    border-radius: var(--radio-lg);
    background: rgba(255,255,255,0.92);
    box-shadow: var(--sombra-suave);
    backdrop-filter: blur(8px);
}

.legal-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
    padding: 1.55rem;
}

.legal-sidebar__badge {
    display: inline-flex;
    margin-bottom: 0.85rem;
    padding: 0.42rem 0.72rem;
    border-radius: var(--radio-pill);
    background: rgba(95, 76, 152, 0.12);
    color: var(--color-morado);
    font-weight: 900;
    font-size: 0.78rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.legal-sidebar h2 {
    margin-bottom: 0.55rem;
    color: var(--color-verde-profundo);
    font-size: 1.38rem;
}

.legal-sidebar p {
    color: var(--color-texto-suave);
    font-size: 0.94rem;
}

.legal-sidebar ul {
    list-style: none;
    margin: 1.2rem 0;
    display: grid;
    gap: 0.7rem;
}

.legal-sidebar li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 0.6rem;
    align-items: start;
    color: var(--color-texto);
    font-size: 0.95rem;
}

.legal-sidebar li i {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--color-blanco);
    background: var(--gradiente-verde);
    box-shadow: 0 8px 20px rgba(63, 173, 50, 0.24);
    font-size: 0.8rem;
}

.legal-sidebar__contact {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--color-morado);
    font-weight: 800;
    font-size: 0.92rem;
    overflow-wrap: anywhere;
}

.legal-sidebar__contact:hover { color: var(--color-verde-profundo); }

.legal-document {
    overflow: hidden;
}

.legal-document__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1.1rem clamp(1.2rem, 3vw, 2rem);
    border-bottom: 1px solid rgba(63, 173, 50, 0.15);
    background: linear-gradient(90deg, rgba(63,173,50,0.11), rgba(95,76,152,0.08));
}

.legal-document__header span {
    color: var(--color-morado);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.legal-document__header strong {
    color: var(--color-verde-profundo);
    text-align: right;
}

.legal-document__body {
    padding: clamp(1.35rem, 3vw, 2.5rem);
    color: var(--color-texto);
    font-size: clamp(0.96rem, 1.05vw, 1.04rem);
    line-height: 1.9;
}

.legal-document__body p {
    margin: 0;
    color: var(--color-texto);
    line-height: 1.9;
}

.legal-document__body strong {
    display: inline-block;
    margin-top: 0.35rem;
    color: var(--color-verde-profundo);
    font-weight: 900;
    letter-spacing: -0.01em;
}

.legal-document__body a {
    color: var(--color-morado);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.legal-document__body a:hover { color: var(--color-verde-profundo); }

.footer-legales {
    border-top: 1px solid rgba(95,76,152,0.10);
    background: rgba(248, 246, 237, 0.92);
}

.footer-legales__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem 1.3rem;
    padding: 1rem 0;
}

.footer-legales a {
    color: var(--color-morado);
    font-size: 0.88rem;
    font-weight: 800;
}

.footer-legales a:hover { color: var(--color-verde-profundo); }

@media (max-width: 980px) {
    .legal-hero__inner,
    .legal-grid {
        grid-template-columns: 1fr;
    }
    .legal-hero__seal {
        justify-self: start;
    }
    .legal-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .legal-hero {
        padding-top: 2rem;
    }
    .legal-hero__inner,
    .legal-sidebar,
    .legal-document__body {
        border-radius: 22px;
    }
    .legal-document__header {
        display: block;
    }
    .legal-document__header strong {
        display: block;
        margin-top: 0.35rem;
        text-align: left;
    }
}

/* ============================================
   INSTAGRAM DINÁMICO · FOOTER + ADMIN
   ============================================ */
.instagram-feed-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .8rem;
    margin-bottom: 1.05rem;
}
.instagram-feed-title h4 { margin-bottom: 0; }
.instagram-profile-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    max-width: 160px;
    color: var(--color-morado);
    font-size: .78rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}
.instagram-profile-link:hover { color: var(--color-verde-profundo); }
.instagram-feed a { isolation: isolate; }
.instagram-media-badge {
    position: absolute;
    right: .45rem;
    bottom: .45rem;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #fff;
    background: rgba(27, 31, 28, .72);
    backdrop-filter: blur(5px);
    pointer-events: none;
}
.instagram-feed-empty {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: var(--radio-lg);
    border: 1px dashed rgba(95, 76, 152, .24);
    color: var(--color-texto);
    background:
        radial-gradient(circle at 12% 15%, rgba(63,173,50,.14), transparent 35%),
        linear-gradient(135deg, rgba(255,255,255,.92), rgba(238,246,232,.86));
}
.instagram-feed-empty > i {
    font-size: 2.25rem;
    color: var(--color-morado);
}
.instagram-feed-empty span { display: grid; gap: .25rem; }
.instagram-feed-empty strong { color: var(--color-verde-profundo); }

.admin-instagram-title { align-items: center; }
.admin-instagram-profile-mark {
    flex: 0 0 92px;
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    border-radius: 28px;
    color: #fff;
    font-size: 2.7rem;
    background: linear-gradient(135deg, var(--color-morado), var(--color-verde-primario));
    box-shadow: 0 18px 42px rgba(95,76,152,.18);
}
.admin-instagram-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr);
    gap: 1.2rem;
    align-items: start;
    margin-bottom: 1.25rem;
}
.admin-instagram-config,
.admin-instagram-status-card,
.admin-instagram-help,
.admin-instagram-preview-card { padding: clamp(1.15rem, 2.5vw, 1.7rem); }
.admin-instagram-enabled {
    min-height: 76px;
    align-content: center;
    padding: .9rem 1rem;
    border-radius: 18px;
    background: rgba(238,246,232,.68);
    border: 1px solid rgba(63,173,50,.14);
}
.admin-instagram-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 22px;
    background: rgba(95,76,152,.06);
    border: 1px solid rgba(95,76,152,.10);
}
.admin-instagram-status.is-connected {
    background: rgba(63,173,50,.08);
    border-color: rgba(63,173,50,.16);
}
.admin-instagram-avatar {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    color: var(--color-morado);
    background: #fff;
    border: 3px solid rgba(63,173,50,.22);
    font-size: 1.7rem;
}
.admin-instagram-avatar img { width: 100%; height: 100%; object-fit: cover; }
.admin-instagram-status strong { display: block; color: var(--color-verde-profundo); font-size: 1.1rem; }
.admin-instagram-status span { display: block; margin-top: .2rem; color: var(--color-texto-suave); font-size: .88rem; }
.admin-instagram-callback {
    display: grid;
    gap: .5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 20px;
    background: #fafbf8;
    border: 1px solid rgba(95,76,152,.12);
}
.admin-instagram-callback > span {
    color: var(--color-verde-profundo);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.admin-instagram-callback code {
    display: block;
    overflow-wrap: anywhere;
    padding: .72rem .8rem;
    border-radius: 14px;
    color: #443772;
    background: rgba(95,76,152,.08);
    font-size: .78rem;
}
.admin-instagram-callback small { color: var(--color-texto-suave); line-height: 1.5; }
.admin-instagram-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-bottom: 1rem;
}
.admin-instagram-actions form {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.admin-instagram-connect,
.admin-instagram-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 44px;
    padding: .72rem 1rem;
    border-radius: var(--radio-pill);
    color: #fff;
    background: var(--gradiente-verde);
    border: 0;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(63,173,50,.18);
}
.admin-instagram-connect:hover,
.admin-instagram-actions button:hover { color: #fff; transform: translateY(-2px); }
.admin-danger-button { background: linear-gradient(135deg, #7b4e9e, var(--color-morado)) !important; }
.admin-instagram-details { margin-top: .7rem; }
.admin-instagram-api-error {
    display: grid;
    gap: .35rem;
    margin-top: .9rem;
    padding: .9rem 1rem;
    border-radius: 16px;
    color: #812525;
    background: #fff4f4;
    border: 1px solid rgba(159,29,29,.14);
    font-size: .86rem;
}
.admin-instagram-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
}
.admin-instagram-steps article {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: .75rem;
    padding: .95rem;
    border-radius: 18px;
    background: rgba(238,246,232,.55);
    border: 1px solid rgba(63,173,50,.11);
}
.admin-instagram-steps article > b {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--gradiente-verde);
}
.admin-instagram-steps article div { display: grid; gap: .3rem; }
.admin-instagram-steps strong { color: var(--color-verde-profundo); }
.admin-instagram-steps span { color: var(--color-texto-suave); font-size: .85rem; line-height: 1.45; }
.admin-instagram-steps code { color: var(--color-morado); font-size: .78rem; overflow-wrap: anywhere; }
.admin-instagram-preview {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .65rem;
}
.admin-instagram-preview a {
    display: block;
    overflow: hidden;
    aspect-ratio: 1/1;
    border-radius: 18px;
    background: var(--color-crema-verde);
}
.admin-instagram-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.admin-instagram-preview a:hover img { transform: scale(1.06); }

@media (max-width: 980px) {
    .admin-instagram-grid { grid-template-columns: 1fr; }
    .admin-instagram-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .admin-instagram-preview { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 640px) {
    .instagram-feed-title { display: block; }
    .instagram-profile-link { margin-top: .3rem; }
    .admin-instagram-title { align-items: flex-start; }
    .admin-instagram-profile-mark { width: 70px; height: 70px; flex-basis: 70px; font-size: 2rem; }
    .admin-instagram-steps { grid-template-columns: 1fr; }
    .admin-instagram-preview { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* Producción: estados newsletter y registro */
.sr-only{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}
.newsletter-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.newsletter-status{max-width:760px;margin:0 auto 14px;padding:10px 14px;border-radius:12px;background:rgba(255,255,255,.16);color:#fff;text-align:center}
.newsletter-status--ok{background:rgba(63,173,50,.24)}
.newsletter-status--error{background:rgba(95,76,152,.30)}
.registro-contact-actions{display:flex;flex-wrap:wrap;gap:14px;margin:24px 0}
.registro-contact-actions .btn-hero{display:inline-flex;align-items:center;gap:9px;text-decoration:none}
.btn-hero--secondary{background:#5f4c98!important}
.registro-note{padding:16px 18px;border-left:4px solid #6aa220;background:rgba(106,162,32,.08);border-radius:0 12px 12px 0}

/* ============================================
   CAPA DE DINAMISMO VIVENCIAL - ECOCLUB
   Animaciones ligeras, accesibles y no invasivas
   ============================================ */

/* Hero: entrada editorial con más energía, sin perder legibilidad */
.hero-slide-panel,
.hero-managed-content .hero-slide-panel {
    overflow: hidden;
}

.swiper-slide-active .hero-slide-panel {
    animation: ecoHeroPanelIn 0.82s cubic-bezier(.2,.82,.2,1) both;
}

.swiper-slide-active .slide-title,
.swiper-slide-active .hero-slide-panel h1 {
    animation: ecoHeroTitleIn 0.95s 0.12s cubic-bezier(.16,.84,.22,1) both;
}

.swiper-slide-active .slide-subtitle {
    animation: ecoHeroSubtitleIn 0.82s 0.28s cubic-bezier(.2,.78,.2,1) both;
}

.swiper-slide-active .btn-hero {
    animation: ecoHeroButtonIn 0.72s 0.42s cubic-bezier(.2,.8,.2,1) both;
}

.swiper-slide-active .hero-slide-logo {
    animation: ecoHeroSealIn 0.8s 0.18s cubic-bezier(.2,.85,.2,1) both,
               ecoHeroSealFloat 3.8s 1s ease-in-out infinite;
}

.hero-slide-panel::after {
    content: '';
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 0.72rem;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.85), rgba(63,173,50,.95), rgba(95,76,152,.9), transparent);
    transform: scaleX(0);
    transform-origin: center;
    opacity: 0;
}

.swiper-slide-active .hero-slide-panel::after {
    animation: ecoHeroAccent 1.05s 0.48s ease forwards;
}

@keyframes ecoHeroPanelIn {
    0% { opacity: 0; transform: translateY(28px) scale(.965); filter: blur(5px); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes ecoHeroTitleIn {
    0% { opacity: 0; transform: translateY(42px) scale(.97); letter-spacing: .075em; }
    62% { opacity: 1; transform: translateY(-4px) scale(1.008); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

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

@keyframes ecoHeroButtonIn {
    0% { opacity: 0; transform: translateY(18px) scale(.94); }
    70% { opacity: 1; transform: translateY(-3px) scale(1.02); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes ecoHeroSealIn {
    from { opacity: 0; transform: translateY(14px) scale(.76) rotate(-8deg); }
    to { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

@keyframes ecoHeroSealFloat {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -7px; }
}

@keyframes ecoHeroAccent {
    0% { opacity: 0; transform: scaleX(0); }
    35% { opacity: .9; }
    100% { opacity: 1; transform: scaleX(1); }
}

/* Revelado progresivo al recorrer contenido */
.eco-motion-ready .eco-reveal {
    opacity: 0;
    transform: translateY(28px) scale(.985);
    transition:
        opacity .7s cubic-bezier(.2,.78,.2,1),
        transform .7s cubic-bezier(.2,.78,.2,1);
    transition-delay: var(--eco-reveal-delay, 0ms);
    will-change: opacity, transform;
}

.eco-motion-ready .eco-reveal.eco-reveal--left {
    transform: translateX(-30px) scale(.985);
}

.eco-motion-ready .eco-reveal.eco-reveal--right {
    transform: translateX(30px) scale(.985);
}

.eco-motion-ready .eco-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0,0,0) scale(1);
}

/* Un poco más de respuesta táctil/visual en las tarjetas del home */
.experience-card {
    transform-origin: center bottom;
}

.experience-card:hover .access-card-link::after {
    animation: ecoArrowNudge .7s ease-in-out infinite alternate;
}

@keyframes ecoArrowNudge {
    from { transform: translateX(2px); }
    to { transform: translateX(7px); }
}

/* Colibrí vivencial global: decoración flotante que nunca intercepta clics */
.eco-flight-hummingbird {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 950;
    width: clamp(86px, 7.2vw, 132px);
    aspect-ratio: 191 / 152;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(-180px, 30vh, 0);
    transform-origin: center;
    will-change: transform, opacity;
    contain: layout paint style;
}

.eco-flight-hummingbird::after {
    content: '';
    position: absolute;
    left: 46%;
    top: 58%;
    width: 64%;
    height: 18%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(63,173,50,.24), rgba(95,76,152,.11) 46%, transparent 74%);
    filter: blur(10px);
    transform: translate(-50%, -50%);
    opacity: .7;
}

.eco-flight-hummingbird__bird,
.eco-flight-hummingbird__ghost {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: 46% 55%;
    user-select: none;
    -webkit-user-drag: none;
}

.eco-flight-hummingbird__bird {
    z-index: 2;
    filter: drop-shadow(0 8px 12px rgba(16, 38, 17, .24));
    animation: ecoBirdFlutter .14s ease-in-out infinite alternate;
}

.eco-flight-hummingbird__ghost {
    z-index: 1;
    opacity: .13;
    filter: blur(2.8px) saturate(1.18);
    animation: ecoBirdWingGhost .1s ease-in-out infinite alternate;
}

.eco-flight-hummingbird.is-hovering .eco-flight-hummingbird__bird {
    animation-duration: .1s;
}

@keyframes ecoBirdFlutter {
    from { transform: rotate(-1.2deg) scaleY(.985); }
    to { transform: rotate(1.5deg) scaleY(1.018); }
}

@keyframes ecoBirdWingGhost {
    from { transform: translateY(-2px) rotate(-4deg) scale(1.035, .94); }
    to { transform: translateY(2px) rotate(4deg) scale(.985, 1.04); }
}

@media (max-width: 768px) {
    .eco-flight-hummingbird {
        width: clamp(64px, 20vw, 88px);
        z-index: 780;
    }

    .swiper-slide-active .slide-title,
    .swiper-slide-active .hero-slide-panel h1 {
        animation-duration: .72s;
    }

    .hero-slide-panel::after {
        left: 20%;
        right: 20%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eco-flight-hummingbird {
        display: none !important;
    }

    .eco-motion-ready .eco-reveal,
    .eco-motion-ready .eco-reveal.eco-reveal--left,
    .eco-motion-ready .eco-reveal.eco-reveal--right,
    .swiper-slide-active .hero-slide-panel,
    .swiper-slide-active .slide-title,
    .swiper-slide-active .slide-subtitle,
    .swiper-slide-active .btn-hero,
    .swiper-slide-active .hero-slide-logo,
    .swiper-slide-active .hero-slide-panel::after {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================================
   FACEBOOK DINÁMICO · FOOTER
   ============================================ */
.facebook-feed-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .8rem;
    margin-bottom: 1.05rem;
}
.facebook-feed-title h4 { margin-bottom: 0; }
.facebook-profile-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    max-width: 175px;
    color: var(--color-morado);
    font-size: .78rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}
.facebook-profile-link:hover { color: var(--color-verde-profundo); }
.facebook-feed {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .55rem;
}
.facebook-feed-item {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    isolation: isolate;
    border-radius: var(--radio-md);
    background: var(--color-crema-verde);
}
.facebook-feed-item::after {
    content: '\f39e';
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    color: #fff;
    font-family: 'Font Awesome 6 Brands';
    font-size: 1.25rem;
    background: rgba(66, 103, 178, .46);
    opacity: 0;
    transition: var(--transicion);
}
.facebook-feed-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.facebook-feed-item:hover img { transform: scale(1.08); }
.facebook-feed-item:hover::after { opacity: 1; }
.facebook-feed-item--text {
    display: grid;
    place-items: center;
    padding: .7rem;
    background: linear-gradient(145deg, rgba(63,173,50,.12), rgba(95,76,152,.10));
}
.facebook-feed-item--text::after { display: none; }
.facebook-feed-text {
    display: grid;
    gap: .45rem;
    text-align: center;
    color: var(--color-texto);
    font-size: .68rem;
    line-height: 1.35;
}
.facebook-feed-text > i {
    color: #4267B2;
    font-size: 1.35rem;
}
.facebook-media-badge {
    position: absolute;
    right: .45rem;
    bottom: .45rem;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #fff;
    background: rgba(27, 31, 28, .72);
    backdrop-filter: blur(5px);
    pointer-events: none;
}
.facebook-feed-empty {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: var(--radio-lg);
    border: 1px dashed rgba(66,103,178,.24);
    color: var(--color-texto);
    background:
        radial-gradient(circle at 12% 15%, rgba(63,173,50,.14), transparent 35%),
        linear-gradient(135deg, rgba(255,255,255,.92), rgba(238,246,232,.86));
}
.facebook-feed-empty > i { font-size: 2.25rem; color: #4267B2; }
.facebook-feed-empty span { display: grid; gap: .25rem; }
.facebook-feed-empty strong { color: var(--color-verde-profundo); }
.facebook-preview-text {
    width: 100%;
    height: 100%;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: .55rem;
    padding: .8rem;
    text-align: center;
    background: linear-gradient(145deg, rgba(63,173,50,.12), rgba(95,76,152,.10));
    color: var(--color-texto);
    font-size: .75rem;
    line-height: 1.35;
}
.facebook-preview-text i { color: #4267B2; font-size: 1.5rem; }

@media (max-width: 720px) {
    .facebook-feed-title { display: block; }
    .facebook-profile-link { margin-top: .3rem; }
}

/* ============================================
   DINAMISMO VIVENCIAL · EDICIÓN PRESENTACIÓN 2026
   Inspirado en fotografía protagonista, rótulos de color y composición lúdica.
   ============================================ */

/* El panel del hero gana profundidad visual y una franja cromática tipo rótulo. */
.hero-slide-panel,
.hero-managed-content .hero-slide-panel {
    isolation: isolate;
    border-color: rgba(255,255,255,.30);
    background:
        linear-gradient(135deg, rgba(33,49,22,.54), rgba(53,44,37,.42) 48%, rgba(55,44,90,.40));
    backdrop-filter: blur(5px) saturate(1.06);
    -webkit-backdrop-filter: blur(5px) saturate(1.06);
}

.hero-slide-panel::before {
    content: '';
    position: absolute;
    z-index: 3;
    left: clamp(18px, 4vw, 52px);
    right: clamp(18px, 4vw, 52px);
    top: 0;
    height: 7px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg,
        var(--color-verde-primario) 0 32%,
        var(--color-verde-oliva) 32% 56%,
        var(--color-morado) 56% 100%);
    transform: scaleX(.18);
    transform-origin: left center;
    opacity: 0;
}

/* Barrido de luz muy sutil sobre la fotografía al entrar cada slide. */
.hero-managed-content::before,
.hero-slide-content::before {
    content: '';
    position: absolute;
    z-index: 0;
    inset: -18%;
    pointer-events: none;
    background: linear-gradient(112deg,
        transparent 28%,
        rgba(255,255,255,.02) 39%,
        rgba(63,173,50,.10) 48%,
        rgba(95,76,152,.08) 54%,
        transparent 66%);
    transform: translateX(-72%) skewX(-9deg);
    opacity: 0;
}

/* Se sustituyen las animaciones genéricas anteriores por una secuencia administrable palabra a palabra. */
.swiper-slide-active .hero-slide-panel,
.swiper-slide-active .slide-title,
.swiper-slide-active .hero-slide-panel h1,
.swiper-slide-active .hero-slide-panel h2,
.swiper-slide-active .slide-subtitle,
.swiper-slide-active .btn-hero,
.swiper-slide-active .hero-slide-logo {
    animation: none !important;
}

.swiper-slide.eco-copy-play .hero-slide-panel {
    animation: ecoPresentationPanelIn .92s cubic-bezier(.18,.78,.18,1) both !important;
}

.swiper-slide.eco-copy-play .hero-slide-panel::before {
    animation: ecoPresentationRibbon 1.05s .18s cubic-bezier(.2,.82,.2,1) forwards;
}

.swiper-slide.eco-copy-play .hero-managed-content::before,
.swiper-slide.eco-copy-play .hero-slide-content::before {
    animation: ecoPresentationSweep 1.55s .08s cubic-bezier(.2,.7,.2,1) both;
}

.swiper-slide.eco-copy-play .hero-slide-logo {
    animation: ecoPresentationSeal .78s .14s cubic-bezier(.18,.86,.22,1) both,
               ecoHeroSealFloat 4s 1.05s ease-in-out infinite !important;
}

.eco-hero-word {
    display: inline-block;
    opacity: 0;
    filter: blur(7px);
    transform: translate3d(0, 1.05em, 0) rotate(2.4deg) scale(.94);
    transform-origin: 50% 100%;
    will-change: opacity, transform, filter;
}

.swiper-slide.eco-copy-play .eco-hero-word {
    animation: ecoPresentationWord .72s cubic-bezier(.16,.86,.24,1) forwards;
    animation-delay: calc(.16s + (var(--eco-word-index, 0) * 48ms));
}

.swiper-slide.eco-copy-play .slide-subtitle {
    animation: ecoPresentationSubtitle .72s .46s cubic-bezier(.2,.82,.2,1) both !important;
}

.swiper-slide.eco-copy-play .btn-hero {
    animation: ecoPresentationButton .72s .62s cubic-bezier(.18,.9,.24,1) both !important;
}

.swiper-slide.eco-copy-play .hero-slide-panel::after {
    animation: ecoHeroAccent 1.05s .68s ease forwards;
}

/* Movimiento fotográfico casi imperceptible: evita que el hero se sienta estático. */
.hero-swiper .swiper-slide-active {
    animation: ecoPresentationBackdrop 6.8s ease-out both;
}

@keyframes ecoPresentationPanelIn {
    0% {
        opacity: 0;
        clip-path: inset(0 100% 0 0 round 18px);
        transform: translate3d(-28px, 18px, 0) rotate(-.55deg) scale(.985);
    }
    66% {
        opacity: 1;
        clip-path: inset(0 0 0 0 round 18px);
        transform: translate3d(4px, -2px, 0) rotate(.12deg) scale(1.004);
    }
    100% {
        opacity: 1;
        clip-path: inset(0 0 0 0 round 18px);
        transform: translate3d(0,0,0) rotate(0) scale(1);
    }
}

@keyframes ecoPresentationRibbon {
    0% { opacity: 0; transform: scaleX(.12); }
    35% { opacity: 1; }
    100% { opacity: .96; transform: scaleX(1); }
}

@keyframes ecoPresentationSweep {
    0% { opacity: 0; transform: translateX(-72%) skewX(-9deg); }
    34% { opacity: 1; }
    100% { opacity: 0; transform: translateX(72%) skewX(-9deg); }
}

@keyframes ecoPresentationSeal {
    0% { opacity: 0; transform: translateX(-50%) translateY(14px) scale(.68) rotate(-12deg); }
    72% { opacity: 1; transform: translateX(-50%) translateY(-4px) scale(1.045) rotate(2deg); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1) rotate(0); }
}

@keyframes ecoPresentationWord {
    0% {
        opacity: 0;
        filter: blur(7px);
        transform: translate3d(0, 1.05em, 0) rotate(2.4deg) scale(.94);
    }
    70% {
        opacity: 1;
        filter: blur(0);
        transform: translate3d(0, -.08em, 0) rotate(-.25deg) scale(1.012);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translate3d(0,0,0) rotate(0) scale(1);
    }
}

@keyframes ecoPresentationSubtitle {
    from { opacity: 0; transform: translate3d(0,18px,0); filter: blur(4px); }
    to { opacity: 1; transform: translate3d(0,0,0); filter: blur(0); }
}

@keyframes ecoPresentationButton {
    0% { opacity: 0; transform: translate3d(0,16px,0) scale(.90); }
    66% { opacity: 1; transform: translate3d(0,-3px,0) scale(1.025); }
    100% { opacity: 1; transform: translate3d(0,0,0) scale(1); }
}

@keyframes ecoPresentationBackdrop {
    0% { background-position: 50% 48%; }
    100% { background-position: 50% 52%; }
}

/* Tarjetas: el revelado alternado usa diagonales discretas, similar a los collages de la presentación. */
.eco-motion-ready .eco-reveal {
    clip-path: inset(7% 0 0 0 round 16px);
}

.eco-motion-ready .eco-reveal.eco-reveal--left {
    clip-path: inset(0 5% 0 0 round 16px);
}

.eco-motion-ready .eco-reveal.eco-reveal--right {
    clip-path: inset(0 0 0 5% round 16px);
}

.eco-motion-ready .eco-reveal.is-visible {
    clip-path: inset(0 0 0 0 round 16px);
}

/* Colibrí: tamaño más natural, sin halo tipo sticker. */
.eco-flight-hummingbird {
    width: clamp(72px, 6vw, 112px);
    aspect-ratio: 191 / 152;
    filter: none;
    contain: layout paint style;
}

.eco-flight-hummingbird::after {
    left: 44%;
    top: 64%;
    width: 38%;
    height: 10%;
    background: radial-gradient(ellipse, rgba(15,26,16,.20), transparent 70%);
    filter: blur(7px);
    opacity: .36;
}

.eco-flight-hummingbird__bird {
    filter: drop-shadow(0 5px 7px rgba(12,28,16,.20));
    animation: ecoBirdBodyBreath .22s ease-in-out infinite alternate;
}

/* La copia se usa sólo como ala móvil; al recortarla deja de parecer una segunda estampa completa. */
.eco-flight-hummingbird__ghost {
    z-index: 3;
    opacity: .30;
    clip-path: polygon(0 0, 72% 0, 62% 54%, 41% 58%, 14% 42%);
    filter: blur(.65px) saturate(1.15) brightness(1.06);
    transform-origin: 46% 51%;
    animation: ecoBirdWingBeat .105s cubic-bezier(.2,.62,.3,1) infinite alternate;
}

.eco-flight-hummingbird.is-hovering .eco-flight-hummingbird__ghost {
    animation-duration: .072s;
    opacity: .38;
}

.eco-flight-hummingbird.is-hovering .eco-flight-hummingbird__bird {
    animation-duration: .13s;
}

@keyframes ecoBirdBodyBreath {
    from { transform: translateY(-.8px) rotate(-.25deg) scaleY(.995); }
    to { transform: translateY(.8px) rotate(.35deg) scaleY(1.008); }
}

@keyframes ecoBirdWingBeat {
    0% { transform: rotate(-7deg) translateY(-3px) scale(1.02,.78); opacity: .18; }
    100% { transform: rotate(8deg) translateY(3px) scale(.97,1.10); opacity: .38; }
}

/* Estela mínima: partículas que desaparecen rápido, sin bloquear interacción. */
.eco-flight-particle {
    position: fixed;
    z-index: 948;
    display: block;
    pointer-events: none;
    border-radius: 999px 999px 999px 2px;
    background: rgba(63,173,50,.62);
    box-shadow: 0 0 8px rgba(63,173,50,.22);
    transform: translate(-50%,-50%) rotate(38deg);
    animation: ecoFlightParticleOut .84s ease-out forwards;
}

.eco-flight-particle--purple {
    background: rgba(95,76,152,.52);
    box-shadow: 0 0 8px rgba(95,76,152,.18);
}

@keyframes ecoFlightParticleOut {
    0% { opacity: .72; transform: translate(-50%,-50%) rotate(38deg) scale(1); }
    100% { opacity: 0; transform: translate(calc(-50% + var(--eco-particle-drift, -14px)), calc(-50% + 16px)) rotate(96deg) scale(.18); }
}

@media (max-width: 768px) {
    .eco-flight-hummingbird {
        width: clamp(58px, 16vw, 76px);
    }

    .hero-slide-panel::before {
        height: 5px;
    }

    .eco-hero-word {
        filter: blur(4px);
        transform: translate3d(0,.72em,0) scale(.96);
    }

    .swiper-slide.eco-copy-play .eco-hero-word {
        animation-duration: .58s;
        animation-delay: calc(.10s + (var(--eco-word-index, 0) * 34ms));
    }
}

@media (prefers-reduced-motion: reduce) {
    .eco-flight-particle { display: none !important; }
    .eco-hero-word {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
        animation: none !important;
    }
    .swiper-slide.eco-copy-play .hero-slide-panel::before,
    .swiper-slide.eco-copy-play .hero-managed-content::before,
    .swiper-slide.eco-copy-play .hero-slide-content::before {
        animation: none !important;
        opacity: 0 !important;
    }
}

/* =========================================================
   HERO VIVENCIAL 2026 · AJUSTE CLIENTE
   - Título fijo a 37px máximo
   - Sello de colibrí siempre por encima del panel
   - Collage fotográfico inspirado en la presentación del cliente
   ========================================================= */

/* El contenido deja de depender de una coordenada vertical fija: logo + panel forman un solo stack. */
.hero-managed-content,
.slide-content.hero-managed-content,
.hero-slide-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    padding: clamp(1.5rem, 3.5vw, 2.5rem) 1rem !important;
}

.hero-managed-content .hero-slide-logo,
.hero-slide-content .hero-slide-logo,
.hero-slide-logo {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    flex: 0 0 auto;
    width: 82px !important;
    height: 82px !important;
    margin: 0 auto -31px !important;
    transform: none !important;
    z-index: 8 !important;
    background: rgba(255,255,255,.96) !important;
    border: 4px solid rgba(63,173,50,.82) !important;
    box-shadow: 0 12px 34px rgba(16,42,18,.18), 0 0 0 6px rgba(255,255,255,.12) !important;
}

.hero-managed-content .hero-slide-panel,
.hero-slide-content .hero-slide-panel,
.hero-slide-panel {
    width: min(1040px, 82vw) !important;
    min-height: 0 !important;
    padding: 52px clamp(28px, 4vw, 58px) 30px !important;
    border-width: 15px !important;
    border-radius: 18px !important;
    overflow: visible !important;
}

/* El texto principal nunca supera 37px. */
.hero-managed-content .slide-title,
.hero-slide-panel .slide-title,
.hero-slide-panel h1,
.hero-slide-panel h2 {
    font-size: 37px !important;
    line-height: 1.18 !important;
    letter-spacing: .025em !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
}

/* Palabras: transición más visible, sin agrandar la tipografía. */
.eco-hero-word {
    position: relative;
    display: inline-block;
    z-index: 1;
    opacity: 0;
    filter: blur(6px);
    transform: translate3d(var(--eco-word-x, 0px), 26px, 0) rotate(var(--eco-word-rot, 0deg)) scale(.94);
    transform-origin: 50% 100%;
    will-change: opacity, transform, filter;
}

.eco-hero-word::after {
    content: '';
    position: absolute;
    left: -.08em;
    right: -.08em;
    bottom: .02em;
    height: .22em;
    z-index: -1;
    border-radius: 999px;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
    background: rgba(63,173,50,.78);
}

.eco-hero-word.eco-word-purple::after {
    background: rgba(95,76,152,.78);
}

.swiper-slide.eco-copy-play .eco-hero-word {
    animation: ecoHeroWordVivo .68s cubic-bezier(.18,.82,.18,1) forwards !important;
    animation-delay: calc(.16s + (var(--eco-word-index, 0) * 62ms)) !important;
}

.swiper-slide.eco-copy-play .eco-hero-word.eco-word-accent::after {
    animation: ecoHeroWordSwipe .58s cubic-bezier(.18,.82,.18,1) forwards;
    animation-delay: calc(.50s + (var(--eco-word-index, 0) * 62ms));
}

@keyframes ecoHeroWordVivo {
    0% {
        opacity: 0;
        filter: blur(6px);
        transform: translate3d(var(--eco-word-x, 0px), 26px, 0) rotate(var(--eco-word-rot, 0deg)) scale(.94);
    }
    64% {
        opacity: 1;
        filter: blur(0);
        transform: translate3d(0, -3px, 0) rotate(0) scale(1.012);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translate3d(0, 0, 0) rotate(0) scale(1);
    }
}

@keyframes ecoHeroWordSwipe {
    0% { opacity: 0; transform: scaleX(0); }
    35% { opacity: .8; }
    100% { opacity: .55; transform: scaleX(1); }
}

/* Collage ambiental: fotografías reales extraídas de la presentación enviada por el cliente. */
.eco-hero-experience-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.eco-hero-experience-layer::before,
.eco-hero-experience-layer::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    opacity: .20;
}

.eco-hero-experience-layer::before {
    width: 320px;
    height: 320px;
    left: -150px;
    top: -130px;
    background: radial-gradient(circle, rgba(63,173,50,.82), transparent 68%);
}

.eco-hero-experience-layer::after {
    width: 360px;
    height: 360px;
    right: -180px;
    bottom: -180px;
    background: radial-gradient(circle, rgba(95,76,152,.78), transparent 68%);
}

.eco-experience-photo {
    position: absolute;
    margin: 0;
    width: clamp(118px, 10vw, 178px);
    aspect-ratio: 4 / 3;
    overflow: hidden;
    opacity: 0;
    border: 5px solid rgba(255,255,255,.80);
    background: rgba(255,255,255,.20);
    box-shadow: 0 16px 42px rgba(11,31,19,.26);
    clip-path: polygon(3% 7%, 18% 3%, 34% 6%, 51% 2%, 67% 5%, 82% 2%, 97% 8%, 95% 27%, 98% 44%, 94% 62%, 98% 79%, 91% 96%, 72% 94%, 54% 98%, 37% 94%, 18% 98%, 4% 91%, 6% 72%, 2% 54%, 6% 36%);
    transform: translate3d(0,0,0) rotate(var(--eco-photo-rot, 0deg)) scale(.88);
    will-change: transform, opacity;
}

.eco-experience-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.05);
    filter: saturate(1.08) contrast(1.02);
}

.eco-experience-photo--1 {
    left: 1.6%;
    top: 9%;
    --eco-photo-rot: -5deg;
    --eco-photo-x: -42px;
    --eco-photo-y: -12px;
}
.eco-experience-photo--2 {
    right: 1.8%;
    top: 8%;
    --eco-photo-rot: 4.5deg;
    --eco-photo-x: 46px;
    --eco-photo-y: -14px;
}
.eco-experience-photo--3 {
    left: 2.4%;
    bottom: 8.5%;
    --eco-photo-rot: 3.8deg;
    --eco-photo-x: -46px;
    --eco-photo-y: 18px;
}
.eco-experience-photo--4 {
    right: 2.5%;
    bottom: 8.5%;
    --eco-photo-rot: -4.2deg;
    --eco-photo-x: 48px;
    --eco-photo-y: 18px;
}
.eco-experience-photo--5 {
    right: 13%;
    bottom: 2.2%;
    width: clamp(92px, 7vw, 128px);
    --eco-photo-rot: 7deg;
    --eco-photo-x: 24px;
    --eco-photo-y: 35px;
}

.swiper-slide.eco-copy-play .eco-experience-photo {
    animation:
        ecoExperiencePhotoIn .92s cubic-bezier(.16,.84,.2,1) forwards,
        ecoExperiencePhotoFloat 7.4s 1.55s ease-in-out infinite alternate;
}

.swiper-slide.eco-copy-play .eco-experience-photo--1 { animation-delay: .18s, 1.35s; }
.swiper-slide.eco-copy-play .eco-experience-photo--2 { animation-delay: .28s, 1.48s; }
.swiper-slide.eco-copy-play .eco-experience-photo--3 { animation-delay: .38s, 1.60s; }
.swiper-slide.eco-copy-play .eco-experience-photo--4 { animation-delay: .50s, 1.72s; }
.swiper-slide.eco-copy-play .eco-experience-photo--5 { animation-delay: .60s, 1.84s; }

@keyframes ecoExperiencePhotoIn {
    0% {
        opacity: 0;
        transform: translate3d(var(--eco-photo-x), var(--eco-photo-y), 0) rotate(calc(var(--eco-photo-rot) * 1.8)) scale(.72);
        filter: blur(5px);
    }
    72% {
        opacity: .70;
        transform: translate3d(0, -3px, 0) rotate(var(--eco-photo-rot)) scale(1.025);
        filter: blur(0);
    }
    100% {
        opacity: .62;
        transform: translate3d(0, 0, 0) rotate(var(--eco-photo-rot)) scale(1);
        filter: blur(0);
    }
}

@keyframes ecoExperiencePhotoFloat {
    from { transform: translate3d(0, 0, 0) rotate(var(--eco-photo-rot)) scale(1); }
    to { transform: translate3d(0, -8px, 0) rotate(calc(var(--eco-photo-rot) + .7deg)) scale(1.025); }
}

/* El panel queda siempre por encima del collage. */
.hero-managed-content,
.hero-slide-content {
    z-index: 5 !important;
}

/* Fondo con profundidad: oscurece laterales y mantiene el centro legible. */
.hero-slide::after,
.swiper-slide.hero-slide::after {
    background:
        linear-gradient(90deg, rgba(18,29,17,.20) 0%, rgba(18,29,17,.02) 23%, rgba(0,0,0,.08) 50%, rgba(39,30,63,.03) 76%, rgba(39,30,63,.19) 100%),
        linear-gradient(180deg, rgba(255,255,255,.02) 0%, rgba(0,0,0,.12) 56%, rgba(0,0,0,.22) 100%) !important;
}

/* Móvil: conserva 37px como máximo, pero baja para no provocar cortes. */
@media (max-width: 768px) {
    .hero-managed-content .slide-title,
    .hero-slide-panel .slide-title,
    .hero-slide-panel h1,
    .hero-slide-panel h2 {
        font-size: min(30px, 7.4vw) !important;
        line-height: 1.16 !important;
        letter-spacing: .018em !important;
    }

    .hero-managed-content .hero-slide-logo,
    .hero-slide-content .hero-slide-logo,
    .hero-slide-logo {
        width: 66px !important;
        height: 66px !important;
        margin-bottom: -24px !important;
    }

    .hero-managed-content .hero-slide-panel,
    .hero-slide-content .hero-slide-panel,
    .hero-slide-panel {
        width: min(91vw, 660px) !important;
        padding: 41px 18px 23px !important;
        border-width: 10px !important;
    }

    .eco-experience-photo {
        width: 92px;
        border-width: 3px;
        opacity: 0 !important;
    }

    .swiper-slide.eco-copy-play .eco-experience-photo--1,
    .swiper-slide.eco-copy-play .eco-experience-photo--2 {
        opacity: .34 !important;
        display: block;
    }
    .eco-experience-photo--1 { left: -22px; top: 10%; }
    .eco-experience-photo--2 { right: -22px; bottom: 8%; top: auto; }
    .eco-experience-photo--3,
    .eco-experience-photo--4,
    .eco-experience-photo--5 { display: none !important; }

    .eco-hero-word::after { height: .18em; }
}

@media (max-width: 430px) {
    .hero-managed-content .slide-title,
    .hero-slide-panel .slide-title,
    .hero-slide-panel h1,
    .hero-slide-panel h2 {
        font-size: min(27px, 7.2vw) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eco-experience-photo {
        opacity: .34 !important;
        animation: none !important;
        transform: rotate(var(--eco-photo-rot)) !important;
    }
    .eco-hero-word,
    .swiper-slide.eco-copy-play .eco-hero-word {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
        animation: none !important;
    }
    .eco-hero-word::after { display: none !important; }
}

/* Corrección del sello: la animación ya no usa translateX y por tanto nunca cae sobre el título. */
.swiper-slide.eco-copy-play .hero-slide-logo {
    animation: ecoHeroSealStackIn .72s .10s cubic-bezier(.18,.86,.22,1) both,
               ecoHeroSealFloat 4s 1s ease-in-out infinite !important;
}

@keyframes ecoHeroSealStackIn {
    0% { opacity: 0; transform: translateY(15px) scale(.68) rotate(-10deg); }
    70% { opacity: 1; transform: translateY(-3px) scale(1.045) rotate(2deg); }
    100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

/* =========================================================
   AJUSTES FINALES · HERO / NEWSLETTER / GALERÍAS / COLIBRÍ
   ========================================================= */

/* El collage fotográfico experimental del hero se retira por completo. */
.eco-hero-experience-layer,
.eco-experience-photo {
    display: none !important;
}

/* La tercera tarjeta recupera Pagos en línea dentro del bloque newsletter. */
a.footer-step.footer-step--link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform .22s ease, background-color .22s ease, border-color .22s ease, box-shadow .22s ease;
}

a.footer-step.footer-step--link:hover,
a.footer-step.footer-step--link:focus-visible {
    color: inherit;
    transform: translateY(-4px);
    background: rgba(255,255,255,.17);
    border-color: rgba(255,255,255,.32);
    box-shadow: 0 16px 34px rgba(33,49,22,.14), inset 0 1px 0 rgba(255,255,255,.16);
    outline: none;
}

/*
 * Fichas públicas: título a ancho completo y galería de nuevo a la derecha,
 * iniciando exactamente a la altura de Nivel / Ubicación. De este modo un
 * título largo nunca compite por ancho con la galería.
 */
@media (min-width: 981px) {
    .ficha-detalle-card.has-gallery {
        grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr) !important;
        column-gap: clamp(1.35rem, 2.8vw, 2.5rem) !important;
        row-gap: .85rem !important;
        align-items: start;
    }

    .ficha-detalle-card.has-gallery > .ficha-detalle-main {
        display: contents;
    }

    .ficha-detalle-card.has-gallery .ficha-detalle-kicker {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-self: start;
        margin-bottom: 0;
    }

    .ficha-detalle-card.has-gallery .ficha-detalle-main > h1 {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        max-width: 100% !important;
        margin: .15rem 0 clamp(1rem, 2vw, 1.4rem) !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        hyphens: none !important;
    }

    .ficha-detalle-card.has-gallery .ficha-meta-grid {
        grid-column: 1;
        grid-row: 3;
        width: 100%;
        max-width: none !important;
        align-self: start;
    }

    .ficha-detalle-card.has-gallery > .ficha-galeria-card {
        grid-column: 2;
        grid-row: 3;
        align-self: start;
        width: 100%;
        max-width: none;
        margin-top: 0 !important;
        padding: clamp(1rem, 1.7vw, 1.35rem);
    }

    .ficha-detalle-card.has-gallery .ficha-galeria-grid,
    .ficha-detalle-card.has-gallery .ficha-internacional-image-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: .75rem !important;
    }

    .ficha-detalle-card.no-gallery .ficha-meta-grid {
        max-width: 920px;
    }
}

/* Opción 1 elegida: colibrí fotorealista. El cuerpo no se deforma; el segundo
   frame se usa solamente como desenfoque de ala para dar sensación de batido. */
.eco-flight-hummingbird {
    width: clamp(92px, 7.6vw, 146px);
    aspect-ratio: 1 / 1;
}

.eco-flight-hummingbird__bird,
.eco-flight-hummingbird__ghost {
    object-fit: contain;
    transform-origin: 49% 48%;
}

.eco-flight-hummingbird__bird {
    filter: drop-shadow(0 8px 14px rgba(16,38,17,.20));
    animation: ecoBirdBodyNatural .22s ease-in-out infinite alternate;
}

.eco-flight-hummingbird__ghost {
    z-index: 3;
    opacity: .18;
    clip-path: polygon(0 0, 100% 0, 100% 58%, 70% 61%, 51% 58%, 29% 66%, 0 61%);
    filter: blur(3.2px) saturate(1.10);
    transform-origin: 45% 42%;
    animation: ecoBirdWingNatural .085s ease-in-out infinite alternate;
}

.eco-flight-hummingbird.is-hovering .eco-flight-hummingbird__bird {
    animation-duration: .15s;
}

.eco-flight-hummingbird.is-hovering .eco-flight-hummingbird__ghost {
    animation-duration: .06s;
    opacity: .22;
}

@keyframes ecoBirdBodyNatural {
    from { transform: translateY(-1px) rotate(-.7deg); }
    to   { transform: translateY(1px) rotate(.8deg); }
}

@keyframes ecoBirdWingNatural {
    from { transform: translateY(-4px) rotate(-5deg) scale(1.035,.90); }
    to   { transform: translateY(3px) rotate(5deg) scale(.985,1.08); }
}

@media (max-width: 768px) {
    .eco-flight-hummingbird {
        width: clamp(70px, 22vw, 96px);
    }
}

.footer-step--payments {
    background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(95,76,152,.15));
}
.footer-step--payments i {
    background: rgba(255,255,255,.20);
}
