/*
Theme Name: Sports Lab
Description: Landing page pixel-perfect de Sports Lab. Editable desde Apariencia › Personalizar.
Version: 1.0
Author: NAFTA
Text Domain: sports-lab-theme
*/

@font-face {
    font-family: 'Sora';
    src: url('./assets/fonts/Sora-Regular.woff2') format('woff2'),
         url('./assets/fonts/Sora-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Sora';
    src: url('./assets/fonts/Sora-Medium.woff2') format('woff2'),
         url('./assets/fonts/Sora-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Sora';
    src: url('./assets/fonts/Sora-SemiBold.woff2') format('woff2'),
         url('./assets/fonts/Sora-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Sora';
    src: url('./assets/fonts/Sora-Bold.woff2') format('woff2'),
         url('./assets/fonts/Sora-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Sora';
    src: url('./assets/fonts/Sora-ExtraBold.woff2') format('woff2'),
         url('./assets/fonts/Sora-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --sl-bg: #041122;
    --sl-gold: #B48D48;
    --sl-gold-btn: #B48D48;
    --sl-gold-dark: #9a7539;
    --sl-white: #ffffff;
    --sl-muted: rgba(255, 255, 255, 0.82);
    --sl-line: rgba(255, 255, 255, 0.16);
    --sl-font: 'Sora', system-ui, sans-serif;
    --sl-pad: clamp(20px, 6.9vw, 140px);
    --sl-gutter: clamp(16px, 2.2vw, 28px);
    --sl-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --sl-dur-hover: 280ms;
    --sl-dur-media: 480ms;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--sl-header-h, 88px);
}

body {
    background: var(--sl-bg);
    color: var(--sl-white);
    font-family: var(--sl-font);
    overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; }

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.gold { color: var(--sl-gold); }

.eyebrow {
    color: var(--sl-gold);
    font-size: clamp(12px, 1.01vw, 20.6px);
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ================================
   Logo
================================ */
.logo-mark {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--sl-gold);
    line-height: 1;
}
.logo-mark__sports {
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.18em;
}
.logo-mark__lab {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.42em;
    margin: 2px 0 6px;
}
.logo-mark__lab i {
    display: block;
    width: 18px;
    height: 1px;
    background: currentColor;
}
.logo-mark__tag {
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.18em;
    white-space: nowrap;
}
.site-logo {
    max-height: 30px;
    max-width: min(150px, 100%);
    width: auto;
    height: auto;
    object-fit: contain;
}
.footer-logo-img {
    max-height: 30px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ================================
   Social rail
================================ */
.social-rail {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.social-rail__label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.28em;
}
.social-rail__icon {
    width: 18px;
    height: 18px;
    color: #fff;
    display: block;
    transition: transform var(--sl-dur-hover) var(--sl-ease-out);
}
.social-rail__icon svg,
.social-rail__icon img { width: 100%; height: 100%; object-fit: contain; }

/* ================================
   Header
================================ */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--sl-bg);
    padding: 18px 0 10px;
    border-bottom: 1px solid var(--sl-gold);
}
.admin-bar .main-header {
    top: var(--wp-admin--admin-bar--height, 32px);
}
.main-header.scrolled {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.header-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    padding: 0 var(--sl-pad);
}
.logo-container { justify-self: start; }
.header-nav { justify-self: center; }
.header-nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: clamp(28px, 3.2vw, 56px);
}
.header-nav-list > .menu-item > a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color var(--sl-dur-hover) ease;
}
.header-nav-list > .menu-item > a:hover { color: var(--sl-gold); }

.labs-menu { position: relative; }
.labs-menu__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 18px;
    border: 0;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: background var(--sl-dur-hover) ease, color var(--sl-dur-hover) ease;
}
.labs-menu.is-open .labs-menu__toggle {
    background: var(--sl-gold-btn);
    color: #fff;
}
.labs-menu__chevron {
    display: inline-flex;
    width: 12px;
    height: 12px;
    transition: transform var(--sl-dur-hover) ease;
}
.labs-menu__chevron svg {
    width: 100%;
    height: 100%;
    display: block;
}
.labs-menu.is-open .labs-menu__chevron { transform: rotate(180deg); }
.labs-menu__list {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 20;
    min-width: max(100%, 248px);
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: var(--sl-bg);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms var(--sl-ease-out), visibility 180ms;
}
.labs-menu.is-open .labs-menu__list {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}
.labs-menu__list a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    border-bottom: 1px solid var(--sl-line);
    transition: color var(--sl-dur-hover) ease;
}
.labs-menu__list li:last-child a { border-bottom: 0; }
.labs-menu__list a:hover { color: var(--sl-gold); }

