/* ==========================================
   VARIABLES Y FUNDAMENTOS
   ========================================== */
:root {
  /* Colores principales - Paleta profesional refinada */
  --blue: #2563eb;
  --blue-dark: #1e40af;
  --blue-light: #3b82f6;
  --green: #10b981;
  --green-dark: #059669;
  --green-light: #34d399;
  --yellow: #fbbf24;
  --yellow-dark: #f59e0b;
  
  /* Paleta de grises premium */
  --bg: #fafbfc;
  --bg2: #f1f5f9;
  --card: #ffffff;
  --text: #0f172a;
  --text-soft: #1e293b;
  --muted: #475569;
  --muted-light: #64748b;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.12);

  /* Espaciado y formas */
  --radius: 12px;
  --radius-lg: 16px;
  --radius-sm: 8px;
  --max: 1280px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);

  /* Tipografía */
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Inter', "Segoe UI", Roboto, system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

/* ==========================================
   BASE Y BODY
   ========================================== */
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 920px) {
  .container {
    padding: 0 24px;
  }
}

/* ==========================================
   HEADER Y NAVEGACIÓN
   ========================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  font-family: var(--font-display);
  color: var(--text);
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Navegación */
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.nav a:hover {
  background: rgba(61, 101, 174, 0.10);
  color: var(--text);
  transform: translateY(-1px);
}

.nav a.active {
  color: var(--text);
  background: rgba(61, 101, 174, 0.08);
  border: 1px solid rgba(61, 101, 174, 0.22);
  font-weight: 700;
}

.nav-cta {
  background: linear-gradient(135deg, var(--green), var(--green-dark)) !important;
  border: none !important;
  color: white !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2), 0 2px 4px -1px rgba(16, 185, 129, 0.1);
  padding: 11px 18px !important;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--green-light), var(--green)) !important;
  box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.25), 0 4px 6px -2px rgba(16, 185, 129, 0.15);
  transform: translateY(-1px);
}

.free-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 234, 100, 0.45);
  padding: 2px 6px;
  border-radius: 4px;
  color: #6b5a00;
  margin-left: 2px;
}

@media (max-width: 920px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .nav a {
    text-align: center;
  }
}

/* ==========================================
   HERO SECTIONS
   ========================================== */
.hero {
  padding: 48px 0 24px;
}

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

.hero h2 {
  margin: 0 0 20px;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.1;
}

.tagline {
  margin: 20px 0 24px;
  max-width: 68ch;
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 400;
}

.meta {
  margin: 14px 0 0;
  font-size: 0.95rem;
  color: var(--muted-light);
  font-weight: 500;
}

.readable {
  max-width: 70ch;
}

.hero-center .readable {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 920px) {
  .hero h2 {
    font-size: 2rem;
  }
  .tagline {
    font-size: 1.05rem;
  }
}

/* ==========================================
   TÍTULOS Y TIPOGRAFÍA
   ========================================== */
h2 {
  margin: 56px 0 20px;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.25;
}

h3 {
  margin: 12px 0 14px;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  line-height: 1.3;
}

h4 {
  margin: 16px 0 10px;
  font-size: 1.08rem;
  font-weight: 750;
  color: var(--text-soft);
}

p {
  line-height: 1.7;
}

strong {
  font-weight: 700;
  color: var(--text-soft);
}

/* ==========================================
   GRID Y CARDS
   ========================================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

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

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

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

.card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 0;
}

.card h3::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--blue);
  flex: 0 0 auto;
  box-shadow: 0 0 0 4px rgba(61, 101, 174, 0.15);
}

.card:nth-child(2) h3::before {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(86, 180, 140, 0.15);
}

.card:nth-child(3) h3::before {
  background: var(--yellow-dark);
  box-shadow: 0 0 0 4px rgba(255, 234, 100, 0.20);
}

.card ul {
  margin: 14px 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.75;
}

.card ul li {
  margin-bottom: 8px;
}

.card .meta {
  color: var(--muted-light);
}

/* ==========================================
   BOTONES Y CTAs
   ========================================== */
