/* =========================================================
   ENDURANCE — Modern stylesheet
   Paleta original preservada: mint #52d3aa, yellow #ffe28c
   ========================================================= */

:root {
  --brand: #f5a623;
  --brand-dark: #d68a13;
  --brand-light: #ffd966;
  --accent: #ffe28c;
  --accent-strong: #ffc845;
  --ink: #1a1f2c;
  --ink-soft: #3a4150;
  --body: #5a6170;
  --muted: #8a92a0;
  --line: #ece4d4;
  --bg: #ffffff;
  --bg-soft: #fbf7ed;
  --bg-cream: #fff8e4;
  --shadow-sm: 0 2px 8px rgba(26, 31, 44, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 31, 44, 0.08);
  --shadow-lg: 0 18px 48px rgba(26, 31, 44, 0.12);
  --shadow-brand: 0 10px 30px rgba(245, 166, 35, 0.32);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
  --container: 1200px;
  --section-pad: clamp(64px, 9vw, 120px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', 'Raleway', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--brand); }

h1, h2, h3, h4, h5 {
  font-family: 'Raleway', sans-serif;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
p  { margin: 0 0 1.2em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  text-decoration: none;
  line-height: 1;
}
.btn--primary {
  background: var(--brand);
  color: var(--ink);
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover {
  background: var(--brand-dark);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(245, 166, 35, 0.45);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}
.btn--yellow {
  background: var(--accent-strong);
  color: var(--ink);
}
.btn--yellow:hover {
  background: #f3c517;
  color: var(--ink);
  transform: translateY(-2px);
}
.btn--lg { padding: 18px 36px; font-size: 16px; }
.btn small { font-weight: 400; font-size: 11px; opacity: .85; }

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: padding .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-nav.scrolled {
  padding: 10px 0;
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo img { height: 72px; width: auto; transition: height .25s var(--ease); }
.site-nav.scrolled .nav-logo img { height: 56px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-dark);
  background: rgba(245,166,35,0.14);
}
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
  border-radius: 2px;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 76px 16px auto 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all .3s var(--ease);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-links a { text-align: left; padding: 14px 16px; }
  .nav-cta { margin: 8px 0 0; }
}

/* ---------- Social rail ---------- */
.social-rail {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  padding: 8px 6px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-md);
}
.social-rail a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 16px;
  color: #fff;
  background: var(--ink);
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.social-rail a:hover { transform: scale(1.1); }
.social-rail .s-linkedin { background: #0a66c2; }
.social-rail .s-instagram { background: linear-gradient(135deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888); }
.social-rail .s-twitter { background: #1da1f2; }
.social-rail .s-youtube { background: #ff0000; }

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/barcoendurance.jpg');
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.04);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.72) 40%, rgba(245,166,35,0.55) 100%);
  z-index: -1;
}
.hero-content { max-width: 760px; text-align: center; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.85);
  color: var(--brand-dark);
  border-radius: var(--radius-pill);
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.hero h1 {
  color: var(--ink);
  margin-bottom: 24px;
  text-shadow: 0 2px 30px rgba(255,255,255,0.6);
}
.hero h1 span { color: var(--brand-dark); }
.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 36px;
  font-weight: 500;
}
.hero-cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--ink-soft);
  border-radius: 14px;
  opacity: .6;
}
.scroll-cue::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 8px;
  background: var(--ink-soft);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  50% { transform: translate(-50%, 12px); opacity: 0; }
}

/* ---------- Section base ---------- */
section { padding: var(--section-pad) 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow {
  color: var(--brand-dark);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 14px;
}
.section-head p { color: var(--body); font-size: 1.05rem; }
.bg-soft { background: var(--bg-soft); }
.bg-cream { background: var(--bg-cream); }

/* ---------- Clientes ---------- */
.clients .carousel-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.clients-track {
  display: flex;
  transition: transform .6s var(--ease);
}
.clients-slide {
  min-width: 100%;
  display: grid;
  place-items: center;
}
.clients-slide img { max-height: 220px; object-fit: contain; }
.carousel-nav {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease);
  z-index: 2;
}
.carousel-nav:hover { background: var(--brand); color: var(--ink); }
.carousel-nav.prev { left: -16px; }
.carousel-nav.next { right: -16px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  transition: width .25s var(--ease), background .25s var(--ease);
  padding: 0;
}
.carousel-dots button.active { width: 28px; background: var(--brand); border-radius: 4px; }