@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
    .labs-menu:hover .labs-menu__toggle,
    .labs-menu:focus-within .labs-menu__toggle {
        background: var(--sl-gold-btn);
        color: #fff;
    }
    .labs-menu:hover .labs-menu__chevron,
    .labs-menu:focus-within .labs-menu__chevron {
        transform: rotate(180deg);
    }
    .labs-menu:hover .labs-menu__list,
    .labs-menu:focus-within .labs-menu__list {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    justify-self: end;
}
.btn-preinscripcion {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--sl-gold-btn);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 10px 22px;
    min-width: 172px;
    justify-content: space-between;
    transition: background var(--sl-dur-hover) ease, transform 160ms ease-out;
}
.btn-preinscripcion .btn-arrow {
    display: inline-block;
    transition: transform var(--sl-dur-hover) var(--sl-ease-out);
}
.btn-preinscripcion:hover { background: var(--sl-gold-dark); }
.btn-preinscripcion:hover .btn-arrow { transform: translateX(4px); }
.btn-preinscripcion:active { transform: scale(0.97); }
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================
   Buttons
================================ */
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-width: 210px;
    padding: 12px 18px;
    border: 1px solid var(--sl-gold);
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.14em;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    overflow: hidden;
    z-index: 0;
    transition: color var(--sl-dur-hover) ease, transform 160ms ease-out;
}
.btn-ghost::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--sl-gold);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 320ms var(--sl-ease-out);
    z-index: -1;
}
.btn-ghost > * {
    position: relative;
    z-index: 1;
}
.btn-ghost__arrow {
    color: var(--sl-gold);
    font-size: 18px;
    display: inline-block;
    transition: transform var(--sl-dur-hover) var(--sl-ease-out), color var(--sl-dur-hover) ease;
}
.btn-ghost:hover { color: #fff; }
.btn-ghost:hover::before,
.btn-ghost:focus-visible::before { transform: scaleX(1); }
.btn-ghost:hover .btn-ghost__arrow,
.btn-ghost:focus-visible .btn-ghost__arrow {
    color: #fff;
    transform: translateX(4px);
}
.btn-ghost:active { transform: scale(0.97); }

/* ================================
   Hero
================================ */
.hero-section {
    position: relative;
    padding: 28px var(--sl-pad) 72px;
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(24px, 4vw, 72px);
    align-items: center;
}
.hero-title {
    margin: 10px 0 28px;
    font-size: clamp(40px, 4.17vw, 85px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}
.hero-text {
    max-width: 52em;
    margin-bottom: 36px;
    font-size: clamp(14px, 1.01vw, 20.6px);
    line-height: 1.45;
    font-weight: 400;
}
.hero-media {
    overflow: hidden;
    border-radius: 6px;
}
.hero-media img {
    width: 100%;
    height: clamp(280px, 28vw, 545px);
    object-fit: cover;
    transition: transform var(--sl-dur-media) var(--sl-ease-out);
}

/* ================================
   No somos
================================ */
.nosomos-section { padding: 20px var(--sl-pad) 80px; }
.nosomos-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr 1.15fr;
    gap: 28px;
    align-items: center;
}
.nosomos-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}
.nosomos-title {
    font-size: clamp(28px, 2.7vw, 55px);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
}
.nosomos-text {
    font-size: clamp(15px, 1.08vw, 22px);
    line-height: 1.45;
    color: var(--sl-muted);
}
.nosomos-media { overflow: hidden; }
.nosomos-media img {
    width: 100%;
    height: clamp(200px, 18vw, 358px);
    object-fit: cover;
    transition: transform var(--sl-dur-media) var(--sl-ease-out);
}