.cta {
  display: inline-block;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.2), 
              0 4px 6px -2px rgba(16, 185, 129, 0.15);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.cta:hover::before {
  left: 100%;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.25),
              0 10px 10px -5px rgba(16, 185, 129, 0.15);
}

.cta:active {
  transform: translateY(-1px);
}

.cta-final {
  margin: 48px 0 64px;
  text-align: center;
}

.cta-final h3 {
  font-size: 1.65rem;
  margin-bottom: 14px;
}

.center {
  text-align: center;
}

/* ==========================================
   SERVICIOS SIMPLES
   ========================================== */
.services-simple {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin: 28px 0 18px;
}

@media (min-width: 920px) {
  .services-simple {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.service-simple {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-simple::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  transition: all 0.3s ease;
}

.service-sport::before {
  background: linear-gradient(90deg, rgba(61, 101, 174, 0.65), rgba(61, 101, 174, 0.85));
}

.service-health::before {
  background: linear-gradient(90deg, rgba(86, 180, 140, 0.65), rgba(86, 180, 140, 0.85));
}

.service-teams::before {
  background: linear-gradient(90deg, rgba(255, 234, 100, 0.80), rgba(240, 219, 85, 0.85));
}

.service-simple:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

.service-simple:hover::before {
  height: 8px;
}

.service-sport {
  background: linear-gradient(180deg, rgba(61, 101, 174, 0.04), rgba(255, 255, 255, 0.94) 35%);
}

.service-health {
  background: linear-gradient(180deg, rgba(86, 180, 140, 0.04), rgba(255, 255, 255, 0.94) 35%);
}

.service-teams {
  background: linear-gradient(180deg, rgba(255, 234, 100, 0.08), rgba(255, 255, 255, 0.94) 35%);
}

.service-simple h3 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  font-weight: 850;
}

.service-for {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
  font-weight: 450;
}

.service-cta {
  margin-top: 22px;
}

/* ==========================================
   TILES (ACORDEONES)
   ========================================== */
.tile {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border-left: 5px solid transparent;
}

.tile:nth-of-type(1) {
  border-left-color: rgba(61, 101, 174, 0.60);
}

.tile:nth-of-type(2) {
  border-left-color: rgba(86, 180, 140, 0.60);
}

.tile:nth-of-type(3) {
  border-left-color: rgba(255, 234, 100, 0.75);
}

.tile summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  display: grid;
  gap: 8px;
  position: relative;
  transition: background 0.2s ease;
}

.tile summary::-webkit-details-marker {
  display: none;
}

.tile summary::after {
  content: "▾";
  position: absolute;
  right: 22px;
  top: 20px;
  color: var(--muted);
  font-size: 1.1rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tile[open] summary::after {
  transform: rotate(180deg);
}

.tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.tile[open] {
  box-shadow: var(--shadow-lg);
}

.tile[open] summary {
  background: linear-gradient(
    90deg,
    rgba(61, 101, 174, 0.04),
    rgba(86, 180, 140, 0.03),
    transparent 75%
  );
}

.tile-title {
  font-weight: 850;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.tile-hint {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.tile-body {
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.75;
}

.tile-body ul {
  margin: 0;
  padding-left: 22px;
}

.tile-body ul li {
  margin-bottom: 10px;
}

.tile + .tile {
  margin-top: 14px;
}

/* ==========================================
   TIMELINE ACCORDION (CÓMO TRABAJO)
   ========================================== */
.timeline-accordion {
  margin: 22px auto 0;
  max-width: 800px;
  display: grid;
  gap: 14px;
}

.tbtn {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 5px solid transparent;
}

.tbtn:nth-child(1) {
  border-left-color: rgba(61, 101, 174, 0.50);
}

.tbtn:nth-child(2) {
  border-left-color: rgba(86, 180, 140, 0.50);
}

.tbtn:nth-child(3) {
  border-left-color: rgba(61, 101, 174, 0.30);
}

.tbtn:nth-child(4) {
  border-left-color: rgba(86, 180, 140, 0.30);
}

.tbtn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.tbtn summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.2s ease;
}

.tbtn summary::-webkit-details-marker {
  display: none;
}

.tbtn-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tbtn-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.98);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--blue);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.tbtn:nth-child(2) .tbtn-icon {
  color: var(--green);
}

