/*!
 * yacove-driver.info — site-wide stylesheet.
 * Primary: #0b3d91 (navy). Accent: #f2b705 (yellow — only as background with dark text).
 * RTL native. Heebo font.
 */

:root {
  --primary: #0b3d91;
  --primary-dark: #082a66;
  --primary-light: #e6ecf7;
  --accent: #f2b705;
  --accent-dark: #b88700;
  --text: #1a2332;
  --text-light: #55677a;
  --bg: #ffffff;
  --surface: #f7f9fc;
  --border: #dde5ec;
  --radius: 12px;
  --max-width: 1180px;
  --shadow-sm: 0 2px 6px rgba(11, 61, 145, 0.08);
  --shadow-md: 0 6px 18px rgba(11, 61, 145, 0.12);
  --shadow-lg: 0 12px 32px rgba(11, 61, 145, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Heebo', 'Assistant', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  direction: rtl;
  text-align: right;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--primary);
  line-height: 1.25;
  margin: 0 0 16px;
  font-weight: 700;
}
h1 { font-size: clamp(1.85rem, 4vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 16px; }

/* Intro answer — definitive top-line on service/blog pages */
.intro-answer {
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 500;
  padding: 16px 20px 16px 24px;
  border-right: 4px solid var(--accent);
  background: var(--primary-light);
  border-radius: 8px;
  margin: 0 0 32px;
  line-height: 1.6;
}

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

.section {
  padding: 64px 0;
}
.section-alt { background: var(--surface); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: saturate(1.4) blur(6px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.03);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
}
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand span { color: var(--primary); }

.nav-toggle {
  display: none;
  margin-inline-start: auto;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--primary);
}
.nav-toggle svg { width: 24px; height: 24px; }

