/* ══════════════════════════════════════════════════
   Nature Nirvana · styles.css - FIXED
   Desktop: legible | Tablet: escalable sin excesos
══════════════════════════════════════════════════ */

:root {
  --cream: #faf8f3;
  --cream-2: #f5f0e8;
  --cream-3: #ede8de;
  --white: #ffffff;
  --gold: #9e7e55;
  --gold-light: #c8a87a;
  --gold-pale: #e8d9c4;
  --green: #3d5a3e;
  --green-mid: #5a7a5b;
  --green-light: #8aad8b;
  --green-bg: #eef4ef;
  --text: #2a2a2a;
  --text-mid: #5a5a5a;
  --text-light: #8a8a8a;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Lato", system-ui, sans-serif;
  --max-w: 75rem;
  --gap: clamp(1rem, 4vw, 2rem);
  --r: 0.5rem;
  --r-lg: 1rem;
  --sh: 0 0.125rem 1rem rgba(0, 0, 0, 0.07);
  --sh-lg: 0 0.5rem 2rem rgba(0, 0, 0, 0.12);
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --tap: 2.75rem;
}

/* ── RESET ─────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.8;
  overflow-x: hidden;
  font-size: 1.05rem;
  font-weight: 400;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.nav-panel ul { text-align: center; }
button { border: none; cursor: pointer; font-family: inherit; background: none; -webkit-tap-highlight-color: transparent; }
input, textarea, select { font-family: inherit; -webkit-appearance: none; appearance: none; }
input[type="text"], input[type="email"], textarea { font-size: max(1.05rem, 1em); }

/* ── UTILS ─────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gap);
}
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--green);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.section-desc { 
  color: var(--text-mid); 
  max-width: 58ch; 
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.75;
  font-weight: 400;
}
.section-header { text-align: center; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section-header .section-desc { margin-inline: auto; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(1.375rem);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── SECTION BANNER ─────────────────────── */
.section-banner {
  height: clamp(16rem, 28vw, 26rem);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 3rem;
  box-shadow: var(--sh);
}
.section-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* ── BUTTONS ───────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.6rem;
  border-radius: 6.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  min-height: var(--tap);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 0.125rem 0.625rem rgba(61, 90, 62, 0.2);
}
.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-0.125rem);
  box-shadow: 0 0.3125rem 1.125rem rgba(61, 90, 62, 0.28);
}
.btn-outline {
  background: transparent;
  color: var(--green);
  border: 0.09375rem solid var(--green);
}
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-light { background: #fff; color: var(--green); box-shadow: var(--sh); }
.btn-light:hover { background: var(--cream); transform: translateY(-0.125rem); }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; min-height: 2.25rem; }
.btn-hero {
  background: #fff;
  color: var(--green);
  font-weight: 700;
  box-shadow: 0 0.125rem 0.75rem rgba(0, 0, 0, 0.15);
}
.btn-hero:hover { background: var(--cream-2); transform: translateY(-0.125rem); }
.btn-hero-ghost {
  background: transparent;
  color: #fff;
  border: 0.09375rem solid rgba(255, 255, 255, 0.6);
}
.btn-hero-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.link-btn {
  background: none; border: none; color: var(--gold);
  text-decoration: underline; cursor: pointer;
  font-size: inherit; font-family: inherit; padding: 0;
}

/* ── TOPBAR ────────────────────────── */
.topbar {
  background: #a89968;
  color: #fff;
  font-size: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 0.0625rem solid rgba(0, 0, 0, 0.08);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gap);
  flex-wrap: nowrap;
}
.topbar a { color: #fff; transition: color 0.2s; opacity: 0.9; white-space: nowrap; font-size: 0.8rem; }
.topbar a:hover { opacity: 1; }
.topbar-sep { opacity: 0.4; flex-shrink: 0; }
.topbar-email { display: inline; }
.topbar-social { display: flex; gap: 0.6rem; flex-shrink: 0; }
.topbar-social a {
  display: flex; align-items: center; justify-content: center;
  width: 1.5rem; height: 1.5rem; opacity: 0.85; transition: opacity 0.2s;
}
.topbar-social a:hover { opacity: 1; }

/* ── HEADER (FIXED) ────────────────────────── */
.header {
  position: relative;
  z-index: 200;
  background: #fff;
  border-bottom: 0.0625rem solid rgba(0, 0, 0, 0.08);
  padding-block: 1rem 0.8rem;
}
.header.scrolled { padding-block: 0.6rem; }
.header-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gap);
  position: relative;
  width: 100%;
}
.logo { 
  display: flex; 
  align-items: center; 
  justify-content: center;
  flex: 1;
}
.logoNN { width: clamp(22rem, 75vw, 34rem); max-width: 100%; height: auto; display: block; }

