/* ══════════════════════════════════════════
   SUKIRA AESTHETICS — COMPONENTS
   Nav · Buttons · Footer · Modal · Floats
══════════════════════════════════════════ */

/* ── PRELOADER ── */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--blue-deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transition: opacity .7s var(--ease), visibility .7s;
}
#preloader.done { opacity: 0; visibility: hidden; }
.pl-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px; font-weight: 600; letter-spacing: 6px;
  color: #fff; text-transform: uppercase;
  animation: plFade 1s var(--ease) both;
}
.pl-sub {
  font-size: 11px; font-weight: 500; letter-spacing: 4px;
  color: rgba(255,255,255,.4); text-transform: uppercase;
  margin-top: -20px;
  animation: plFade 1s var(--ease) .15s both;
}
.pl-bar-track {
  width: 160px; height: 2px; background: rgba(255,255,255,.12);
  border-radius: 2px; overflow: hidden;
  animation: plFade 1s var(--ease) .2s both;
}
.pl-bar { height: 100%; background: var(--blue); border-radius: 2px; width: 0; animation: plProgress 1.2s var(--ease) .3s forwards; }
@keyframes plFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes plProgress { from { width: 0; } to { width: 100%; } }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  background: rgba(255,255,255,.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
nav.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(24px) saturate(180%);
  border-color: var(--border);
  box-shadow: 0 2px 32px rgba(49,130,252,.08);
}
.nav-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 28px; height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; cursor: pointer; flex-shrink: 0; margin-right: 20px; }
.nav-logo-name { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: .5px; }
.nav-links { display: flex; align-items: center; gap: 0; list-style: none; flex: 1; }
.nav-links > li { display: flex; align-items: center; }
.nav-links > li > a {
  font-size: 13.5px; font-weight: 500; color: var(--ink-60);
  padding: 7px 11px; border-radius: var(--r-sm); cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
  transition: color .2s, background .2s; user-select: none; white-space: nowrap; line-height: 1;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--blue); background: var(--surface); }
.nav-links > li > a .chevron { font-size: 9px; transition: transform .25s; display: inline-flex; align-items: center; line-height: 1; margin-top: 1px; flex-shrink: 0; }
.nav-links > li.open > a .chevron { transform: rotate(180deg); }
.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: 12px; }
.nav-socials { display: flex; gap: 5px; align-items: center; }
.nav-soc {
  width: 30px; height: 30px; border-radius: 7px; background: var(--off); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--ink-60);
  text-decoration: none; transition: all .2s; font-size: 14px; flex-shrink: 0;
}
.nav-soc:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Call Now button */
.btn-call-nav {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 50px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  background: var(--off); border: 1.5px solid var(--border);
  text-decoration: none; transition: all .25s var(--ease); white-space: nowrap; flex-shrink: 0;
}
.btn-call-nav svg { width: 14px; height: 14px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; }
.btn-call-nav:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }

.btn-appt {
  background: var(--blue); color: #fff; padding: 9px 16px; border-radius: 50px;
  font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 4px 16px rgba(49,130,252,.28); transition: all .25s var(--ease);
  cursor: pointer; white-space: nowrap; flex-shrink: 0; line-height: 1;
}
.btn-appt:hover { background: var(--blue-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(49,130,252,.38); }
.btn-appt svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ── HOVER DROPDOWN MEGA MENU ── */
.nav-mega-wrap { position: relative; }
/* Always-present invisible bridge that extends the menu item's
   hover area down into the gap. Because it lives on the wrapper
   (not the panel), it never disappears, so there is no dead zone. */
.nav-mega-wrap::after {
  content: ''; position: absolute;
  top: 100%; left: 0; right: 0; height: 18px;
  background: transparent;
}
.mega-panel-inline {
  display: none; position: absolute; top: 100%; left: 0;
  margin-top: 12px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  box-shadow: 0 16px 48px rgba(26,26,46,.12);
  padding: 8px; min-width: 230px; z-index: 900;
}
.nav-mega-wrap:hover .mega-panel-inline,
.mega-panel-inline:hover { display: flex; flex-direction: column; }
.mega-dd-item {
  display: block; padding: 11px 14px; font-size: 13.5px; font-weight: 500;
  color: var(--ink-60); border-radius: var(--r-sm); cursor: pointer;
  transition: all .15s; white-space: nowrap; text-decoration: none;
}
.mega-dd-item:hover { color: var(--blue); background: var(--surface); }

/* ── LAYOUT ── */
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section-sm { padding: 56px 0; }

/* ── TYPOGRAPHY ── */
.label-tag {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--blue); background: var(--surface);
  padding: 5px 14px; border-radius: 50px; border: 1px solid var(--border);
}
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; }
.h1 { font-size: clamp(44px, 5.5vw, 74px); font-weight: 600; line-height: 1.07; letter-spacing: -.5px; }
.h2 { font-size: clamp(32px, 4vw, 50px); font-weight: 600; line-height: 1.15; letter-spacing: -.3px; }
.h3 { font-size: clamp(22px, 2.5vw, 30px); font-weight: 600; line-height: 1.25; }
.em { font-style: italic; color: var(--blue); }
.body-text { font-size: 15px; line-height: 1.78; color: var(--ink-60); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px;
  border-radius: 50px; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all .25s var(--ease); border: none; font-family: inherit;
}
.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 4px 16px rgba(49,130,252,.28); position: relative; overflow: hidden; }
.btn-primary:hover { background: var(--blue-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(49,130,252,.38); }
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn-primary:hover::after { left: 150%; }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--off); transform: translateY(-2px); }
.btn-outline-w { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn-outline-w:hover { border-color: #fff; background: rgba(255,255,255,.1); transform: translateY(-2px); }
.btn-outline-b { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline-b:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }

/* ── STRIP ── */
.strip { background: #f0f5ff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 0; }
.strip-inner {
  max-width: 1320px; margin: 0 auto; padding: 26px 32px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.strip-item { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.strip-icon {
  width: 40px; height: 40px; background: #fff; border-radius: 10px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.strip-icon svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; }
.strip-strong { font-size: 13px; font-weight: 600; color: var(--ink); }
.strip-sub { font-size: 11.5px; color: var(--ink-60); }
.strip-div { width: 1px; height: 28px; background: var(--border); }

/* ── WHY US ── */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 52px; }
.why-card {
  background: #fff; border-radius: 14px; padding: 26px; border: 1px solid var(--border);
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.why-card:hover { border-color: var(--blue); transform: translateY(-8px); box-shadow: 0 14px 36px rgba(49,130,252,.1); }
.why-ico {
  width: 52px; height: 52px; border-radius: 13px; background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  transition: background .3s, border-color .3s;
}
.why-ico svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; }
.why-card:hover .why-ico { background: var(--blue); border-color: var(--blue); }
.why-card:hover .why-ico svg { stroke: #fff; }
.why-h { font-size: 15px; font-weight: 700; margin-bottom: 9px; }
.why-p { font-size: 13px; color: var(--ink-60); line-height: 1.65; }

/* ── REVIEWS ── */
.rev-bg { background: var(--surface); }
.g-bar {
  display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 22px;
  background: #fff; border-radius: 14px; padding: 22px 28px;
  border: 1px solid var(--border); margin-bottom: 36px;
}
.g-logo { width: 44px; height: 44px; border-radius: 10px; background: var(--off); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.g-logo svg { width: 24px; height: 24px; }
.g-score { font-family: 'Cormorant Garamond', serif; font-size: 48px; font-weight: 700; color: var(--ink); line-height: 1; }
.g-stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; margin-bottom: 3px; }
.g-cnt { font-size: 12.5px; color: var(--ink-60); }
.g-desc { font-size: 13px; color: var(--ink-60); line-height: 1.6; }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rev-card {
  background: #fff; border-radius: 14px; padding: 26px; border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: border-color .3s, transform .3s var(--ease);
}
.rev-card:hover { border-color: var(--blue); transform: translateY(-4px); }
.rev-q {
  position: absolute; top: 18px; right: 22px;
  font-family: 'Cormorant Garamond', serif; font-size: 52px; font-weight: 700;
  color: var(--surface); line-height: 1; user-select: none;
}
.rev-stars { color: var(--gold); font-size: 12px; letter-spacing: 2px; margin-bottom: 14px; }
.rev-text { font-size: 13.5px; color: var(--ink-60); line-height: 1.72; margin-bottom: 20px; font-style: italic; }
.rev-author { display: flex; align-items: center; gap: 11px; }
.rev-av {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px;
}
.rev-name { font-size: 13px; font-weight: 700; color: var(--ink); }
.rev-meta { font-size: 11px; color: var(--ink-60); }
.rev-src { font-size: 10.5px; color: var(--blue); font-weight: 700; margin-top: 2px; }

/* ── VIDEO ── */
.vid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.vid-card { border-radius: 14px; overflow: hidden; aspect-ratio: 16/10; box-shadow: 0 4px 20px rgba(26,26,46,.09); transition: transform .35s var(--ease), box-shadow .35s; }
.vid-card:hover { transform: translateY(-5px); box-shadow: 0 14px 40px rgba(26,26,46,.15); }
.vid-card iframe { width: 100%; height: 100%; border: none; display: block; }

/* ── CTA SECTION ── */
.cta-section { background: linear-gradient(135deg, var(--blue-mid) 0%, var(--blue) 100%); padding: 88px 0; text-align: center; }
.cta-section .h2 { color: #fff; }
.cta-section .h2 em { color: #bfdbfe; }
.cta-section p { color: rgba(255,255,255,.72); font-size: 16.5px; margin: 14px auto 32px; max-width: 500px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer { background: #fff; border-top: 1px solid var(--border); padding: 68px 0 28px; }
.ft-top { display: grid; grid-template-columns: 2fr 1fr 1.2fr 1.6fr; gap: 48px; margin-bottom: 52px; }
.ft-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ft-brand p { font-size: 13px; color: var(--ink-60); line-height: 1.7; max-width: 230px; margin-bottom: 18px; }
.ft-socials { display: flex; gap: 8px; }
.ft-soc {
  width: 34px; height: 34px; border-radius: 8px; background: var(--off); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--ink-60);
  text-decoration: none; font-size: 15px; transition: all .2s;
}
.ft-soc:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.ft-col h4 { font-size: 10.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-60); margin-bottom: 16px; }
.ft-col ul li { margin-bottom: 8px; }
.ft-col ul li a { font-size: 13.5px; color: var(--ink-60); cursor: pointer; transition: color .2s; display: flex; align-items: center; gap: 5px; }
.ft-col ul li a:hover { color: var(--blue); }
.ft-contact-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.ft-ci {
  width: 26px; height: 26px; background: var(--surface); border-radius: 7px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.ft-ci svg { width: 12px; height: 12px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; }
.ft-ct { font-size: 12.5px; color: var(--ink-60); line-height: 1.5; }
.ft-cl { font-size: 9.5px; color: var(--ink-60); opacity: .55; text-transform: uppercase; letter-spacing: .5px; font-weight: 700; }
.ft-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.ft-bottom p { font-size: 12px; color: var(--ink-60); }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(5,14,37,.7); backdrop-filter: blur(12px);
  z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: all .35s var(--ease);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: #fff; border-radius: 18px; padding: 36px; width: 100%; max-width: 640px;
  max-height: 90vh; overflow-y: auto; position: relative;
  transform: scale(.92) translateY(14px); transition: all .35s var(--ease);
  box-shadow: 0 40px 80px rgba(5,14,37,.28);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.modal-head h3 { font-family: 'Cormorant Garamond', serif; font-size: 28px; color: var(--blue); }
.modal-head p { font-size: 13px; color: var(--ink-60); margin-top: 4px; }
.modal-close {
  width: 34px; height: 34px; border-radius: 50%; background: var(--off); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: all .2s;
}
.modal-close:hover { background: #fee2e2; border-color: #fecaca; }
.modal-close svg { width: 16px; height: 16px; stroke: var(--ink-60); fill: none; stroke-width: 2; stroke-linecap: round; }
.field-err { display: block; font-size: 11.5px; color: #dc2626; margin-top: 4px; min-height: 16px; line-height: 1.4; }
.input-error { border-color: #dc2626 !important; background: #fef2f2 !important; }
#modal-error-banner { display: none; }
#modal-error-banner.show { display: flex !important; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── FORM ELEMENTS (shared modal + contact page) ── */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .5px; margin-bottom: 5px; color: var(--ink); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: var(--r-sm); font-size: 13.5px; font-family: 'DM Sans', sans-serif;
  color: var(--ink); background: #fff; outline: none; transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(49,130,252,.08); }
.form-group textarea { resize: none; height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-check { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 18px; }
.form-check input { width: 15px; height: 15px; margin-top: 2px; accent-color: var(--blue); }
.form-check label { font-size: 12px; color: var(--ink-60); line-height: 1.5; }

/* ── TOAST ── */
#cs-toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(24px);
  z-index: 99999; background: #fff; border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 16px 48px rgba(26,26,46,.14);
  padding: 16px 24px 16px 18px;
  display: flex; align-items: center; gap: 14px;
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  min-width: 280px; max-width: 360px;
}
#cs-toast.show { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
#cs-toast.toast-success .cs-toast-ico { background: #f0fdf4; border-color: #bbf7d0; }
#cs-toast.toast-success .cs-toast-ico svg { stroke: #16a34a; }
#cs-toast.toast-success { border-color: #bbf7d0; }
#cs-toast.toast-error .cs-toast-ico { background: #fef2f2; border-color: #fecaca; }
#cs-toast.toast-error .cs-toast-ico svg { stroke: #dc2626; }
#cs-toast.toast-error { border-color: #fecaca; }
.cs-toast-ico {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  animation: cs-pulse 2s ease-in-out infinite;
}
@keyframes cs-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(49,130,252,.2); } 50% { box-shadow: 0 0 0 6px rgba(49,130,252,0); } }
.cs-toast-ico svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; }
.cs-toast-body { flex: 1; }
.cs-toast-title { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.cs-toast-sub { font-size: 12.5px; color: var(--ink-60); line-height: 1.5; }
.cs-toast-close {
  width: 24px; height: 24px; border-radius: 50%; border: none; background: var(--off);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  color: var(--ink-60); flex-shrink: 0; transition: background .15s;
}
.cs-toast-close:hover { background: var(--border); }
.cs-toast-close svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; }

/* ── WHATSAPP FLOAT ── */
.wa-wrap { position: fixed; right: 24px; bottom: 78px; z-index: 5000; }
.wa-btn {
  width: 52px; height: 52px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.38); text-decoration: none;
  position: relative; transition: transform .3s var(--ease);
}
.wa-btn:hover { transform: scale(1.1); }
.wa-btn svg { width: 26px; height: 26px; fill: #fff; }
.wa-tip {
  position: absolute; right: 62px; top: 50%; transform: translateY(-50%);
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 500;
  padding: 6px 12px; border-radius: 7px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.wa-tip::after { content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%); border: 5px solid transparent; border-right: none; border-left-color: var(--ink); }
.wa-wrap:hover .wa-tip { opacity: 1; }

/* ── BACK TO TOP ── */
.back-top {
  position: fixed; right: 24px; bottom: 22px; z-index: 5000;
  width: 42px; height: 42px; border-radius: 50%; background: var(--blue);
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 4px 14px rgba(49,130,252,.32); cursor: pointer;
  opacity: 0; pointer-events: none; transition: all .3s var(--ease); border: none;
}
.back-top svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; }
.back-top.show { opacity: 1; pointer-events: all; }
.back-top:hover { background: var(--blue-mid); transform: translateY(-3px); }

/* ── REVEAL ANIMATION ── */
[data-r] { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-r].revealed { opacity: 1; transform: none; }
[data-r][data-d="1"] { transition-delay: .1s; }
[data-r][data-d="2"] { transition-delay: .2s; }
[data-r][data-d="3"] { transition-delay: .3s; }
[data-r][data-d="4"] { transition-delay: .4s; }
[data-r][data-d="5"] { transition-delay: .5s; }

/* ══════════════════════════════════════════
   MOBILE MENU — Hamburger + Slide-in Drawer
══════════════════════════════════════════ */
.nav-burger {
  display: none;
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--off); border: 1px solid var(--border);
  align-items: center; justify-content: center; cursor: pointer;
  flex-shrink: 0; transition: background .2s, border-color .2s;
}
.nav-burger:hover { border-color: var(--blue); }
.nav-burger span {
  position: relative; width: 18px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: background .2s;
}
.nav-burger span::before,
.nav-burger span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after  { top: 6px; }
body.menu-open .nav-burger span { background: transparent; }
body.menu-open .nav-burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-burger span::after  { top: 0; transform: rotate(-45deg); }

/* Drawer panel */
.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 86%; max-width: 360px; z-index: 1200;
  background: #fff; box-shadow: -8px 0 40px rgba(5,14,37,.18);
  transform: translateX(100%); transition: transform .38s var(--ease);
  display: flex; flex-direction: column; overflow-y: auto;
  padding: 22px 22px 32px;
}
body.menu-open .mobile-drawer { transform: translateX(0); }

.mobile-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid var(--border);
}
.mobile-drawer-head img { height: 30px; width: auto; display: block; }
.md-close {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--off); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
}
.md-close svg { width: 16px; height: 16px; stroke: var(--ink-60); fill: none; stroke-width: 2; stroke-linecap: round; }

/* Drawer links */
.md-link {
  display: block; padding: 14px 4px; font-size: 16px; font-weight: 600;
  color: var(--ink); border-bottom: 1px solid var(--border); text-decoration: none;
}
.md-link:active { color: var(--blue); }

/* Accordion groups */
.md-group { border-bottom: 1px solid var(--border); }
.md-group-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px; font-size: 16px; font-weight: 600; color: var(--ink);
  cursor: pointer; user-select: none;
}
.md-group-head .md-chev {
  width: 18px; height: 18px; stroke: var(--ink-60); fill: none; stroke-width: 2;
  stroke-linecap: round; transition: transform .3s var(--ease); flex-shrink: 0;
}
.md-group.open .md-group-head .md-chev { transform: rotate(180deg); }
.md-sub {
  max-height: 0; overflow: hidden; transition: max-height .35s var(--ease);
}
.md-group.open .md-sub { max-height: 600px; }
.md-sub a {
  display: block; padding: 11px 4px 11px 18px; font-size: 14px; font-weight: 500;
  color: var(--ink-60); text-decoration: none; border-bottom: 1px solid var(--off);
}
.md-sub a:last-child { border-bottom: none; }
.md-sub a:active { color: var(--blue); }

/* Drawer footer actions */
.md-actions { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.md-actions .btn-call-nav,
.md-actions .btn-appt {
  width: 100%; justify-content: center; padding: 13px; font-size: 14px; display: inline-flex;
}
.md-actions .btn-call-nav { font-size: 14px; }
.md-actions .btn-appt svg { width: 16px; height: 16px; }

/* Backdrop */
.mobile-backdrop {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(5,14,37,.5); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
body.menu-open .mobile-backdrop { opacity: 1; visibility: visible; }

/* Show burger / drawer only on tablet & mobile */
@media (max-width: 1024px) {
  .nav-burger { display: flex; }
}
@media (min-width: 1025px) {
  .mobile-drawer, .mobile-backdrop { display: none !important; }
}
