:root {
  --primary: #236478;
  --primary-dark: #174554;
  --accent: #8a6344;
  --accent-light: #e3d4bb;
  --sky: #edfaff;
  --sand: #f6f2ea;
  --ink: #202b30;
  --muted: #5b6970;
  --surface: #ffffff;
  --border: #d9e3e7;
  --radius: 18px;
  --shadow: 0 18px 48px rgba(24, 67, 81, .12);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Assistant", "Open Sans Hebrew", Arial, system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  direction: rtl;
  text-align: right;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary-dark); }
button, input, textarea { font: inherit; }
.container { width: min(var(--max-width), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 88px 0; }
.section--soft { background: var(--sand); }
.section--sky { background: var(--sky); }
.section-title { margin: 0 0 16px; color: var(--primary-dark); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.25; }
.section-lead { max-width: 820px; margin: 0 auto 34px; color: var(--muted); font-size: 1.12rem; }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-weight: 800; letter-spacing: .03em; }
.intro-answer { max-width: 850px; margin: 0 0 24px; font-size: 1.12rem; font-weight: 650; }
.updated { margin-top: 32px; color: var(--muted); font-size: 1rem; }

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  z-index: 2147483647;
  top: 12px;
  right: 12px;
  width: auto;
  height: auto;
  clip: auto;
  margin: 0;
  padding: 10px 16px;
  background: #fff;
  color: #000;
  border: 2px solid var(--primary-dark);
  border-radius: 8px;
}

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(35,100,120,.14); backdrop-filter: blur(12px); }
.header-row { min-height: 92px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand img { width: 84px; height: 84px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 22px; margin-inline: auto; }
.main-nav a { color: #37474f; text-decoration: none; font-weight: 650; font-size: .96rem; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--primary); }
.header-phones { display: flex; gap: 8px; }
.phone-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 13px; border: 1px solid var(--accent); border-radius: 10px; color: var(--ink); background: var(--sand); text-decoration: none; font-weight: 800; direction: ltr; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--primary-dark); cursor: pointer; }
.menu-toggle svg { width: 25px; height: 25px; }

