/* ד"ר ענאן חוסיין — Homepage */
@font-face {
  font-family: "Assistant";
  src: url("/fonts/Assistant-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --blue: #0D4EA6;
  --navy: #163A73;
  --light: #7CCBFF;
  --pale: #EAF3FF;
  --ink: #1C2B45;
  --muted: #5A6B84;
  --line: #D7E3F2;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(22, 58, 115, .12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Assistant", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, 92%); margin-inline: auto; }

h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 700; color: var(--navy); }
.section-sub { color: var(--muted); margin: 8px 0 28px; font-size: clamp(15px, 2vw, 17px); }
section { padding: clamp(48px, 8vw, 84px) 0; }

/* Buttons */
.btn {
  display: inline-block;
  border: 0; cursor: pointer;
  border-radius: 10px;
  padding: 13px 28px;
  font-family: inherit;
  font-size: 16px; font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(13, 78, 166, .35); }
.btn-primary:hover { background: #0B4491; }
.btn-light { background: var(--light); color: var(--navy); }
.btn-light:hover { background: #8FD4FF; }
.btn-ghost-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-small { padding: 9px 18px; font-size: 14px; }
.btn-wide { width: 100%; }

.pill {
  display: inline-block;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 18px;
  font-size: 14px; font-weight: 600; color: var(--navy);
  box-shadow: 0 2px 8px rgba(22,58,115,.06);
}

/* ===== Header ===== */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  padding: 10px 0;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand img { width: 150px; height: auto; filter: drop-shadow(0 1px 8px rgba(255,255,255,.75)); }
.main-nav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 15px; color: #fff; }
.main-nav > a { padding: 6px 2px; opacity: .92; }
.main-nav > a:hover, .main-nav > a.active { opacity: 1; border-bottom: 2px solid var(--light); }
.nav-cta { border-bottom: 0 !important; background: var(--light); color: var(--navy); border-radius: 9px; }
.nav-cta:hover { background: #8FD4FF; }
.site-header.scrolled .nav-cta { background: var(--blue); color: #fff; }
.site-header.scrolled { background: #fff; box-shadow: 0 4px 20px rgba(22,58,115,.10); padding: 6px 0; }
.site-header.scrolled .main-nav { color: var(--navy); }
.site-header.scrolled .brand img { filter: none; }

/* dropdown */
.dropdown { position: relative; }
.drop-btn {
  background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 600; color: inherit; opacity: .92;
  display: flex; align-items: center; gap: 4px; padding: 6px 2px;
}
.caret { font-size: 11px; transition: transform .2s; }
.drop-menu {
  position: absolute; top: calc(100% + 10px); inset-inline-start: 0;
  background: #fff; color: var(--navy);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 10px; min-width: 230px;
  display: none; flex-direction: column;
}
.drop-menu a { padding: 9px 12px; border-radius: 8px; font-size: 14.5px; }
.drop-menu a:hover { background: var(--pale); }
.dropdown:hover .drop-menu, .dropdown:focus-within .drop-menu, .dropdown.open .drop-menu { display: flex; }
.dropdown:hover .caret, .dropdown.open .caret { transform: rotate(180deg); }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2.5px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .25s; }
.site-header.scrolled .burger span, .site-header.nav-open .burger span { background: var(--navy); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; padding: 0; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,58,115,.30) 0%, rgba(22,58,115,.05) 35%, rgba(22,58,115,.72) 100%);
}
.hero-content { position: relative; z-index: 2; width: min(1200px, 92%); padding-bottom: 46px; display: flex; justify-content: flex-start; }
.hero-card {
  background: rgba(22, 58, 115, .90);
  backdrop-filter: blur(4px);
  color: #fff;
  border-radius: 16px;
  padding: 28px 32px;
  max-width: 560px;
  box-shadow: var(--shadow);
}
.hero-quote { font-size: clamp(26px, 4vw, 38px); font-weight: 800; line-height: 1.25; }
.hero-sub { color: #CFE0FF; margin: 10px 0 20px; font-size: clamp(14px, 2vw, 17px); }
.hero-tags { color: #A9C3EE; font-size: 14.5px; margin-bottom: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.section-cta { margin-top: 26px; text-align: center; font-weight: 700; }
.section-cta a:not(.btn) { color: var(--blue); font-size: 16.5px; }
.section-cta a:not(.btn):hover { text-decoration: underline; }

/* FAQ */
.faq-section { background: #fff; }
.faq-inner { max-width: 720px; }
.faq-section details {
  background: var(--pale); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 10px; overflow: hidden;
}
.faq-section summary {
  list-style: none; cursor: pointer;
  padding: 15px 18px; font-weight: 700; font-size: 16.5px; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center;
}
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after { content: "+"; font-size: 20px; color: var(--blue); transition: transform .2s; }
.faq-section details[open] summary::after { transform: rotate(45deg); }
.faq-section .acc-body { padding: 0 18px 16px; }
.faq-section .acc-body p { color: var(--muted); font-size: 15px; }

.trust-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 22px; }

/* Clinic cards */
.clinics-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 26px; }
.clinic-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 14px rgba(22,58,115,.08); text-align: start; }
.clinic-card img { width: 100%; height: 130px; object-fit: cover; object-position: 50% 25%; }
.clinic-info { padding: 12px 16px 14px; }
.clinic-info h3 { font-size: 15.5px; color: var(--navy); margin-bottom: 6px; }
.clinic-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 800; font-size: 17px; min-height: 44px; }
.clinic-phone:hover { text-decoration: underline; }
.clinic-wa { display: inline-flex; align-items: center; gap: 6px; background: #25D366; color: #fff; font-weight: 700; font-size: 14px; border-radius: 9px; padding: 8px 14px; margin-inline-start: 10px; }
.clinic-wa:hover { background: #1EBE59; }
@media (max-width: 560px) { .clinics-row { grid-template-columns: 1fr; } }

/* Floating CTA */
.floating-cta {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 60;
  display: flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff;
  border-radius: 999px; padding: 13px 22px;
  font-weight: 700; font-size: 15px;
  box-shadow: 0 10px 26px rgba(13, 78, 166, .45);
  transition: transform .15s ease, background .15s ease, opacity .2s ease;
}
.floating-cta:hover { background: #0B4491; transform: translateY(-2px); }
.floating-cta.hidden { opacity: 0; pointer-events: none; }

/* ===== Timeline ===== */
.timeline-section { background: #fff; }
.timeline {
  list-style: none;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  counter-reset: tl;
  position: relative;
  margin-top: 10px;
}
.timeline::before {
  content: ""; position: absolute; top: 7px; inset-inline: 40px;
  height: 2px; background: var(--line);
}
.timeline li { position: relative; padding-top: 26px; }
.tl-dot {
  position: absolute; top: 0; inset-inline-start: 0;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--light); border: 3px solid var(--blue);
}
.timeline h3 { font-size: 17px; color: var(--blue); margin-bottom: 4px; }
.timeline p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }

/* ===== Services ===== */
.services-section { background: linear-gradient(180deg, var(--pale), #fff); }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.group-title {
  color: var(--blue); font-size: 20px; margin-bottom: 14px;
  padding-inline-start: 12px; border-inline-start: 4px solid var(--light);
}
.service-group details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 10px; overflow: hidden;
  transition: box-shadow .2s;
}
.service-group details[open] { box-shadow: var(--shadow); }
.service-group summary {
  list-style: none; cursor: pointer;
  padding: 15px 18px;
  font-weight: 700; font-size: 16.5px; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center;
}
.service-group summary::-webkit-details-marker { display: none; }
.service-group summary::after { content: "+"; font-size: 20px; color: var(--blue); transition: transform .2s; }
.service-group details[open] summary::after { transform: rotate(45deg); }
.acc-body { padding: 0 18px 16px; }
.acc-body p { color: var(--muted); font-size: 15px; }
.more { display: inline-block; margin-top: 8px; color: var(--blue); font-weight: 700; font-size: 14.5px; }
.more:hover { text-decoration: underline; }

/* ===== Journey ===== */
.journey-section { background: #fff; }
.journey { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px; }
.journey li {
  background: var(--pale); border-radius: var(--radius);
  padding: 22px 18px; text-align: center;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 18px;
  margin-bottom: 10px;
}
.journey h3 { font-size: 16.5px; color: var(--navy); margin-bottom: 4px; }
.journey p { font-size: 14px; color: var(--muted); }

/* ===== Reviews + Video ===== */
.reviews-section { background: var(--navy); color: #fff; }
.reviews-section h2 { color: #fff; }
.reviews-grid { display: grid; grid-template-columns: 1fr; max-width: 780px; margin-inline: auto; }
.carousel { position: relative; margin-top: 18px; min-height: 190px; }
.review { display: none; }
.review.active { display: block; animation: fade .4s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.stars { color: #FFD166; letter-spacing: 3px; font-size: 18px; margin-bottom: 8px; }
.review blockquote { font-size: clamp(17px, 2.2vw, 21px); font-weight: 600; line-height: 1.5; }
.review figcaption { color: #A9C3EE; margin-top: 10px; font-size: 14px; }
.carousel-nav { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.carousel-nav button {
  background: rgba(255,255,255,.12); color: #fff;
  border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 50%; font-size: 20px;
}
.carousel-nav button:hover { background: rgba(255,255,255,.25); }
.dots { display: flex; gap: 7px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); }
.dots i.on { background: var(--light); }
.reviews-meta { margin-top: 16px; color: #A9C3EE; font-size: 14.5px; }
.video-col { display: flex; justify-content: center; }
.video-col video { border-radius: var(--radius); box-shadow: 0 16px 40px rgba(0,0,0,.35); max-height: 460px; width: auto; max-width: 100%; }

/* ===== Contact ===== */
.contact-section { background: linear-gradient(180deg, var(--pale), #fff); }
.contact-inner { max-width: 560px; text-align: center; }
#leadForm { text-align: start; margin-top: 8px; }
.field { margin-bottom: 14px; }
label { display: block; font-weight: 700; font-size: 14.5px; color: var(--navy); margin-bottom: 5px; }
input, select, textarea {
  width: 100%;
  border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px 14px;
  font: inherit; font-size: 15px;
  background: #fff; color: var(--ink);
  transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); }
.hp { position: absolute; inset-inline-start: -9999px; height: 0; opacity: 0; pointer-events: none; }
.form-error { color: #C0392B; font-weight: 600; margin: 6px 0 10px; font-size: 14.5px; }
.thanks { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.thanks h3 { color: var(--blue); font-size: 22px; margin-bottom: 6px; }

/* ===== Footer (עשיר — قاعدة ثابتة) ===== */
.site-footer { background: var(--navy); color: #CFE0FF; padding: 52px 0 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(207, 224, 255, .18);
}
.footer-brand img { margin-bottom: 12px; }
.footer-brand p { font-size: 14px; max-width: 280px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; align-items: center; }
.footer-social a, .soon-chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-width: 44px; min-height: 44px; padding: 0 12px;
  border-radius: 10px; justify-content: center;
  background: rgba(255,255,255,.08); color: #CFE0FF;
  font-size: 12.5px;
}
.footer-social a:hover { background: rgba(255,255,255,.2); color: #fff; }
.soon-chip { opacity: .55; cursor: default; }
.footer-col { display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.footer-col h3 { color: #fff; font-size: 15.5px; margin-bottom: 4px; }
.footer-col a { opacity: .9; }
.footer-col a:hover { color: #fff; opacity: 1; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 18px; }
.disclaimer { font-size: 12.5px; opacity: .8; }
.copyright { font-size: 12.5px; opacity: .65; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; }
}

/* ===== Sub-pages (about / legal) ===== */
.subpage-main { padding-top: 44px; min-height: 60vh; }
.subpage-main .container { max-width: 820px; }
.subpage-main h1 { font-size: clamp(28px, 4vw, 38px); color: var(--navy); margin-bottom: 6px; }
.subpage-main .updated { color: var(--muted); font-size: 13.5px; margin-bottom: 26px; }
.subpage-main h2 { font-size: 21px; margin: 28px 0 10px; }
.subpage-main p, .subpage-main li { color: #33445F; font-size: 16px; }
.subpage-main ul, .subpage-main ol { padding-inline-start: 22px; margin: 8px 0 14px; }
.subpage-main li { margin-bottom: 6px; }
.subpage-header { position: static; background: #fff; box-shadow: 0 2px 14px rgba(22,58,115,.08); }
.subpage-header .main-nav { color: var(--navy); }
.subpage-header .brand img { filter: none; }
.subpage-header .burger span { background: var(--navy); }
.about-photo { float: inline-end; width: min(260px, 40%); border-radius: var(--radius); margin: 0 0 14px 18px; box-shadow: var(--shadow); }
.about-cta { background: var(--pale); border-radius: var(--radius); padding: 22px; text-align: center; margin-top: 34px; }
.press-list { list-style: none; padding: 0 !important; }
.press-list li { background: var(--pale); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin-bottom: 8px; }
.press-list a { color: var(--blue); font-weight: 700; }
.press-list a:hover { text-decoration: underline; }
.press-list small { color: var(--muted); display: block; }

/* Comparison table */
.table-wrap { overflow-x: auto; margin: 10px 0 16px; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.cmp-table th, .cmp-table td { border: 1px solid var(--line); padding: 9px 12px; text-align: start; }
.cmp-table th { background: var(--pale); color: var(--navy); font-size: 14px; }
.cmp-table td { color: #33445F; }
.cmp-table tr.highlight td { background: #E8F6EC; border-color: #BFE3CA; }

/* Treatment video */
.treatment-video { margin: 6px 0 26px; }
.treatment-video video { border-radius: var(--radius); box-shadow: var(--shadow); max-height: 420px; width: auto; max-width: 100%; }
.video-caption { color: var(--muted); font-size: 13.5px; margin-top: 8px; }

/* Intro video on homepage */
.intro-video-section { background: #fff; text-align: center; }
.intro-video-section h2 { margin-bottom: 22px; }
.intro-video-section video { border-radius: var(--radius); box-shadow: var(--shadow); max-height: 440px; width: auto; max-width: 100%; margin-inline: auto; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; gap: 28px; }
  .timeline { grid-template-columns: 1fr; gap: 0; padding-inline-start: 6px; }
  .timeline::before { top: 8px; bottom: 8px; height: auto; width: 2px; inset-inline-start: 7px; inset-inline-end: auto; }
  .timeline li { padding: 0 30px 22px 0; }
  .tl-dot { inset-inline-start: 0; }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .footer-info { text-align: start; }
}
@media (max-width: 760px) {
  .burger { display: block; }
  .brand img { width: 108px; padding: 4px 8px; }
  .main-nav {
    display: none;
    position: absolute; top: 100%; inset-inline: 0;
    background: #fff; color: var(--navy);
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px 5% 20px;
    box-shadow: 0 18px 30px rgba(22,58,115,.15);
  }
  .site-header.nav-open { background: #fff; }
  .site-header.nav-open .main-nav { display: flex; }
  .main-nav > a { padding: 11px 4px; border-bottom: 1px solid var(--pale) !important; opacity: 1; }
  .drop-btn { padding: 11px 4px; width: 100%; justify-content: space-between; }
  .drop-menu { position: static; box-shadow: none; padding: 0 12px; }
  .nav-cta { text-align: center; margin-top: 8px; border-radius: 10px; }
  .hero { min-height: 92vh; align-items: flex-end; }
  .hero-content { padding-bottom: 22px; }
  .hero-card { padding: 22px; max-width: none; width: 100%; }
  .journey { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .review.active { transition: none; animation: none; }
}
