/* ============================================================
   SUMMIT DERMATOLOGY & AESTHETICS — 2.0
   Luxury minimal design system · Brand Guide v1.1
   Primary: Warm Grey #91867B · Black · White
   Secondary (sparing): Navy #003399 · Light Blue #8FBECA · Soft Pink #E39E9E
   ============================================================ */

:root {
  --warm-grey: #91867B;
  --warm-grey-dark: #6e655c;
  --warm-grey-tint: #f3f0ec;
  --ink: #141311;
  --ink-soft: #4a463f;
  --paper: #ffffff;
  --paper-warm: #faf8f5;
  --line: #e7e2db;
  --blue: #8FBECA;
  --pink: #E39E9E;
  --navy: #003399;
  --font-display: 'Jost', 'Futura', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --tracking-wide: 0.22em;
  --tracking-mid: 0.12em;
  --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; }
.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--warm-grey);
  margin-bottom: 18px;
}
.display { font-size: clamp(38px, 5.5vw, 64px); letter-spacing: 0.02em; }
.h-lg { font-size: clamp(30px, 4vw, 44px); }
.h-md { font-size: clamp(22px, 2.6vw, 28px); }
.lede { font-size: 18px; color: var(--ink-soft); max-width: 640px; }
.muted { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  padding: 16px 36px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: all .25s ease;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--warm-grey-dark); border-color: var(--warm-grey-dark); }
.btn-light { border-color: #fff; color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-grey { background: var(--warm-grey); border-color: var(--warm-grey); color: #fff; }
.btn-grey:hover { background: var(--warm-grey-dark); border-color: var(--warm-grey-dark); }
.text-link {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  border-bottom: 1px solid var(--warm-grey);
  padding-bottom: 4px;
  transition: color .2s;
}
.text-link:hover { color: var(--warm-grey-dark); }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  padding: 9px 16px;
}
.announce a { border-bottom: 1px solid rgba(255,255,255,.5); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}
.logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .2s;
  padding: 6px 0;
}
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a.active { border-bottom: 1px solid var(--warm-grey); }
.nav .btn { padding: 12px 26px; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 1.5px; background: var(--ink); margin: 6px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--paper-warm);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 96px 0 104px;
}
.hero-media { position: relative; }
.hero-media img { aspect-ratio: 4/4.6; object-fit: cover; }
.hero-media::after {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--warm-grey);
  z-index: -1;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 38px; }

