/*
  THESIS: A calm multi-care centre under one roof — not a spa brochure, not a clinic portal.
  OWN-WORLD: Ultramarine ink on cool paper, soft serenity blue, single violet accent for care.
  STORY: Visitor trusts Laura's team, picks a path (therapy / body / school), books via app.
  FIRST VIEWPORT: Quiet form header + photo; primary CTA "Pedir cita".
  FORM: clinical chart / consultation note · responsive-first · seed centro-2026-07
*/
:root {
  --ultramarino: #113758;
  --ultra-deep: #0a2438;
  --ultra-soft: #35597e;
  --serenity: #92a5c0;
  --serenity-50: #f5f8fb;
  --serenity-100: #e3eaf2;
  --verde: #a8bfa5;
  --purple: #8453A6;
  --purple-soft: #efe9f4;
  --ink: #113758;
  --ink-2: #48617c;
  --muted: #7d90a6;
  --line: #e7edf3;
  --line-2: #d9e2eb;
  --paper: #f7f5fb;
  --raised: #ffffff;
  --shadow-sm: 0 1px 2px rgba(17, 55, 88, 0.05), 0 1px 3px rgba(17, 55, 88, 0.04);
  --shadow: 0 8px 28px rgba(17, 55, 88, 0.08), 0 2px 8px rgba(17, 55, 88, 0.04);
  --r: 12px;
  --r-sm: 8px;
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.page {
  min-height: 100vh;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--paper);
}

.wrap {
  max-width: 1120px;
  width: 100%;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 28px);
  min-width: 0;
  box-sizing: border-box;
  overflow-x: clip;
}

.form-edge {
  height: 5px;
  background: linear-gradient(90deg, var(--ultramarino) 0%, var(--purple) 100%);
}

/* helpers */
.fx { display: flex; }
.ac { align-items: center; }
.gap8 { gap: 8px; }
.gap12 { gap: 12px; }

section[id] { scroll-margin-top: 88px; }

/* type */
.h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw + 0.4rem, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 16px 0 16px;
  max-width: min(16ch, 100%);
  overflow-wrap: anywhere;
  color: var(--ink);
}
.h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--purple);
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  overflow-wrap: anywhere;
}
.h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.01em;
}
.lead {
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.15rem);
  color: var(--ink-2);
  margin: 0;
  max-width: min(38ch, 100%);
  overflow-wrap: anywhere;
}
.sub {
  margin: 12px 0 0;
  color: var(--ink-2);
  font-size: 1.05rem;
  max-width: min(42ch, 100%);
}
.p { margin: 0; color: var(--ink-2); font-size: 0.98rem; line-height: 1.55; }

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 8px;
}

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 251, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.nav.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
}
.nav-in {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  padding-block: 12px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.nav-logo {
  height: 32px;
  width: auto;
  max-width: min(200px, 52vw);
  object-fit: contain;
  object-position: left center;
}
.nav-brand { flex: 0 0 auto; line-height: 0; min-width: 0; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 8px 22px;
  min-width: 0;
  margin-left: auto;
  font-size: 15px;
  color: var(--ink-2);
  font-weight: 600;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { flex: 0 0 auto; }
.nav-toggle {
  display: none;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0 18px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav:not([hidden]) { display: flex; }
.mobile-nav a {
  font-weight: 600;
  font-size: 16px;
  padding: 12px 4px;
  color: var(--ink);
}
.mobile-nav a.cta {
  background: var(--ultramarino);
  color: #fff;
  text-align: center;
  border-radius: 999px;
  margin-top: 8px;
  padding: 14px;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  box-sizing: border-box;
}
.btn:focus-visible {
  outline: 2px solid var(--ultramarino);
  outline-offset: 3px;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-brand { background: var(--ultramarino); color: #fff; }
.btn-brand:hover { background: var(--ultra-soft); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--ultramarino); color: var(--ultramarino); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--serenity-50); color: var(--ink); }

/* hero */
.hero {
  padding: clamp(36px, 6vw, 64px) 0 clamp(48px, 7vw, 80px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  min-width: 0;
  width: 100%;
}
.hero-grid > * { min-width: 0; max-width: 100%; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
  background: var(--purple-soft);
  padding: 7px 14px;
  border-radius: 999px;
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
  flex: none;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-2);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.meta .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--serenity);
  flex: none;
}

.shot {
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--serenity-100);
  min-width: 0;
}
.shot img {
  width: 100%;
  aspect-ratio: 5 / 4.4;
  object-fit: cover;
}

/* sections */
.section { padding: clamp(48px, 7vw, 80px) 0; }
.section.alt { background: var(--raised); }
.head { max-width: 36rem; margin-bottom: 32px; min-width: 0; }

/* stages (therapy ages) — photo cards with room for larger imagery */
.stages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 22px);
  min-width: 0;
}
.stage {
  display: flex;
  flex-direction: column;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  min-width: 0;
  padding: 0;
  box-shadow: var(--shadow-sm);
}
.section.alt .stage { background: var(--raised); }
.stage-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--serenity-100);
  overflow: hidden;
  flex: 0 0 auto;
}
.stage-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.stage-body {
  padding: 18px 20px 20px;
  min-width: 0;
}
.stage .h3 { margin-bottom: 8px; }
.stage .p { margin: 0; }
.stage .more {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--purple);
}
/* keep old icon classes harmless if reused elsewhere */
.stage .ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--serenity-100);
  color: var(--ultramarino);
  margin-bottom: 14px;
}
.stage .ic-verde { background: #e8f2e6; color: #3d6b45; }
.stage .ic-purple { background: var(--purple-soft); color: var(--purple); }
.stage .ic-warm { background: #f7efe3; color: #a06820; }

/* services list */
.svcs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}
.svc {
  position: relative;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 20px 20px;
  min-width: 0;
  overflow: hidden;
}
.svc .bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}
.svc .tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.svc .h3 { margin-bottom: 8px; }
.svc-new .badge-new {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ultramarino);
  background: var(--serenity-100);
  padding: 4px 8px;
  border-radius: 999px;
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  min-width: 0;
}
.step { min-width: 0; }
.step .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 12px;
}
.step .h3 { margin-bottom: 8px; }

