@font-face {
  font-family: "Atkinson Next";
  src: url("/fonts/atkinson-next.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #173b3b;
  --ink-soft: #3f5f5d;
  --teal: #2d7770;
  --teal-dark: #205d58;
  --mint: #e4efeb;
  --mint-soft: #f3f7f5;
  --coral: #e9a58c;
  --coral-dark: #de8a6c;
  --white: #fff;
  --line: #d3e2dc;
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgb(23 59 59 / 0.35);
  --wrap: 1140px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--mint-soft);
  color: var(--ink);
  font: 400 1.125rem/1.6 "Atkinson Next", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}
::selection { background: var(--coral); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-dark); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.375rem; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
.skip:hover { color: var(--white); }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: 999px;
  font: 700 1.125rem/1 inherit; font-family: inherit; text-decoration: none;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-call { background: var(--coral); color: var(--ink); box-shadow: 0 8px 18px -10px rgb(23 59 59 / 0.45); }
.btn-call:hover { background: var(--coral-dark); color: var(--ink); transform: translateY(-2px); }
.btn-ghost { color: var(--teal-dark); border: 2px solid var(--line); background: var(--white); }
.btn-ghost:hover { border-color: var(--teal); color: var(--ink); }

/* Top bar + header */
.topbar { background: var(--ink); color: #d6e6e0; font-size: 0.95rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; }
.topbar a { color: var(--white); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--coral); }

.header { position: sticky; top: 0; z-index: 20; background: rgb(243 247 245 / 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); line-height: 1.15; }
.brand-mark { width: 44px; height: 44px; border-radius: 12px; background: var(--teal); color: var(--white); display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em; }
.brand strong { display: block; font-size: 1.05rem; letter-spacing: 0.01em; }
.brand span span { display: block; font-size: 0.9rem; color: var(--ink-soft); }
.nav { display: flex; gap: 26px; font-weight: 700; font-size: 1rem; }
.nav a { color: var(--ink-soft); text-decoration: none; padding: 6px 0; white-space: nowrap; }
.brand strong, .brand span span { white-space: nowrap; }
@media (max-width: 1120px) { .nav { display: none; } }
.nav a:hover { color: var(--teal-dark); }
.header .btn { min-height: 48px; padding: 0 20px; font-size: 1rem; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.25rem); letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); color: var(--ink-soft); margin: 22px 0 30px; max-width: 40ch; }
.hero-lead strong { color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--ink-soft); font-size: 1rem; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts .icon { color: var(--teal); }

.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 60% 30%; border-radius: 200px 200px var(--radius) var(--radius); box-shadow: var(--shadow); }
.rating {
  position: absolute; left: -18px; bottom: 28px;
  display: flex; align-items: center; gap: 14px; padding: 14px 20px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  color: var(--ink); text-decoration: none;
}
.rating:hover { color: var(--ink); transform: translateY(-2px); }
.rating { transition: transform 0.25s var(--ease); }
.rating b { font-size: 2rem; line-height: 1; }
.rating small { display: block; font-size: 0.95rem; color: var(--ink-soft); }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head p { margin-top: 16px; font-size: 1.2rem; color: var(--ink-soft); }
.bg-white { background: var(--white); }
.bg-mint { background: var(--mint); }

