/* קליניקה רינה פלישמן — סטייל ראשי (v2.5.2) */
:root {
  --primary: #0D5C7D;
  --primary-dark: #084863;
  --primary-light: #E5F1F6;
  --accent: #E7A055;
  --accent-dark: #B85C00;
  --bg: #FFFFFF;
  --surface: #F5F8FB;
  --surface-warm: #FFF6E8;
  --text: #1A2332;
  --text-light: #55677A;
  --border: #DDE5EC;
  --radius: 14px;
  --radius-sm: 8px;
  --max-width: 1180px;
  --shadow-sm: 0 2px 8px rgba(13,92,125,0.06);
  --shadow-md: 0 6px 20px rgba(13,92,125,0.10);
  --shadow-lg: 0 14px 32px rgba(13,92,125,0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: Arial, 'Noto Sans Hebrew', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--primary); outline-offset: 2px;
}

/* Skip-link */
.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; top: 8px; right: 8px; width: auto; height: auto; padding: 10px 16px; margin: 0; overflow: visible; clip: auto; white-space: normal; background: var(--primary); color: #fff; z-index: 2147483002; font-weight: 700; text-decoration: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--primary); font-weight: 800; font-size: 1.05rem;
  text-decoration: none;
}
.brand:hover { text-decoration: none; color: var(--primary-dark); }
.brand-logo { width: 112px; height: 48px; object-fit: contain; flex: 0 0 auto; }
.brand-text { line-height: 1.2; }
.brand-text small { display: block; font-weight: 500; font-size: 0.78rem; color: var(--text-light); }
.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff;
  padding: 10px 22px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 1rem;
  text-decoration: none; transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
}
.header-cta:hover { background: var(--primary-dark); color: #fff; text-decoration: none; transform: translateY(-1px); }
.header-cta svg { width: 18px; height: 18px; fill: currentColor; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary-light) 0%, #FFFFFF 60%, var(--surface-warm) 100%);
  padding: 72px 0 56px;
  text-align: center;
}
.hero-image {
  width: min(100%, 820px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  margin: 0 auto 32px;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}
.hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800; color: var(--primary);
  margin-bottom: 24px; line-height: 1.25;
}
.hero-questions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px;
  margin: 28px 0 32px; font-size: 1.15rem; font-weight: 700; color: var(--accent-dark);
}
.hero-questions span { display: inline-flex; align-items: center; gap: 6px; }
.hero-lead { max-width: 720px; margin: 0 auto 28px; font-size: 1.08rem; color: var(--text); line-height: 1.75; }
.hero-lead p { margin-bottom: 12px; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--primary); color: #fff;
  padding: 16px 34px; border-radius: var(--radius-sm);
  font-weight: 800; font-size: 1.15rem;
  text-decoration: none; box-shadow: var(--shadow-md);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.hero-cta:hover { background: var(--primary-dark); color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.hero-cta svg { width: 20px; height: 20px; fill: currentColor; }

/* intro-answer (AEO/GEO) */
.intro-answer {
  max-width: 780px; margin: 24px auto 0;
  font-size: 1.05rem; color: var(--text-light); font-weight: 500;
  line-height: 1.7; font-style: italic;
}

/* Section base */
section { padding: 64px 0; }
section h2 {
  text-align: center; font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800; color: var(--primary); margin-bottom: 48px;
  line-height: 1.3;
}

/* Services grid */
.services { background: var(--surface); }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card img { aspect-ratio: 4/3; object-fit: cover; }
.service-card h3 {
  padding: 18px 20px 8px; font-size: 1.15rem; color: var(--primary); font-weight: 700;
}
.service-card p { padding: 0 20px 20px; color: var(--text-light); font-size: 1rem; }

/* About */
.about { background: var(--bg); }
.about-content { max-width: 780px; margin: 0 auto; text-align: center; }
.about-content p { margin-bottom: 18px; font-size: 1.05rem; line-height: 1.85; }
.about-content strong { color: var(--primary); }

/* Contact — split */
.contact { background: var(--primary-light); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-info { background: var(--bg); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.contact-info h3 { font-size: 1.3rem; color: var(--primary); margin-bottom: 20px; font-weight: 700; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  font-size: 1rem;
}
.contact-list li:last-child { border-bottom: none; }
.contact-list svg { width: 22px; height: 22px; fill: var(--primary); flex-shrink: 0; margin-top: 2px; }
.contact-list a { color: var(--text); font-weight: 600; }
.contact-list a:hover { color: var(--primary); }
.contact-list strong { display: block; color: var(--primary); font-size: 0.9rem; margin-bottom: 2px; }

/* FAQ */
.faq { background: var(--surface); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg); border-radius: var(--radius-sm); margin-bottom: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary {
  padding: 20px 24px; cursor: pointer; font-weight: 700; color: var(--primary);
  font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.5rem; color: var(--primary); transition: transform 0.2s;
  font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer { padding: 0 24px 20px; color: var(--text); line-height: 1.75; }

/* Contact form */
.reviews { background: var(--surface); }
.form-section { background: var(--bg); padding: 64px 0; }
.contact-form {
  max-width: 560px; margin: 0 auto;
  background: var(--surface); padding: 32px 28px;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.contact-form h2 { text-align: center; margin-bottom: 24px; }
.contact-form label {
  display: block; font-weight: 600; margin-bottom: 6px;
  color: var(--text); font-size: 0.95rem;
}
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 1rem; font-family: inherit;
  margin-bottom: 16px; background: var(--bg);
  color: var(--text);
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary); }
.contact-form textarea { min-height: 100px; resize: vertical; }
.consent-row {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0 18px;
  font-size: 0.94rem !important;
  line-height: 1.55;
}
.consent-row input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 3px 0 0 !important;
}
.contact-form button[type="submit"] {
  display: block; width: 100%; padding: 14px 20px;
  background: var(--primary); color: #fff;
  border: none; border-radius: var(--radius-sm);
  font-size: 1.1rem; font-weight: 700; cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.contact-form button[type="submit"]:hover { background: var(--primary-dark); transform: translateY(-1px); }
.contact-form button[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; }

/* Footer */
.site-footer {
  background: var(--primary-dark); color: #E5F1F6;
  padding: 40px 0 24px; margin-top: 0;
}
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; margin-bottom: 24px; }
.footer-inner h4, .footer-heading { color: #FFFFFF; font-size: 1rem; margin-bottom: 12px; font-weight: 700; }
.footer-inner p, .footer-inner a { color: #C5DAE4; font-size: 0.94rem; line-height: 1.7; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: #FFFFFF; text-decoration: underline; }
.footer-nav ul { list-style: none; padding: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px; text-align: center;
  color: #98B4C1; font-size: 0.88rem;
}
.footer-copy a { color: #C5DAE4; }
.footer-updated { display: block; margin-top: 6px; font-size: 0.82rem; color: #98B4C1; }

/* FAB — WhatsApp + Call, bottom-left */
.fab-container {
  position: fixed; bottom: 24px; left: 24px;
  z-index: 2147483000;
  display: flex; flex-direction: column; gap: 12px;
  pointer-events: none;
}
.fab {
  pointer-events: auto;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.fab:hover { transform: scale(1.1); box-shadow: 0 6px 18px rgba(0,0,0,0.35); text-decoration: none; }
.fab:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; }
.fab.wa { background: #25D366; }
.fab.call { background: var(--primary); }
.fab svg { width: 28px; height: 28px; fill: #FFFFFF; }
@media (max-width: 480px) {
  .fab { width: 48px; height: 48px; }
  .fab svg { width: 24px; height: 24px; }
  .fab-container { bottom: 16px; left: 16px; }
}
@media print { .fab-container, #a11y-toggle, #a11y-panel { display: none !important; } }

/* Mobile */
@media (max-width: 640px) {
  .header-inner { flex-direction: row; gap: 12px; }
  .brand-text { font-size: 0.92rem; }
  .brand-text small { display: none; }
  .header-cta { padding: 8px 14px; font-size: 0.92rem; }
  .hero { padding: 48px 0 40px; }
  section { padding: 48px 0; }
  section h2 { margin-bottom: 32px; }
  .contact-info { padding: 24px 20px; }
}