.tbtn:nth-child(3) .tbtn-icon {
  color: rgba(61, 101, 174, 0.85);
}

.tbtn:nth-child(4) .tbtn-icon {
  color: rgba(86, 180, 140, 0.85);
}

.tbtn:hover .tbtn-icon {
  transform: scale(1.08);
  box-shadow: var(--shadow);
}

.tbtn-icon svg {
  width: 24px;
  height: 24px;
}

.tbtn-title {
  font-size: 1.2rem;
  font-weight: 850;
  letter-spacing: -0.01em;
  color: var(--text);
}

.tbtn-caret {
  color: var(--muted);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.15rem;
  line-height: 1;
}

.tbtn[open] .tbtn-caret {
  transform: rotate(180deg);
}

.tbtn-body {
  padding: 0 24px 24px 86px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 680px;
}

.tbtn[open] summary {
  background: linear-gradient(
    90deg,
    rgba(61, 101, 174, 0.04),
    rgba(86, 180, 140, 0.03),
    transparent 75%
  );
}

@media (max-width: 920px) {
  .tbtn-body {
    padding-left: 24px;
  }
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  margin-top: 80px;
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(10px);
}

.footer p {
  margin: 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 500;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* ==========================================
   ANIMACIONES Y REVEALS
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   ACCESIBILIDAD Y RESPONSIVE
   ========================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus states para accesibilidad */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* Mejora de legibilidad en pantallas pequeñas */
@media (max-width: 600px) {
  body {
    font-size: 15px;
  }
  
  .hero h2 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .service-simple {
    min-height: auto;
    padding: 24px 20px;
  }
}

/* ==========================================
   UTILIDADES
   ========================================== */
.text-center {
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* ==========================================
   RESERVA (calendly tabs)
   ========================================== */
.reserve-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 20px 0 64px;
}

@media (min-width: 920px) {
  .reserve-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.cal-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0 16px;
}

.cal-tab {
  border: 1.5px solid var(--line);
  background: rgba(255, 255, 255, 0.90);
  color: var(--text);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 750;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.cal-tab:hover {
  transform: translateY(-2px);
  background: rgba(86, 180, 140, 0.08);
  border-color: rgba(86, 180, 140, 0.25);
}

.cal-tab.active {
  background: rgba(86, 180, 140, 0.18);
  border-color: rgba(86, 180, 140, 0.38);
  box-shadow: 0 4px 12px rgba(86, 180, 140, 0.16);
}

.cal-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  min-height: 700px;
  box-shadow: var(--shadow-sm);
}

/* ==========================================
   ELEMENTOS PROFESIONALES ADICIONALES
   ========================================== */

/* Badge profesional */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
}

.badge-blue {
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue);
}

.badge-green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
}

.badge-yellow {
  background: rgba(251, 191, 36, 0.15);
  color: var(--yellow-dark);
}

/* Línea divisoria elegante */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  margin: 48px 0;
}

/* Sección con fondo */
.section-bg {
  background: linear-gradient(180deg, transparent, var(--bg2) 20%, var(--bg2) 80%, transparent);
  padding: 80px 0;
  margin: 60px 0;
}

/* Quote/Testimonial profesional */
.quote-professional {
  padding: 32px;
  background: var(--card);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-soft);
  font-style: italic;
  margin: 32px 0;
}

.quote-professional cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Stats mejorados */
.stat-item {
  text-align: center;
  padding: 24px;
}

.stat-value {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--muted);
  font-weight: 500;
}

/* Lista con iconos profesionales */
.list-professional {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.list-professional li {
  padding-left: 32px;
  margin-bottom: 12px;
  position: relative;
  line-height: 1.75;
}

.list-professional li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Alert boxes profesionales */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  margin: 24px 0;
  border-left: 4px solid;
}

.alert-info {
  background: rgba(37, 99, 235, 0.05);
  border-color: var(--blue);
  color: var(--text-soft);
}

