/* ============================================================
   Dr. Yakir Clinic - רפואה אסתטית לגברים
   ============================================================ */

:root {
  --brand: #05669e;
  --brand-light: #2e9fd8;
  --brand-glow: #57c4ff;
  --ink: #071522;
  --ink-2: #0c2436;
  --ink-3: #123a58;
  --paper: #f6f9fc;
  --white: #ffffff;
  --text: #1b2b3a;
  --text-soft: #4d6274;
  --text-inverse: #e8f2fa;
  --text-inverse-soft: #9fb8ca;
  --gold: #c9a45c;
  --gold-light: #e6c88a;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -18px rgba(7, 30, 50, .35);
  --shadow-soft: 0 10px 34px -14px rgba(7, 30, 50, .18);
  --font-body: 'Heebo', -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Heebo', -apple-system, 'Segoe UI', sans-serif;
  --transition: .35s cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.25; margin: 0 0 .5em; }

a { color: var(--brand); }

.container { width: min(1180px, 92%); margin-inline: auto; }

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  top: -60px;
  right: 16px;
  z-index: 3000;
  background: var(--brand);
  color: #fff;
  padding: 12px 22px;
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  text-decoration: none;
  transition: top .25s;
}
.skip-link:focus { top: 0; }

/* Focus visibility (a11y) */
:focus-visible {
  outline: 3px solid var(--brand-glow);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(7, 21, 34, .55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(7, 21, 34, .94);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-inverse);
}
.brand img.brand-icon { width: 44px; height: 44px; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand .brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: .02em;
}
.brand .brand-tag { font-size: .72rem; color: var(--text-inverse-soft); letter-spacing: .14em; }

.main-nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 10px 14px;
  color: var(--text-inverse);
  text-decoration: none;
  font-weight: 500;
  font-size: .98rem;
  border-radius: 10px;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a:focus-visible { background: rgba(87, 196, 255, .14); color: #fff; }

.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--text-inverse);
  margin: 5px 0;
  transition: transform .3s, opacity .3s;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: linear-gradient(120deg, var(--brand-light), var(--brand));
  color: #fff;
  box-shadow: 0 14px 34px -12px rgba(46, 159, 216, .65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -12px rgba(46, 159, 216, .8); }
.btn-gold {
  background: linear-gradient(120deg, var(--gold-light), var(--gold));
  color: #2a1f0a;
  box-shadow: 0 14px 34px -12px rgba(201, 164, 92, .55);
}
.btn-gold:hover { transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255, 255, 255, .07);
  color: var(--text-inverse);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .15); }
