/* =============================================================
   LORENA LAURA DELUCA — PSICÓLOGA
   styles.css · v20260629
   Archetype: Editorial Light Warm · Sage & Cream
   Typography: Lora (display) + Inter (body)
   ============================================================= */

/* =============================================================
   1. TOKENS
   ============================================================= */
:root {
  /* Colors */
  --bg:             #FAFAF7;
  --bg-2:           #F4F1EA;
  --cream:          #EDE8DF;
  --sage-xlight:    #EDF1EB;
  --sage-light:     #D8E4D5;
  --sage:           #7A9B72;
  --sage-mid:       #5A7C52;
  --sage-dark:      #3D5C3A;
  --sage-deep:      #2A4028;
  --white:          #FFFFFF;
  --ink:            #1E2420;
  --ink-soft:       #445040;
  --ink-mute:       #7A8878;
  --ink-xmute:      #ADB8AA;
  --line:           rgba(61, 92, 58, 0.10);
  --line-soft:      rgba(61, 92, 58, 0.06);

  /* Typography */
  --serif:          'Lora', Georgia, 'Times New Roman', serif;
  --sans:           'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Sizes */
  --nav-h:          72px;
  --gutter:         clamp(1.25rem, 5vw, 2.5rem);
  --container:      1200px;
  --section-gap:    clamp(5rem, 12vw, 9rem);

  /* Radius */
  --r-xs:           6px;
  --r-sm:           12px;
  --r-md:           20px;
  --r-lg:           32px;
  --r-xl:           48px;
  --r-pill:         999px;

  /* Shadows */
  --shadow-sm:      0 2px 8px rgba(30, 36, 32, 0.06);
  --shadow-md:      0 8px 32px rgba(30, 36, 32, 0.08);
  --shadow-lg:      0 20px 60px rgba(30, 36, 32, 0.10);
  --shadow-card:    0 4px 24px rgba(61, 92, 58, 0.08);

  /* Easings */
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce:    cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul, ol { list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  text-wrap: balance;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 em, h2 em, h3 em { font-style: italic; color: var(--sage-dark); }

::selection { background: var(--sage-light); color: var(--sage-deep); }

:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

/* =============================================================
   3. UTILITIES
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1.2rem; background: var(--sage-dark); color: var(--white);
  z-index: 9999; border-radius: var(--r-sm); font-weight: 500; font-size: .9rem;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* =============================================================
   4. TYPOGRAPHY
   ============================================================= */
.section-eyebrow {
  font-family: var(--sans);
  font-size: clamp(.75rem, 1.5vw, .875rem);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sage-mid);
  margin-bottom: .875rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
}

.section-header {
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

/* =============================================================
   5. BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1.75rem;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition:
    background .25s var(--ease-out),
    color .25s var(--ease-out),
    border-color .25s var(--ease-out),
    transform .2s var(--ease-bounce),
    box-shadow .25s var(--ease-out);
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--sage-dark);
  color: var(--white);
  border-color: var(--sage-dark);
}
.btn-primary:hover {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  box-shadow: 0 8px 24px rgba(61, 92, 58, 0.30);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--sage-dark);
  border-color: var(--sage-dark);
}
.btn-ghost:hover {
  background: var(--sage-xlight);
  transform: translateY(-2px);
}

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

.btn-xl {
  padding: 1.15rem 2.75rem;
  font-size: 1.05rem;
}

/* =============================================================
   6. NAV
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background .4s var(--ease-soft), box-shadow .4s var(--ease-soft), backdrop-filter .4s;
}

/* Glassmorphism — activated via JS when scrolled */
.nav.is-scrolled {
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 1px 0 var(--line), 0 4px 24px rgba(30, 36, 32, 0.06);
}

/* Solid fallback when backdrop-filter unsupported */
@supports not (backdrop-filter: blur(1px)) {
  .nav.is-scrolled { background: rgba(250, 250, 247, 0.97); }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding-inline: var(--gutter);
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}
.nav-logo-name {
  font-family: var(--serif);
  font-size: clamp(.95rem, 2vw, 1.1rem);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -.01em;
  line-height: 1;
}
.nav-logo-title {
  font-size: .7rem;
  font-weight: 400;
  color: var(--ink-mute);
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
}

.nav-links {
  display: none;
  align-items: center;
  gap: .25rem;
}

.nav-link {
  font-size: .9rem;
  font-weight: 400;
  color: var(--ink-soft);
  padding: .5rem .8rem;
  border-radius: var(--r-sm);
  transition: color .2s, background .2s;
}
.nav-link:hover {
  color: var(--sage-dark);
  background: var(--sage-xlight);
}

.nav-cta {
  margin-left: .5rem;
  font-size: .875rem;
  padding: .6rem 1.25rem;
}

/* Burger */
.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: .5rem;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  transition: background .2s;
}
.nav-burger:hover { background: var(--sage-xlight); }
.burger-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .3s;
}
.nav-burger.is-open .burger-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.is-open .burger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open .burger-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--line);
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s var(--ease-out), opacity .3s;
  opacity: 0;
}
.nav-mobile.is-open {
  max-height: 400px;
  opacity: 1;
}
.nav-mobile-link {
  padding: 1rem var(--gutter);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-soft);
  transition: color .2s, background .2s;
}
.nav-mobile-link:hover { color: var(--sage-dark); background: var(--sage-xlight); }
.nav-mobile-cta {
  color: var(--sage-dark);
  font-weight: 500;
  padding-block: 1.1rem;
}