/* Page hero (interior pages) */
.page-hero { background: var(--paper-warm); padding: 88px 0 72px; border-bottom: 1px solid var(--line); }
.page-hero.dark { background: var(--ink); color: #fff; border: none; }
.page-hero.dark .lede { color: rgba(255,255,255,.75); }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section.tinted { background: var(--paper-warm); }
.section.dark { background: var(--ink); color: #fff; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .lede { margin: 16px auto 0; }

/* ---------- Cards ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  transition: border-color .25s, transform .25s;
  display: flex;
  flex-direction: column;
}
.card:hover { border-color: var(--warm-grey); transform: translateY(-3px); }
.card-img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card-body { padding: 30px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 10px; font-size: 21px; }
.card-body p { font-size: 15px; color: var(--ink-soft); flex: 1; }
.card-body .text-link { margin-top: 22px; align-self: flex-start; }
.card-tag {
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.tag-derm { color: var(--navy); }
.tag-aesth { color: var(--warm-grey); }
.tag-well { color: var(--warm-grey-dark); }

/* Service list rows */
.svc-row {
  display: grid;
  grid-template-columns: 1fr 2.2fr auto;
  gap: 32px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.svc-row:first-of-type { border-top: 1px solid var(--line); }
.svc-row h3 { font-size: 22px; }
.svc-row p { font-size: 15px; color: var(--ink-soft); }
.svc-row .btn { white-space: nowrap; padding: 13px 26px; font-size: 12px; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split img { aspect-ratio: 4/4.4; object-fit: cover; }
.split.flip > :first-child { order: 2; }

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.stat-num { font-family: var(--font-display); font-size: clamp(36px, 4vw, 52px); color: var(--warm-grey); }
.stat-lbl { font-size: 13px; letter-spacing: var(--tracking-mid); text-transform: uppercase; margin-top: 6px; color: var(--ink-soft); }
.section.dark .stat-lbl { color: rgba(255,255,255,.65); }

/* ---------- Pricing / menu tables ---------- */
.menu-block { border: 1px solid var(--line); padding: 40px; background: var(--paper); }
.menu-block h3 { font-size: 22px; margin-bottom: 6px; }
.menu-block .menu-sub { font-size: 14px; color: var(--ink-soft); margin-bottom: 24px; }
.menu-item { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.menu-item:last-child { border-bottom: none; }
.menu-item .price { font-family: var(--font-display); color: var(--warm-grey-dark); white-space: nowrap; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card img { aspect-ratio: 1/1.15; object-fit: cover; object-position: top; filter: none; }
.team-photo-placeholder {
  aspect-ratio: 1/1.15;
  background: var(--warm-grey-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--warm-grey);
  letter-spacing: .08em;
}
.team-card h3 { margin-top: 24px; font-size: 22px; }
.team-card .role { font-size: 12.5px; letter-spacing: var(--tracking-mid); text-transform: uppercase; color: var(--warm-grey); margin-top: 6px; }
.team-card p { font-size: 14.5px; color: var(--ink-soft); margin-top: 14px; }

/* ---------- Booking ---------- */
.book-choice { border: 1px solid var(--line); padding: 48px 40px; background: var(--paper); display: flex; flex-direction: column; }
.book-choice h3 { font-size: 24px; margin-bottom: 4px; }
.book-choice .sub { font-size: 13px; letter-spacing: var(--tracking-mid); text-transform: uppercase; color: var(--warm-grey); margin-bottom: 20px; }
.book-choice p { font-size: 15px; color: var(--ink-soft); flex: 1; }
.book-choice .btn { margin-top: 28px; align-self: flex-start; }
.note-box { background: var(--warm-grey-tint); border-left: 2px solid var(--warm-grey); padding: 20px 24px; font-size: 14px; color: var(--ink-soft); margin-top: 32px; }

/* Booking modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20,19,17,.55);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff;
  max-width: 480px;
  width: 100%;
  padding: 48px 44px;
  position: relative;
  text-align: center;
}
.modal h3 { font-size: 24px; margin-bottom: 14px; }
.modal p { font-size: 15px; color: var(--ink-soft); margin-bottom: 10px; }
.modal .phone-big { font-family: var(--font-display); font-size: 28px; letter-spacing: .05em; display: block; margin: 18px 0; color: var(--ink); }
.modal-close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--ink-soft); }

/* Boulevard iframe page */
.blvd-frame { width: 100%; height: 760px; border: 1px solid var(--line); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--paper);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--warm-grey); }
label { font-family: var(--font-display); font-size: 11.5px; letter-spacing: var(--tracking-mid); text-transform: uppercase; display: block; margin-bottom: 8px; color: var(--ink-soft); }

/* ---------- FAQ / accordion ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 17px;
  padding: 24px 40px 24px 0;
  cursor: pointer;
  position: relative;
  color: var(--ink);
}
.faq-q::after { content: '+'; position: absolute; right: 4px; top: 22px; font-size: 22px; color: var(--warm-grey); transition: transform .25s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 26px; font-size: 15px; color: var(--ink-soft); max-width: 720px; }
.faq-item.open .faq-a { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 80px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 64px; }
.site-footer h4 { font-size: 12px; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--warm-grey); margin-bottom: 20px; }
.site-footer a { display: block; font-size: 14.5px; padding: 5px 0; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-logo img { height: 52px; margin-bottom: 20px; }
.footer-tag { font-size: 14px; color: rgba(255,255,255,.55); max-width: 280px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: rgba(255,255,255,.45); }
.footer-bottom a { display: inline; font-size: 12.5px; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.divider { width: 56px; height: 1px; background: var(--warm-grey); margin: 28px 0; }
.center .divider { margin: 28px auto; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .split.flip { grid-template-columns: 1fr; gap: 44px; }
  .split.flip > :first-child { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 12px; }
  .svc-row .btn { justify-self: start; }
}
@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 28px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
  }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .grid-2, .grid-3, .grid-4, .form-grid, .stats-band { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .hero-grid { padding: 64px 0 72px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}
