/* =============================================
   ROYAL-MED ISRAEL – MAIN STYLESHEET
   RTL Hebrew Medical Design
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700;800&display=swap');

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #006889;
  --navy-dark:  #00516A;
  --navy-light: #096F9F;
  --teal:       #00AAE6;
  --teal-light: #1699FC;
  --teal-pale:  #e6f6fc;
  --gray-bg:    #f5f7fa;
  --gray-light: #eef1f5;
  --gray-mid:   #c8d0db;
  --gray-text:  #6b7a8d;
  --text:       #333333;
  --white:      #ffffff;
  --orange:     #F29400;
  --shadow-sm:  0 2px 8px rgba(0,104,137,.08);
  --shadow-md:  0 4px 20px rgba(0,104,137,.12);
  --shadow-lg:  0 8px 40px rgba(0,104,137,.16);
  --radius:     10px;
  --radius-lg:  16px;
  --transition: .25s ease;
  --max-width:  1200px;
  --header-h:   90px;
}

html { direction: rtl; scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Heebo', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── UTILITIES ── */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 56px 0; }

.section-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--gray-text);
  margin-bottom: 48px;
  max-width: 620px;
}

.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-teal:hover { background: var(--teal-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; }

.btn-wa {
  background: #25D366;
  color: var(--white);
}
.btn-wa:hover { background: #1ebe5b; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,211,102,.35); }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  height: var(--header-h);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 76px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 900px) { .logo-img { height: 56px; } }

/* ── HMO ROLLER ── */
.hmo-roller-headline {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.hmo-roller-wrap {
  background: var(--white);
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  padding: 20px 0;
  overflow: hidden;
}
.hmo-roller-title {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-text);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hmo-track-outer {
  overflow: hidden;
  width: 100%;
  direction: ltr;
}
.hmo-track {
  display: flex;
  flex-wrap: nowrap;
  direction: ltr;
  width: max-content;
  animation: hmo-scroll 20s linear infinite;
  will-change: transform;
}
.hmo-item {
  flex-shrink: 0;
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hmo-item img {
  display: block;
  height: 60px;
  width: 140px;
  max-width: 140px;
  object-fit: contain;
}
@media (max-width: 768px) {
  .hmo-item img {
    height: 50px;
    width: 150px;
    max-width: 150px;
  }
}
@keyframes hmo-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--navy); background: var(--gray-bg); }
.nav-link .chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.nav-item:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text);
  transition: var(--transition);
  border-bottom: 1px solid var(--gray-light);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--teal-pale); color: var(--teal); padding-right: 22px; }
.dropdown a:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.dropdown a:last-child { border-radius: 0 0 var(--radius) var(--radius); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 8px; }

/* ── Language Tabs (always-visible pill group) ── */
.lang-tabs-wrap {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--teal);
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.lang-tabs-wrap .lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  min-width: 28px;
  font-size: 11px;
  font-weight: 700;
  background: var(--white);
  border: none;
  border-inline-start: 1px solid var(--teal);
  cursor: pointer;
  color: var(--navy);
  font-family: inherit;
  letter-spacing: .04em;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.lang-tabs-wrap .lang-btn:first-child { border-inline-start: none; }
.lang-tabs-wrap .lang-btn:hover { background: var(--teal-pale); color: var(--teal); }
.lang-tabs-wrap .lang-btn.active { background: var(--teal); color: var(--white); }

/* Generic lang-btn (mobile menu) */
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: background .15s, color .15s;
}
.lang-btn:hover { background: var(--teal-pale); color: var(--teal); }
.lang-btn.active { color: var(--teal); font-weight: 700; }

/* Mobile language row — top of menu */
.mobile-lang-row.top {
  display: flex;
  gap: 0;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.12);
}
.mobile-lang-row.top .lang-btn {
  flex: 1;
  padding: 8px 4px;
  text-align: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-inline-end: none;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 700;
}
.mobile-lang-row.top .lang-btn:last-child { border-inline-end: 1px solid rgba(255,255,255,.2); }
.mobile-lang-row.top .lang-btn:first-child { border-radius: 0 6px 6px 0; }
[dir="ltr"] .mobile-lang-row.top .lang-btn:first-child { border-radius: 6px 0 0 6px; }
.mobile-lang-row.top .lang-btn:last-child { border-radius: 6px 0 0 6px; }
[dir="ltr"] .mobile-lang-row.top .lang-btn:last-child { border-radius: 0 6px 6px 0; }
.mobile-lang-row.top .lang-btn:hover { background: rgba(255,255,255,.25); color: var(--white); }
.mobile-lang-row.top .lang-btn.active { background: var(--teal); color: var(--white); border-color: var(--teal); }