/* =============================================================
   7. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  padding-bottom: clamp(3rem, 8vw, 6rem);
  overflow: clip;
  background: linear-gradient(155deg, var(--bg) 0%, var(--sage-xlight) 60%, var(--bg-2) 100%);
}

/* Decorative background shapes */
.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-bg-shape:first-child {
  width: clamp(300px, 50vw, 600px);
  height: clamp(300px, 50vw, 600px);
  top: -10%;
  right: -5%;
  background: radial-gradient(circle, rgba(122, 155, 114, 0.12) 0%, transparent 70%);
  filter: blur(60px);
}
.hero-bg-shape--2 {
  width: clamp(200px, 35vw, 400px);
  height: clamp(200px, 35vw, 400px);
  bottom: 5%;
  left: -8%;
  background: radial-gradient(circle, rgba(61, 92, 58, 0.08) 0%, transparent 70%);
  filter: blur(80px);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
  padding-top: clamp(1.5rem, 4vw, 3rem);
}

.hero-eyebrow {
  font-size: clamp(.7rem, 1.5vw, .8rem);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sage-mid);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--sage);
  flex-shrink: 0;
}

.hero-name {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 1rem;
}
.hero-name em {
  font-style: italic;
  color: var(--sage-dark);
}

.hero-subtitle {
  font-family: var(--sans);
  font-size: clamp(.85rem, 1.8vw, 1rem);
  font-weight: 400;
  color: var(--ink-mute);
  letter-spacing: .02em;
  margin-bottom: 1.5rem;
}

.hero-intro {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 52ch;
  margin-bottom: 2.25rem;
}

.hero-cta { margin-bottom: 2rem; }

.hero-modality {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.modality-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: .8rem;
  font-weight: 500;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.modality-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.modality-dot--presencial { background: var(--sage); }
.modality-dot--online { background: var(--sage-dark); }

/* Hero photo */
.hero-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  order: -1;
}

.hero-photo-deco {
  position: absolute;
  inset: -20px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--cream) 100%);
  transform: rotate(-3deg);
  z-index: 0;
}

.hero-photo-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: min(100%, 360px);
  aspect-ratio: 4/5;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .6s var(--ease-soft);
}
.hero-photo-frame:hover .hero-photo { transform: scale(1.03); }

.hero-photo-badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  z-index: 2;
  background: var(--sage-dark);
  color: var(--white);
  padding: .9rem 1.1rem;
  border-radius: var(--r-md);
  box-shadow: 0 8px 24px rgba(61, 92, 58, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  gap: 2px;
}
.hero-badge-num {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -.02em;
}
.hero-badge-label {
  font-size: .65rem;
  font-weight: 400;
  opacity: .85;
  letter-spacing: .03em;
  text-align: center;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  opacity: .4;
  animation: scrollBounce 2.5s ease-in-out infinite;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--sage-dark), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* =============================================================
   8. ABOUT / SOBRE MÍ
   ============================================================= */
