:root {
  --forest: #15372f;
  --forest-deep: #0c2822;
  --cream: #fff8ed;
  --paper: #f6efe4;
  --ink: #18201e;
  --muted: #6d746f;
  --orange: #ff6233;
  --line: rgba(24, 32, 30, 0.15);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: 1rem;
  padding: 0.75rem 1rem;
  color: white;
  background: var(--forest-deep);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  height: 5.5rem;
  padding: 0 3.5vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--cream);
}

.brand, .site-footer > div {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-family: var(--serif);
  font-size: 0.8rem;
  letter-spacing: -0.03em;
}
.main-nav { display: flex; gap: 2rem; }
.main-nav a, .header-contact {
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.main-nav a { opacity: 0.8; }
.main-nav a:hover, .main-nav a:focus-visible { opacity: 1; }
.header-contact { justify-self: end; border-bottom: 1px solid currentColor; padding-bottom: 0.2rem; }

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 45% 55%;
  background: var(--forest);
}
.hero-photo {
  min-height: 100svh;
  background:
    linear-gradient(180deg, rgba(0,0,0,.18), transparent 30%, rgba(0,0,0,.18)),
    url("veronica-corral-about.jpg") center 26% / cover no-repeat;
  position: relative;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-right: 1px solid rgba(255,255,255,.18);
  pointer-events: none;
}
.photo-caption {
  position: absolute;
  inset: auto 2.5rem 2rem;
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-copy {
  min-height: 100svh;
  padding: 8rem 7vw 4rem;
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
  position: relative;
}
.hero-copy::before {
  content: "";
  position: absolute;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  right: -15rem;
  top: 12%;
  box-shadow: 0 0 0 5rem rgba(255,255,255,.018), 0 0 0 10rem rgba(255,255,255,.012);
}
.hero-copy-inner { position: relative; z-index: 1; max-width: 42rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow.light { color: rgba(255,255,255,.68); }
.eyebrow span { width: 2rem; height: 2px; background: var(--orange); }
.hero h1, section h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.045em;
}
.hero h1 { font-size: clamp(3.15rem, 5.3vw, 6.15rem); }
.hero h1 em, section h2 em { color: var(--orange); font-weight: 400; }
.hero-intro {
  max-width: 36rem;
  margin: 2.2rem 0 0;
  color: rgba(255,248,237,.74);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}
.hero-actions { display: flex; align-items: center; gap: 1.8rem; margin-top: 2.2rem; }
.button {
  min-height: 3.3rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: .02em;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: white; }
.button-primary:hover { background: #ff754c; }
.button-primary svg, .whatsapp-button svg { width: 1.2rem; flex: 0 0 auto; fill: #25d366; }
.button-text { min-height: auto; padding-inline: 0; color: var(--cream); border-bottom-color: rgba(255,255,255,.45); }
.button-text span { color: var(--orange); font-size: 1.1rem; }
.hero-proof {
  margin-top: 3.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.16);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.hero-proof div { display: flex; align-items: baseline; gap: .65rem; }
.hero-proof strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; color: var(--orange); }
.hero-proof span { color: rgba(255,255,255,.6); font-size: .7rem; line-height: 1.35; text-transform: uppercase; letter-spacing: .06em; }

.profile-section, .reviews-section { padding: 8rem 8vw; position: relative; }
.section-index {
  margin-bottom: 3.2rem;
  color: var(--orange);
  font-family: var(--serif);
  font-size: .85rem;
}
.section-index.light { color: rgba(255,255,255,.55); }
.section-heading { display: grid; grid-template-columns: 32% 68%; align-items: start; }
.section-heading .eyebrow { margin-top: .7rem; }
.profile-section h2, .reviews-section h2 { font-size: clamp(2.5rem, 4.2vw, 4.8rem); }
.profile-grid {
  margin: 5rem 0 0 32%;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(17rem, 1fr);
  gap: 5vw;
  align-items: start;
}
.profile-lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.8; }
.profile-lead p { margin: 0 0 1.4rem; }
.approach-card { border-top: 1px solid var(--ink); padding-top: 1rem; }
.card-label { margin: 0 0 1.5rem; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.approach-card ul { margin: 0; padding: 0; list-style: none; }
.approach-card li { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }

.services-section {
  display: grid;
  grid-template-columns: 38% 62%;
  color: var(--cream);
  background: var(--forest-deep);
}
.services-intro { padding: 7rem 5vw 7rem 8vw; border-right: 1px solid rgba(255,255,255,.12); }
.services-intro h2 { font-size: clamp(2.5rem, 3.7vw, 4.4rem); }
.services-intro > p:last-child { margin: 2rem 0 0; color: rgba(255,255,255,.6); max-width: 25rem; }
.service-list { padding: 7rem 8vw 7rem 5vw; }
.service-card {
  min-height: 8.5rem;
  padding: 1.6rem 0;
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 1.2rem;
  align-items: start;
  border-top: 1px solid rgba(255,255,255,.16);
}
.service-card:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.service-number { color: var(--orange); font-family: var(--serif); font-size: .8rem; }
.service-card h3 { margin: -.25rem 0 .3rem; font-family: var(--serif); font-size: 1.75rem; font-weight: 400; }
.service-card p { margin: 0; max-width: 34rem; color: rgba(255,255,255,.57); font-size: .9rem; }
.service-meta { display: grid; gap: .2rem; text-align: right; }
.service-meta span:first-child { font-family: var(--serif); font-size: 1.4rem; color: var(--orange); }
.service-meta span:last-child { color: rgba(255,255,255,.45); font-size: .72rem; text-transform: uppercase; }

.education-section { display: grid; grid-template-columns: 43% 57%; min-height: 48rem; background: var(--paper); }
.education-photo { min-height: 48rem; overflow: hidden; }
.education-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78); }
.education-copy { padding: 7rem 8vw 6rem 6vw; }
.education-copy h2 { max-width: 43rem; font-size: clamp(2.5rem, 4vw, 4.7rem); }
.timeline { margin: 4rem 0 0; padding: 0; list-style: none; }
.timeline li {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: .6rem 1.4rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
}
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline span { grid-row: 1 / span 2; color: var(--orange); font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.timeline strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; line-height: 1.35; }
.timeline small { color: var(--muted); font-size: .78rem; }

