/* ==========================================================================
   Innovative ADAS — site styles
   1. Theme variables   ← change colors / fonts / spacing here
   2. Base
   3. Buttons & shared pieces
   4. Header / nav
   5. Hero
   6. Sections
   7. Form
   8. About
   9. Pricing
   10. Gallery & lightbox
   11. Contact
   12. Footer
   13. I-ADAS Dashboard page (dashboard.html)
   ========================================================================== */

/* 1. Theme variables ------------------------------------------------------ */
:root {
  --bg: #0b0b0d;
  --bg-alt: #111114;
  --surface: #17171b;
  --surface-2: #1f1f24;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #ececef;
  --muted: #a3a3ad;

  --red: #d0142c;          /* brand red (from logo) */
  --red-hover: #e8233c;
  --red-soft: rgba(208, 20, 44, 0.14);

  --chrome: linear-gradient(180deg, #b8b8b8 0%, #f5f5f7 28%, #8a8e91 50%, #d9dde0 56%, #f0f2f3 74%, #7a7e81 100%);

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1200px;
  --container-header: 1360px;   /* header & info bar are a bit wider so the menu fits on one line */
  --header-h: 84px;
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); line-height: 1.15; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.narrow { max-width: 880px; }

/* Metallic "chrome" text, matching the logo lettering */
.chrome {
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--red);
  font: 700 0.8rem/1.2 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* 3. Buttons & shared pieces ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 700 0.95rem/1 var(--font-body);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 20px rgba(208, 20, 44, 0.3); }