/* ================================
   Descubre
================================ */
.descubrir-section { padding: 10px 0 40px; }
.descubrir-end {
    height: 1px;
    background: var(--sl-line);
}
.descubrir-head {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0 var(--sl-pad);
    margin-bottom: 28px;
}
.descubrir-title {
    font-size: clamp(28px, 2.7vw, 55px);
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}
.gold-rule {
    flex: 1;
    height: 1px;
    background: var(--sl-gold);
}
.gold-rule--full { width: 100%; display: block; flex: none; }
.gold-rule--short {
    flex: none;
    display: block;
    width: 72px;
}

.discover-row {
    display: grid;
    border-top: 1px solid var(--sl-line);
}
.discover-row--4 { grid-template-columns: repeat(4, 1fr); }
.discover-row--3 { grid-template-columns: repeat(3, 1fr); }
.discover-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0 0 28px;
    border-right: 1px solid var(--sl-line);
    transition: opacity 350ms ease;
}
.discover-card:last-child { border-right: 0; }
.discover-card__media {
    position: relative;
    margin-bottom: 18px;
    overflow: hidden;
}
.discover-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 17, 34, 0) 42%, rgba(180, 141, 72, 0.42) 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--sl-dur-hover) ease;
}
.discover-card__media img {
    width: 100%;
    height: clamp(180px, 20vw, 410px);
    object-fit: cover;
    transition: transform var(--sl-dur-media) var(--sl-ease-out);
}
.discover-row--3 .discover-card__media img { height: clamp(160px, 14vw, 283px); }
.discover-card__num {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 1;
    font-size: clamp(28px, 1.91vw, 39px);
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
    transition: color var(--sl-dur-hover) ease;
}
.discover-card__title,
.discover-card__text,
.discover-card__more {
    padding-left: 18px;
    padding-right: 18px;
}
.discover-card__title {
    font-size: clamp(20px, 1.82vw, 37px);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.discover-card__text {
    font-size: clamp(14px, 1.08vw, 22px);
    line-height: 1.45;
    color: var(--sl-muted);
}
.discover-card__more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 22px;
    color: var(--sl-gold);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.discover-card__more-icon {
    display: inline-flex;
    width: 28px;
    height: 22px;
    border: 1px solid var(--sl-gold);
    align-items: center;
    justify-content: center;
    transition: transform var(--sl-dur-hover) var(--sl-ease-out), background var(--sl-dur-hover) ease, color var(--sl-dur-hover) ease;
}

/* ================================
   Experiencia
================================ */
.experiencia-section { padding: 72px var(--sl-pad) 48px; }
.experiencia-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 18px;
}
.experiencia-left { display: flex; align-items: center; gap: 22px; }
.experiencia-title {
    font-size: clamp(26px, 2.7vw, 55px);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
}
.sl-badge { width: 72px; height: 72px; flex-shrink: 0; display: block; }
.sl-badge svg,
.sl-badge img { width: 100%; height: 100%; object-fit: contain; }

/* ================================
   Lens + pillars
================================ */
.lens-section { padding-bottom: 40px; }
.lens-media { position: relative; overflow: hidden; }
.lens-media img {
    width: 100%;
    height: clamp(240px, 22vw, 420px);
    object-fit: cover;
    animation: sl-kenburns 22s ease-in-out infinite alternate;
}
.lens-caption {
    position: absolute;
    top: 28px;
    left: var(--sl-pad);
    font-size: clamp(22px, 1.82vw, 37px);
    font-weight: 700;
}
.pillars {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    padding: 36px var(--sl-pad) 10px;
}
.pillar {
    position: relative;
    padding-bottom: 4px;
}
.pillar::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    margin-top: 14px;
    background: var(--sl-gold);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 350ms var(--sl-ease-out);
}
.pillar__icon {
    display: block;
    width: 32px;
    height: 32px;
    color: var(--sl-gold);
    margin-bottom: 14px;
    transition: transform var(--sl-dur-hover) var(--sl-ease-out);
}
.pillar__icon svg,
.pillar__icon img { width: 100%; height: 100%; object-fit: contain; }
.pillar__title {
    font-size: clamp(16px, 1.32vw, 27px);
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}
.pillar__text {
    font-size: 16px;
    line-height: 1.4;
    color: var(--sl-muted);
}

