/* ==========================================================
   TSD דלתות מוסך - tsd-doors.com
   Main stylesheet (RTL)
   ========================================================== */

:root {
  --navy: #0d2a5c;
  --navy-dark: #081c40;
  --navy-light: #16407f;
  --red: #d71920;
  --red-dark: #a8111a;
  --white: #ffffff;
  --gray-bg: #f2f4f8;
  --gray-line: #d9dee8;
  --text: #1b2433;
  --radius: 12px;
  --shadow: 0 6px 22px rgba(13, 42, 92, .14);
  --font: "Heebo", "Arial Hebrew", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  direction: rtl;
  text-align: right;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.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;
}

/* ================= Header ================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 10px 0;
}
.logo img { width: 210px; height: auto; }

.main-nav {
  flex: 1; display: flex; justify-content: flex-start; /* RTL: right next to the logo */
}
.main-nav ul {
  display: flex; align-items: center;
  background: linear-gradient(90deg, var(--navy-dark), var(--navy));
  padding: 0 28px;
  clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
  border-radius: 4px;
}
.main-nav li + li { border-right: 2px solid rgba(255, 255, 255, .7); }
.main-nav a {
  display: block; padding: 10px 22px;
  color: var(--white); font-weight: 700; font-size: 1.1rem;
  transition: color .2s;
}
.main-nav a:hover, .main-nav a.active { color: #ff4f55; }
.main-nav a.active { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

.header-phone {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(180deg, #e8262d, var(--red-dark));
  color: var(--white); font-weight: 900; font-size: 1.55rem;
  padding: 6px 22px 6px 18px; border-radius: 40px;
  border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--red), var(--shadow);
  white-space: nowrap; transition: transform .2s;
}
.header-phone:hover { transform: translateY(-2px); }
.header-phone svg { width: 28px; height: 28px; fill: var(--white); }

.nav-toggle {
  display: none; background: var(--navy); border: 0; border-radius: 8px;
  width: 46px; height: 42px; padding: 10px; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 3px; background: var(--white); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ================= Hero ================= */
.hero {
  position: relative; overflow: hidden;
  min-height: 470px;
  display: flex; justify-content: flex-start; /* RTL: panel on the right */
  background: var(--navy-dark);
}
.hero-photo {
  position: absolute; inset: 0 0 0 auto;
  left: 0; right: 28%;
  background: url("../images/hero.jpg") center / cover no-repeat;
}
.hero-panel {
  position: relative; z-index: 2;
  width: 46%; min-width: 440px;
  padding: 52px 56px 48px 40px;
  background: linear-gradient(100deg, rgba(8, 28, 64, 0) 0%, rgba(8, 28, 64, .92) 18%, var(--navy-dark) 40%);
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  padding-right: 48px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; /* RTL: start = right */
  text-align: right;
}
.hero-panel > * { align-self: flex-start; }
.hero-title { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hero-title .t1 {
  color: var(--white); font-weight: 900; font-style: italic;
  font-size: clamp(2rem, 3.3vw, 3.05rem); text-align: right;
  text-shadow: 0 3px 10px rgba(0, 0, 0, .45);
}
.hero-title .t2 {
  display: inline-block;
  background: linear-gradient(180deg, #ea2a31, var(--red-dark));
  color: var(--white); font-weight: 900; font-style: italic;
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  padding: 4px 28px 10px;
  transform: skewX(-10deg);
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.hero-title .t3 {
  display: block; font-size: .62em; font-weight: 800; margin-top: 2px;
}
.hero-title .sep { display: none; }
.hero-swoosh {
  display: block; width: 78%; height: 6px; margin: 16px 0 22px;
  background: linear-gradient(270deg, var(--red), var(--red) 55%, transparent);
  border-radius: 50%;
}
.check-list { padding-right: 4px; }
.check-list li {
  display: flex; align-items: center; gap: 12px;
  color: var(--white); font-size: 1.35rem; font-weight: 700;
  margin-bottom: 10px;
}
.check-list li::before {
  content: ""; flex: 0 0 28px; height: 28px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}

/* ================= Features bar ================= */
.features {
  background: linear-gradient(180deg, #ffffff, #eef1f6);
  border-bottom: 1px solid var(--gray-line);
  box-shadow: 0 6px 16px rgba(13, 42, 92, .08);
}
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 22px 12px;
  color: var(--navy);
}
.feature + .feature { border-right: 1px solid var(--gray-line); }
.feature svg { width: 50px; height: 50px; flex: 0 0 50px; color: var(--navy); }
.feature h3 { font-size: 1.2rem; font-weight: 800; color: var(--navy); }

/* ================= Section heads (ribbon) ================= */
.section-head {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin-bottom: 30px;
}
.section-head .line {
  flex: 1; max-width: 330px; height: 4px;
  background: linear-gradient(90deg, transparent, var(--red));
  border-radius: 4px;
}
.section-head .line:last-child { background: linear-gradient(270deg, transparent, var(--red)); }
.ribbon {
  position: relative;
  background: linear-gradient(180deg, #e7252c, var(--red-dark));
  color: var(--white); font-weight: 900; font-size: clamp(1.8rem, 3vw, 2.4rem);
  padding: 8px 56px 12px;
  clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
  white-space: nowrap;
}

/* ================= Services ================= */
.services { padding: 46px 0 40px; background: var(--white); }
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.service-card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--navy); box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(13, 42, 92, .25); }
.service-card img {
  width: 100%; height: auto; aspect-ratio: 16 / 9.2; object-fit: cover;
  transition: transform .4s;
}
.service-card:hover img { transform: scale(1.05); }
.service-card h3 {
  position: relative; z-index: 1;
  background: linear-gradient(180deg, var(--navy-light), var(--navy-dark));
  color: var(--white); text-align: center;
  font-size: 1.3rem; font-weight: 800;
  padding: 9px 8px 11px;
}

/* ================= About + Form ================= */
.about { padding: 30px 0 46px; background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 250px 1fr 300px; /* RTL: photo | content | form */
  gap: 28px; align-items: start;
}
.about-photo img {
  border-radius: var(--radius); box-shadow: var(--shadow);
  width: 100%; height: auto; aspect-ratio: 5 / 3.2; object-fit: cover;
}
.about-content h2 {
  color: var(--navy); font-weight: 900; font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}
.about-content .underline {
  display: block; width: 70%; height: 4px; margin: 10px 0 14px;
  background: linear-gradient(270deg, var(--red), transparent);
  border-radius: 4px;
}
.about-content p { margin: 0 0 12px; font-size: 1.08rem; }
.service-area {
  display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy);
}
.service-area svg { width: 22px; height: 22px; fill: var(--red); flex: 0 0 22px; }

.about-features {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 18px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--gray-line);
}
.af {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center; padding: 16px 8px;
}
.af + .af { border-right: 1px solid var(--gray-line); }
.af svg { width: 40px; height: 40px; color: var(--red); }
.af h3 { font-size: 1rem; font-weight: 800; color: var(--navy); }

.order-box {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 8px 28px rgba(13, 42, 92, .2); border: 1px solid var(--gray-line);
}
.order-box h2 {
  background: linear-gradient(180deg, #e7252c, var(--red-dark));
  color: var(--white); text-align: center; font-weight: 900; font-size: 1.45rem;
  padding: 12px 10px;
}
.order-box form { padding: 16px; display: grid; gap: 11px; }
.field { position: relative; display: block; }
.field input, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  border: 1.5px solid #c7cfdc; border-radius: 8px;
  padding: 10px 44px 10px 14px; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13, 42, 92, .15);
}
.field input.error, .field select.error { border-color: var(--red); }
.field svg {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; fill: var(--navy); pointer-events: none;
}
.field.select select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-right: 14px; padding-left: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%230d2a5c' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") left 14px center / 18px no-repeat, var(--white);
}
.btn-red {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-size: 1.3rem; font-weight: 900; color: var(--white);
  background: linear-gradient(180deg, #e8262d, var(--red-dark));
  border: 0; border-radius: 8px; padding: 10px; cursor: pointer;
  box-shadow: 0 4px 12px rgba(215, 25, 32, .35);
  transition: filter .2s, transform .2s;
}
.btn-red:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-red svg { width: 22px; height: 22px; fill: var(--white); transform: scaleX(-1); }
.form-msg { margin: 0; min-height: 1.2em; font-weight: 700; text-align: center; font-size: .98rem; }
.form-msg.ok { color: #1a7f37; }
.form-msg.bad { color: var(--red); }

/* ================= Reviews ================= */
.reviews {
  position: relative; padding: 32px 0 40px;
  background: linear-gradient(180deg, #f4f6fa, #e9edf4);
  overflow: hidden;
}
.reviews-bg {
  position: absolute; inset: 0 auto 0 0; width: 26%;
  background: url("../images/reviews-bg.jpg") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(270deg, transparent 0%, #000 55%);
          mask-image: linear-gradient(270deg, transparent 0%, #000 55%);
}
.reviews .container { position: relative; }

/* ================= CTA ================= */
.cta {
  position: relative; display: flex; min-height: 220px; overflow: hidden;
  background: linear-gradient(90deg, var(--navy-light), var(--navy-dark) 60%);
}
.cta-photo {
  position: absolute; inset: 0 auto 0 0; width: 48%;
  background: url("../images/cta-van.jpg") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent);
          mask-image: linear-gradient(90deg, #000 70%, transparent);
}
.cta-text {
  position: relative; z-index: 2; margin: 0;
  width: 56%;
  padding: 26px 40px; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.cta { justify-content: flex-start; }
.cta h2 {
  color: var(--white); font-weight: 900; font-style: italic;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem); text-align: center;
}
.cta-brush {
  margin: 0; color: var(--white); font-weight: 900; font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  padding: 2px 46px 6px;
  background: linear-gradient(180deg, #ea2a31, var(--red-dark));
  clip-path: polygon(4% 8%, 100% 0, 96% 92%, 0 100%);
}
.cta-phone {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--white); font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1;
  transition: transform .2s;
}
.cta-phone:hover { transform: scale(1.03); }
.ph-icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--white);
}
.ph-icon svg { width: 30px; height: 30px; fill: var(--navy); }

/* ================= Footer ================= */

/* floating call button (mobile) */
.float-call {
  display: none; position: fixed; bottom: 14px; left: 14px; right: 14px; z-index: 60;
  align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(180deg, #e8262d, var(--red-dark));
  color: var(--white); font-weight: 900; font-size: 1.25rem;
  padding: 12px; border-radius: 40px; box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.float-call svg { width: 24px; height: 24px; fill: var(--white); }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ================= Responsive ================= */
@media (max-width: 1100px) {
  .header-phone { font-size: 1.25rem; padding: 5px 16px; }
  .main-nav a { padding: 10px 14px; font-size: 1rem; }
  .about-grid { grid-template-columns: 1fr 300px; }
  .about-photo { display: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; right: 0; left: 0;
    display: none; background: var(--navy-dark);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; clip-path: none; padding: 6px 0; border-radius: 0; }
  .main-nav li + li { border-right: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .main-nav a { padding: 14px 20px; }
  .header-inner { position: relative; }
  .logo img { width: 160px; }

  .hero { min-height: 0; flex-direction: column; }
  .hero-photo { position: relative; inset: auto; height: 300px; right: 0; background-position: 30% center; }
  .hero-panel {
    width: 100%; min-width: 0; clip-path: none;
    background: var(--navy-dark); padding: 28px 20px; align-items: center; text-align: center;
  }
  .hero-panel > * { align-self: center; }
  .hero-title { align-items: center; }
  .hero-swoosh { margin-inline: auto; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3) { border-right: 0; }
  .feature:nth-child(n+3) { border-top: 1px solid var(--gray-line); }

  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { display: block; }
  .reviews-bg { display: none; }

  .cta { flex-direction: column; }
  .cta-photo { position: relative; width: 100%; height: 200px; -webkit-mask-image: none; mask-image: none; order: 2; }
  .cta-text { width: 100%; padding: 26px 16px; }
  .float-call { display: flex; }
}

@media (max-width: 560px) {
  .header-inner { gap: 8px; padding: 8px 0; }
  .logo img { width: 112px; }
  .header-phone { font-size: 1rem; padding: 6px 12px; gap: 6px; border-width: 2px; }
  .header-phone svg { width: 18px; height: 18px; }
  .nav-toggle { width: 42px; height: 40px; flex: 0 0 42px; }
  .check-list li { font-size: 1.1rem; }
  .hero-photo { height: 230px; }
  .feature { flex-direction: column; text-align: center; gap: 8px; }
  .feature h3 { font-size: 1rem; }
  .ribbon { padding: 6px 30px 10px; }
  .section-head { gap: 8px; }
  .service-card h3 { font-size: 1.05rem; }
  .about-features { grid-template-columns: repeat(2, 1fr); }
  .af:nth-child(3) { border-right: 0; }
  .af:nth-child(n+3) { border-top: 1px solid var(--gray-line); }
  .cta-brush { padding: 2px 24px 6px; }
}

/* ================= FAQ ================= */
.faq { padding: 44px 0 50px; background: var(--white); }
.faq-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 22px; align-items: start;
}
.faq-item {
  background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius);
  box-shadow: 0 3px 12px rgba(13, 42, 92, .08); overflow: hidden;
  border-right: 5px solid var(--navy);
  transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] { border-right-color: var(--red); box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 3px solid rgba(13, 42, 92, .35); outline-offset: -3px; }
.faq-item h3 { font-size: 1.12rem; font-weight: 800; color: var(--navy); line-height: 1.35; }
.faq-icon {
  position: relative; flex: 0 0 30px; height: 30px; border-radius: 50%;
  background: var(--navy); transition: background .2s, transform .3s;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 14px; height: 3px; background: var(--white); border-radius: 2px;
  transform: translate(-50%, -50%);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.faq-item[open] .faq-icon { background: var(--red); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 18px 16px; }
.faq-answer p { margin: 0; font-size: 1.02rem; color: #3a4558; border-top: 1px solid var(--gray-line); padding-top: 12px; }
@media (max-width: 900px) {
  .faq-list { grid-template-columns: 1fr; }
}

/* ================= Google-style reviews ================= */
.reviews-wrap { max-width: 860px; margin-inline: 0 auto; } /* RTL: aligned right */
.g-summary {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--white); border-radius: 40px; padding: 8px 20px 8px 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,.08); margin-bottom: 16px;
  font-family: Arial, "Heebo", sans-serif;
}
.g-summary .g-logo { width: 30px; height: 30px; position: static; }
.g-summary-title { font-weight: 700; color: #3c4043; font-size: .98rem; }
.g-summary-rate { display: flex; align-items: center; gap: 6px; color: #70757a; font-size: .9rem; }
.g-summary-rate strong { color: #202124; font-size: 1.15rem; }
.g-summary-rate .g-stars { margin: 0; }

.g-slider { position: relative; }
.g-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 2px 12px; scrollbar-width: none;
}
.g-track::-webkit-scrollbar { display: none; }
.g-review {
  margin: 0; scroll-snap-align: start;
  background: var(--white); border-radius: 8px; padding: 16px 18px;
  box-shadow: 0 1px 2px rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
  font-family: Arial, "Heebo", sans-serif; text-align: right;
  display: flex; flex-direction: column;
}
.g-head { display: flex; align-items: center; gap: 10px; position: relative; }
.g-avatar {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1.15rem;
}
.g-name { font-weight: 700; color: #202124; font-size: 1rem; }
.g-head .g-logo { width: 22px; height: 22px; margin-right: auto; }
.g-stars { display: flex; gap: 1px; margin: 10px 0 8px; }
.g-stars svg { width: 18px; height: 18px; fill: #fbbc04; }
.g-summary-rate .g-stars svg { width: 16px; height: 16px; }
.g-text { margin: 0; color: #3c4043; font-size: .98rem; line-height: 1.6; }

.g-arrow {
  position: absolute; top: 50%; transform: translateY(-60%); z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--white); color: #3c4043; font-size: 1.8rem; line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,.2); display: grid; place-items: center;
  transition: background .2s, opacity .2s;
}
.g-arrow svg { width: 20px; height: 20px; }
.g-arrow:hover { background: #f1f3f4; }
.g-arrow[disabled] { opacity: 0; pointer-events: none; }
.g-prev { right: -14px; }
.g-next { left: -14px; }

@media (max-width: 900px) {
  .reviews-wrap { max-width: 100%; text-align: center; }
  .g-track { grid-auto-columns: calc((100% - 16px) / 2); }
  .g-prev { right: -6px; } .g-next { left: -6px; }
}
@media (max-width: 560px) {
  .g-track { grid-auto-columns: 88%; }
}

/* ================= Service areas ================= */
.areas { padding: 46px 0 50px; background: linear-gradient(180deg, #f4f6fa, #ffffff); }
.areas-intro { text-align: center; font-size: 1.15rem; max-width: 820px; margin: -8px auto 26px; }
.areas-intro strong { color: var(--red); }
.areas-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 26px; align-items: start; } /* RTL: map right, lists left */
.areas-map {
  position: sticky; top: 110px;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--gray-line);
}
.areas-map iframe { display: block; width: 100%; height: 560px; border: 0; }
.map-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 12px 16px; font-size: .92rem; font-weight: 700; color: var(--navy); }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot.north { background: var(--navy); } .dot.base { background: var(--red); } .dot.south { background: #f6a700; }

.area-search { position: relative; display: block; margin-bottom: 6px; }
.area-search input {
  width: 100%; font: inherit; font-size: 1.05rem; padding: 12px 46px 12px 14px;
  border: 2px solid var(--navy); border-radius: 40px; background: var(--white);
}
.area-search input:focus { outline: none; box-shadow: 0 0 0 4px rgba(13,42,92,.15); }
.area-search svg { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--navy); }
.area-result { margin: 0 0 10px; min-height: 1.3em; font-weight: 700; color: var(--navy); font-size: .95rem; }

.area-group {
  background: var(--white); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 14px;
  box-shadow: 0 3px 12px rgba(13,42,92,.08); border: 1px solid var(--gray-line); border-right: 5px solid var(--red);
}
.area-group h3 { display: flex; align-items: center; gap: 8px; color: var(--navy); font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; }
.area-group h3 svg { width: 20px; height: 20px; fill: var(--red); flex: 0 0 20px; }
.area-group .count { color: #6b7587; font-weight: 600; font-size: .9rem; }
.area-list { display: flex; flex-wrap: wrap; gap: 6px; }
.area-list li {
  background: #eef2f8; color: var(--navy); border-radius: 20px; padding: 3px 12px;
  font-size: .93rem; font-weight: 600; border: 1px solid #dde4ef;
}
.area-list li.hit { background: var(--red); color: var(--white); border-color: var(--red); }
.area-group.hidden, .area-list li.hidden { display: none; }
.areas-note { text-align: center; margin: 20px 0 0; font-size: 1.08rem; font-weight: 700; color: var(--navy); }
.areas-note a { color: var(--red); text-decoration: underline; }

@media (max-width: 900px) {
  .areas-grid { grid-template-columns: 1fr; }
  .areas-map { position: static; }
  .areas-map iframe { height: 340px; }
}

/* ================= Pricing & estimate ================= */
.pricing { padding: 44px 0 46px; background: linear-gradient(180deg, #f4f6fa, #ffffff); }
.pricing-intro { text-align: center; max-width: 860px; margin: -8px auto 26px; font-size: 1.08rem; }
.pricing-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; align-items: start; }
.price-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--gray-line); overflow: hidden; margin-bottom: 20px;
}
.price-card h3 { background: linear-gradient(180deg, var(--navy-light), var(--navy-dark)); color: var(--white); font-size: 1.25rem; font-weight: 800; padding: 12px 18px; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th { background: #eef2f8; color: var(--navy); font-size: .92rem; text-align: right; padding: 8px 14px; }
.price-table td { padding: 10px 14px; border-top: 1px solid var(--gray-line); font-size: .98rem; vertical-align: top; }
.price-table td.p { font-weight: 800; color: var(--red); white-space: nowrap; direction: rtl; }
.price-table td.n { color: #6b7587; font-size: .88rem; }
.price-table tbody tr:hover { background: #f7f9fc; }

.calc {
  position: sticky; top: 110px;
  background: var(--white); border-radius: var(--radius); padding: 0 0 18px;
  box-shadow: 0 8px 28px rgba(13,42,92,.2); border: 1px solid var(--gray-line); overflow: hidden;
}
.calc-title { background: linear-gradient(180deg, #e7252c, var(--red-dark)); color: var(--white); text-align: center; font-size: 1.35rem; font-weight: 900; padding: 12px; }
.calc-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 16px 6px; }
.calc-tab { font: inherit; font-weight: 800; font-size: 1.05rem; padding: 9px; border-radius: 8px; border: 2px solid var(--navy); background: var(--white); color: var(--navy); cursor: pointer; }
.calc-tab.active { background: var(--navy); color: var(--white); }
.calc-pane { padding: 6px 16px 0; }
.calc-hint { margin: 4px 0 8px; font-weight: 700; color: var(--navy); }
.calc-item {
  display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; cursor: pointer;
  border: 1px solid transparent; font-size: .95rem;
}
.calc-item:hover { background: #f4f6fa; }
.calc-item:has(input:checked) { background: #eef2f8; border-color: #d3dcea; }
.calc-item input[type=checkbox], .calc-check input { width: 18px; height: 18px; accent-color: var(--red); flex: 0 0 18px; }
.ci-name { flex: 1; font-weight: 600; }
.ci-price { font-weight: 800; color: var(--navy); white-space: nowrap; font-size: .88rem; }
.qty { width: 52px; font: inherit; padding: 2px 4px; border: 1px solid #c7cfdc; border-radius: 6px; text-align: center; }
.calc-field { display: block; font-weight: 700; color: var(--navy); margin-bottom: 10px; font-size: .95rem; }
.calc-field input, .calc-field select { display: block; width: 100%; margin-top: 4px; font: inherit; font-weight: 500; padding: 9px 12px; border: 1.5px solid #c7cfdc; border-radius: 8px; background: var(--white); }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc-check { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); margin-bottom: 10px; font-size: .95rem; }
.calc-area { margin: 0; color: #6b7587; font-size: .92rem; }
.calc-result { margin: 14px 16px 12px; padding: 14px; border-radius: 10px; text-align: center; background: linear-gradient(180deg, var(--navy-light), var(--navy-dark)); color: var(--white); }
.cr-label { font-size: .95rem; opacity: .85; }
.cr-range { font-size: 1.9rem; font-weight: 900; line-height: 1.2; margin: 4px 0; }
.cr-avg { font-size: 1.02rem; }
.cr-avg strong { color: #ffd34d; font-size: 1.15rem; }
.calc-cta { margin: 0 16px; text-align: center; }
.calc-disclaimer { margin: 10px 16px 0; font-size: .82rem; color: #6b7587; text-align: center; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .calc { position: static; }
  .price-table td.n { display: none; }
  .price-table th:last-child { display: none; }
}

/* keep the header pinned on every screen size */
.site-header { position: -webkit-sticky; position: sticky; top: 0; }
@media (max-width: 360px) {
  .logo img { width: 96px; }
  .header-phone { font-size: .9rem; padding: 5px 9px; }
  .ribbon { font-size: 1.4rem; padding: 6px 24px 9px; }
}

/* ================= Before & after ================= */
.jobs { padding: 44px 0 46px; background: var(--white); }
.jobs-intro { text-align: center; margin: -8px auto 24px; font-size: 1.08rem; max-width: 760px; }
.jobs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ba-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--gray-line); }
.ba { position: relative; aspect-ratio: 1 / 1; overflow: hidden; user-select: none; touch-action: pan-y; background: #dfe4ec; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-label {
  position: absolute; top: 10px; z-index: 3; pointer-events: none;
  font-family: var(--font); font-weight: 800; font-size: .95rem; color: var(--white);
  padding: 3px 12px; border-radius: 20px;
}
.ba-l-before { left: 10px; background: rgba(8, 28, 64, .85); }
.ba-l-after { right: 10px; background: var(--red); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 3px; margin-left: -1.5px;
  background: var(--white); box-shadow: 0 0 8px rgba(0,0,0,.4); pointer-events: none;
}
.ba-handle span {
  position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5' fill='none' stroke='%23d71920' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 26px; background-position: center; background-repeat: no-repeat;
}
.ba-range {
  position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent;
}
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 100%; cursor: ew-resize; }
.ba-range::-moz-range-thumb { width: 44px; height: 100%; border: 0; cursor: ew-resize; }
.ba-range:focus-visible + .ba-handle, .ba:focus-within .ba-handle span { outline: 3px solid rgba(215,25,32,.5); }
.ba-info { padding: 12px 14px 14px; border-top: 4px solid var(--red); }
.ba-info h3 { font-size: 1.08rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.ba-info p { margin: 0; font-size: .92rem; color: #5a6578; }

@media (max-width: 1100px) { .jobs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .jobs-grid { grid-template-columns: 1fr; } .ba { aspect-ratio: 1 / 1; } }

/* ================= Services dropdown ================= */
.main-nav li.has-sub { position: relative; }
.sub-toggle { display: none; }
.sub-menu {
  position: absolute; top: 100%; right: 0; min-width: 240px; z-index: 60;
  background: var(--white); border-radius: 10px; box-shadow: 0 14px 34px rgba(13,42,92,.22);
  padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.main-nav li.has-sub:hover > .sub-menu, .main-nav li.has-sub:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu li + li { border-right: 0; }
.main-nav .sub-menu a { color: var(--navy); padding: 9px 18px; font-size: 1rem; text-decoration: none; }
.main-nav .sub-menu a:hover, .main-nav .sub-menu a[aria-current="page"] { background: #eef2f8; color: var(--red); }
.main-nav .sub-menu { display: block; flex-direction: column; clip-path: none; background: var(--white); padding: 8px 0; border-radius: 10px; }
.main-nav .sub-menu a { display: block; font-weight: 700; }

/* the nav bar uses clip-path, which would clip the dropdown: draw the slant with a pseudo element instead */
.main-nav > ul { clip-path: none !important; position: relative; background: none !important; }
.main-nav > ul::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 4px;
  background: linear-gradient(90deg, var(--navy-dark), var(--navy));
  clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
}
.main-nav > ul { z-index: 0; isolation: isolate; }

/* service cards are links */
.card-link { display: block; color: inherit; }
.card-link:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }


@media (max-width: 900px) {
  .main-nav > ul::before { clip-path: none; border-radius: 0; background: var(--navy-dark); }
  .main-nav li.has-sub { display: flex; flex-wrap: wrap; align-items: center; }
  .main-nav li.has-sub > a { flex: 1; }
  .sub-toggle {
    display: block; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; position: relative;
  }
  .sub-toggle::before {
    content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px;
    border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: translate(-50%, -70%) rotate(-45deg); transition: transform .2s;
  }
  .sub-toggle[aria-expanded="true"]::before { transform: translate(-50%, -30%) rotate(135deg); }
  .main-nav .sub-menu {
    position: static; width: 100%; min-width: 0; box-shadow: none; border-radius: 0; background: rgba(255,255,255,.06);
    opacity: 1; visibility: visible; transform: none; display: none; padding: 0;
  }
  .main-nav .sub-menu.open { display: block; }
  .main-nav li.has-sub:hover > .sub-menu { display: none; }
  .main-nav li.has-sub > .sub-menu.open { display: block; }
  .main-nav .sub-menu a { color: #dfe6f3; padding: 11px 34px 11px 20px; }
  .main-nav .sub-menu a:hover, .main-nav .sub-menu a[aria-current="page"] { background: rgba(255,255,255,.08); color: #fff; }
}

/* ================= Accessibility ================= */
.skip-link {
  position: absolute; top: -60px; right: 12px; z-index: 200;
  background: var(--navy); color: #fff; font-weight: 800; padding: 10px 18px; border-radius: 0 0 10px 10px;
  transition: top .15s;
}
.skip-link:focus { top: 0; outline: 3px solid #ffd34d; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #ffb400; outline-offset: 2px;
}

.a11y-btn {
  position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 90;
  width: 50px; height: 54px; border: 0; border-radius: 0 14px 14px 0; cursor: pointer;
  background: #0b6e4f; color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.a11y-btn svg { width: 32px; height: 32px; }
.a11y-panel {
  position: fixed; left: 58px; top: 50%; transform: translateY(-50%); z-index: 91;
  width: 280px; max-width: calc(100vw - 74px); background: #fff; color: var(--text);
  border-radius: 16px; box-shadow: 0 18px 44px rgba(0,0,0,.28); padding: 16px; font-family: var(--font);
}
.a11y-panel[hidden] { display: none; }
.a11y-panel h2 { display: flex; justify-content: space-between; align-items: center; font-size: 1.15rem; font-weight: 900; color: #0b6e4f; margin-bottom: 10px; }
.a11y-close { border: 0; background: #eef1f6; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; line-height: 1; color: var(--navy); }
.a11y-size { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.a11y-panel button.opt {
  display: flex; align-items: center; gap: 8px; width: 100%; font: inherit; font-weight: 700; font-size: .98rem;
  padding: 9px 12px; margin-bottom: 6px; border-radius: 10px; border: 2px solid #dfe4ec; background: #f8fafc; color: var(--navy); cursor: pointer; text-align: right;
}
.a11y-size button.opt { justify-content: center; margin: 0; }
.a11y-panel button.opt[aria-pressed="true"] { border-color: #0b6e4f; background: #e6f4ee; }
.a11y-panel button.opt[aria-pressed="true"]::after { content: "✓"; margin-right: auto; color: #0b6e4f; font-weight: 900; }
.a11y-panel .a11y-reset { background: #fff1f1; border-color: #f3c4c6; color: var(--red-dark); }
.a11y-panel a { display: block; text-align: center; margin-top: 6px; color: #0b6e4f; font-weight: 800; text-decoration: underline; }

/* modes */
html.a11y-fs-1 { font-size: 112.5%; }
html.a11y-fs-2 { font-size: 125%; }
html.a11y-fs-3 { font-size: 137.5%; }
html.a11y-links a:not(.btn):not(.header-phone):not(.float-call) { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-links a { outline: 2px dashed #ffb400; outline-offset: 1px; }
html.a11y-font body, html.a11y-font input, html.a11y-font select, html.a11y-font textarea, html.a11y-font button { font-family: Arial, "Heebo", sans-serif !important; letter-spacing: .02em; word-spacing: .08em; }
html.a11y-font p, html.a11y-font li { line-height: 1.85 !important; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-contrast body { background: #000 !important; }
html.a11y-contrast body *:not(svg):not(path):not(circle):not(rect):not(img):not(iframe) {
  background-color: #000 !important; background-image: none !important; color: #fff !important; border-color: #fff !important; text-shadow: none !important; box-shadow: none !important;
}
html.a11y-contrast a, html.a11y-contrast a * { color: #ffe000 !important; }
html.a11y-contrast svg { fill: currentColor; }
html.a11y-contrast img { filter: contrast(1.1); }
html.a11y-contrast .a11y-panel button.opt[aria-pressed="true"] { border-color: #ffe000 !important; }

@media (max-width: 900px) {
  .a11y-btn { top: auto; bottom: 86px; transform: none; width: 44px; height: 48px; }
  .a11y-panel { top: auto; bottom: 86px; transform: none; left: 52px; }
}
@media print { .a11y-btn, .a11y-panel, .skip-link { display: none !important; } }
html.a11y-contrast svg { color: #fff !important; }
html.a11y-contrast .main-nav > ul::before, html.a11y-contrast .ct-hero-bg::after, html.a11y-contrast .hero-bg::after { background: #000 !important; }
html.a11y-contrast .logo img, html.a11y-contrast .ft-logo img, html.a11y-contrast .ct-logo { background: #fff !important; border-radius: 8px; padding: 4px; }
html.a11y-contrast .a11y-btn { background: #ffe000 !important; color: #000 !important; }
html.a11y-contrast .a11y-btn svg { color: #000 !important; }

/* ================= Footer ================= */
.ft { position: relative; background: #061531; color: #c9d3e6; margin-top: 0; }
/* garage-door slats that "open" into the footer */
.ft-door { display: grid; gap: 4px; padding-top: 4px; background: #f3f5f9; }
.ft-door span { display: block; height: 7px; background: linear-gradient(90deg, #0a2149, #16407f 50%, #0a2149); }
.ft-door span:nth-child(2) { opacity: .75; } .ft-door span:nth-child(3) { opacity: .5; } .ft-door span:nth-child(4) { opacity: .3; }

.ft-cta {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 34px; padding: 22px 28px; border-radius: 22px;
  background: linear-gradient(115deg, #e8262d, var(--red-dark) 70%);
  box-shadow: 0 18px 40px rgba(0,0,0,.35); overflow: hidden;
}
.ft-cta::after { /* road marking */
  content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 3px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 26px, transparent 26px 48px);
}
.ft-cta-kicker { margin: 0; font-weight: 800; color: #ffd6d7; }
.ft-cta-title { margin: 2px 0 0; font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 900; color: #fff; line-height: 1.25; }
.ft-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ft-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 40px; font-weight: 900; font-size: 1.1rem; transition: transform .2s; }
.ft-btn:hover { transform: translateY(-2px); }
.ft-btn svg { width: 22px; height: 22px; }
.ft-btn-call { background: #fff; color: var(--red-dark); } .ft-btn-call svg { fill: var(--red); }
.ft-btn-wa { background: #1fa855; color: #fff; } .ft-btn-wa svg { fill: #fff; }

.ft-body { padding: 44px 0 30px; }
.ft-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 34px; }
.ft h2 { color: #fff; font-size: 1.1rem; font-weight: 900; margin: 0 0 14px; position: relative; padding-bottom: 10px; }
.ft h2::after { content: ""; position: absolute; right: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--red); }

.ft-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 8px 12px; transform: rotate(-2deg); }
.ft-logo img { width: 150px; }
.ft-brand p { margin: 16px 0; font-size: .98rem; line-height: 1.7; }
.ft-badges { display: flex; gap: 8px; }
.ft-badges li { flex: 1; text-align: center; padding: 10px 6px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.ft-badges b { display: block; color: #fff; font-size: 1.25rem; font-weight: 900; line-height: 1.1; }
.ft-badges span { font-size: .78rem; color: #9fb0cc; }

.ft-toggle { all: unset; display: flex; align-items: center; justify-content: space-between; width: 100%; cursor: default; }
.ft-chev { width: 20px; height: 20px; display: none; transition: transform .25s; }
.ft-list { display: grid; gap: 4px; }
.ft-list a { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; color: #c9d3e6; transition: color .15s, transform .15s; }
.ft-list a::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: #3a5b93; transform: rotate(45deg); transition: background .15s; }
.ft-list a:hover, .ft-list a[aria-current] { color: #fff; transform: translateX(-4px); }
.ft-list a:hover::before, .ft-list a[aria-current]::before { background: var(--red); }

.ft-contact ul { display: grid; gap: 10px; }
.ft-contact li > a, .ft-contact li > div { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); transition: background .15s, border-color .15s; }
.ft-contact li > a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.ft-ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--red); }
.ft-ic svg { width: 20px; height: 20px; fill: #fff; color: #fff; }
.ft-contact li:nth-child(2) .ft-ic { background: #1fa855; }
.ft-contact li:nth-child(3) .ft-ic, .ft-contact li:nth-child(4) .ft-ic { background: #16407f; }
.ft-contact small { display: block; font-size: .78rem; color: #9fb0cc; }
.ft-contact b { color: #fff; font-weight: 800; }

.ft-bottom { border-top: 1px solid rgba(255,255,255,.08); background: #040f24; }
.ft-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 0; font-size: .92rem; }
.ft-bottom .copy { margin: 0; }
.ft-bottom .copy a:hover, .ft-legal a:hover { color: #fff; text-decoration: underline; }
.ft-legal { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.ft-legal li + li { border-right: 1px solid rgba(255,255,255,.2); padding-right: 16px; }
.ft-top { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 30px; border: 1px solid rgba(255,255,255,.25); color: #fff; font-weight: 700; }
.ft-top svg { width: 20px; height: 20px; }
.ft-top:hover { background: var(--red); border-color: var(--red); }

@media (max-width: 1000px) {
  .ft-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .ft-cta { margin-top: 24px; padding: 20px 18px 26px; border-radius: 18px; text-align: center; justify-content: center; }
  .ft-cta-btns { width: 100%; display: grid; grid-template-columns: 1fr; }
  .ft-btn { justify-content: center; padding: 13px 10px; font-size: 1.1rem; white-space: nowrap; }
  .ft-body { padding: 30px 0 10px; }
  .ft-grid { grid-template-columns: 1fr; gap: 0; }
  .ft-brand { text-align: center; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .ft-logo { transform: none; }
  /* mobile: link columns become accordions */
  .ft-col { border-bottom: 1px solid rgba(255,255,255,.08); }
  .ft-col h2 { margin: 0; padding: 0; }
  .ft-col h2::after { display: none; }
  .ft-toggle { cursor: pointer; padding: 16px 2px; }
  .ft-chev { display: block; }
  .ft-toggle[aria-expanded="true"] .ft-chev { transform: rotate(180deg); }
  html.js .ft-col .ft-list { display: none; padding: 0 2px 14px; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
  html.js .ft-col.open .ft-list { display: grid; }
  .ft-contact { padding-top: 22px; }
  .ft-contact ul { grid-template-columns: 1fr 1fr; }
  .ft-contact li > a, .ft-contact li > div { flex-direction: column; text-align: center; gap: 6px; height: 100%; justify-content: center; }
  .ft-bottom-inner { flex-direction: column; text-align: center; padding: 16px 0 96px; }
  .ft-legal { justify-content: center; }
}
@media (max-width: 389px) {
  html.js .ft-col .ft-list { grid-template-columns: 1fr; }
  .ft-contact ul { grid-template-columns: 1fr; }
  .ft-contact li > a, .ft-contact li > div { flex-direction: row; text-align: right; justify-content: flex-start; }
}
html.a11y-contrast .ft-door { display: none; }
@media print { .ft { display: none; } }

/* home H1: two words per line on desktop, centered on mobile */
.hero-title .t1 { white-space: normal; }
@media (min-width: 901px) {
  .hero-title .t1 { font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1.12; }
}
@media (max-width: 900px) {
  .hero-title .br-desk { display: none; }
  .hero-title, .hero-title .t1, .hero-title .t2 { text-align: center; }
  .hero-title { align-items: center; width: 100%; }
}
