/* White Background with Navy Frames Theme - Hyperion Style */
:root {
  --navy-dark: #000f39;
  --navy: #001a4d;
  --navy-light: #002966;
  --gold: #c9a227;
  --gold-light: #d4b84a;
  --gold-dark: #a68521;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --gray-light: #e9ecef;
  --text-dark: #1a1a1a;
  --text-muted: #666666;
  --success: #28a745;
  --error: #dc3545;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Overridden below for anyone who has asked for reduced motion. */
}

body {
  font-family: 'Heebo', sans-serif;
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
  direction: rtl;
  position: relative;
}

/* Global watermark on all pages */
body::before {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 480px;
  background: url('/images/logo.png') center center no-repeat;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.main-header {
  background: var(--white);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 15, 57, 0.1);
  border-bottom: 2px solid var(--navy);
}

/* Navbar - Logo on left, menu on right (RTL layout) */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row; /* Normal row - RTL handles positioning */
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 80px;
  width: auto;
}

.logo-text {
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 700;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 5px;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-direction: row; /* Normal direction - RTL handles right-to-left */
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
  border-radius: 6px;
}

.nav-menu > li > a:hover {
  color: var(--gold);
  background: rgba(0, 15, 57, 0.05);
}

.nav-menu > li > a i {
  font-size: 10px;
  transition: transform 0.3s;
}

/* Dropdown Menu - Safari Compatible */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  min-width: 250px;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 15, 57, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  -webkit-transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  -webkit-transition: opacity 0.3s ease, visibility 0.3s ease, -webkit-transform 0.3s ease;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  border: 2px solid var(--navy);
  z-index: 1001;
  pointer-events: none;
  display: block;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  -webkit-transform: translateY(0);
  pointer-events: auto;
}

.has-dropdown:hover > a i,
.has-dropdown:focus-within > a i,
.has-dropdown.open > a i,
.has-dropdown:hover > .dropdown-toggle i,
.has-dropdown:focus-within > .dropdown-toggle i,
.has-dropdown.open > .dropdown-toggle i {
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
}

.dropdown li {
  margin: 0;
}

.dropdown li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 16px;
  transition: all 0.2s;
}

.dropdown li a:hover {
  background: rgba(0, 15, 57, 0.05);
  color: var(--gold-dark);
  padding-right: 25px;
}

.dropdown li a i {
  color: var(--gold);
  width: 20px;
  text-align: center;
}

/* Contact Button in Nav */
.nav-menu .btn-gold {
  background: var(--gold);
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 25px;
  font-weight: 600;
  margin-right: 10px;
}

.nav-menu .btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--navy);
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-phone {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-header {
  background: var(--gold);
  color: var(--white);
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-header:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--navy);
  font-size: 24px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 85px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 20px;
  z-index: 999;
  border-bottom: 2px solid var(--navy);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  padding: 15px 0;
  border-bottom: 1px solid var(--gray-light);
}

.mobile-menu a {
  color: var(--navy);
  text-decoration: none;
  font-size: 18px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--navy);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/images/logo.png') center center no-repeat;
  background-size: 500px;
  opacity: 0.15;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--navy-dark);
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  font-size: 1.3rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid transparent;
  /* <button> elements default to the browser's own font and arrow cursor, so
     a form submit styled .btn looked different from the <a> buttons. */
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

/* Gold call-to-action. Until now only .nav-menu .btn-gold was styled, so the
   same class elsewhere (about, faq, service, homepage CTA) rendered as plain
   transparent text. One rule keeps every "צור קשר" looking like the nav one. */
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* Quick Contact Form in Hero */
.hero-form {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  margin-top: 50px;
  border: 2px solid var(--navy);
  box-shadow: 0 10px 30px rgba(0, 15, 57, 0.1);
}

.hero-form h3 {
  color: var(--navy);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.hero-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 15px;
  align-items: end;
}

.hero-form input {
  width: 100%;
  padding: 12px 20px;
  border: 2px solid var(--navy);
  border-radius: 25px;
  background: var(--white);
  color: var(--text-dark);
  font-family: inherit;
}

