:root {
  --teal: #018581;
  --teal-bright: #00988b;
  --teal-dark: #0a6b63;
  --teal-deep: #06514b;
  --teal-tint: #eef7f6;
  --accent: #d4743a;
  --text: #222;
  --muted: #666;
  --line: #dde5e4;
  --bg: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(6, 81, 75, .10);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h2 { font-weight: 300; font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: #222; }
h3 { font-weight: 600; font-size: 1.25rem; }
p { margin: 0 0 1em; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }

.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(16px, calc((100% - 1120px) / 2));
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled { background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.brand {
  font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .95rem;
  color: #fff; text-decoration: none; transition: color .3s;
}
.nav.scrolled .brand { color: var(--teal-dark); }
.nav-links { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: .5rem .9rem; border-radius: 999px;
  color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: rgba(255, 255, 255, .15); }
.nav.scrolled .nav-links a { color: #222; }
.nav.scrolled .nav-links a:hover { background: var(--teal-tint); }
.nav-links a.active { box-shadow: inset 0 -2px 0 currentColor; border-radius: 0; }
.nav.scrolled .nav-links a.active { color: var(--teal); }
.nav-links a.nav-cta { background: #fff; color: var(--teal-dark); }
.nav.scrolled .nav-links a.nav-cta { background: var(--teal); color: #fff; }
.nav-links a.nav-cta.active { box-shadow: none; border-radius: 999px; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: #fff; transition: transform .3s, opacity .3s, background .3s; }
.nav.scrolled .nav-toggle span, .nav.open .nav-toggle span { background: #222; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav.open { background: #fff; }
  .nav.open .brand { color: var(--teal-dark); }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: .5rem 16px 1rem;
    background: #fff; box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .25s, transform .25s;
  }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a, .nav.scrolled .nav-links a { color: #222; padding: .8rem .5rem; border-radius: 8px; }
  .nav-links a.active { box-shadow: none; color: var(--teal); }
  .nav-links a.nav-cta, .nav.scrolled .nav-links a.nav-cta { background: var(--teal); color: #fff; text-align: center; margin-top: .5rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  min-height: min(88vh, 760px);
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 6rem;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .09) 1px, transparent 1.5px) 0 0 / 9px 9px,
    radial-gradient(ellipse at 80% 10%, var(--teal-bright), transparent 60%),
    linear-gradient(170deg, var(--teal) 0%, var(--teal-dark) 100%);
}
.hero::after {
  content: ""; position: absolute; right: -10vw; top: 10%;
  width: 55vw; max-width: 720px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 116, 58, .35), rgba(212, 116, 58, 0) 65%);
  pointer-events: none;
  animation: float 12s ease-in-out infinite alternate;
}
@keyframes float { to { transform: translate(-4vw, 4vh) scale(1.08); } }
.hero-inner { position: relative; z-index: 1; width: min(1120px, 100% - 32px); margin-inline: auto; }
.eyebrow { font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; margin-bottom: 1rem; }
.hero h1 {
  font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  font-size: clamp(2.1rem, 7vw, 4.6rem); margin: 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .15);
}
.tagline { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 300; margin: .2rem 0 1.5rem; }
.hero-lead { max-width: 560px; font-size: 1.15rem; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 80px; fill: var(--bg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--teal-dark); box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-small { padding: .45rem 1rem; font-size: .85rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-tint { background: var(--teal-tint); }
.section-label {
  font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: .8rem;
  color: var(--teal); margin-bottom: .8rem;
}
.section-label.light { color: #9ee3dc; }
.section-head { margin-bottom: 2.5rem; }
.lead-heading { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }

.notice {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-top: 2rem; padding: 1.1rem 1.3rem;
  border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0;
  background: #fdf4ee;
}
.notice svg { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; margin-top: .15rem; }
.notice p { margin: 0; }

/* ---------- Treatment cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1rem; align-items: start; }
.card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  transition: box-shadow .25s, border-color .25s, transform .25s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card[open] { border-color: var(--teal); box-shadow: var(--shadow); }
.card summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.3rem;
}
.card summary::-webkit-details-marker { display: none; }
.card summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: var(--radius); }
.card-icon {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; background: var(--teal-tint); color: var(--teal);
  transition: background .25s, color .25s;
}
.card[open] .card-icon { background: var(--teal); color: #fff; }
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-title { flex: 1; font-weight: 600; font-size: 1.08rem; line-height: 1.3; }
.card-title small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.chev { width: 10px; height: 10px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); transition: transform .25s; margin-right: .3rem; }
.card[open] .chev { transform: rotate(-135deg); }
.card-body { padding: 0 1.3rem 1.2rem calc(1.3rem + 46px + 1rem); color: #444; animation: open .3s ease; }
.card-body p:last-child { margin-bottom: 0; }
.card-body .small { color: var(--teal-dark); font-weight: 600; }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 480px) { .card-body { padding-left: 1.3rem; } }
.link-list { margin: 0; padding-left: 1.1rem; }
.link-list a { word-break: break-word; }

.pricing {
  margin-top: 3rem; padding: clamp(1.5rem, 4vw, 2.5rem);
  background: #fff; border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow);
}
.pay-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1rem 2rem; }
.pay-list li { border-top: 2px solid var(--teal-tint); padding-top: .8rem; }
.pay-key { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }

/* ---------- History ---------- */
.about-grid { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
@media (max-width: 720px) { .about-grid { grid-template-columns: 1fr; } .portrait { max-width: 340px; } }
.portrait { margin: 0; position: relative; isolation: isolate; }
.portrait img { border-radius: var(--radius); box-shadow: 18px 18px 0 var(--teal), var(--shadow); width: calc(100% - 18px); height: auto; }
.portrait figcaption { margin-top: 1.6rem; font-weight: 600; }
.portrait figcaption span { font-weight: 400; color: var(--muted); font-size: .92rem; }
.about-text p { font-size: 1.08rem; }

.timeline { list-style: none; padding: 0; margin: 4rem 0 0; position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 4.6rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 4rem 1fr; gap: 1.6rem; padding: .7rem 0; position: relative; align-items: baseline; }
.timeline li::before {
  content: ""; position: absolute; left: calc(4.6rem - 6px); top: 1.15rem;
  width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--teal);
  transition: background .3s, transform .3s;
}
.timeline li:hover::before { background: var(--accent); border-color: var(--accent); transform: scale(1.2); }
.year { font-weight: 800; color: var(--teal); font-size: 1.1rem; }
.event { padding-left: .6rem; }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1rem; }
.product {
  position: relative; background: #fff; border-radius: var(--radius); padding: 1.6rem;
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--teal-bright)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.product:hover::after { transform: scaleX(1); }
.product-num { font-weight: 800; color: var(--accent); font-size: .85rem; letter-spacing: .1em; }
.product h3 { font-weight: 400; font-size: 1.45rem; margin: .4rem 0 .5rem; }
.product p { color: #555; font-size: .97rem; margin: 0; }

/* ---------- Contact ---------- */
.section-dark {
  color: #fff;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 1.5px) 0 0 / 9px 9px,
    linear-gradient(160deg, var(--teal-dark), var(--teal-deep));
}
.section-dark h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.phone-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin: 1.5rem 0; }
.phone { color: #fff; font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 300; text-decoration: none; border-bottom: 2px solid rgba(255, 255, 255, .3); }
.phone:hover { border-color: #fff; }
.copy-btn { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .4); }
.copy-btn:hover { background: rgba(255, 255, 255, .22); }
address { font-style: normal; font-size: 1.1rem; line-height: 1.6; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); aspect-ratio: 4 / 3; background: var(--teal-deep); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: #0f2725; color: #b9cfcc; padding: 2rem 0; font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.footer p { margin: 0; }
.footer strong { color: #fff; }
.footer a { color: #9ee3dc; }

.to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--teal); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: #222; color: #fff; padding: .7rem 1.2rem; border-radius: 999px; font-size: .95rem;
  transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
