/* =================================================================
   HAYZOUN DENTAL CENTER — Design System
   Charcoal flowing-wave brand · teal accent · marble/white
   ================================================================= */

:root {
  /* Ink / charcoal — matched to the logo's grey relief */
  --ink:      #101215;
  --ink-2:    #191c20;
  --charcoal: #24282e;

  /* Monochrome accent scale (repurposes former accent tokens)
     --teal      → silver  : accent on DARK surfaces
     --teal-deep → graphite: accent on LIGHT surfaces
     --teal-soft → mist    : icon-chip background on light */
  --teal:      #c9ced4;  /* silver   */
  --teal-deep: #3a4047;  /* graphite */
  --teal-soft: #edeff1;  /* light grey chip */
  --silver:    #c9ced4;
  --graphite:  #3a4047;

  /* Neutrals / marble */
  --white:  #ffffff;
  --marble: #f5f6f7;
  --mist:   #eef0f2;
  --line:   #e4e6e9;

  /* Text */
  --text:   #1c2026;
  --muted:  #5e646c;
  --muted-2:#8b929b;

  /* Type */
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Montserrat", system-ui, -apple-system, sans-serif;

  /* Rhythm */
  --container: 1180px;
  --radius:   18px;
  --radius-sm: 12px;
  --shadow:    0 24px 60px -28px rgba(16, 19, 24, .28);
  --shadow-sm: 0 10px 30px -14px rgba(16, 19, 24, .22);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: .72rem; font-weight: 600; letter-spacing: .28em;
  text-transform: uppercase; color: var(--teal-deep); margin-bottom: 16px;
}
.eyebrow--light { color: var(--teal); }

.section__head { max-width: 640px; margin: 0 auto clamp(40px, 6vw, 68px); text-align: center; }
.section__title {
  font-family: var(--serif); font-weight: 600; color: var(--ink);
  font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.08; letter-spacing: -.01em;
}
.section__lead { margin-top: 18px; color: var(--muted); font-size: 1.08rem; }

/* Hand-drawn circle around section titles (draws in on scroll) */
.hw { position: relative; display: inline-block; }
.hw__circle {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 116%; height: 152%; overflow: visible; pointer-events: none; z-index: 0;
  color: var(--hw-color, var(--graphite));
}
.hw .section__title { position: relative; z-index: 1; }
.hw__circle path {
  stroke: currentColor; stroke-width: 4; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  transition: stroke-dashoffset 1.15s cubic-bezier(.43, .13, .23, .96);
}
/* Dark sections (e.g. Results) need a light stroke */
.results .hw__circle { --hw-color: rgba(255,255,255,.92); }

/* =================================================================
   BUTTONS
   ================================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  padding: 14px 26px; border-radius: 100px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
  will-change: transform; white-space: nowrap;
}
.btn--sm { padding: 10px 20px; font-size: .85rem; }
.btn--lg { padding: 17px 34px; font-size: 1rem; }
.btn--primary {
  background: linear-gradient(135deg, #33373d, var(--ink));
  color: #fff; box-shadow: 0 16px 34px -14px rgba(16, 18, 21, .55);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -14px rgba(16, 18, 21, .68); }
.btn--ghost {
  background: rgba(255,255,255,.06); color: #fff;
  border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }

/* =================================================================
   PRELOADER
   ================================================================= */
