/* =========================================================
   PsicoLatam — Sitio Público
   Diseño: Institucional / Navy + Teal
   Fuentes: Lora (display) + DM Sans (cuerpo)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&display=swap');

/* ─── Variables ─────────────────────────────────────────── */
:root {
  /* Navy — color primario */
  --teal-900: #0a1628;
  --teal-800: #0f2040;
  --teal-700: #1b3358;
  --teal-600: #234a7a;
  --teal-500: #2e6098;
  --teal-400: #5585b5;
  --teal-100: #dce8f5;
  --teal-50:  #eef4fb;

  /* Teal — color de acción/acento */
  --terra-700: #1f7d78;
  --terra-600: #2d9e98;
  --terra-500: #3aafa9;
  --terra-400: #60c4bf;
  --terra-100: #d4f0ee;
  --terra-50:  #eaf8f7;

  /* Dorado — acento secundario sutil */
  --sage-600: #a07b2a;
  --sage-400: #c9a84c;
  --sage-100: #f5edcf;

  /* Fondos neutros fríos */
  --cream-100: #f0f4f8;
  --cream-200: #e4ecf4;
  --cream-300: #d0dcea;

  --text-900: #0a1628;
  --text-700: #1e2d3d;
  --text-500: #4a6078;
  --text-400: #637b95;
  --text-200: #a8bccf;

  --white: #ffffff;

  --ff-serif: 'Lora', Georgia, serif;
  --ff-sans:  'DM Sans', -apple-system, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(15,32,64,.08);
  --shadow-md: 0 4px 20px rgba(15,32,64,.13);
  --shadow-lg: 0 8px 40px rgba(15,32,64,.18);

  --transition: 0.25s ease;
  --transition-slow: 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --max-w: 1200px;
  --max-w-narrow: 780px;
}

/* ─── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--ff-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-700);
  background-color: var(--cream-100);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ─── Typography ────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--ff-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--teal-800);
}

.display-xl {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.display-lg {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.display-md {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.25;
  font-weight: 600;
}

.text-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-500);
  font-weight: 400;
}

.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

/* ─── Layout ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.container--narrow {
  max-width: var(--max-w-narrow);
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section--sm {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

/* ─── Flexbox & Grid helpers ────────────────────────────── */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.gap-6 { gap: 3rem; }

/* ─── Section headers ───────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra-600);
  margin-bottom: 1rem;
}

.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--terra-600);
  opacity: 0.6;
}

.section-header p {
  max-width: 560px;
  margin-inline: auto;
  margin-top: .75rem;
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 100px;
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  font-weight: 500;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal-700);
  color: var(--white);
  border-color: var(--teal-700);
}
.btn-primary:hover {
  background: var(--teal-600);
  border-color: var(--teal-600);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30,77,77,.3);
}

.btn-accent {
  background: var(--terra-600);
  color: var(--white);
  border-color: var(--terra-600);
}
.btn-accent:hover {
  background: var(--terra-700);
  border-color: var(--terra-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,101,74,.3);
}

.btn-outline {
  background: transparent;
  color: var(--teal-700);
  border-color: var(--teal-700);
}
.btn-outline:hover {
  background: var(--teal-700);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: .5rem 1.25rem;
  font-size: 0.85rem;
}

/* ─── Badge / Tags ──────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .25rem .75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: .02em;
}

.badge-teal  { background: var(--teal-100);  color: var(--teal-700); }
.badge-terra { background: var(--terra-100); color: var(--terra-700); }
.badge-sage  { background: var(--sage-100);  color: var(--sage-600); }
.badge-cream { background: var(--cream-300); color: var(--text-500); }

/* ─── Cards ─────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-300);
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* ─── NAVIGATION ────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-300);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.nav__logo-mark {
  width: 38px;
  height: 38px;
  background: var(--teal-700);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -1px;
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal-800);
  line-height: 1;
}

.nav__logo-text span {
  display: block;
  font-size: 0.65rem;
  font-family: var(--ff-sans);
  font-weight: 400;
  color: var(--text-400);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 1px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-500);
  padding: .5rem .9rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--teal-700);
  background: var(--teal-50);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

/* Mobile nav */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--teal-800);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  top: 70px;
  background: var(--cream-100);
  z-index: 99;
  padding: 2rem;
  flex-direction: column;
  gap: .5rem;
  overflow-y: auto;
}

.nav__mobile.open { display: flex; }

.nav__mobile .nav__link {
  font-size: 1.1rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--cream-300);
  border-radius: 0;
}

.nav__mobile .nav__actions {
  margin-top: 1.5rem;
  flex-direction: column;
  gap: .75rem;
}

