/* ============================================
   The Excimer Specialist & Aesthetics
   Brand: Ilasha Naidoo — Aspen Hills, Johannesburg
   Palette + type match the approved design reference
   ============================================ */

:root {
  --lavender-tint: #ECEBF4;
  --paper: #F8F7FB;
  --ink: #2A2836;
  --ink-soft: #615D74;
  --lavender: #8688AC;
  --lavender-deep: #63658A;
  --lavender-mid: #A6A8C7;
  --line: #DCDBE9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; width: 100%; }

/* Note: deliberately NOT setting overflow-x on html/body — doing so
   breaks position:sticky for child elements (notably in mobile Safari).
   The real overflow sources were fixed at their origin instead (removed
   hard min-width values on flex children, hardened grid minmax() with
   min(), see below), so this safety net is no longer needed. */
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: "Work Sans", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  margin: 0;
}

p { margin: 0; }
a { color: var(--lavender-deep); text-decoration: none; }
a:hover { color: var(--lavender); }
img { max-width: 100%; display: block; }

::selection { background: var(--lavender-mid); color: var(--paper); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--lavender-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 50;
  background: var(--ink); color: var(--paper);
  padding: 12px 20px; border-radius: 0 0 8px 0; font-size: 14px;
}
.skip-link:focus { left: 0; }

.mockup-banner {
  background: var(--lavender-mid);
  color: var(--ink);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  letter-spacing: 0.02em;
}

/* ---------- Buttons ---------- */
.cta-primary {
  padding: 0 28px; height: 52px; display: inline-flex; align-items: center;
  background: var(--ink); color: var(--paper); font-size: 14px; border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease; border: none; cursor: pointer;
}
.cta-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(42,40,54,0.35); color: var(--paper); }

.cta-ghost {
  padding: 0 28px; height: 52px; display: inline-flex; align-items: center;
  background: transparent; color: var(--ink); font-size: 14px;
  border: 1px solid var(--ink); border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.cta-ghost:hover { background: var(--ink); color: var(--paper); }

.cta-on-dark {
  padding: 0 28px; height: 52px; display: inline-flex; align-items: center;
  background: var(--lavender-tint); color: var(--ink); font-size: 14px; border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-on-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(42,40,54,0.35); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Nav ---------- */
.exc-nav-link { position: relative; font-size: 14px; color: var(--ink-soft); min-height: 44px; display: inline-flex; align-items: center; transition: color 0.2s ease; }
.exc-nav-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1.5px; background: var(--lavender-deep); transition: right 0.25s ease; }
.exc-nav-link:hover::after { right: 0; }
.exc-nav-link.active { color: var(--ink); }

/* Sticky nav — stays pinned at the top while scrolling */
nav[aria-label="Primary"] { position: sticky; top: 0; z-index: 40; width: 100%; box-sizing: border-box; padding: 16px 24px; }
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 10px 12px 10px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: rgba(248,247,251,0.86); backdrop-filter: blur(14px);
  border: 1px solid rgba(220,219,233,0.8); border-radius: 999px;
  box-shadow: 0 12px 30px -18px rgba(42,40,54,0.25);
  position: relative; z-index: 36; /* stays above .mobile-menu.open so the
  toggle button is still reachable/tappable while the menu is open */
}
.brand-mark { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  height: 36px; width: 36px; border-radius: 8px; flex-shrink: 0;
  object-fit: cover; background: var(--lavender);
}
.brand-text { line-height: 1.15; min-width: 0; }
.brand-text .name { display: block; font-family: "Fraunces", Georgia, serif; font-size: 15px; letter-spacing: 0.02em; color: var(--ink); white-space: nowrap; }
.brand-text .sub { display: block; font-size: 10.5px; color: var(--ink-soft); letter-spacing: 0.03em; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%; border: none;
  background: var(--ink); align-items: center; justify-content: center; flex-shrink: 0; cursor: pointer;
}
.nav-toggle svg { display: block; }

.mobile-menu { display: none; }
.mobile-menu.open {
  display: block; position: fixed; inset: 0; top: 0; z-index: 35;
  background: rgba(42,40,54,0.28); backdrop-filter: blur(2px);
}
.mobile-menu-panel { max-width: 1180px; margin: 0 auto; padding: 16px 24px 0; }
/* clears the sticky nav pill (which sits above the overlay) so the first
   link isn't hidden underneath it */