/* centro split */
.space {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  min-width: 0;
}
.gal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  min-height: 280px;
  min-width: 0;
}
.slot {
  background: var(--serenity-100);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  min-width: 0;
}
.slot-tall {
  grid-row: 1 / span 2;
  background: linear-gradient(160deg, var(--serenity-100), #dfe8f2);
}

/* team */
.team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}
.person {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  min-width: 0;
}
.section.alt .person { background: var(--paper); }
.person .ph {
  aspect-ratio: 4 / 3;
  background: var(--serenity-100);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
}
.person .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.person .pbody { padding: 16px 18px 18px; }
.person .role {
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
  margin: 4px 0 10px;
}

/* camps band */
.camps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  background: linear-gradient(120deg, var(--ultramarino) 0%, #2a4a6e 55%, var(--purple) 100%);
  color: #fff;
  border-radius: 16px;
  padding: clamp(28px, 4vw, 40px);
  min-width: 0;
}
.camps .h2 { color: #fff; }
.camps-p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.88);
  max-width: 40ch;
  font-size: 1.02rem;
}

/* contact */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  min-width: 0;
}
.dt {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 18px 0 4px;
}
.dt:first-of-type { margin-top: 14px; }
.dd { font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.dd a:hover { color: var(--purple); }

.card-cta {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}
.section.alt .card-cta { background: var(--paper); }

/* sister + footer */
.sister-band { padding: 0 0 40px; }
.sister-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #2a0a10;
  color: #fff;
  border-radius: 14px;
  padding: clamp(20px, 3vw, 28px) clamp(18px, 3vw, 30px);
  min-width: 0;
}
.sister-card .txt { min-width: 0; flex: 1 1 220px; }
.sister-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.15;
}
.sister-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  max-width: 40ch;
}
.sister-card .go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: #46090f;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.foot {
  background: var(--ultra-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 36px 0 40px;
  font-size: 14.5px;
  line-height: 1.6;
}
.foot a { color: rgba(255, 255, 255, 0.9); }
.foot a:hover { color: #fff; }
.foot .lnk-muted { color: rgba(255, 255, 255, 0.55); }
.foot .lnk-muted:hover { color: rgba(255, 255, 255, 0.85); }

/* responsive */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 920px) {
  .hero-grid,
  .space,
  .contact { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 28px 0 48px; }
  .h1 { max-width: 100%; }
  .svcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .gal { min-height: 220px; }
}

@media (max-width: 640px) {
  .stages,
  .svcs { grid-template-columns: minmax(0, 1fr); }
  .stage-media { aspect-ratio: 16 / 11; }
  .hero .fx { flex-direction: column; align-items: stretch; }
  .hero .btn,
  .camps .btn,
  .card-cta .btn,
  .sister-card .go { width: 100%; max-width: 100%; white-space: normal; }
  .meta { flex-direction: column; align-items: flex-start; gap: 8px; }
  .camps { flex-direction: column; align-items: stretch; }
  .sister-card { flex-direction: column; align-items: stretch; }
  .section { padding: 44px 0; }
}

@media (max-width: 380px) {
  .eyebrow { font-size: 12px; padding: 6px 12px; }
  .h1 { font-size: 1.75rem; }
}
