/* ============================================================
   C.F. OLESA — Estilos del club
   Sistema de diseño nativo (sin Tailwind). Todos los colores
   provienen del Customizer vía variables CSS (ver customizer-club.php).
   Prefijo de clases: .efc-
   ============================================================ */

:root {
  --efc-primary:  #163C1B;
  --efc-accent:   #379544;
  --efc-ink:      #111827;
  --efc-body:     #6B7280;
  --efc-soft:     #F9FAFB;
  --efc-border:   #E5E7EB;
  --efc-white:    #FFFFFF;
  --efc-font-display: "Playfair Display", Georgia, serif;
  --efc-font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --efc-radius:   24px;
  --efc-radius-lg: 32px;
  --efc-shadow-soft: 0 20px 50px -20px rgba(0, 0, 0, .1);
  --efc-shadow-card: 0 10px 40px -15px rgba(0, 0, 0, .1);
}

/* ─── Base ────────────────────────────────────────────────── */
body.efc-mode {
  background: var(--efc-white);
  color: var(--efc-ink);
  font-family: var(--efc-font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.efc-mode * { box-sizing: border-box; }
html:has(body.efc-mode) { scroll-behavior: smooth; }

.efc-mode img { max-width: 100%; display: block; }
.efc-mode a { text-decoration: none; color: inherit; }

.efc-mode ::-webkit-scrollbar { width: 8px; }
.efc-mode ::-webkit-scrollbar-track { background: var(--efc-soft); }
.efc-mode ::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 10px; }
.efc-mode ::-webkit-scrollbar-thumb:hover { background: var(--efc-accent); }

.efc-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.efc-container--narrow { max-width: 860px; }
.efc-container--mid    { max-width: 1060px; }

.efc-section { padding: 96px 0; }
.efc-section--tight { padding: 80px 0; }
.efc-section--soft  { background: var(--efc-soft); }
.efc-section--white { background: var(--efc-white); }
.efc-section--line  { border-bottom: 1px solid #F3F4F6; }

/* ─── Tipografía ──────────────────────────────────────────── */
.efc-eyebrow {
  display: block;
  color: var(--efc-accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.efc-h2 {
  font-family: var(--efc-font-display);
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  line-height: 1.08;
  font-weight: 700;
  color: var(--efc-ink);
  margin: 8px 0 0;
}
.efc-h2--sm { font-size: clamp(1.75rem, 3.4vw, 3rem); }
.efc-lead {
  color: var(--efc-body);
  font-size: 18px;
  line-height: 1.7;
}
.efc-head { text-align: center; margin-bottom: 64px; }
.efc-head .efc-lead { max-width: 620px; margin: 20px auto 0; }
/* Tamaño base de los iconos SVG (los componentes lo sobrescriben) */
.efc-icon { width: 20px; height: 20px; flex: 0 0 auto; }
.efc-btn svg { width: 18px; height: 18px; }
.efc-btn--lg svg { width: 20px; height: 20px; }

.efc-head--split {
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: flex-end; justify-content: space-between;
  text-align: left; margin-bottom: 48px;
}

/* ─── Botones ─────────────────────────────────────────────── */
.efc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 15px;
  border: 0; cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease;
  font-family: inherit;
}
.efc-btn--accent {
  background: var(--efc-accent); color: #fff;
  box-shadow: 0 18px 35px -18px rgba(55, 149, 68, .8);
}
.efc-btn--accent:hover { transform: scale(1.05); }
.efc-btn--glass {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(10px);
  color: var(--efc-ink);
}
.efc-btn--glass:hover { background: #fff; }
.efc-btn--primary { background: var(--efc-primary); color: #fff; }
.efc-btn--primary:hover { background: var(--efc-accent); }
.efc-btn--pill { border-radius: 999px; padding: 14px 32px; }
.efc-btn--sm { padding: 10px 24px; font-size: 14px; border-radius: 999px; }
.efc-btn--block { width: 100%; }
.efc-btn--lg { padding: 20px 40px; font-size: 17px; border-radius: 999px; }

/* ─── Superficies ─────────────────────────────────────────── */
.efc-glass {
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, .05);
  box-shadow: var(--efc-shadow-card);
}
.efc-soft-shadow { box-shadow: var(--efc-shadow-soft); }

/* ─── Animación reveal ────────────────────────────────────── */
.efc-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(.16, 1, .3, 1), transform 1s cubic-bezier(.16, 1, .3, 1);
}
.efc-reveal.is-visible { opacity: 1; transform: none; }
.efc-reveal--left  { transform: translateX(-40px); }
.efc-reveal--right { transform: translateX(40px); }
@media (prefers-reduced-motion: reduce) {
  .efc-reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.efc-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  padding: 24px 0;
  color: #fff;
  transition: padding .3s ease, background .3s ease, box-shadow .3s ease;
}
.efc-nav.is-scrolled {
  padding: 14px 0;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, .05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .03);
  color: var(--efc-ink);
}
.efc-nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.efc-nav-brand { display: flex; align-items: center; gap: 12px; }
.efc-nav-brand svg { width: 32px; height: 32px; color: var(--efc-accent); }
.efc-nav-brand img { max-height: 42px; width: auto; }
.efc-nav-name {
  font-family: var(--efc-font-display);
  font-size: 20px; font-weight: 700; letter-spacing: .08em;
  color: #fff; transition: color .3s ease;
}
.efc-nav.is-scrolled .efc-nav-name { color: var(--efc-ink); }

.efc-nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none; margin: 0; padding: 0;
  font-size: 14px; font-weight: 500;
}
.efc-nav-links a { color: #fff; transition: color .25s ease; }
.efc-nav.is-scrolled .efc-nav-links a { color: #374151; }
.efc-nav-links a:hover { color: var(--efc-accent); }
.efc-nav-links li { position: relative; }
.efc-nav-links .sub-menu {
  position: absolute; top: 130%; left: 0; min-width: 210px;
  background: #fff; border-radius: 16px; padding: 10px;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .28);
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .2s ease;
}
.efc-nav-links li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.efc-nav-links .sub-menu a { display: block; padding: 9px 14px; border-radius: 10px; color: #374151 !important; }
.efc-nav-links .sub-menu a:hover { background: var(--efc-soft); color: var(--efc-accent) !important; }

.efc-nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--efc-accent); color: #fff;
  padding: 11px 24px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  transition: background .25s ease;
}
.efc-nav-cta:hover { background: var(--efc-primary); }
.efc-nav-cta svg { width: 16px; height: 16px; }

.efc-nav-burger {
  display: none; background: none; border: 0; cursor: pointer;
  color: inherit; padding: 6px;
}
.efc-nav-burger svg { width: 26px; height: 26px; }

.efc-mobile-menu {
  display: none;
  margin: 16px 24px 0;
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, .18);
}
.efc-mobile-menu.is-open { display: block; }
.efc-mobile-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.efc-mobile-menu a { color: #1F2937; font-weight: 500; }
.efc-mobile-menu a:hover { color: var(--efc-accent); }
.efc-mobile-menu .sub-menu { margin-top: 12px; padding-left: 14px; border-left: 2px solid var(--efc-border); }

@media (max-width: 1024px) {
  .efc-nav-links, .efc-nav-cta { display: none; }
  .efc-nav-burger { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.efc-hero {
  position: relative;
  min-height: 85vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  text-align: center;
}
.efc-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
}
.efc-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,.70) 0%, rgba(0,0,0,.32) 45%, #fff 100%);
}
.efc-hero-inner {
  position: relative; z-index: 2;
  max-width: 940px; padding: 140px 24px 100px;
}
.efc-hero .efc-eyebrow { margin-bottom: 16px; }
.efc-hero-title {
  font-family: var(--efc-font-display);
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 800; line-height: 1.05;
  color: #fff; margin: 0 0 24px;
}
.efc-hero-title span, .efc-accent-text { color: var(--efc-accent); }
.efc-hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: #F3F4F6; line-height: 1.7;
  max-width: 640px; margin: 0 auto 40px;
}
.efc-hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.efc-hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(31, 41, 55, .55);
  animation: efc-bounce 2s infinite;
}
.efc-hero-scroll svg { width: 40px; height: 40px; }
@keyframes efc-bounce { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 10px); } }
@media (max-width: 640px) {
  .efc-hero-ctas .efc-btn { width: 100%; }
}

