/* ============================================================
   Dr. Ashwini Tandel — Multispeciality Physiotherapy Clinic
   Bhandup West, Mumbai
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  --sage:        #619E90;
  --forest:      #153C33;

  --bg:          #FFFFFF;
  --bg-alt:      #F3F9F7;
  --surface:     #FFFFFF;
  --surface-2:   #F7FBFA;
  --text:        #153C33;
  --text-soft:   #56736B;
  --line:        #E1EDE9;
  --accent:      #619E90;
  --accent-deep: #153C33;
  --btn-bg:      #153C33;
  --btn-text:    #FFFFFF;
  --btn-hover:   #619E90;

  --logo-bg:     #153C33;
  --logo-ink:    #FFFFFF;
  --logo-accent: #7FBFAF;

  --shadow-sm:   0 1px 2px rgba(21,60,51,.05);
  --shadow:      0 4px 24px -6px rgba(21,60,51,.12);
  --shadow-lg:   0 24px 60px -18px rgba(21,60,51,.26);
  --overlay:     linear-gradient(105deg, rgba(10,32,26,.93) 0%, rgba(10,32,26,.76) 44%, rgba(10,32,26,.36) 100%);

  --ease:        cubic-bezier(.4,0,.2,1);
  --header-h:    86px;
  --radius:      18px;
  --radius-lg:   26px;
  --maxw:        1240px;
}

[data-theme="dark"] {
  --bg:          #0B1D18;
  --bg-alt:      #0F2620;
  --surface:     #122C25;
  --surface-2:   #16352C;
  --text:        #E9F3F0;
  --text-soft:   #9DB8B0;
  --line:        #1E3F36;
  --accent:      #7FBFAF;
  --accent-deep: #A8D5C8;
  --btn-bg:      #7FBFAF;
  --btn-text:    #0B1D18;
  --btn-hover:   #A8D5C8;

  --logo-bg:     #7FBFAF;
  --logo-ink:    #0B1D18;
  --logo-accent: #153C33;

  --shadow-sm:   0 1px 2px rgba(0,0,0,.3);
  --shadow:      0 4px 24px -6px rgba(0,0,0,.5);
  --shadow-lg:   0 24px 60px -18px rgba(0,0,0,.6);
  --overlay:     linear-gradient(105deg, rgba(4,16,13,.95) 0%, rgba(4,16,13,.82) 44%, rgba(4,16,13,.46) 100%);
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  margin: 0;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  transition: background .35s var(--ease), color .35s var(--ease);
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -.015em;
  line-height: 1.18;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(36px, 5.4vw, 62px); }
h2 { font-size: clamp(29px, 3.9vw, 45px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); }

p { margin: 0 0 1.1em; color: var(--text-soft); }
a { color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 26px; height: 1.5px; background: var(--accent); }

.lead { font-size: 18px; line-height: 1.8; }
.opt { text-transform: none; font-weight: 400; }

/* ---------- 3. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  font-family: inherit; font-size: 15.5px; font-weight: 600;
  text-decoration: none; border: 0; border-radius: 999px;
  cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease),
              transform .2s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn--primary { background: var(--btn-bg); color: var(--btn-text); }
.btn--primary:hover { background: var(--btn-hover); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn--ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--light { background: #fff; color: var(--forest); }
.btn--light:hover { background: rgba(255,255,255,.88); transform: translateY(-2px); }

.btn--outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn--block { width: 100%; }

/* ---------- 4. LOGO ---------- */
.brand {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0; text-decoration: none;
}

.logo-mark {
  width: 44px; height: 44px;
  flex-shrink: 0;
  color: var(--logo-bg);
  transition: color .35s var(--ease);
}
.logo-mark svg { width: 100%; height: 100%; display: block; }

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }

.logo-name {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 19px; font-weight: 500;
  color: var(--text);
  letter-spacing: -.015em;
  white-space: nowrap;
}

.logo-sub {
  font-size: 10px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--accent);
  margin-top: 3px;
  white-space: nowrap;
}