.btn-whatsapp { background: linear-gradient(120deg, #35d36e, #1fae53); color: #fff; box-shadow: 0 14px 34px -12px rgba(31, 174, 83, .6); }
.btn-whatsapp:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: .92rem; }
.btn-lg { padding: 17px 40px; font-size: 1.12rem; }
.btn svg { flex: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 60px) 0 90px;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(5, 102, 158, .55), transparent 60%),
    radial-gradient(900px 700px at -10% 110%, rgba(46, 159, 216, .25), transparent 55%),
    linear-gradient(160deg, #071522 0%, #0c2436 55%, #0e2c44 100%);
  color: var(--text-inverse);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.4px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent);
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
  pointer-events: none;
  animation: float 12s ease-in-out infinite alternate;
}
.hero-orb.o1 { width: 420px; height: 420px; background: #0a86c8; top: -120px; left: -80px; }
.hero-orb.o2 { width: 340px; height: 340px; background: #0d5c8f; bottom: -100px; right: 12%; animation-delay: -6s; }
@keyframes float { from { transform: translateY(-18px); } to { transform: translateY(22px); } }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(87, 196, 255, .12);
  border: 1px solid rgba(87, 196, 255, .3);
  color: #aadcff;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 4.1rem);
  font-weight: 900;
  margin: 0 0 18px;
  color: #fff;
}
.hero h1 .accent {
  background: linear-gradient(100deg, var(--brand-glow), #9ad9ff 60%, var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-inverse-soft);
  max-width: 56ch;
  margin-bottom: 34px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.stat .num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  display: block;
  line-height: 1.1;
}
.stat .lbl { color: var(--text-inverse-soft); font-size: .9rem; }

/* Hero visual card */
.hero-visual { position: relative; }
.hero-card {
  position: relative;
  border-radius: 28px;
  padding: 40px 34px 34px;
  background: linear-gradient(165deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
}
.hero-card .logo-mark { width: 96px; height: 96px; margin-bottom: 18px; filter: drop-shadow(0 8px 24px rgba(87, 196, 255, .45)); }
.hero-card h2 { font-size: 1.5rem; color: #fff; margin-bottom: 6px; }
.hero-card p { color: var(--text-inverse-soft); margin: 0 0 22px; font-size: .98rem; }
.hero-card ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.hero-card li { display: flex; align-items: center; gap: 10px; color: #dceefb; font-size: .97rem; }
.hero-card li svg { flex: none; color: var(--gold-light); }
.hero-badge {
  position: absolute;
  top: -22px;
  left: -18px;
  background: linear-gradient(120deg, var(--gold-light), var(--gold));
  color: #241a06;
  font-weight: 800;
  font-size: .88rem;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 14px 30px -10px rgba(201, 164, 92, .7);
  animation: pulse-badge 2.6s ease-in-out infinite;
}
@keyframes pulse-badge { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.scroll-hint {
  position: absolute;
  bottom: 26px;
  inset-inline: 0;
  display: flex;
  justify-content: center;
  color: var(--text-inverse-soft);
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--white); color: var(--text); padding: 26px 0; border-block: 1px solid #e4edf4; }
.trust-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 14px; justify-content: center; }
.trust-item svg { color: var(--gold); flex: none; }
.trust-item span { font-size: .95rem; color: var(--text); font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-kicker {
  display: inline-block;
  color: var(--brand);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .12em;
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; color: var(--ink-2); }
.section-head p { color: var(--text-soft); font-size: 1.08rem; margin: 0; }

.on-dark .section-head h2 { color: #fff; }
.on-dark .section-head p { color: var(--text-inverse-soft); }
.on-dark .section-kicker { color: var(--brand-glow); }

/* ---------- Treatments ---------- */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.treatment-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px 30px;
  box-shadow: var(--shadow-soft);
  border: 1px solid #e4edf4;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.treatment-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.treatment-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-light), var(--brand));
  opacity: 0;
  transition: opacity var(--transition);
}
.treatment-card:hover::before { opacity: 1; }
.t-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(46, 159, 216, .14), rgba(5, 102, 158, .1));
  color: var(--brand);
  margin-bottom: 20px;
}
.treatment-card h3 { font-size: 1.42rem; font-weight: 800; color: var(--ink-2); }
.treatment-card > p { color: var(--text-soft); margin: 0 0 18px; }
.t-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.t-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; color: var(--text); }
.t-list li svg { flex: none; color: var(--brand); margin-top: 5px; }
.t-list b { color: var(--ink-2); }
.treatment-card .card-cta { margin-top: auto; }

/* ---------- Why us ---------- */
.why {
  background:
    radial-gradient(900px 500px at 110% 0%, rgba(46, 159, 216, .12), transparent 55%),
    linear-gradient(160deg, #ffffff, #eef4f9);
  color: var(--text);
}
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--ink-2); }
.why .lead { color: var(--text-soft); font-size: 1.08rem; }
.why-points { display: grid; gap: 22px; margin-top: 30px; }
.why-point { display: flex; gap: 16px; }
.why-point .wp-icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(5, 102, 158, .08);
  border: 1px solid rgba(5, 102, 158, .2);
  color: var(--brand);
}
.why-point h3 { font-size: 1.12rem; color: var(--ink-2); margin-bottom: 4px; font-family: var(--font-body); font-weight: 700; }
.why-point p { margin: 0; color: var(--text-soft); font-size: .97rem; }

.doctor-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #e4edf4;
  box-shadow: var(--shadow-soft);
  padding: 38px 34px;
  text-align: center;
}
.doctor-avatar {
  width: 148px;
  height: 148px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--brand-light), var(--brand));
  box-shadow: 0 22px 50px -18px rgba(46, 159, 216, .75);
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  color: #fff;
}
.doctor-card h3 { color: var(--ink-2); font-size: 1.55rem; margin-bottom: 4px; }
.doctor-card .doc-title { color: #a87f2f; font-weight: 600; font-size: .98rem; margin-bottom: 16px; }
.doctor-card p { color: var(--text-soft); font-size: .98rem; }
.doctor-card .clinic-loc { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--text); font-size: .95rem; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step {
  position: relative;
  background: var(--white);
  border: 1px solid #e4edf4;
  border-radius: var(--radius);
  padding: 34px 26px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition);
}
.process-step:hover { transform: translateY(-5px); }
.process-step .step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(120deg, var(--brand-light), var(--brand));
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 16px;
  box-shadow: 0 10px 22px -8px rgba(46, 159, 216, .6);
}
.process-step h3 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; color: var(--ink-2); }
.process-step p { margin: 0; color: var(--text-soft); font-size: .95rem; }

