:root {
    --mint: #E6EEFB;
    --mint-soft: #F6F9FE;
    --navy: #0F2E6B;
    --navy-2: #1A418D;
    --navy-3: #2A57AD;
    --coral: #FF6A13;
    --coral-dark: #D94F00;
    --pop: #FF9A4D;
    --cream: #FFFFFF;
    --on-accent: #0A1A3D;
    --ink: #0A1A3D;
    --muted: #55668A;
    --line-dark: rgba(255, 255, 255, .14);
    --line-light: rgba(15, 46, 107, .12);
    --display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
    --body: 'Figtree', 'Segoe UI', sans-serif;
    --radius: 22px;
    --shadow: 0 24px 50px -24px rgba(15, 46, 107, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    margin: 0;
    font-family: var(--body);
    color: var(--ink);
    background: var(--mint-soft);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main { flex: 1 0 auto; }
footer { flex-shrink: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -.02em; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 90%); margin: 0 auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section--mint { background: var(--mint); }
.section--navy { background: var(--navy); color: #fff; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--coral-dark);
    margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section--navy .eyebrow { color: var(--coral); }
.h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; max-width: 18ch; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 56ch; margin: 1rem 0 0; }
.section--navy .lead { color: rgba(255, 255, 255, .72); }
.head { margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }

/* ── BOTÓNS ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    font: 700 1rem var(--body);
    padding: .95rem 1.7rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
    background: var(--coral); color: var(--navy);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    box-shadow: 0 10px 26px -10px rgba(255, 106, 19, .8);
}
.btn:hover { transform: translateY(-3px); background: #ff8383; box-shadow: 0 18px 30px -12px rgba(255, 106, 19, .9); }
.btn i { transition: transform .2s ease; }
.btn:hover i { transform: translateX(4px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); box-shadow: none; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); box-shadow: none; }
.btn--navy { background: var(--navy); color: var(--cream); box-shadow: 0 10px 26px -12px rgba(15, 46, 107, .8); }
.btn--navy:hover { background: var(--navy-2); }
.btn--block { width: 100%; }

/* ── CABECEIRA ── */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 1rem 0;
    transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.nav.is-solid { background: rgba(246, 249, 254, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: .2rem 0; box-shadow: 0 2px 0 var(--navy); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .1rem; font: 800 3.9rem/1 var(--display); font-stretch: 75%; text-transform: uppercase; color: var(--navy); letter-spacing: -.01em; }
.brand .logo { display: block; width: 112px; height: 107px; background: var(--navy); -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; transition: width .3s ease, height .3s ease, background .3s ease, transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.brand:hover .logo { background: var(--coral); transform: rotate(-8deg) scale(1.06); }
.nav.is-solid .brand .logo { width: 54px; height: 52px; }
.nav.is-solid .brand { font-size: 2.1rem; gap: 0; }
.nav.is-solid .btn { padding: .4rem 1rem; font-size: .85rem; }
.nav.is-solid ul { gap: 1.4rem; }
@media (max-width: 520px) { .brand { font-size: 1.6rem; } .brand .logo { width: 50px; height: 48px; } .nav.is-solid .brand { font-size: 1.5rem; } .nav.is-solid .brand .logo { width: 46px; height: 44px; } .nav ul { gap: .8rem; } .nav .btn { padding: .5rem .9rem; font-size: .82rem; white-space: nowrap; } .brand { font-size: 1.45rem; } }
.brand b { color: var(--coral-dark); font-weight: 800; }
.nav ul { display: flex; align-items: center; gap: 1.8rem; list-style: none; margin: 0; padding: 0; }
.nav ul a:not(.btn) { color: var(--navy); font-weight: 700; font-size: .95rem; position: relative; }
.nav ul a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 3px; width: 0; background: var(--coral); border-radius: 3px; transition: width .25s ease; }
.nav ul a:not(.btn):hover::after { width: 100%; }
.nav .btn { padding: .6rem 1.25rem; font-size: .9rem; }
@media (max-width: 860px) { .nav ul li:not(.keep) { display: none; } }

/* ── HERO (fondo menta, sen foto) ── */
.hero {
    position: relative; background: var(--mint); color: var(--navy); overflow: hidden; isolation: isolate;
    padding: 11.5rem 0 calc(5rem + 56px);
}
.hero::before { /* trama de puntos */
    content: ""; position: absolute; inset: 0; z-index: -2;
    background-image: radial-gradient(rgba(15, 46, 107, .16) 1.6px, transparent 1.7px); background-size: 26px 26px;
    mask-image: linear-gradient(115deg, transparent 35%, #000 80%); -webkit-mask-image: linear-gradient(115deg, transparent 35%, #000 80%);
}
.blob { position: absolute; z-index: -1; border-radius: 50%; }
.blob--a { width: 560px; height: 560px; right: -120px; top: -140px; background: var(--coral); animation: morph 14s ease-in-out infinite; }
.blob--b { width: 150px; height: 150px; left: 44%; bottom: 70px; background: var(--navy); animation: morph 11s ease-in-out infinite reverse; }
@keyframes morph { 0%, 100% { border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; transform: rotate(0); } 50% { border-radius: 58% 42% 46% 54% / 46% 56% 44% 54%; transform: rotate(18deg) scale(1.04); } }

.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: .55rem; background: #fff; border: 2px solid var(--navy); border-radius: 999px; padding: .4rem 1rem .4rem .5rem; font-weight: 700; font-size: .88rem; box-shadow: 3px 3px 0 var(--navy); margin-bottom: 1.6rem; }
.pill i { width: 26px; height: 26px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; font-size: .72rem; color: var(--navy); }
.rot { display: inline-block; position: relative; min-width: 11ch; height: 1.4em; overflow: hidden; vertical-align: bottom; color: var(--coral-dark); }
.rot span { position: absolute; left: 0; top: 0; transform: translateY(110%); transition: transform .5s cubic-bezier(.2, .8, .2, 1); white-space: nowrap; }
.rot span.on { transform: none; }
.rot span.off { transform: translateY(-110%); }

.hero h1 { font-size: clamp(3rem, 7.6vw, 6.4rem); font-weight: 800; letter-spacing: -.04em; line-height: .96; }
.hero h1 .l1 { display: inline-block; font-size: 1.12em; color: var(--navy); text-transform: uppercase; letter-spacing: -.045em; line-height: .88; }
.hero h1 .l1::first-line { color: var(--navy); }
.hero h1 .l2 { font-size: .56em; letter-spacing: -.03em; display: inline-block; margin-top: .25em; color: var(--coral-dark); position: relative; display: inline-block; }
.hero h1 .l2 svg { position: absolute; left: 0; bottom: -.14em; width: 100%; height: .3em; overflow: visible; }
.hero h1 .l2 path { stroke: var(--navy); stroke-width: 7; fill: none; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700; animation: scribble 1.2s .9s ease forwards; }
@keyframes scribble { to { stroke-dashoffset: 0; } }
.hero p.lead { color: var(--navy-2); font-size: clamp(1.05rem, 2vw, 1.3rem); margin: 1.8rem 0 2.2rem; font-weight: 500; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-micro { margin-top: 1.3rem; font-size: .92rem; font-weight: 600; display: flex; align-items: center; gap: .5rem; }
.hero-micro i { color: var(--coral-dark); }
.hero .btn--ghost { color: var(--navy); border-color: var(--navy); }
.hero .btn--ghost:hover { background: var(--navy); color: #fff; }

.hero-rise > * { opacity: 0; transform: translateY(26px); animation: rise .8s cubic-bezier(.2, .8, .2, 1) forwards; }
.hero-rise > *:nth-child(1) { animation-delay: .05s; }
.hero-rise > *:nth-child(2) { animation-delay: .2s; }
.hero-rise > *:nth-child(3) { animation-delay: .35s; }
.hero-rise > *:nth-child(4) { animation-delay: .5s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Colaxe de fotos reais do club: limpa, sen inclinacións nin sombras duras */
.collage { position: relative; isolation: isolate; height: clamp(440px, 44vw, 580px); display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1.25fr 1fr; gap: 14px; }
.collage::before { content: ""; position: absolute; z-index: -1; inset: 9% -5% -5% 14%; border-radius: 40px; background: linear-gradient(145deg, var(--navy-3), var(--navy)); opacity: .96; }
.ph { position: relative; overflow: hidden; border-radius: 24px; background: var(--navy-2); box-shadow: 0 28px 50px -28px rgba(10, 26, 61, .55); opacity: 0; animation: rise .9s cubic-bezier(.2, .8, .2, 1) forwards; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.ph:hover img { transform: scale(1.04); }
.ph--1 { grid-row: 1 / 3; animation-delay: .25s; }
.ph--2 { animation-delay: .4s; }
.ph--3 { animation-delay: .55s; }
.glass { position: absolute; z-index: 2; display: flex; align-items: center; gap: .8rem; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .7); border-radius: 16px; padding: .8rem 1.05rem; box-shadow: 0 18px 40px -18px rgba(10, 26, 61, .55); color: var(--ink); opacity: 0; animation: rise .9s .8s cubic-bezier(.2, .8, .2, 1) forwards; }
.glass .gi { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--coral); color: var(--on-accent); font-size: .95rem; }
.glass strong { display: block; font: 700 .95rem/1.2 var(--display); letter-spacing: -.01em; }
.glass span.sub { font-size: .8rem; color: var(--muted); }
.glass--a { left: -6%; bottom: 24%; }
.glass--b { right: -3%; top: 38%; animation-delay: 1s; }
.glass--c { right: 2%; bottom: -3%; animation-delay: 1.2s; }
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .collage { height: 440px; max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 520px) { .collage { height: 380px; } .glass { padding: .6rem .8rem; } .glass--a { left: -2%; } .glass--b { right: 0; } .glass--c { right: 0; bottom: -4%; } .glass .gi { width: 32px; height: 32px; } }

/* ── CINTA ── */
.marquee { background: var(--navy); color: var(--mint); overflow: hidden; border-block: 3px solid var(--navy); rotate: -1.4deg; margin: -3.2rem -2% 0; position: relative; z-index: 4; padding: .95rem 0; }
.marquee-track { display: flex; width: max-content; animation: scroll 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: flex; align-items: center; gap: 1.6rem; padding-right: 1.6rem; font: 800 1.35rem var(--display); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.marquee i { color: var(--coral); font-size: 1.1rem; }
.marquee em { font-style: normal; color: var(--coral); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ── CIFRAS ── */
.stats { margin-top: 3.5rem; position: relative; z-index: 3; }
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--navy); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.stat { padding: 1.8rem 1.5rem; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line-dark); }
.stat strong { display: block; font: 800 clamp(2rem, 4vw, 3rem) var(--display); color: var(--coral); }
.stat span { font-size: .9rem; color: rgba(255, 255, 255, .7); }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3)::before { display: none; } .stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); } }

/* ── TARXETAS (obstáculos) ── */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.card {
    background: #fff; border-radius: var(--radius); padding: 1.8rem 1.5rem;
    border: 1px solid var(--line-light); transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card .ico {
    width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
    background: var(--mint); color: var(--navy); font-size: 1.3rem; margin-bottom: 1.2rem;
    transition: background .3s ease, color .3s ease, transform .3s ease;
}
.card:hover .ico { background: var(--coral); transform: rotate(-8deg) scale(1.06); }
.card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .5rem; }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }
.cards--dark .card { background: var(--navy-2); border-color: var(--line-dark); }
.cards--dark .card p { color: rgba(255, 255, 255, .7); }
.cards--dark .card .ico { background: rgba(230, 238, 251, .12); color: var(--mint); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ── PORTAS ABERTAS ── */
.try { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.try-ticket {
    margin: 2rem 0; display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center;
    background: rgba(230, 238, 251, .08); border: 1.5px dashed rgba(230, 238, 251, .4); border-radius: 18px; padding: 1.2rem 1.4rem;
}
.try-day { font: 800 2.2rem var(--display); color: var(--coral); line-height: 1; text-align: center; }
.try-day small { display: block; font: 600 .7rem var(--body); letter-spacing: .14em; color: var(--mint); text-transform: uppercase; margin-top: .3rem; }
.try-ticket p { margin: 0; font-weight: 600; }
.try-ticket span { display: block; font-weight: 400; font-size: .92rem; color: rgba(255, 255, 255, .7); }
.video { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); border: 6px solid var(--navy-3); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .try { grid-template-columns: 1fr; } }

/* ── PREZOS ── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.plan {
    background: #fff; border-radius: 26px; padding: 2.1rem 1.8rem; display: flex; flex-direction: column;
    border: 1px solid var(--line-light); position: relative; transition: transform .3s ease, box-shadow .3s ease;
}
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.plan--hit { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-14px); box-shadow: var(--shadow); }
.plan--hit:hover { transform: translateY(-22px); }
.plan-flag { position: absolute; top: -14px; left: 50%; translate: -50% 0; background: var(--coral); color: var(--navy); font-weight: 800; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; padding: .4rem 1rem; border-radius: 999px; white-space: nowrap; }
.plan-name { font: 700 1.05rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--coral-dark); }
.plan--hit .plan-name { color: var(--coral); }
.plan-price { margin: .8rem 0 1.1rem; font-family: var(--display); }
.plan-price strong { font-size: 3.4rem; font-weight: 800; letter-spacing: -.04em; }
.plan-price span { font: 500 1rem var(--body); color: var(--muted); }
.plan--hit .plan-price span { color: rgba(255, 255, 255, .6); }
.plan-break { display: grid; gap: .4rem; padding: 1rem 0; border-block: 1px dashed var(--line-light); font-size: .88rem; color: var(--muted); }
.plan--hit .plan-break { border-color: var(--line-dark); color: rgba(255, 255, 255, .7); }
.plan-break div { display: flex; justify-content: space-between; }
.plan-break strong { color: var(--ink); } .plan--hit .plan-break strong { color: #fff; }
.plan p.tag { color: var(--muted); font-size: .94rem; margin: 1.1rem 0; min-height: 3em; }
.plan--hit p.tag { color: rgba(255, 255, 255, .75); }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .65rem; font-size: .94rem; }
.plan li { display: flex; gap: .7rem; align-items: flex-start; }
.plan li i { color: var(--coral); margin-top: .35rem; font-size: .8rem; }
.plan .btn { margin-top: auto; }
.plan:not(.plan--hit) .btn { background: var(--navy); color: #fff; box-shadow: none; }
.plan:not(.plan--hit) .btn:hover { background: var(--coral); color: var(--navy); }
.foot-note { max-width: 70ch; margin: 3rem auto 0; text-align: center; color: var(--muted); font-size: .92rem; }
.foot-note a { color: var(--coral-dark); font-weight: 700; border-bottom: 2px solid currentColor; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } .plan--hit { transform: none; } .plan--hit:hover { transform: translateY(-8px); } }

/* ── CLUB ── */
.club { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.club-text p { color: var(--muted); margin: 0 0 1.2rem; }
.club-text p:first-of-type { font-size: 1.1rem; color: var(--ink); }
.projects { display: grid; gap: 1.1rem; }
.project { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 1.6rem; position: relative; overflow: hidden; transition: transform .3s ease; }
.project:hover { transform: translateX(6px); }
.project::after { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: var(--coral); opacity: .9; transition: transform .4s ease; }
.project:hover::after { transform: scale(1.4); }
.project h4 { font-size: 1.3rem; margin-bottom: .5rem; max-width: 80%; position: relative; z-index: 1; }
.project p { margin: 0 0 1rem; color: rgba(255, 255, 255, .75); font-size: .94rem; position: relative; z-index: 1; }
.project a { color: var(--coral); font-weight: 700; position: relative; z-index: 1; }
@media (max-width: 900px) { .club { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: .72fr 1fr 1fr 1fr; gap: 1rem; margin-top: 4rem; }
.gallery a { position: relative; overflow: hidden; border-radius: 22px; background: var(--navy); aspect-ratio: 4 / 5; box-shadow: 0 24px 44px -26px rgba(10, 26, 61, .5); }
.gallery a:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 21 / 10; }
.gallery a:nth-child(2) { aspect-ratio: auto; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .6s ease; }
.gallery a:nth-child(1) img { object-position: center 40%; }
.gallery a:hover img { transform: scale(1.04); }
.gallery a::after { content: "\f00e"; font: 900 1.1rem "Font Awesome 6 Free"; position: absolute; right: 1rem; bottom: 1rem; width: 42px; height: 42px; display: grid; place-items: center; background: var(--coral); color: var(--navy); border-radius: 50%; opacity: 0; transform: scale(.6); transition: .25s ease; }
.gallery a:hover::after { opacity: 1; transform: none; }
.quote { text-align: center; font: 700 clamp(1.3rem, 3vw, 2rem) var(--display); margin: 3rem auto 0; max-width: 24ch; color: var(--navy); }
.quote em { font-style: normal; color: var(--coral-dark); }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery a:nth-child(1) { aspect-ratio: 4 / 3; } .gallery a:nth-child(2) { aspect-ratio: 4 / 5; } }

/* ── HORARIO ── */
.hor-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); border: 1px solid var(--line-light); }
.hor-desktop { --px: 1.7px; --eixe: 70px; display: flex; flex-direction: column; gap: 1.1rem; min-width: 640px; }
.hor-cab, .hor-tramo { display: grid; grid-template-columns: var(--eixe) repeat(5, minmax(0, 1fr)); column-gap: .6rem; }
.hor-cab-dia { background: var(--navy); color: #fff; border-radius: 12px; padding: .7rem .4rem; text-align: center; font: 700 .9rem var(--display); }
.hor-tramo-titulo { grid-column: 1 / -1; display: flex; align-items: center; gap: .7rem; margin-bottom: .55rem; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hor-tramo-titulo::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-light), transparent); }
.hor-tramo { align-items: start; padding-bottom: .7rem; }
.hor-eixe, .hor-columna { position: relative; height: calc(var(--min-tramo) * var(--px)); }
.hor-columna { background: repeating-linear-gradient(0deg, transparent 0 50.9px, var(--line-light) 50.9px 51px); border-radius: 12px; overflow: hidden; }
.hor-columna--baleira { background: none; }
.hor-marca { position: absolute; right: .55rem; top: calc(var(--top) * var(--px)); transform: translateY(-50%); font-size: .68rem; font-variant-numeric: tabular-nums; color: var(--muted); background: #fff; padding: 0 .15rem; }
.hor-marca--hora { color: var(--ink); font-weight: 700; font-size: .76rem; }
.hor-ev { --cor: var(--coral); position: absolute; top: calc(var(--ini) * var(--px) + 2px); height: calc(var(--dur) * var(--px) - 4px); left: calc(4px + var(--p) * (100% - 8px) / var(--n)); width: calc((100% - 8px) / var(--n) - 3px); display: flex; flex-direction: column; gap: .2rem; padding: .5rem .6rem; border-radius: 10px; background: color-mix(in srgb, var(--cor) 16%, #fff); border-left: 4px solid var(--cor); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.hor-ev:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -10px var(--cor); }
.hor-ev--competicion { --cor: var(--coral); }
.hor-ev--iniciacion { --cor: var(--navy-3); }
.hor-ev--libre { --cor: #2FA58B; }
.hor-ev--social { --cor: #E5A93B; }
.hor-ev-tipo { font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: color-mix(in srgb, var(--cor) 75%, var(--navy)); }
.hor-ev-grupo { font-size: .82rem; line-height: 1.2; font-family: var(--display); }
.hor-ev--libre .hor-ev-grupo { font: 500 .68rem var(--body); color: var(--muted); }
.hor-ev-hora { margin-top: auto; font-size: .66rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hor-ev--partida { padding: .45rem .5rem; }
.hor-ev--partida .hor-ev-hora { white-space: normal; line-height: 1.25; }
.hor-ev--partida.hor-ev--libre .hor-ev-grupo { display: none; }
.hor-movil { display: none; flex-direction: column; gap: 1rem; }
.hor-dia { border: 1px solid var(--line-light); border-radius: 16px; overflow: hidden; }
.hor-dia-titulo { margin: 0; padding: .8rem 1rem; background: var(--navy); color: #fff; font-size: 1rem; }
.hor-dia-lista { list-style: none; margin: 0; padding: .7rem; display: grid; gap: .6rem; }
.hor-fila { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: .7rem; }
.hor-fila-hora { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; font-size: .82rem; line-height: 1.25; font-variant-numeric: tabular-nums; }
.hor-fila-hora small { color: var(--muted); }
.hor-ev--fila { position: static; width: auto; height: auto; padding: .6rem .75rem; }
.legend { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.2rem; font-size: .85rem; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: .45rem; vertical-align: -1px; }
@media (max-width: 900px) { .hor-wrap { padding: 1rem; background: none; box-shadow: none; border: 0; } .hor-desktop { display: none; } .hor-movil { display: flex; } .legend { display: none; } }

/* ── NOVAS ── */
.social { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; max-width: 760px; }
.social a { display: flex; align-items: center; gap: 1.2rem; padding: 1.6rem; border-radius: var(--radius); background: var(--navy-2); border: 1px solid var(--line-dark); transition: transform .3s ease, background .3s ease; }
.social a:hover { transform: translateY(-6px); background: var(--navy-3); }
.social i { font-size: 2.2rem; color: var(--coral); }
.social strong { display: block; font: 700 1.2rem var(--display); }
.social span { color: rgba(255, 255, 255, .65); font-size: .92rem; }
@media (max-width: 600px) { .social { grid-template-columns: 1fr; } }

/* ── CONTACTO ── */
.info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 2.5rem; }
.info div { background: #fff; border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line-light); }
.info i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--coral); color: var(--navy); margin-bottom: .9rem; }
.info h4 { font-size: 1.1rem; margin-bottom: .3rem; }
.info p { margin: 0; color: var(--muted); font-size: .94rem; word-break: break-word; }
.info a:hover { color: var(--coral-dark); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form { background: var(--navy); color: #fff; border-radius: 28px; padding: clamp(1.6rem, 4vw, 2.6rem); }
.form h3 { font-size: 1.9rem; margin-bottom: .4rem; }
.form > p { margin: 0 0 1.5rem; color: rgba(255, 255, 255, .7); }
.form form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--mint); }
.form input, .form select, .form textarea { font: 500 1rem var(--body); padding: .85rem 1rem; border-radius: 14px; border: 1.5px solid var(--line-dark); background: rgba(255, 255, 255, .06); color: #fff; transition: border-color .2s ease, background .2s ease; width: 100%; }
.form select option { color: var(--ink); }
.form input::placeholder, .form textarea::placeholder { color: rgba(255, 255, 255, .4); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--coral); background: rgba(255, 255, 255, .1); }
.form .note { font-size: .82rem; text-align: center; margin: 0; color: rgba(255, 255, 255, .6); }
.map { border-radius: 28px; overflow: hidden; min-height: 420px; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
@media (max-width: 900px) { .contact, .info { grid-template-columns: 1fr; } }

.sponsors { margin-top: 4.5rem; text-align: center; }
.sponsors p { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.sponsors div { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: center; align-items: center; margin-top: 1.4rem; }
.sponsors a { background: #fff; padding: .8rem 1.3rem; border-radius: 16px; border: 1px solid var(--line-light); transition: transform .25s ease, box-shadow .25s ease; }
.sponsors a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sponsors img { height: 56px; width: auto; object-fit: contain; }

/* ── CTA FINAL ── */
.final { background: var(--coral); color: var(--navy); text-align: center; padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; overflow: hidden; }
.final::before, .final::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(15, 46, 107, .18); }
.final::before { width: 520px; height: 520px; left: -160px; top: -240px; }
.final::after { width: 380px; height: 380px; right: -100px; bottom: -200px; }
.final h2 { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 800; letter-spacing: -.035em; position: relative; z-index: 1; }
.final p { font-size: 1.25rem; margin: .8rem 0 2rem; font-weight: 500; position: relative; z-index: 1; }
.final .btn { position: relative; z-index: 1; box-shadow: 0 16px 30px -14px rgba(15, 46, 107, .8); }

footer { background: var(--navy); color: rgba(255, 255, 255, .65); text-align: center; padding: 2.2rem 5%; font-size: .9rem; }
footer div { margin-top: .6rem; display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
footer a:hover { color: var(--coral); }

/* ── ESTILO ALEGRE: bordos, sombras duras, seccións apiladas ── */
.section, .final { border-radius: clamp(32px, 5vw, 64px) clamp(32px, 5vw, 64px) 0 0; margin-top: calc(-1 * clamp(32px, 5vw, 64px)); padding-top: calc(clamp(4rem, 8vw, 7rem) + clamp(32px, 5vw, 64px)); }
.section--navy .wrap, .section--mint .wrap, .section .wrap { position: relative; }
#ti-so-tes-que-vir { margin-top: 0; border-radius: 0; padding-top: clamp(5rem, 9vw, 8rem); }
.card, .plan:not(.plan--hit), .info div, .hor-wrap { border: 2.5px solid var(--navy); box-shadow: 6px 6px 0 var(--navy); }
.card:hover, .plan:not(.plan--hit):hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--coral); }
.cards .card:nth-child(odd) { rotate: -.7deg; } .cards .card:nth-child(even) { rotate: .7deg; }
.cards .card:hover { rotate: 0deg; }
.plan--hit { border: 2.5px solid var(--navy); box-shadow: 8px 8px 0 var(--coral); }
.plan--hit:hover { box-shadow: 12px 12px 0 var(--coral); }
.stats-grid { border: 3px solid var(--navy); box-shadow: 8px 8px 0 var(--coral); }
.h2 mark { background: none; color: inherit; position: relative; z-index: 0; white-space: nowrap; }
.h2 mark::before { content: ""; position: absolute; z-index: -1; left: -.12em; right: -.12em; bottom: .04em; height: .5em; background: var(--coral); border-radius: 8px; transform: rotate(-1.5deg) scaleX(0); transform-origin: left; transition: transform .7s .3s cubic-bezier(.2, .8, .2, 1); }
.reveal.in .h2 mark::before, .h2.in mark::before, .in .h2 mark::before { transform: rotate(-1.5deg) scaleX(1); }
.section--navy .h2 mark::before { height: 1em; bottom: -.04em; opacity: 1; border-radius: 10px; }
.section--navy .h2 mark { padding: 0 .08em; }
.section--navy .h2 mark { color: var(--navy); }
.btn { border-color: var(--navy); box-shadow: 4px 4px 0 var(--navy); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--navy); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--navy); }
.btn--ghost, .btn--ghost:hover { box-shadow: none; }
.section--navy .btn, .section--navy .btn:hover, .form .btn, .form .btn:hover { border-color: var(--coral); box-shadow: 4px 4px 0 var(--mint); }
.plan:not(.plan--hit) .btn, .plan:not(.plan--hit) .btn:hover { box-shadow: none; }
.final .btn { box-shadow: 5px 5px 0 var(--coral); border-color: var(--navy); }
.video { border: 4px solid var(--coral); box-shadow: 10px 10px 0 var(--mint); }
.form, .map { border: 3px solid var(--navy); box-shadow: 8px 8px 0 var(--coral); }
.project { border: 3px solid var(--navy); box-shadow: 6px 6px 0 var(--coral); }
.social a { border: 2.5px solid var(--mint); }
.sponsors a { border: 2px solid var(--navy); }
.final { border-top: 0; }
footer { position: relative; }

/* ── PALETA CREMA / OLIVA / TERRACOTA: contrastes ── */
.btn { color: var(--on-accent); }
.btn:hover { background: #FF7F33; }
.btn--ghost { color: var(--cream); }
.plan-flag, .info i, .gallery a::after { color: var(--on-accent); }
.card:hover .ico { color: var(--on-accent); }
.final { color: var(--on-accent); }
.final .btn--navy { background: var(--navy); color: var(--cream); border-color: var(--cream); box-shadow: 5px 5px 0 var(--cream); }
.final::before, .final::after { border-color: rgba(10, 26, 61, .18); }
.section--navy .eyebrow, .stat strong, .plan--hit .plan-name, .try-day, .project a, .social i, .marquee i, .marquee em, .plan li i { color: var(--pop); }
.plan:not(.plan--hit) li i { color: var(--coral); }
.section--navy .h2 mark { color: var(--on-accent); }
.hero .btn--ghost { color: var(--navy); }
.hero .btn--ghost:hover { color: var(--cream); }
.nav .btn { color: var(--on-accent); }
.brand b { color: var(--coral); }
.hero h1 .l1 { display: inline-block; font-size: 1.12em; color: var(--navy); text-transform: uppercase; letter-spacing: -.045em; line-height: .88; }
.hero h1 .l1::first-line { color: var(--navy); }
.hero h1 .l2 { font-size: .56em; letter-spacing: -.03em; display: inline-block; margin-top: .25em; color: var(--coral); }
.plan:not(.plan--hit) .btn:hover { background: var(--coral); color: var(--on-accent); }
.plan--hit .btn { background: var(--coral); color: var(--on-accent); }
.sticker--spin text { fill: var(--on-accent); }
.sticker--spin .disc { fill: var(--coral); }
.stats-grid { box-shadow: 8px 8px 0 var(--coral); }
.hor-cab-dia, .hor-dia-titulo { color: var(--cream); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .plans .reveal:nth-child(2) { transition-delay: .1s; }
.cards .reveal:nth-child(3), .plans .reveal:nth-child(3) { transition-delay: .2s; }
.cards .reveal:nth-child(4) { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal, .hero-rise > * { opacity: 1; transform: none; }
}

/* ── MENSAXES FLASH ── */
.flash-messages { position: fixed; top: 96px; right: 1rem; z-index: 80; display: grid; gap: .6rem; max-width: min(92vw, 420px); }
.flash-message { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; background: #fff; border: 2.5px solid var(--navy); border-left-width: 8px; border-radius: 14px; padding: .8rem 1rem; box-shadow: 4px 4px 0 var(--navy); font-weight: 600; font-size: .94rem; }
.flash-success { border-left-color: #2FA58B; }
.flash-error, .flash-danger { border-left-color: #D94F00; }
.flash-close { background: none; border: 0; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--muted); }

/* ── ENTRAR / USUARIO NA CABECEIRA ── */
.nav .nav-user { display: flex; align-items: center; gap: .8rem; font-weight: 700; font-size: .9rem; color: var(--navy); }
.nav .nav-logout { font: 700 .85rem var(--body); background: none; border: 2px solid var(--navy); color: var(--navy); border-radius: 999px; padding: .35rem .9rem; cursor: pointer; transition: background .2s ease, color .2s ease; }
.nav .nav-logout:hover { background: var(--navy); color: #fff; }

/* ── CABECEIRA DE PÁXINA INTERIOR (comunidade, proxecto feminino…) ── */
.page-hero { position: relative; isolation: isolate; background: var(--mint); padding: 11.5rem 0 calc(4.5rem + 56px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(15, 46, 107, .16) 1.6px, transparent 1.7px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(115deg, transparent 35%, #000 85%); mask-image: linear-gradient(115deg, transparent 35%, #000 85%); }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 800; letter-spacing: -.04em; line-height: .95; text-transform: uppercase; color: var(--navy); }
.page-hero h1 span { color: var(--coral-dark); position: relative; display: inline-block; }
.page-hero h1 span::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em; background: var(--coral); border-radius: 99px; }
.page-hero .lead { color: var(--navy-2); font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 500; max-width: 58ch; margin-top: 1.5rem; }
.page-hero--split .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.page-hero--split img { width: min(340px, 100%); margin: 0 auto; filter: drop-shadow(0 24px 30px rgba(15, 46, 107, .25)); }
@media (max-width: 800px) { .page-hero--split .wrap { grid-template-columns: 1fr; } .page-hero--split img { width: 200px; margin: 0; } }

/* Fotos sen cortar, enmarcadas */
.frame { background: var(--mint); border: 2.5px solid var(--navy); border-radius: 26px; overflow: hidden; box-shadow: 6px 6px 0 var(--navy); display: grid; place-items: center; }
.frame img { width: 100%; height: auto; max-height: 560px; object-fit: contain; display: block; }