.wa-nav-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #25D366;
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}
.wa-nav-btn:hover { background: #1ebe5b; }
.wa-nav-btn svg { width: 16px; height: 16px; fill: var(--white); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 999;
  overflow-y: auto;
  padding: 16px 0;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-nav-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--gray-light);
}
.mobile-nav-item > a:hover { background: var(--gray-bg); }

.mobile-dropdown { display: none; background: var(--gray-bg); }
.mobile-dropdown.open { display: block; }
.mobile-dropdown a {
  display: block;
  padding: 11px 36px;
  font-size: 14px;
  color: var(--gray-text);
  border-bottom: 1px solid var(--gray-light);
}
.mobile-dropdown a:hover { color: var(--teal); }

.mobile-wa {
  margin: 20px 24px;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--gray-bg);
  border-bottom: 1px solid var(--gray-light);
  padding: 12px 0;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb-list a { font-size: 13px; color: var(--teal); }
.breadcrumb-list a:hover { text-decoration: underline; }
.breadcrumb-list .sep {
  font-size: 13px;
  color: var(--gray-mid);
  transform: scaleX(-1);
}
.breadcrumb-list .current { font-size: 13px; color: var(--gray-text); }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; }
.page-hero-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,.8);
  max-width: 580px;
  line-height: 1.7;
}

/* ── HOME HERO ── */
.home-hero {
  background: #0a1937;
  min-height: clamp(500px, 58vw, 88vh);
  padding: 0;
  position: relative;
  overflow: hidden;
}
/* תמונת רקע — img מוחבא כ-background */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(10,25,55,.92) 0%,
    rgba(10,25,55,.55) 50%,
    rgba(10,25,55,.10) 100%);
  z-index: 1;
}
.home-hero .container {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 100%;
}
.home-hero-inner {
  position: relative;
  width: 100%;
  text-align: center;
}
.home-hero-content .hero-btns {
  justify-content: center;
}
.home-hero-content .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14,165,233,.2);
  border: 1px solid rgba(42,157,143,.4);
  color: var(--teal-light);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.home-hero-content h1 {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}
.home-hero-content h1 span { color: var(--teal-light); }
.home-hero-content p {
  font-size: 17px;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* מובייל — תמונה למעלה, טקסט למטה */
@media (max-width: 768px) {
  .home-hero {
    min-height: auto;
    padding: 0;
  }
  .hero-bg-img {
    position: relative;
    height: 52vw;
    min-height: 220px;
    max-height: 320px;
    object-position: center 25%;
  }
  .home-hero::before { display: none; }
  .home-hero .container {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    background: linear-gradient(160deg, #0d2248 0%, #1a4a8c 60%, #1e6ab0 100%);
    padding-top: 36px;
    padding-bottom: 44px;
  }
  .home-hero-inner { text-align: right; }
  .home-hero-content .hero-btns { justify-content: flex-end; }
  .home-hero-content p { margin-left: 0; margin-right: 0; max-width: 100%; }
}

.hero-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(10px);
}
.hero-card-title {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding-bottom: 14px;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.hero-stat:last-child { border-bottom: none; }
.hero-stat-icon {
  width: 38px;
  height: 38px;
  background: rgba(42,157,143,.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.hero-stat-text { font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.4; }
.hero-stat-text strong { display: block; font-size: 15px; color: var(--white); }

/* Trust Bar */
.trust-bar { background: var(--navy-dark); padding: 24px 0; }
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 32px;
  border-left: 1px solid rgba(255,255,255,.1);
}
.trust-item:last-child { border-left: none; }
.trust-item-icon { font-size: 24px; }
.trust-item-text { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.9); }

/* ── ABOUT STRIP ── */
.about-strip { background: var(--gray-bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}
.about-content .section-subtitle { margin-bottom: 32px; }
.about-pillars { display: flex; flex-direction: column; gap: 16px; }
.pillar {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-right: 3px solid var(--teal);
  transition: var(--transition);
}
.pillar:hover { box-shadow: var(--shadow-md); transform: translateX(-4px); }
.pillar-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.pillar-img-wrap {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.pillar-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.pillar-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.pillar-desc { font-size: 14px; color: var(--gray-text); line-height: 1.5; }

.about-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  display: flex;
}
.about-lab-img-wrap {
  width: 100%;
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
}
.about-lab-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: unset;
  display: block;
}
@media (max-width: 900px) {
  .about-visual { min-height: unset; }
  .about-lab-img-wrap { min-height: unset; height: auto; }
  .about-lab-img-wrap img { height: auto; object-fit: unset; }
}
.av-title { font-size: 20px; font-weight: 700; margin-bottom: 32px; }
.av-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.av-item:last-child { margin-bottom: 0; }
.av-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-light);
  margin-top: 8px;
  flex-shrink: 0;
}
.av-item p { font-size: 15px; color: rgba(255,255,255,.85); line-height: 1.6; }