.nav__mobile .btn { width: 100%; justify-content: center; }

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100svh - 70px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--teal-600);
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Organic blob shapes */
.hero__bg::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at center, rgba(58,175,169,.2) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
}

.hero__bg::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at center, rgba(58,175,169,.12) 0%, transparent 70%);
  bottom: 50px;
  left: 10%;
  border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%;
}

.hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: 5rem;
}

.hero__content {
  color: white;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  padding: .4rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  letter-spacing: .04em;
  margin-bottom: 1.5rem;
}

.hero__label-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terra-400);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}

.hero__title {
  font-family: var(--ff-serif);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-style: italic;
  color: var(--terra-400);
}

.hero__desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.75;
  color: rgba(255,255,255,.75);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}

.hero__stat-num {
  font-family: var(--ff-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,.55);
  margin-top: .25rem;
  line-height: 1.3;
}

/* Hero visual side */
.hero__visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}

.hero__card-main {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-xl);
  padding: 2rem;
  color: white;
  width: 100%;
}

.hero__card-main h4 {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  color: white;
  margin-bottom: 1.25rem;
}

.hero__step {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .9rem;
}

.hero__step:last-child { margin-bottom: 0; }

.hero__step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--terra-600);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero__step-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,.85);
  line-height: 1.4;
}

.hero__card-mini {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
}

.hero__mini-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.hero__mini-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  line-height: 1.2;
}

.hero__mini-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,.55);
  margin-top: 1px;
}

/* ─── NOTICE BANNER ─────────────────────────────────────── */
.notice-banner {
  background: var(--cream-200);
  border-bottom: 1px solid var(--cream-300);
  padding: .6rem 0;
}

.notice-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
  text-align: center;
}

.notice-banner__icon {
  font-size: 1rem;
}

.notice-banner__text {
  font-size: 0.875rem;
  color: var(--text-500);
}

.notice-banner__text strong {
  color: var(--teal-700);
  font-weight: 600;
}

.notice-banner__link {
  font-size: 0.875rem;
  color: var(--terra-600);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─── HOW IT WORKS TEASER ────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  position: relative;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--cream-300);
  position: relative;
  transition: all var(--transition);
}

.step-card:hover {
  border-color: var(--teal-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step-card__num {
  font-family: var(--ff-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--cream-300);
  line-height: 1;
  margin-bottom: .75rem;
  transition: color var(--transition);
}

.step-card:hover .step-card__num {
  color: var(--teal-100);
}

.step-card__icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
  color: var(--teal-800);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-400);
  line-height: 1.6;
}

/* ─── ABOUT TEASER ──────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.about-split--reverse { direction: rtl; }
.about-split--reverse > * { direction: ltr; }

.about__visual {
  position: relative;
}

.about__visual-main {
  background: var(--teal-700);
  border-radius: var(--radius-xl);
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
}

.about__visual-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 70%, rgba(200,101,74,.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 20%, rgba(255,255,255,.08) 0%, transparent 40%);
}

.about__visual-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,.03) 20px,
    rgba(255,255,255,.03) 21px
  );
}

.about__visual-text {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.about__visual-quote {
  font-family: var(--ff-serif);
  font-size: 1rem;
  font-style: italic;
  color: white;
  line-height: 1.5;
  margin-bottom: .5rem;
}

.about__visual-author {
  font-size: 0.75rem;
  color: rgba(255,255,255,.6);
}

.about__accent {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--terra-600);
  top: -20px;
  right: -20px;
  z-index: -1;
  opacity: .6;
}

.about__accent-2 {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--sage-400);
  bottom: 40px;
  left: -30px;
  z-index: -1;
  opacity: .5;
}

.about__content {}

.about__list {
  margin: 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.about__list-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: 0.95rem;
  color: var(--text-500);
  line-height: 1.5;
}

.about__list-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── TIPOS DE CICLO ────────────────────────────────────── */
.cycles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cycle-card {
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition);
}

.cycle-card:hover { transform: translateY(-4px); }

.cycle-card--free {
  background: var(--teal-700);
  color: white;
}

.cycle-card--subsidized {
  background: var(--terra-600);
  color: white;
}

.cycle-card--regular {
  background: var(--white);
  color: var(--teal-800);
  border: 1.5px solid var(--cream-300);
  box-shadow: var(--shadow-sm);
}

.cycle-card::before {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  top: -30px;
  right: -30px;
}

.cycle-card__badge {
  display: inline-block;
  padding: .2rem .75rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(255,255,255,.2);
  color: white;
  margin-bottom: 1.5rem;
}

.cycle-card--regular .cycle-card__badge {
  background: var(--teal-100);
  color: var(--teal-700);
}

