/* =============================================================
   LAURA SEGARRA NUTRICIÓN — Design System
   Archetype: Editorial Light Cream (adapted for wellness/health)
   Fonts: Fraunces (display) + Karla (body)
   Version: 20260524
   ============================================================= */

/* =============================================================
   1. TOKENS
   ============================================================= */
:root {
  /* Brand palette */
  --cream:          #F5EFE6;
  --cream-dark:     #EDE4D3;
  --sage:           #A8B5A0;
  --sage-deep:      #8A9B82;
  --sage-pale:      #DDE5D5;
  --sage-mist:      #EBEFE5;
  --rose:           #F7E9E9;
  --rose-deep:      #E5C9C9;
  --terracotta:     #C4896B;
  --terracotta-deep:#B57559;
  --earth:          #876B4D;
  --earth-deep:     #6F583E;
  --sky:            #C8D9E0;
  --ink:            #3D3530;
  --ink-soft:       #5C5249;
  --white:          #FFFFFF;

  /* Typography */
  --f-display: 'Fraunces', Georgia, serif;
  --f-body:    'Karla', system-ui, sans-serif;

  /* 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);

  /* Layout */
  --gutter:     clamp(1rem, 4vw, 2rem);
  --max-w:      1200px;
  --section-pad:clamp(4rem, 10vw, 8rem);
  --radius-card:20px;
  --radius-btn: 50px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
  tab-size: 2;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--f-body);
  font-size: clamp(16px, 1.05vw + 0.6rem, 18px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  text-wrap: balance;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
}
ul { list-style: none; padding: 0; }
::selection { background: var(--terracotta); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .5rem 1rem; background: var(--ink); color: var(--cream);
  z-index: 9999; border-radius: 8px; font-size: 0.9rem;
  font-family: var(--f-body); font-weight: 500;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* Page transitions */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.5s;
  animation-timing-function: var(--ease-out);
}
::view-transition-old(root) { animation-name: fadeOutUp; }
::view-transition-new(root) { animation-name: fadeInUp; }
@keyframes fadeOutUp { to { opacity: 0; transform: translateY(-8px); } }
@keyframes fadeInUp  { from { opacity: 0; transform: translateY(8px); } }

/* =============================================================
   3. UTILITIES
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--max-w);
  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;
}
.text-balance { text-wrap: balance; }

/* =============================================================
   4. TYPOGRAPHY
   ============================================================= */
.eyebrow {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: clamp(11px, 0.65rem + 0.2vw, 13px);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before {
  content: '●';
  color: var(--terracotta);
  font-size: 0.55em;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(2rem, 3.2vw + 0.8rem, 3.8rem);
  font-weight: 500;
  line-height: 1.05;
}
.section-title em { font-style: italic; font-weight: 400; }

.section-subtitle {
  font-family: var(--f-body);
  font-size: clamp(1rem, 0.85rem + 0.4vw, 1.1rem);
  color: var(--ink-soft);
  max-width: 58ch;
  line-height: 1.7;
}

/* =============================================================
   5. COMPONENTS
   ============================================================= */

/* Buttons */
.btn {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: clamp(12px, 0.75rem + 0.2vw, 14px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.85em 1.9em;
  border-radius: var(--radius-btn);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.28s var(--ease-out),
    color 0.28s var(--ease-out),
    border-color 0.28s var(--ease-out),
    transform 0.22s var(--ease-out),
    box-shadow 0.28s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--earth);
  color: var(--cream);
  border-color: var(--earth);
}
@media (hover: hover) {
  .btn-primary:hover {
    background: var(--earth-deep);
    border-color: var(--earth-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(135, 107, 77, 0.3);
  }
}

.btn-secondary {
  background: transparent;
  color: var(--earth);
  border-color: var(--earth);
}
@media (hover: hover) {
  .btn-secondary:hover {
    background: var(--earth);
    color: var(--cream);
    transform: translateY(-2px);
  }
}

.btn-cream {
  background: var(--cream);
  color: var(--terracotta);
  border-color: var(--cream);
}
@media (hover: hover) {
  .btn-cream:hover {
    background: transparent;
    color: var(--cream);
    border-color: var(--cream);
    transform: translateY(-2px);
  }
}

.btn-sage {
  background: var(--white);
  color: var(--sage-deep);
  border-color: var(--white);
}
@media (hover: hover) {
  .btn-sage:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
  }
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding-inline: 0;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 1rem;
  gap: 0.35rem;
}
@media (hover: hover) {
  .btn-ghost:hover { color: var(--terracotta); }
  .btn-ghost:hover .btn-arrow { transform: translateX(4px); }
}
.btn-arrow {
  display: inline-block;
  transition: transform 0.22s var(--ease-out);
}

/* Service Cards */
.service-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1.5px solid var(--cream-dark);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out);
  position: relative;
}
@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(196, 137, 107, 0.1);
    border-color: var(--terracotta);
  }
}