/* ── TREATMENT CARDS ── */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.treatments-grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.treatments-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.treatment-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.treatment-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--teal);
}
.card-header-bar {
  height: 6px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--navy-light) 100%);
}
.card-img-wrap {
  height: 190px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform .4s ease;
  display: block;
}
.treatment-card:hover .card-img-wrap img {
  transform: scale(1.05);
}
.card-body { padding: 24px; flex: 1; }
.card-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--teal-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}
.card-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.card-desc {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 4px;
}
.card-link svg {
  width: 14px;
  height: 14px;
  transform: scaleX(-1);
}
.card-arrow {
  width: 28px;
  height: 28px;
  background: var(--gray-bg);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.treatment-card:hover .card-arrow {
  background: var(--teal);
}
.treatment-card:hover .card-arrow svg { stroke: white; }
.card-arrow svg {
  width: 14px;
  height: 14px;
  stroke: var(--gray-text);
  fill: none;
  stroke-width: 2;
  transform: scaleX(-1);
}

/* ── CATEGORY SECTION HEADER ── */
.cat-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}
.cat-section-header .view-all {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.cat-section-header .view-all:hover { text-decoration: underline; }

/* ── PROGRAM CARDS ── */
.program-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 0 0 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.program-img-wrap {
  height: 180px;
  overflow: hidden;
  margin-bottom: 20px;
}
.program-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform .4s ease;
}
.program-card:hover .program-img-wrap img {
  transform: scale(1.05);
}
.program-num,
.program-title,
.program-desc {
  padding-right: 24px;
  padding-left: 24px;
}
.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--teal-pale) 0%, transparent 70%);
  border-radius: 0 var(--radius-lg) 0 100%;
}
.program-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--navy);
}
.program-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.program-icon { font-size: 36px; margin-bottom: 16px; }
.program-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.program-desc {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.65;
  margin-bottom: 20px;
}
.program-features { display: flex; flex-direction: column; gap: 8px; }
.program-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
}
.program-feature::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.cta-band p {
  font-size: 17px;
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
}
.cta-band .btn-wa { font-size: 16px; padding: 14px 36px; }

/* ── WA CONTACT STRIP ── */
.wa-contact-strip {
  margin-top: 24px;
  padding: 20px;
  background: linear-gradient(135deg, #25D366, #1ebe5b);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.wa-contact-btn {
  background: white;
  color: #25D366;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .wa-contact-strip { flex-direction: column; text-align: center; }
  .wa-contact-btn { width: 100%; text-align: center; }
}

/* ── FAQ ── */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  transition: var(--transition);
}
.faq-question:hover { background: var(--gray-bg); }
.faq-item.open .faq-question { background: var(--teal-pale); color: var(--navy); }
.faq-icon {
  width: 24px;
  height: 24px;
  background: var(--gray-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.open .faq-icon { background: var(--teal); transform: rotate(45deg); }
.faq-icon svg { width: 12px; height: 12px; stroke: var(--gray-text); fill: none; stroke-width: 3; }
.faq-item.open .faq-icon svg { stroke: white; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-answer-inner {
  padding: 0 22px 18px;
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.75;
}

/* ── TREATMENT DETAIL PAGE ── */
.treatment-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.treatment-main {}
.treatment-sidebar {}

.treatment-section {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}
.treatment-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--teal-pale);
  display: flex;
  align-items: center;
  gap: 8px;
}
.treatment-section-title .ts-icon { font-size: 20px; }
.treatment-section p {
  font-size: 15px;
  color: inherit;
  line-height: 1.75;
}
.treatment-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.treatment-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}
.treatment-list li::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  margin-top: 7px;
  flex-shrink: 0;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
}
.sidebar-card-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 20px 22px;
  color: var(--white);
}
.sidebar-card-header h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.sidebar-card-header p { font-size: 13px; color: rgba(255,255,255,.75); }
.sidebar-card-body { padding: 20px 22px; }
.sidebar-card-body .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.sidebar-card-body .btn:last-child { margin-bottom: 0; }