/* ================================
   Manifiesto
================================ */
.manifiesto-section { padding: 48px var(--sl-pad) 40px; }
.manifiesto-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: center;
}
.manifiesto-media {
    position: relative;
    overflow: hidden;
}
.manifiesto-media img {
    width: 100%;
    height: clamp(240px, 22vw, 450px);
    object-fit: cover;
    -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent);
    mask-image: linear-gradient(90deg, #000 70%, transparent);
    transition: transform var(--sl-dur-media) var(--sl-ease-out);
}
.manifiesto-title {
    margin: 16px 0 14px;
    font-size: clamp(24px, 2.19vw, 44.6px);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}
.manifiesto-sub {
    font-size: 16px;
    letter-spacing: 0.08em;
    margin-bottom: 22px;
}
.video-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--sl-gold);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.08em;
}
.play-btn {
    position: relative;
    width: 56px;
    height: 56px;
    display: block;
    transition: transform var(--sl-dur-hover) var(--sl-ease-out);
}
.play-btn::after {
    content: '';
    position: absolute;
    inset: -3px;
    border: 1px solid var(--sl-gold);
    border-radius: 50%;
    animation: sl-pulse-ring 2.6s ease-out infinite;
    pointer-events: none;
}
.play-btn svg { width: 100%; height: 100%; }

/* ================================
   Fechas
================================ */
.fechas-section { padding: 20px var(--sl-pad) 70px; }
.fechas-title {
    font-size: clamp(22px, 1.58vw, 32.3px);
    font-weight: 800;
    margin-bottom: 28px;
    text-transform: uppercase;
}
.fechas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.evento {
    display: grid;
    grid-template-columns: auto 1fr 88px;
    gap: 14px;
    align-items: center;
    text-decoration: none;
    color: inherit;
}
.evento__date {
    width: 64px;
    height: 64px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: border-color var(--sl-dur-hover) ease, background var(--sl-dur-hover) ease;
}
.evento__dia { font-size: 28px; font-weight: 400; line-height: 1; }
.evento__mes { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; }
.evento__titulo {
    font-size: 16px;
    margin-bottom: 6px;
    transition: color var(--sl-dur-hover) ease;
}
.evento__meta {
    font-size: 14px;
    font-weight: 800;
    color: var(--sl-gold);
    letter-spacing: 0.04em;
}
.evento__media { overflow: hidden; }
.evento__media img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    transition: transform var(--sl-dur-media) var(--sl-ease-out);
}

/* ================================
   Objetivos
================================ */
.objetivos-section { padding: 10px var(--sl-pad) 40px; }
.objetivos-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 40px;
    align-items: center;
}
.objetivos-title {
    margin: 14px 0 32px;
    font-size: clamp(28px, 2.7vw, 55px);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
}
.objetivos-media { overflow: hidden; }
.objetivos-media img {
    width: 100%;
    height: clamp(240px, 25vw, 520px);
    object-fit: cover;
    transition: transform var(--sl-dur-media) var(--sl-ease-out);
}
.objetivos-end { margin-top: 48px; }