.mobile-menu-spacer { height: 92px; flex-shrink: 0; }
.mobile-menu-inner {
  background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 12px;
  display: flex; flex-direction: column; gap: 2px; box-shadow: 0 30px 60px -30px rgba(42,40,54,0.35);
}
.mobile-menu-header {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 10px 16px; margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-header img {
  height: 40px; width: 40px; border-radius: 9px; flex-shrink: 0; object-fit: cover; background: var(--lavender);
}
.mobile-menu-header .mh-text { flex: 1; min-width: 0; }
.mobile-menu-header .mh-name { font-family: "Fraunces", Georgia, serif; font-size: 16px; color: var(--ink); display: block; }
.mobile-menu-header .mh-sub { font-size: 11.5px; color: var(--ink-soft); letter-spacing: 0.02em; display: block; margin-top: 2px; }
.mobile-menu-close {
  width: 36px; height: 36px; border-radius: 50%; border: none; flex-shrink: 0;
  background: var(--lavender-tint); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.mobile-menu-close:hover { background: var(--line); }
.mobile-menu-inner a.link {
  padding: 16px 18px; font-size: 16px; color: var(--ink); border-radius: 14px; min-height: 44px; display: flex; align-items: center;
}
.mobile-menu-inner a.link:hover { background: var(--lavender-tint); }
.mobile-menu-inner a.cta {
  margin-top: 8px; padding: 0 18px; height: 52px; display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--paper); font-size: 15px; border-radius: 14px;
}

/* TABLET + MOBILE (<=1024px): collapse to a burger nav and drop the
   wordmark subtitle so the pill never has to squeeze full nav links
   into a narrow width. Desktop (>1024px) keeps the full inline nav. */
@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* MOBILE (<=640px): keep the name + practice name visible in the
   collapsed bar, but keep it compact so it never crowds the toggle. */
@media (max-width: 640px) {
  .brand-text .name { font-size: 13.5px; }
  .brand-text .sub {
    font-size: 9px; max-width: 46vw; overflow: hidden; text-overflow: ellipsis;
  }
}

/* ---------- Layout helpers ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.eyebrow { font-size: 13px; letter-spacing: 0.04em; color: var(--lavender-deep); margin-bottom: 14px; }
.dark-panel { background: var(--ink); border-radius: 32px; }
.dark-panel-outer { padding: 0 24px; }
.dark-panel-inner { max-width: 1132px; margin: 0 auto; }

/* ---------- Hero ---------- */
.hero-wrap { width: 100%; box-sizing: border-box; position: relative; overflow: hidden; }
.blob-a { position: absolute; top: -140px; right: -120px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(166,168,199,0.45), rgba(166,168,199,0) 70%); filter: blur(10px); pointer-events: none; }
.blob-b { position: absolute; bottom: -60px; left: -140px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle at 60% 40%, rgba(134,136,172,0.28), rgba(134,136,172,0) 70%); filter: blur(10px); pointer-events: none; }

.hero-grid { max-width: 1180px; margin: 0 auto; padding: 64px 32px 96px; display: flex; gap: 64px; align-items: center; flex-wrap: wrap; position: relative; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.location-chip { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 7px 16px; background: var(--lavender-tint); border-radius: 999px; font-size: 12.5px; letter-spacing: 0.03em; color: var(--lavender-deep); }
.location-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lavender-deep); display: inline-block; }
.hero-h1 { font-size: 58px; line-height: 1.06; color: var(--ink); max-width: 11ch; letter-spacing: -0.01em; }
.hero-lede { font-size: 17px; line-height: 1.65; color: var(--ink-soft); max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; padding-top: 8px; flex-wrap: wrap; }
.hero-visual-wrap { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.hero-visual {
  width: 100%; max-width: 420px; aspect-ratio: 3/4;
  background: linear-gradient(155deg, var(--ink) 0%, #3B3850 100%); border-radius: 28px;
  display: flex; align-items: center; justify-content: center; padding: 0; box-sizing: border-box;
  box-shadow: 0 40px 70px -30px rgba(42,40,54,0.45); position: relative; overflow: hidden;
}
.hero-visual::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,0.14); border-radius: 20px; pointer-events: none; z-index: 1; }
.hero-logo-img { width: 100%; height: auto; object-fit: contain; border-radius: 12px; position: relative; }
.hero-portrait { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; }

/* MOBILE (<=640px) */
@media (max-width: 640px) { .hero-h1 { font-size: 38px !important; } }
/* TABLET (641-1024px): the hero headline gets a touch of breathing room too */
@media (min-width: 641px) and (max-width: 1024px) { .hero-h1 { font-size: 46px; } }