.preloader {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--ink); display: grid; place-items: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.tooth-draw path {
  stroke-dasharray: 300; stroke-dashoffset: 300;
  animation: draw 1.6s var(--ease) forwards, pulseGlow 1.6s ease-in-out infinite alternate;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulseGlow { from { filter: drop-shadow(0 0 0 rgba(230,233,236,0)); } to { filter: drop-shadow(0 0 12px rgba(230,233,236,.7)); } }

/* =================================================================
   HEADER
   ================================================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0; transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.header.is-scrolled {
  padding: 10px 0; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(16,19,24,.06), 0 12px 30px -24px rgba(16,19,24,.4);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; }
.brand__text { display: flex; flex-direction: column; line-height: 1; color: #fff; transition: color .4s; }
.brand__text strong { font-size: .95rem; font-weight: 700; letter-spacing: .22em; }
.brand__text em { font-size: .58rem; font-style: normal; letter-spacing: .34em; opacity: .8; margin-top: 3px; }
.header.is-scrolled .brand__text { color: var(--ink); }

/* Tubelight pill navigation */
.nav {
  position: relative; display: flex; align-items: center; gap: 2px;
  padding: 5px; border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.55);
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.header.is-scrolled .nav {
  background: rgba(16,18,21,.045);
  border-color: var(--line);
  box-shadow: 0 10px 30px -20px rgba(16,19,24,.5);
}
.nav__link {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  color: rgba(255,255,255,.82); padding: 8px 17px; border-radius: 999px;
  transition: color .35s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link.is-active { color: #fff; }
.header.is-scrolled .nav__link { color: var(--muted); }
.header.is-scrolled .nav__link:hover,
.header.is-scrolled .nav__link.is-active { color: var(--ink); }
.nav__ic { display: none; line-height: 0; }
.nav__ic svg { width: 20px; height: 20px; display: block; }

/* The sliding "tubelight" indicator */
.nav__lamp {
  position: absolute; top: 0; left: 0; width: 0; height: 40px; border-radius: 999px;
  background: rgba(255,255,255,.16); z-index: 0; pointer-events: none; opacity: 0;
  transition: transform .55s cubic-bezier(.34,1.4,.5,1), width .45s cubic-bezier(.34,1.4,.5,1),
              height .3s var(--ease), background .4s, opacity .3s;
}
.nav__lamp.is-ready { opacity: 1; }
.header.is-scrolled .nav__lamp { background: rgba(16,18,21,.06); }
.nav__lamp::before {
  content: ""; position: absolute; top: -7px; left: 50%; transform: translateX(-50%);
  width: 32px; height: 4px; border-radius: 0 0 5px 5px; background: #fff;
  box-shadow: 0 0 12px 3px rgba(255,255,255,.55), 0 0 22px 7px rgba(255,255,255,.28);
  transition: background .4s, box-shadow .4s;
}
.header.is-scrolled .nav__lamp::before {
  background: var(--graphite);
  box-shadow: 0 0 12px 3px rgba(58,64,71,.4), 0 0 20px 7px rgba(58,64,71,.16);
}
/* Drawer-only elements — hidden on desktop, shown in the mobile menu */
.nav__cta { display: none; }
.nav-scrim { display: none; }

.header__actions { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  display: flex; align-items: center; gap: 6px; color: #fff; opacity: .9;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; transition: color .4s;
}
.header.is-scrolled .lang-toggle { color: var(--text); }
.lang-toggle__opt { opacity: .5; transition: opacity .3s, color .3s; }
.lang-toggle__opt.is-active { opacity: 1; color: var(--teal); }
.lang-toggle__sep { opacity: .4; }

.burger { display: none; flex-direction: column; gap: 5px; width: 30px; padding: 4px; }
.burger span { height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .3s, background .4s; }
.header.is-scrolled .burger span { background: var(--ink); }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  color: #fff; overflow: hidden; padding: 140px 0 200px;
}
.hero__waves { position: absolute; inset: 0; z-index: 0; }
.waves-svg { width: 100%; height: 100%; }
.wave {
  stroke-dasharray: 1400; stroke-dashoffset: 1400;
  animation: waveDraw 3s var(--ease) forwards, waveFloat 9s ease-in-out infinite;
  opacity: .9;
}
.wave:nth-child(2) { animation-delay: .15s, .2s; }
.wave:nth-child(3) { animation-delay: .3s, .5s; }
.wave:nth-child(4) { animation-delay: .45s, .9s; }
.wave--teal { animation-delay: .6s, 1.2s; filter: drop-shadow(0 0 8px rgba(230,233,236,.55)); }
.wave:nth-child(6) { animation-delay: .75s, 1.5s; }
@keyframes waveDraw { to { stroke-dashoffset: 0; } }
@keyframes waveFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero__glow {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%,-50%);
  width: 680px; height: 680px; border-radius: 50%;
  background: radial-gradient(circle, rgba(226,229,233,.16), transparent 60%);
  filter: blur(20px); animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 0%,100% { opacity: .7; transform: translate(-50%,-50%) scale(1); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.12); } }

/* Grid background (subtle) with a radial fade to the base color */
.hero__grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 3rem 3rem;
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 42%, #000 34%, transparent 82%);
          mask-image: radial-gradient(ellipse 80% 65% at 50% 42%, #000 34%, transparent 82%);
}