/* ---------- Counters ---------- */
.stats {
  position: relative;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/bici.jpg') center/cover no-repeat fixed;
  z-index: -2;
}
.stats::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,31,44,0.88), rgba(245,166,35,0.85));
  z-index: -1;
}
.stats h2 { color: #fff; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.stat-card {
  text-align: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 32px 18px;
  backdrop-filter: blur(8px);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.stat-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.12); }
.stat-card img { width: 56px; height: 56px; object-fit: contain; margin: 0 auto 14px; filter: brightness(0) invert(1); }
.stat-num {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  color: var(--accent-strong);
  line-height: 1;
}
.stat-label {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.9);
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }

/* ---------- Feature cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  color: #fff;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transition: transform .6s var(--ease);
}
.feature-card:hover::before { transform: scale(1.06); }
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,31,44,0) 30%, rgba(26,31,44,0.9) 100%);
  z-index: -1;
}
.feature-card .inner { padding: 32px; }
.feature-card img.icon { width: 52px; height: 52px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.feature-card h3 { color: #fff; font-size: 1.4rem; }
.feature-card p { color: rgba(255,255,255,0.9); font-size: 15px; margin-bottom: 16px; }
.feature-card a.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.feature-card a.more::after { content: '→'; transition: transform .25s var(--ease); }
.feature-card a.more:hover::after { transform: translateX(4px); }

.feature-card.f-1::before { background-image: url('../images/outdoor.jpg'); }
.feature-card.f-2::before { background-image: url('../images/analisis.jpg'); }
.feature-card.f-3::before { background-image: url('../images/equipo.jpg'); }

@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } .feature-card { min-height: 380px; } }

/* ---------- Video ---------- */
.video-block { text-align: center; margin-top: 80px; }
.video-frame {
  position: relative;
  max-width: 900px;
  margin: 32px auto 0;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video-poster {
  display: block;
  cursor: pointer;
  background: #000;
}
.video-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease), opacity .3s var(--ease);
}
.video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.35) 100%);
  transition: background .3s var(--ease);
}
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.35));
  transition: transform .25s var(--ease);
  z-index: 1;
}
.video-poster:hover img { transform: scale(1.03); }
.video-poster:hover .video-play { transform: translate(-50%, -50%) scale(1.08); }
.video-poster:hover::after { background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.45) 100%); }
.video-play svg { width: 100%; height: 100%; }