.hero { position: relative; min-height: 670px; display: grid; place-items: center; overflow: hidden; background: #86c7e4; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(103,190,228,.15), rgba(255,255,255,.05)); }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__content { position: relative; z-index: 1; width: 100%; display: flex; justify-content: flex-start; }
.hero__panel { width: min(650px, 58%); padding: 42px; border-radius: 24px; background: rgba(255,255,255,.82); box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.hero h1 { margin: 0 0 12px; font-size: clamp(2.8rem, 6vw, 5.7rem); line-height: 1.2; color: #4b5559; }
.hero__subtitle { margin: 0 0 24px; font-size: clamp(1.25rem, 2.6vw, 2rem); line-height: 1.5; color: #39484f; font-weight: 700; }
.hero__actions, .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 22px; border-radius: 12px; border: 2px solid transparent; text-decoration: none; font-weight: 800; cursor: pointer; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); }
.btn--outline { border-color: var(--primary); color: var(--primary-dark); background: #fff; }
.btn:focus-visible { outline: 3px solid #000; outline-offset: 3px; }

.about-grid, .service-feature, .contact-grid, .page-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.about-copy p { margin: 0 0 16px; }
.clinic-card { padding: 28px; border-radius: var(--radius); background: var(--sky); border: 1px solid #c9e7f2; }
.clinic-card strong { color: var(--primary-dark); }
.image-frame { overflow: hidden; border-radius: 26px; box-shadow: var(--shadow); }
.image-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: 0 9px 30px rgba(24,67,81,.08); }
.service-card img { width: 100%; height: 240px; object-fit: cover; }
.service-card__body { padding: 26px; display: flex; flex: 1; flex-direction: column; }
.service-card h2, .service-card h3 { margin: 0 0 10px; color: var(--primary-dark); line-height: 1.25; }
.service-card p { margin: 0 0 22px; color: var(--muted); }
.service-card .btn { margin-top: auto; align-self: start; }
.dental-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dental-item { padding: 24px 18px; text-align: center; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.dental-item img { width: 100px; height: 100px; object-fit: contain; margin: 0 auto 14px; }
.dental-item h3 { margin: 0; color: var(--primary-dark); font-size: 1.12rem; }
.benefits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.benefit { padding: 20px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--border); }
.benefit h3 { margin: 0 0 8px; color: var(--primary-dark); font-size: 1.05rem; }
.benefit p { margin: 0; font-size: 1rem; color: var(--muted); }

.phone-band { padding: 36px 0; background: #c7dfec; text-align: center; }
.phone-band h2 { margin: 0 0 18px; color: #26383f; }
.phone-band .cta-row { justify-content: center; }

.faq-list { max-width: 960px; margin: 0 auto; }
.faq-list details { border: 1px solid var(--border); border-radius: 12px; background: #fff; margin-bottom: 12px; overflow: hidden; }
.faq-list summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; position: relative; font-weight: 800; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "+"; position: absolute; right: 20px; top: 14px; font-size: 1.45rem; color: var(--primary); }
.faq-list details[open] summary::before { content: "−"; }
.faq-list details p { margin: 0; padding: 0 56px 20px 20px; color: var(--muted); }

.reviews-placeholder:empty { display: none; }
.contact-section { position: relative; background: var(--sand); }
.contact-card { padding: 34px; border-radius: 22px; background: rgba(255,255,255,.95); border: 1px solid var(--border); box-shadow: var(--shadow); }
.contact-details { display: grid; gap: 12px; }
.contact-details a { text-decoration: none; font-weight: 800; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: grid; gap: 6px; }
.form-field--wide { grid-column: 1 / -1; }
.form-field label { font-weight: 700; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid #aebfc7; border-radius: 9px; padding: 11px 12px; color: var(--ink); background: #fff; }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: 3px solid rgba(35,100,120,.25); border-color: var(--primary); }
.consent { grid-column: 1 / -1; display: flex; gap: 9px; align-items: flex-start; font-size: .9rem; }
.consent input { margin-top: 7px; }
.contact-form button { grid-column: 1 / -1; }

.page-hero { padding: 70px 0; background: linear-gradient(135deg, var(--sky), var(--sand)); }
.page-hero h1 { margin: 0 0 16px; font-size: clamp(2.2rem, 5vw, 4.1rem); line-height: 1.2; color: var(--primary-dark); }
.page-hero img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.breadcrumbs { margin: 0 0 18px; font-size: .9rem; color: var(--muted); }
.breadcrumbs a { color: var(--primary-dark); }
.content-narrow { max-width: 850px; margin-inline: auto; }
.content-narrow h2 { margin-top: 40px; color: var(--primary-dark); }
.service-list { columns: 2; column-gap: 40px; }
.service-list li { margin-bottom: 10px; break-inside: avoid; }

.legal-page { min-height: 65vh; }
.legal-page h1 { color: var(--primary-dark); font-size: clamp(2.2rem, 4vw, 3.4rem); }
.legal-page h2 { color: var(--primary-dark); margin-top: 34px; }
.thanks-wrap { min-height: 68vh; display: grid; place-items: center; text-align: center; }
.thanks-card { max-width: 720px; padding: 48px; border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); background: #fff; }
.thanks-card img { width: min(300px, 80%); margin: 0 auto 24px; }
.thanks-card h1 { color: var(--primary-dark); }

.site-footer { padding: 46px 0 96px; background: #1f343d; color: #edf7fa; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 40px; }
.site-footer h2 { margin: 0 0 12px; color: #fff; font-size: 1.15rem; }
.site-footer p { margin: 5px 0; }
.site-footer a { color: #fff; }
.footer-links { display: grid; align-content: start; gap: 7px; }
.social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.social-links a { padding: 7px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; text-decoration: none; }
.copyright { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.17); font-size: .88rem; }

.floating-actions { position: fixed; left: 20px; bottom: 20px; z-index: 1200; display: flex; gap: 10px; }
.floating-actions a { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.25); text-decoration: none; }
.floating-actions svg { width: 25px; height: 25px; }
.fab__wa { background: #187c3f; }
.fab__phone { background: var(--primary-dark); }

@media (max-width: 1020px) {
  .header-row { min-height: 78px; }
  .brand img { width: 70px; height: 70px; }
  .menu-toggle { display: grid; place-items: center; margin-inline-start: auto; }
  .header-phones { display: none; }
  .main-nav { display: none; position: absolute; top: 100%; right: 0; left: 0; padding: 18px 20px 24px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 4px; border-bottom: 1px solid #edf1f3; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  body { font-size: 16px; }
  .container { width: min(100% - 28px, var(--max-width)); }
  .section { padding: 64px 0; }
  .hero { min-height: 570px; align-items: end; }
  .hero__image { object-position: 28% center; }
  .hero__panel { width: 100%; margin-bottom: 24px; padding: 26px; background: rgba(255,255,255,.9); }
  .hero h1 { font-size: clamp(2.6rem, 13vw, 4.3rem); }
  .about-grid, .service-feature, .contact-grid, .page-hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .services-grid, .dental-grid { grid-template-columns: 1fr 1fr; }
  .service-list { columns: 1; }
  .contact-form { grid-template-columns: 1fr; }
  .form-field--wide, .consent, .contact-form button { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .site-footer { padding-bottom: 104px; }
}

@media (max-width: 520px) {
  .services-grid, .dental-grid, .benefits { grid-template-columns: 1fr; }
  .hero__actions .btn, .cta-row .btn { width: 100%; }
  .page-hero { padding: 48px 0; }
  .thanks-card { padding: 30px 20px; }
  .floating-actions { left: 14px; bottom: 14px; }
  .floating-actions a { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.phone-band p { max-width: 760px; margin: 0 auto 18px; color: #26383f; }
.form-notice { font-size: 1rem; line-height: 1.6; margin: 0; }