.cycle-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: inherit;
  margin-bottom: .75rem;
  line-height: 1.2;
}

.cycle-card--regular h3 { color: var(--teal-800); }

.cycle-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  opacity: .85;
}

.cycle-card--regular p { opacity: 1; color: var(--text-500); }

.cycle-card__note {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.2);
  font-size: 0.8rem;
  opacity: .7;
}

.cycle-card--regular .cycle-card__note {
  border-top-color: var(--cream-300);
  color: var(--text-400);
  opacity: 1;
}

/* ─── PROFESIONALES GRID (Directorio) ───────────────────── */
.prof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.prof-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--cream-300);
  transition: all var(--transition);
}

.prof-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--teal-400);
}

.prof-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--teal-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal-700);
  overflow: hidden;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.prof-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prof-card__name {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  color: var(--teal-800);
  margin-bottom: .25rem;
}

.prof-card__type {
  font-size: 0.78rem;
  color: var(--terra-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .75rem;
}

.prof-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: 1rem;
}

.prof-card__tag {
  background: var(--cream-200);
  color: var(--text-500);
  font-size: 0.72rem;
  padding: .2rem .65rem;
  border-radius: 100px;
  font-weight: 500;
}

.prof-card__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-400);
  padding-top: .75rem;
  border-top: 1px solid var(--cream-200);
}

.prof-card__meta-item {
  display: flex;
  align-items: center;
  gap: .35rem;
}

/* ─── FILTERS (Directorio) ───────────────────────────────── */
.filters-bar {
  background: var(--white);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  flex: 1;
  min-width: 180px;
}

.filter-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-400);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: .6rem 1rem;
  border: 1.5px solid var(--cream-300);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-700);
  background: var(--cream-100);
  transition: border-color var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23717171' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.filter-group input {
  background-image: none;
  padding-right: 1rem;
}

.filter-group select:focus,
.filter-group input:focus {
  outline: none;
  border-color: var(--teal-500);
  background-color: var(--white);
}

/* ─── FAQ ───────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq-item {
  background: var(--white);
  border: 1.5px solid var(--cream-300);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: var(--teal-400);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.975rem;
  color: var(--teal-800);
  user-select: none;
  transition: background var(--transition);
}

.faq-question:hover { background: var(--cream-100); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-50);
  border: 1.5px solid var(--teal-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  color: var(--teal-600);
  font-size: 1rem;
  line-height: 1;
}

.faq-item.open .faq-icon {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-500);
  line-height: 1.75;
  border-top: 1px solid var(--cream-200);
  padding-top: 1rem;
}

.faq-item.open .faq-answer {
  max-height: 600px;
}

/* ─── CONTACT FORM ──────────────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-800);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .85rem 1.1rem;
  border: 1.5px solid var(--cream-300);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-700);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group textarea { resize: vertical; min-height: 130px; line-height: 1.6; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(61,128,128,.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-200); }

/* ─── TESTIMONIALS ──────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--cream-300);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--ff-serif);
  font-size: 5rem;
  color: var(--cream-300);
  line-height: .6;
  position: absolute;
  top: 1.25rem;
  left: 1.75rem;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--text-500);
  line-height: 1.75;
  margin-top: 1.75rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cream-200);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-800);
}

.testimonial-detail {
  font-size: 0.75rem;
  color: var(--text-400);
}

/* ─── STATS BAND ────────────────────────────────────────── */
.stats-band {
  background: var(--teal-500);
  padding-block: 3.5rem;
}

.stats-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {}

.stat-num {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: .35rem;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,.55);
  line-height: 1.3;
}

/* ─── CTA SECTION ───────────────────────────────────────── */
.cta-section {
  background: var(--terra-600);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  top: -100px;
  right: -100px;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(0,0,0,.08);
  bottom: -80px;
  left: 10%;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  padding-block: clamp(4rem, 7vw, 6rem);
}

.cta-inner h2 {
  font-family: var(--ff-serif);
  color: white;
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.cta-inner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── RECURSOS ──────────────────────────────────────────── */
.recursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.recurso-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--cream-300);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.recurso-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.recurso-card__thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.recurso-card__thumb--teal    { background: var(--teal-100); }
.recurso-card__thumb--terra   { background: var(--terra-100); }
.recurso-card__thumb--sage    { background: var(--sage-100); }
.recurso-card__thumb--cream   { background: var(--cream-200); }

.recurso-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.recurso-card__cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--terra-600);
  margin-bottom: .5rem;
}

.recurso-card__title {
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  color: var(--teal-800);
  line-height: 1.3;
  margin-bottom: .6rem;
}