.service-card.featured {
  background: var(--sage);
  border-color: var(--sage-deep);
}
@media (hover: hover) {
  .service-card.featured:hover {
    box-shadow: 0 20px 48px rgba(138, 155, 130, 0.25);
    border-color: var(--sage-deep);
  }
}

.service-badge {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.3em 0.85em;
  border-radius: 50px;
  background: var(--terracotta);
  color: var(--cream);
  display: inline-block;
  align-self: flex-start;
}
.service-card.featured .service-badge {
  background: rgba(255,255,255,0.9);
  color: var(--ink);
}

.service-name {
  font-size: clamp(1.05rem, 1.4vw + 0.3rem, 1.3rem);
  font-weight: 500;
  color: var(--ink);
}
.service-card.featured .service-name { color: var(--white); }

.service-duration {
  font-family: var(--f-body);
  font-size: 0.88rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.service-card.featured .service-duration { color: rgba(255,255,255,0.75); }
.service-duration::before {
  content: '—';
  font-size: 0.7em;
}

.service-price {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 2.2vw + 0.5rem, 2.2rem);
  font-weight: 500;
  color: var(--terracotta);
  line-height: 1;
}
.service-card.featured .service-price { color: var(--white); }

.service-desc {
  font-family: var(--f-body);
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.65;
  flex: 1;
}
.service-card.featured .service-desc { color: rgba(255,255,255,0.8); }

.service-includes {
  font-family: var(--f-body);
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.service-includes li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--ink-soft);
}
.service-card.featured .service-includes li { color: rgba(255,255,255,0.8); }
.service-includes li::before {
  content: '✓';
  color: var(--sage-deep);
  font-size: 0.75em;
  flex-shrink: 0;
}
.service-card.featured .service-includes li::before { color: rgba(255,255,255,0.9); }

/* Testimonial Cards */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.testimonial-mark {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 3.5rem;
  line-height: 0.6;
  color: var(--terracotta);
  opacity: 0.35;
  display: block;
}

