/* ============================================================
   Tera Pareja · ESA Therapy
   Warm & organic - earthy tones, calming, type-forward.
   Recreated from the Claude Design "Concept A" full-site export.
   ============================================================ */

:root {
  /* surfaces */
  --cream:        #f4f1ec;
  --cream-2:      #ece6dc;
  --card:         #faf8f4;
  --slate:        #2c424d;
  --teal:         #34525f;

  /* text */
  --ink:          #2a2622;
  --body:         #5c554c;
  --muted:        #8a8174;
  --muted-2:      #928a7c;

  /* accents */
  --terra:        #bd7a4f;
  --terra-dark:   #a8693f;
  --tan:          #d4a373;
  --tan-light:    #e0b485;

  /* lines */
  --line:         #e6dfd3;
  --line-input:   #ddd4c5;
  --line-faq:     #d8d0c2;
  --line-under:   #cdbfa6;

  /* on-dark text */
  --on-dark:      #f6f1e9;
  --on-dark-body: #cdd6da;

  --serif: 'Newsreader', Georgia, serif;
  --sans:  'Hanken Grotesk', system-ui, sans-serif;

  --maxw: 1180px;
  --pad-x: 56px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---- shared bits ---- */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow-terra { color: var(--terra); }
.eyebrow-teal  { color: var(--teal); margin-bottom: 24px; }
.eyebrow-tan   { color: var(--tan); }

.section {
  padding: 96px var(--pad-x);
}
.section-cream   { background: var(--cream); }
.section-cream-2 { background: var(--cream-2); }
.section-slate   { background: var(--slate); color: #e9eef0; }

.section-head { max-width: 640px; margin-bottom: 54px; }
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
.section-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  margin: 14px 0 0;
}

/* limit inner content to the design's 1180px frame, centered */
.site-header > .header-inner,
.hero,
.trust-strip,
.section > *,
.about,
.cta-band,
.footer-top,
.footer-legal {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}
.section > * { max-width: calc(var(--maxw) - (2 * var(--pad-x))); }

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 100px;
  font-family: var(--sans);
  font-weight: 600;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn-primary { background: var(--terra); color: #fdfaf5; }
.btn-primary:hover { background: var(--terra-dark); }
.btn-sm  { font-size: 14.5px; padding: 12px 22px; }
.btn-lg  { font-size: 17px; padding: 18px 34px; box-shadow: 0 10px 24px rgba(189,122,79,.28); }
.btn-block { width: 100%; padding: 16px; font-size: 16px; }

.btn-tan { background: var(--tan); color: var(--slate); font-weight: 700; }
.btn-tan:hover { background: var(--tan-light); }

.btn-outline {
  border: 1.5px solid var(--terra);
  color: var(--terra-dark);
  background: transparent;
  font-weight: 600;
}
.btn-outline:hover { background: #f3e7d9; }

.btn-cta-band {
  background: #fdfaf5;
  color: var(--terra-dark);
  font-weight: 700;
  font-size: 17px;
  padding: 18px 38px;
  white-space: nowrap;
}
.btn-cta-band:hover { background: #fff; }

.link-underline {
  font-size: 15px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1.5px solid var(--line-under);
  padding-bottom: 2px;
}
.link-underline:hover { color: var(--terra-dark); }
.link-underline-inline {
  color: var(--terra-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--line-under);
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244,241,236,.9);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad-x);
}
.brand { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.brand-name {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}
.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav > a:not(.btn) {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
  transition: color .15s ease;
}
.primary-nav > a:not(.btn):hover { color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ============ HERO ============ */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 600px;
}
.hero-copy {
  padding: 84px var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: fadeUp .7s ease both;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 66px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 24px;
}
.hero-title em { font-style: italic; color: var(--terra-dark); }
.hero-lede {
  font-size: 18px;
  line-height: 1.62;
  color: var(--body);
  margin: 0 0 34px;
  max-width: 34ch;
}
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-rating { margin-top: 38px; font-size: 13.5px; color: var(--muted-2); }

.hero-media,
.about-media {
  position: relative;
  background: repeating-linear-gradient(135deg, #e7dfd1 0 16px, #efe8db 16px 32px);
}
.hero-photo,
.about-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-tag {
  position: absolute;
  inset: 0;
  margin: auto;
  width: max-content;
  height: max-content;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #8a8073;
  background: rgba(255,255,255,.72);
  padding: 7px 12px;
  border-radius: 4px;
}
.hero-badge {
  position: absolute;
  left: -34px;
  bottom: 60px;
  background: var(--teal);
  color: var(--cream);
  padding: 16px 22px;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(40,65,75,.3);
  animation: floaty 6s ease-in-out infinite;
}
.hero-badge-num { font-family: var(--serif); font-size: 26px; line-height: 1; }
.hero-badge-label { font-size: 11.5px; letter-spacing: 0.04em; opacity: .85; margin-top: 5px; }

/* ============ TRUST STRIP ============ */
.trust-strip {
  display: flex;
  justify-content: center;
  gap: 46px;
  flex-wrap: wrap;
  padding: 22px var(--pad-x);
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-strip span { font-size: 14px; font-weight: 500; color: var(--body); }
/* trust strip spans full width visually; keep inner items centered */
.trust-strip { max-width: none; }

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 32px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(42,38,34,.08); }
.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 24px;
}
.icon-teal  { background: #e6efe9; color: var(--teal); }
.icon-terra { background: #f3e7d9; color: var(--terra-dark); }
.card-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 23px;
  color: var(--ink);
  margin: 0 0 12px;
}
.card-text { font-size: 15px; line-height: 1.6; color: var(--body); margin: 0; }

/* ============ HOW IT WORKS ============ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step { border-top: 2px solid var(--tan); padding-top: 22px; }
.step-num {
  font-family: var(--serif);
  font-size: 34px;
  color: var(--terra);
  line-height: 1;
  margin-bottom: 16px;
}
.step-title { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0 0 9px; }
.step-text { font-size: 14.5px; line-height: 1.58; color: var(--body); margin: 0; }

/* ============ ABOUT ============ */
.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--cream);
}
.about-media { min-height: 520px; }
.about-copy {
  padding: 84px var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 22px;
}
.about-text { font-size: 16.5px; line-height: 1.66; color: var(--body); margin: 0 0 18px; }
.about-text:nth-of-type(2) { margin-bottom: 30px; }
.about-facts { display: flex; gap: 36px; flex-wrap: wrap; }
.fact-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}
.fact-value { font-size: 15px; color: var(--body); }

/* ============ ELIGIBILITY ============ */
.eligibility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.eligibility-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--on-dark);
  margin: 0 0 24px;
}
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list li > span:last-child { font-size: 16px; line-height: 1.55; color: var(--on-dark-body); }
.check { color: var(--tan); font-size: 18px; line-height: 1.4; }
.info-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 38px 36px;
}
.info-card-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  color: var(--on-dark);
  margin: 0 0 20px;
}
.info-card-text { font-size: 15px; line-height: 1.62; color: var(--on-dark-body); margin: 0 0 16px; }
.info-card-text:last-child { margin-bottom: 0; }
.info-card-text strong { color: var(--on-dark); }