/* ── HEADER STICKY ── */
.header-sticky {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 0.0625rem solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 0.125rem 1.25rem rgba(0, 0, 0, 0.09);
  padding-block: 0.8rem 0.6rem;
  min-height: 3.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, pointer-events 0.3s ease;
}
.header-sticky.show { 
  opacity: 1; 
  pointer-events: all;
}
.header-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gap);
  position: relative;
  width: 100%;
}
.header-sticky .nav-desktop { display: flex; flex-wrap: nowrap; gap: 0; overflow: hidden; }
.header-sticky .nav-desktop .nav-list { display: flex; flex-wrap: nowrap; gap: 0; }
.header-sticky .nav-link { padding: 0.5rem 0.8rem; font-size: 0.85rem; white-space: nowrap; min-height: var(--tap); }
.header-sticky .nav-link::after { display: none; }
.header-sticky .nav-cta { padding: 0.6rem 1.2rem !important; font-size: 0.85rem !important; }
.header-sticky .nav-toggle {
  display: none !important;
  position: absolute;
  right: var(--gap);
  top: 50%;
  transform: translateY(-50%);
  z-index: 500;
  flex-shrink: 0;
}

@media (max-width: 68.75rem) {
  .header-sticky .nav-desktop { display: none !important; }
  .header-sticky .nav-toggle  { display: flex !important; }
}

/* ── NAV DESKTOP ────────────────────────── */
.nav-desktop { display: flex; width: 100%; }
.nav-desktop .nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  width: 100%;
}

@media (max-width: 68.75rem) {
  .header .nav-desktop { display: none; }
  .nav-toggle { display: flex !important; }
}

/* ── NAV MOBILE ─────────────────────── */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 251;
  background: rgba(0, 0, 0, 0.48);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.nav-mobile.open {
  opacity: 1; visibility: visible; pointer-events: all; display: block;
}
.nav-panel {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: #fff;
  box-shadow: 0 0.375rem 1.875rem rgba(0, 0, 0, 0.16);
  padding-top: 2.5rem;
  padding-bottom: 1.5rem;
  transform: translateY(-0.5rem);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.nav-mobile.open .nav-panel { transform: translateY(0); }

/* ── NAV LINKS ────────────────────── */
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  color: var(--text-mid);
  border-radius: 0;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
  min-height: var(--tap);
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--green); background: transparent; }
.nav-link:hover::after, .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 0.1875rem;
  background: var(--gold);
  border-radius: 0.125rem;
}
.nav-link svg { opacity: 0.55; transition: transform 0.2s; }
.has-dropdown:hover .nav-link svg { transform: rotate(180deg); }
.nav-cta {
  background: var(--gold) !important;
  color: #fff !important;
  padding: 0.7rem 1.4rem !important;
  border-radius: 0.25rem;
  font-size: 1rem;
}
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-cta::after { display: none !important; }

/* Dropdown desktop */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  background: #fff;
  border: 0.0625rem solid rgba(0, 0, 0, 0.09);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  min-width: 11.25rem;
  padding: 0.3rem;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-0.375rem);
  transition: opacity 0.18s, transform 0.18s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0);
}
.dropdown li a {
  display: flex; align-items: center;
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  color: var(--text-mid);
  border-radius: 0.25rem;
  transition: background 0.15s, color 0.15s;
  min-height: 2.5rem;
}
.dropdown li a:hover { background: var(--green-bg); color: var(--green); }

/* Hamburguesa */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.3125rem;
  padding: 0.6rem;
  min-width: var(--tap);
  min-height: var(--tap);
  align-items: center;
  justify-content: center;
  border-radius: var(--r);
  -webkit-tap-highlight-color: transparent;
  position: absolute;
  right: var(--gap);
  top: 50%;
  transform: translateY(-50%);
  z-index: 500;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 1.375rem;
  height: 0.125rem;
  background: var(--green);
  border-radius: 0.125rem;
  transition: transform 0.28s, opacity 0.28s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(0.3125rem, 0.3125rem); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(0.3125rem, -0.3125rem); }