.freq-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-pale);
  color: var(--navy);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

/* ── CONTACT PAGE ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-name-phone { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Heebo', sans-serif;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  direction: rtl;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42,157,143,.12);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { appearance: none; cursor: pointer; }
.form-submit { width: 100%; padding: 14px; font-size: 16px; }

.contact-info-wrap {}
.contact-info-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--white);
  margin-bottom: 24px;
}
.contact-info-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-info-item:last-child { margin-bottom: 0; }
.ci-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.ci-text { font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.5; }
.ci-text strong { display: block; color: var(--white); margin-bottom: 2px; font-size: 15px; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  height: 260px;
  background: var(--gray-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}
.map-wrap .map-placeholder {
  font-size: 40px;
}
.map-wrap p {
  font-size: 14px;
  color: var(--gray-text);
  text-align: center;
  padding: 0 16px;
}

/* ── REVIEWS ── */
.reviews-section { background: var(--gray-bg); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.review-stars { color: #f59e0b; font-size: 18px; margin-bottom: 12px; letter-spacing: 2px; }
.review-text { font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 16px; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.review-name { font-size: 13px; font-weight: 600; color: var(--navy); }
.review-date { font-size: 12px; color: var(--gray-text); }
.google-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.google-badge .g-score { font-size: 28px; font-weight: 800; color: var(--navy); }
.google-badge .g-stars { color: #f59e0b; font-size: 22px; }
.google-badge .g-note { font-size: 13px; color: var(--gray-text); font-weight: 400; }

.google-reviews-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.btn-google-reviews {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 2px solid #dadce0;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: box-shadow .2s, border-color .2s;
  box-shadow: var(--shadow-sm);
}
.btn-google-reviews:hover { border-color: #4285F4; box-shadow: 0 2px 12px rgba(66,133,244,.2); }
.btn-write-review {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal);
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: opacity .2s;
}
.btn-write-review:hover { opacity: .88; }

/* ── HOME MAP SECTION ── */
.home-map-section { background: var(--white); padding: 60px 0; }
.home-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow-sm);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.8);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 240px 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-icon svg { width: 22px; height: 22px; fill: var(--white); }
.footer-logo-name { font-size: 17px; font-weight: 800; color: var(--white); }
.footer-tagline { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.6); margin-bottom: 24px; }

.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-link:hover { background: var(--teal); }
.social-link svg { width: 16px; height: 16px; fill: rgba(255,255,255,.8); }
.social-link:hover svg { fill: var(--white); }

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--teal-light); padding-right: 4px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.4); }
.footer-bottom a { color: rgba(255,255,255,.5); font-size: 13px; }
.footer-bottom a:hover { color: var(--teal-light); }

/* ── FLOATING WHATSAPP ── */
.wa-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 12px 18px 12px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}
.wa-float:hover { background: #1ebe5b; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,.5); }
.wa-float svg { width: 22px; height: 22px; fill: var(--white); flex-shrink: 0; }

.wa-pulse {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  background: #ff4444;
  border-radius: 50%;
  border: 2px solid white;
  animation: pulse-ring 1.5s infinite;
}
@keyframes pulse-ring {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: .7; }
}