.testimonial-quote {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(0.95rem, 1vw + 0.3rem, 1.05rem);
  line-height: 1.7;
  color: var(--ink-soft);
}
.testimonial-quote + .testimonial-quote { margin-top: 0.9rem; }
.testimonial-quote strong {
  font-style: normal;
  font-weight: 600;
  color: var(--earth);
  letter-spacing: 0.02em;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--cream-dark);
  margin-top: auto;
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--rose-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--terracotta);
  flex-shrink: 0;
  overflow: hidden;
}
.testimonial-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.2;
}
.testimonial-meta {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* Pillar / Method Cards */
.pillar-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
@media (hover: hover) {
  .pillar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(61, 53, 48, 0.07);
  }
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pillar-icon.icon-sage { background: rgba(168, 181, 160, 0.2); }
.pillar-icon.icon-rose { background: var(--rose); }
.pillar-icon.icon-sky  { background: rgba(200, 217, 224, 0.3); }

.pillar-name {
  font-size: clamp(1rem, 1.3vw + 0.2rem, 1.2rem);
  font-weight: 500;
}
.pillar-desc {
  font-family: var(--f-body);
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* FAQ Accordion */
.faq-list { display: flex; flex-direction: column; }

.faq-item { border-bottom: 1px solid var(--cream-dark); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  text-align: left;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: clamp(0.93rem, 1vw + 0.3rem, 1.02rem);
  color: var(--ink);
  cursor: pointer;
  background: none;
  border: none;
  gap: 1rem;
  line-height: 1.4;
  transition: color 0.2s;
}
@media (hover: hover) {
  .faq-question:hover { color: var(--terracotta); }
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  font-size: 1.1rem;
  font-weight: 300;
  transition:
    transform 0.32s var(--ease-out),
    background 0.28s var(--ease-out),
    border-color 0.28s var(--ease-out),
    color 0.28s var(--ease-out);
  line-height: 1;
}
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--cream);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.42s var(--ease-out);
}
.faq-answer-inner {
  padding-bottom: 1.25rem;
  font-family: var(--f-body);
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* Forms */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-label {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}
.form-input,
.form-select,
.form-textarea {
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--cream-dark);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  width: 100%;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(196, 137, 107, 0.12);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--ink-soft); opacity: 0.5; }
.form-textarea { resize: vertical; min-height: 130px; }
.form-select {
  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='%235C5249' 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;
  cursor: pointer;
}
.form-success {
  display: none;
  padding: 1rem 1.25rem;
  background: rgba(168, 181, 160, 0.15);
  border-radius: 12px;
  border: 1px solid var(--sage);
  color: var(--sage-deep);
  font-family: var(--f-body);
  font-size: 0.95rem;
}
.form-success.is-visible { display: block; }

/* Decorative circles — disabled for a cleaner, more elegant look */
.deco-circle {
  display: none !important;
}

/* =============================================================
   6. NAVIGATION
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition:
    background 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    backdrop-filter 0.3s;
  padding-block: 1rem;
}
.nav.is-scrolled {
  background: rgba(245, 239, 230, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(61, 53, 48, 0.07);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.nav-logo-name {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 1.1vw + 0.3rem, 1.15rem);
  line-height: 1.15;
  color: var(--ink);
}
.nav-logo-tagline {
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-soft);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.1rem;
}
.nav-link {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.93rem;
  color: var(--ink);
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  display: block;
  transition: background 0.2s, color 0.2s;
}
@media (hover: hover) {
  .nav-link:hover {
    background: rgba(196, 137, 107, 0.08);
    color: var(--terracotta);
  }
}
.nav-link.is-active { color: var(--terracotta); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.nav-cta {
  font-size: clamp(11px, 0.7rem + 0.2vw, 13px);
  padding: 0.6em 1.2em;
}

.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.35rem;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.25s;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(61, 53, 48, 0.35);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }

.nav-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 100vw);
  height: 100%;
  background: var(--cream);
  z-index: 999;
  padding: 5.5rem var(--gutter) 2.5rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: -4px 0 32px rgba(61,53,48,0.12);
}
.nav-drawer.is-open { transform: translateX(0); }

.nav-drawer-link {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 5vw, 1.7rem);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--cream-dark);
  display: block;
  color: var(--ink);
  transition: color 0.2s, padding-left 0.2s;
}
@media (hover: hover) {
  .nav-drawer-link:hover {
    color: var(--terracotta);
    padding-left: 0.5rem;
  }
}
.nav-drawer-cta {
  margin-top: 2rem;
  width: 100%;
  justify-content: center;
}

/* =============================================================
   7. SECTIONS
   ============================================================= */