.hero__inner {
  position: relative; z-index: 2; width: 100%;
  display: grid; grid-template-columns: 1.02fr .98fr;
  align-items: center; gap: clamp(36px, 5vw, 72px); text-align: left;
}
.hero__copy { position: relative; }
.hero__title {
  font-family: var(--serif); font-weight: 600; letter-spacing: -.015em;
  font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.03; margin: 6px 0 22px;
}
.hero__title .line { display: block; }
.hero__accent {
  background: linear-gradient(120deg, #ffffff, #9aa0a7);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
}
.hero__sub { font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,.82); max-width: 540px; margin: 0; }
.hero__cta { display: flex; gap: 16px; justify-content: flex-start; flex-wrap: wrap; margin-top: 38px; }
.btn__arrow { transition: transform .35s var(--ease); }
.btn--primary:hover .btn__arrow { transform: translateX(4px); }

/* Tilted, overlapping photo cards */
.hero__cards { position: relative; min-height: 480px; z-index: 2; }
.hero__card {
  position: absolute; top: 50%; width: clamp(210px, 26vw, 290px); aspect-ratio: 4 / 5;
  transform: translateY(-50%); opacity: 0;
  animation: heroCardIn .9s var(--ease) forwards;
}
.hero__card--back  { left: 52%; animation-delay: .25s; }
.hero__card--front { left: 16%; z-index: 3; animation-delay: .45s; }
@keyframes heroCardIn {
  from { opacity: 0; transform: translate(46px, -50%); }
  to   { opacity: 1; transform: translate(0, -50%); }
}
.hero__card img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 22px; display: block;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 34px 70px -24px rgba(0,0,0,.7);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.hero__card--back img  { transform: rotate(-6deg); filter: brightness(.94); }
.hero__card--front img { transform: rotate(6deg); }
.hero__card--back img:hover  { transform: rotate(-4deg) translateY(-12px); box-shadow: 0 46px 84px -24px rgba(0,0,0,.8); }
.hero__card--front img:hover { transform: rotate(4deg) translateY(-12px);  box-shadow: 0 46px 84px -24px rgba(0,0,0,.8); }

/* Quick info bar */
.quickbar {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.4);
}
.quickbar__inner { display: flex; flex-wrap: wrap; }
.quickbar__item {
  flex: 1 1 0; min-width: 220px; display: flex; align-items: center; gap: 14px;
  padding: 20px 24px; color: var(--text);
  border-right: 1px solid var(--line);
}
.quickbar__item:last-child { border-right: none; }
.quickbar__item svg { color: var(--teal-deep); flex-shrink: 0; }
.quickbar__item--link { transition: background .3s; }
.quickbar__item--link:hover { background: var(--marble); }
.quickbar__label { display: block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.quickbar__item strong { font-size: .95rem; font-weight: 600; }
.quickbar__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted-2); flex-shrink: 0; box-shadow: 0 0 0 4px rgba(0,0,0,.05); }
.quickbar__dot.is-open  { background: #35c759; box-shadow: 0 0 0 4px rgba(53,199,89,.18); animation: livePulse 2s infinite; }
.quickbar__dot.is-closed{ background: #ff5a5a; box-shadow: 0 0 0 4px rgba(255,90,90,.15); }
@keyframes livePulse { 0%,100% { box-shadow: 0 0 0 4px rgba(53,199,89,.18); } 50% { box-shadow: 0 0 0 8px rgba(53,199,89,0); } }

/* =================================================================
   STATS
   ================================================================= */
.stats { background: var(--ink); color: #fff; padding: clamp(48px, 6vw, 72px) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__num { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; color: var(--teal); }
.stat__suf { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--teal); }
.stat__label { margin-top: 6px; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* =================================================================
   SERVICES
   ================================================================= */
.services { background: var(--marble); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.svc-card {
  background: #fff; border-radius: var(--radius); padding: 40px 34px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
  position: relative; overflow: hidden;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--graphite), var(--ink));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.svc-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card--feature { background: var(--ink); color: #fff; border-color: transparent; }
.svc-card--feature .svc-card__text { color: rgba(255,255,255,.72); }
.svc-card--feature .svc-card__list li { color: rgba(255,255,255,.85); }
.svc-card--feature .svc-card__list li::before { background: var(--teal); }

.svc-card__icon {
  width: 68px; height: 68px; border-radius: 18px; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal-deep); margin-bottom: 24px;
  transition: transform .5s var(--ease);
}
.svc-card--feature .svc-card__icon { background: rgba(255,255,255,.1); color: var(--silver); }
.svc-card:hover .svc-card__icon { transform: rotate(-6deg) scale(1.06); }
.svc-card__icon svg { width: 34px; height: 34px; }
.svc-card__title { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; margin-bottom: 10px; }
.svc-card__text { color: var(--muted); font-size: .97rem; margin-bottom: 20px; }
.svc-card__list li { position: relative; padding-left: 26px; font-size: .92rem; margin-bottom: 9px; color: var(--text); }
.svc-card__list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px;
  border-left: 2px solid var(--teal-deep); border-bottom: 2px solid var(--teal-deep);
  transform: rotate(-45deg); border-radius: 1px;
}

/* =================================================================
   ABOUT
   ================================================================= */
.about__grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 84px);
  align-items: center; margin-bottom: clamp(48px, 7vw, 88px);
}
.about__media { position: relative; }
.about__photo {
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow);
  position: relative;
}
.about__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(16,19,24,.28));
}
.about__photo img { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; transition: transform .8s var(--ease); }
.about__media:hover .about__photo img { transform: scale(1.05); }
.about__badge {
  position: absolute; right: -18px; bottom: 28px; z-index: 2;
  background: #fff; padding: 16px 22px; border-radius: 16px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; line-height: 1.1;
}
.about__badge-num { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--teal-deep); }
.about__badge-txt { font-size: .82rem; font-weight: 600; letter-spacing: .04em; }