/* ---------- About ---------- */
.about-wrap { width: 100%; box-sizing: border-box; }
.about-grid { max-width: 1180px; margin: 0 auto; padding: 80px 32px 96px; display: flex; gap: 72px; flex-wrap: wrap; }
.about-heading { flex: 1 1 280px; min-width: 0; }
.about-heading h2 { font-size: 34px; line-height: 1.2; color: var(--ink); max-width: 10ch; }
.about-body { flex: 2 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about-body p { font-size: 16px; line-height: 1.75; color: var(--ink-soft); }
.about-badges { display: flex; gap: 16px; padding-top: 16px; flex-wrap: wrap; }
.about-badge { flex: 1 1 220px; padding: 22px 24px; background: var(--lavender-tint); border-radius: 18px; }
.about-badge .t { font-family: "Fraunces", serif; font-size: 15px; color: var(--ink); }
.about-badge .s { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }

/* ---------- Dark feature panel ---------- */
.feature-panel { position: relative; overflow: hidden; }
.feature-panel .blob { position: absolute; top: -100px; right: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(166,168,199,0.22), rgba(166,168,199,0) 70%); pointer-events: none; }
.feature-panel-inner { padding: 72px 48px; display: flex; gap: 48px; flex-wrap: wrap; align-items: center; position: relative; }
.feature-copy { flex: 1 1 340px; min-width: 0; }
.feature-copy h2 { font-size: 32px; line-height: 1.2; color: var(--paper); max-width: 12ch; }
.feature-copy p { font-size: 16px; line-height: 1.7; color: #C4C2D6; margin-top: 20px; max-width: 40ch; }
.feature-cta { flex: 1 1 260px; min-width: 0; }
.section-eyebrow-dark { font-size: 13px; letter-spacing: 0.04em; color: #C7C9E3; margin-bottom: 14px; }

/* ---------- Treatments preview ---------- */
.treat-preview-wrap { width: 100%; box-sizing: border-box; }
.treat-preview-inner { max-width: 1180px; margin: 0 auto; padding: 96px 32px; }
.treat-preview-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.treat-preview-head h2 { font-size: 32px; color: var(--ink); max-width: 16ch; }
.prev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.prev-card { background: var(--paper); padding: 26px; border-radius: 20px; border: 1px solid var(--line); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.prev-card:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -22px rgba(42,40,54,0.3); }
.prev-card .t { font-family: "Fraunces", serif; font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.prev-card .d { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

/* ---------- Why us / bento ---------- */
.why-us-wrap { width: 100%; box-sizing: border-box; padding: 0 32px 112px; }
.why-us-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.bento-card { border-radius: 24px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.bento-card:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -22px rgba(42,40,54,0.3); }
.bento-dark { grid-row: 1/3; background: var(--ink); padding: 44px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 280px; }
.bento-dark .t { font-family: "Fraunces", serif; font-size: 24px; color: var(--paper); max-width: 16ch; line-height: 1.3; }
.bento-dark .d { font-size: 14px; line-height: 1.65; color: #C4C2D6; max-width: 32ch; }
.bento-light { background: var(--lavender-tint); padding: 32px; }
.bento-light .t { font-family: "Fraunces", serif; font-size: 18px; color: var(--ink); margin-bottom: 10px; }
.bento-light .d { font-size: 14px; line-height: 1.65; color: var(--ink-soft); }

/* MOBILE (<=640px): stack the bento cards; tablet and up keep the 2-col grid */
@media (max-width: 640px) {
  .why-us-grid { grid-template-columns: 1fr !important; }
  .why-us-grid .bento-card { grid-row: auto !important; }
}

/* ---------- Contact ---------- */
.contact-wrap { width: 100%; box-sizing: border-box; padding: 0 24px 24px; }
.contact-inner { max-width: 1132px; margin: 0 auto; background: var(--ink); border-radius: 32px; padding: 88px 48px; }
.contact-flex { display: flex; gap: 64px; flex-wrap: wrap; }
.contact-intro { flex: 1 1 360px; min-width: 0; }
.contact-intro h2 { font-size: 32px; color: var(--paper); max-width: 12ch; }
.contact-intro p { font-size: 15px; line-height: 1.7; color: #C4C2D6; margin-top: 20px; max-width: 40ch; }
.contact-grid { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.contact-cell { background: rgba(255,255,255,0.05); border-radius: 16px; padding: 20px; }
.contact-cell .label { font-size: 12px; letter-spacing: 0.03em; color: #8B89A0; margin-bottom: 8px; }
.contact-cell .value { font-size: 15px; color: var(--paper); line-height: 1.5; }
.contact-cell .value a { color: var(--paper); }

/* MOBILE (<=640px): contact detail cells stack to one column */
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr !important; } }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { width: 100%; box-sizing: border-box; position: relative; }
.page-hero-inner { max-width: 1180px; margin: 0 auto; padding: 64px 32px 56px; position: relative; }
.page-hero h1 { font-size: 44px; line-height: 1.12; color: var(--ink); max-width: 16ch; }
.page-hero p { font-size: 17px; line-height: 1.7; color: var(--ink-soft); max-width: 60ch; margin-top: 20px; }

/* ---------- Excimer conditions ---------- */
.conditions-wrap { width: 100%; box-sizing: border-box; padding: 0 32px 96px; }
.conditions-inner { max-width: 1180px; margin: 0 auto; }
.excimer-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.cond-card { background: var(--paper); padding: 28px; border-radius: 20px; border: 1px solid var(--line); }
.cond-card .t { font-family: "Fraunces", serif; font-size: 19px; color: var(--ink); margin-bottom: 10px; }
.cond-card .d { font-size: 14px; line-height: 1.65; color: var(--ink-soft); }

/* MOBILE (<=640px): condition cards and photo placeholders stack to one column */
@media (max-width: 640px) { .excimer-grid, .photo-grid { grid-template-columns: 1fr !important; } }

/* ---------- Photo placeholder grid ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.photo-placeholder {
  aspect-ratio: 4/5; background: var(--lavender-tint); border: 1px dashed #B9B8D1; border-radius: 20px;
  display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center;
}
.photo-placeholder span { font-size: 13px; color: var(--lavender-deep); line-height: 1.5; }

/* ---------- Treatments catalog ---------- */
.tab-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.tab-pill {
  padding: 0 18px; height: 44px; display: inline-flex; align-items: center; font-size: 13px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease; flex-shrink: 0;
}
.tab-pill:hover { transform: translateY(-1px); }
.tab-pill.active { border-color: var(--lavender); background: var(--lavender); color: var(--paper); box-shadow: 0 10px 20px -10px rgba(134,136,172,0.6); }

/* MOBILE (<=640px): filter pills become a horizontally-scrollable strip,
   contained within the viewport (no page-level overflow) */
@media (max-width: 640px) {
  .tab-row { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px 28px; padding: 0 20px; -ms-overflow-style: none; scrollbar-width: none; max-width: 100vw; }
  .tab-row::-webkit-scrollbar { display: none; }
  .tab-pill { scroll-snap-align: start; }
}

.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.svc-card {
  background: var(--paper); padding: 26px; display: flex; flex-direction: column; gap: 14px; min-height: 180px;
  border-radius: 20px; border: 1px solid var(--line); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(42,40,54,0.28); border-color: transparent; }
.svc-chip { display: inline-flex; width: fit-content; font-size: 11.5px; letter-spacing: 0.03em; padding: 4px 12px; border-radius: 999px; }
.svc-name { font-family: "Fraunces", serif; font-size: 19px; color: var(--ink); line-height: 1.25; }
.svc-desc { font-size: 14px; line-height: 1.65; color: var(--ink-soft); }

/* ---------- Bottom CTA panel ---------- */
.bottom-cta { display: flex; gap: 32px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 56px 48px; }
.bottom-cta-copy { max-width: 36ch; }
.bottom-cta-copy .t { font-family: "Fraunces", serif; font-size: 22px; color: var(--paper); margin-bottom: 8px; }
.bottom-cta-copy .d { font-size: 14px; line-height: 1.6; color: #C4C2D6; }
.bottom-cta-centered { text-align: center; padding: 64px 48px; }
.bottom-cta-centered .t { font-family: "Fraunces", serif; font-size: 26px; color: var(--paper); max-width: 26ch; margin: 0 auto 14px; }
.bottom-cta-centered .d { font-size: 15px; line-height: 1.6; color: #C4C2D6; max-width: 44ch; margin: 0 auto 28px; }

/* ---------- Legal pages ---------- */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 64px 32px 96px; }
.legal-wrap h1 { font-size: 36px; color: var(--ink); margin-bottom: 24px; }
.legal-notice { background: var(--lavender-tint); border-radius: 16px; padding: 24px; margin-bottom: 32px; }
.legal-notice p { font-size: 14px; line-height: 1.6; color: var(--ink); }
.legal-section { display: flex; flex-direction: column; gap: 24px; }
.legal-section h2 { font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.legal-section p { font-size: 14px; line-height: 1.65; color: var(--ink-soft); }

/* ---------- Footer ---------- */
footer { width: 100%; box-sizing: border-box; border-top: 1px solid var(--line); background: var(--paper); }
.footer-top { max-width: 1180px; margin: 0 auto; padding: 40px 32px 20px; display: flex; gap: 32px; flex-wrap: wrap; justify-content: space-between; }
.footer-brand { flex: 1 1 260px; min-width: 0; }
.footer-brand .name { font-family: "Fraunces", Georgia, serif; font-size: 15px; color: var(--ink); margin-bottom: 8px; }
.footer-brand .addr { font-size: 13px; color: var(--ink-soft); line-height: 1.6; }
.footer-col { flex: 1 1 200px; min-width: 0; }
.footer-col .label { font-size: 12px; letter-spacing: 0.03em; color: #8B89A0; margin-bottom: 10px; }
.footer-col-links { display: flex; flex-direction: column; gap: 6px; }
.exc-foot-link { font-size: 14px; color: var(--ink-soft); min-height: 44px; display: flex; align-items: center; transition: color 0.2s ease; }
.exc-foot-link:hover { color: var(--lavender-deep); }
.footer-disclaimer { max-width: 1180px; margin: 0 auto; padding: 20px 32px; }
.footer-disclaimer p { font-size: 12.5px; line-height: 1.6; color: var(--ink-soft); max-width: 70ch; }
.footer-bottom {
  max-width: 1180px; margin: 0 auto; padding: 8px 32px 28px; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px;
}
.footer-bottom .copy { font-size: 13px; color: var(--ink-soft); }
.footer-legal-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.footer-legal-links a { font-size: 13px; color: var(--ink-soft); border-bottom: 1px solid var(--line); }

/* ---------- WhatsApp FAB (tablet + mobile) ---------- */
/* Shown whenever the inline nav CTA is hidden (<=1024px), so there's
   always a one-tap way to message, on phones and tablets alike. A small
   bottom-left circle so it never competes with page content. */
.exc-fab { display: none; }
@media (max-width: 1024px) {
  .exc-fab {
    display: flex; position: fixed; right: 20px; bottom: 20px; z-index: 45;
    width: 56px; height: 56px; border-radius: 50%;
    align-items: center; justify-content: center;
    background: var(--ink); color: var(--paper);
    box-shadow: 0 14px 28px -10px rgba(42,40,54,0.55);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .exc-fab:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -10px rgba(42,40,54,0.6); }
  /* keep the very bottom of the page (footer copy line) clear of the circle */
  body { padding-bottom: 90px; }
}

/* ---------- Tablet + mobile padding relief for dark panels ---------- */
/* TABLET (641-1024px): trim the fixed 48px side padding a little so
   content never has to fight for space against it. */
@media (max-width: 1024px) {
  .contact-inner, .feature-panel-inner, .bottom-cta, .bottom-cta-centered { padding-left: 32px; padding-right: 32px; }
}
/* MOBILE (<=640px): trim further, and reduce the outer gutters that
   wrap every dark panel and section container. */
@media (max-width: 640px) {
  .container, .hero-grid, .about-grid, .treat-preview-inner, .why-us-wrap,
  .page-hero-inner, .conditions-wrap, .legal-wrap { padding-left: 20px; padding-right: 20px; }
  .dark-panel-outer { padding-left: 16px; padding-right: 16px; }
  .contact-inner, .feature-panel-inner { padding: 48px 24px; }
  .bottom-cta, .bottom-cta-centered { padding: 40px 24px; }

  /* Tighten the gap between the hero photo and the "Meet the specialist"
     section — the desktop paddings/gaps leave a big dead zone when
     everything stacks into a single column on phones. */
  .hero-grid { padding-top: 40px; padding-bottom: 40px; gap: 36px; }
  .hero-visual-wrap { max-width: 280px; margin: 0 auto; }
  .about-grid { padding-top: 40px; gap: 32px; }

  /* The 10ch max-width keeps the heading narrow next to the body copy on
     desktop, but on a single mobile column it just forces an awkward,
     choppy word-by-word wrap. Let it flow naturally at full width. */
  .about-heading h2 { max-width: none; font-size: 30px; }
}