/* ── HERO ──────────────────────────── */
.hero {
  position: relative; min-height: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: #fff;
}
.hero-slides-wrap {
  position: relative; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  min-height: clamp(52vh, 78vh, 90vh);
}
.hero-slide { display: none; position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slide.active { display: flex; align-items: center; justify-content: flex-start; }
.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  z-index: 0; width: 100%; height: 100%;
}
.hero-content {
  position: relative;
  max-width: 42.5rem;
  z-index: 3;
  padding: 3rem var(--gap);
  margin-left: auto;
  margin-right: auto;
}
.hero-eyebrow {
  font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85); margin-bottom: 1.2rem;
  text-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.5);
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 400; color: #fff; line-height: 1.15; margin-bottom: 2rem;
  text-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.6);
}
.hero-title em { font-style: italic; color: #fff; text-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.6); }
.hero-btns { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.hero-dots {
  position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.1rem; z-index: 3;
}
.dot {
  width: var(--tap); height: var(--tap); background: transparent;
  display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer;
}
.dot::after {
  content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: rgba(255, 255, 255, 0.5); transition: background 0.3s, transform 0.3s; display: block;
}
.dot.active::after { background: #fff; transform: scale(1.25); }

/* ── ABOUT ─────────────────────────── */
.about { background: var(--cream); }
.about-header { margin-bottom: 2rem; }

.about-banner {
  width: 100%;
  height: clamp(16rem, 42vw, 34rem);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden;
  box-shadow: var(--sh);
}
.about-banner img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%; display: block;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 3rem;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh);
}
.stats-row .stat-card {
  border-radius: 0; border: none;
  border-right: 0.0625rem solid rgba(0, 0, 0, 0.07);
  box-shadow: none; padding: 1.6rem 1rem; transition: background 0.25s;
}
.stats-row .stat-card:last-child { border-right: none; }
.stats-row .stat-card:hover { transform: none; box-shadow: none; background: var(--green-bg); }

.stat-card {
  background: #fff;
  border: 0.0625rem solid rgba(0, 0, 0, 0.08);
  border-radius: var(--r-lg);
  padding: 1.4rem;
  text-align: center;
  box-shadow: var(--sh);
  transition: box-shadow 0.25s, transform 0.25s;
}
.stat-card:hover { box-shadow: var(--sh-lg); transform: translateY(-0.1875rem); }
.stat-num { display: block; font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 2.4rem); font-weight: 400; color: var(--green); line-height: 1; }
.stat-plus { color: var(--green-mid); font-size: 1rem; }
.stat-lbl { display: block; font-size: 0.75rem; color: var(--text-light); margin-top: 0.35rem; letter-spacing: 0.03em; }
.stat-year-txt { display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--green); line-height: 1; }
.stat-highlight { display: flex; align-items: center; justify-content: center; background: var(--green-bg); border-color: var(--green-light); }
.stat-highlight span { font-size: 0.95rem; font-weight: 700; color: var(--green); line-height: 1.35; }

.about-text { display: flex; flex-direction: column; gap: 1.2rem; max-width: 100%; padding: 0 0.5rem; }
.about-text p { color: var(--text-mid); line-height: 1.8; letter-spacing: 0.3px; font-size: clamp(0.95rem, 1.5vw, 1.05rem); }

/* ── CURSOS (FIXED) ─────────────────────────── */
.courses-sec { background: var(--cream-2); }
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16.25rem, 1fr)); gap: 1.1rem; }
.course-card {
  background: #fff; 
  border: 0.0625rem solid rgba(0, 0, 0, 0.08);
  border-radius: var(--r-lg); 
  padding: 1.6rem; 
  position: relative; 
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s; 
  display: flex; 
  flex-direction: column; 
  gap: 0.8rem;
  min-height: 18rem;
}
.course-card::after {
  content: ""; 
  position: absolute; 
  top: 0; left: 0; right: 0; 
  height: 0.1875rem;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  transform: scaleX(0); 
  transform-origin: left; 
  transition: transform 0.3s var(--ease);
}
.course-card:hover { 
  box-shadow: var(--sh-lg); 
  transform: translateY(-0.25rem); 
}
.course-card:hover::after { 
  transform: scaleX(1); 
}
.course-num { 
  font-family: var(--serif); 
  font-size: 2.2rem; 
  font-weight: 400; 
  color: var(--gold-pale); 
  line-height: 1; 
  margin-bottom: 0.2rem;
}
.course-ico { 
  width: 2.625rem; 
  height: 2.625rem; 
  color: var(--green-mid);
  margin-bottom: 0.4rem;
}
.course-ico svg { 
  width: 100%; 
  height: 100%; 
}
.course-card h3 { 
  font-family: var(--serif); 
  font-size: clamp(1.1rem, 1.6vw, 1.25rem); 
  font-weight: 400; 
  color: var(--green); 
  margin-bottom: 0.4rem;
}
.course-card p { 
  font-size: clamp(0.9rem, 1.2vw, 0.95rem); 
  color: var(--text-mid); 
  line-height: 1.65; 
  flex: 1;
}