.reviews-section { background: var(--cream); }
.reviews-header { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 3rem; }
.review-summary { min-width: 14rem; padding: 1.4rem 0; border-top: 1px solid var(--ink); display: grid; }
.review-summary strong { font-family: var(--serif); color: var(--orange); font-size: 3rem; font-weight: 400; line-height: 1; }
.review-summary span { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.review-summary a { margin-top: 1.2rem; font-size: .75rem; font-weight: 750; text-underline-offset: .25rem; }
.review-stage {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.review-card {
  min-width: 0;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.38);
}
.quote-mark { margin: 0 0 .3rem; color: var(--orange); font-family: var(--serif); font-size: 3.5rem; line-height: .7; }
.review-card blockquote { margin: 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.55; letter-spacing: -.01em; }
.review-card footer { display: flex; gap: .45rem; flex-direction: column; margin-top: auto; padding-top: 1.5rem; }
.review-card footer strong { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.review-card footer span { color: var(--muted); font-size: .75rem; }
.reviews-note { margin: 2rem 0 0; max-width: 48rem; color: var(--muted); font-size: .75rem; }

.contact-section {
  padding: 8rem 8vw 4rem;
  color: var(--cream);
  background: var(--orange);
  text-align: center;
}
.contact-section .eyebrow { justify-content: center; color: rgba(255,255,255,.72); }
.contact-section .eyebrow span { background: var(--forest); }
.contact-section h2 { font-size: clamp(2.7rem, 4.8vw, 5.8rem); }
.contact-section h2 em { color: var(--forest); }
.contact-section > p:not(.eyebrow) { max-width: 38rem; margin: 2rem auto 0; font-size: 1.1rem; }
.contact-links { margin-top: 2.4rem; display: flex; gap: 2rem; justify-content: center; align-items: center; }
.button-light { background: var(--cream); color: var(--forest); }
.whatsapp-button svg { width: 1.35rem; }
.contact-links > a:last-child { font-size: .82rem; font-weight: 800; text-underline-offset: .3rem; }
.contact-section address { margin-top: 5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.36); font-style: normal; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }

.site-footer {
  min-height: 10rem;
  padding: 2.5rem 4vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--cream);
  background: var(--forest-deep);
}
.site-footer nav { display: flex; gap: 1.4rem; }
.site-footer nav a { color: rgba(255,255,255,.65); font-size: .75rem; text-decoration: none; }
.site-footer nav a:hover { color: white; }
.site-footer > p { justify-self: end; margin: 0; color: rgba(255,255,255,.45); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .hero { grid-template-columns: 43% 57%; }
  .hero-copy { padding-inline: 5vw; }
  .hero-proof div { display: grid; gap: .1rem; }
  .profile-grid { margin-left: 20%; }
  .services-section { grid-template-columns: 43% 57%; }
  .education-section { grid-template-columns: 40% 60%; }
  .review-stage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .site-footer nav { justify-self: end; }
  .site-footer > p { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 760px) {
  .site-header { height: 4.8rem; padding: 0 1.2rem; }
  .brand > span:last-child { display: none; }
  .brand-mark { width: 2.2rem; height: 2.2rem; }
  .header-contact { font-size: .72rem; }
  .hero { display: block; }
  .hero-photo { min-height: 58svh; background-position: center 25%; }
  .photo-caption { inset: auto 1.1rem 1rem; font-size: .58rem; }
  .photo-caption span:last-child { display: none; }
  .hero-copy { min-height: auto; padding: 4rem 1.2rem 3rem; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .hero-intro { margin-top: 1.6rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: .6rem; }
  .button-text { align-self: flex-start; }
  .hero-proof { margin-top: 2.3rem; gap: .7rem; }
  .hero-proof strong { font-size: 1.35rem; }
  .hero-proof span { font-size: .59rem; }

  .profile-section, .reviews-section { padding: 5rem 1.2rem; }
  .section-index { margin-bottom: 2rem; }
  .section-heading { display: block; }
  .section-heading .eyebrow { margin-top: 0; }
  .profile-section h2, .reviews-section h2 { font-size: clamp(2.35rem, 10.5vw, 3.8rem); }
  .profile-grid { margin: 3rem 0 0; display: block; }
  .approach-card { margin-top: 3rem; }

  .services-section { display: block; }
  .services-intro { padding: 5rem 1.2rem 3rem; border-right: 0; }
  .service-list { padding: 0 1.2rem 5rem; }
  .service-card { grid-template-columns: 2rem 1fr; }
  .service-meta { grid-column: 2; grid-row: 2; text-align: left; display: flex; gap: .8rem; align-items: baseline; }

  .education-section { display: block; }
  .education-photo { min-height: 65svh; max-height: 42rem; }
  .education-copy { padding: 5rem 1.2rem; }
  .timeline li { grid-template-columns: 5rem 1fr; }

  .reviews-header { display: block; }
  .review-summary { margin-top: 2.5rem; min-width: 0; }
  .review-stage { margin-top: 3rem; grid-template-columns: 1fr; }
  .review-card { padding: 1.4rem; }
  .quote-mark { font-size: 3rem; }
  .review-card blockquote { font-size: 1.08rem; }

  .contact-section { padding: 5rem 1.2rem 2rem; }
  .contact-section h2 { font-size: clamp(2.45rem, 11.5vw, 4rem); }
  .contact-links { flex-direction: column; gap: 1rem; }
  .contact-section address { margin-top: 3.5rem; }
  .site-footer { padding: 2.5rem 1.2rem; display: block; }
  .site-footer nav { margin-top: 2rem; flex-wrap: wrap; }
  .site-footer > p { margin-top: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

[hidden] { display: none !important; }
.leave-review-link { margin-top: 2rem; }
.review-form-section { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; padding: 6rem 8vw; background: var(--paper); scroll-margin-top: 2rem; }
.review-form-section h2 { font-size: clamp(2.5rem, 4vw, 4rem); line-height: 1.1; }
.review-form-section p { max-width: 38rem; }
#patient-review-form { display: flex; flex-direction: column; gap: .8rem; }
#patient-review-form label { font-size: 1rem; }
input, textarea, select { font: inherit; padding: .85rem; border: 1px solid #78847c; border-radius: .25rem; background: white; color: var(--ink); max-width: 100%; }
textarea { resize: vertical; }
input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #e35a2c; outline-offset: 3px; }
.check-label { display: flex; align-items: flex-start; gap: .75rem; line-height: 1.5; margin: .3rem 0; }
.check-label input { flex: 0 0 auto; width: 1.2rem; height: 1.2rem; margin: .2rem 0 0; accent-color: var(--forest); }
.form-help { font-size: .875rem; color: var(--muted); margin: 0; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#review-feedback { margin: 0; }
.form-success { color: var(--forest); }
.form-error { color: #a82d15; }
button { cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
.admin-main { max-width: 60rem; margin: auto; padding: 3rem 1.25rem; }
.admin-main > .eyebrow { margin-top: 3rem; }
.admin-main h1 { font: 400 clamp(2rem, 5vw, 3.5rem)/1.2 var(--serif); }
.admin-review { margin: 1.25rem 0; }
.admin-review h2 { font: 600 1.25rem/1.4 var(--sans); }
.comment-text, .review-card blockquote { white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.admin-actions .button { color: white; background: var(--forest); }
@media (max-width: 760px) { .review-form-section { grid-template-columns: 1fr; padding: 4rem 1.2rem; gap: 2rem; } }

@media print {
  .site-header, .contact-links { display: none; }
  .hero, .services-section, .contact-section, .site-footer { color: var(--ink); background: white; }
  .hero-photo { min-height: 35rem; }
  .reviews-ready .review-card { display: grid; break-inside: avoid; margin-bottom: 3rem; }
}