.hero-form input::placeholder {
  color: var(--text-muted);
}

.hero-form input:focus {
  outline: none;
  border-color: var(--gold);
}

/* Sections */
section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--navy-dark);
  margin-bottom: 15px;
}

.section-title h2 span {
  color: var(--gold);
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services-section {
  background: var(--off-white);
  border-top: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
}

.services-section-alt {
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--navy-dark);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.section-header h2 i {
  color: var(--gold);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(145deg, var(--navy), var(--navy-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  box-shadow:
    6px 6px 12px rgba(0, 15, 57, 0.4),
    -3px -3px 8px rgba(255, 255, 255, 0.1),
    inset 2px 2px 4px rgba(255, 255, 255, 0.1),
    inset -2px -2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
}

.service-icon::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 10px;
  width: 30px;
  height: 15px;
  background: linear-gradient(180deg, rgba(255,255,255,0.2), transparent);
  border-radius: 50%;
}

.service-icon i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.service-link {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
  font-size: 0.95rem;
}

.service-link i {
  font-size: 0.75rem;
}

.service-link:hover {
  color: var(--gold);
  gap: 10px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s;
  border: 2px solid var(--navy);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 15, 57, 0.15);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card i {
  font-size: 3.5rem;
  color: var(--gold);
  margin-bottom: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  background: linear-gradient(145deg, var(--navy), var(--navy-dark));
  border-radius: 50%;
  box-shadow:
    6px 6px 12px rgba(0, 15, 57, 0.4),
    -3px -3px 8px rgba(255, 255, 255, 0.1),
    inset 2px 2px 4px rgba(255, 255, 255, 0.1),
    inset -2px -2px 4px rgba(0, 0, 0, 0.3);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.service-card:hover i {
  transform: scale(1.1) translateY(-5px);
  color: var(--gold-light);
  box-shadow:
    8px 8px 16px rgba(0, 15, 57, 0.5),
    -4px -4px 10px rgba(255, 255, 255, 0.15),
    inset 2px 2px 4px rgba(255, 255, 255, 0.15),
    inset -2px -2px 4px rgba(0, 0, 0, 0.3);
}

.service-card h3 {
  color: var(--navy-dark);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.service-card .read-more {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-card .read-more:hover {
  color: var(--gold);
}

/* About Section */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content h3 {
  color: var(--navy-dark);
  font-size: 2rem;
  margin-bottom: 25px;
}

.about-content p {
  color: var(--text-dark);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 15px;
}

.about-feature i {
  width: 50px;
  height: 50px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.about-feature span {
  color: var(--navy-dark);
  font-weight: 500;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 15, 57, 0.15);
  border: 2px solid var(--navy);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--gold);
  border-radius: 15px;
  z-index: -1;
}

/* Dynamic About Content (from admin editor) */
.about-content-dynamic {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.9;
  padding: 20px 0;
}

.about-content-dynamic h1,
.about-content-dynamic h2,
.about-content-dynamic h3 {
  color: var(--navy-dark);
  margin-bottom: 15px;
  margin-top: 30px;
}

.about-content-dynamic h1:first-child,
.about-content-dynamic h2:first-child,
.about-content-dynamic h3:first-child {
  margin-top: 0;
}

.about-content-dynamic p {
  margin-bottom: 18px;
  color: var(--text-dark);
}

.about-content-dynamic ul,
.about-content-dynamic ol {
  margin-right: 25px;
  margin-bottom: 20px;
}

.about-content-dynamic li {
  margin-bottom: 8px;
}

.about-content-dynamic a {
  color: var(--gold-dark);
  text-decoration: underline;
}

.about-content-dynamic a:hover {
  color: var(--gold);
}

.about-content-dynamic blockquote {
  border-right: 4px solid var(--navy);
  padding-right: 20px;
  margin: 20px 0;
  color: var(--gray);
  font-style: italic;
}

.about-content-dynamic img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px 0;
  box-shadow: 0 4px 15px rgba(0, 15, 57, 0.1);
}

.about-content-dynamic strong {
  color: var(--navy-dark);
}

/* FAQ Section */
.faq-section {
  background: var(--off-white);
  border-top: 2px solid var(--navy);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  margin-bottom: 15px;
  border-radius: 10px;
  border: 2px solid var(--navy);
  /* No `overflow: hidden` here: it clipped the focus ring of the question
     button inside, so keyboard focus on the accordion was invisible. The
     panel below does its own clipping while collapsed. */
}

.faq-question {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--navy-dark);
  font-weight: 500;
  transition: background 0.3s;
}

.faq-question:hover {
  background: var(--off-white);
}

.faq-question i {
  color: var(--gold);
  transition: transform 0.3s;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.3s, padding 0.3s, visibility 0.3s;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  padding: 0 25px 20px;
  max-height: 100rem;
  overflow-y: auto;
  visibility: visible;
}

/* Contact Section */
.contact-section {
  background: var(--white);
  border-top: 2px solid var(--navy);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form {
  background: var(--off-white);
  padding: 40px;
  border-radius: 15px;
  border: 2px solid var(--navy);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy-dark);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px 20px;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 10px;
  color: var(--text-dark);
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info {
  padding: 40px;
}

.contact-info h3 {
  color: var(--navy-dark);
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-info-item i {
  width: 50px;
  height: 50px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  color: var(--navy-dark);
  margin-bottom: 5px;
}

.contact-info-item p,
.contact-info-item a {
  color: var(--text-muted);
  text-decoration: none;
}

.contact-info-item a:hover {
  color: var(--gold);
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* Footer */
.main-footer {
  background: var(--navy-dark);
  padding: 80px 0 30px;
  border-top: 4px solid var(--gold);
}

.footer-grid {
  display: grid;
  /* Last column is the contact block: wider than the link columns so the
     street address sits on one line instead of wrapping mid-word. */
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.8fr;
  gap: 30px;
  margin-bottom: 50px;
}

.footer-section h3 {
  color: var(--gold);
  margin-bottom: 25px;
  font-size: 1.2rem;
}

.footer-logo {
  height: 100px;
  margin-bottom: 20px;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--gold);
}

/* Footer contact block. Phone and email are links and picked up
   .footer-section a, but the address is a <span> and inherited the dark body
   colour, which is all but invisible on navy. Everything in the list now
   shares one style. */
.contact-list {
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.contact-list i {
  color: var(--gold);
  flex: 0 0 18px;
  text-align: center;
  margin-top: 5px;
}

.contact-list a,
.contact-list span {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-list a:hover {
  color: var(--gold);
}

/* Keep the street address on a single line on desktop; it wraps freely once
   the footer collapses to fewer columns. */
/* The address used to be `white-space: nowrap` with a media query relaxing it
   below 992px. At enlarged text sizes on a wide screen that forced the footer
   column wider than its grid track and pushed the whole row out of shape —
   item 11 on the remediation list. It wraps now; it reads perfectly well over
   two lines, and the footer column was widened for it earlier anyway. */
.contact-list .footer-address {
  white-space: normal;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item i {
  color: var(--gold);
  width: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--gold-light);
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--white), var(--off-white));
  padding: 150px 0 80px;
  text-align: center;
  border-bottom: 3px solid var(--navy);
}

.page-header h1 {
  color: var(--navy-dark);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.page-header h1 span {
  color: var(--gold);
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Legal Pages (Accessibility, Privacy) */
.legal-content {
  padding: 80px 0;
  background: var(--off-white);
}

.legal-card {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 15px;
  padding: 50px;
  max-width: 900px;
  margin: 0 auto;
}

.legal-card h2 {
  color: var(--navy-dark);
  font-size: 2rem;
  margin-bottom: 10px;
  text-align: center;
}

.legal-card .update-date {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 0.9rem;
}

.legal-card h3 {
  color: var(--navy);
  font-size: 1.3rem;
  margin-top: 30px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}

.legal-card p {
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 15px;
}

.legal-card ul {
  margin: 15px 0;
  padding-right: 25px;
}

.legal-card li {
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 10px;
}

.legal-card li strong {
  color: var(--navy);
}

.legal-card .contact-methods {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0;
  padding: 20px;
  background: var(--off-white);
  border-radius: 10px;
  border: 1px solid var(--gray-light);
}

.legal-card .contact-method {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--text-dark);
}

.legal-card .contact-method i {
  color: var(--gold);
  width: 25px;
  font-size: 1.1rem;
}

.legal-card .disclaimer {
  margin-top: 40px;
  padding: 20px;
  background: rgba(201, 162, 39, 0.1);
  border-radius: 10px;
  border-right: 4px solid var(--gold);
  font-style: italic;
}

/* Alerts */
.alert {
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.alert-success {
  background: rgba(40, 167, 69, 0.1);
  color: var(--success);
  border: 2px solid var(--success);
}

.alert-error {
  background: rgba(220, 53, 69, 0.1);
  color: var(--error);
  border: 2px solid var(--error);
}

/* Responsive */
@media (max-width: 992px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 100px;
    right: 0;
    left: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    border-bottom: 2px solid var(--navy);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    box-shadow: 0 10px 20px rgba(0, 15, 57, 0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu > li {
    width: 100%;
    border-bottom: 1px solid var(--gray-light);
  }

  .nav-menu > li > a {
    padding: 15px 0;
    justify-content: space-between;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: hidden;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--off-white);
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.3s, padding 0.3s;
  }

  /* The desktop :hover / :focus-within rules sit OUTSIDE this media query and
     have higher specificity than the plain `.dropdown` above, so they still
     applied here: tabbing into a collapsed submenu set visibility: visible
     while max-height stayed 0, leaving links focusable but invisible — the
     very bug this item exists to fix, arriving by a different route. In the
     stacked layout the button is the only thing that opens a submenu, so both
     are neutralised. `.open` below has equal specificity and comes later, so
     it still wins. */
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown {
    visibility: hidden;
    max-height: 0;
    padding: 0;
  }

  .has-dropdown.open .dropdown {
    visibility: visible;
    max-height: 60rem;
    overflow-y: auto;
    padding: 10px 0;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-menu .btn-gold {
    margin: 15px 0 0 0;
    text-align: center;
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-form-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .logo img {
    height: 55px;
  }
}

/* ============================================
   Reference logo banner (scrolling, right-to-left)
   ============================================ */
.logo-banner {
  background: var(--white);
  border-top: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  padding: 35px 0 30px;
  overflow: hidden;
}

.logo-banner-title {
  text-align: center;
  color: var(--navy-dark);
  margin: 0 0 22px;
  font-size: 1.6rem;
}

.logo-marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
  /* The page is dir=rtl, but the marquee track must lay its items out LTR so
     the translate animation runs against a predictable origin. Captions are
     re-flipped to rtl individually. */
  direction: ltr;
}

.logo-track {
  display: flex;
  align-items: flex-start;
  width: max-content;
  will-change: transform;
  animation: logo-scroll var(--logo-duration, 30s) linear infinite;
}

/* Travels exactly one set width, so the clone lands pixel-perfect on the
   original and the loop shows no seam. Negative X = leftward = RTL reading. */
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(var(--logo-set-width, 50%) * -1)); }
}

.logo-marquee:hover .logo-track,
.logo-marquee:focus-within .logo-track {
  animation-play-state: paused;
}

.logo-item {
  flex: 0 0 auto;
  width: 200px;
  margin: 0 25px;
  text-align: center;
}

.logo-item img {
  width: 200px;
  height: 100px;
  object-fit: contain;
  display: block;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: filter 0.3s, opacity 0.3s;
}

.logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.logo-item figcaption {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.35;
}

@media (max-width: 768px) {
  .logo-item { width: 150px; margin: 0 15px; }
  .logo-item img { width: 150px; height: 75px; }
  .logo-banner-title { font-size: 1.3rem; }
}

/* Respect a reduced-motion preference: stop the animation and let the row
   scroll manually instead. */
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
  .logo-marquee { overflow-x: auto; }
}

/* ============================================
   Testimonials — vertical scrolling card stack
   Mirrors the reference logo banner, but on the Y axis: the track holds one
   set of cards plus enough clones to cover the window, and travels exactly
   one set height so the loop has no visible seam.
   ============================================ */
.testimonials {
  background: var(--off-white);
  padding: 70px 0;
}

.testimonial-marquee {
  position: relative;
  /* A readable measure: full container width would stretch a one-line quote
     across ~1100px, well past a comfortable line length for reading. */
  max-width: 760px;
  margin: 0 auto;
  /* rem, not px: this is a fixed window over text that grows with the user's
     font size, so a pixel height clipped the cards at 200% zoom. */
  height: 27rem;
  overflow: hidden;
  /* Fade the cards out at both edges instead of clipping them mid-sentence. */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}

.testimonial-track {
  display: flex;
  flex-direction: column;
  gap: 22px;
  will-change: transform;
  animation: testimonial-scroll var(--testimonial-duration, 40s) linear infinite;
}

/* Travels exactly one set height upwards. The set that scrolls into view is
   identical to the one leaving, so the wrap is invisible. Cards rise towards
   the reader rather than away, which keeps a long quote readable. */
@keyframes testimonial-scroll {
  from { transform: translateY(0); }
  to   { transform: translateY(calc(var(--testimonial-set-height, 50%) * -1)); }
}

.testimonial-marquee:hover .testimonial-track,
.testimonial-marquee:focus-within .testimonial-track {
  animation-play-state: paused;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 14px;
  padding: 26px 30px;
  box-shadow: 0 2px 10px rgba(0, 15, 57, 0.06);
  transition: box-shadow 0.3s, transform 0.3s;
}

.testimonial-marquee:hover .testimonial-card:hover {
  box-shadow: 0 6px 20px rgba(0, 15, 57, 0.12);
  transform: translateY(-2px);
}

/* Rating stars — gold, matching the site's accent colour */
.testimonial-card .stars {
  color: var(--gold);
  margin-bottom: 12px;
  line-height: 1;
}

.testimonial-card .stars i {
  color: var(--gold);
  font-size: 1.05rem;
  margin-left: 2px;
}

.testimonial-text {
  color: var(--text-dark);
  margin-bottom: 18px;
  line-height: 1.8;
}

/* Author row — optional customer photo beside the name. The circle belongs
   to the <img>, so a testimonial without a photo renders just the name with
   no empty ring. In RTL the image comes first in the DOM, which places it to
   the right of the name. */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 600;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 3px solid var(--navy);
  background: var(--gray-light);
  display: block;
}

/* Phones: no animation and no fixed-height window. A tall auto-scrolling box
   can swallow a swipe and strand the visitor halfway down the page, so the
   cards become an ordinary stacked list that the page scrolls past normally. */
@media (max-width: 768px) {
  .testimonial-marquee {
    height: auto;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .testimonial-track {
    animation: none;
    transform: none !important;
  }

  .testimonial-card {
    padding: 22px 20px;
  }
}

/* Same treatment whenever reduced motion is requested, at any width. */
@media (prefers-reduced-motion: reduce) {
  .testimonial-marquee {
    height: auto;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .testimonial-track {
    animation: none;
    transform: none !important;
  }
}

/* ============================================
   Contact card (/about) and call-to-action spacing
   ============================================ */

/* The card had no rules of its own, so it inherited the bare page: visible
   list markers and underlined links. This brings it in line with the footer
   contact block and the testimonial cards. */
.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 15, 57, 0.06);
  /* .about-content is a single block column, so without a cap the card
     stretched the full 1160px around three short lines. */
  max-width: 420px;
}

.contact-card h3 {
  color: var(--navy-dark);
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--text-dark);
  line-height: 1.6;
}

.contact-details i {
  color: var(--gold);
  flex: 0 0 18px;
  text-align: center;
  margin-top: 5px;
}

.contact-details a,
.contact-details span {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-details a:hover {
  color: var(--gold);
}

/* One line of breathing room above every call-to-action button, so the
   "צור קשר" button sits the same distance from the text above it on every
   page. The global * { margin: 0 } reset otherwise leaves them flush against
   the preceding paragraph. 1.7em matches the body line-height. */
.contact-card .btn,
.faq-cta .btn,
.service-cta .btn,
.cta-buttons .btn {
  margin-top: 1.7em;
}

/* ===== Public testimonial submission ===================================== */
/* The form customers use to send a testimonial. It goes to a moderation queue
   in the admin panel; nothing here appears on the site until it is approved. */

.submit-testimonial { max-width: 640px; margin: 0 auto; }
.submit-testimonial h2 { margin-bottom: 8px; }
.submit-testimonial .required-note { color: var(--text-muted); }

/* Screen-reader-only text. The stylesheet had no such utility, so labels that
   must exist for assistive technology but not take visual space had nowhere
   to go. Clip rather than display:none, which removes it from the a11y tree. */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.field-error {
  margin: 6px 0 0;
  color: #a21b2b;          /* 7.70:1 on white - the --error token is 3.93:1 */
  font-size: 0.9rem;
  font-weight: 500;
}

.rating-field { border: 0; padding: 0; margin-bottom: 20px; }
.rating-field legend { font-weight: 500; margin-bottom: 8px; padding: 0; }
.rating-options { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.rating-option { display: inline-flex; align-items: center; gap: 6px; }
.rating-option input { width: auto; margin: 0; }
.rating-option label { margin: 0; font-weight: 400; white-space: nowrap; }

.consent-field .consent-label {
  display: flex; align-items: flex-start; gap: 10px;
  font-weight: 400; line-height: 1.5; cursor: pointer;
}
.consent-field input { width: auto; margin-top: 4px; flex: 0 0 auto; }

/* Honeypot. Off-screen rather than display:none so that a bot reading the DOM
   still sees a plausible field, while people and screen readers do not. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* The site-wide gold button is white-on-gold at 2.42:1, which fails WCAG AA.
   Rather than restyle every button from here, this new form opts into the
   compliant pairing: navy on gold is 7.70:1. See HOSTING/ACCESSIBILITY docs -
   the global fix is item 2 on the accessibility remediation list. */
.btn.btn-gold.btn-on-gold,
.btn.btn-gold.btn-on-gold:hover {
  color: var(--navy-dark);
}

/* Invitation to leave a testimonial, under the homepage marquee. */
.testimonial-invite { text-align: center; margin-top: 28px; }
.testimonial-invite p { color: var(--text-muted); margin-bottom: 12px; }

/* ========================================================================
   Accessibility remediation — batch 1
   Measured against ת"י 5568 חלק 1 (ספטמבר 2023), i.e. WCAG 2.0 level AA,
   which is the standard Israeli law actually makes binding. Each block below
   names the item it closes from the audit's must-fix list.
   ======================================================================== */

/* --- Item 2: colour contrast -------------------------------------------- */

/* Gold as a TEXT colour is 2.42:1 on white — it fails even the relaxed 3:1
   large-text threshold. This token keeps the gold character at 5.06:1. Gold
   as a BACKGROUND is fine; only the foreground changes. */
:root {
  --gold-text: #8a6a14;   /* 5.06:1 on white, 4.80:1 on --off-white */
}

/* Call-to-action buttons: white on gold was 2.42:1. The navy ink on the same
   gold is 7.70:1, so the button keeps its brand colour and only the lettering
   changes. !important is needed solely to beat `color: var(--white) !important`
   on the pre-existing .nav-menu .btn-gold rule. */
.btn-gold,
.btn-gold:hover,
.btn-primary,
.btn-primary:hover,
.nav-menu .btn-gold,
.nav-menu .btn-gold:hover {
  color: var(--navy-dark) !important;
}

/* Gold words inside headings, and the gold secondary links. */
.hero h1 span,
.page-header h1 span,
.page-hero h1 span,
.section-title h2 span,
.section-header h2 i,
.service-link,
.service-link:hover,
.service-card .read-more,
.service-card .read-more:hover,
.service-card:hover i,
.about-content-dynamic a {
  color: var(--gold-text);
}

/* The star rating carries meaning, so it needs to be legible rather than
   decorative. (1.4.11 is WCAG 2.1 and not legally binding here, but the fix
   is free once the token exists.) */
.testimonial-card .stars,
.pending-stars {
  color: var(--gold-text);
}

/* Form feedback: the success green was 2.82:1 and the error red 3.93:1 on
   their own tinted backgrounds. */
.alert-success { color: #157347; }   /* 5.87:1 on the tint */
.alert-error   { color: #a21b2b; }   /* 7.70:1 on the tint */

/* --- Item 10: links must be distinguishable without colour -------------- */
/* In the footer and on /about, the phone and e-mail LINKS were given the same
   colour and no underline as the plain-text address beside them, so there was
   no cue of any kind — neither colour nor shape — that they were links. */
.footer-section a,
.contact-list a,
.contact-details a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Belt and braces: any icon-only control, wherever it ends up, is identified
   by its shape and its accessible name, never by an underline. Listed
   explicitly so a future footer link cannot inherit one by accident. */
.social-links a,
.whatsapp-float,
.marquee-toggle,
a.btn,
.footer-section .social-links a {
  text-decoration: none;
}

/* --- Item 13: a visible keyboard focus indicator ------------------------ */
/* There was no :focus-visible styling anywhere, and the form fields actively
   suppressed the browser default with `outline: none`, replacing it with a
   gold border at 2.42:1 — a hue change at almost identical lightness. */
:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

/* A navy ring is invisible against the navy footer. */
.main-footer :focus-visible,
.logo-banner :focus-visible,
.whatsapp-float:focus-visible {
  outline-color: var(--white);
}

/* Restores a real focus signal on inputs without reinstating the outline the
   original design removed on purpose. */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.hero-form input:focus,
.quote-form input:focus,
.quote-form select:focus {
  border-color: var(--navy-dark);
  box-shadow: 0 0 0 3px rgba(0, 26, 77, 0.35);
}

/* --- Item 14: page headings sat under the fixed header ------------------ */
/* Seven pages use .page-hero, for which no CSS existed at all. They fell back
   to the generic `section { padding: 100px 0 }` while .main-header is fixed at
   roughly 112px, so the <h1> was partly covered — and worse as text is
   enlarged. Matched to .page-header, which the two legal pages already use. */
.page-hero {
  background: linear-gradient(135deg, var(--white), var(--off-white));
  padding: 150px 0 60px;
  text-align: center;
  border-bottom: 3px solid var(--navy);
}

.page-hero h1 {
  color: var(--navy-dark);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Item 4: the quick-quote form's required-field note. The labels themselves
   are visually hidden (.sr-only, already defined above) because the box is a
   deliberately compact three-field strip — but they exist for screen readers,
   which previously heard three unnamed edit fields. */
.quote-required {
  margin: 0 0 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Item 5: the service submenu triggers -------------------------------
   They were <a href="#services">, now <button>. The button has to look
   exactly like the nav links it sits among, since only its role changed. */
.nav-menu .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 10px 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: 500;
  color: var(--navy-dark);
  cursor: pointer;
  white-space: nowrap;
}

.nav-menu .dropdown-toggle:hover {
  color: var(--navy);
}

/* The stacked layout spreads each row full width, as the links do. */
@media (max-width: 992px) {
  .nav-menu .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 15px 0;
  }
}

/* --- Item 6: a pause control for both marquees -------------------------
   WCAG 2.2.2 requires a mechanism to pause anything that moves automatically
   for more than five seconds. Both marquees run indefinitely and could only
   be stopped with :hover — no use to a keyboard or touch user. The
   :focus-within rule beside it could never match either, because neither
   marquee contained a focusable element. The logo band sits in the footer
   partial, so this failed on every page of the site. */
.marquee-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  color: var(--navy-dark);
  border: 2px solid var(--navy);
  border-radius: 25px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.marquee-toggle:hover {
  background: var(--navy);
  color: var(--white);
}

/* Pressed means "paused", so the control reads as a state, not an action. */
.marquee-toggle[aria-pressed="true"] {
  background: var(--navy);
  color: var(--white);
}

.logo-banner-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.marquee-controls {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

/* What the button actually does. Kept separate from the :hover rules so that
   a deliberate pause survives the mouse leaving the area. */
.logo-track.is-paused,
.testimonial-track.is-paused {
  animation-play-state: paused;
}

/* With motion reduced the tracks are not animated at all, so the control has
   nothing to pause and would only confuse. */
@media (prefers-reduced-motion: reduce) {
  .marquee-toggle,
  .marquee-controls,
  .logo-banner-head .marquee-toggle {
    display: none;
  }
}

/* --- Item 12: contact form error presentation --------------------------- */
.form-required-note {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-error-summary {
  text-align: right;
}

.form-error-summary ul {
  margin: 8px 0 0;
  padding-inline-start: 1.3rem;
}

.form-error-summary a {
  color: #a21b2b;
  text-decoration: underline;
}

/* The summary takes focus programmatically, so it needs a visible ring. */
.form-error-summary:focus-visible {
  outline: 3px solid #a21b2b;
  outline-offset: 3px;
}

/* A field in error is marked by more than colour: the border thickens and the
   message sits directly beneath it, tied by aria-describedby. */
.contact-form [aria-invalid="true"] {
  border-color: #a21b2b;
  box-shadow: 0 0 0 3px rgba(162, 27, 43, 0.18);
}

/* ===== Should-fix list (item 17 of the audit) =========================== */

/* Item 22: scroll-behavior ignored the motion preference. The JS smooth-scroll
   handler checks it too. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Item 20: skip link. Off-screen until focused, then anchored top-right (RTL)
   above everything including the fixed header. */
.skip-link {
  position: absolute;
  top: -100px;
  right: 20px;
  z-index: 2000;
  padding: 12px 20px;
  background: var(--navy-dark);
  color: var(--white);
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.15s;
}

.skip-link:focus {
  top: 0;
}

/* Item 16: the WhatsApp glyph was white on #25d366 — 1.98:1. WhatsApp's own
   darker brand green takes it to a legible ratio while staying recognisable.
   The button also sat over the footer links on a small screen with no way to
   dismiss it, so it shrinks and tucks lower there. */
.whatsapp-float {
  background: #128c7e;
  box-shadow: 0 5px 20px rgba(18, 140, 126, 0.4);
}

.whatsapp-float:hover {
  background: #075e54;
  box-shadow: 0 8px 30px rgba(7, 94, 84, 0.5);
}

@media (max-width: 576px) {
  .whatsapp-float {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    bottom: 16px;
    left: 16px;
  }
}

/* Item 15: the quick-quote result, announced inline instead of in an alert(). */
.quote-result {
  margin: 12px 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  min-height: 1.2em;
}

.quote-result.is-ok    { color: #157347; }
.quote-result.is-error { color: #a21b2b; }

/* Item 18: the 404's status code is decoration, not the page's heading. */
.error-code {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gray-light);
  margin: 0 0 8px;
}

/* Item 23: gold icons that sit on a white background measured 2.42:1. The
   gold TEXT cases were already moved to --gold-text in item 3.2; these are the
   remaining icon cases.

   The FAQ chevron is the one that matters. It is aria-hidden and the button
   carries aria-expanded, so assistive technology is correctly served — but the
   chevron is the ONLY visual indicator of open/closed, and at 2.42:1 someone
   with low vision cannot see which way it points.

   Note this is a usability fix rather than a legal one: non-text contrast is
   WCAG 2.1 SC 1.4.11, and the binding Israeli standard (ת"י 5568 חלק 1) is
   WCAG 2.0 AA, which has no equivalent criterion. Icons on the navy footer and
   inside .service-icon's navy circle already measure 6.9:1-7.7:1 and are left
   as they are. */
.faq-question i,
.dropdown li a i,
.legal-card .contact-method i,
.service-card > i {
  color: var(--gold-text);
}