.alert-success {
  background: rgba(16, 185, 129, 0.05);
  border-color: var(--green);
  color: var(--text-soft);
}

.alert-warning {
  background: rgba(251, 191, 36, 0.05);
  border-color: var(--yellow);
  color: var(--text-soft);
}

/* Panel con borde destacado */
.panel-highlight {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(16, 185, 129, 0.03));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 32px 0;
  position: relative;
}

.panel-highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Textos destacados */
.text-emphasis {
  color: var(--blue);
  font-weight: 600;
}

.text-large {
  font-size: 1.125rem;
  line-height: 1.75;
}

/* Espaciado consistente */
.section-space {
  padding: 64px 0;
}

.section-space-lg {
  padding: 96px 0;
}
.skip-link{
  position:absolute; left:-999px; top:10px;
  background:#fff; padding:10px 14px; border:1px solid var(--line-strong);
  border-radius:10px; z-index:9999;
}
.skip-link:focus{ left:10px; }
/* =========================
   Helpers / limpieza index
   ========================= */

.section-title{
  text-align:center;
  margin-bottom:40px;
}

/* Hero */
.hero-inner{
  max-width:900px;
  margin:0 auto;
  text-align:center;
}

.hero-badge{
  display:inline-block;
  margin-bottom:20px;
}

.hero-title{
  margin-top:12px;
}

.hero-actions{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin-top:32px;
  justify-content:center;
}

.btn-outline{
  display:inline-block;
  padding:16px 32px;
  border-radius:8px;
  border:2px solid var(--line-strong);
  color:var(--text);
  text-decoration:none;
  font-weight:600;
  transition:all 0.2s ease;
}

.btn-outline:hover{
  transform:translateY(-1px);
}

/* Lists (quitar estilos inline) */
.list-unstyled{
  list-style:none;
  padding-left:0;
  margin:0;
}

/* CTA final pequeños ajustes */
.cta-spaced{
  margin-top:24px;
}

.fineprint{
  margin-top:32px;
  font-size:0.875rem;
}

/* Footer links sin inline */
.footer-links{
  margin-top:8px;
  font-size:0.85rem;
}

.footer-links a{
  color:var(--muted);
  text-decoration:none;
}
/* =========================
   Tarifas / pricing
   ========================= */
.pricing-note{
  max-width: 900px;
  margin: 18px auto 34px;
  padding: 18px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(0,0,0,0.02);
  text-align: center;
}

