/* Calm clinic: warm off-white, deep green-grey ink, one sage accent */
:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --soft: #f2f4ef;
  --ink: #2d3a32;
  --muted: #56645b;
  --accent: #4e6b53;
  --accent-dark: #3c5541;
  --sage: #7a9a7e;
  --sage-soft: #e6ede6;
  --line: #e4e6df;
  --img-a: #e7ece6;
  --img-b: #b6c8b8;
  --shadow: 0 12px 32px -18px rgba(45, 58, 50, .35);
  --radius: 16px;
  --max: 1160px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Rubik", system-ui, -apple-system, sans-serif;
}

/* Base and browser surfaces */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; scrollbar-color: var(--sage) var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 18px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; caret-color: var(--accent);
}
::selection { background: var(--sage-soft); color: var(--ink); }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-weight: 500; line-height: 1.25; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0; text-wrap: pretty; }
svg.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: 24px; }
section { padding-block: 96px; }
.tint { background: var(--soft); }
.section-head { max-width: 38em; margin-block-end: 48px; }
.section-head p { color: var(--muted); margin-block-start: 14px; font-size: 1.06rem; }

/* Photo placeholders: put a real <img> inside .img */
.img {
  background: linear-gradient(160deg, var(--img-a), var(--img-b));
  border-radius: 24px; overflow: hidden; position: relative;
  display: grid; place-items: center; color: var(--ink); font-size: .95rem; text-align: center; padding: 16px;
}
.img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 15px 28px; border-radius: 999px; font-weight: 500; font-size: 1rem; line-height: 1.3;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { background: #1f2a23; box-shadow: var(--shadow); }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; box-shadow: none; }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-light { background: #fff; color: var(--accent-dark); }
.btn-light:hover { background: var(--sage-soft); color: var(--accent-dark); }
.btn-sm { padding: 9px 20px; font-size: .94rem; }
.link {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  color: var(--accent); font-weight: 500; font-size: .96rem;
}
.link svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link:hover { text-decoration: underline; }
.link:hover svg { transform: translateX(-3px); }
[dir="ltr"] .link .arrow { transform: scaleX(-1); }
[dir="ltr"] .link:hover .arrow { transform: scaleX(-1) translateX(-3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px);
  border-block-end: 1px solid transparent; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(45, 58, 50, .4); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { text-decoration: none; font-weight: 600; font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.brand span { font-weight: 400; color: var(--muted); }
.brand i { width: 5px; height: 5px; border-radius: 50%; background: var(--sage); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: .97rem; color: var(--muted); transition: color .15s; }
.nav a:hover { color: var(--ink); }
.nav .btn, .nav .btn:hover { color: #fff; }

/* Hero: copy beside a portrait */
.hero { padding-block: 64px 88px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center; }
.hero .sub { font-size: 1.2rem; color: var(--muted); margin-block: 22px 34px; max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.creds-line { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--muted); font-size: .95rem; }
.creds-line li { display: flex; align-items: center; gap: 8px; }
.creds-line li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }
.portrait { aspect-ratio: 4 / 5; box-shadow: var(--shadow); animation: reveal .9s var(--ease) .1s both; }
.portrait img { object-position: 50% 30%; }
@keyframes reveal { from { clip-path: inset(12% 0 0 0 round 24px); opacity: 0; } to { clip-path: inset(0 0 0 0 round 24px); opacity: 1; } }

/* Conditions */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--surface); border-radius: var(--radius); padding: 28px 24px 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 10px; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(45, 58, 50, .45); }
.card-img { margin: -28px -24px 10px; aspect-ratio: 4 / 3; background: var(--img-a); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.card .link::after { content: ""; position: absolute; inset: 0; }
.card .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--sage-soft); color: var(--accent); display: grid; place-items: center; margin-block-end: 6px; }
.card p { color: var(--muted); font-size: .97rem; }
.card .body { flex: 1; }
.evidence { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); padding-block: 12px 4px; border-block-start: 1px solid var(--line); }
.evidence a { color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.dot.mid { background: var(--sage); }
.dot.low { background: transparent; border: 1.5px solid var(--sage); }
.fine { color: var(--muted); font-size: .88rem; margin-block-start: 24px; }

/* About + methods */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: start; }
.about .lead { font-size: 1.15rem; margin-block: 20px 14px; }
.about p { color: var(--muted); }
.about .btn { margin-block-start: 28px; }
.about-photo { aspect-ratio: 4 / 5; box-shadow: var(--shadow); position: sticky; top: 104px; }
.about-photo img { object-position: 30% 60%; }
.methods { list-style: none; padding: 0; margin: 36px 0 0; }
.methods a { text-decoration: none; color: inherit; border-block-end: 1px solid var(--sage); }
.methods a:hover { color: var(--accent); }
.methods li { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding-block: 18px; border-block-end: 1px solid var(--line); }
.methods li:first-child { padding-block-start: 0; }
.methods svg { grid-row: span 2; width: 26px; height: 26px; color: var(--accent); margin-block-start: 2px; }
.methods b { font-weight: 500; }
.methods span { color: var(--muted); font-size: .95rem; }