/* ── OTRAS ÁREAS ────────────────────────── */
.otras-areas-sec { background: var(--cream); }
.areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr)); gap: 1.1rem; }
.area-card {
  background: #fff; 
  border: 0.0625rem solid rgba(0, 0, 0, 0.07);
  border-radius: var(--r-lg); 
  padding: 1.6rem; 
  display: flex; 
  flex-direction: column; 
  gap: 0.7rem;
  min-height: 16rem;
  transition: box-shadow 0.25s, transform 0.25s;
}
.area-card:hover { 
  box-shadow: var(--sh-lg); 
  transform: translateY(-0.1875rem); 
}
.area-num { 
  font-family: var(--serif); 
  font-size: 1.6rem; 
  color: var(--gold-pale); 
  line-height: 1; 
  margin-bottom: 0.2rem;
}
.area-card h3 { 
  font-family: var(--serif); 
  font-size: clamp(1.05rem, 1.5vw, 1.2rem); 
  font-weight: 400; 
  color: var(--green); 
  margin-bottom: 0.3rem;
}
.area-card p { 
  font-size: clamp(0.9rem, 1.2vw, 0.95rem); 
  color: var(--text-mid); 
  line-height: 1.68;
}

/* ── CONSTELACIONES ─────────────────────── */
.constelaciones-sec { background: var(--green-bg); }
.const-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.const-card {
  background: #fff; 
  border: 0.0625rem solid rgba(61, 90, 62, 0.12);
  border-radius: var(--r-lg); 
  padding: 2.2rem; 
  display: flex; 
  flex-direction: column; 
  gap: 0.8rem;
  transition: box-shadow 0.25s;
}
.const-card:hover { 
  box-shadow: var(--sh-lg); 
}
.const-ico { 
  width: 3.25rem; 
  height: 3.25rem; 
  color: var(--green-mid); 
}
.const-ico svg { 
  width: 100%; 
  height: 100%; 
}
.const-card h3 { 
  font-family: var(--serif); 
  font-size: clamp(1.25rem, 1.8vw, 1.4rem); 
  font-weight: 400; 
  color: var(--green); 
}
.const-card p { 
  font-size: clamp(0.9rem, 1.2vw, 0.95rem); 
  color: var(--text-mid); 
  line-height: 1.72; 
}

/* ── ACTIVIDADES ────────────────────────── */
.actividades-sec { background: var(--cream-2); }
.actividades-wrap {
  max-width: 43.75rem; 
  margin-inline: auto; 
  text-align: center;
  display: flex; 
  flex-direction: column; 
  gap: 1rem; 
  align-items: center;
}
.actividades-wrap p { 
  color: var(--text-mid); 
  line-height: 1.75; 
  font-size: clamp(0.95rem, 1.3vw, 1.05rem); 
}

/* ── PROFESORADO ────────────────────── */
.profesorado-sec { background: var(--cream); }
.prof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.prof-card {
  background: #fff; 
  border: 0.0625rem solid rgba(0, 0, 0, 0.07);
  border-radius: var(--r-lg); 
  padding: 2rem; 
  text-align: center;
  display: flex; 
  flex-direction: column; 
  gap: 0.7rem; 
  align-items: center;
  transition: box-shadow 0.25s, transform 0.25s;
}
.prof-card:hover { 
  box-shadow: var(--sh-lg); 
  transform: translateY(-0.1875rem); 
}
.prof-ico { 
  width: 4rem; 
  height: 4rem; 
  color: var(--green-mid); 
}
.prof-ico svg { 
  width: 100%; 
  height: 100%; 
}
.prof-card h3 { 
  font-family: var(--serif); 
  font-size: clamp(1.05rem, 1.5vw, 1.2rem); 
  font-weight: 400; 
  color: var(--green); 
}
.prof-card p { 
  font-size: clamp(0.9rem, 1.2vw, 0.95rem); 
  color: var(--text-mid); 
  line-height: 1.68; 
}

/* ── ASOCIADOS ──────────────────────────── */
.asoc-sec { background: var(--cream-3); }

/* ── VOLUNTARIOS ────────────────────────── */
.vol-sec { background: var(--cream-2); }

.asoc-inner {
  display: grid;
  grid-template-columns: 1fr 17.5rem;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.vol-sec .asoc-inner { 
  grid-template-columns: 17.5rem 1fr; 
}
.asoc-text { 
  display: flex; 
  flex-direction: column; 
  gap: 0.85rem; 
}
.asoc-text p { 
  color: var(--text-mid); 
  line-height: 1.72; 
  font-size: clamp(0.95rem, 1.3vw, 1.05rem); 
}
.asoc-deco { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}
.asoc-deco svg { 
  width: 100%; 
  max-width: 12.5rem; 
  height: auto; 
  color: var(--green-light); 
  opacity: 0.6; 
}

/* ── REINSERCIÓN ────────────────────────── */
.reinsercion-sec { background: var(--green); }
.reinsercion-box {
  max-width: 42.5rem; 
  margin-inline: auto; 
  text-align: center;
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 1.1rem;
}
.badge {
  display: inline-block; 
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85); 
  font-size: 0.72rem; 
  letter-spacing: 0.14em;
  text-transform: uppercase; 
  padding: 0.3rem 0.9rem; 
  border-radius: 6.25rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.25);
}
.reinsercion-box h2 { 
  font-family: var(--serif); 
  font-size: clamp(1.7rem, 3.5vw, 2.3rem); 
  font-weight: 400; 
  color: #fff; 
}
.reinsercion-box p { 
  color: rgba(255, 255, 255, 0.75); 
  max-width: 56ch; 
  line-height: 1.75; 
  font-size: clamp(0.95rem, 1.3vw, 1.05rem); 
}