.about__role { color: var(--teal-deep); font-weight: 600; font-size: .95rem; margin: 4px 0 20px; }
.about__text { color: var(--muted); margin-bottom: 16px; }
.about__points { margin: 24px 0 30px; display: grid; gap: 12px; }
.about__points li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.tick { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; background: var(--teal-soft); position: relative; }
.tick::after { content: ""; position: absolute; left: 8px; top: 6px; width: 6px; height: 11px; border-right: 2px solid var(--teal-deep); border-bottom: 2px solid var(--teal-deep); transform: rotate(45deg); }

.team { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.team img { width: 100%; max-height: 560px; object-fit: cover; object-position: center 30%; }
.team figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 32px 28px;
  background: linear-gradient(transparent, rgba(16,19,24,.82));
  color: #fff; font-family: var(--serif); font-size: 1.5rem; text-align: center;
}

/* =================================================================
   RESULTS / BEFORE-AFTER
   ================================================================= */
.results { background: var(--ink); color: #fff; }
.results .section__title { color: #fff; }
.results .section__lead { color: rgba(255,255,255,.7); }
.results__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ba-card {
  position: relative; border-radius: var(--radius); overflow: hidden; padding: 0;
  aspect-ratio: 3/4; box-shadow: 0 20px 50px -24px rgba(0,0,0,.6);
  transition: transform .5s var(--ease); display: block; text-align: left;
}
.ba-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ba-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.5));
  opacity: 0; transition: opacity .4s;
}
.ba-card:hover { transform: translateY(-8px); }
.ba-card:hover img { transform: scale(1.06); }
.ba-card:hover::after { opacity: 1; }
.ba-card__tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  background: rgba(255,255,255,.94); color: var(--ink); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 7px 14px; border-radius: 100px;
  transform: translateY(8px); opacity: 0; transition: transform .4s var(--ease), opacity .4s;
}
.ba-card:hover .ba-card__tag { transform: translateY(0); opacity: 1; }
.ba-cta {
  border-radius: var(--radius); border: 1px dashed rgba(255,255,255,.28);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 20px; padding: 34px; background: rgba(255,255,255,.04);
}
.ba-cta p { font-family: var(--serif); font-size: 1.6rem; color: #fff; line-height: 1.2; }

/* =================================================================
   CLINIC GALLERY
   ================================================================= */
.clinic__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.clinic__item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; }
.clinic__item--wide { grid-column: span 2; }
.clinic__item img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; transition: transform .8s var(--ease); }
.clinic__item:hover img { transform: scale(1.06); }

/* =================================================================
   PRACTICAL INFO
   ================================================================= */