/* ================================
   Footer
================================ */
.site-footer {
    padding: 48px var(--sl-pad) 28px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 1.8fr 1.05fr;
    grid-template-areas:
        "brand links location"
        "brand links news";
    column-gap: 40px;
    row-gap: 28px;
    align-items: start;
}
.footer-brand { grid-area: brand; }
.footer-col--links { grid-area: links; }
.footer-col--location { grid-area: location; }
.footer-col--news { grid-area: news; }
.footer-tagline,
.footer-location,
.footer-news-text {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.45;
    color: var(--sl-muted);
}
.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 22px;
}
.footer-social a {
    width: 20px;
    height: 20px;
    color: #fff;
    transition: transform var(--sl-dur-hover) var(--sl-ease-out);
}
.footer-social svg,
.footer-social img { width: 100%; height: 100%; object-fit: contain; }
.footer-heading {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.site-footer-nav-list {
    list-style: none;
    columns: 2;
    column-gap: 24px;
}
.site-footer-nav-list li {
    break-inside: avoid;
    margin: 0 0 8px;
}
.site-footer-nav-list a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: color var(--sl-dur-hover) ease;
}
.site-footer-nav-list a:hover { color: var(--sl-gold); }
.footer-map {
    display: inline-block;
    margin-top: 14px;
    color: var(--sl-gold);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.newsletter-form {
    margin-top: 16px;
    display: flex;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.55);
}
.newsletter-form input {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    background: transparent;
    border: 0;
    color: #fff;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
}
.newsletter-form button {
    width: 48px;
    min-height: 48px;
    flex-shrink: 0;
    border: 0;
    background: var(--sl-gold-btn);
    color: #041122;
    font-size: 18px;
    cursor: pointer;
}
.site-footer-divider {
    height: 1px;
    background: var(--sl-gold);
    margin: 36px 0 18px;
}
.site-footer-developed {
    text-align: right;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-status {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.4;
}
.newsletter-status.is-ok { color: var(--sl-gold); }
.newsletter-status.is-error { color: #e8a0a0; }

/* ================================
   Página Contacto
================================ */
.contact-page {
    padding: 48px 24px 80px;
}
.contact-wrapper {
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
}
.contact-header {
    text-align: center;
    margin-bottom: 40px;
}
.contact-header-badge {
    display: inline-block;
    border: 1px solid var(--sl-gold);
    color: var(--sl-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 5px 16px;
    margin-bottom: 18px;
}
.contact-title {
    margin: 0 0 16px;
    font-size: clamp(32px, 4.6vw, 52px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}
.contact-subtitle {
    margin: 0 auto 12px;
    max-width: 36em;
    font-size: 16px;
    line-height: 1.5;
    color: var(--sl-muted);
}
.contact-intro {
    margin: 0 auto;
    max-width: 36em;
    font-size: 15px;
    line-height: 1.5;
    color: var(--sl-muted);
    font-style: italic;
}
.contact-wp-content {
    margin-bottom: 32px;
    color: var(--sl-muted);
    line-height: 1.5;
}
.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.contact-form .form-row .form-group { margin-bottom: 0; }
.contact-form label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}
.contact-form .required { color: var(--sl-gold); }
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--sl-line);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    padding: 13px 16px;
    outline: none;
    border-radius: 0;
    appearance: none;
}
.contact-form select {
    padding-right: 40px;
    background-image: linear-gradient(45deg, transparent 50%, var(--sl-gold) 50%), linear-gradient(135deg, var(--sl-gold) 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}
.contact-form option { background: var(--sl-bg); color: #fff; }
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.38);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--sl-gold);
}
.contact-form input.error,
.contact-form textarea.error,
.contact-form select.error {
    border-color: #e8a0a0;
}
.contact-form textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.privacy-note {
    font-size: 13px;
    line-height: 1.45;
    color: var(--sl-muted);
    margin: 4px 0 18px;
}
.form-error {
    font-size: 14px;
    color: #e8a0a0;
    margin-bottom: 16px;
}
.contact-form .btn-ghost {
    width: auto;
    min-width: 240px;
    justify-content: space-between;
    background: var(--sl-gold);
    border: 0;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.08em;
}
.contact-form .btn-ghost__arrow { color: #fff; }
.contact-form .btn-ghost::before { content: none; }
.contact-form .btn-ghost:hover { background: var(--sl-gold-dark); }
.contact-form .btn-ghost:disabled { opacity: 0.55; pointer-events: none; }
.form-success {
    text-align: center;
    padding: 24px 0 48px;
}
.contact-success-title {
    margin: 10px 0 14px;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
}

.contacto-section {
    padding: 48px var(--sl-pad) 96px;
}

/* ================================
   Página interior (page.php)
================================ */
.interior-hero {
    position: relative;
    min-height: clamp(280px, 38vw, 420px);
    overflow: hidden;
}
.interior-hero__img {
    display: block;
    width: 100%;
    height: clamp(280px, 38vw, 420px);
    object-fit: cover;
    object-position: center;
}
.interior-hero__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(180deg, rgba(4, 17, 34, 0.15) 0%, rgba(4, 17, 34, 0.82) 100%);
}
.interior-hero__inner {
    width: 100%;
    padding: 36px var(--sl-pad) 40px;
}
.interior-hero__title {
    margin: 0;
    font-size: clamp(32px, 4.4vw, 56px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}
.interior-hero__subtitle {
    margin: 14px 0 0;
    max-width: 38em;
    font-size: clamp(15px, 1.15vw, 18px);
    line-height: 1.5;
    color: var(--sl-muted);
}
.interior-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px var(--sl-pad) 88px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--sl-muted);
}
.interior-content > *:first-child { margin-top: 0; }
.interior-content h1,
.interior-content h2,
.interior-content h3,
.interior-content h4 {
    color: var(--sl-white);
    line-height: 1.2;
    text-transform: uppercase;
    margin: 1.6em 0 0.45em;
}
.interior-content h2 { font-size: clamp(22px, 2.2vw, 32px); font-weight: 800; }
.interior-content h3 { font-size: clamp(18px, 1.5vw, 22px); font-weight: 700; }
.interior-content h4 { font-size: 16px; font-weight: 700; letter-spacing: 0.04em; }
.interior-content p { margin-bottom: 1.1em; }
.interior-content ul,
.interior-content ol {
    padding-left: 1.3em;
    margin-bottom: 1.25em;
}
.interior-content li { margin-bottom: 0.4em; }
.interior-content a { color: var(--sl-gold); }
.interior-content a:hover { color: #fff; }
.interior-content strong { color: #fff; font-weight: 700; }
.interior-content img,
.interior-content .wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1.4em 0;
}
.interior-content blockquote {
    margin: 1.4em 0;
    padding: 4px 0 4px 18px;
    border-left: 2px solid var(--sl-gold);
    color: #fff;
    font-style: italic;
}
.interior-content--wide {
    max-width: 1120px;
}
.interior-empty {
    color: var(--sl-muted);
    margin: 12px 0 0;
}
.interior-actions { margin: 28px 0; }
.interior-search {
    display: flex;
    max-width: 520px;
    margin: 0 0 36px;
    border: 1px solid var(--sl-line);
}
.interior-search .search-field {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 0;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
}
.interior-search .search-field:focus {
    outline: none;
    box-shadow: inset 0 0 0 1px var(--sl-gold);
}
.interior-search .search-submit {
    min-height: 48px;
    padding: 0 18px;
    background: var(--sl-gold-btn);
    border: 0;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
}
.interior-search .search-submit:hover { background: var(--sl-gold-dark); }

.post-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
}
.post-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--sl-line);
    height: 100%;
}
.post-card__media {
    display: block;
    overflow: hidden;
}
.post-card__media img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin: 0;
    border-radius: 0;
    transition: transform var(--sl-dur-media) var(--sl-ease-out);
}
.post-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 20px 24px;
}
.post-card__date {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sl-gold);
}
.post-card__title {
    margin: 10px 0 12px;
    font-size: clamp(18px, 1.5vw, 22px);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
}
.post-card__title a {
    color: #fff;
    text-decoration: none;
}
.post-card__title a:hover { color: var(--sl-gold); }
.post-card__excerpt {
    margin: 0 0 18px;
    color: var(--sl-muted);
    font-size: 15px;
    line-height: 1.5;
    text-transform: none;
}
.post-card .discover-card__more { margin-top: auto; }