/* ---------- 5. HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .35s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }

.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
}

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-item { position: relative; }

.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 14px;
  font-size: 15px; font-weight: 600;
  color: var(--accent); text-decoration: none;
  border-radius: 9px; white-space: nowrap;
  transition: color .22s var(--ease), background .22s var(--ease);
}

.nav-link:hover, .nav-item:hover > .nav-link, .nav-link:focus-visible {
  color: var(--accent-deep);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.nav-link.is-active { color: var(--accent-deep); font-weight: 700; }

.caret { width: 10px; height: 10px; transition: transform .25s var(--ease); }
.nav-item:hover .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 250px; padding: 8px; margin: 0; list-style: none;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}

.nav-item.has-dropdown::after { content: ''; position: absolute; top: 100%; left: 0; width: 100%; height: 12px; }
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown a {
  display: block; padding: 10px 14px;
  font-size: 14.5px; font-weight: 600;
  color: var(--accent); text-decoration: none; border-radius: 10px;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.dropdown a:hover { color: var(--accent-deep); background: color-mix(in srgb, var(--accent) 13%, transparent); }

.theme-toggle {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1.5px solid var(--line); border-radius: 50%;
  background: transparent; color: var(--text);
  cursor: pointer; flex-shrink: 0;
  transition: border-color .22s var(--ease), background .22s var(--ease), transform .35s var(--ease);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); transform: rotate(20deg); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.call-wrap { position: relative; flex-shrink: 0; }

.call-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px;
  background: var(--btn-bg); color: var(--btn-text);
  font-family: inherit; font-size: 15px; font-weight: 600;
  border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), transform .2s var(--ease);
}
.call-btn:hover { background: var(--btn-hover); transform: translateY(-1px); }
.call-btn svg { width: 16px; height: 16px; }

.call-popup {
  position: absolute; top: calc(100% + 12px); right: 0;
  width: 272px; padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px) scale(.97); transform-origin: top right;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 1005;
}
.call-popup.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.call-popup-head { padding: 12px 14px 13px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.call-popup-num { margin: 0; font-family: 'Outfit', sans-serif; font-size: 19px; font-weight: 700; color: var(--text); }
.call-popup-hours { margin: 4px 0 0; font-size: 12px; line-height: 1.5; color: var(--accent); }

.call-opt {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 11px 14px;
  font-family: inherit; font-size: 14.5px; font-weight: 600;
  color: var(--text); text-decoration: none;
  background: none; border: 0; border-radius: 11px;
  text-align: left; cursor: pointer;
  transition: background .16s var(--ease);
}
.call-opt:hover { background: color-mix(in srgb, var(--accent) 13%, transparent); }
.call-opt svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; }

.burger {
  display: none; width: 46px; height: 46px; padding: 0;
  border: 0; border-radius: 13px;
  background: var(--logo-bg); cursor: pointer;
  position: relative; flex-shrink: 0; z-index: 1002;
  transition: background .35s var(--ease);
}

.burger span {
  position: absolute; left: 50%;
  width: 19px; height: 2px; border-radius: 2px;
  background: var(--logo-ink);
  transform: translateX(-50%);
  transition: transform .32s var(--ease), opacity .2s var(--ease), top .32s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger.is-open span:nth-child(1) { top: 22px; transform: translateX(-50%) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 22px; transform: translateX(-50%) rotate(-45deg); }

/* ---------- 6. MOBILE PANEL ---------- */
.overlay {
  position: fixed; inset: 0;
  background: rgba(11,29,24,.55); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
  z-index: 1000;
}
.overlay.is-open { opacity: 1; visibility: visible; }