/* Treatments */
.treat { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
.treat-main { grid-row: span 2; background: var(--ink); color: #d6e6e0; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.treat-main img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.treat-body { padding: clamp(24px, 3.5vw, 40px); }
.treat-main h3 { color: var(--white); font-size: 1.75rem; }
.treat-main p { margin: 12px 0 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 14px; border-radius: 999px; font-size: 1rem; background: rgb(255 255 255 / 0.1); color: var(--white); }
.treat-side { background: var(--mint-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 36px); }
.treat-side h3 { margin-bottom: 10px; }
.treat-side p { color: var(--ink-soft); }
.treat-side .tags { margin-top: 18px; }
.treat-side .tags li { background: var(--white); color: var(--ink); border: 1px solid var(--line); }

/* José + team */
.jose { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.portrait { aspect-ratio: 1; border-radius: var(--radius); background: var(--white); border: 2px dashed var(--line); display: grid; place-items: center; text-align: center; color: var(--ink-soft); font-size: 1rem; padding: 24px; }
.portrait b { display: block; font-size: 4rem; color: var(--teal); line-height: 1; margin-bottom: 10px; }
.jose h2 { margin-bottom: 18px; }
.cred { display: inline-flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 700; margin-bottom: 22px; }
.cred .icon { color: var(--teal); }
.jose p + p { margin-top: 14px; }
.jose p { color: var(--ink-soft); max-width: 58ch; }
.ways { margin-top: 28px; display: grid; gap: 14px; }
.ways li { display: flex; gap: 12px; align-items: flex-start; }
.ways .icon { color: var(--teal); margin-top: 3px; }
.ways b { color: var(--ink); }

.team { margin-top: clamp(48px, 7vw, 80px); }
.team h3 { margin-bottom: 18px; }
.team ul { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.team li { background: var(--white); border-radius: var(--radius); padding: 22px 12px 18px; text-align: center; font-weight: 700; }
.team li span { width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 50%; background: var(--mint); color: var(--teal); display: grid; place-items: center; font-size: 1.5rem; }
.team li small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.95rem; }

/* Reviews */
.reviews-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 40px); }
.gsummary { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); text-decoration: none; transition: border-color 0.25s var(--ease); }
.gsummary:hover { border-color: var(--teal); color: var(--ink); }
.gsummary .g-logo { width: 34px; height: 34px; }
.gsummary-score { display: flex; align-items: center; gap: 10px; }
.gsummary-score b { font-size: 2rem; line-height: 1; }
.gsummary small { display: block; color: var(--ink-soft); font-size: 0.95rem; margin-top: 4px; }
.stars { display: inline-flex; gap: 2px; color: #fbbc04; }
.stars svg { width: 18px; height: 18px; fill: currentColor; }

.reviews {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 4px 4px 20px; margin: -4px -4px 0;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.reviews:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.review {
  flex: 0 0 min(380px, 86%); scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: 0 10px 24px -20px rgb(23 59 59 / 0.5);
}
.review-head { display: flex; align-items: center; gap: 12px; }
.review-head b { display: block; line-height: 1.2; }
.review-head small { display: block; color: var(--ink-soft); font-size: 0.9rem; }
.review-head .g-logo { width: 22px; height: 22px; margin-left: auto; flex: none; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; flex: none; }
.avatar.t1 { background: var(--teal); color: var(--white); }
.avatar.t2 { background: var(--coral); color: var(--ink); }
.avatar.t3 { background: var(--ink); color: var(--white); }
.avatar.t4 { background: var(--mint); color: var(--teal-dark); }
.review p { font-size: 1.05rem; color: var(--ink); }

.carousel-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.carousel-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); color: var(--ink);
  display: grid; place-items: center; cursor: pointer; transition: border-color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.carousel-btn:first-child .icon { transform: rotate(180deg); }
.carousel-btn:hover:not(:disabled) { border-color: var(--teal); }
.carousel-btn:disabled { opacity: 0.35; cursor: default; }
.reviews-note { margin-top: 14px; font-size: 0.95rem; color: var(--ink-soft); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 700; font-size: 1.2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--teal); transition: transform 0.3s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq summary:hover { color: var(--teal-dark); }
.faq details p { padding: 0 0 24px; color: var(--ink-soft); max-width: 62ch; }

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 64px); align-items: start; }
.visit h2 { margin-bottom: 16px; }
.visit > div > p { color: var(--ink-soft); margin-bottom: 28px; }
.details { display: grid; gap: 20px; margin-bottom: 30px; }
.details li { display: flex; gap: 14px; }
.details .icon { color: var(--teal); width: 26px; height: 26px; margin-top: 2px; }
.details b { display: block; }
.details span, .details a { color: var(--ink-soft); }
.hours { background: var(--white); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.hours h3 { margin-bottom: 12px; }
.hours table { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; }
.hours th { font-weight: 400; color: var(--ink-soft); }
.hours td { text-align: right; font-weight: 700; }
.hours tr:last-child th, .hours tr:last-child td { border: 0; }
.hours p { font-size: 0.95rem; color: var(--ink-soft); margin-top: 12px; }
.map { margin-top: 20px; aspect-ratio: 16 / 10; border-radius: var(--radius); background: var(--mint); display: grid; place-items: center; text-align: center; padding: 24px; overflow: hidden; }
.map p { font-size: 0.95rem; color: var(--ink-soft); margin-top: 10px; max-width: 36ch; }
.map button { font: inherit; cursor: pointer; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map:has(iframe) { padding: 0; }

/* Final call */
.cta { background: var(--ink); color: #d6e6e0; text-align: center; padding: clamp(64px, 9vw, 104px) 0; }
.cta h2 { color: var(--white); }
.cta p { margin: 16px auto 30px; font-size: 1.2rem; max-width: 46ch; }
.cta .btn { min-height: 64px; font-size: 1.3rem; padding: 0 34px; }

/* Footer */
.footer { background: #102c2c; color: #a9c4bb; padding: 40px 0; font-size: 1rem; }
.footer .wrap { display: grid; gap: 24px; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer b { color: var(--white); display: block; }
.footer a { color: #d6e6e0; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer small { font-size: 0.9rem; border-top: 1px solid rgb(255 255 255 / 0.12); padding-top: 20px; }

/* Mobile call bar */
.callbar { display: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .hero .wrap, .jose, .visit { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; }
  .treat { grid-template-columns: 1fr; }
  .treat-main { grid-row: auto; }
  .team ul { grid-template-columns: repeat(3, 1fr); }
  .portrait { max-width: 360px; aspect-ratio: 4 / 3; }
}

@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .topbar .where { display: none; }
  .topbar .wrap { justify-content: center; }
  .header .btn { display: none; }
  .header .wrap { min-height: 68px; }
  .actions .btn { width: 100%; }
  .rating { left: 12px; bottom: 12px; padding: 12px 16px; }
  .team ul { grid-template-columns: repeat(2, 1fr); }
  .footer { padding-bottom: 104px; }
  .callbar {
    display: flex; position: fixed; inset: auto 12px 12px; z-index: 30;
    min-height: 60px; font-size: 1.2rem;
    box-shadow: 0 14px 30px -10px rgb(23 59 59 / 0.55);
  }
}

/* Legal pages */
.legal { max-width: 760px; padding: clamp(48px, 7vw, 88px) 0; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: 24px; }
.legal h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 1.2em; }
.pending { background: #fdeee8; color: var(--ink); padding: 0 6px; border-radius: 4px; }