.navigation.pagination {
    margin-top: 40px;
}
.navigation.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--sl-line);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}
.navigation.pagination .page-numbers.current,
.navigation.pagination a.page-numbers:hover {
    border-color: var(--sl-gold);
    color: var(--sl-gold);
}

/* ================================
   Motion (prueba local)
================================ */
@keyframes sl-pulse-ring {
    0% { opacity: 0.55; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.22); }
}
@keyframes sl-kenburns {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

.js-motion .js-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms var(--sl-ease-out), transform 700ms var(--sl-ease-out);
}
.js-motion .js-reveal.is-in {
    opacity: 1;
    transform: none;
}
.js-motion .discover-card.js-reveal:nth-child(2) { transition-delay: 70ms; }
.js-motion .discover-card.js-reveal:nth-child(3) { transition-delay: 140ms; }
.js-motion .discover-card.js-reveal:nth-child(4) { transition-delay: 210ms; }
.js-motion .pillar.js-reveal:nth-child(2) { transition-delay: 60ms; }
.js-motion .pillar.js-reveal:nth-child(3) { transition-delay: 120ms; }
.js-motion .pillar.js-reveal:nth-child(4) { transition-delay: 180ms; }
.js-motion .pillar.js-reveal:nth-child(5) { transition-delay: 240ms; }
.js-motion .evento.js-reveal:nth-child(2) { transition-delay: 80ms; }
.js-motion .evento.js-reveal:nth-child(3) { transition-delay: 160ms; }