.main-nav {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav a {
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.98rem;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--primary-light);
  color: var(--primary);
  text-decoration: none;
}
.header-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 9px 18px !important;
  border-radius: 999px;
  font-weight: 700 !important;
}
.header-cta:hover { background: var(--primary-dark); text-decoration: none; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #f8faff 0%, #e6ecf7 100%);
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-text .eyebrow {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.hero-text h1 {
  margin-bottom: 20px;
  color: var(--primary);
}
.hero-text .lead {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 28px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 48px 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); box-shadow: var(--shadow-md); }
.btn-accent {
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 800;
}
.btn-accent:hover { background: var(--accent-dark); color: #fff; box-shadow: var(--shadow-md); }
.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.feature-icon svg { width: 26px; height: 26px; fill: currentColor; }
.feature-card h3 { margin-bottom: 8px; color: var(--primary); font-size: 1.1rem; }
.feature-card p { margin: 0; color: var(--text-light); font-size: 0.98rem; line-height: 1.55; }

/* ---------- Journey steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
}
.step-num {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--text-light); font-size: 1rem; }

/* ---------- Section headings ---------- */
.section-head { text-align: center; margin-bottom: 12px; }
.section-head h2 { margin-bottom: 8px; }
.section-head .sub { color: var(--text-light); max-width: 720px; margin: 0 auto; }

/* ---------- Blog cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--primary-light);
}
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.blog-card__date { color: var(--text-light); font-size: 0.85rem; }
.blog-card__title {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
}
.blog-card__title a { color: inherit; text-decoration: none; }
.blog-card__title a:hover { color: var(--primary-dark); text-decoration: underline; }
.blog-card__excerpt { color: var(--text-light); font-size: 1rem; margin: 0; flex: 1; }
.blog-card__more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  align-self: flex-start;
  margin-top: 6px;
}

/* ---------- Article ---------- */
.article {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}
.article-header { margin-bottom: 24px; }
.article-header h1 { margin-bottom: 12px; }
.article-meta { color: var(--text-light); font-size: 0.92rem; }
.article-hero {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 0 28px;
  aspect-ratio: 16/9;
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article h2 { margin: 36px 0 14px; }
.article h3 { margin: 26px 0 10px; }
.article ul, .article ol { padding-inline-start: 24px; margin: 0 0 20px; }
.article li { margin-bottom: 8px; }
.article .related {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 2px solid var(--border);
}
.article .related h2 { margin-top: 0; font-size: 1.4rem; }

/* ---------- CTA section ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 56px 20px;
  text-align: center;
  border-radius: var(--radius);
  margin: 48px auto;
  max-width: var(--max-width);
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, 0.92); max-width: 620px; margin: 0 auto 24px; }
.cta-band .btn-accent { color: var(--primary-dark); }

/* ---------- Reviews widget wrapper ---------- */
.reviews-section {
  padding: 56px 0;
  background: var(--surface);
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.contact-card .contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.contact-card .contact-icon svg { width: 28px; height: 28px; fill: currentColor; }
.contact-card h3 { margin-bottom: 6px; }
.contact-card p { margin: 0 0 12px; color: var(--text-light); }
.contact-card a.big {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}
.area-list span {
  background: var(--primary-light);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.92);
  padding: 40px 20px 24px;
  margin-top: 48px;
}
.site-footer a { color: #fff; text-decoration: underline; }
.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-brand h3 { color: #fff; margin: 0 0 6px; font-size: 1.15rem; }
.footer-brand p { color: rgba(255, 255, 255, 0.75); margin: 0; font-size: 0.92rem; }
.footer-contact { font-style: normal; font-size: 0.95rem; }
.footer-contact p { margin: 0 0 8px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem; }
.footer-copy {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 18px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}
.footer-copy p { margin: 0 0 4px; }

/* ---------- FAB ---------- */
.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 14px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.fab:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(0,0,0,0.35); }
.fab:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.fab.wa { background: #25D366; }
.fab.call { background: var(--primary); }
.fab svg { width: 28px; height: 28px; fill: white; }

@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 { display: none; } }

/* ---------- 404 ---------- */
.notfound {
  max-width: 640px;
  margin: 0 auto;
  padding: 96px 20px;
  text-align: center;
}
.notfound h1 { font-size: 5rem; margin-bottom: 8px; }
.notfound p { color: var(--text-light); margin-bottom: 24px; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }

/* contact form + map (Stage C, 2026-10-22) */
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0 40px; padding: 24px; background: #fff; border: 1px solid var(--primary-light); border-radius: 12px; box-shadow: var(--shadow-md); }
.contact-form .full { grid-column: 1 / -1; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--primary-dark); }
.contact-form input, .contact-form textarea { width: 100%; box-sizing: border-box; padding: 12px 14px; font: inherit; font-size: 1rem; border: 1px solid #b9c3d6; border-radius: 8px; background: #fff; }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--primary); }
.contact-form .honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contact-form .form-notice { margin: 0; font-size: 1rem; line-height: 1.6; color: #444; }
.contact-form button { border: 0; cursor: pointer; font-size: 1.05rem; }
.map-embed { margin: 24px 0 8px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); }
.map-embed iframe { display: block; width: 100%; height: 360px; border: 0; }
@media (max-width: 640px) { .contact-form { grid-template-columns: 1fr; padding: 16px; } .map-embed iframe { height: 280px; } }

/* homepage restored to source copy (Stage C, 2026-10-22) */
.h1-accent { color: var(--primary-dark); }
.hero-text h1 .h1-accent { color: var(--primary-dark); }
.about-intro { max-width: 820px; text-align: center; }
.about-intro p { font-size: 1.1rem; }
.sub-head { margin-top: 8px; font-size: 1.35rem; color: var(--primary); }
.sub-head .h1-accent, .section-head h2 .h1-accent { color: var(--primary-dark); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }
.care-list { list-style: none; max-width: 640px; margin: 0 auto; padding: 0; display: grid; gap: 12px; }
.care-list li { background: #fff; border-radius: 10px; padding: 14px 18px; box-shadow: var(--shadow-md); font-weight: 600; font-size: 1.05rem; border-right: 4px solid var(--accent); }
.care-list li::before { content: "✓"; color: var(--primary); font-weight: 800; margin-inline-end: 10px; }
.step-icon { display: block; width: 64px; height: 64px; margin: 0 auto 12px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow-md); }