.btn-primary:hover { background: var(--red-hover); }
.btn-outline { border-color: var(--border-strong); color: var(--text); background: rgba(255, 255, 255, 0.04); }
.btn-outline:hover { border-color: var(--text); }
.btn-ghost { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--border-strong); }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.btn-block { width: 100%; padding-block: 1.05rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* 4. Header / nav --------------------------------------------------------- */

/* Slim info bar */
.topbar {
  background: #070708;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
}
.topbar-inner { width: min(100% - 2.5rem, var(--container-header)); display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.55rem; }
.topbar ul { display: flex; align-items: center; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.topbar li { display: flex; align-items: center; gap: 0.45rem; }
.topbar a { text-decoration: none; transition: color 0.2s; }
.topbar a:hover { color: var(--text); }
.topbar svg { width: 14px; height: 14px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.topbar-highlight { color: var(--text); font-weight: 600; }
.topbar-highlight::before {     /* green "online" dot */
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

/* Main header: turns more solid + compact once you scroll (.scrolled is added in main.js) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 13, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.site-header::after {           /* thin red accent line along the bottom */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(208, 20, 44, 0.7) 30%, rgba(208, 20, 44, 0.7) 70%, transparent);
}
.site-header.scrolled { background: rgba(11, 11, 13, 0.94); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }

.header-inner {
  width: min(100% - 2.5rem, var(--container-header));
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: height 0.3s;
}
.site-header.scrolled .header-inner { height: 68px; }

.brand { flex: none; display: flex; }
.brand img { height: 52px; width: auto; transition: height 0.3s; }
.site-header.scrolled .brand img { height: 44px; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.site-nav ul a {
  position: relative;
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background-color 0.2s;
}
.site-nav ul a::after {         /* red underline on the current section */
  content: "";
  position: absolute;
  left: 0.7rem; right: 0.7rem; bottom: 0.2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.site-nav ul a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.site-nav ul a.active { color: #fff; }
.site-nav ul a.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 1.25rem; padding-left: 1.75rem; border-left: 1px solid var(--border); }
.header-phone { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; font: 700 0.95rem/1.2 var(--font-body); white-space: nowrap; }
.header-phone small { display: block; color: var(--muted); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.header-phone-icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--red-soft);
  border: 1px solid rgba(208, 20, 44, 0.4);
  transition: background-color 0.2s;
}
.header-phone:hover .header-phone-icon { background: var(--red); }
.header-phone svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }

.nav-toggle { display: none; }

/* Mid-size screens: show just the phone icon to keep everything on one line */
@media (max-width: 1400px) {
  .header-phone > span:last-child { display: none; }
  .nav-actions { padding-left: 1.25rem; gap: 0.9rem; }
  .site-nav { gap: 1.25rem; }
}

/* Phones & tablets: hide info bar */
@media (max-width: 1060px) {
  .topbar { display: none; }
}

/* Small laptops, tablets & phones: switch to hamburger menu */
@media (max-width: 1240px) {
  .brand img, .site-header.scrolled .brand img { height: 42px; }
  .header-inner, .site-header.scrolled .header-inner { height: 68px; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    padding: 11px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    cursor: pointer;
  }
  .nav-toggle span { height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 0.75rem 1.25rem 1.5rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { padding: 0.95rem 0.25rem; border-radius: 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .site-nav ul a:hover { background: none; }
  .site-nav ul a::after { display: none; }
  .site-nav ul a.active { color: var(--red); }

  .nav-actions { flex-direction: column; align-items: stretch; padding: 0; border: 0; }
  .header-phone { justify-content: center; padding: 0.7rem; border: 1px solid var(--border-strong); border-radius: 999px; }
  .header-phone > span:last-child { display: block; }
  .header-phone small { display: none; }
  .header-phone-icon { width: 28px; height: 28px; }
  .nav-actions .btn { padding-block: 0.9rem; font-size: 0.95rem; }
}

/* 5. Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    linear-gradient(90deg, rgba(11, 11, 13, 0.97) 0%, rgba(11, 11, 13, 0.85) 45%, rgba(11, 11, 13, 0.55) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 35%),
    url("../img/hero.jpg") center 60% / cover no-repeat;
}
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); max-width: 16ch; margin-bottom: 1.25rem; }
.hero .lead { max-width: 58ch; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #d4d4d8; }
.hero .lead strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin: 2rem 0 3.5rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0; padding: 0;
  list-style: none;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats li { padding: 1.25rem 1.4rem; background: rgba(23, 23, 27, 0.85); }
.stats strong { display: block; font: italic 800 1.5rem/1.2 var(--font-head); color: #fff; }
.stats span { font-size: 0.85rem; color: var(--muted); }

@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* 6. Sections ------------------------------------------------------------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); margin-bottom: 1rem; }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* 7. Form ----------------------------------------------------------------- */
.form { display: grid; gap: 2rem; padding: clamp(1.25rem, 4vw, 2.5rem); }
.form fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 1.1rem; }
.form legend {
  width: 100%;
  margin-bottom: 1.1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
  font: italic 800 1.05rem/1.3 var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form small { color: var(--muted); font-weight: 400; font-style: normal; text-transform: none; letter-spacing: 0; font-family: var(--font-body); }

.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.88rem; font-weight: 600; }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field ::placeholder { color: #6b6b75; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}
.field select {
  appearance: none;
  padding-right: 2.5rem;
  background: var(--bg) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3a3ad' stroke-width='2'%3e%3cpath d='m6 9 6 6 6-6'/%3e%3c/svg%3e") no-repeat right 0.8rem center / 18px;
}

.drop-zone {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.drop-zone:hover, .drop-zone.dragover { border-color: var(--red); background: var(--red-soft); }
.drop-zone strong { color: var(--text); }
.drop-zone svg { width: 34px; height: 34px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.drop-zone input { display: none; }

.file-list { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.file-list:empty { display: none; }
.file-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.6rem;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.file-list img, .file-list .file-icon { width: 44px; height: 44px; flex: none; border-radius: 6px; object-fit: cover; }
.file-list .file-icon { display: grid; place-items: center; background: var(--bg); font-size: 1.3rem; }
.file-list span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list button {
  width: 28px; height: 28px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
}
.file-list button:hover { background: var(--red); }
#clear-btn { justify-self: start; }

/* Small info note inside a form (e.g. "nothing here is final") */
.form-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  padding: 0.9rem 1.1rem;
  background: var(--surface-2);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.form-note svg { width: 20px; height: 20px; flex: none; margin-top: 0.1rem; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form-note strong { color: var(--text); }

.checkbox { display: flex; align-items: center; gap: 0.65rem; font-size: 0.95rem; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--red); }

/* 8. About ---------------------------------------------------------------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about p { color: #cfcfd6; }
.about-contact { margin-top: 1.75rem; padding: 1.25rem 1.4rem; border-left: 3px solid var(--red); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.about-contact p:last-child { margin: 0; }
.about-contact a { color: #fff; }
.about-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }

@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* 9. Pricing -------------------------------------------------------------- */
/* Big "prices subject to change" warning above the price list */
.price-notice {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.16), rgba(245, 158, 11, 0.05));
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-left: 5px solid #f59e0b;
  border-radius: var(--radius);
}
.price-notice svg { width: 44px; height: 44px; flex: none; fill: none; stroke: #f59e0b; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.price-notice div { flex: 1; }
.price-notice strong { display: block; margin-bottom: 0.25rem; color: #fbbf24; font: italic 900 clamp(1.15rem, 2.2vw, 1.5rem)/1.2 var(--font-head); text-transform: uppercase; }
.price-notice p { margin: 0; color: #f4f4f5; font-size: 1.02rem; }
.price-notice .btn { flex: none; }

@media (max-width: 700px) {
  .price-notice { flex-direction: column; align-items: flex-start; }
  .price-notice .btn { width: 100%; }
}

.price-category { margin-bottom: 3rem; }
.price-category > h3 {
  margin-bottom: 1.25rem;
  font: italic 800 1.3rem/1.2 var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.25rem; }
.price-group { padding: 1.5rem; transition: border-color 0.2s; }
.price-group:hover { border-color: rgba(208, 20, 44, 0.5); }
.price-group h4 {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.price-group ul { margin: 0; padding: 0; list-style: none; }

/* One service line: name + price on top, makes/description below */
.price-item {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--border);
}
.price-item:last-child { border-bottom: 0; padding-bottom: 0; }
.price-item span { font-weight: 600; }
.price-item b { color: #fff; font: 800 1.05rem/1.4 var(--font-head); white-space: nowrap; }
.price-item small { grid-column: 1 / -1; color: var(--muted); font-size: 0.85rem; margin-top: 0.2rem; }

.warranty { padding: clamp(1.5rem, 4vw, 2.25rem); border-left: 3px solid var(--red); }
.warranty h3 { margin-bottom: 1rem; font: italic 800 1.3rem/1.2 var(--font-head); text-transform: uppercase; }
.warranty p { color: #cfcfd6; }
.warranty p:last-child { margin: 0; }

@media (max-width: 420px) { .price-grid { grid-template-columns: 1fr; } }

/* 10. Gallery & lightbox -------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.gallery button {
  position: relative;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  cursor: zoom-in;
}
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.4s ease; }
.gallery button:hover img { transform: scale(1.05); }
.gallery button:hover { border-color: rgba(208, 20, 44, 0.6); }

.lightbox {
  width: 100vw; height: 100vh;
  max-width: none; max-height: none;
  margin: 0; padding: 3.5rem 4rem;
  border: 0;
  background: rgba(0, 0, 0, 0.92);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.6); }
.lightbox img { max-width: 100%; max-height: calc(100vh - 8rem); border-radius: var(--radius-sm); }
.lb-caption { position: absolute; bottom: 1.25rem; left: 0; right: 0; margin: 0; text-align: center; color: var(--muted); font-size: 0.9rem; }
.lb-btn {
  position: absolute;
  width: 48px; height: 48px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: rgba(23, 23, 27, 0.8);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.lb-btn:hover { background: var(--red); border-color: var(--red); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }

@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .lightbox { padding: 4rem 0.75rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; translate: none; }
  .lb-caption { bottom: 1.9rem; }
}

/* 11. Contact ------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-list { margin: 1.5rem 0 0; display: grid; gap: 1.4rem; }
.contact-list dt { color: var(--red); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-list dd { margin: 0.25rem 0 0; font-size: 1.1rem; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--red-hover); }
.hours { border-collapse: collapse; font-size: 0.98rem; }
.hours th { padding: 0.2rem 1.25rem 0.2rem 0; text-align: left; font-weight: 600; white-space: nowrap; }
.hours td { color: var(--muted); }

.map { padding: 0.5rem; overflow: hidden; }
.map iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
  border-radius: var(--radius-sm);
  filter: invert(90%) hue-rotate(180deg);   /* dark-mode map */
}

@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; }
  .map iframe { height: 320px; }
  .hours th, .hours td { display: block; padding: 0; }
  .hours td { margin-bottom: 0.4rem; }
}

/* 12. Footer -------------------------------------------------------------- */
.site-footer { padding: 2rem 0; background: #070708; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.88rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.social { display: flex; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.social svg { width: 22px; height: 22px; fill: currentColor; transition: color 0.2s; }
.social a:hover svg { color: #fff; }

/* 13. I-ADAS Dashboard page ----------------------------------------------- */
/* Hero: dark grid background instead of a photo */
.hero-iadas {
  background:
    radial-gradient(ellipse 70% 60% at 85% 0%, rgba(208, 20, 44, 0.22), transparent 70%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--bg);
}

/* Job board preview (a drawing of the app, not the real thing) */
.board-preview {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.board-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.board-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.board-bar b { margin-left: 0.6rem; color: var(--muted); font-size: 0.8rem; font-weight: 600; }
.board-cols {
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 0.75rem;
  padding: 1rem;
  overflow-x: auto;
}
.board-col { display: grid; align-content: start; gap: 0.6rem; }
.board-col-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.board-col-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--stage); }
.board-col-title span { margin-left: auto; padding: 0 0.45rem; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 0.72rem; }
.job {
  padding: 0.7rem 0.8rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--stage);
  border-radius: var(--radius-sm);
}
.job b { display: block; font-size: 0.88rem; }
.job small { color: var(--muted); font-size: 0.76rem; }
.stage-scrub { --stage: #f59e0b; }
.stage-upcoming { --stage: #3b82f6; }
.stage-progress { --stage: var(--red); }
.stage-completed { --stage: #22c55e; }
.stage-invoiced { --stage: #a3a3ad; }

/* Plan cards */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.plan { position: relative; display: grid; align-content: start; gap: 1.25rem; padding: clamp(1.5rem, 3vw, 2.25rem); }
.plan h3 { font: italic 800 1.4rem/1.2 var(--font-head); text-transform: uppercase; letter-spacing: 0.03em; }
.plan-for { margin: -0.9rem 0 0; color: var(--muted); }
.plan-price { display: flex; align-items: baseline; gap: 0.5rem; margin: 0; }
.plan-price b { font: italic 900 clamp(2.4rem, 4vw, 3rem)/1 var(--font-head); color: #fff; }
.plan-price span { color: var(--muted); font-size: 0.9rem; }
.plan-list { display: grid; gap: 0.7rem; margin: 0; padding: 1.25rem 0 0; border-top: 1px solid var(--border); list-style: none; }
.plan-list li {
  padding-left: 1.75rem;
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d0142c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m5 12 5 5 9-10'/%3e%3c/svg%3e") no-repeat 0 0.3em / 16px;
}

/* Highlighted "most popular" plan */
.plan-featured {
  border-color: rgba(208, 20, 44, 0.7);
  background: linear-gradient(180deg, rgba(208, 20, 44, 0.12), var(--surface) 45%);
  box-shadow: 0 20px 50px rgba(208, 20, 44, 0.18);
}
.plan-badge {
  position: absolute;
  top: 0; left: 50%;
  translate: -50% -50%;
  margin: 0;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan-note { margin: 2rem 0 0; text-align: center; color: var(--muted); }
.plan-note a { color: #fff; }

@media (max-width: 960px) {
  .plan-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; gap: 2rem; }
}

/* Feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.feature { padding: 1.5rem; transition: border-color 0.2s; }
.feature:hover { border-color: rgba(208, 20, 44, 0.5); }
.feature svg {
  width: 44px; height: 44px;
  margin-bottom: 1rem;
  padding: 10px;
  border-radius: 10px;
  background: var(--red-soft);
  border: 1px solid rgba(208, 20, 44, 0.4);
  fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.feature h3 { margin-bottom: 0.5rem; font-size: 1.05rem; font-weight: 800; }
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }

@media (max-width: 420px) { .feature-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 0.75rem; }
.faq details { padding: 0 1.4rem; transition: border-color 0.2s; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--red); font-size: 1.5rem; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding-bottom: 1.25rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