/* ── VENTAJAS (FIXED) ───────────────────────── */
.ventajas-sec { background: var(--cream); }
.ventajas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(18.75rem, 1fr)); gap: 1.25rem; }
.vent-card {
  background: #fff; 
  border: 0.0625rem solid rgba(0, 0, 0, 0.07);
  border-radius: var(--r-lg); 
  overflow: hidden; 
  box-shadow: var(--sh);
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}
.vent-card:hover { 
  box-shadow: var(--sh-lg); 
  transform: translateY(-0.25rem); 
}
.vent-img { 
  height: 11rem; 
  overflow: hidden; 
  background: var(--cream-2);
  flex-shrink: 0;
}
.vent-img img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s; 
  display: block;
}
.vent-card:hover .vent-img img { 
  transform: scale(1.04); 
}
.vent-img--ico { 
  display: flex; 
  align-items: center; 
  justify-content: center;
  background: var(--cream-3);
}
.vent-img--ico svg { 
  width: 4.5rem; 
  height: 4.5rem; 
  color: var(--green-mid); 
  opacity: 0.65;
}
.vent-body { 
  padding: 1.5rem; 
  display: flex; 
  flex-direction: column; 
  gap: 0.7rem;
  flex: 1;
}
.vent-body h3 { 
  font-family: var(--serif); 
  font-size: clamp(1.05rem, 1.5vw, 1.2rem); 
  font-weight: 400; 
  color: var(--green); 
}
.vent-body p { 
  font-size: clamp(0.9rem, 1.2vw, 0.95rem); 
  color: var(--text-mid); 
  line-height: 1.7; 
}
.vent-list { 
  list-style: disc; 
  padding-left: 1.2rem; 
  font-size: clamp(0.9rem, 1.2vw, 0.95rem); 
  color: var(--text-mid); 
  display: flex; 
  flex-direction: column; 
  gap: 0.25rem; 
}