/* ============================================================
   ESTADÍSTICAS
   ============================================================ */
.efc-stats-grid {
  display: grid; gap: 28px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.efc-stat {
  border-radius: var(--efc-radius);
  padding: 32px 20px;
  text-align: center;
}
.efc-stat-num {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700; color: var(--efc-primary);
  margin-bottom: 8px; line-height: 1;
}
.efc-stat-label {
  font-size: 13px; color: var(--efc-body);
  text-transform: uppercase; letter-spacing: .09em;
}
@media (max-width: 860px) { .efc-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ============================================================
   BLOQUE SPLIT (imagen + texto)
   ============================================================ */
.efc-split {
  display: grid; gap: 64px; align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.efc-split--reverse .efc-split-media { order: 2; }
.efc-split-media img {
  width: 100%; height: 560px; object-fit: cover;
  border-radius: var(--efc-radius-lg);
  box-shadow: var(--efc-shadow-soft);
}
.efc-split-media--short img { height: 450px; }
.efc-split-body .efc-h2 { margin: 12px 0 20px; }
@media (max-width: 900px) {
  .efc-split { grid-template-columns: 1fr; gap: 40px; }
  .efc-split--reverse .efc-split-media { order: 0; }
  .efc-split-media img { height: 380px; }
}

/* Lista de checks */
.efc-checklist { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.efc-checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  color: #374151; font-size: 15.5px; line-height: 1.6;
}
.efc-checklist svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--efc-accent); margin-top: 2px; }

/* Mini timeline (home / historia resumida) */
.efc-mini-timeline {
  margin-top: 40px; padding-left: 26px;
  border-left: 2px solid var(--efc-border);
  display: grid; gap: 26px;
}
.efc-mini-timeline-item { position: relative; }
.efc-mini-timeline-item::before {
  content: ""; position: absolute; left: -34px; top: 5px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #D1D5DB; border: 4px solid var(--efc-soft);
}
.efc-mini-timeline-item:first-child::before { background: var(--efc-accent); }
.efc-mini-timeline-item h4 { font-size: 20px; font-weight: 700; margin: 0 0 6px; color: var(--efc-ink); }
.efc-mini-timeline-item p { margin: 0; color: var(--efc-body); }

/* ============================================================
   PARTIDOS
   ============================================================ */
.efc-matches { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 940px; margin: 0 auto; }
.efc-match {
  border-radius: var(--efc-radius-lg);
  padding: 30px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
  transition: transform .3s ease;
}
.efc-match:hover { transform: translateY(-4px); }
.efc-match-teams { display: flex; align-items: center; gap: 18px; }
.efc-match-badge {
  width: 62px; height: 62px; border-radius: 18px;
  background: #F3F4F6;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; color: var(--efc-primary);
  overflow: hidden;
}
.efc-match-badge img { width: 100%; height: 100%; object-fit: cover; }
.efc-match-badge--away { color: var(--efc-body); }
.efc-match-vs { font-size: 22px; font-weight: 700; color: #D1D5DB; }
.efc-match-info { text-align: right; flex: 1 1 auto; }
.efc-match-date {
  display: flex; align-items: center; justify-content: flex-end; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--efc-ink); margin: 0 0 4px;
}
.efc-match-date svg { width: 16px; height: 16px; color: var(--efc-accent); }
.efc-match-venue { font-size: 14px; color: #9CA3AF; margin: 0 0 14px; }
@media (max-width: 900px) { .efc-matches { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  .efc-match { flex-direction: column; text-align: center; }
  .efc-match-info { text-align: center; }
  .efc-match-date { justify-content: center; }
}

/* ============================================================
   JUGADORES
   ============================================================ */
.efc-players { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.efc-players--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.efc-player {
  position: relative; height: 500px;
  border-radius: var(--efc-radius-lg);
  overflow: hidden; background: #111827;
  box-shadow: var(--efc-shadow-soft);
}
.efc-players--4 .efc-player { height: 450px; }
.efc-player img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}
.efc-player:hover img { transform: scale(1.08); }
.efc-player-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, #111827 0%, rgba(17,24,39,.3) 55%, transparent 100%);
}
.efc-player-num {
  position: absolute; top: 20px; right: 22px;
  font-family: var(--efc-font-display);
  font-size: 60px; font-weight: 700; color: rgba(255,255,255,.3); line-height: 1;
}
.efc-player-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px; color: #fff;
}
.efc-player-body h3 { font-size: 22px; font-weight: 700; margin: 0 0 4px; }
.efc-player-pos {
  color: var(--efc-accent); font-size: 13px;
  text-transform: uppercase; letter-spacing: .1em; margin: 0;
}
.efc-player-meta {
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .5s ease, opacity .5s ease, margin .5s ease;
  display: flex; gap: 18px; font-size: 14px; color: #D1D5DB;
  border-top: 1px solid rgba(255,255,255,.2);
}
.efc-player:hover .efc-player-meta,
.efc-player:focus-within .efc-player-meta { max-height: 120px; opacity: 1; margin-top: 16px; padding-top: 16px; }
@media (max-width: 1024px) { .efc-players, .efc-players--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .efc-players, .efc-players--4 { grid-template-columns: 1fr; }
  .efc-player, .efc-players--4 .efc-player { height: 440px; }
  .efc-player-meta { max-height: 120px; opacity: 1; margin-top: 16px; padding-top: 16px; }
}

/* Filtros de posición */
.efc-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.efc-filter {
  border: 1px solid var(--efc-border); background: transparent;
  padding: 9px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--efc-ink);
  cursor: pointer; font-family: inherit;
  transition: all .25s ease;
}
.efc-filter:hover { background: #F3F4F6; }
.efc-filter.is-active { background: var(--efc-primary); border-color: var(--efc-primary); color: #fff; }
.efc-player.is-hidden { display: none; }

/* Cuerpo técnico */
.efc-staff { display: grid; gap: 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1000px; margin: 0 auto; }
.efc-staff-card {
  border-radius: var(--efc-radius-lg); overflow: hidden; text-align: center;
  transition: transform .3s ease;
}
.efc-staff-card:hover { transform: translateY(-8px); }
.efc-staff-media { height: 280px; overflow: hidden; }
.efc-staff-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.efc-staff-card:hover .efc-staff-media img { transform: scale(1.06); }
.efc-staff-body { padding: 24px; }
.efc-staff-body h3 { margin: 0 0 4px; font-size: 20px; font-weight: 700; }
.efc-staff-body p { margin: 0; color: var(--efc-accent); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
@media (max-width: 860px) { .efc-staff { grid-template-columns: 1fr; } }

/* ============================================================
   NOTICIAS
   ============================================================ */
.efc-news { display: grid; gap: 30px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.efc-news-card {
  border-radius: var(--efc-radius-lg); overflow: hidden;
  transition: transform .3s ease; display: flex; flex-direction: column;
}
.efc-news-card:hover { transform: translateY(-8px); }
.efc-news-media { height: 220px; overflow: hidden; }
.efc-news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.efc-news-card:hover .efc-news-media img { transform: scale(1.06); }
.efc-news-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.efc-news-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--efc-body); margin-bottom: 14px; }
.efc-news-tag {
  background: rgba(22, 60, 27, .1); color: var(--efc-primary);
  padding: 5px 14px; border-radius: 999px; font-weight: 600;
}
.efc-news-card h3 { font-size: 20px; font-weight: 700; margin: 0 0 12px; transition: color .25s ease; }
.efc-news-card:hover h3 { color: var(--efc-accent); }
.efc-news-card p { color: var(--efc-body); font-size: 14.5px; line-height: 1.65; margin: 0 0 18px; }
.efc-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--efc-accent); font-weight: 700; font-size: 14px;
  margin-top: auto; transition: gap .25s ease;
}
.efc-link:hover { gap: 12px; }
.efc-link svg { width: 16px; height: 16px; }
@media (max-width: 980px) { .efc-news { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .efc-news { grid-template-columns: 1fr; } }

/* ============================================================
   GALERÍA
   ============================================================ */
.efc-gallery {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 200px;
}
.efc-gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--efc-radius-lg);
}
.efc-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.efc-gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(22, 60, 27, 0); transition: background .3s ease;
}
.efc-gallery-item:hover img { transform: scale(1.1); }
.efc-gallery-item:hover::after { background: rgba(22, 60, 27, .2); }
.efc-gallery-item--wide { grid-column: span 2; }
.efc-gallery-item--big  { grid-column: span 2; grid-row: span 2; }
@media (max-width: 860px) {
  .efc-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
  .efc-gallery-item--big { grid-column: span 2; grid-row: span 2; }
}