/* HERO */
.hero {
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
  background: #F2EBE0;
}
.hero-deco-1 {
  width: clamp(300px, 42vw, 620px);
  height: clamp(300px, 42vw, 620px);
  background: var(--terracotta);
  opacity: 0.07;
  top: -15%;
  right: -12%;
}
.hero-deco-2 {
  width: clamp(120px, 18vw, 280px);
  height: clamp(120px, 18vw, 280px);
  background: var(--rose-deep);
  opacity: 0.4;
  bottom: 8%;
  left: -6%;
}
.hero-deco-3 {
  width: clamp(80px, 10vw, 160px);
  height: clamp(80px, 10vw, 160px);
  background: var(--sage);
  opacity: 0.2;
  top: 30%;
  left: 40%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.hero-title {
  font-size: clamp(2.8rem, 5.5vw + 0.8rem, 5.5rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.02em;
}
.hero-title em { font-style: italic; }

.hero-subtitle {
  font-family: var(--f-body);
  font-size: clamp(1rem, 1.1vw + 0.4rem, 1.15rem);
  color: var(--ink-soft);
  max-width: 50ch;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.hero-trust {
  font-family: var(--f-body);
  font-size: 0.82rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.hero-trust::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--sage);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3/4;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.95);
}
.hero-photo::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 24px;
  border: 1px solid rgba(138, 155, 130, 0.18);
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(245, 239, 230, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(61,53,48,0.1);
}
.hero-badge-dot {
  width: 9px; height: 9px;
  background: var(--sage);
  border-radius: 50%;
  flex-shrink: 0;
  animation: heroPulse 2.5s ease-in-out infinite;
}
@keyframes heroPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.65; }
}
.hero-badge-text {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--ink);
  line-height: 1.2;
}
.hero-badge-sub {
  font-size: 0.68rem;
  color: var(--ink-soft);
}

/* BIO */
.bio {
  background: #A5B89B;
  padding-block: var(--section-pad);
  position: relative;
  overflow: hidden;
}
.bio-deco-1 {
  width: 400px; height: 400px;
  background: var(--rose-deep);
  opacity: 0.45;
  top: -12%;
  right: -10%;
}
.bio-deco-2 {
  width: 200px; height: 200px;
  background: var(--terracotta);
  opacity: 0.07;
  bottom: 5%;
  left: 30%;
}
.bio-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.bio-photo {
  border-radius: 24px;
  overflow: hidden;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3/4;
  margin: 0 auto;
  flex-shrink: 0;
}
.bio-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9);
}
.bio-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.bio-title {
  font-size: clamp(2rem, 3vw + 0.8rem, 3.5rem);
  font-weight: 500;
}
.bio-title em { font-style: italic; }
.bio-text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.bio-text p {
  font-family: var(--f-body);
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem);
  color: var(--ink-soft);
  line-height: 1.8;
}

/* METHOD */
.method {
  padding-block: var(--section-pad);
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.method-deco-1 {
  width: 500px; height: 500px;
  background: var(--sage);
  opacity: 0.08;
  bottom: -20%;
  left: -10%;
}
.method-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.method-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .method-grid { grid-template-columns: repeat(2, 1fr); }
}

