/* ============================================================
   Neuropsicología GDB — Hoja de estilos principal
   Paleta: dorado #DDB40D sobre blanco, tipografía Nunito Sans
   ============================================================ */

:root {
  /* Marca */
  --gold:         #DDB40D;
  --gold-bright:  #FCD307;
  --gold-light:   #FEF0AB;
  --gold-dark:    #A88D05;
  --gold-darkest: #544602;
  --tan:          #B0A986;

  /* Neutros */
  --text:         #1f1e1e;
  --text-heading: #282626;
  --text-muted:   #6d6c6c;
  --bg:           #FFFFFF;
  --bg-warm:      #FAFAF7;
  --bg-section:   #F5F3EE;
  --border:       #E5E2DB;

  /* Tipografía */
  --font-main:   'Nunito Sans', 'Avenir Next', Avenir, system-ui, sans-serif;
  --font-accent: 'Dancing Script', cursive;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 14px;
  --shadow-soft: 0 8px 30px rgba(0,0,0,0.07);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 1.5rem; }

h1, h2, h3, h4 { color: var(--text-heading); line-height: 1.25; font-weight: 300; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
h1 strong, h2 strong, h3 strong { font-weight: 800; }
p + p { margin-top: 1em; }

.section-label {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-dark);
  margin-bottom: 0.6rem; display: block;
}
.accent-script {
  font-family: var(--font-accent);
  color: var(--gold-dark);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500;
}

section { padding: 4.5rem 0; }
.bg-warm { background: var(--bg-warm); }
.bg-section { background: var(--bg-section); }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--text-muted); margin-top: 0.8rem; }