/* ============================================================
   PANEL CTA (verde)
   ============================================================ */
.efc-panel {
  position: relative; overflow: hidden;
  background: var(--efc-primary);
  border-radius: 40px;
  padding: 80px 40px;
  text-align: center;
}
.efc-panel::before {
  content: ""; position: absolute; inset: 0; opacity: .1;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 20px 20px;
}
.efc-panel-inner { position: relative; z-index: 1; }
.efc-panel h2 {
  font-family: var(--efc-font-display);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  color: #fff; margin: 0 0 20px; line-height: 1.1;
}
.efc-panel p { color: #D1FADF; max-width: 620px; margin: 0 auto 36px; font-size: 18px; line-height: 1.7; }
.efc-panel-perks {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 28px;
  margin-bottom: 44px; color: #fff; font-size: 14.5px; font-weight: 500;
}
.efc-panel-perks span { display: inline-flex; align-items: center; gap: 9px; }
.efc-panel-perks svg { width: 20px; height: 20px; color: var(--efc-accent); }
@media (max-width: 640px) { .efc-panel { padding: 56px 24px; border-radius: 28px; } }

/* Sección verde ancha (homenaje) */
.efc-dark-section { position: relative; overflow: hidden; background: var(--efc-primary); color: #fff; padding: 96px 0; }
.efc-dark-section::before {
  content: ""; position: absolute; inset: 0; opacity: .1;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 20px 20px;
}
.efc-dark-section .efc-container { position: relative; z-index: 1; }
.efc-dark-section .efc-h2 { color: #fff; }
.efc-dark-section p { color: #D1FADF; }
.efc-dark-stats { display: flex; gap: 40px; margin-top: 32px; }
.efc-dark-stats .efc-stat-num { color: var(--efc-accent); }
.efc-dark-stats .efc-stat-label { color: #A7F3D0; }

/* ============================================================
   PATROCINADORES (marquee)
   ============================================================ */
.efc-marquee { position: relative; width: 100%; overflow: hidden; }
.efc-marquee-track {
  display: flex; align-items: center; gap: 64px;
  width: max-content;
  animation: efc-scroll 25s linear infinite;
}
.efc-marquee:hover .efc-marquee-track { animation-play-state: paused; }
@keyframes efc-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.efc-sponsor {
  font-size: 24px; font-weight: 800; color: #D1D5DB;
  letter-spacing: .1em; white-space: nowrap;
  transition: color .3s ease;
}
.efc-sponsor:hover { color: var(--efc-accent); }
.efc-sponsor img { max-height: 46px; width: auto; filter: grayscale(1); opacity: .65; transition: all .3s ease; }
.efc-sponsor:hover img { filter: none; opacity: 1; }

/* ============================================================
   FAQ
   ============================================================ */
.efc-faq { display: grid; gap: 16px; }
.efc-faq-item { border-radius: 20px; overflow: hidden; }
.efc-faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px; background: none; border: 0; cursor: pointer;
  font-family: inherit; font-size: 17px; font-weight: 500; color: var(--efc-ink);
  text-align: left;
}
.efc-faq-q svg { width: 20px; height: 20px; color: var(--efc-accent); flex: 0 0 20px; transition: transform .3s ease; }
.efc-faq-item.is-open .efc-faq-q svg { transform: rotate(45deg); }
.efc-faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.efc-faq-a p { margin: 0; padding: 0 24px 24px; color: var(--efc-body); line-height: 1.7; }

/* ============================================================
   CONTACTO
   ============================================================ */
.efc-contact { display: grid; gap: 48px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.efc-contact-list { display: grid; gap: 30px; }
.efc-contact-item { display: flex; align-items: flex-start; gap: 18px; }
.efc-contact-icon {
  background: #fff; padding: 16px; border-radius: 18px;
  box-shadow: var(--efc-shadow-soft); line-height: 0;
}
.efc-contact-icon svg { width: 24px; height: 24px; color: var(--efc-accent); }
.efc-contact-item h4 { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.efc-contact-item p { margin: 0; color: var(--efc-body); }

.efc-form { padding: 32px; border-radius: var(--efc-radius-lg); display: grid; gap: 22px; }
.efc-field label { display: block; font-size: 14px; color: #4B5563; font-weight: 500; margin-bottom: 8px; }
.efc-field input, .efc-field textarea, .efc-field select {
  width: 100%; padding: 13px 16px;
  background: #F3F4F6; border: 1px solid transparent; border-radius: 12px;
  font-family: inherit; font-size: 15px; color: var(--efc-ink);
  transition: all .25s ease;
}
.efc-field textarea { resize: vertical; min-height: 110px; }
.efc-field input:focus, .efc-field textarea:focus, .efc-field select:focus {
  outline: none; border-color: var(--efc-accent); background: #fff;
}
.efc-form-msg { font-size: 14px; margin: 0; }
.efc-form-msg.is-ok { color: var(--efc-accent); }
.efc-form-msg.is-err { color: #EF4444; }
@media (max-width: 900px) { .efc-contact { grid-template-columns: 1fr; } }

/* ============================================================
   TIMELINE (página Historia)
   ============================================================ */
.efc-timeline { position: relative; max-width: 940px; margin: 0 auto; }
.efc-timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--efc-border); transform: translateX(-50%);
}
.efc-timeline-item {
  position: relative; width: 50%; padding: 0 48px 56px 0;
  text-align: right;
}
.efc-timeline-item:nth-child(even) {
  margin-left: 50%; padding: 0 0 56px 48px; text-align: left;
}
.efc-timeline-item::after {
  content: ""; position: absolute; top: 8px; right: -9px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--efc-accent); border: 4px solid var(--efc-soft);
}
.efc-timeline-item:nth-child(even)::after { right: auto; left: -9px; }
.efc-timeline-year {
  font-family: var(--efc-font-display);
  font-size: 30px; font-weight: 700; color: var(--efc-primary); margin: 0 0 6px;
}
.efc-timeline-item h4 { font-size: 20px; font-weight: 700; margin: 0 0 8px; }
.efc-timeline-item p { color: var(--efc-body); margin: 0; line-height: 1.7; }
@media (max-width: 780px) {
  .efc-timeline::before { left: 8px; }
  .efc-timeline-item,
  .efc-timeline-item:nth-child(even) {
    width: 100%; margin-left: 0; padding: 0 0 44px 40px; text-align: left;
  }
  .efc-timeline-item::after,
  .efc-timeline-item:nth-child(even)::after { left: 0; right: auto; }
}

/* Valores */
.efc-values { display: grid; gap: 22px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.efc-value {
  border-radius: var(--efc-radius-lg); padding: 30px 20px; text-align: center;
  transition: transform .3s ease;
}
.efc-value:hover { transform: translateY(-8px); }
.efc-value svg { width: 40px; height: 40px; color: var(--efc-accent); margin: 0 auto 16px; }
.efc-value h3 { font-size: 18px; font-weight: 700; margin: 0; }
@media (max-width: 980px) { .efc-values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .efc-values { grid-template-columns: 1fr; } }

/* ============================================================
   BENEFICIOS (Socios / Patrocinadores)
   ============================================================ */
.efc-benefits { display: grid; gap: 26px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.efc-benefit {
  border-radius: var(--efc-radius-lg); padding: 32px 26px;
  transition: transform .3s ease;
}
.efc-benefit:hover { transform: translateY(-8px); }
.efc-benefit-icon {
  width: 56px; height: 56px; border-radius: 18px;
  background: rgba(55, 149, 68, .12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.efc-benefit-icon svg { width: 26px; height: 26px; color: var(--efc-accent); }
.efc-benefit h3 { font-size: 19px; font-weight: 700; margin: 0 0 10px; }
.efc-benefit p { color: var(--efc-body); margin: 0; line-height: 1.65; font-size: 15px; }
@media (max-width: 1000px) { .efc-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .efc-benefits { grid-template-columns: 1fr; } }

/* ============================================================
   PLANES
   ============================================================ */
.efc-plans { display: grid; gap: 30px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.efc-plan {
  position: relative;
  border-radius: var(--efc-radius-lg);
  padding: 38px 30px;
  display: flex; flex-direction: column;
  border: 1px solid var(--efc-border);
  background: #fff;
}
.efc-plan--featured {
  background: var(--efc-primary); color: #fff; border-color: var(--efc-primary);
  box-shadow: 0 30px 60px -30px rgba(22, 60, 27, .7);
  transform: scale(1.03);
}
.efc-plan-flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--efc-accent); color: #fff;
  padding: 7px 22px; border-radius: 999px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  white-space: nowrap;
}
.efc-plan-tier {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  color: var(--efc-accent);
}
.efc-plan h3 { font-size: 26px; font-weight: 700; margin: 10px 0 8px; font-family: var(--efc-font-display); }
.efc-plan-desc { color: var(--efc-body); font-size: 15px; margin: 0 0 24px; line-height: 1.6; }
.efc-plan--featured .efc-plan-desc { color: #D1FADF; }
.efc-plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 26px; }
.efc-plan-price b { font-size: 44px; font-weight: 800; line-height: 1; }
.efc-plan-price span { color: var(--efc-body); font-size: 15px; }
.efc-plan--featured .efc-plan-price span { color: #A7F3D0; }
.efc-plan-features { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 13px; }
.efc-plan-features li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; line-height: 1.55; }
.efc-plan-features svg { width: 19px; height: 19px; flex: 0 0 19px; color: var(--efc-accent); margin-top: 2px; }
.efc-plan-features li { color: #374151; }
.efc-plan--featured .efc-plan-features li { color: #E5F6E8; }
.efc-plan .efc-btn { margin-top: auto; }
@media (max-width: 1000px) {
  .efc-plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .efc-plan--featured { transform: none; }
}

/* Pasos */
.efc-steps { display: grid; gap: 30px; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1000px; margin: 0 auto; }
.efc-step { text-align: center; padding: 34px 24px; border-radius: var(--efc-radius-lg); }
.efc-step-num {
  width: 60px; height: 60px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--efc-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700;
}
.efc-step-num svg { width: 26px; height: 26px; }
.efc-step h3 { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.efc-step p { color: var(--efc-body); margin: 0; line-height: 1.65; }
@media (max-width: 860px) { .efc-steps { grid-template-columns: 1fr; } }

/* Testimonio */
.efc-quote {
  max-width: 820px; margin: 0 auto; text-align: center;
  padding: 48px 40px; border-radius: var(--efc-radius-lg);
}
.efc-quote > svg { width: 44px; height: 44px; color: var(--efc-accent); margin: 0 auto 24px; }
.efc-quote-text { font-size: 20px; line-height: 1.7; color: #374151; font-style: italic; margin: 0 0 30px; }
.efc-quote-author { display: flex; align-items: center; justify-content: center; gap: 16px; }
.efc-quote-author img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.efc-quote-author h4 { margin: 0; font-size: 17px; font-weight: 700; }
.efc-quote-author p { margin: 0; font-size: 14px; color: var(--efc-body); }

/* Datos de contacto comercial */
.efc-inline-info { display: grid; gap: 18px; margin: 30px 0 0; }
.efc-inline-info div { display: flex; align-items: center; gap: 12px; color: #374151; }
.efc-inline-info svg { width: 20px; height: 20px; color: var(--efc-accent); flex: 0 0 20px; }
.efc-inline-info a { color: var(--efc-accent); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.efc-footer { background: var(--efc-primary); color: #fff; padding: 72px 0 0; }
.efc-footer-grid {
  display: grid; gap: 48px;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  padding-bottom: 48px;
}
.efc-footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.efc-footer-brand svg { width: 32px; height: 32px; color: var(--efc-accent); }
.efc-footer-brand img { max-height: 44px; width: auto; }
.efc-footer-brand span { font-family: var(--efc-font-display); font-size: 20px; font-weight: 700; }
.efc-footer-about { color: #D1FADF; font-size: 14.5px; line-height: 1.75; margin: 0; }
.efc-footer h4 {
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  margin: 0 0 18px; color: #fff;
}
.efc-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.efc-footer ul a { color: #D1FADF; font-size: 14.5px; transition: color .25s ease; }
.efc-footer ul a:hover { color: var(--efc-accent); }
.efc-footer-social { display: flex; gap: 12px; }
.efc-footer-social a {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease;
}
.efc-footer-social a:hover { background: var(--efc-accent); }
.efc-footer-social svg { width: 19px; height: 19px; color: #fff; }
.efc-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 28px 0;
  text-align: center; font-size: 14px; color: rgba(209, 250, 223, .6);
}
@media (max-width: 900px) { .efc-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .efc-footer-grid { grid-template-columns: 1fr; gap: 34px; } }

/* ============================================================
   CONTENIDO DE PÁGINA (the_content dentro de plantillas club)
   ============================================================ */
.efc-prose { color: #374151; font-size: 17px; line-height: 1.8; }
.efc-prose h2 { font-family: var(--efc-font-display); font-size: 2rem; margin: 44px 0 16px; color: var(--efc-ink); }
.efc-prose h3 { font-size: 1.4rem; margin: 34px 0 12px; color: var(--efc-ink); }
.efc-prose p { margin: 0 0 20px; }
.efc-prose ul, .efc-prose ol { margin: 0 0 20px; padding-left: 22px; }
.efc-prose li { margin-bottom: 8px; }
.efc-prose a { color: var(--efc-accent); font-weight: 600; }
.efc-prose img { border-radius: var(--efc-radius); margin: 24px 0; }
.efc-prose blockquote {
  border-left: 4px solid var(--efc-accent);
  padding: 4px 0 4px 22px; margin: 28px 0; color: var(--efc-body); font-style: italic;
}

/* ============================================================
   PÁGINAS SIN HERO (blog, entradas, páginas genéricas, tienda)
   La nav del club es fija y transparente: aquí se vuelve sólida
   y se compensa la altura para que el contenido no quede debajo.
   ============================================================ */
body.efc-flat { padding-top: 88px; }
body.efc-flat .efc-nav {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  color: var(--efc-ink);
  padding: 16px 0;
}
body.efc-flat .efc-nav-name { color: var(--efc-ink); }
body.efc-flat .efc-nav-links a { color: #374151; }
body.efc-flat .efc-nav-links a:hover { color: var(--efc-accent); }

/* Compatibilidad: componentes heredados del tema dentro del modo club */
.efc-mode .nx-nav, .efc-mode .nx-drawer, .efc-mode .nx-drawer-overlay { display: none !important; }
.efc-mode .nx-footer { display: none !important; }

/* ─── Compatibilidad con la barra de administración de WordPress ───
   .efc-nav es position:fixed; sin este ajuste queda oculta debajo de
   #wpadminbar cuando hay sesión iniciada. */
.admin-bar .efc-nav { top: 32px; }

@media screen and (max-width: 782px) {
  .admin-bar .efc-nav { top: 46px; }
}

/* ─── Botón flotante de WhatsApp ─── */
.efc-wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 10px 26px -8px rgba(37, 211, 102, .7);
  transition: transform .2s ease;
}
.efc-wa-fab:hover { transform: scale(1.06); }
.efc-wa-fab svg { width: 28px; height: 28px; }
