/* Proctoheilen Clinics — Dr. Mohamed Fatemy */

:root {
  --navy-950: #071728;
  --navy-900: #0a1f33;
  --navy-800: #0e2a45;
  --navy-700: #153a5c;
  --blue-600: #1f5a85;
  --teal-500: #3f8f9c;
  --teal-400: #5fa8b2;
  --teal-100: #e3f1f3;
  --green-500: #8cc63f;
  --green-600: #74ad2b;
  --green-100: #eef7e2;
  --ink: #11253a;
  --muted: #5b6f82;
  --bg: #f4f8fa;
  --line: #dde7ee;
  --white: #ffffff;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 45px -20px rgba(10, 31, 51, 0.35);
  --shadow-sm: 0 8px 24px -14px rgba(10, 31, 51, 0.3);
  --grad-panel: linear-gradient(135deg, var(--teal-500) 0%, var(--blue-600) 100%);
  --grad-dark: radial-gradient(1200px 600px at 85% -10%, #1d4f78 0%, transparent 60%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-950) 100%);

  --font: "Cairo", "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16.5px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.ic {
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.skip-link {
  position: absolute; top: -60px; right: 16px; z-index: 200;
  background: var(--green-500); color: var(--navy-900);
  padding: 10px 18px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 16px; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green-500); color: var(--navy-900); box-shadow: 0 10px 25px -10px rgba(140, 198, 63, .8); }
.btn-green:hover { background: #9bd14f; }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1fbe5b; }
.btn-sm { padding: 9px 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy-950); color: #b9c9d8; font-size: 14px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px; }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span, .topbar-info a { display: inline-flex; align-items: center; gap: 7px; }
.topbar-info .ic { color: var(--green-500); }
.topbar-info a:hover { color: #fff; }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); color: #dbe7f1; transition: background .2s, color .2s;
}
.socials a:hover { background: var(--green-500); color: var(--navy-900); }
.socials .ic { width: 16px; height: 16px; }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 31, 51, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }

.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(145deg, #fff 0%, #dfeaf2 100%);
  box-shadow: inset 0 -3px 0 rgba(10, 31, 51, .08);
}
.brand-mark svg { width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 19px; letter-spacing: .3px; font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
.brand-text small { font-size: 12.5px; color: var(--green-500); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; color: #d3e0eb; font-weight: 600; font-size: 15.5px;
  padding: 8px 14px; border-radius: 10px; transition: color .2s, background .2s;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav a.active { color: #fff; }
.nav a.active::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 2px; height: 3px;
  border-radius: 3px; background: var(--green-500);
}
.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; background: rgba(255, 255, 255, .08); color: #fff; border: 0;
  width: 46px; height: 46px; border-radius: 12px; cursor: pointer; place-items: center;
}
.nav-toggle .ic { width: 24px; height: 24px; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; background: var(--grad-dark); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 50px; padding-block: 64px 110px; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700;
  color: var(--green-500); background: rgba(140, 198, 63, .12);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow .ic { width: 16px; height: 16px; }

.name-plate {
  display: inline-block; background: var(--green-500); color: var(--navy-900);
  padding: 6px 26px 8px; font-size: clamp(30px, 4.4vw, 50px); font-weight: 900; line-height: 1.3;
  border-radius: 6px 6px 0 0; margin: 0;
}
.title-panel {
  background: var(--grad-panel); padding: 20px 26px; border-radius: 0 0 40px 0;
  max-width: 560px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .6);
}
.title-panel p { margin: 0; font-size: clamp(17px, 2vw, 21px); font-weight: 700; line-height: 1.7; }

.hero-lead { color: #c4d4e2; font-size: 17.5px; max-width: 560px; margin: 26px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-branches { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; color: #dbe7f1; font-weight: 700; }
.hero-branches span { display: inline-flex; align-items: center; gap: 6px; }
.hero-branches .ic { color: var(--green-500); }

.hero-media { position: relative; justify-self: center; width: min(420px, 100%); }
.hero-media::before {
  content: ""; position: absolute; inset: -14px; border-radius: 240px 240px 36px 36px;
  border: 2px solid rgba(140, 198, 63, .45);
}
.hero-media::after {
  content: ""; position: absolute; inset: 20% -40px -30px; z-index: -1;
  background: radial-gradient(circle, rgba(95, 168, 178, .45), transparent 65%);
}
.hero-media img {
  position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 10%;
  border-radius: 220px 220px 28px 28px; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .7);
}
.hero-badge {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: #fff; color: var(--ink); padding: 12px 16px; border-radius: 16px; box-shadow: var(--shadow);
}
.hero-badge .ic-wrap {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-600);
}
.hero-badge strong { display: block; font-size: 20px; line-height: 1.1; }
.hero-badge small { color: var(--muted); font-size: 13px; font-weight: 600; }
.hero-badge.b1 { top: 30%; right: -18px; }
.hero-badge.b2 { bottom: 16%; left: -18px; }
.hero-badge.b2 .ic-wrap { background: var(--teal-100); color: var(--teal-500); }

/* ---------- Stats strip ---------- */
.stats { position: relative; z-index: 3; margin-top: -1px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow); transform: translateY(-36px);
  overflow: hidden;
}
.stat { display: flex; align-items: center; gap: 14px; padding: 24px 22px; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat .ic-wrap {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--teal-100); color: var(--teal-500);
}
.stat .ic-wrap .ic { width: 26px; height: 26px; }
.stat strong { display: block; font-size: 22px; color: var(--navy-800); line-height: 1.2; }
.stat span { color: var(--muted); font-size: 14.5px; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section.tight { padding-top: 40px; }
.section.alt { background: #fff; }
.section.dark { background: var(--grad-dark); color: #fff; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); color: var(--navy-800); }
.section.dark .section-head h2 { color: #fff; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.section.dark .section-head p { color: #b9c9d8; }
.section-head .eyebrow { background: var(--green-100); color: var(--green-600); }
.section.dark .section-head .eyebrow { background: rgba(140, 198, 63, .14); color: var(--green-500); }
.section-head.start { text-align: start; margin-inline: 0; }

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

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 20px; color: var(--navy-800); margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }
.card .ic-wrap {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--grad-panel); color: #fff; box-shadow: 0 12px 24px -14px rgba(31, 90, 133, .9);
}
.card .ic-wrap .ic { width: 28px; height: 28px; }
.card .more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  color: var(--teal-500); font-weight: 700; font-size: 15px;
}
.card .more:hover { color: var(--navy-800); }

.service-card.featured { border: 2px solid var(--green-500); position: relative; }
.service-card .pill {
  position: absolute; top: 18px; left: 18px; font-size: 12.5px; font-weight: 800;
  background: var(--green-100); color: var(--green-600); padding: 3px 12px; border-radius: 999px;
}

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-media { position: relative; isolation: isolate; }
.split-media img { width: 100%; border-radius: 24px; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; box-shadow: var(--shadow); }
.split-media::after {
  content: ""; position: absolute; z-index: -1; inset: 30px -24px -24px 30px;
  border-radius: 26px; background: var(--grad-panel); opacity: .9;
}
.split-media .exp-badge {
  position: absolute; bottom: 28px; right: -22px; background: var(--navy-800); color: #fff;
  padding: 16px 22px; border-radius: 18px; box-shadow: var(--shadow); text-align: center;
}
.exp-badge strong { display: block; font-size: 34px; color: var(--green-500); line-height: 1; }
.exp-badge span { font-size: 14px; font-weight: 600; }
.split-content h2 { font-size: clamp(26px, 3.2vw, 36px); color: var(--navy-800); }
.split-content > p { color: var(--muted); font-size: 17px; }

.check-list { display: grid; gap: 12px; margin: 24px 0 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.check-list .ic {
  margin-top: 4px; width: 22px; height: 22px; padding: 3px; border-radius: 50%;
  background: var(--green-500); color: var(--navy-900); stroke-width: 3;
}
.section.dark .check-list li { color: #e3ecf3; }

.credentials { display: grid; gap: 14px; margin: 26px 0; }
.credential {
  display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--navy-800);
}
.credential .ic { width: 26px; height: 26px; color: var(--teal-500); }

/* ---------- Symptoms ---------- */
.symptoms { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.symptom {
  text-align: center; padding: 26px 16px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  transition: background .25s, transform .25s;
}
.symptom:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.symptom .ic { width: 34px; height: 34px; color: var(--green-500); margin: 0 auto 12px; display: block; }
.symptom strong { display: block; font-size: 16.5px; }
.symptoms-note { text-align: center; margin-top: 36px; color: #c4d4e2; }

/* ---------- Why us ---------- */
.why-item {
  display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px; transition: box-shadow .25s, transform .25s;
}
.why-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.section.alt .why-item { background: var(--bg); }
.why-item .num {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-600); font-weight: 900; font-size: 18px;
}
.why-item h3 { font-size: 18.5px; color: var(--navy-800); margin-bottom: 4px; }
.why-item p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* ---------- Branches ---------- */
.branch-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.branch-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.branch-head { background: var(--grad-panel); color: #fff; padding: 22px 24px; position: relative; }
.branch-head h3 { margin: 0; font-size: 23px; }
.branch-head small { color: #e6f3f5; font-weight: 600; }
.branch-head .ic-wrap {
  position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .16);
}
.branch-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.branch-row { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.branch-row .ic { margin-top: 5px; color: var(--teal-500); }
.days { display: flex; flex-wrap: wrap; gap: 8px; }
.day {
  background: var(--green-100); color: var(--green-600); font-weight: 800; font-size: 14px;
  padding: 4px 14px; border-radius: 999px;
}
.branch-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.branch-actions .btn { flex: 1; }

.schedule-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: #fff; }
.schedule { width: 100%; border-collapse: collapse; min-width: 720px; text-align: center; }
.schedule th, .schedule td { padding: 16px 12px; border-bottom: 1px solid var(--line); }
.schedule thead th { background: var(--navy-800); color: #fff; font-weight: 700; }
.schedule tbody th { text-align: start; color: var(--navy-800); font-weight: 800; background: #f8fbfc; white-space: nowrap; }
.schedule tbody tr:last-child th, .schedule tbody tr:last-child td { border-bottom: 0; }
.schedule .on {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--green-500); color: var(--navy-900);
}
.schedule .on .ic { stroke-width: 3; width: 18px; height: 18px; }
.schedule .off { color: #b8c6d2; }

.areas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.areas span {
  background: #fff; border: 1px solid var(--line); padding: 8px 18px; border-radius: 999px;
  font-weight: 700; color: var(--navy-800); display: inline-flex; gap: 6px; align-items: center;
}
.areas .ic { color: var(--teal-500); width: 16px; height: 16px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px;
  transition: box-shadow .2s, border-color .2s;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--teal-400); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 800; font-size: 17px;
  color: var(--navy-800); display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat,
    var(--teal-100);
  color: var(--teal-500);
  transition: transform .25s ease, background-color .25s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background:
    linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat,
    var(--green-500);
  color: var(--navy-900);
}
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; background: var(--grad-dark); color: #fff;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 50px 56px;
}
.cta-band::after {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  left: -120px; top: -160px; background: radial-gradient(circle, rgba(140, 198, 63, .25), transparent 70%);
}
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.cta-band p { color: #c4d4e2; margin: 0; font-size: 17px; }
.cta-actions { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; }
.cta-phone { direction: ltr; text-align: right; font-size: 26px; font-weight: 900; color: var(--green-500); letter-spacing: 1px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--grad-dark); color: #fff; padding: 70px 0 80px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; inset-inline-start: -10%; bottom: -60%; width: 60%; height: 140%;
  background: radial-gradient(circle, rgba(63, 143, 156, .35), transparent 65%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 10px; }
.page-hero p { color: #c4d4e2; font-size: 18px; max-width: 680px; margin: 0; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14.5px; color: #9fb4c7; margin-bottom: 14px; font-weight: 600; }
.crumbs a:hover { color: var(--green-500); }
.crumbs span[aria-current] { color: var(--green-500); }

/* ---------- Service detail ---------- */
.service-detail {
  display: grid; grid-template-columns: 90px 1fr; gap: 26px; background: #fff;
  border: 1px solid var(--line); border-radius: 22px; padding: 34px; scroll-margin-top: 110px;
}
.service-detail + .service-detail { margin-top: 22px; }
.service-detail .ic-wrap {
  width: 80px; height: 80px; border-radius: 22px; display: grid; place-items: center;
  background: var(--grad-panel); color: #fff;
}
.service-detail .ic-wrap .ic { width: 38px; height: 38px; }
.service-detail h2 { font-size: 25px; color: var(--navy-800); margin-bottom: 6px; }
.service-detail > div > p { color: var(--muted); }
.service-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 18px; }
.service-meta h4 { font-size: 15.5px; color: var(--teal-500); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.service-meta ul { display: grid; gap: 6px; }
.service-meta li { position: relative; padding-inline-start: 18px; color: var(--ink); font-size: 15.5px; }
.service-meta li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 11px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--green-500);
}
.tag-age {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700;
  background: var(--teal-100); color: var(--blue-600); padding: 3px 12px; border-radius: 999px; margin-bottom: 12px;
}
.tag-age .ic { width: 15px; height: 15px; }

.service-index { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.service-index a {
  padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-weight: 700; color: var(--navy-800); transition: background .2s, color .2s;
}
.service-index a:hover { background: var(--navy-800); color: #fff; }

.laser-box {
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center;
  background: var(--grad-panel); color: #fff; border-radius: 24px; padding: 34px 38px; margin-bottom: 40px;
}
.laser-box .ic-wrap { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
.laser-box .ic-wrap .ic { width: 38px; height: 38px; color: var(--green-500); }
.laser-box h2 { font-size: 26px; margin-bottom: 6px; }
.laser-box p { margin: 0; color: #e6f3f5; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.05); }

.values .card { text-align: center; }
.values .card .ic-wrap { margin-inline: auto; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: start; }
.form-card { background: #fff; border-radius: 24px; padding: 38px; box-shadow: var(--shadow); }
.form-card h2 { color: var(--navy-800); font-size: 26px; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 15px; color: var(--navy-800); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-500); background: #fff; box-shadow: 0 0 0 4px rgba(63, 143, 156, .15);
}
.field .hint { font-size: 13px; color: var(--muted); }
.form-note { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-top: 14px; }
.form-note .ic { color: var(--green-600); }
.form-error { color: #c0392b; font-weight: 700; font-size: 14.5px; margin-top: 10px; min-height: 1em; }

.contact-side { display: grid; gap: 18px; }
.contact-item {
  display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 20px 22px; transition: border-color .2s, box-shadow .2s;
}
a.contact-item:hover { border-color: var(--teal-400); box-shadow: var(--shadow-sm); }
.contact-item .ic-wrap {
  width: 54px; height: 54px; flex-shrink: 0; border-radius: 16px; display: grid; place-items: center;
  background: var(--teal-100); color: var(--teal-500);
}
.contact-item.wa .ic-wrap { background: #e3f9ea; color: #1fa855; }
.contact-item .ic-wrap .ic { width: 26px; height: 26px; }
.contact-item small { display: block; color: var(--muted); font-weight: 600; font-size: 14px; }
.contact-item strong { font-size: 18px; color: var(--navy-800); }
.contact-item .ltr { direction: ltr; display: inline-block; }
.social-card { background: var(--navy-800); color: #fff; border-radius: 18px; padding: 24px; }
.social-card h3 { font-size: 18px; margin-bottom: 14px; }
.social-card .socials a { width: 44px; height: 44px; }
.social-card .socials .ic { width: 20px; height: 20px; }

.reviews-cta { text-align: center; }
.stars { display: inline-flex; gap: 4px; color: #f5b301; margin-bottom: 10px; }
.stars .ic { fill: currentColor; width: 24px; height: 24px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #b9c9d8; padding: 70px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer .brand { margin-bottom: 16px; }
.footer p { font-size: 15px; }
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 16px; }
.footer-links { display: grid; gap: 9px; font-size: 15px; }
.footer-links a:hover { color: var(--green-500); }
.footer-contact { display: grid; gap: 12px; font-size: 15px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ic { margin-top: 5px; color: var(--green-500); }
.footer-contact .ltr { direction: ltr; }
.footer-bottom { text-align: center; font-size: 14px; margin-top: 46px; color: #8aa0b4; }

/* M2 signature */
.m2-signature {
  --m2-sig-text: #f2f7fa;
  --m2-sig-accent: #8cc63f;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px;
  margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px; letter-spacing: 0.2px; text-align: center;
}
.m2-signature__logo { display: inline-flex; align-items: center; line-height: 0; transition: opacity .25s ease, transform .25s ease; }
.m2-signature__logo:hover { opacity: .85; transform: translateY(-2px); }
.m2-signature__logo img { height: 18px; width: auto; max-width: 52px; object-fit: contain; }
.m2-signature__mark {
  display: inline-flex; width: 16px; height: 16px; color: var(--m2-sig-accent);
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--m2-sig-accent) 55%, transparent));
  animation: m2-sig-pulse 3.4s ease-in-out infinite;
}
.m2-signature__mark svg { width: 100%; height: 100%; display: block; }
@keyframes m2-sig-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: .9; }
  50% { transform: scale(1.12) rotate(45deg); opacity: 1; }
}
.m2-signature__tag, .m2-signature__tag strong { color: var(--m2-sig-text); font-size: 13px; }
.m2-signature__year { color: color-mix(in srgb, var(--m2-sig-text) 78%, transparent); font-size: 13px; }

/* ---------- Floating actions ---------- */
.float-actions { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; gap: 12px; }
.float-actions a {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .5); transition: transform .2s;
}
.float-actions a:hover { transform: scale(1.08); }
.float-actions .ic { width: 28px; height: 28px; }
.float-wa { background: #25d366; animation: wa-pulse 2.6s infinite; }
.float-call { background: var(--navy-800); }
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header-cta .btn-call { display: none; }
  .nav a { padding: 8px 10px; }
  .symptoms { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-toggle { display: grid; }
  .nav {
    position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--navy-900); padding: 12px 20px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav a.active { background: rgba(140, 198, 63, .12); color: var(--green-500); }
  .nav a.active::after { display: none; }

  .hero .container { grid-template-columns: 1fr; padding-block: 44px 90px; gap: 56px; }
  .hero-content { text-align: center; }
  .title-panel, .hero-lead { margin-inline: auto; }
  .title-panel { border-radius: 0 0 30px 30px; }
  .hero-actions, .hero-branches { justify-content: center; }
  .hero-media { width: min(380px, 90%); }
  .hero-badge.b1 { right: -6px; }
  .hero-badge.b2 { left: -6px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .split-media { max-width: 460px; margin-inline: auto; width: 100%; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; text-align: center; padding: 40px 28px; }
  .cta-actions { justify-content: center; }
  .cta-phone { text-align: center; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar-info .hide-sm { display: none; }
  .topbar .socials { display: none; }
  .header .container { min-height: 68px; }
  .header-cta .btn-book span { display: none; }
  .header-cta .btn-book { padding: 10px 12px; }
  .brand-text small { display: none; }
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat { padding: 18px 14px; flex-direction: column; text-align: center; gap: 8px; }
  .stat strong { font-size: 18px; }
  .stat span { font-size: 13px; }
  .symptoms { grid-template-columns: repeat(2, 1fr); }
  .service-detail { grid-template-columns: 1fr; padding: 26px 22px; }
  .service-meta { grid-template-columns: 1fr; }
  .laser-box { grid-template-columns: 1fr; text-align: center; padding: 28px 22px; }
  .laser-box .ic-wrap { margin-inline: auto; }
  .form-card { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .split-media .exp-badge { right: 10px; }
  .split-media::after { inset: 20px -10px -14px 20px; }
  .hero-badge { padding: 9px 12px; }
  .hero-badge strong { font-size: 17px; }
  .float-actions { right: 14px; bottom: 14px; }
  .float-actions a { width: 52px; height: 52px; }
}