.mobile-panel {
  position: fixed; top: 0; right: 0;
  width: min(380px, 87vw); height: 100dvh;
  background: var(--forest);
  transform: translateX(100%);
  transition: transform .38s var(--ease);
  z-index: 1001;
  display: flex; flex-direction: column;
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-panel.is-open { transform: translateX(0); }

.panel-head { padding: 26px 28px 20px; border-bottom: 1px solid rgba(255,255,255,.13); }
.panel-title { margin: 0; font-family: 'Newsreader', serif; font-size: 20px; font-weight: 500; color: #fff; }
.panel-sub { margin: 5px 0 0; font-size: 12.5px; color: rgba(255,255,255,.6); }

.mobile-nav { list-style: none; margin: 0; padding: 14px 16px; flex: 1; }
.mobile-nav > li { border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-nav > li:last-child { border-bottom: 0; }

.mobile-nav a, .submenu-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 15px 12px;
  font-family: inherit; font-size: 16px; font-weight: 600;
  color: #fff; text-decoration: none;
  background: none; border: 0; border-radius: 11px;
  text-align: left; cursor: pointer;
  transition: background .2s var(--ease);
}
.mobile-nav a:hover, .submenu-toggle:hover { background: rgba(255,255,255,.08); }

.submenu-toggle svg { width: 13px; height: 13px; transition: transform .3s var(--ease); }
.submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.submenu {
  list-style: none; margin: 0; padding: 0 0 0 12px;
  max-height: 0; overflow: hidden;
  transition: max-height .36s var(--ease);
}
.submenu.is-open { max-height: 620px; }
.submenu a { padding: 12px; font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,.74); }
.submenu a:hover { color: #fff; }

.panel-foot { padding: 20px 28px 32px; border-top: 1px solid rgba(255,255,255,.13); }

.panel-call {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px; background: #fff; color: var(--forest);
  font-size: 15.5px; font-weight: 600; text-decoration: none;
  border-radius: 999px; transition: background .22s var(--ease);
}
.panel-call:hover { background: rgba(255,255,255,.88); }
.panel-call svg { width: 17px; height: 17px; }

.panel-wa {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 10px; padding: 14px;
  color: rgba(255,255,255,.9); font-size: 14.5px; font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
  transition: background .22s var(--ease), border-color .22s var(--ease);
}
.panel-wa:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
.panel-wa svg { width: 17px; height: 17px; }

.panel-hours { margin: 14px 0 0; font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.55); text-align: center; }

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
  padding: 70px 0; overflow: hidden;
  background: var(--forest);
}

.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}

.hero::after { content: ''; position: absolute; inset: 0; background: var(--overlay); z-index: 1; }
.hero .container { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px; align-items: center;
}

.hero-copy .eyebrow { color: #8FD3C1; }
.hero-copy .eyebrow::before { background: #8FD3C1; }

.hero-title { color: #fff; margin-bottom: 20px; }
.hero-title em { font-style: italic; color: #8FD3C1; }

.hero-text {
  color: rgba(255,255,255,.84);
  font-size: 17.5px; line-height: 1.8;
  max-width: 52ch; margin-bottom: 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat strong {
  display: block; font-family: 'Newsreader', serif;
  font-size: 32px; font-weight: 500; color: #fff; line-height: 1;
}
.hero-stat span { font-size: 13px; color: rgba(255,255,255,.66); letter-spacing: .03em; }

/* ---------- 8. FORM ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-lg);
}
.form-card h3 { margin-bottom: 6px; }
.form-card .form-sub { font-size: 14px; margin-bottom: 24px; }

.field { margin-bottom: 15px; }

.field label {
  display: block; font-size: 12.5px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--text-soft); margin-bottom: 7px;
}

.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  font-family: inherit; font-size: 15px;
  color: var(--text);
  background: var(--surface-2);
  border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: var(--surface);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23619E90' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 13px;
  padding-right: 42px; cursor: pointer;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.hp { position: absolute; left: -9999px; opacity: 0; }

.form-note { font-size: 12.5px; text-align: center; margin: 14px 0 0; }

.form-msg { display: none; padding: 13px 16px; margin-bottom: 16px; font-size: 14px; font-weight: 500; border-radius: 12px; }
.form-msg.is-visible { display: block; }
.form-msg.is-ok { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-deep); }
.form-msg.is-err { background: rgba(214,69,69,.13); color: #C64343; }

/* ---------- 9. ABOUT STRIP ---------- */
.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 70px; align-items: center; }

.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--radius-lg); }
.about-media::before {
  content: ''; position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-lg); z-index: -1;
}

.about-badge {
  position: absolute; right: -24px; bottom: 34px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 24px;
  box-shadow: var(--shadow-lg); text-align: center;
}
.about-badge strong { display: block; font-family: 'Newsreader', serif; font-size: 30px; font-weight: 500; color: var(--accent); line-height: 1; }
.about-badge span { font-size: 12px; color: var(--text-soft); letter-spacing: .04em; }

.cred-list { list-style: none; margin: 26px 0 32px; padding: 0; display: grid; gap: 13px; }
.cred-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; color: var(--text-soft); }
.cred-list svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* ---------- 10. GALLERY ---------- */
.section-head { text-align: center; max-width: 660px; margin: 0 auto 60px; }
.section-head .eyebrow { justify-content: center; }
.section-head p { font-size: 17px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 18px;
}