.infos { background: var(--marble); }
.infos__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hours { width: 100%; border-collapse: collapse; margin-top: 26px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.hours tr { transition: background .3s; }
.hours th, .hours td { padding: 16px 24px; text-align: left; font-size: .96rem; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 600; color: var(--text); }
.hours td { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: none; }
.hours .closed { color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
.hours tr.is-today { background: var(--teal-soft); }
.hours tr.is-today th { color: var(--teal-deep); }
.hours tr.is-today th::after { content: "•"; color: var(--graphite); margin-left: 8px; }
.infos__note { margin-top: 20px; color: var(--muted); font-size: .92rem; }

.infos__amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.amenity {
  background: #fff; border-radius: var(--radius); padding: 26px 24px;
  display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.amenity:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.amenity__icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; background: var(--teal-soft); color: var(--teal-deep); display: grid; place-items: center; }
.amenity__icon svg { width: 24px; height: 24px; }
.amenity h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 4px; }
.amenity p { font-size: .88rem; color: var(--muted); line-height: 1.5; }

/* =================================================================
   CONTACT
   ================================================================= */
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 56px); align-items: stretch; }
.contact__cards { display: grid; gap: 14px; align-content: start; }
.cc {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  box-shadow: var(--shadow-sm);
}
.cc:not(.cc--static):hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--graphite); }
.cc__ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-deep); }
.cc__body { display: flex; flex-direction: column; line-height: 1.3; }
.cc__body small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.cc__body strong { font-size: .98rem; font-weight: 600; }
.cc--wa .cc__ic { background: #25d366; color: #fff; }
.cc--static { cursor: default; }

.contact__socials { display: flex; gap: 12px; margin-top: 6px; }
.soc {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ink); color: #fff; transition: transform .35s var(--ease), background .35s;
}
.soc:hover { transform: translateY(-4px); background: var(--teal-deep); }

.contact__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; border: 1px solid var(--line); }
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.2) contrast(1.05); }

/* =================================================================
   FOOTER
   ================================================================= */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding-top: clamp(56px, 7vw, 88px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 52px; }
.brand--footer .brand__text { color: #fff; }
.footer__brand p { margin: 18px 0; font-size: .92rem; max-width: 320px; }
.footer__col h4 { color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.footer__col a, .footer__col p { display: block; font-size: .92rem; margin-bottom: 12px; transition: color .3s; }
.footer__col a:hover { color: var(--teal); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer__bottom p { font-size: .82rem; color: rgba(255,255,255,.5); text-align: center; }

/* =================================================================
   FLOATING ELEMENTS
   ================================================================= */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(37,211,102,.6);
  animation: fabPulse 2.4s infinite; transition: transform .3s var(--ease);
}
.fab:hover { transform: scale(1.1); }
@keyframes fabPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

.to-top {
  position: fixed; right: 24px; bottom: 92px; z-index: 900;
  width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .35s, visibility .35s, transform .35s var(--ease), background .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--teal-deep); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1500; background: rgba(10,12,16,.92);
  display: grid; place-items: center; padding: 5vw;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  backdrop-filter: blur(6px);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 12px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); transform: scale(.94); transition: transform .4s var(--ease); }
.lightbox.is-open img { transform: scale(1); }
.lightbox__close { position: fixed; top: 22px; right: 28px; color: #fff; font-size: 2.6rem; line-height: 1; width: 48px; height: 48px; opacity: .8; transition: opacity .3s, transform .3s; }
.lightbox__close:hover { opacity: 1; transform: rotate(90deg); }

/* =================================================================
   SCROLL REVEAL
   ================================================================= */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }

/* =================================================================
   RTL SUPPORT
   ================================================================= */
[dir="rtl"] body { font-family: var(--sans); }
[dir="rtl"] .hours th, [dir="rtl"] .quickbar__label, [dir="rtl"] .cc__body { text-align: right; }
[dir="rtl"] .hours td { text-align: left; }
[dir="rtl"] .svc-card__list li { padding-left: 0; padding-right: 26px; }
[dir="rtl"] .svc-card__list li::before { left: auto; right: 0; }
[dir="rtl"] .about__badge { right: auto; left: -18px; }
[dir="rtl"] .svc-card::before { transform-origin: right; }
[dir="rtl"] .btn__arrow { transform: scaleX(-1); }
[dir="rtl"] .btn--primary:hover .btn__arrow { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .fab { right: auto; left: 22px; }
[dir="rtl"] .to-top { right: auto; left: 24px; }
[dir="rtl"] .section__head, [dir="rtl"] .hero__inner { text-align: center; }

/* =================================================================
   TESTIMONIALS (auto-scrolling columns)
   ================================================================= */
.tst { background: var(--marble); }
.pill {
  display: inline-block; border: 1px solid var(--line); background: #fff;
  padding: 5px 16px; border-radius: 999px; font-size: .74rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px;
}
.tst__cols {
  display: flex; justify-content: center; gap: 24px; margin-top: 46px;
  max-height: 720px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}
.tst__col { flex: 0 0 auto; width: min(340px, 84vw); }
.tst__col--md, .tst__col--lg { display: none; }
.tst__track {
  display: flex; flex-direction: column; gap: 24px; padding-bottom: 24px;
  animation: tstScroll var(--dur, 34s) linear infinite; will-change: transform;
}
.tst__col:hover .tst__track { animation-play-state: paused; }
@keyframes tstScroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }

.tcard {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 28px; box-shadow: var(--shadow-sm);
}
.tcard__text { color: var(--text); font-size: .98rem; line-height: 1.62; }
.tcard__person { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.tcard__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #3a4047, #14161a); color: #fff;
  font-weight: 700; font-size: .82rem; letter-spacing: .03em;
}
.tcard__meta { display: flex; flex-direction: column; line-height: 1.3; }
.tcard__name { font-weight: 600; font-size: .92rem; color: var(--ink); }
.tcard__role { font-size: .82rem; color: var(--muted); }
@media (min-width: 768px)  { .tst__col--md { display: block; } }
@media (min-width: 1024px) { .tst__col--lg { display: block; } }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 980px) {
  .about__grid, .infos__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__sub { margin: 0 auto; }
  .hero__cta { justify-content: center; }
  .hero__cards { order: 2; }
  .about__badge { right: 20px; }
  .services__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .results__grid, .clinic__grid { grid-template-columns: repeat(2, 1fr); }
  .clinic__item--wide { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  /* Mobile: burger toggles a slide-in drawer */
  .burger { display: flex; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 6px; padding: 96px 22px 32px; border: none; border-radius: 0;
    background: var(--ink);
    -webkit-backdrop-filter: none; backdrop-filter: none;
    box-shadow: -30px 0 60px -20px rgba(0,0,0,.55);
    transform: translateX(100%); transition: transform .45s var(--ease);
    z-index: 1400; overflow-y: auto;
  }
  .header.is-scrolled .nav { background: var(--ink); border: none; box-shadow: -30px 0 60px -20px rgba(0,0,0,.55); }
  .nav.is-open { transform: translateX(0); }
  [dir="rtl"] .nav { inset: 0 auto 0 0; transform: translateX(-100%); box-shadow: 30px 0 60px -20px rgba(0,0,0,.55); }
  [dir="rtl"] .nav.is-open { transform: translateX(0); }
  .nav__link, .header.is-scrolled .nav__link {
    color: rgba(255,255,255,.86); justify-content: flex-start; gap: 14px;
    padding: 14px 16px; border-radius: 12px; font-size: 1.05rem; width: 100%;
  }
  .nav__link:hover, .nav__link.is-active,
  .header.is-scrolled .nav__link:hover, .header.is-scrolled .nav__link.is-active {
    color: #fff; background: rgba(255,255,255,.08);
  }
  .nav__ic { display: block; }
  .nav__lamp { display: none; }
  .nav__cta { display: flex; justify-content: center; margin-top: 20px; }

  .nav-scrim {
    display: block; position: fixed; inset: 0; background: rgba(8,10,12,.55);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; z-index: 1300;
  }
  .nav-scrim.is-open { opacity: 1; visibility: visible; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .quickbar__item { border-right: none; border-bottom: 1px solid var(--line); flex: 1 1 100%; }
  .quickbar { position: static; }
  .hero { min-height: auto; padding: 120px 0 64px; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__sub { margin: 0 auto; }
  .hero__cta { justify-content: center; }
  .hero__cards { min-height: 330px; order: 2; }
  .hero__card { width: clamp(160px, 44vw, 200px); }
  .hero__card--front { left: 7%; }
  .hero__card--back  { left: auto; right: 7%; }
  .infos__amenities { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 520px) {
  .results__grid, .clinic__grid { grid-template-columns: 1fr; }
  .clinic__item--wide { grid-column: span 1; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .brand__logo { width: 40px; height: 40px; }
}

/* =================================================================
   REDUCED MOTION
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .wave { stroke-dashoffset: 0; }
}