/* SERVICES */
.services {
  padding-block: var(--section-pad);
  background: var(--cream-dark);
  position: relative;
  overflow: hidden;
}
.services-deco-1 {
  width: 420px; height: 420px;
  background: var(--terracotta);
  opacity: 0.055;
  top: -12%;
  right: -8%;
}
.services-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.services-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* TESTIMONIALS */
.testimonials {
  padding-block: var(--section-pad);
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.testimonials-deco-1 {
  width: 360px; height: 360px;
  background: var(--rose);
  opacity: 0.6;
  bottom: -12%;
  right: -8%;
}
.testimonials-deco-2 {
  width: 200px; height: 200px;
  background: var(--rose-deep);
  opacity: 0.4;
  top: 10%;
  left: -5%;
}
.testimonials-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.testimonials-grid {
  column-count: 1;
  column-gap: 1.25rem;
}
.testimonials-grid .testimonial-card {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 1.25rem;
  display: block;
}
@media (min-width: 720px) {
  .testimonials-grid { column-count: 2; }
}
@media (min-width: 1100px) {
  .testimonials-grid { column-count: 3; }
}

/* BLOG */
.blog-preview {
  padding-block: var(--section-pad);
  background: var(--cream-dark);
  position: relative;
  overflow: hidden;
}
.blog-preview-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.blog-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
@media (hover: hover) {
  .blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(61, 53, 48, 0.08);
  }
}
.blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
  filter: saturate(0.9);
}
@media (hover: hover) {
  .blog-card:hover .blog-card-img img { transform: scale(1.04); }
}
.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.blog-card-cat {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--terracotta);
}
.blog-card-title {
  font-size: clamp(1rem, 1.2vw + 0.3rem, 1.15rem);
  font-weight: 500;
  line-height: 1.3;
}
.blog-card-excerpt {
  font-family: var(--f-body);
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTA NEWSLETTER */
.cta-newsletter {
  padding-block: var(--section-pad);
  background: var(--earth);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-newsletter-deco-1 {
  width: 450px; height: 450px;
  background: var(--white);
  opacity: 0.05;
  top: -25%;
  left: -8%;
}
.cta-newsletter-deco-2 {
  width: 320px; height: 320px;
  background: var(--white);
  opacity: 0.05;
  bottom: -20%;
  right: -6%;
}
.cta-newsletter-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 700px;
  margin-inline: auto;
}
.cta-newsletter-title {
  font-size: clamp(2rem, 3.5vw + 0.8rem, 3.5rem);
  color: var(--cream);
  font-weight: 500;
  line-height: 1.1;
}
.cta-newsletter-title em { font-style: italic; }
.cta-newsletter-text {
  font-family: var(--f-body);
  color: rgba(245, 239, 230, 0.85);
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem);
  line-height: 1.7;
  max-width: 55ch;
}
.newsletter-form {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  max-width: 460px;
  flex-wrap: wrap;
}
.newsletter-form .form-input {
  flex: 1;
  min-width: 180px;
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  color: var(--cream);
  border-radius: 50px;
}
.newsletter-form .form-input::placeholder { color: rgba(245,239,230,0.55); }
.newsletter-form .form-input:focus {
  border-color: var(--cream);
  box-shadow: 0 0 0 3px rgba(245,239,230,0.15);
}
.cta-divider {
  font-family: var(--f-body);
  color: rgba(245,239,230,0.55);
  font-size: 0.88rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

/* FOOTER */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding-block: clamp(3rem, 6vw, 5rem);
}
.footer-inner {
  display: grid;
  gap: 3rem;
}
.footer-logo-text {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--cream);
  display: block;
  margin-bottom: 0.5rem;
}
.footer-tagline {
  font-family: var(--f-body);
  font-size: 0.88rem;
  color: rgba(245,239,230,0.55);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}