.g-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  text-decoration: none;
  background: var(--surface-2);
  opacity: 0; transform: translateY(34px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.g-item.is-in { opacity: 1; transform: translateY(0); }

.g-item--tall { grid-row: span 2; }
.g-item--wide { grid-column: span 2; }

.g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease);
}

.g-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,32,26,.9) 0%, rgba(10,32,26,.34) 48%, transparent 78%);
  opacity: .74; transition: opacity .45s var(--ease);
}

.g-item:hover img { transform: scale(1.09); }
.g-item:hover::after { opacity: .96; }

.g-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px; z-index: 2;
  transform: translateY(14px);
  transition: transform .45s var(--ease);
}
.g-item:hover .g-caption { transform: translateY(0); }

.g-caption h4 {
  margin: 0 0 4px; font-family: 'Outfit', sans-serif;
  font-size: 18px; font-weight: 600; color: #fff; letter-spacing: -.01em;
}

.g-caption span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #8FD3C1;
  opacity: 0; transform: translateY(6px);
  transition: opacity .4s var(--ease) .06s, transform .4s var(--ease) .06s;
}
.g-item:hover .g-caption span { opacity: 1; transform: translateY(0); }
.g-caption span svg { width: 13px; height: 13px; }

/* ---------- 11. MAP ---------- */
.map-wrap {
  position: relative; height: 460px;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
[data-theme="dark"] .map-wrap iframe { filter: invert(.92) hue-rotate(180deg) saturate(.75); }

.map-card {
  position: absolute; top: 34px; left: 34px;
  width: 330px; padding: 28px;
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.map-card h3 { font-size: 21px; margin-bottom: 14px; }

.map-meta { display: grid; gap: 10px; margin-bottom: 20px; }
.map-meta div { display: flex; gap: 10px; font-size: 14px; color: var(--text-soft); line-height: 1.6; }
.map-meta svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }

/* ---------- 12. CTA BAND ---------- */
.cta-band {
  background: var(--forest); border-radius: var(--radius-lg);
  padding: 62px 56px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
[data-theme="dark"] .cta-band { background: var(--surface-2); border: 1px solid var(--line); }

.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.74); margin: 0; max-width: 46ch; }
[data-theme="dark"] .cta-band h2 { color: var(--text); }
[data-theme="dark"] .cta-band p { color: var(--text-soft); }

.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 13. FOOTER ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 76px 0 0; }

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 54px; }

.footer-brand { margin-bottom: 20px; }
.footer-about p { font-size: 14.5px; line-height: 1.75; max-width: 34ch; }

.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1.5px solid var(--line); border-radius: 50%;
  color: var(--text-soft);
  transition: border-color .22s var(--ease), color .22s var(--ease), transform .22s var(--ease);
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 { font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .02em; margin-bottom: 20px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { font-size: 14.5px; color: var(--text-soft); text-decoration: none; transition: color .2s var(--ease), padding-left .2s var(--ease); }
.footer-col a:hover { color: var(--accent); padding-left: 4px; }

.footer-contact div { display: flex; gap: 11px; margin-bottom: 15px; font-size: 14.5px; color: var(--text-soft); line-height: 1.6; }
.footer-contact svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.footer-contact a { color: inherit; text-decoration: none; }
.footer-contact a:hover { color: var(--accent); }

.footer-bar {
  border-top: 1px solid var(--line); padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--text-soft);
}

/* ---------- 14. PAGE HEAD ---------- */
.page-head {
  background: var(--bg-alt); border-bottom: 1px solid var(--line);
  padding: 74px 0; text-align: center;
}
.page-head .eyebrow { justify-content: center; }
.page-head h1 { margin-bottom: 12px; }
.page-head p { max-width: 58ch; margin: 0 auto; font-size: 17px; }

.crumb { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 13.5px; color: var(--text-soft); margin-top: 20px; flex-wrap: wrap; }
.crumb a { color: var(--accent); text-decoration: none; font-weight: 600; }
.crumb svg { width: 12px; height: 12px; opacity: .5; }

/* ---------- 15. INNER COMPONENTS ---------- */
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.ex-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 30px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.ex-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent); }

.ex-icon {
  width: 52px; height: 52px; display: grid; place-items: center;
  margin-bottom: 20px; border-radius: 15px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
}
.ex-icon svg { width: 24px; height: 24px; }