/* ===== Botones ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.9rem; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem;
  border: none; cursor: pointer;
  transition: all 0.25s var(--ease);
  font-family: var(--font-main);
}
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(221,180,13,0.35); }
.btn-outline { background: transparent; color: var(--text-heading); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-dark); }
.btn-light { background: #fff; color: var(--text-heading); }
.btn-light:hover { background: var(--gold-light); }

/* ===== Tarjetas ===== */
.card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.9rem;
  transition: all 0.25s var(--ease);
}
.card:hover { border-color: var(--gold); box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.card h3 { margin-bottom: 0.6rem; font-weight: 700; }
.card p { color: var(--text-muted); font-size: 0.97rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

/* ===== Barra de navegación ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.navbar.scrolled { border-bottom-color: var(--border); box-shadow: 0 2px 18px rgba(0,0,0,0.05); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav-brand { display: flex; align-items: center; gap: 0.7rem; }
.nav-brand img { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .brand-name { font-weight: 800; font-size: 1.02rem; color: var(--text-heading); letter-spacing: 0.01em; }
.brand-text .brand-sub { font-size: 0.72rem; color: var(--gold-dark); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; list-style: none; }
.nav-links a { font-size: 0.93rem; font-weight: 600; color: var(--text); padding: 0.3rem 0; border-bottom: 2px solid transparent; transition: all 0.2s; }
.nav-links a:hover { color: var(--gold-dark); }
.nav-links a.active { color: var(--gold-dark); border-bottom-color: var(--gold); }
.nav-links .nav-cta { background: var(--gold); color: #fff; padding: 0.55rem 1.3rem; border-radius: 50px; border-bottom: none; }
.nav-links .nav-cta:hover { background: var(--gold-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-heading); margin: 5px 0; transition: 0.3s; }

main { padding-top: 74px; }

/* ===== Cabecera de página interior ===== */
.page-hero { background: var(--bg-section); padding: 4rem 0 3.2rem; }
.page-hero h1 { margin-bottom: 0.6rem; }
.page-hero .lead { font-size: 1.12rem; color: var(--text-muted); max-width: 760px; }

/* ===== Hero portada ===== */
.hero { position: relative; padding: 5.5rem 0 5rem; overflow: hidden; background: linear-gradient(160deg, var(--bg-warm) 60%, var(--gold-light) 160%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }
.hero h1 { margin-bottom: 1.1rem; }
.hero .lead { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 1.8rem; max-width: 560px; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.hero-badges { display: flex; gap: 1.6rem; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-badge { display: flex; flex-direction: column; }
.hero-badge strong { font-size: 1.35rem; color: var(--gold-dark); font-weight: 800; }
.hero-badge span { font-size: 0.85rem; color: var(--text-muted); }

/* ===== Iconos ===== */
.icon-circle {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--gold-light); color: var(--gold-darkest);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem; flex-shrink: 0;
}
.icon-circle svg { width: 28px; height: 28px; }

/* ===== Listas con check ===== */
.check-list { list-style: none; margin-top: 0.9rem; }
.check-list li { position: relative; padding-left: 1.7rem; margin-bottom: 0.55rem; color: var(--text); font-size: 0.99rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.45em;
  width: 0.85em; height: 0.45em;
  border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold);
  transform: rotate(-45deg);
}

/* ===== Proceso (evaluación) ===== */
.steps { counter-reset: step; display: grid; gap: 1.4rem; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 1.3rem; align-items: start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; transition: border-color .25s; }
.step:hover { border-color: var(--gold); }
.step-num {
  counter-increment: step;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--gold); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem; font-weight: 800;
}
.step-num::before { content: counter(step); }
.step h3 { font-weight: 700; margin-bottom: 0.35rem; }
.step p { color: var(--text-muted); font-size: 0.97rem; }

/* ===== Precios ===== */
.price-card { text-align: center; display: flex; flex-direction: column; }
.price-card .price { font-size: 2.3rem; font-weight: 800; color: var(--gold-dark); margin: 0.6rem 0 0.2rem; }
.price-card .price small { font-size: 0.95rem; color: var(--text-muted); font-weight: 400; }
.price-card .note { font-size: 0.84rem; color: var(--text-muted); margin-top: auto; padding-top: 0.8rem; }

/* ===== Vídeos ===== */
.filters { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; align-items: end; }
.filter-group { display: flex; flex-direction: column; gap: 0.3rem; }
.filter-group label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.filter-group select {
  font-family: var(--font-main); font-size: 0.95rem; padding: 0.55rem 2.2rem 0.55rem 0.9rem;
  border: 1.5px solid var(--border); border-radius: 10px; background: #fff; color: var(--text);
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A88D05' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.8rem center;
}
.filter-group select:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.video-count { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.video-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.25s var(--ease); display: flex; flex-direction: column; }
.video-card:hover { border-color: var(--gold); box-shadow: var(--shadow-soft); }
.video-thumb { position: relative; aspect-ratio: 16/9; background: #000; cursor: pointer; border: none; padding: 0; display: block; width: 100%; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.video-thumb .play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.video-thumb .play span {
  width: 56px; height: 56px; border-radius: 50%; background: rgba(221,180,13,0.92);
  display: flex; align-items: center; justify-content: center; transition: transform 0.2s;
}
.video-thumb:hover .play span { transform: scale(1.12); }
.video-thumb .play svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.video-thumb .dur { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.8); color: #fff; font-size: 0.78rem; font-weight: 700; padding: 2px 7px; border-radius: 5px; }
.video-card iframe { width: 100%; aspect-ratio: 16/9; border: none; display: block; }
.video-body { padding: 1.1rem 1.2rem 1.3rem; }
.video-body h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 0.4rem; }
.video-body .tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.tag { font-size: 0.74rem; font-weight: 700; background: var(--gold-light); color: var(--gold-darkest); padding: 2px 9px; border-radius: 20px; }
.tag-dif-baja  { background: #E3F2DF; color: #3E6B36; }
.tag-dif-media { background: #FDF3D0; color: #8a6d00; }
.tag-dif-alta  { background: #F6DDDD; color: #8C4A4A; }
.filters { align-items: end; }
.filters .btn { align-self: end; }

/* ===== Chips de navegación ===== */
.chips { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.9rem; font-weight: 700; padding: 0.5rem 1.2rem;
  border-radius: 50px; border: 1.5px solid var(--border); background: #fff;
  transition: all 0.2s var(--ease);
}
.chip:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.chip-alto:hover  { background: #F6DDDD; }
.chip-medio:hover { background: var(--gold-light); }
.chip-bajo:hover  { background: #E9E9E9; }
.chip-nuevo { border-color: var(--gold); background: var(--gold-light); }

.guia-niveles .card { text-align: center; }
.guia-niveles .card p { margin-top: 0.7rem; font-size: 0.92rem; }

/* ===== Vínculo a YouTube en tarjetas ===== */
.yt-link { display: inline-block; margin-top: 0.7rem; font-size: 0.85rem; font-weight: 700; color: var(--gold-dark); }
.yt-link:hover { text-decoration: underline; }

/* ===== Cuadernos lite + Buy Me a Coffee ===== */
.lite-block { background: #fff; border: 2px solid var(--gold); border-radius: var(--radius); padding: 2rem; }
.lite-head { max-width: 760px; margin-bottom: 1.5rem; }
.lite-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.lite-card {
  border: 1px solid var(--border); border-radius: 12px; padding: 1.3rem 1.4rem;
  display: flex; flex-direction: column; gap: 1rem; transition: border-color 0.2s;
}
.lite-card:hover { border-color: var(--gold); }
.lite-card h3 { font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; gap: 0.5rem; }
.lite-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: auto; }
.bmc-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: #FFDD00; color: #1d1c1a; font-weight: 800; font-size: 0.93rem;
  padding: 0.85rem 1.2rem; border-radius: 12px; transition: all 0.2s var(--ease);
}
.bmc-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(255,221,0,0.45); }
.bmc-band { background: var(--gold-light); padding: 3.5rem 0; }
.bmc-band p { max-width: 620px; margin: 0.7rem auto 0; color: var(--text-muted); }

/* ===== Miniatura por defecto del blog ===== */
.thumb-empty { display: flex; align-items: center; justify-content: center; }
.thumb-empty .thumb-logo { width: 34% !important; height: auto !important; object-fit: contain !important; opacity: 0.8; }

/* ===== Cuadernos ===== */
.nivel-header { display: grid; grid-template-columns: 190px 1fr; gap: 2rem; align-items: start; margin-bottom: 1.8rem; }
.nivel-header img { border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.nivel-pill { display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 14px; border-radius: 30px; margin-bottom: 0.7rem; }
.pill-alto  { background: #F6DDDD; color: #8C4A4A; }
.pill-medio { background: var(--gold-light); color: var(--gold-darkest); }
.pill-bajo  { background: #E4E4E4; color: #4F4F4F; }
.descargas { display: grid; grid-template-columns: repeat(auto-fill, minmax(195px, 1fr)); gap: 0.8rem; margin-top: 1rem; }
.descarga {
  display: flex; align-items: center; gap: 0.6rem;
  background: #fff; border: 1.5px solid var(--border); border-radius: 12px;
  padding: 0.75rem 1rem; font-weight: 700; font-size: 0.91rem; color: var(--text-heading);
  transition: all 0.2s var(--ease);
}
.descarga svg { width: 20px; height: 20px; color: var(--gold-dark); flex-shrink: 0; }
.descarga:hover { border-color: var(--gold); background: var(--gold-light); transform: translateY(-2px); }

/* ===== Listas de condiciones (home) ===== */
.cond { color: var(--text); font-size: 0.96rem; line-height: 1.7; }

/* ===== Juegos ===== */
.juegos-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.juego-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem;
  transition: all 0.25s var(--ease);
}
.juego-card:hover { border-color: var(--gold); box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.juego-emoji {
  width: 64px; height: 64px; border-radius: 16px; background: var(--gold-light);
  display: flex; align-items: center; justify-content: center; font-size: 2rem; flex-shrink: 0;
}
.juego-body { flex: 1; }
.juego-body h3 { font-weight: 700; margin-bottom: 0.4rem; }
.juego-body p { color: var(--text-muted); font-size: 0.96rem; }
.juego-body .tags { margin-top: 0.9rem; }
.juego-play { align-self: flex-start; }

.game-panel { border: 2px solid var(--gold); border-radius: var(--radius); overflow: hidden; margin-bottom: 2.2rem; background: #fff; box-shadow: var(--shadow-soft); }
.game-panel-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 0.9rem 1.2rem; background: var(--gold-light); border-bottom: 1px solid var(--gold); }
.game-panel-bar strong { font-family: var(--font-primary-bold); font-size: 1.1rem; color: var(--text-heading); }
.game-panel-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.game-panel-actions .btn { padding: 0.5rem 1rem; font-size: 0.85rem; }
.game-frame-wrap { width: 100%; height: min(86vh, 900px); overflow: auto; }
.game-frame-wrap iframe { width: 100%; height: 100%; min-height: 600px; border: 0; display: block; }

@media (max-width: 720px) {
  .juegos-grid { grid-template-columns: 1fr; }
  .game-frame-wrap { height: 82vh; }
}

/* ===== Blog ===== */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.post-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: all 0.25s var(--ease); }
.post-card:hover { border-color: var(--gold); box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.post-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-section); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card .meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.post-card h3 {
  font-size: 1.08rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.8em; /* reserva 2 líneas para que el texto de todas las tarjetas empiece a la misma altura */
}
.post-card p {
  font-size: 0.92rem; color: var(--text-muted); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card .leer { margin-top: auto; padding-top: 0.9rem; font-weight: 700; font-size: 0.9rem; color: var(--gold-dark); }

/* Artículo */
.article { padding: 3.5rem 0 4.5rem; }
.article-header { margin-bottom: 2.2rem; }
.article-header .meta { color: var(--text-muted); font-size: 0.92rem; margin-top: 0.8rem; }
.article-content h2 { margin: 2rem 0 0.8rem; font-weight: 700; font-size: 1.5rem; }
.article-content h3 { margin: 1.6rem 0 0.6rem; font-weight: 700; }
.article-content p { margin-bottom: 1.1em; }
.article-content ul, .article-content ol { margin: 0 0 1.2em 1.4em; }
.article-content li { margin-bottom: 0.45em; }
.article-content img { border-radius: var(--radius); margin: 1.6rem auto; }
.article-content a { color: var(--gold-dark); font-weight: 600; border-bottom: 1px solid var(--gold); }
.article-content .video-embed { position: relative; width: 100%; aspect-ratio: 16/9; margin: 1.8rem 0 0.4rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); background: #000; }
.article-content .video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article-content .video-caption { text-align: center; font-size: 0.85rem; color: var(--text-muted); margin: 0 0 1.4rem; }
.article-content blockquote { border-left: 3px solid var(--gold); padding-left: 1.2rem; color: var(--text-muted); font-style: italic; margin: 1.4rem 0; }
.article-footer { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* ===== Galería ===== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform 0.25s var(--ease); }
.gallery img:hover { transform: scale(1.03); }

/* ===== Carrusel ===== */
.carousel { position: relative; max-width: 760px; margin: 0 auto; }
.carousel-viewport { overflow: hidden; border-radius: 16px; background: #f0ece2; aspect-ratio: 3/2; box-shadow: 0 6px 24px rgba(0,0,0,0.10); }
.carousel-track { display: flex; height: 100%; transition: transform 0.45s var(--ease); }
.carousel-slide { min-width: 100%; height: 100%; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: none; background: rgba(255,255,255,0.9); color: var(--text-heading); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,0.18); transition: background 0.2s; display: flex; align-items: center; justify-content: center; }
.carousel-btn:hover { background: #fff; }
.carousel-prev { left: 0.7rem; } .carousel-next { right: 0.7rem; }
.carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.1rem; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); border: none; cursor: pointer; padding: 0; transition: background 0.2s; }
.carousel-dot.active { background: var(--gold); }

/* ===== Formulario ===== */
.form-grid { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 0.35rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; font-family: var(--font-main); font-size: 1rem;
  padding: 0.75rem 1rem; border: 1.5px solid var(--border); border-radius: 10px;
  background: #fff; color: var(--text); transition: border-color 0.2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(221,180,13,0.15);
}
.form-note { font-size: 0.82rem; color: var(--text-muted); }
.form-check { display: flex; gap: 0.6rem; align-items: start; font-size: 0.88rem; color: var(--text-muted); }
.form-check input { margin-top: 0.3rem; accent-color: var(--gold); }

/* ===== CTA banda ===== */
.cta-band { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); color: #fff; text-align: center; padding: 4rem 0; }
.cta-band h2 { color: #fff; margin-bottom: 0.7rem; }
.cta-band p { opacity: 0.92; max-width: 600px; margin: 0 auto 1.7rem; }

/* ===== Pie de página ===== */
footer { background: #1d1c1a; color: #c9c7c2; padding: 3.5rem 0 1.8rem; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 2.5rem; }
footer h4 { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 1rem; }
footer ul { list-style: none; }
footer li { margin-bottom: 0.5rem; }
footer a:hover { color: var(--gold-bright); }
.footer-brand img { height: 52px; margin-bottom: 0.9rem; filter: brightness(1.1); }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.footer-social a:hover { background: var(--gold); color: #fff; }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; font-size: 0.83rem; color: #8d8b86; }
.footer-bottom a { color: #b5b3ae; }

/* ===== Utilidades ===== */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.muted { color: var(--text-muted); }
.hidden { display: none !important; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .grid-3, .grid-4, .video-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img { max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .descargas { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 3.2rem 0; }
  .grid-2, .grid-3, .grid-4, .video-grid, .post-grid, .form-row, .descargas, .lite-grid { grid-template-columns: 1fr; }
  .nivel-header { grid-template-columns: 1fr; }
  .nivel-header img { max-width: 220px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .step { grid-template-columns: 48px 1fr; padding: 1.2rem; }
  .step-num { width: 48px; height: 48px; font-size: 1.15rem; }

  .lite-block { padding: 1.3rem; }
  .lite-actions { flex-direction: column; align-items: stretch; }
  .lite-actions .descarga, .lite-actions .bmc-btn { justify-content: center; width: 100%; }

  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 74px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 1rem 1.5rem 1.5rem; gap: 0.2rem;
    border-bottom: 1px solid var(--border); box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transform: translateY(-130%); transition: transform 0.3s var(--ease);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { display: block; padding: 0.7rem 0.3rem; font-size: 1.02rem; border-bottom: 1px solid var(--bg-section); }
  .nav-links .nav-cta { text-align: center; margin-top: 0.8rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1.2rem; }
  footer p, footer li, footer a { overflow-wrap: anywhere; word-break: break-word; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Accesibilidad */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--gold); color: #fff; padding: 0.7rem 1.2rem; border-radius: 0 0 10px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }
