/* Novus Aesthetic Medical Clinic — concept by Beans Digital
   Palette: porcelain ivory / deep petrol teal / champagne gold.
   Type: Fraunces (display serif) + Jost (geometric sans). */

@view-transition { navigation: auto; }

:root {
  --ivory: #faf7f1;
  --ivory-2: #f2ecdf;
  --ink: #14312e;
  --teal: #175a55;
  --teal-deep: #0d3b37;
  --gold: #b9985a;
  --gold-soft: #e4d3ae;
  --line: rgba(20, 49, 46, 0.16);
  --radius-arch: 999px 999px 0 0;
  --ease: cubic-bezier(.22,.8,.3,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: "Jost", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

a { color: var(--teal); }

img, iframe { max-width: 100%; }

.wrap { width: min(1080px, 100% - 2.5rem); margin-inline: auto; }

/* ---- concept banner ---- */
.concept-banner {
  background: var(--teal-deep);
  color: var(--ivory);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0.5rem 1rem;
}
.concept-banner a { color: var(--gold-soft); }

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ivory) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  view-transition-name: site-header;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 0;
}
.logo {
  font-family: "Fraunces", serif;
  font-size: 1.35rem; letter-spacing: 0.02em;
  color: var(--ink); text-decoration: none;
  view-transition-name: site-logo;
}
.logo em { font-style: italic; color: var(--gold); }
.logo small { display: block; font-family: "Jost", sans-serif; font-size: 0.58rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--teal); }

.nav { display: flex; gap: 1.6rem; align-items: center; }
.nav a {
  text-decoration: none; color: var(--ink);
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.3rem 0; border-bottom: 2px solid transparent;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.nav a:hover { color: var(--teal); }
.nav a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--teal-deep); }
.nav .nav-cta {
  border: 1px solid var(--teal); border-radius: 999px;
  padding: 0.45rem 1.1rem; color: var(--teal);
}
.nav .nav-cta:hover { background: var(--teal); color: var(--ivory); }

.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 0.45rem 0.7rem; font: inherit; color: var(--ink); cursor: pointer; }

/* ---- hero ---- */
.hero { padding: 5.5rem 0 4rem; text-align: center; position: relative; overflow: hidden; }
.hero .eyebrow { margin-bottom: 1.2rem; }
.eyebrow {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--teal);
}
.eyebrow::before, .eyebrow::after { content: "·"; color: var(--gold); margin: 0 0.6rem; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); max-width: 18ch; margin-inline: auto; }
.hero h1 em { font-style: italic; color: var(--teal); }
.hero p.lede { max-width: 54ch; margin: 1.4rem auto 0; color: color-mix(in srgb, var(--ink) 78%, transparent); }
.hero-actions { margin-top: 2.2rem; display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

.rating-line { margin-top: 2.6rem; font-size: 0.9rem; letter-spacing: 0.06em; color: var(--teal-deep); }
.rating-line .stars { color: var(--gold); letter-spacing: 0.2em; }

/* arch ornament */
.arch-row { display: flex; justify-content: center; gap: 0.9rem; margin-top: 3.2rem; }
.arch {
  width: clamp(54px, 9vw, 92px); height: clamp(84px, 14vw, 140px);
  border: 1px solid var(--line); border-radius: var(--radius-arch);
  background: linear-gradient(180deg, var(--ivory-2), transparent);
}
.arch:nth-child(2) { background: linear-gradient(180deg, color-mix(in srgb, var(--teal) 14%, var(--ivory)), transparent); }
.arch:nth-child(3) { background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 20%, var(--ivory)), transparent); }

/* ---- buttons ---- */
.btn {
  display: inline-block; text-decoration: none; font-size: 0.84rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.85rem 1.7rem; border-radius: 999px;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn-solid { background: var(--teal); color: var(--ivory); }
.btn-solid:hover { background: var(--teal-deep); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--teal); color: var(--teal); }
.btn-ghost:hover { background: var(--teal); color: var(--ivory); transform: translateY(-2px); }

/* ---- sections ---- */
section { padding: 4.2rem 0; }
.section-head { text-align: center; margin-bottom: 2.6rem; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-top: 0.7rem; }
.rule { width: 64px; height: 1px; background: var(--gold); margin: 1.1rem auto 0; }

.band { background: var(--ivory-2); border-block: 1px solid var(--line); }
.band-teal { background: var(--teal-deep); color: var(--ivory); }
.band-teal h2, .band-teal h3 { color: var(--ivory); }
.band-teal .eyebrow { color: var(--gold-soft); }

/* cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 1.8rem 1.6rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 38px -22px rgba(13,59,55,.35); }
.card h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.card .num {
  font-family: "Fraunces", serif; font-style: italic;
  color: var(--gold); font-size: 1.6rem; display: block; margin-bottom: 0.7rem;
}
.card p { font-size: 0.97rem; color: color-mix(in srgb, var(--ink) 80%, transparent); }

/* quotes */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.2rem; }
blockquote.review {
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  padding: 1.7rem 1.5rem; font-size: 0.98rem;
}
blockquote.review p { font-family: "Fraunces", serif; font-style: italic; font-size: 1.05rem; }
blockquote.review footer { margin-top: 1rem; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); }
blockquote.review .stars { color: var(--gold); display: block; margin-bottom: 0.7rem; letter-spacing: 0.2em; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; text-align: center; }
.stat b { display: block; font-family: "Fraunces", serif; font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--gold-soft); }
.stat span { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; }

/* hours table */
.hours-table { width: 100%; max-width: 480px; margin-inline: auto; border-collapse: collapse; }
.hours-table th, .hours-table td { padding: 0.65rem 0.4rem; border-bottom: 1px solid var(--line); text-align: left; font-size: 0.96rem; }
.hours-table th { font-weight: 500; letter-spacing: 0.08em; }
.hours-table td { text-align: right; color: var(--teal-deep); }
.hours-table tr.today th, .hours-table tr.today td { color: var(--gold); }

/* contact layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: start; }
.map-frame { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.map-frame iframe { display: block; width: 100%; height: 360px; border: 0; }

.contact-list { list-style: none; }
.contact-list li { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.contact-list b { display: block; font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.25rem; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* FAQ */
details.faq {
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  padding: 1.1rem 1.4rem; margin-bottom: 0.9rem;
}
details.faq summary { cursor: pointer; font-family: "Fraunces", serif; font-size: 1.12rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details.faq summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin-top: 0.8rem; font-size: 0.97rem; }

/* CTA strip */
.cta-strip { text-align: center; }
.cta-strip h2 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); max-width: 22ch; margin-inline: auto; }

/* footer */
.site-footer { background: var(--teal-deep); color: var(--ivory); padding: 3rem 0 2rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.site-footer h4 { font-family: "Fraunces", serif; font-weight: 500; margin-bottom: 0.8rem; }
.site-footer a { color: var(--gold-soft); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.45rem; font-size: 0.95rem; }
.footer-legal { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid rgba(250,247,241,.2); font-size: 0.82rem; letter-spacing: 0.05em; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60;
  display: flex; align-items: center; gap: 0.55rem;
  background: #25d366; color: #fff; text-decoration: none;
  padding: 0.75rem 1.15rem; border-radius: 999px;
  font-size: 0.9rem; font-weight: 500;
  box-shadow: 0 10px 26px -10px rgba(0,0,0,.45);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 20px; height: 20px; fill: currentColor; }

/* reveal animations (JS adds .js to <html>) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* mobile */
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 1.2rem; gap: 1rem;
  }
  .nav.open { display: flex; }
  .split { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; }
  .hero { padding: 3.4rem 0 2.6rem; }
  section { padding: 3rem 0; }
}

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