.ex-card h3 { font-size: 20px; margin-bottom: 10px; }
.ex-card p { font-size: 14.8px; line-height: 1.75; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 22px; }
.step::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--line); }
.step::after { content: ''; position: absolute; top: 0; left: 0; width: 42px; height: 2px; background: var(--accent); }

.step-num { display: block; font-family: 'Newsreader', serif; font-size: 15px; color: var(--accent); letter-spacing: .1em; margin-bottom: 12px; }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 14.8px; line-height: 1.75; margin: 0; }

.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.info-card {
  display: block; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent); }

.info-card h4 {
  font-family: 'Outfit', sans-serif; font-size: 13.5px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--text-soft); margin-bottom: 8px;
}
.info-card p { margin: 0; font-size: 16px; font-weight: 600; color: var(--text); line-height: 1.55; word-break: break-word; }

.contact-split { display: grid; grid-template-columns: 1fr 1.02fr; gap: 64px; align-items: start; }

.detail-block { margin: 32px 0; }
.detail-block h4 { font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.detail-block .cred-list { margin: 0; }
.detail-block .cred-list li { font-size: 14.8px; }

.hours-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hours-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 15px 20px; font-size: 14.5px;
  border-bottom: 1px solid var(--line); background: var(--surface);
}
.hours-row:last-child { border-bottom: 0; }
.hours-row span { color: var(--text-soft); }
.hours-row strong { color: var(--text); font-weight: 600; }

/* ---------- 16. TREATMENT DETAIL ---------- */
.td-hero {
  height: 420px; border-radius: var(--radius-lg);
  overflow: hidden; margin-bottom: 64px;
  background: var(--surface-2);
}
.td-hero img { width: 100%; height: 100%; object-fit: cover; }

.td-split { display: grid; grid-template-columns: 1fr 400px; gap: 64px; align-items: start; }

.td-main h3 { font-size: 23px; margin-bottom: 18px; }

.td-phases { display: grid; gap: 16px; }

.td-phase {
  display: flex; gap: 18px;
  padding: 24px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.td-phase:hover { border-color: var(--accent); transform: translateX(4px); }

.td-phase-num {
  width: 34px; height: 34px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent);
  font-size: 14px; font-weight: 700;
}

.td-phase h4 { font-family: 'Outfit', sans-serif; font-size: 16.5px; font-weight: 700; margin: 4px 0 6px; }
.td-phase p { font-size: 14.8px; line-height: 1.7; margin: 0; }

.td-who {
  margin-top: 44px; padding: 28px 30px;
  background: color-mix(in srgb, var(--accent) 11%, transparent);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.td-who h4 { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.td-who p { margin: 0; font-size: 15.5px; color: var(--text); }

.td-sticky { position: sticky; top: 110px; }

.td-more { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.td-card {
  position: relative; height: 180px;
  border-radius: var(--radius); overflow: hidden;
  text-decoration: none; display: block;
  background: var(--surface-2);
}
.td-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.td-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,32,26,.9), rgba(10,32,26,.2) 70%);
  transition: opacity .35s var(--ease);
}
.td-card:hover img { transform: scale(1.08); }

.td-card span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px; z-index: 2;
  font-size: 15px; font-weight: 600; color: #fff;
  font-family: 'Outfit', sans-serif;
}

/* ---------- 17. MISC ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }

.wa-float {
  position: fixed; right: 22px; bottom: 22px;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: #25D366; color: #fff; border-radius: 50%;
  box-shadow: 0 10px 30px -6px rgba(37,211,102,.5);
  z-index: 900; transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 27px; height: 27px; }


/* ---------- 17b. TOAST NOTIFICATION ---------- */
.toast-stack {
  position: fixed;
  top: calc(var(--header-h) + 18px);
  right: 22px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
  max-width: calc(100vw - 44px);
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 372px;
  max-width: 100%;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateX(28px) scale(.96);
  transition: opacity .38s var(--ease), transform .38s var(--ease);
}

.toast.is-in { opacity: 1; transform: translateX(0) scale(1); }
.toast.is-out { opacity: 0; transform: translateX(28px) scale(.96); }