/* ── CONTACTO ───────────────────────── */
.contact-sec { background: var(--cream); }
.contact-top-info { margin-bottom: 3rem; }
.contact-info-main { display: grid; grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr)); gap: 1.5rem; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: stretch; }
.contact-form-col { display: flex; flex-direction: column; gap: 1rem; }
.contact-form {
  display: flex; 
  flex-direction: column; 
  gap: 1.2rem;
  background: #fff; 
  padding: 2rem; 
  border-radius: 0.75rem;
  box-shadow: 0 0.125rem 0.75rem rgba(0, 0, 0, 0.05);
}
.cf-field { display: flex; flex-direction: column; gap: 0.3rem; }
.cf-field label { 
  font-size: 0.8rem; 
  font-weight: 700; 
  color: var(--text); 
  text-transform: uppercase; 
  letter-spacing: 0.05em; 
}
.cf-field input, .cf-field textarea {
  width: 100%; 
  padding: 0.75rem;
  border: 0.0625rem solid #e0e0e0; 
  border-radius: 0.375rem;
  background: #f9f9f9; 
  color: var(--text); 
  outline: none;
  transition: border-color 0.2s, background 0.2s; 
  resize: vertical; 
  font-size: 0.95rem;
}
.cf-field input:focus, .cf-field textarea:focus { 
  border-color: var(--green); 
  background: #fff; 
}
.cf-privacy {
  display: flex; 
  align-items: flex-start; 
  gap: 0.5rem;
  font-size: 0.75rem; 
  color: var(--text-mid); 
  cursor: pointer; 
  line-height: 1.4; 
  margin: 0.3rem 0;
}
.cf-privacy input { 
  margin-top: 0.3rem; 
  flex-shrink: 0; 
  accent-color: var(--green); 
  cursor: pointer; 
  width: 1.125rem; 
  height: 1.125rem; 
}
.cf-success {
  font-size: 0.85rem; 
  color: var(--green); 
  font-weight: 700;
  padding: 0.6rem 0.9rem; 
  background: var(--green-bg);
  border-radius: 0.375rem; 
  border: 0.0625rem solid var(--green-light); 
  text-align: center;
}
.contact-map-col { 
  border-radius: 0.875rem; 
  overflow: hidden; 
  min-height: 25rem; 
  box-shadow: 0 0.125rem 0.75rem rgba(0, 0, 0, 0.08); 
}
.contact-map-col iframe { 
  display: block; 
  width: 100%; 
  height: 100%; 
  min-height: 25rem; 
  border: 0; 
}
.cinfo-card { 
  background: #fff; 
  border: 0.0625rem solid rgba(0, 0, 0, 0.08); 
  border-radius: 0.75rem; 
  padding: 1.5rem; 
  box-shadow: 0 0.125rem 0.75rem rgba(0, 0, 0, 0.05); 
}
.cinfo-label { 
  font-size: 0.68rem; 
  font-weight: 700; 
  letter-spacing: 0.1em; 
  text-transform: uppercase; 
  color: #8a9a8b; 
  margin: 0 0 0.8rem; 
}
.cinfo-addr { 
  font-size: 0.9rem; 
  color: #333; 
  line-height: 1.6; 
  margin: 0 0 0.9rem; 
}
.cinfo-row { 
  display: flex; 
  align-items: center; 
  gap: 0.55rem; 
  font-size: 0.88rem; 
  margin: 0.35rem 0; 
  min-height: var(--tap); 
}
.cinfo-row svg { 
  width: 0.9375rem; 
  height: 0.9375rem; 
  stroke: #5a8a6a; 
  flex-shrink: 0; 
}
.cinfo-row a { 
  color: #444; 
  transition: color 0.2s; 
}
.cinfo-row a:hover { 
  color: var(--green); 
}
.cinfo-phones { 
  display: grid; 
  grid-template-columns: auto 1fr; 
  gap: 0.45rem 1.2rem; 
  align-items: center; 
}
.cinfo-phones span { 
  font-size: 0.7rem; 
  font-weight: 700; 
  letter-spacing: 0.08em; 
  text-transform: uppercase; 
  color: #8a9a8b; 
}
.cinfo-phones a { 
  font-size: 0.9rem; 
  color: #333; 
  text-align: right; 
  transition: color 0.2s; 
  min-height: var(--tap); 
  display: flex; 
  align-items: center; 
  justify-content: flex-end; 
}
.cinfo-phones a:hover { 
  color: var(--green); 
}
.cinfo-social { 
  display: flex; 
  gap: 0.6rem; 
  margin-top: 0.2rem; 
  flex-wrap: wrap; 
}
.cinfo-soc-btn { 
  width: 2.5rem; 
  height: 2.5rem; 
  border-radius: 0.5rem; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  color: #fff; 
  transition: opacity 0.2s; 
}
.cinfo-soc-btn:hover { 
  opacity: 0.85; 
}
.cinfo-soc-fb { 
  background: #1877f2; 
}
.cinfo-soc-ig { 
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); 
}

/* ── COLABORADORES ──────────────────────── */
.colab-sec { background: var(--cream-3); }
.colab-row { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 0.6rem 1rem; 
  justify-content: center; 
  margin-top: 0.5rem; 
}
.colab-row span { 
  font-size: 0.86rem; 
  color: var(--text-mid); 
  padding: 0.4rem 0.9rem; 
  background: #fff; 
  border: 0.0625rem solid rgba(0, 0, 0, 0.08); 
  border-radius: 6.25rem; 
}