/* ── SCROLL ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-up:nth-child(1) { transition-delay: 0ms; }
.fade-up:nth-child(2) { transition-delay: 80ms; }
.fade-up:nth-child(3) { transition-delay: 160ms; }
.fade-up:nth-child(4) { transition-delay: 240ms; }
.fade-up:nth-child(5) { transition-delay: 320ms; }
.fade-up:nth-child(6) { transition-delay: 400ms; }

/* ── CATEGORY OVERVIEW CARDS ── */
.cat-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cat-overview-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}
.cat-overview-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--navy);
}
.coc-top {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: #e8edf5;
}
.coc-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform .4s ease;
  display: block;
}
.cat-overview-card:hover .coc-top img {
  transform: scale(1.05);
}
.coc-body { padding: 24px; }
.coc-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.coc-desc { font-size: 14px; color: var(--gray-text); line-height: 1.6; margin-bottom: 14px; }
.coc-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: .04em;
}

/* ── MISC ── */
.divider { border: none; border-top: 1px solid var(--gray-light); margin: 0; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }
.bg-gray { background: var(--gray-bg); }
.bg-white { background: var(--white); }
.mb-0 { margin-bottom: 0 !important; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }

/* ── RESPONSIVE ── */
/* about results grid */
.about-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}


@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .treatments-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .logo-sub { display: none; }
  .wa-nav-btn { display: none; } /* Redundant on mobile — floating WA button is visible */
  .home-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-card { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-results-grid { grid-template-columns: 1fr; gap: 40px; }
  .treatment-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .cat-overview-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar-inner { gap: 0; }
  .trust-item { padding: 10px 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .section-pad { padding: 56px 0; }
  .section-pad-sm { padding: 40px 0; }
  .home-hero { padding: 72px 0 60px; }
  .page-hero { padding: 44px 0; }
  .hero-btns { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .cat-overview-grid { grid-template-columns: 1fr; }
  .treatments-grid { grid-template-columns: 1fr; }
  .treatments-grid-4 { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; border-radius: 50%; }
  .trust-bar-inner { flex-direction: column; gap: 0; }
  .trust-item { border-left: none; border-bottom: 1px solid rgba(255,255,255,.1); width: 100%; justify-content: center; }
  .trust-item:last-child { border-bottom: none; }
  .cat-section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  /* Contact form */
  .form-name-phone { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 22px 16px; }
  .contact-layout { gap: 28px; }
  /* Treatment pages */
  .treatment-section { padding: 20px 16px; }
  /* FAQ sidebar hidden on mobile */
  .faq-layout { grid-template-columns: 1fr; }
  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  /* WhatsApp float — move up to avoid overlap with acc toggle */
  .wa-float { bottom: 20px; left: 16px; }
  /* General */
  .container { padding: 0 16px; }
}

/* ── Treatment Image Gallery ───────────────────────────── */
.treat-gallery { background: #000; position: relative; }
.treat-gallery-inner { position: relative; overflow: hidden; }
.treat-gallery-track { display: flex; transition: transform .4s cubic-bezier(.4,0,.2,1); }
.treat-gallery-slide { flex-shrink: 0; width: 100%; }
.treat-gallery-slide img { width: 100%; height: auto; max-height: 600px; object-fit: contain; display: block; background: #000; }
.treat-gallery-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.5); color: #fff; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 50%; font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center; z-index: 10;
  transition: background .2s; padding: 0;
}
.treat-gallery-btn:hover { background: rgba(0,0,0,.8); }
.treat-gallery-btn.prev { right: 14px; }
.treat-gallery-btn.next { left: 14px; }
.treat-gallery-dots { display: flex; justify-content: center; gap: 7px; padding: 10px 0; background: #111; }
.treat-gallery-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); border: none; cursor: pointer; transition: background .2s; padding: 0; }
.treat-gallery-dot.active { background: #fff; }
@media (max-width: 640px) {
  .treat-gallery-slide img { height: 220px; }
}

/* ── Site-wide Map Bar (above footer) ─────────────────── */
.site-map-bar { background: var(--gray-bg, #f4f7fb); }
.site-map-bar-head { padding: 40px 0 20px; text-align: center; }
.site-map-bar-head .tag { margin-bottom: 8px; display: inline-block; }
.site-map-bar-head h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.site-map-bar-head p { font-size: 14px; color: var(--gray-text); }
.site-map-bar iframe { display: block; border: 0; width: 100%; height: 260px; }