/* ============ CTA BAND ============ */
.cta-band {
  padding: 72px var(--pad-x);
  background: var(--terra);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band { max-width: none; }
.cta-band > div, .cta-band > a { max-width: var(--maxw); }
.cta-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 38px;
  line-height: 1.1;
  color: #fdfaf5;
  margin: 0 0 8px;
}
.cta-text { font-size: 16px; color: #fbeede; margin: 0; }

/* ============ PRICING ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: 340px 340px;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
  padding-top: 10px; /* room for featured card lift */
}
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
}
.price-card-featured {
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 20px 44px rgba(44,66,77,.26);
  transform: translateY(-10px);
}
.price-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.price-tier {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.price-tier-tan { color: var(--tan); }
.price-tier-muted { color: var(--muted); margin-bottom: 18px; }
.price-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  background: var(--tan);
  padding: 4px 10px;
  border-radius: 100px;
}
.price-amount {
  font-family: var(--serif);
  font-size: 48px;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}
.price-amount-light { color: var(--on-dark); }
.price-period { font-size: 14px; color: var(--muted-2); margin-bottom: 26px; }
.price-period-light { color: #aebdc4; }
.price-desc { font-size: 14.5px; line-height: 1.6; color: var(--body); margin: 0 0 28px; flex: 1; }
.price-desc-light { color: var(--on-dark-body); }
.price-btn { width: 100%; padding: 14px; font-size: 15px; }
.price-card .btn-outline.price-btn { padding: 13px; }

/* ============ FAQ ============ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.faq-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 16px;
}
.faq-sub { font-size: 15.5px; line-height: 1.6; color: var(--body); margin: 0; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line-faq); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 24px 4px;
  text-align: left;
  font-family: var(--sans);
}
.faq-q-text { font-size: 17.5px; font-weight: 600; color: var(--ink); }
.faq-sign { font-family: var(--serif); font-size: 26px; color: var(--terra); line-height: 1; flex: none; }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
}
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { font-size: 15.5px; line-height: 1.64; color: var(--body); margin: 0; padding: 0 4px 26px; }

/* ============ BOOKING ============ */
.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.book-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 22px;
}
.book-text { font-size: 17px; line-height: 1.64; color: var(--body); margin: 0 0 34px; max-width: 42ch; }
.contact-list { display: flex; flex-direction: column; gap: 18px; }
.contact-item { display: flex; gap: 14px; align-items: center; }
.contact-item a { font-size: 15.5px; color: var(--body); text-decoration: none; }
.contact-item a:hover { color: var(--terra-dark); }
.contact-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex: none;
}