/* ── FOOTER ─────────────────────────── */
.footer { 
  background: #1e2e1f; 
  color: rgba(255, 255, 255, 0.7); 
  padding-block: 3.5rem 1.8rem; 
}
.footer-grid { 
  display: grid; 
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr; 
  gap: clamp(1.5rem, 3.5vw, 2.8rem); 
  margin-bottom: 2.5rem; 
}
.footer-logo-col { 
  display: flex; 
  flex-direction: column; 
  gap: 1.2rem; 
}
.footer-logo-col p { 
  font-size: 0.9rem; 
  color: rgba(255, 255, 255, 0.6); 
  line-height: 1.6; 
}
.footer-logo-img { 
  height: auto; 
  width: clamp(11rem, 70%, 14rem); 
  max-width: 100%; 
  display: block; 
}
.footer-social { 
  display: flex; 
  gap: 0.55rem; 
}
.footer-social a { 
  width: 2.25rem; 
  height: 2.25rem; 
  border-radius: 0.4375rem; 
  border: 0.0625rem solid rgba(255, 255, 255, 0.18); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  color: rgba(255, 255, 255, 0.6); 
  transition: 0.2s; 
}
.footer-social a:hover { 
  background: rgba(255, 255, 255, 0.1); 
  color: #fff; 
}
.footer-col h4 { 
  font-size: 0.72rem; 
  font-weight: 700; 
  letter-spacing: 0.12em; 
  text-transform: uppercase; 
  color: rgba(255, 255, 255, 0.45); 
  margin-bottom: 0.9rem; 
}
.footer-col ul { 
  display: flex; 
  flex-direction: column; 
  gap: 0.4rem; 
}
.footer-col a { 
  font-size: 0.84rem; 
  color: rgba(255, 255, 255, 0.55); 
  transition: color 0.2s; 
  min-height: var(--tap); 
  display: inline-flex; 
  align-items: center; 
}
.footer-col a:hover { 
  color: #fff; 
}
.footer-col p { 
  font-size: 0.84rem; 
  color: rgba(255, 255, 255, 0.55); 
  margin-bottom: 0.2rem; 
}
.footer-bottom { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  flex-wrap: wrap; 
  gap: 0.8rem; 
  padding-top: 1.4rem; 
  border-top: 0.0625rem solid rgba(255, 255, 255, 0.1); 
  font-size: 0.76rem; 
  color: rgba(255, 255, 255, 0.35); 
}
.footer-legal { 
  display: flex; 
  gap: 0.85rem; 
  flex-wrap: wrap; 
}
.footer-legal-btn { 
  background: none; 
  border: none; 
  color: rgba(255, 255, 255, 0.35); 
  font-size: 0.76rem; 
  cursor: pointer; 
  font-family: var(--sans); 
  padding: 0.3rem 0; 
  transition: color 0.2s; 
  min-height: var(--tap); 
  display: inline-flex; 
  align-items: center; 
}
.footer-legal-btn:hover { 
  color: rgba(255, 255, 255, 0.8); 
}

/* ── BACK TO TOP ────────────────────── */
.back-to-top { 
  position: fixed; 
  bottom: 1.4rem; 
  right: 1.4rem; 
  z-index: 998; 
  width: var(--tap); 
  height: var(--tap); 
  background: var(--green-mid); 
  color: #fff; 
  border: none; 
  border-radius: 50%; 
  cursor: pointer; 
  font-size: 1.1rem; 
  font-weight: 700; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  opacity: 0; 
  pointer-events: none; 
  box-shadow: 0 0.25rem 0.875rem rgba(0, 0, 0, 0.2); 
  transition: opacity 0.3s, background 0.2s, transform 0.2s; 
  -webkit-tap-highlight-color: transparent; 
}
.back-to-top:hover { 
  transform: translateY(-0.125rem); 
}
.back-to-top.visible { 
  opacity: 1; 
  pointer-events: all; 
}

/* ── COOKIE BANNER ──────────────────────── */
.cookie-banner { 
  position: fixed; 
  bottom: 0; 
  left: 0;
  right: 0;
  z-index: 999; 
  background: #fff; 
  border-top: 0.0625rem solid rgba(0, 0, 0, 0.1); 
  box-shadow: 0 -0.375rem 2rem rgba(0, 0, 0, 0.15); 
  padding: 1rem 1.4rem; 
  display: flex; 
  align-items: center; 
  gap: 1rem; 
  width: 100%; 
  opacity: 0; 
  pointer-events: none; 
  transition: opacity 0.35s, transform 0.35s; 
  transform: translateY(100%);
}
.cookie-banner.show { 
  opacity: 1; 
  pointer-events: all; 
  transform: translateY(0); 
}
.cookie-content { 
  flex: 1; 
}
.cookie-content p { 
  font-size: 0.85rem; 
  color: var(--text-mid); 
  margin: 0; 
  line-height: 1.5; 
}

/* ── FOCUS VISIBLE ──────────────────────── */
a:focus-visible, 
button:focus-visible, 
input:focus-visible, 
textarea:focus-visible { 
  outline: 0.125rem solid var(--green); 
  outline-offset: 0.1875rem; 
  border-radius: 0.25rem; 
}

/* ══════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════════════════ */

/* ── 68.75rem (1100px) ── */
@media (max-width: 68.75rem) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stats-row .stat-card:nth-child(2) { border-right: none; }
  .stats-row .stat-card:nth-child(3) { border-right: 0.0625rem solid rgba(0, 0, 0, 0.07); }
  .stats-row .stat-card:nth-child(3),
  .stats-row .stat-card:nth-child(4) { border-top: 0.0625rem solid rgba(0, 0, 0, 0.07); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ventajas-grid { grid-template-columns: repeat(auto-fill, minmax(16.25rem, 1fr)); }
  .contact-layout { grid-template-columns: 1fr; }
}