/* left accent rail */
.toast::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
}
.toast--err::before { background: #D65B5B; }

.toast-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent);
}
.toast--err .toast-icon { background: rgba(214,91,91,.15); color: #D65B5B; }
.toast-icon svg { width: 19px; height: 19px; }

/* tick draw-on animation */
.toast-icon .tick {
  stroke-dasharray: 26;
  stroke-dashoffset: 26;
  animation: tick-draw .5s var(--ease) .18s forwards;
}
@keyframes tick-draw { to { stroke-dashoffset: 0; } }

.toast-body { flex: 1; min-width: 0; }

.toast-title {
  margin: 0 0 3px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px; font-weight: 700;
  color: var(--text);
  letter-spacing: -.005em;
}

.toast-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-soft);
}

.toast-close {
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  margin: -2px -4px 0 0;
  background: none; border: 0;
  border-radius: 7px;
  color: var(--text-soft);
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.toast-close:hover { background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--text); }
.toast-close svg { width: 13px; height: 13px; }

/* countdown bar */
.toast-bar {
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform-origin: left;
  animation: toast-countdown linear forwards;
}
.toast--err .toast-bar { background: #D65B5B; }
@keyframes toast-countdown { from { transform: scaleX(1); } to { transform: scaleX(0); } }

@media (max-width: 640px) {
  .toast-stack {
    top: auto;
    bottom: 84px;
    left: 16px; right: 16px;
    max-width: none;
  }
  .toast { width: 100%; padding: 16px 18px; }
  .toast.is-in { transform: translateY(0) scale(1); }
  .toast, .toast.is-out { transform: translateY(20px) scale(.97); }
  .toast.is-in { transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .toast-icon .tick { animation: none; stroke-dashoffset: 0; }
  .toast-bar { animation: none; }
}


/* ---------- 18. RESPONSIVE ---------- */
@media (max-width: 1200px) {
  .logo-sub { display: none; }
  .nav-link { padding: 10px 11px; font-size: 14.5px; }
}

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .form-card { max-width: 520px; }
  .about-grid { gap: 48px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-split { grid-template-columns: 1fr; gap: 48px; }
  .td-split { grid-template-columns: 1fr; gap: 48px; }
  .td-sticky { position: static; }
  .td-more { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
  :root { --header-h: 76px; }
  .nav, .call-wrap { display: none; }
  .burger { display: block; }
  .header-inner { gap: 12px; }
  .brand { margin-right: auto; }
  .logo-sub { display: block; }
  .section { padding: 78px 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media::before { display: none; }
  .about-badge { right: 18px; bottom: 18px; }
  .map-card { position: static; width: 100%; margin-bottom: 20px; }
  .map-wrap { height: auto; }
  .map-wrap iframe { height: 380px; }
  .cta-band { padding: 46px 34px; }
  .td-hero { height: 300px; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { padding: 0 18px; }
  .header-inner { padding: 0 18px; }
  .logo-mark { width: 38px; height: 38px; }
  .logo-name { font-size: 16px; }
  .logo-sub { font-size: 9px; letter-spacing: .1em; }
  .section { padding: 60px 0; }
  .hero { min-height: auto; padding: 54px 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { gap: 24px; }
  .hero-stat strong { font-size: 27px; }
  .form-card { padding: 26px 22px; }
  .field-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .g-item--wide, .g-item--tall { grid-column: auto; grid-row: auto; }
  .g-caption span { opacity: 1; transform: none; }
  .g-caption { transform: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-band { padding: 38px 24px; }
  .cta-actions .btn { flex: 1 1 100%; }
  .page-head { padding: 52px 0; }
  .expertise-grid, .steps, .info-grid { grid-template-columns: 1fr; }
  .ex-card { padding: 28px 24px; }
  .td-hero { height: 230px; margin-bottom: 44px; }
  .td-more { grid-template-columns: 1fr 1fr; gap: 12px; }
  .td-card { height: 140px; }
  .td-phase { flex-direction: column; gap: 12px; padding: 22px; }
  .wa-float { width: 50px; height: 50px; right: 16px; bottom: 16px; }
  .wa-float svg { width: 24px; height: 24px; }
}

/* ---------- 19. A11Y ---------- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

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

/* ---------- 20. IMAGE LOADING STATE ---------- */
.g-item, .td-card, .about-media, .td-hero {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--accent) 22%, var(--surface-2)),
    var(--surface-2));
}

.g-item img, .td-card img, .about-media img, .td-hero img {
  transition: opacity .5s var(--ease), transform .9s var(--ease);
}

img[data-loaded="false"] { opacity: 0; }