.footer-colegiada {
  font-family: var(--f-body);
  font-size: 0.75rem;
  color: rgba(245,239,230,0.3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.footer-col-title {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(245,239,230,0.35);
  margin-bottom: 1rem;
  display: block;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.footer-link {
  font-family: var(--f-body);
  font-size: 0.92rem;
  color: rgba(245,239,230,0.7);
  transition: color 0.2s;
}
@media (hover: hover) {
  .footer-link:hover { color: var(--cream); }
}
.footer-social-link {
  font-family: var(--f-body);
  font-size: 0.92rem;
  color: rgba(245,239,230,0.7);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
  margin-bottom: 0.45rem;
}
@media (hover: hover) {
  .footer-social-link:hover { color: var(--cream); }
}
.footer-legal {
  font-size: 0.78rem;
  color: rgba(245,239,230,0.28);
  margin-top: 1rem;
  line-height: 1.5;
  display: block;
}
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245,239,230,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-family: var(--f-body);
  font-size: 0.8rem;
  color: rgba(245,239,230,0.3);
}

/* PAGE HERO (sub-pages) */
.page-hero {
  padding-top: 9rem;
  padding-bottom: 4rem;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.page-hero-deco {
  width: 500px; height: 500px;
  background: var(--terracotta);
  opacity: 0.06;
  top: -20%;
  right: -10%;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 700px;
}
.page-hero-title {
  font-size: clamp(2.5rem, 5vw + 0.5rem, 4.5rem);
  font-weight: 400;
  line-height: 1.0;
}
.page-hero-title em { font-style: italic; }
.page-hero-sub {
  font-family: var(--f-body);
  font-size: clamp(1rem, 1.1vw + 0.4rem, 1.15rem);
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 52ch;
}

/* Cal.com embed wrapper */
.cal-wrapper {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 600px;
  border: 1px solid var(--cream-dark);
}

/* Reservar page alternativa form */
.booking-form-section {
  padding-block: var(--section-pad);
  background: var(--cream);
}
.booking-form-wrap {
  display: grid;
  gap: 3rem;
  align-items: start;
}
.booking-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.booking-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.booking-step-num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--terracotta);
  opacity: 0.4;
  line-height: 1;
  flex-shrink: 0;
  width: 2rem;
}
.booking-step-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.booking-step-title {
  font-weight: 600;
  font-size: 0.95rem;
}
.booking-step-desc {
  font-family: var(--f-body);
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Contacto page */
.contact-section {
  padding-block: var(--section-pad);
  background: var(--cream);
}
.contact-grid {
  display: grid;
  gap: 4rem;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  width: 40px; height: 40px;
  background: var(--rose);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-label {
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 0.25rem;
}
.contact-value {
  font-family: var(--f-body);
  font-size: 0.97rem;
  color: var(--ink);
}
.contact-value a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Sobre mi page */
.about-philosophy {
  padding-block: var(--section-pad);
  background: var(--cream-dark);
}
.philosophy-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 3rem;
}
.philosophy-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.philosophy-num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 2.5rem;
  color: var(--terracotta);
  opacity: 0.25;
  line-height: 1;
}
.philosophy-title {
  font-size: 1.1rem;
  font-weight: 500;
}
.philosophy-desc {
  font-family: var(--f-body);
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.about-formation {
  padding-block: var(--section-pad);
  background: var(--cream);
}
.formation-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2.5rem;
}
.formation-item {
  display: flex;
  gap: 1.5rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--cream-dark);
  align-items: flex-start;
}
.formation-year {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--terracotta);
  min-width: 4.5rem;
  flex-shrink: 0;
}
.formation-title {
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.3;
}
.formation-inst {
  font-family: var(--f-body);
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.2rem;
}

/* =============================================================
   8. SCROLL REVEALS
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s var(--ease-out),
    transform 0.65s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Defensive: elements with data-split must never be invisible */
.reveal[data-split] { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* =============================================================
   9. RESPONSIVE
   ============================================================= */
@media (min-width: 540px) {
  .hero-photo { max-width: 280px; }
}

@media (min-width: 720px) {
  .hero-inner {
    grid-template-columns: 1fr auto;
    gap: clamp(2rem, 5vw, 4rem);
  }
  .hero-photo { max-width: 320px; }

  .bio-inner {
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: center;
  }
  .bio-photo { max-width: 300px; margin: 0; }

  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1fr;
    align-items: start;
  }

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

  .booking-form-wrap {
    grid-template-columns: 1fr 1.4fr;
  }
  .contact-grid {
    grid-template-columns: 1fr 1.5fr;
  }
}

@media (min-width: 960px) {
  .hero-photo { max-width: min(380px, 36vw); }
  .bio-photo   { max-width: min(330px, 32vw); }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .hero-photo { max-width: min(400px, 32vw); }
}

/* =============================================================
   10. REDUCED-MOTION (intrusive only, NOT micro-interactions)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-badge-dot { animation: none; }
}