.about {
  padding-block: var(--section-gap);
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.about-photo-wrap {
  position: relative;
  width: min(100%, 340px);
  margin-inline: auto;
}
.about-photo {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 4/5;
  transition: transform .6s var(--ease-soft);
}
.about-photo-wrap:hover .about-photo { transform: scale(1.02); }
.about-photo-leaf {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 80px;
  height: 80px;
  background: var(--sage-light);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-30deg);
  z-index: -1;
}

.about-text-col {}

.about-lead {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 2rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--sage);
}

.about-subtitle {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 500;
  color: var(--sage-dark);
  margin-bottom: 1rem;
  margin-top: .25rem;
}

.about-body {
  font-size: clamp(.9rem, 1.6vw, 1rem);
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.about-body:last-of-type { margin-bottom: 2.5rem; }

/* Stats */
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  transition: box-shadow .25s var(--ease-out), transform .25s var(--ease-out), border-color .25s;
}
.stat-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
  border-color: var(--sage-light);
}

.stat-num {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 500;
  color: var(--sage-dark);
  letter-spacing: -.02em;
  line-height: 1;
}
.stat-label {
  font-size: .78rem;
  color: var(--ink-mute);
  font-weight: 400;
  line-height: 1.3;
}

/* =============================================================
   9. ESPECIALIDADES
   ============================================================= */
.services {
  padding-block: var(--section-gap);
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition:
    box-shadow .3s var(--ease-out),
    transform .3s var(--ease-out),
    border-color .3s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage) 0%, var(--sage-dark) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--sage-light);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card-icon {
  color: var(--sage);
  margin-bottom: 1.25rem;
  transition: color .25s;
}
.service-card:hover .service-card-icon { color: var(--sage-dark); }

.service-card-title {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: .75rem;
  line-height: 1.25;
}

.service-card-body {
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-card-tag {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sage-mid);
  background: var(--sage-xlight);
  display: inline-block;
  padding: .3rem .75rem;
  border-radius: var(--r-pill);
}

/* =============================================================
   10. FORMACIÓN
   ============================================================= */
.education {
  padding-block: var(--section-gap);
  background: var(--white);
}

.education-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: start;
}

.education-group-title {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sage-mid);
  margin-bottom: 1.75rem;
}

.education-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.education-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 1rem;
  align-items: start;
}

.education-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage);
  margin-top: .35rem;
  flex-shrink: 0;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--sage-light);
}

.education-item-content {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.education-degree {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

.education-institution {
  font-size: .82rem;
  color: var(--ink-mute);
  line-height: 1.45;
}

/* =============================================================
   11. MODALIDAD
   ============================================================= */
.modality-section {
  padding-block: var(--section-gap);
  background: var(--sage-xlight);
}

.modality-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.modality-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1.5px solid var(--line);
  transition: box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
}
.modality-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.modality-card--presencial { border-top: 4px solid var(--sage); }
.modality-card--online     { border-top: 4px solid var(--sage-dark); }

.modality-card-icon {
  color: var(--sage-mid);
  width: 52px;
  height: 52px;
  background: var(--sage-xlight);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modality-card--online .modality-card-icon { background: var(--sage-light); color: var(--sage-dark); }

.modality-card-title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 500;
  color: var(--ink);
}

.modality-card-body {
  font-size: .95rem;
  color: var(--ink-soft);
  line-height: 1.7;
  flex: 1;
}

.modality-card-footer {}
.modality-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 500;
  color: var(--sage-dark);
  background: var(--sage-xlight);
  border: 1px solid var(--sage-light);
  padding: .35rem .9rem;
  border-radius: var(--r-pill);
}

/* =============================================================
   12. CONTACTO
   ============================================================= */
.contact {
  position: relative;
  padding-block: var(--section-gap);
  overflow: clip;
  background: var(--sage-deep);
  color: var(--white);
}