/* ── 56.25rem (900px) ── */
@media (max-width: 56.25rem) {
  .prof-grid { grid-template-columns: 1fr 1fr; }
  .const-grid { grid-template-columns: 1fr; }
  .asoc-inner { grid-template-columns: 1fr; gap: 2rem; }
  .vol-sec .asoc-inner { grid-template-columns: 1fr; }
  .asoc-deco { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-map-col { min-height: 17.5rem; grid-column: 1 / -1; }
  .contact-map-col iframe { min-height: 17.5rem; }
  .courses-grid { grid-template-columns: repeat(auto-fill, minmax(13.75rem, 1fr)); }
  .areas-grid { grid-template-columns: repeat(auto-fill, minmax(14.375rem, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  .nav-toggle { display: flex !important; }
}

/* ── 64rem (1024px): TABLET ESCALABLE ── */
@media (max-width: 64rem) {
  :root { --gap: 1.3rem; --tap: 3.5rem; }

  html { font-size: 18px; }
  body { font-size: 1.2rem; line-height: 1.9; }

  /* ── TOPBAR ── */
  .topbar { padding: 0.7rem 0; font-size: 1.05rem; }
  .topbar-inner { gap: 0.6rem 1rem; }
  .topbar a { font-size: 1.05rem; font-weight: 500; }

  /* ── HEADER ── */
  .header { padding-block: 1.1rem 0.8rem; }
  .header-inner { gap: 0.8rem; }
  .logoNN { width: clamp(20rem, 75vw, 32rem); }
  
  .nav-toggle { display: flex; }
  .nav-desktop { display: none; }
  .nav-mobile { display: none; }
  .nav-mobile.open { display: block; }

  /* ── HERO ── */
  .hero-slides-wrap { min-height: 62vh; }
  .hero-title { font-size: clamp(2rem, 5.5vw, 3.2rem); margin-bottom: 2.2rem; }
  .hero-content { padding: 3rem 1.5rem; }
  .hero-eyebrow { font-size: 1.1rem; margin-bottom: 1.5rem; }

  /* ── CARDS ── */
  .course-card { padding: 2rem; gap: 0.8rem; min-height: 19rem; }
  .course-card h3 { font-size: clamp(1.3rem, 1.8vw, 1.5rem); }
  .course-card p { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.9; }
  .course-num { font-size: 2.6rem; }

  .area-card { padding: 2rem; gap: 0.7rem; min-height: 17rem; }
  .area-card h3 { font-size: clamp(1.25rem, 1.8vw, 1.45rem); }
  .area-card p { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.9; }
  .area-num { font-size: 1.9rem; }

  .const-card { padding: 2.5rem; gap: 1rem; }
  .const-card h3 { font-size: clamp(1.5rem, 2.2vw, 1.75rem); }
  .const-card p { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.9; }

  .prof-card { padding: 2.5rem; gap: 1rem; }
  .prof-card h3 { font-size: clamp(1.25rem, 1.8vw, 1.45rem); }
  .prof-card p { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.9; }

  .vent-body { padding: 2rem; gap: 1rem; }
  .vent-body h3 { font-size: clamp(1.25rem, 1.8vw, 1.45rem); }
  .vent-body p { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.9; }
  .vent-img { height: 12rem; }

  /* ── GRILLAS ── */
  .stats-row { gap: 1.2rem; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .prof-grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
  .ventajas-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
}

/* ── 32.5rem (520px) ── */
@media (max-width: 32.5rem) {
  :root { --gap: 1.1rem; --tap: 3.2rem; }

  html { font-size: 16px; }
  body { font-size: 1.1rem; }

  .topbar { display: none; }

  .header { padding-block: 0.9rem 0.7rem; }
  .logoNN { width: clamp(18rem, 75vw, 26rem); }
  
  .hero-title { font-size: clamp(1.6rem, 6.5vw, 2.3rem); }
  .hero-content { padding: 2.5rem 1.2rem; }

  /* ── CURSOS, OTRAS ÁREAS, VENTAJAS - UNA COLUMNA ── */
  .courses-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .ventajas-grid { grid-template-columns: 1fr; }

  .prof-grid { grid-template-columns: 1fr; }
  .const-card { padding: 1.8rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-map-col { min-height: 15rem; }
  .contact-map-col iframe { min-height: 15rem; }
  
  .back-to-top { bottom: 1rem; right: 1rem; width: 2.5rem; height: 2.5rem; font-size: 1rem; }
}

/* ── 23.75rem (380px) ── */
@media (max-width: 23.75rem) {
  .hero-title { font-size: 1.4rem; }
  .stat-num { font-size: 1.8rem; }
  .section-title { font-size: 1.4rem; }
}
/* Enlaces de la sección colab-sec sin apariencia de vínculo */
.colab-row a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.colab-row a:hover {
    text-decoration: underline;
}