.scheduler-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 12px;
  box-shadow: 0 16px 40px rgba(42,38,34,.06);
  overflow: hidden;
}
.calendly-embed { min-width: 280px; height: 700px; border-radius: 14px; overflow: hidden; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* Placeholder shown until a real Calendly URL is configured (demo mode) */
.scheduler-placeholder {
  height: 676px;
  border-radius: 14px;
  background: repeating-linear-gradient(135deg, #e7dfd1 0 16px, #efe8db 16px 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.scheduler-placeholder-inner {
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 28px;
  max-width: 360px;
  text-align: center;
}
.scheduler-placeholder-inner .sp-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: #e6efe9;
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin: 0 auto 18px;
}
.scheduler-placeholder-inner h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 10px;
}
.scheduler-placeholder-inner p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
  margin: 0;
}
.scheduler-placeholder-inner code {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12.5px;
  background: #f3ece0;
  border: 1px solid var(--line-input);
  border-radius: 6px;
  padding: 2px 6px;
  color: var(--terra-dark);
}
.scheduler-placeholder-inner a {
  color: var(--terra-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--line-under);
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--slate);
  color: #aebdc4;
  padding: 56px var(--pad-x) 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand { font-family: var(--serif); font-size: 24px; color: var(--on-dark); margin-bottom: 8px; }
.footer-sub { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: #8aa0a8; }
.footer-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--on-dark-body); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-cta { color: var(--tan) !important; font-weight: 600; }
.footer-legal {
  font-size: 12px;
  line-height: 1.6;
  color: #7e929a;
  margin: 24px auto 0;
  max-width: 78ch;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  :root { --pad-x: 40px; }
  .hero-title { font-size: 54px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  :root { --pad-x: 32px; }

  /* mobile nav */
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--pad-x) 20px;
    box-shadow: 0 16px 30px rgba(42,38,34,.08);
    display: none;
  }
  .primary-nav.open { display: flex; }
  .primary-nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 14px; }
  .header-inner { position: relative; }

  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 56px var(--pad-x); }
  .hero-title { font-size: 48px; }
  .hero-media { min-height: 320px; }
  .hero-badge { left: auto; right: 24px; bottom: 24px; }

  .section { padding: 72px var(--pad-x); }
  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }

  .about { grid-template-columns: 1fr; }
  .about-media { min-height: 300px; order: -1; }
  .about-copy { padding: 56px var(--pad-x); }

  .eligibility-grid { grid-template-columns: 1fr; gap: 36px; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .book-grid { grid-template-columns: 1fr; gap: 40px; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .price-card-featured { transform: none; }

  .section-title { font-size: 36px; }
  .trust-strip { gap: 20px 32px; }
}

@media (max-width: 480px) {
  :root { --pad-x: 22px; }
  .hero-title { font-size: 38px; }
  .section-title, .about-title, .eligibility-title, .faq-title { font-size: 30px; }
  .book-title { font-size: 36px; }
  .steps-grid { grid-template-columns: 1fr; }
  .scheduler-card { padding: 8px; }
  .calendly-embed, .scheduler-placeholder { height: 640px; }
  .cta-title { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .faq-a { transition: none; }
}