/* ---------- Catalog grid ---------- */
.catalog-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 8px 0 24px;
}
.activities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.activity {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  text-decoration: none;
  color: inherit;
}
.activity:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.activity-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.activity-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.activity:hover .activity-img img { transform: scale(1.08); }
.activity-body { padding: 20px 22px 22px; }
.activity h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
  color: var(--ink);
}
.activity p {
  margin: 0;
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
}
.activity .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: rgba(245,166,35,0.14);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  margin-top: 14px;
}
@media (max-width: 900px) { .activities { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .activities { grid-template-columns: 1fr; } }

/* ---------- About / Shape ---------- */
.about-intro { text-align: center; max-width: 800px; margin: 0 auto 56px; }
.about-intro figure { margin: 32px 0 0; }
.shape-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}
.shape-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.shape-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.shape-card figure {
  margin: 0 0 18px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-cream);
}
.shape-card figure img { width: 100%; height: 100%; object-fit: cover; }
.shape-card .role {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-dark);
  font-weight: 700;
  margin-bottom: 10px;
}
.shape-card.text-only { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); color: var(--ink); }
.shape-card.text-only h3 { color: var(--ink); }
.shape-card.text-only p { color: rgba(26,31,44,0.85); font-size: 15px; }
.shape-card.text-only .btn { background: var(--ink); color: #fff; margin-top: 8px; box-shadow: none; }
.shape-card.text-only .btn:hover { background: #000; color: #fff; }
@media (max-width: 900px) { .shape-grid { grid-template-columns: 1fr; } }

.manifest {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.manifest img.logo { width: 100px; margin: 16px auto 24px; }
.manifest img.values { max-width: 100%; border-radius: var(--radius-md); margin-top: 16px; }

/* ---------- Reasons ---------- */
.reasons { background: var(--bg-cream); }
.reasons-head { max-width: 760px; margin: 0 auto 56px; text-align: left; }
.reasons-head .eyebrow { color: var(--brand-dark); }
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.reason {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  border-top: 4px solid var(--brand);
}
.reason:nth-child(2) { border-color: var(--accent-strong); }
.reason:nth-child(3) { border-color: var(--brand-dark); }
.reason:nth-child(4) { border-color: var(--accent); }
.reason:nth-child(5) { border-color: var(--brand-light); }
.reason:nth-child(6) { border-color: var(--accent-strong); }
.reason:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.reason img { width: 56px; margin-bottom: 16px; }
.reason h3 { font-size: 1.15rem; margin-bottom: 10px; }
.reason p { font-size: 15px; margin: 0; }
.reason p strong { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .reasons-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 36px;
  margin-top: 48px;
}
.contact-card {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 28px;
}
.contact-card h3 { font-size: 1.1rem; margin: 0 0 4px; color: var(--ink); }
.contact-card .role {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-dark);
  font-weight: 700;
  margin-bottom: 18px;
}
.contact-card ul { list-style: none; margin: 0; padding: 0; }
.contact-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  margin-bottom: 12px;
  color: var(--body);
}
.contact-card li i { color: var(--brand-dark); font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.contact-form {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 32px;
}
.contact-form h3 { color: var(--ink); margin-bottom: 6px; }
.contact-form p.lead { color: rgba(26,31,44,0.78); font-size: 14px; margin-bottom: 22px; }
.contact-form .field { margin-bottom: 14px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.55);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(26,31,44,0.55); }
.contact-form input:focus,
.contact-form textarea:focus {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26,31,44,0.18);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form .btn {
  background: var(--ink);
  color: #fff;
  width: 100%;
  margin-top: 8px;
}
.contact-form .btn:hover { background: #000; color: #fff; }

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

.newsletter-banner {
  background: linear-gradient(135deg, var(--ink) 0%, #2c3344 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  margin-bottom: 56px;
}
.newsletter-banner h2 { color: #fff; }
.newsletter-banner p { color: rgba(255,255,255,0.85); max-width: 540px; margin: 0 auto 24px; }
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  border: none;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-family: inherit;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-form input:focus { background: rgba(255,255,255,0.2); }

/* ---------- Footer ---------- */
footer.site-footer {
  background: #0f131c;
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
  text-align: center;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-direction: column;
  margin-bottom: 32px;
}
.footer-top img { width: 60px; }
.footer-top a {
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
}

/* ---------- Animations (reveal on scroll) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15,19,28,0.92);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img {
  max-width: min(92vw, 1200px);
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: background .25s var(--ease);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ---------- Events showcase ---------- */
.events-section .section-head { text-align: center; }

.events-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 40px;
}
.ev-filter {
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--ink-soft);
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all .25s var(--ease);
  letter-spacing: 0.02em;
}
.ev-filter:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}
.ev-filter.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.event-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.event-card.is-hidden {
  display: none;
}

.event-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--accent) 100%);
}
.event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.event-card:hover .event-media img { transform: scale(1.04); }

.event-year {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(26, 31, 44, 0.85);
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}
.event-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.event-tag.tag-indoor { background: var(--accent); color: var(--brand-dark); }
.event-tag.tag-outdoor { background: var(--brand); color: #fff; }
.event-tag.tag-method { background: var(--ink); color: var(--accent); }

.event-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.event-org {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-dark);
  font-weight: 700;
}
.event-body h3 {
  font-size: 1.15rem;
  margin: 2px 0 4px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
}
.event-body p {
  font-size: 14px;
  color: var(--body);
  margin: 0 0 14px;
  line-height: 1.55;
  flex: 1;
}
.event-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  flex-wrap: wrap;
}
.ev-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  color: var(--ink-soft);
  transition: all .2s var(--ease);
  border: 1px solid transparent;
}
.ev-link:hover {
  background: var(--accent);
  color: var(--brand-dark);
}
.ev-link i { font-size: 14px; }
.ev-link--video {
  background: var(--brand);
  color: #fff;
}
.ev-link--video:hover {
  background: var(--brand-dark);
  color: #fff;
}

@media (max-width: 1000px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .events-grid { grid-template-columns: 1fr; gap: 22px; }
  .events-filter { gap: 6px; }
  .ev-filter { padding: 7px 14px; font-size: 13px; }
  .event-body { padding: 18px 20px 20px; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.spacer-sm { height: 24px; }
.spacer-md { height: 48px; }