.recurso-card__desc {
  font-size: 0.875rem;
  color: var(--text-400);
  line-height: 1.6;
  flex: 1;
}

.recurso-card__footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cream-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.recurso-card__tag {
  font-size: 0.72rem;
  color: var(--text-400);
}

/* ─── BREADCRUMB ────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 0.82rem;
  color: var(--text-400);
  margin-bottom: 2rem;
}

.breadcrumb a { color: var(--teal-600); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--teal-700); }
.breadcrumb span { color: var(--text-200); }

/* ─── PAGE HERO (inner pages) ───────────────────────────── */
.page-hero {
  background: var(--teal-700);
  padding-block: clamp(3rem, 6vw, 5rem);
  color: white;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(200,101,74,.25) 0%, transparent 60%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--ff-serif);
  color: white;
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: .75rem;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  max-width: 560px;
  line-height: 1.7;
}

/* ─── FOOTER ────────────────────────────────────────────── */
.footer {
  background: var(--teal-800);
  color: rgba(255,255,255,.7);
  padding-top: clamp(3rem, 6vw, 5rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer__brand {}

.footer__logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.footer__logo-mark {
  width: 36px;
  height: 36px;
  background: var(--teal-700);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--ff-serif);
  font-size: 1.25rem;
  font-weight: 700;
}

.footer__logo-text {
  font-family: var(--ff-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
}

.footer__desc {
  font-size: 0.875rem;
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer__social {
  display: flex;
  gap: .6rem;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,.6);
  transition: all var(--transition);
}

.footer__social-link:hover {
  background: var(--terra-600);
  border-color: var(--terra-600);
  color: white;
  transform: translateY(-2px);
}

.footer__col-title {
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: white;
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer__link {
  font-size: 0.875rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: .4rem;
}

.footer__link:hover { color: white; }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: 0.875rem;
  margin-bottom: .75rem;
}

.footer__contact-icon {
  font-size: .9rem;
  margin-top: .1rem;
  flex-shrink: 0;
}

.footer__bottom {
  padding-block: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.8rem;
}

.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer__bottom-link {
  font-size: 0.8rem;
  color: rgba(255,255,255,.4);
  transition: color var(--transition);
}

.footer__bottom-link:hover { color: rgba(255,255,255,.7); }

/* ─── ALERTS / NOTICES ──────────────────────────────────── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.6;
}

.alert-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: .05rem; }

.alert--info    { background: var(--teal-50);   color: var(--teal-700);  border: 1px solid var(--teal-100); }
.alert--warning { background: var(--terra-50);  color: var(--terra-700); border: 1px solid var(--terra-100); }
.alert--success { background: var(--sage-100);  color: var(--sage-600);  border: 1px solid #b5d8b8; }

/* ─── UTILS ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-teal   { color: var(--teal-700); }
.text-terra  { color: var(--terra-600); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

.divider {
  height: 1px;
  background: var(--cream-300);
  margin-block: 2rem;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-400);
}

.empty-state__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  opacity: .5;
}

.empty-state h3 {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  color: var(--text-500);
  margin-bottom: .5rem;
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cycles-grid { grid-template-columns: 1fr; }
  .stats-band-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .about-split { gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav__links,
  .nav__actions { display: none; }
  .nav__burger { display: flex; }

  .hero__inner {
    grid-template-columns: 1fr;
    padding-block: 3rem;
    text-align: center;
  }

  .hero__cta { justify-content: center; }
  .hero__stats { justify-content: center; }

  .hero__visual { display: none; }

  .about-split { grid-template-columns: 1fr; }
  .about-split--reverse { direction: ltr; }
  .about__visual { display: none; }

  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }

  .stats-band-grid { grid-template-columns: repeat(2, 1fr); }

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

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

  .filters-bar { flex-direction: column; }

  .footer__bottom { flex-direction: column; text-align: center; }

  .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero__stats { flex-direction: column; gap: 1.25rem; }
  .stats-band-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ─── ANIMATIONS ────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-up  { animation: fadeUp .6s ease both; }
.animate-fade-in  { animation: fadeIn .5s ease both; }

[data-delay="1"] { animation-delay: .1s; }
[data-delay="2"] { animation-delay: .2s; }
[data-delay="3"] { animation-delay: .3s; }
[data-delay="4"] { animation-delay: .4s; }
[data-delay="5"] { animation-delay: .5s; }
[data-delay="6"] { animation-delay: .6s; }

/* Intersection observer reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── PRINT ─────────────────────────────────────────────── */
@media print {
  .nav, .footer, .cta-section { display: none; }
  body { background: white; color: black; }
}