@media (hover: hover) and (pointer: fine) {
    .social-rail__icon:hover { transform: scale(1.14); }
    .footer-social a:hover { transform: scale(1.14); }

    .hero-media:hover img,
    .nosomos-media:hover img,
    .manifiesto-media:hover img,
    .objetivos-media:hover img {
        transform: scale(1.05);
    }

    .descubrir-section:has(.discover-card:hover) .discover-card:not(:hover),
    .descubrir-section:has(.discover-card:focus-within) .discover-card:not(:focus-within):not(:hover),
    .js-motion .descubrir-section:has(.discover-card:hover) .discover-card.js-reveal.is-in:not(:hover),
    .js-motion .descubrir-section:has(.discover-card:focus-within) .discover-card.js-reveal.is-in:not(:focus-within):not(:hover) {
        opacity: 0.55;
    }
    .discover-card:hover .discover-card__media img,
    .discover-card:focus-within .discover-card__media img,
    .post-card:hover .post-card__media img {
        transform: scale(1.06);
    }
    .discover-card:hover .discover-card__media::after,
    .discover-card:focus-within .discover-card__media::after { opacity: 1; }
    .discover-card:hover .discover-card__num,
    .discover-card:focus-within .discover-card__num { color: var(--sl-gold); }
    .discover-card:hover .discover-card__more-icon,
    .discover-card:focus-within .discover-card__more-icon {
        transform: translateX(4px);
        background: var(--sl-gold);
        color: #041122;
    }

    .pillar:hover::after { transform: scaleX(1); }
    .pillar:hover .pillar__icon { transform: translateY(-4px); }

    .video-link:hover .play-btn { transform: scale(1.08); }
    .video-link:hover .play-btn::after { animation: none; opacity: 0.8; transform: scale(1.06); }

    .evento:hover .evento__media img { transform: scale(1.08); }
    .evento:hover .evento__date {
        border-color: var(--sl-gold);
        background: rgba(180, 141, 72, 0.14);
    }
    .evento:hover .evento__titulo { color: var(--sl-gold); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .play-btn::after,
    .lens-media img {
        animation: none;
    }
    .js-motion .js-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-media img,
    .nosomos-media img,
    .discover-card__media img,
    .manifiesto-media img,
    .objetivos-media img,
    .evento__media img,
    .btn-ghost,
    .btn-ghost::before,
    .btn-ghost__arrow,
    .btn-preinscripcion,
    .btn-preinscripcion .btn-arrow {
        transition: none;
    }
}

/* ================================
   Responsive
================================ */
@media (max-width: 900px) {
    .nav-toggle { display: none; }

    .main-header {
        padding: 14px 0 0;
        border-bottom: 1px solid var(--sl-gold);
        overflow: visible;
    }

    .header-container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "logo cta"
            "nav nav";
        align-items: center;
        column-gap: 12px;
        row-gap: 0;
    }
    .logo-container { grid-area: logo; }
    .header-right { grid-area: cta; }
    .site-logo {
        max-height: 30px;
        max-width: 150px;
    }

    .header-nav {
        grid-area: nav;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        height: auto;
        visibility: visible;
        overflow: visible;
        background: transparent;
        padding: 12px 0 14px;
        margin-top: 10px;
        border-top: 1px solid var(--sl-line);
        justify-self: stretch;
        z-index: 2;
    }
    .header-nav-list {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        width: 100%;
    }
    .header-nav-list > .menu-item { border-bottom: 0; }
    .header-nav-list > .menu-item > a,
    .labs-menu__toggle {
        display: inline-flex;
        width: auto;
        padding: 0;
        font-size: clamp(10px, 2.7vw, 12px);
        letter-spacing: 0.06em;
        justify-content: flex-start;
        white-space: nowrap;
    }
    .labs-menu__toggle {
        padding: 7px 10px;
        margin-left: -10px;
    }
    .labs-menu.is-open .labs-menu__toggle {
        background: var(--sl-gold-btn);
        color: #fff;
    }
    .labs-menu__list {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: min(280px, calc(100vw - 40px));
        width: max-content;
        display: block;
        padding: 6px 0;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(8px);
        transition: opacity 180ms ease, transform 180ms var(--sl-ease-out), visibility 180ms;
    }
    .labs-menu.is-open .labs-menu__list {
        display: block;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }
    .labs-menu__list a {
        padding: 12px 18px;
        font-size: 14px;
    }
}