/* ---------- Before / After ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ba-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid #e4edf4;
  box-shadow: var(--shadow-soft);
}
.ba-media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background:
    radial-gradient(420px 240px at 70% 20%, rgba(46, 159, 216, .25), transparent 60%),
    linear-gradient(150deg, #0e2c44, #123a58);
  color: #bcd9ec;
}
.ba-media .ba-placeholder { text-align: center; padding: 20px; }
.ba-media .ba-placeholder svg { opacity: .8; margin-bottom: 10px; }
.ba-media .ba-placeholder span { display: block; font-size: .92rem; }
.ba-card figcaption { padding: 18px 20px; font-weight: 600; color: var(--ink-2); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ba-card figcaption small { color: var(--text-soft); font-weight: 400; }

.ba-note {
  margin-top: 28px;
  text-align: center;
  color: var(--text-soft);
  font-size: .92rem;
}

/* ---------- Testimonials ---------- */
.testimonials { background: linear-gradient(180deg, #eef4f9, var(--paper)); }
.testi-slider { position: relative; max-width: 820px; margin: 0 auto; }
.testi-track { overflow: hidden; border-radius: var(--radius); }
.testi-slides { display: flex; transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.testi-slide { flex: 0 0 100%; padding: 6px; }
.testi-card {
  background: var(--white);
  border: 1px solid #e4edf4;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 44px 46px 36px;
  text-align: center;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.testi-card .quote-mark { color: var(--brand-light); margin-bottom: 12px; }
.testi-card blockquote { margin: 0 0 20px; font-size: 1.12rem; color: var(--text); font-weight: 500; }
.testi-card .stars { color: var(--gold); letter-spacing: 4px; font-size: 1.05rem; margin-bottom: 8px; }
.testi-card .who { font-weight: 700; color: var(--ink-2); }
.testi-nav { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 26px; }
.testi-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #d4e2ee;
  background: var(--white);
  color: var(--brand);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), background var(--transition);
}
.testi-btn:hover { transform: scale(1.08); background: #f0f7fc; }
.testi-dots { display: flex; gap: 8px; }
.testi-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #c3d6e5;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.testi-dot[aria-current="true"] { background: var(--brand); transform: scale(1.3); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid #e4edf4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-2);
  text-align: right;
}
.faq-q .chev { flex: none; transition: transform var(--transition); color: var(--brand); }
.faq-q[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--text-soft); }

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(800px 500px at -10% 10%, rgba(46, 159, 216, .35), transparent 55%),
    linear-gradient(165deg, #0c2436, #071522);
  color: var(--text-inverse);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.contact-info h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
.contact-info .lead { color: var(--text-inverse-soft); margin-bottom: 30px; }
.contact-lines { display: grid; gap: 16px; margin-bottom: 30px; }
.contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #dceefb;
  text-decoration: none;
  font-size: 1.02rem;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: background var(--transition), transform var(--transition);
}
a.contact-line:hover { background: rgba(255, 255, 255, .12); transform: translateX(-4px); }
.contact-line svg { flex: none; color: var(--brand-glow); }
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #dceefb;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: background var(--transition), transform var(--transition), color var(--transition);
}
.social-row a:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }

.contact-form-wrap {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  padding: 38px 34px;
  backdrop-filter: blur(12px);
}
.contact-form-wrap h3 { color: #fff; font-size: 1.4rem; margin-bottom: 6px; }
.contact-form-wrap .form-sub { color: var(--text-inverse-soft); font-size: .95rem; margin-bottom: 24px; }
.form-grid { display: grid; gap: 16px; }
.form-field label { display: block; font-size: .9rem; font-weight: 600; color: #cfe3f2; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(7, 21, 34, .55);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--brand-glow);
  box-shadow: 0 0 0 3px rgba(87, 196, 255, .25);
}
.form-field ::placeholder { color: #7e9ab0; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--text-inverse-soft); }
.form-consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand-light); }
.form-consent a { color: var(--brand-glow); }
.form-msg { font-size: .95rem; font-weight: 600; min-height: 1.4em; margin: 0; }
.form-msg.ok { color: #7fe3a8; }
.form-msg.err { color: #ff9d9d; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--text-inverse-soft); padding: 60px 0 0; border-top: 1px solid rgba(255,255,255,.06); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-brand img { width: 200px; filter: brightness(0) invert(1) opacity(.92); }
.footer-brand p { font-size: .93rem; margin-top: 14px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--text-inverse-soft); text-decoration: none; font-size: .95rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--brand-glow); }
.footer-contact { display: grid; gap: 12px; font-size: .95rem; }
.footer-contact a { color: var(--text-inverse-soft); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.footer-contact a:hover { color: var(--brand-glow); }
.footer-contact svg { flex: none; color: var(--brand-glow); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: .85rem;
}
.footer-bottom a { color: var(--text-inverse-soft); }

/* ---------- Floating buttons ---------- */
.float-btns {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, .45);
  transition: transform var(--transition);
}
.float-btn:hover { transform: scale(1.1); }
.float-whatsapp { background: linear-gradient(140deg, #35d36e, #1fae53); }
.float-phone { background: linear-gradient(140deg, var(--brand-light), var(--brand)); }
.float-btn.float-sm { width: 46px; height: 46px; }
.float-facebook { background: #1877f2; }
.float-instagram { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.float-tiktok { background: #010101; }

/* ---------- Accessibility widget ---------- */
.a11y-btn {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 1600;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: #14538a;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, .45);
  transition: transform var(--transition);
}
.a11y-btn:hover { transform: scale(1.08); }
.a11y-panel {
  position: fixed;
  bottom: 92px;
  right: 22px;
  z-index: 1600;
  width: 300px;
  max-height: min(70vh, 560px);
  overflow: auto;
  background: var(--white);
  color: var(--text);
  border-radius: 18px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .5);
  border: 1px solid #dde8f1;
  padding: 20px;
  display: none;
}
.a11y-panel.open { display: block; }
.a11y-panel h2 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 800; margin: 0 0 4px; color: var(--ink-2); }
.a11y-panel .a11y-sub { font-size: .82rem; color: var(--text-soft); margin: 0 0 16px; }
.a11y-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.a11y-action {
  border: 1px solid #d7e4ef;
  background: #f4f9fd;
  border-radius: 12px;
  padding: 12px 8px;
  font-family: var(--font-body);
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: background var(--transition), border-color var(--transition);
}
.a11y-action:hover { background: #e8f3fb; }
.a11y-action[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.a11y-reset { grid-column: 1 / -1; background: #fbeeee; border-color: #efd3d3; color: #8c3030; }
.a11y-reset:hover { background: #f6dfdf; }
.a11y-panel .a11y-link { display: block; margin-top: 14px; font-size: .85rem; text-align: center; }

/* a11y modes */
body.a11y-font-1 { font-size: 19px; }
body.a11y-font-2 { font-size: 21px; }
body.a11y-grayscale { filter: grayscale(1); }
body.a11y-contrast { filter: contrast(1.25); }
body.a11y-invert { filter: invert(1) hue-rotate(180deg); }
body.a11y-invert img, body.a11y-invert svg, body.a11y-invert video { filter: invert(1) hue-rotate(180deg); }
body.a11y-links a { text-decoration: underline !important; }
body.a11y-readable * { font-family: Arial, Helvetica, sans-serif !important; }
body.a11y-no-motion *, body.a11y-no-motion *::before, body.a11y-no-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
body.a11y-big-cursor, body.a11y-big-cursor * {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'><path fill='black' stroke='white' stroke-width='1.2' d='M5 2l14 12-6 1 3.5 6.5-3 1.5L10 16l-5 4z'/></svg>") 4 2, auto !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 2000;
  background: rgba(7, 21, 34, .97);
  color: var(--text-inverse);
  border-top: 1px solid rgba(87, 196, 255, .3);
  padding: 20px 0;
  transform: translateY(110%);
  transition: transform .45s ease;
  box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .5);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cookie-text { flex: 1 1 380px; font-size: .92rem; color: #cfe3f2; margin: 0; }
.cookie-text a { color: var(--brand-glow); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .24s; }
.reveal-d3 { transition-delay: .36s; }

/* ---------- Legal pages ---------- */
.legal-hero {
  background:
    radial-gradient(700px 340px at 80% -20%, rgba(46, 159, 216, .35), transparent 60%),
    linear-gradient(160deg, #071522, #0c2436);
  color: #fff;
  padding: calc(var(--header-h) + 70px) 0 60px;
  text-align: center;
}
.legal-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 0 0 8px; }
.legal-hero p { color: var(--text-inverse-soft); margin: 0; }
.legal-body { padding: 70px 0 90px; }
.legal-content { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid #e4edf4; border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 48px 52px; }
.legal-content h2 { font-size: 1.4rem; color: var(--ink-2); margin-top: 2em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--text); font-size: 1rem; }
.legal-content table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.legal-content th, .legal-content td { border: 1px solid #dde8f1; padding: 10px 12px; text-align: right; }
.legal-content th { background: #f0f6fb; }
.legal-updated { color: var(--text-soft); font-size: .88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; }
  .treatments-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-items { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .section { padding: 56px 0; }
  body { font-size: 16px; }
  .container { width: 92%; }

  /* Header */
  .brand img.brand-icon { width: 38px; height: 38px; }
  .brand .brand-name { font-size: 1rem; white-space: nowrap; }
  .brand .brand-tag { font-size: .62rem; letter-spacing: .08em; }
  .header-inner { gap: 10px; }

  /* Hero */
  .hero { min-height: auto; padding: calc(var(--header-h) + 34px) 0 64px; }
  .hero-grid { gap: 30px; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .hero-sub { font-size: 1rem; margin-bottom: 24px; }
  .hero-kicker { font-size: .8rem; padding: 7px 14px; }
  .hero-ctas { gap: 10px; margin-bottom: 30px; }
  .hero-ctas .btn { width: 100%; }
  .btn-lg { padding: 15px 26px; font-size: 1.02rem; }
  .hero-stats { gap: 16px 22px; padding-top: 20px; }
  .stat .num { font-size: 1.45rem; }
  .stat .lbl { font-size: .8rem; }
  .scroll-hint { display: none; }

  /* Hero doctor */
  .hero-visual { max-width: 100%; }
  .hero-doctor { min-height: 0; margin-top: 6px; }
  .doctor-img { width: min(320px, 86%); }
  .hero-badge {
    top: -16px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: .78rem;
    padding: 8px 16px;
  }
  @keyframes pulse-badge { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.05); } }
  .doctor-chip { display: none; }
  .doctor-img { margin-top: -28%; }
  .doctor-nameplate { margin-top: -24px; padding: 10px 22px; }
  .doctor-nameplate b { font-size: 1.1rem; }
  .doctor-nameplate span { font-size: .8rem; }

  /* Sections */
  .section-head { margin-bottom: 38px; }
  .section-head h2 { font-size: 1.6rem; }
  .section-head p { font-size: .98rem; margin-top: 22px; }
  .treatment-card { padding: 26px 20px 24px; }
  .treatment-card h3 { font-size: 1.25rem; }
  .why-grid { gap: 34px; }
  .doctor-card { padding: 28px 20px; }
  .process-step { padding: 26px 20px 22px; }

  /* Gallery */
  .gallery-filters { gap: 8px; margin-bottom: 26px; }
  .gfilter { padding: 8px 16px; font-size: .85rem; }
  .gallery-grid { gap: 16px; }
  .gallery-item figcaption { font-size: .9rem; padding: 30px 14px 12px; }

  /* Testimonials / FAQ */
  .testi-card { padding: 28px 20px; min-height: 0; }
  .testi-card blockquote { font-size: 1rem; }
  .faq-q { padding: 16px 18px; font-size: .98rem; }
  .faq-a-inner { padding: 0 18px 18px; font-size: .95rem; }

  /* Contact */
  .contact-grid { gap: 34px; }
  .contact-form-wrap { padding: 26px 18px; }
  .contact-line { font-size: .95rem; padding: 12px 14px; }
  .form-grid { gap: 13px; }

  /* Footer */
  .footer-grid { gap: 28px; padding-bottom: 30px; }
  .footer-brand img { width: 170px; }
  .footer-bottom { flex-direction: column; gap: 6px; font-size: .8rem; }

  /* Article pages */
  .article-content { font-size: 1.02rem; line-height: 1.8; }
  .article-figure img { max-height: 260px; }
  .article-cta { padding: 32px 20px; }
  .legal-content { padding: 28px 18px; }
  .related { padding-bottom: 60px; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    inset-inline: 0;
    background: rgba(7, 21, 34, .98);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .5);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .3s ease, opacity .3s ease, visibility .3s;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .main-nav ul { flex-direction: column; padding: 18px; gap: 2px; }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .header-cta .btn { display: none; }
  .header-cta .btn.btn-header-phone,
  .header-cta .btn-primary { display: inline-flex; padding: 9px 14px; font-size: .85rem; }
  .process-grid { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-items { grid-template-columns: 1fr 1fr; gap: 14px; }
  .trust-item { justify-content: flex-start; }
  .float-btns { bottom: 14px; left: 14px; gap: 8px; }
  .float-btn { width: 50px; height: 50px; }
  .float-btn.float-sm { width: 42px; height: 42px; }
  .a11y-btn { bottom: 16px; right: 16px; width: 52px; height: 52px; }
  .a11y-panel { right: 12px; left: 12px; width: auto; }
}

@media print {
  .site-header, .float-btns, .a11y-btn, .cookie-banner, .scroll-hint { display: none !important; }
}

/* ============================================================
   V2 - WOW upgrades: gallery, videos, magazine, animations
   ============================================================ */

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  height: 4px;
  width: 0;
  z-index: 2001;
  background: linear-gradient(90deg, var(--gold-light), var(--brand-glow), var(--brand));
  box-shadow: 0 0 12px rgba(87, 196, 255, .8);
  transition: width .12s linear;
}

/* ---------- Animated gradient accent ---------- */
.hero h1 .accent {
  background-size: 220% 220%;
  animation: gradient-shift 5s ease-in-out infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ---------- Marquee strip ---------- */
.marquee {
  overflow: hidden;
  background: linear-gradient(90deg, var(--brand), #0a4f7a 50%, var(--brand));
  padding: 14px 0;
  border-block: 1px solid rgba(255, 255, 255, .15);
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee-rtl 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-inline: 22px;
  color: #dff1ff;
  font-weight: 600;
  font-size: 1.02rem;
  white-space: nowrap;
}
.marquee-item .dot { color: var(--gold-light); font-size: 1.2rem; }
@keyframes marquee-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* ---------- Tilt cards ---------- */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt .tilt-inner { transform: translateZ(24px); }

/* ---------- Gallery (before/after) ---------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.gfilter {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .06);
  color: #cfe3f2;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.gfilter:hover { background: rgba(87, 196, 255, .18); transform: translateY(-2px); }
.gfilter[aria-pressed="true"] {
  background: linear-gradient(120deg, var(--brand-light), var(--brand));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(46, 159, 216, .6);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid rgba(255, 255, 255, .12);
  background: #0e2c44;
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, .55);
  transition: transform var(--transition), box-shadow var(--transition), opacity .4s, scale .4s;
  padding: 0;
}
.gallery-item:hover { transform: translateY(-6px) scale(1.015); box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .7); }
.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 40px 18px 14px;
  background: linear-gradient(to top, rgba(7, 21, 34, .92), transparent);
  color: #fff;
  font-weight: 700;
  font-size: .98rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.gallery-item figcaption small { color: #9fc5de; font-weight: 400; }
.gallery-item.hidden { display: none; }
.gallery-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(201, 164, 92, .95);
  color: #241a06;
  font-size: .78rem;
  font-weight: 800;
  padding: 5px 13px;
  border-radius: 999px;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(4, 12, 20, .93);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vmin;
}
.lightbox.open { display: flex; animation: lb-fade .3s ease; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox img {
  max-width: 92vw;
  max-height: 82vh;
  border-radius: 14px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .8);
  animation: lb-zoom .35s cubic-bezier(.22, .61, .36, 1);
}
@keyframes lb-zoom { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox .lb-caption {
  position: absolute;
  bottom: 3vmin;
  inset-inline: 0;
  text-align: center;
  color: #dceefb;
  font-weight: 600;
  font-size: 1.05rem;
}
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.lightbox .lb-close:hover, .lightbox .lb-prev:hover, .lightbox .lb-next:hover { background: rgba(87, 196, 255, .3); transform: scale(1.08); }
.lightbox .lb-close { top: 3vmin; left: 3vmin; }
.lightbox .lb-prev { right: 3vmin; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { left: 3vmin; top: 50%; transform: translateY(-50%); }

/* ---------- Video testimonials ---------- */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b2033;
  border: 1px solid #dfeaf3;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.video-card video {
  width: 100%;
  aspect-ratio: 9 / 12;
  object-fit: cover;
  display: block;
  background: #081a2b;
}
.video-card .video-info {
  padding: 16px 18px;
  background: var(--white);
}
.video-card .video-info b { color: var(--ink-2); font-size: 1.05rem; display: block; }
.video-card .video-info span { color: var(--text-soft); font-size: .9rem; }
.video-play-hint {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(7, 21, 34, .8);
  color: #fff;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

/* ---------- Magazine ---------- */
.mag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.mag-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid #e4edf4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.mag-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.mag-cover {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #123a58, #05669e);
}
.mag-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.mag-card:hover .mag-cover img { transform: scale(1.07); }
.mag-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 21, 34, .35), transparent 45%);
  pointer-events: none;
}
.mag-cover svg { opacity: .9; transition: transform .5s ease; }
.mag-card:hover .mag-cover svg { transform: scale(1.15) rotate(-4deg); }
.mag-tag { z-index: 1; }
.mag-cover.c1 { background: linear-gradient(135deg, #0e3a5c, #05669e); }
.mag-cover.c2 { background: linear-gradient(135deg, #123a58, #2e9fd8); }
.mag-cover.c3 { background: linear-gradient(135deg, #0a2740, #0d5c8f); }
.mag-cover.c4 { background: linear-gradient(135deg, #8a6d33, #c9a45c); }
.mag-cover.c5 { background: linear-gradient(135deg, #0c2436, #1179b5); }
.mag-cover.c6 { background: linear-gradient(135deg, #05466c, #57c4ff); }
.mag-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}
.mag-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.mag-body h3 { font-size: 1.22rem; color: var(--ink-2); margin-bottom: 8px; line-height: 1.35; }
.mag-body p { color: var(--text-soft); font-size: .95rem; margin: 0 0 18px; }
.mag-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--brand);
  font-weight: 700;
  font-size: .92rem;
}
.mag-meta .read-time { color: var(--text-soft); font-weight: 400; font-size: .85rem; }

/* ---------- Article page ---------- */
.article-hero {
  background:
    radial-gradient(900px 500px at 80% -20%, rgba(46, 159, 216, .4), transparent 60%),
    linear-gradient(160deg, #071522, #0c2436);
  color: #fff;
  padding: calc(var(--header-h) + 70px) 0 64px;
}
.article-hero .crumbs { color: var(--text-inverse-soft); font-size: .9rem; margin-bottom: 18px; }
.article-hero .crumbs a { color: var(--brand-glow); text-decoration: none; }
.article-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 900; max-width: 20ch; color: #fff; }
.article-hero .article-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--text-inverse-soft); font-size: .92rem; margin-top: 18px; }
.article-body { padding: 70px 0 40px; }
.article-figure {
  margin: 0 0 40px;
}
.article-figure img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid #e4edf4;
  box-shadow: var(--shadow-soft);
}
.article-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.09rem;
  line-height: 1.9;
}
.article-content h2 {
  font-size: 1.5rem;
  color: var(--ink-2);
  margin: 1.8em 0 .6em;
  padding-right: 16px;
  border-right: 4px solid var(--brand-light);
}
.article-content p { margin: 0 0 1.2em; color: var(--text); }
.article-content .article-highlight {
  background: linear-gradient(135deg, rgba(46, 159, 216, .1), rgba(201, 164, 92, .1));
  border: 1px solid #d8e8f3;
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin: 1.6em 0;
  font-weight: 500;
}
.article-cta {
  margin: 2.2em 0 0;
  text-align: center;
  background: linear-gradient(160deg, #0c2436, #071522);
  border-radius: var(--radius);
  padding: 44px 30px;
  color: #fff;
}
.article-cta h3 { color: #fff; font-size: 1.5rem; }
.article-cta p { color: var(--text-inverse-soft); margin-bottom: 24px; }
.related { padding: 30px 0 90px; }
.related h2 { text-align: center; font-size: 1.6rem; color: var(--ink-2); margin-bottom: 30px; }

/* ---------- Counter stats ---------- */
.stat .num { display: inline-block; min-width: 2ch; }

/* ---------- Floating shapes on light sections ---------- */
.section { position: relative; }
.shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: .55;
  filter: blur(60px);
  z-index: 0;
  animation: float 14s ease-in-out infinite alternate;
}
.shape.s-blue { background: rgba(46, 159, 216, .25); }
.shape.s-gold { background: rgba(201, 164, 92, .22); }
.section > .container { position: relative; z-index: 1; }

/* ---------- WhatsApp pulse ---------- */
.float-whatsapp { position: relative; }
.float-whatsapp::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(53, 211, 110, .7);
  animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(.85); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ---------- Hero entrance ---------- */
.hero-copy > * { opacity: 0; transform: translateY(24px); animation: rise-in .8s cubic-bezier(.22,.61,.36,1) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: .1s; }
.hero-copy > *:nth-child(2) { animation-delay: .22s; }
.hero-copy > *:nth-child(3) { animation-delay: .36s; }
.hero-copy > *:nth-child(4) { animation-delay: .5s; }
.hero-copy > *:nth-child(5) { animation-delay: .66s; }
@keyframes rise-in { to { opacity: 1; transform: none; } }
body.a11y-no-motion .hero-copy > * { opacity: 1; transform: none; animation: none; }

/* ---------- Hero doctor portrait ---------- */
.hero-doctor {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 520px;
}
.doctor-glow {
  position: absolute;
  bottom: 40px;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(87, 196, 255, .45), rgba(5, 102, 158, .25) 55%, transparent 72%);
  filter: blur(6px);
  animation: glow-breathe 5s ease-in-out infinite;
}
.doctor-glow::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1.5px dashed rgba(230, 200, 138, .5);
  animation: spin-slow 40s linear infinite;
}
@keyframes glow-breathe { 0%, 100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.doctor-img {
  position: relative;
  z-index: 1;
  width: min(430px, 92%);
  filter: drop-shadow(0 30px 45px rgba(7, 30, 50, .35));
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 7%);
  mask-image: linear-gradient(to top, transparent 0, #000 7%);
}
.doctor-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(7, 21, 34, .78);
  border: 1px solid rgba(87, 196, 255, .35);
  backdrop-filter: blur(8px);
  color: #dceefb;
  font-size: .88rem;
  font-weight: 700;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5);
  animation: chip-float 5s ease-in-out infinite;
}
.doctor-chip svg { color: var(--gold-light); flex: none; }
.doctor-chip.chip-1 { top: 22%; right: -2%; }
.doctor-chip.chip-2 { top: 52%; left: -4%; animation-delay: -2.5s; }
@keyframes chip-float { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(8px); } }
.doctor-nameplate {
  position: relative;
  z-index: 2;
  margin-top: -34px;
  text-align: center;
  padding: 14px 34px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .6);
}
.doctor-nameplate b { display: block; color: #fff; font-size: 1.35rem; font-weight: 900; }
.doctor-nameplate span { color: var(--gold-light); font-size: .92rem; font-weight: 600; }

/* About card portrait */
.doctor-avatar.has-photo {
  width: 190px;
  height: 190px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 38%, rgba(87, 196, 255, .55), var(--brand) 75%);
  box-shadow: 0 22px 50px -14px rgba(46, 159, 216, .8), inset 0 0 0 3px rgba(255, 255, 255, .25);
}
.doctor-avatar.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transform: scale(1.12) translateY(6%);
}

/* ============================================================
   V3 - Magic layer: sparkles, parallax, shimmer
   ============================================================ */

/* Shimmer sweep on CTA buttons */
.btn-gold, .btn-primary { position: relative; overflow: hidden; }
.btn-gold::after, .btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 55%;
  left: -80%;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, .55) 50%, transparent 80%);
  transform: skewX(-20deg);
  animation: shimmer 3.4s ease-in-out infinite;
  pointer-events: none;
}
.btn-primary::after { animation-delay: 1.7s; opacity: .6; }
@keyframes shimmer {
  0% { left: -80%; }
  45%, 100% { left: 130%; }
}

/* Sparkles */
.sparkle {
  position: absolute;
  color: var(--gold);
  pointer-events: none;
  z-index: 0;
  animation: sparkle-drift linear infinite, sparkle-twinkle 2.2s ease-in-out infinite;
  opacity: 0;
  user-select: none;
}
@keyframes sparkle-drift {
  from { transform: translateY(30px) scale(.6) rotate(0deg); }
  to { transform: translateY(-90vh) scale(1.1) rotate(180deg); }
}
@keyframes sparkle-twinkle {
  0%, 100% { opacity: 0; }
  50% { opacity: .85; }
}

/* Magic cursor glow inside hero */
.hero { --mx: 50%; --my: 50%; }
.hero .cursor-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(87, 196, 255, .16), transparent 65%);
  transition: background .08s linear;
}

/* Parallax layers */
.parallax { will-change: transform; transition: transform .25s cubic-bezier(.2, .7, .3, 1); }

/* Section kicker sparkle */
.section-kicker::before { content: "✦ "; color: var(--gold); }

/* Gradient glow border on hover for cards */
.treatment-card, .mag-card, .contact-form-wrap, .doctor-card { position: relative; }
.treatment-card::after, .mag-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(130deg, rgba(46, 159, 216, .7), rgba(201, 164, 92, .7), rgba(46, 159, 216, .7));
  background-size: 250% 250%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
  animation: border-flow 4s linear infinite;
  pointer-events: none;
}
.treatment-card:hover::after, .mag-card:hover::after { opacity: 1; }
@keyframes border-flow {
  from { background-position: 0% 50%; }
  to { background-position: 250% 50%; }
}

/* Gallery staggered zoom-in */
.gallery-item.reveal { transform: translateY(28px) scale(.96); }
.gallery-item.reveal.visible { transform: none; }

/* Headline underline glow */
.section-head h2 { position: relative; display: inline-block; }
.section-head h2::after {
  content: "";
  position: absolute;
  right: 50%;
  transform: translateX(50%);
  bottom: -12px;
  width: 74px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand-light), var(--gold));
  box-shadow: 0 0 16px rgba(46, 159, 216, .55);
}
.section-head p { margin-top: 26px; }

/* Floating decorative shapes usage */
.shape { display: block; }

/* Testimonial card soft glow */
.testi-card { position: relative; }
.testi-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(400px 120px at 50% 0%, rgba(46, 159, 216, .12), transparent 70%);
  pointer-events: none;
}

body.a11y-no-motion .sparkle,
body.a11y-no-motion .btn-gold::after,
body.a11y-no-motion .btn-primary::after,
body.a11y-no-motion .treatment-card::after,
body.a11y-no-motion .mag-card::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .sparkle { display: none; }
}

/* ---------- Responsive v2 ---------- */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
  .mag-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; }
  .mag-grid { grid-template-columns: 1fr; }
  .marquee-item { font-size: .9rem; padding-inline: 14px; }
  .doctor-chip { display: none; }
  .doctor-img { margin-top: -10%; }
  .hero-doctor { min-height: 0; }
}