.pricing-title{
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.pricing-text{
  margin: 0;
  line-height: 1.5;
}

.pricing-sub{
  color: var(--muted);
  font-size: 0.95rem;
}
/* =========================
   Cookie banner
   ========================= */
.cookie-banner{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: none;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
}

.cookie-text{
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.35;
}

.cookie-link{
  color: var(--text);
  text-decoration: underline;
}

.cookie-actions{
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn{
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--text);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.cookie-btn-secondary{
  background: #fff;
  color: var(--text);
}

@media (max-width: 720px){
  .cookie-banner{
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-actions{
    justify-content: flex-end;
  }
}
/* =========================
   Header: no sticky en móvil
   ========================= */
@media (max-width: 720px){
  .header{
    position: static !important;
    top: auto !important;
  }

  /* Si tu layout tenía padding-top por header fijo, lo anulamos */
  body{
    padding-top: 0 !important;
  }
}
/* =========================
   Landing SEO (psicóloga deportiva)
   ========================= */

/* Hero */
.landing-hero-title{
  margin-top: 14px;
  letter-spacing: -0.02em;
}

.landing-hero-meta{
  margin-top: 18px;
}

.landing-actions{
  margin-top: 18px;
}

/* Notas centradas bajo secciones */
.landing-note{
  margin-top: 18px;
  text-align: center;
}

/* Mejora de legibilidad general dentro de landing */
.hero.hero-center .tagline{
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

/* Tiles (details) - mejor tacto en móvil */
.tile summary{
  gap: 10px;
}

.tile{
  border-radius: 16px;
}

.tile-body .meta{
  line-height: 1.5;
}

/* FAQ accordion: un poco más compacto en móvil */
@media (max-width: 720px){
  .hero.hero-center{
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .landing-hero-title{
    font-size: 1.55rem; /* ajusta si tu h2 ya tiene tamaño global */
  }

  .hero-actions{
    gap: 12px;
  }

  .btn-outline,
  .cta{
    width: 100%;
    text-align: center;
  }
}

/* Separadores un pelín más suaves (si quieres) */
.divider{
  opacity: 0.9;
}
/* =========================
   Brand name (reemplaza .brand h1)
   ========================= */
.brand-name{
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  font-family: var(--font-display);
  color: var(--text);
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* =========================
   Hero H1 (cuando el título es h1.hero-title)
   ========================= */
.hero-title{
  margin: 0 0 20px;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.1;
  text-align: center;
}

@media (max-width: 920px){
  .hero-title{ font-size: 2rem; }
}
/* Centrar textos "readable" dentro de secciones centradas */
.center .readable{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
/* =========================
   Landing "Ayuda" (cards)
   ========================= */
.landing-help-grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.help-card{
  grid-column: span 6;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.25s cubic-bezier(0.4,0,0.2,1),
              border-color 0.25s ease;
}

/* Franja superior sutil */
.help-card::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:4px;
  background: linear-gradient(90deg, rgba(37,99,235,0.65), rgba(16,185,129,0.65));
  opacity: 0.9;
}

/* Hover */
.help-card:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

.help-head{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-top: 6px;
}

.help-icon{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.15);
  box-shadow: 0 1px 2px rgba(15,23,42,0.06);
  font-size: 1.1rem;
  flex: 0 0 auto;
}

.help-title{
  margin: 0;
  font-size: 1.15rem;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.help-sub{
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.help-list{
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  color: var(--muted);
}

.help-list li{
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  line-height: 1.65;
}

.help-list li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(16,185,129,0.95);
  color: white;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
}

/* Layout responsive */
@media (max-width: 920px){
  .help-card{ grid-column: span 12; }
}

/* Afinar en móvil */
@media (max-width: 600px){
  .help-card{ padding: 18px 18px; }
  .help-title{ font-size: 1.05rem; }
  .help-icon{ width: 40px; height: 40px; }
}
/* =========================
   Frases de cierre / notas centradas (landing)
   ========================= */
.landing-note{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.landing-note{
  max-width: 65ch;
}
/* ==========================================
   BLOG (artículos)
   Pegar al final de styles.css
   ========================================== */

.blog-breadcrumb{
  padding: 18px 0 0;
}

.blog-breadcrumb .container{
  font-size: 0.92rem;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.blog-breadcrumb a{
  color: var(--muted);
  text-decoration: none;
}

.blog-breadcrumb a:hover{
  color: var(--text);
  text-decoration: underline;
}

.blog-article{
  padding: 24px 0 80px;
}

.blog-header{
  text-align: center;
  padding-top: 18px;
}

.blog-meta{
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 10px 0 18px;
  font-size: 0.92rem;
  color: var(--muted);
}

.blog-meta-item{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
}

.blog-title{
  margin: 0 auto 14px;
  max-width: 24ch;
  font-size: 2.45rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

.blog-intro{
  margin: 0 auto 18px;
  max-width: 70ch;
  font-size: 1.18rem;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 500;
}

.blog-top-cta{
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 18px;
}

.blog-hero{
  margin: 18px auto 0;
  max-width: 980px;
}

.blog-hero-image{
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.image-credit{
  margin: 10px 0 0;
  text-align: center;
  color: var(--muted-light);
  font-size: 0.86rem;
}

.image-credit a{
  color: var(--muted-light);
  text-decoration: none;
}

.image-credit a:hover{
  color: var(--text);
  text-decoration: underline;
}

.blog-content{
  margin-top: 26px;
  max-width: 980px;
}

.blog-section{
  margin-top: 26px;
}

.blog-h2{
  margin: 44px 0 16px;
  font-size: 1.75rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.blog-h3{
  margin: 24px 0 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-soft);
}

.blog-list{
  margin: 14px 0 18px;
  padding-left: 0;
  list-style: none;
  color: var(--muted);
}

.blog-list li{
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  line-height: 1.7;
}

.blog-list li::before{
  content: "•";
  position: absolute;
  left: 10px;
  color: var(--green);
  font-weight: 900;
  font-size: 1.2rem;
}

.blog-mini-note{
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Bloque “¿Te suena?” */
.blog-patterns{
  margin: 36px 0 14px;
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(37,99,235,0.04), rgba(16,185,129,0.04));
  box-shadow: var(--shadow-sm);
}

.blog-checklist{
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  color: var(--muted);
}

.blog-checklist li{
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  line-height: 1.7;
}

.blog-checklist li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(16,185,129,0.95);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 900;
}

/* Ejemplo */
.blog-example{
  margin: 18px 0 0;
  padding: 18px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.85);
  box-shadow: var(--shadow-sm);
}

.blog-example p{
  margin: 10px 0;
  color: var(--muted);
}

/* Quote */
.blog-quote{
  margin: 28px 0;
  padding: 24px 24px;
  background: var(--card);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  color: var(--text-soft);
  font-style: italic;
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.7;
}

/* CTA */
.blog-cta{
  margin: 46px 0 22px;
  padding: 28px 24px;
  background: linear-gradient(135deg, rgba(16,185,129,0.06), rgba(37,99,235,0.06));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
}

.blog-cta-actions{
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.blog-trust{
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Related links */
.blog-related{
  margin-top: 34px;
  padding-top: 6px;
}

.blog-related-links{
  margin: 14px 0 0;
  padding-left: 0;
  list-style: none;
}

.blog-related-links li{
  margin-bottom: 10px;
}

.blog-related-links a{
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(15,23,42,0.18);
}

.blog-related-links a:hover{
  border-bottom-color: rgba(15,23,42,0.55);
}

/* Footer blog */
.blog-footer{
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.blog-author-name{
  margin: 0;
  font-weight: 850;
  color: var(--text);
}

.blog-author-title{
  margin: 8px 0 0;
  color: var(--muted);
}

.blog-tags{
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.blog-tag{
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: rgba(37,99,235,0.08);
  color: var(--blue);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 920px){
  .blog-title{ font-size: 1.85rem; max-width: 34ch; }
  .blog-intro{ font-size: 1.05rem; }
  .blog-content{ margin-top: 18px; }
}

@media (max-width: 720px){
  .blog-top-cta .cta,
  .blog-top-cta .btn-outline,
  .blog-cta-actions .cta,
  .blog-cta-actions .btn-outline{
    width: 100%;
    text-align: center;
  }

  .blog-meta-item{
    width: 100%;
    justify-content: center;
  }
}
/* ===========================
   BLOG POPUP (MODAL)
   =========================== */
.blog-modal[aria-hidden="true"] { display: none; }
.blog-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 18px;
}

.blog-modal__overlay{
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
}

.blog-modal__dialog{
  position: relative;
  width: min(520px, 92vw);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 26px 24px 22px;
  overflow: hidden;
  transform: translateY(10px);
  opacity: 0;
  animation: blogModalIn .22s ease forwards;
}

@keyframes blogModalIn {
  to { transform: translateY(0); opacity: 1; }
}

.blog-modal__dialog::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:4px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.blog-modal__close{
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.92);
  border-radius: 999px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  font-weight: 800;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}
.blog-modal__close:hover{ color: var(--text); transform: translateY(-1px); }

.blog-modal__badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 0.78rem;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--green-dark);
  margin-bottom: 12px;
}

.blog-modal__title{
  margin: 0 0 8px;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
}

.blog-modal__text{
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.blog-modal__actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.blog-modal__cta{
  padding: 14px 22px;
}

.blog-modal__secondary{
  border: 1.5px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 750;
  cursor: pointer;
}
.blog-modal__secondary:hover{
  transform: translateY(-1px);
  background: rgba(61, 101, 174, 0.06);
}

.blog-modal__note{
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: var(--muted-light);
}