.contact-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(122, 155, 114, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(90, 124, 82, 0.20) 0%, transparent 50%);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.contact-eyebrow {
  color: var(--sage-light);
  margin-bottom: 0;
}

.contact-title {
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.0;
  letter-spacing: -.03em;
}
.contact-title em {
  font-style: italic;
  color: var(--sage-light);
}

.contact-body {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, .75);
  line-height: 1.7;
  max-width: 48ch;
}

.contact-btn {
  background: var(--white);
  color: var(--sage-deep);
  border-color: var(--white);
}
.contact-btn:hover {
  background: var(--sage-light);
  border-color: var(--sage-light);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

.contact-note {
  font-size: .85rem;
  color: rgba(255, 255, 255, .45);
}
.contact-note a {
  color: var(--sage-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =============================================================
   13. FOOTER
   ============================================================= */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding-block: 2.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.footer-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
}
.footer-role {
  font-size: .78rem;
  color: var(--ink-mute);
  letter-spacing: .05em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
  justify-content: center;
}
.footer-nav a {
  font-size: .82rem;
  color: var(--ink-mute);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--sage-light); }

.footer-copy p {
  font-size: .75rem;
  color: var(--ink-xmute);
  line-height: 1.5;
}
.footer-legal {
  font-style: italic;
  opacity: .7;
}

/* =============================================================
   14. WHATSAPP FLOTANTE
   ============================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform .3s var(--ease-bounce), box-shadow .3s var(--ease-out);
  animation: waPulse 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
  animation: none;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 4px 32px rgba(37, 211, 102, 0.65), 0 0 0 8px rgba(37, 211, 102, 0.10); }
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + .75rem);
  background: var(--ink);
  color: var(--white);
  font-size: .78rem;
  font-weight: 500;
  padding: .4rem .8rem;
  border-radius: var(--r-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out);
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--ink);
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* =============================================================
   15. REVEAL ANIMATIONS (scroll-triggered)
   ============================================================= */
.reveal {
  opacity: 0;
  transition: opacity .72s var(--ease-out), transform .72s var(--ease-out);
  will-change: opacity, transform;
}

.reveal[data-reveal="up"]    { transform: translateY(26px); }
.reveal[data-reveal="left"]  { transform: translateX(-28px); }
.reveal[data-reveal="right"] { transform: translateX(28px); }
.reveal[data-reveal="fade"]  { transform: none; }

/* Defensive rule — prevent invisible elements */
.reveal[data-split] { opacity: 1; transform: none; }

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }

/* =============================================================
   16. RESPONSIVE — TABLET (≥720px)
   ============================================================= */
@media (min-width: 720px) {

  .nav-burger { display: none; }
  .nav-links  { display: flex; }
  .nav-mobile { display: none !important; }

  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
  }
  .hero-photo-wrap {
    order: 0;
  }
  .hero-photo-frame { width: 100%; max-width: 440px; }

  .about-grid {
    grid-template-columns: 1fr 1.6fr;
  }
  .about-photo-wrap { margin-inline: 0; }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card--wide {
    grid-column: 1 / -1;
  }

  .education-grid { grid-template-columns: 1fr 1.5fr; }

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

  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* =============================================================
   17. RESPONSIVE — DESKTOP (≥1024px)
   ============================================================= */
@media (min-width: 1024px) {

  .hero-inner {
    grid-template-columns: 1.1fr .9fr;
    min-height: calc(100svh - var(--nav-h));
    padding-block: 0;
  }
  .hero-name { font-size: clamp(2.2rem, 4vw, 3.8rem); }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-card--wide { grid-column: 2 / 4; }

  .about-stats { grid-template-columns: repeat(2, minmax(0, 220px)); }
}

/* =============================================================
   18. REDUCED MOTION (only intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  /* Only gate effects that are truly disruptive */
  .hero-scroll-hint { animation: none; }
  .whatsapp-float   { animation: none; }
  @keyframes waPulse { 0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45); } }

  /* DO NOT disable: hover effects, card transitions, reveals, button hover, etc. */
  html { scroll-behavior: auto; }
}