/* First visit */
.steps { list-style: none; padding: 0; margin: 0 0 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--sage-soft); color: var(--accent); font-weight: 600; margin-block-end: 18px;
}
.steps p { color: var(--muted); margin-block-start: 8px; }
.first-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; margin-block-end: 44px; }
.first-grid .steps { grid-template-columns: 1fr; margin: 0; }
.first-grid .steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; padding: 24px 26px; }
.first-grid .steps li::before { grid-row: span 2; margin: 0; }
.first-grid .steps p { margin-block-start: 4px; }
.first-photo { aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.first-photo img { object-position: 40% 55%; }
.after-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.after-steps span { color: var(--muted); font-size: .95rem; }

/* Prices + FAQ */
.price-faq { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.prices { background: var(--surface); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.prices ul { list-style: none; padding: 0; margin: 20px 0 0; }
.prices li { display: flex; justify-content: space-between; gap: 12px; padding-block: 15px; border-block-end: 1px solid var(--line); }
.prices li span:last-child { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.prices .fine { margin-block-start: 16px; }
.prices .btn { margin-block-start: 24px; width: 100%; }
.faq h2 { margin-block-end: 12px; }
.faq details { border-block-end: 1px solid var(--line); padding-block: 20px; }
.faq summary { cursor: pointer; font-weight: 500; font-size: 1.07rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 20px; height: 20px; flex: none; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details[open] p { animation: open .3s var(--ease); }
.faq details p { color: var(--muted); margin-block-start: 12px; max-width: 40em; }
@keyframes open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Contact */
.contact { background: var(--accent-dark); color: #f3f5f1; }
.contact .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
.contact p { color: #d4dfd5; margin-block: 14px 30px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact .btn-line { color: #fff; border-color: #fff; }
.contact .btn-line:hover { background: #fff; color: var(--accent-dark); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list span { color: #b9c9bb; min-width: 5.5em; font-size: .92rem; }
.hours { border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: 2px 0; }
.hours td:first-child { padding-inline-end: 22px; color: #d4dfd5; }
.hours .closed { color: #b9c9bb; }
.contact ::selection { background: #fff; color: var(--accent-dark); }
.contact :focus-visible { outline-color: #fff; }

footer { padding-block: 28px; font-size: .86rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot-links { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px 24px; padding-block-end: 20px; margin-block-end: 8px; border-block-end: 1px solid var(--line); }
.foot-links b { font-weight: 500; color: var(--ink); }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }

/* Article pages */
.crumbs { font-size: .9rem; color: var(--muted); margin-block-end: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span { margin-inline: 8px; color: var(--sage); }
.article-hero { padding-block: 48px 72px; }
.article-hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.article-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.answer { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 26px; margin-block: 26px 28px; border-inline-start: 4px solid var(--sage); }
.answer b { display: block; font-weight: 500; color: var(--accent); font-size: .92rem; margin-block-end: 6px; }
.answer p { color: var(--ink); }
.byline { color: var(--muted); font-size: .92rem; }
.article-photo { aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.article-body { padding-block: 24px 96px; }
.prose { max-width: 42em; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-block: 56px 16px; }
.prose h2:first-child { margin-block-start: 0; }
.prose p { color: var(--muted); margin-block-end: 16px; }
.prose ul { color: var(--muted); padding-inline-start: 1.2em; margin: 0 0 16px; }
.prose li { margin-block-end: 8px; }
.prose li::marker { color: var(--sage); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose a:not(.btn) { color: var(--accent); }
.prose figure { margin: 40px 0; }
.prose figure .img { aspect-ratio: 3 / 2; }
.prose figcaption { font-size: .9rem; color: var(--muted); margin-block-start: 10px; }
.source { font-size: .9rem; }
.callout { background: var(--soft); border-radius: var(--radius); padding: 22px 26px; margin-block: 24px; }
.callout p:last-child, .callout ul:last-child { margin-block-end: 0; }
.prose .faq { margin-block-start: 56px; }
.cta-box { background: var(--accent-dark); color: #f3f5f1; border-radius: 24px; padding: 36px; margin-block-start: 56px; }
.cta-box h2 { margin: 0 0 10px; }
.cta-box p { color: #d4dfd5; margin-block-end: 24px; }
.cta-box .btn-line { color: #fff; border-color: #fff; }
.cta-box .btn-line:hover { background: #fff; color: var(--accent-dark); }
.related { margin-block-start: 72px; }
.related h2 { font-size: 1.4rem; margin-block-end: 20px; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.related a { display: flex; align-items: center; gap: 14px; text-decoration: none; background: var(--surface); border-radius: 14px; padding: 10px; box-shadow: var(--shadow); transition: transform .2s var(--ease); }
.related a:hover { transform: translateY(-2px); }
.related img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; }
.related span { font-weight: 500; font-size: .98rem; line-height: 1.4; }


/* Hamburger (mobile only) */
.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 11px; margin-inline-end: -11px;
  background: none; border: 0; border-radius: 10px; cursor: pointer; color: var(--ink);
}
.menu-toggle span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap, .about, .price-faq, .contact .wrap, .article-hero .wrap, .first-grid { grid-template-columns: 1fr; gap: 44px; }
  .portrait, .article-photo, .first-photo { max-width: 440px; }
  .about-photo { position: relative; top: auto; max-width: 440px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  section { padding-block: 68px; }
  .menu-toggle { display: flex; }
  .nav {
    position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); padding: 8px 24px 24px; border-block-end: 1px solid var(--line);
    box-shadow: 0 18px 30px -20px rgba(45, 58, 50, .45);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .menu-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s; }
  .nav .nav-link { padding-block: 15px; font-size: 1.08rem; color: var(--ink); border-block-end: 1px solid var(--line); }
  .nav .header-cta { margin-block-start: 18px; padding: 15px 24px; font-size: 1rem; }
  .menu-open { border-color: var(--line); }
  .hero { padding-block: 32px 64px; }
  .hero .wrap { gap: 36px; }
  .portrait, .article-photo, .first-photo, .about-photo { max-width: none; aspect-ratio: 4 / 3; }
  .cards, .steps { grid-template-columns: 1fr; }
  .article-hero { padding-block: 28px 48px; }
  .first-grid .steps li { padding: 22px; column-gap: 16px; }
  .cta-box { padding: 28px 22px; }
}
@media (max-width: 420px) {
  html[lang="en"] .brand i, html[lang="en"] .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .portrait { animation: fade .3s ease both; }
  .nav, .menu-toggle span { transition: none !important; }
  .faq details[open] p { animation: fade .2s ease; }
  .card:hover, .btn:active, .related a:hover { transform: none; }
  .card:hover .card-img img { transform: none; }
  .link:hover svg, [dir="ltr"] .link:hover .arrow { transform: none; }
  [dir="ltr"] .link .arrow { transform: scaleX(-1); }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