@media (max-width: 1100px) {
    .social-rail { display: none; }

    .header-container { gap: 12px; }
    .btn-preinscripcion {
        min-width: 0;
        padding: 9px 14px;
        font-size: 12px;
        gap: 8px;
    }

    .hero-grid,
    .nosomos-grid,
    .manifiesto-grid,
    .objetivos-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        grid-template-areas: none;
    }
    .footer-brand,
    .footer-col--links,
    .footer-col--location,
    .footer-col--news { grid-area: auto; }
    .discover-row--4,
    .discover-row--3,
    .fechas-grid {
        grid-template-columns: 1fr;
    }
    .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
    .discover-card { border-right: 0; border-bottom: 1px solid var(--sl-line); }
    .experiencia-row { flex-direction: column; align-items: flex-start; }
    .descubrir-title { white-space: normal; }
    .manifiesto-media img {
        -webkit-mask-image: none;
        mask-image: none;
    }
    .lens-media::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(4, 17, 34, 0.62) 0%, rgba(4, 17, 34, 0.2) 48%, transparent 70%);
        pointer-events: none;
    }
    .lens-caption {
        z-index: 1;
        text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
    }
    section { scroll-margin-top: var(--sl-header-h, 72px); }
}

@media (max-width: 700px) {
    :root { --sl-pad: 24px; }

    .main-header { padding: 12px 0 0; }
    .header-container { column-gap: 10px; }
    .site-logo {
        max-height: 30px;
        max-width: 150px;
        object-fit: contain;
        object-position: left center;
    }
    .btn-preinscripcion {
        padding: 8px 12px;
        font-size: 11px;
        letter-spacing: 0.04em;
        min-width: 0;
    }

    .hero-section { padding-top: 20px; padding-bottom: 40px; }
    .hero-title,
    .experiencia-title,
    .objetivos-title {
        line-height: 1.12;
        letter-spacing: 0;
    }
    .hero-title { font-size: clamp(32px, 8.4vw, 40px); margin: 10px 0 20px; }
    .hero-text { margin-bottom: 24px; }
    .nosomos-section { padding-bottom: 40px; }
    .nosomos-title { line-height: 1.12; }

    .descubrir-section { padding-bottom: 16px; }
    .descubrir-head { margin-bottom: 20px; }
    .discover-card { padding-bottom: 32px; }
    .discover-card__media { margin-bottom: 16px; }
    .discover-card__media img { height: 200px; }
    .discover-card__num { top: 14px; left: 16px; }
    .discover-card__title,
    .discover-card__text,
    .discover-card__more {
        padding-left: var(--sl-pad);
        padding-right: var(--sl-pad);
    }

    .experiencia-section { padding-top: 48px; padding-bottom: 36px; }
    .experiencia-left { gap: 16px; align-items: flex-start; }
    .sl-badge { width: 56px; height: 56px; }

    .pillars { padding-top: 28px; }
    .pillar__icon { width: 40px; height: 40px; }

    .manifiesto-title { line-height: 1.15; }

    .fechas-grid { gap: 18px; }
    .evento {
        grid-template-columns: auto 1fr 72px;
        align-items: center;
        gap: 12px;
        padding: 4px 0;
    }
    .evento__media { grid-column: auto; }
    .evento__media img { width: 72px; height: 72px; }

    .objetivos-end { margin-top: 36px; }

    .site-footer-nav-list { column-gap: 16px; }
    .site-footer-nav-list li { margin-bottom: 0; }
    .site-footer-nav-list a {
        display: block;
        padding: 10px 0;
        font-size: 13px;
    }
    .site-footer-developed { text-align: left; }

    .contact-page { padding: 28px 24px 56px; }
    .contact-form .form-row { grid-template-columns: 1fr; }

    .interior-hero__inner { padding: 28px var(--sl-pad) 28px; }
    .interior-content { padding: 32px var(--sl-pad) 64px; }
    .post-list { grid-template-columns: 1fr; }
}
