@charset "utf-8";
/* ==========================================================================
   style.css  |  مكتب النور لتأجير السيارات  |  IWB201 - F25 Assignment
   ملف التنسيق الوحيد للموقع: كل الألوان وأنواع الخطوط معرّفة هنا مرة واحدة.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --ink: #0f2432;
  --ink-2: #17323f;
  --ink-3: #24505f;
  --paper: #f7f4ee;
  --paper-2: #efe9dd;
  --white: #ffffff;
  --line: #e5ddce;
  --line-2: #d5cab5;
  --muted: #586a74;
  --muted-2: #7c8a92;
  --amber: #e8a33d;
  --amber-2: #c9821f;
  --amber-soft: #fbf0da;
  --ok: #1d7a4f;
  --ok-soft: #e8f3ec;
  --err: #b3261e;
  --err-soft: #fbeae7;

  --font-body: "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --font-head: "Noto Kufi Arabic", "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;

  --radius-lg: 26px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 36, 50, 0.05);
  --shadow: 0 14px 40px -18px rgba(15, 36, 50, 0.28);
  --shadow-lg: 0 30px 70px -30px rgba(15, 36, 50, 0.45);
  --wrap: 1150px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--paper);
  text-align: right;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
legend {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.18rem; }
h4 { font-size: 1.02rem; }

p { color: var(--muted); }

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover { color: var(--amber-2); }

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

ul, ol { list-style: none; }

table { border-collapse: collapse; width: 100%; }

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(232, 163, 61, 0.55);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 74px 0; }
.section-tight { padding: 46px 0; }

.section-head {
  max-width: 640px;
  margin-bottom: 38px;
}

.section-head h2 { margin: 12px 0 12px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--amber-2);
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--amber);
  display: inline-block;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.9;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-holder {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 0;
  overflow: visible;
}

.skip-link {
  position: absolute;
  top: -60px;
  right: 18px;
  z-index: 99;
  background: var(--ink);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s ease;
}

.skip-link:focus { top: 0; color: var(--white); }

.ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   4. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 244, 238, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(15, 36, 50, 0.5);
  background: rgba(250, 248, 243, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  display: inline-block;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: background 0.18s ease, color 0.18s ease;
}

.nav a:hover { background: var(--paper-2); color: var(--ink); }

.nav a.is-active {
  background: var(--ink);
  color: var(--white);
}

.nav a.nav-cta {
  background: var(--amber);
  color: var(--ink);
  padding: 9px 19px;
  box-shadow: 0 6px 16px -10px rgba(201, 130, 31, 0.8);
}

.nav a.nav-cta:hover { background: var(--amber-2); color: var(--white); }

.nav a.is-active:hover { color: var(--white); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, box-shadow 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 12px 26px -16px rgba(201, 130, 31, 0.9);
}

.btn-primary:hover {
  background: var(--amber-2);
  color: var(--white);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 26px -16px rgba(15, 36, 50, 0.9);
}

.btn-dark:hover { background: var(--ink-3); color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}

.btn-ghost:hover {
  background: var(--paper-2);
  border-color: var(--ink);
  color: var(--ink);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.btn-light:hover { background: var(--paper-2); color: var(--ink); }

.btn-sm { padding: 9px 18px; font-size: 0.88rem; }

.btn-block { width: 100%; }

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-icon { font-size: 1.05em; line-height: 1; }

/* --------------------------------------------------------------------------
   6. Hero (home)
   -------------------------------------------------------------------------- */
.hero { padding: 34px 0 0; }

.hero-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 30px;
  align-items: center;
  padding: 58px 56px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(232, 163, 61, 0.22), transparent 60%),
    radial-gradient(700px 500px at 8% 110%, rgba(36, 80, 95, 0.55), transparent 65%),
    linear-gradient(160deg, #102a38 0%, #0f2432 55%, #0b1c27 100%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 100% 46px;
  opacity: 0.55;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

.hero-copy { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #f3e6cf;
  margin-bottom: 22px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4cc38a;
  box-shadow: 0 0 0 4px rgba(76, 195, 138, 0.18);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.24;
  font-size: clamp(1.95rem, 3.55vw, 2.95rem);
}

.hero h1 em {
  font-style: normal;
  color: var(--amber);
  position: relative;
  white-space: nowrap;
}

.hero p {
  color: rgba(247, 244, 238, 0.78);
  font-size: 1.04rem;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-actions .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-meta-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(247, 244, 238, 0.72);
}

.hero-meta-item strong {
  font-family: var(--font-head);
  font-size: 1.12rem;
  color: var(--white);
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 470px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #eef1f2 100%);
  padding: 22px 20px 18px;
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.7);
  transform: rotate(-1.4deg);
}

.hero-card img { width: 100%; }

.hero-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid #e2e6e8;
  margin-top: 4px;
}

.hero-card-foot .name {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--ink);
}

.hero-card-foot .price {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-card-foot .price b {
  font-size: 1rem;
  color: var(--ink);
}

.chip-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 18px 32px -20px rgba(0, 0, 0, 0.55);
}

.chip-float.top { top: -14px; left: -12px; transform: rotate(2deg); }
.chip-float.bottom { bottom: -14px; left: -10px; transform: rotate(-2deg); }

.chip-float .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f9e6b;
}

/* --------------------------------------------------------------------------
   7. Stats strip
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}

.stat-num {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.stat-num span { color: var(--amber-2); font-size: 1rem; }

.stat-label {
  font-size: 0.84rem;
  color: var(--muted-2);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   8. Feature cards
   -------------------------------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--amber-soft);
  margin-bottom: 18px;
}

.feature h3 { margin-bottom: 6px; }
.feature p { font-size: 0.94rem; line-height: 1.8; }

/* --------------------------------------------------------------------------
   9. Fleet cards
   -------------------------------------------------------------------------- */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.car-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.car-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.car-card-figure {
  position: relative;
  background: linear-gradient(180deg, #fbfaf7 0%, #f0ede5 100%);
  padding: 18px 14px 6px;
  border-bottom: 1px solid var(--line);
}

.car-card-figure img { width: 100%; }

.car-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 36, 50, 0.86);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
}

.car-card-body { padding: 18px 20px 20px; }

.car-card-body h3 { font-size: 1.05rem; }

.car-card-sub {
  font-size: 0.8rem;
  color: var(--muted-2);
  margin-bottom: 14px;
}

.car-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.car-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
}

.car-price small {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--muted-2);
}

.car-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--amber-2);
}

/* --------------------------------------------------------------------------
   10. Assignment / group panel
   -------------------------------------------------------------------------- */
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 26px 30px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fffdf8, #faf7f0);
}

.panel-head h2 { font-size: 1.35rem; margin: 0; }

.panel-head .badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--amber-soft);
  border: 1px solid #f0dbb0;
  padding: 5px 12px;
  border-radius: 999px;
}

.panel-body { padding: 28px 30px 32px; }

.panel-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
}

.team-table { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }

.team-table th,
.team-table td {
  padding: 11px 14px;
  font-size: 0.88rem;
  text-align: right;
  border-bottom: 1px solid var(--line);
}

.team-table th {
  background: #faf8f3;
  font-family: var(--font-head);
  font-size: 0.78rem;
  color: var(--ink-2);
  font-weight: 700;
}

.team-table tr:last-child td { border-bottom: 0; }

.team-table td.id { color: var(--muted); font-size: 0.82rem; }

.team-table .en {
  display: block;
  font-size: 0.74rem;
  color: var(--muted-2);
  direction: ltr;
  text-align: right;
}

.info-list { display: grid; gap: 16px; }

.info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.info-item img { width: 26px; height: 26px; margin-top: 4px; flex-shrink: 0; }

.info-item .label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

.info-item .value {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.7;
  word-break: break-word;
}

.info-item .value a { border-bottom: 1px dashed var(--line-2); }

.note-box {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--amber-soft);
  border: 1px solid #f2e0bd;
  font-size: 0.86rem;
  color: #6b5227;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   11. Call-to-action band
   -------------------------------------------------------------------------- */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 44px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(232, 163, 61, 0.24), transparent 60%),
    linear-gradient(120deg, #102a38, #0b1d28);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: rgba(247, 244, 238, 0.72); max-width: 52ch; }

/* --------------------------------------------------------------------------
   12. Page head (inner pages)
   -------------------------------------------------------------------------- */
.page-head {
  padding: 46px 0 10px;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted-2);
  margin-bottom: 18px;
}

.crumbs a { color: var(--muted-2); }
.crumbs a:hover { color: var(--amber-2); }
.crumbs .sep { color: var(--line-2); }

.page-head h1 { margin-bottom: 12px; }

.page-head .lead { max-width: 62ch; }

/* --------------------------------------------------------------------------
   13. About page
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 34px;
  align-items: start;
}

.story p + p { margin-top: 14px; }

.story h2 { margin-bottom: 16px; }

.fact-card {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-lg);
}

.fact-card h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.fact-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: rgba(247, 244, 238, 0.74);
}

.fact-row:last-child { border-bottom: 0; }

.fact-row b {
  font-family: var(--font-head);
  color: var(--amber);
  font-size: 1.02rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.contact-card img { width: 26px; height: 26px; margin-bottom: 12px; }

.contact-card .label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}

.contact-card .value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
  margin-top: 2px;
  word-break: break-word;
}

.table-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.branches th,
.branches td {
  padding: 15px 18px;
  text-align: right;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.branches thead th {
  background: #faf8f3;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-2);
}

.branches tbody tr:hover { background: #fcfaf5; }
.branches tbody tr:last-child td { border-bottom: 0; }

.branches .muted { color: var(--muted); font-size: 0.84rem; }

.status {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.status-open { background: var(--ok-soft); color: var(--ok); }
.status-late { background: var(--amber-soft); color: #8a641d; }

.faq { display: grid; gap: 10px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.is-open {
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  text-align: right;
  padding: 17px 20px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.faq-q .plus {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease;
}

.faq-item.is-open .faq-q .plus {
  transform: rotate(45deg);
  background: var(--amber);
}

.faq-a {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.85;
}

/* --------------------------------------------------------------------------
   14. Cars page
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 26px 0 30px;
}

.step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.step-num {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
}

.step.is-active { border-color: var(--amber); background: #fffdf8; }
.step.is-active .step-num { background: var(--amber); color: var(--ink); }

.step-text { font-size: 0.86rem; font-weight: 600; color: var(--ink-2); }

.cars-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.cars-toolbar .hint {
  font-size: 0.83rem;
  color: var(--muted-2);
}

.toolbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.link-btn {
  background: transparent;
  border: 0;
  padding: 4px 2px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--amber-2);
  cursor: pointer;
  border-bottom: 1px dashed currentColor;
}

.link-btn:hover { color: var(--ink); }

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.cars-table { min-width: 860px; }

.cars-table caption {
  text-align: right;
  padding: 16px 20px;
  font-size: 0.82rem;
  color: var(--muted-2);
  border-bottom: 1px solid var(--line);
  background: #fcfaf6;
}

.cars-table thead th:nth-child(1) { width: 112px; }
.cars-table thead th:nth-child(3) { width: 92px; }
.cars-table thead th:nth-child(4) { width: 128px; }
.cars-table thead th:nth-child(5) { width: 118px; }
.cars-table thead th:nth-child(6) { width: 92px; }
.cars-table thead th:nth-child(7) { width: 176px; }

.cars-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: right;
  padding: 14px 16px;
  white-space: nowrap;
}

.cars-table thead th.center,
.cars-table td.center { text-align: center; }

.cars-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font-size: 0.92rem;
}

.cars-table tbody tr.car-row { transition: background 0.18s ease; }
.cars-table tbody tr.car-row:hover { background: #fcfaf5; }
.cars-table tbody tr.is-selected { background: #fffaf0; }
.cars-table tbody tr.is-selected:hover { background: #fff6e6; }

.car-thumb {
  width: 148px;
  border-radius: 10px;
  background: #f4f1ea;
  padding: 4px;
}

.car-thumb img { width: 100%; height: auto; }

.code {
  font-family: "Noto Sans Mono", "Consolas", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  background: var(--paper-2);
  padding: 3px 8px;
  border-radius: 6px;
  direction: ltr;
  display: inline-block;
  white-space: nowrap;
}

.model-name { font-weight: 700; color: var(--ink); }
.model-type { display: block; font-size: 0.74rem; color: var(--muted-2); font-weight: 400; }

.year { color: var(--muted); }

.price-cell { white-space: nowrap; }
.price-cell b {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--ink);
}
.price-cell span { font-size: 0.74rem; color: var(--muted-2); display: block; }

/* custom checkbox */
.check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  user-select: none;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-2);
}

.check input {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid var(--line-2);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  position: relative;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.check input:hover { border-color: var(--amber); }

.check input:checked {
  background: var(--amber);
  border-color: var(--amber);
}

.check input:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 6px;
  width: 5px;
  height: 10px;
  border: solid var(--ink);
  border-width: 0 0 2.5px 2.5px;
  transform: rotate(-45deg);
}

.check input:focus-visible { outline: 3px solid rgba(232, 163, 61, 0.5); outline-offset: 2px; }

.check.is-on { color: var(--ink); }

/* details row */
.details-row { display: none; }
.details-row.is-open { display: table-row; }
.details-row td {
  padding: 0 16px 18px !important;
  background: #fffaf0;
  border-bottom: 1px solid var(--line) !important;
}

.details-inner {
  border: 1px solid #f0e3c8;
  border-radius: 12px;
  background: var(--white);
  padding: 16px 18px;
}

.details-title {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.details-title::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 2px;
  display: inline-block;
}

.specs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.specs li {
  background: #faf8f3;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 12px;
}

.spec-key {
  display: block;
  font-size: 0.7rem;
  color: var(--muted-2);
  margin-bottom: 1px;
}

.spec-val { font-size: 0.85rem; font-weight: 600; color: var(--ink); }

/* selection bar */
.selection-bar {
  position: sticky;
  bottom: 16px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(15, 36, 50, 0.96);
  color: var(--white);
  box-shadow: 0 24px 44px -24px rgba(15, 36, 50, 0.8);
  backdrop-filter: blur(8px);
}

.selection-info {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(247, 244, 238, 0.8);
}

.selection-info b {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--amber);
}

.selection-info .divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.2);
}

.selection-actions { display: flex; gap: 8px; align-items: center; }

.selection-bar .btn-primary { padding: 10px 22px; }
.selection-bar .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}
.selection-bar .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.form-alert {
  display: none;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 0;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--err-soft);
  border: 1px solid #f1c9c2;
  color: #8c221b;
  font-size: 0.88rem;
  line-height: 1.7;
}

.form-alert.is-visible { display: flex; }

.form-alert strong { font-weight: 700; }

/* --------------------------------------------------------------------------
   15. Booking form
   -------------------------------------------------------------------------- */
.booking {
  display: none;
  margin-top: 44px;
  scroll-margin-top: 100px;
}

.booking.is-open { display: block; }

.booking-head { margin-bottom: 22px; }

.booking-head h2 { margin-bottom: 6px; }

.booking-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.form-section {
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 26px 30px 30px;
  margin: 0;
}

.form-section:last-of-type { border-bottom: 0; }

.form-section legend {
  float: right;
  width: auto;
  padding: 0;
  margin-bottom: 16px;
  font-size: 1.02rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section legend .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
}

.form-section legend .opt {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted-2);
  background: var(--paper-2);
  padding: 2px 8px;
  border-radius: 999px;
}

.form-grid {
  clear: both;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }

.field label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-2);
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.field label .req {
  color: var(--err);
  font-size: 0.9rem;
  line-height: 1;
}

.field label .optional {
  font-weight: 400;
  font-size: 0.74rem;
  color: var(--muted-2);
}

.input,
.field input[type="text"] {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--line-2);
  border-radius: 11px;
  background: #fdfcf9;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  -webkit-appearance: none;
  appearance: none;
}

.input:hover,
.field input[type="text"]:hover { border-color: #bfb39c; }

.input::placeholder,
.field input[type="text"]::placeholder {
  color: #a9b3b9;
  opacity: 1;
}

.input:focus,
.field input[type="text"]:focus {
  outline: none;
  border-color: var(--amber);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(232, 163, 61, 0.16);
}

.field.has-error input[type="text"] {
  border-color: var(--err);
  background: #fffafa;
}

.field.has-error input[type="text"]:focus {
  box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.12);
}

.field.is-valid input[type="text"] { border-color: #7bbf9b; }

.hint-spaced { margin-top: 10px; }

.hint {
  font-size: 0.76rem;
  color: var(--muted-2);
  line-height: 1.6;
}

.error-msg {
  display: none;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--err);
  line-height: 1.6;
}

.error-msg.is-visible { display: block; }

/* date inputs */
input[type="date"] {
  direction: ltr;
  text-align: left;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
}

/* live summary inside the form */
.picked {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.picked-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-soft);
  border: 1px solid #f0dbb0;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #6b5227;
}

.picked-item .x {
  font-family: var(--font-body);
  color: #a67c2e;
  font-size: 0.95rem;
  line-height: 1;
}

.picked-empty { font-size: 0.85rem; color: var(--muted-2); }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 30px 26px;
  background: #fcfaf6;
  border-top: 1px solid var(--line);
}

.form-actions .note {
  font-size: 0.78rem;
  color: var(--muted-2);
  max-width: 46ch;
  line-height: 1.7;
}

.form-actions .buttons { display: flex; gap: 10px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   16. Result dialog
   -------------------------------------------------------------------------- */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(9, 22, 30, 0.62);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 22px;
  overflow-y: auto;
}

.overlay.is-open { display: flex; align-items: flex-start; justify-content: center; }

.dialog {
  width: 100%;
  max-width: 700px;
  margin: 4vh auto;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 24px 28px 20px;
  background:
    radial-gradient(500px 220px at 90% -20%, rgba(232, 163, 61, 0.22), transparent 60%),
    linear-gradient(140deg, #102a38, #0d202b);
  color: var(--white);
}

.dialog-head h2 { color: var(--white); font-size: 1.3rem; margin-bottom: 2px; }
.dialog-head p { color: rgba(247, 244, 238, 0.7); font-size: 0.84rem; }

.dialog-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.16s ease;
}

.dialog-close:hover { background: rgba(255, 255, 255, 0.2); }

.dialog-body { padding: 24px 28px 8px; }

.summary-table th,
.summary-table td {
  padding: 10px 8px;
  font-size: 0.86rem;
  text-align: right;
  border-bottom: 1px solid var(--line);
}

.summary-table th {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted-2);
  background: #fbf9f4;
}

.summary-table td.num,
.summary-table th.num { text-align: left; direction: ltr; unicode-bidi: isolate; }

.summary-table tbody tr:last-child td { border-bottom: 0; }

.totals {
  margin-top: 18px;
  background: #fbf9f4;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
}

.total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: 0.88rem;
  color: var(--muted);
  border-bottom: 1px dashed var(--line);
}

.total-row:last-child { border-bottom: 0; }

.total-row b { color: var(--ink); font-weight: 700; }

.total-row.grand {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
  border-bottom: 0;
  font-size: 1rem;
  color: var(--ink);
}

.total-row.grand b {
  font-family: var(--font-head);
  font-size: 1.3rem;
}

.discount-note {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ok-soft);
  border: 1px solid #cbe5d7;
  color: #1a5d3d;
  font-size: 0.82rem;
}

.discount-note.is-off {
  background: #f7f5ef;
  border-color: var(--line);
  color: var(--muted);
}

.dialog-meta {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  font-size: 0.82rem;
  color: var(--muted);
}

.dialog-meta b { color: var(--ink); font-weight: 600; }

.dialog-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  padding: 18px 28px 24px;
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: 80px;
  background: #0c1f29;
  color: rgba(247, 244, 238, 0.7);
  padding: 56px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 34px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand img { width: 40px; height: 40px; border-radius: 12px; }

.footer-brand .t {
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
}

.footer-brand .s { font-size: 0.72rem; color: rgba(247, 244, 238, 0.55); }

.site-footer p { color: rgba(247, 244, 238, 0.58); font-size: 0.86rem; line-height: 1.85; max-width: 40ch; }

.footer-title {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.footer-list { display: grid; gap: 9px; }

.footer-list a,
.footer-list span {
  color: rgba(247, 244, 238, 0.7);
  font-size: 0.86rem;
}

.footer-list a:hover { color: var(--amber); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 20px;
  font-size: 0.78rem;
  color: rgba(247, 244, 238, 0.45);
}

.to-top-holder {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
}

.to-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 30px -16px rgba(15, 36, 50, 0.9);
  font-size: 1.05rem;
}

.to-top.is-visible { display: inline-flex; }

/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-panel { padding: 44px 34px; gap: 26px; }
  .grid-3, .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .panel-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .specs { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .header-inner { flex-wrap: wrap; padding: 10px 0; gap: 6px; }
  .nav { width: 100%; justify-content: flex-start; gap: 2px; }
  .nav a { padding: 7px 10px; font-size: 0.82rem; }
  .nav a.nav-cta { padding: 7px 14px; }
  .hero-panel { grid-template-columns: 1fr; padding: 38px 26px; }
  .hero-visual { order: -1; }
  .hero-card { transform: none; max-width: 360px; }
  .chip-float { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-section { padding: 22px; }
  .form-actions { padding: 18px 22px 22px; }
  .dialog-head, .dialog-body, .dialog-foot { padding-left: 20px; padding-right: 20px; }
  .selection-bar { border-radius: 18px; position: static; }
  .section { padding: 54px 0; }
  .cta-band { padding: 30px 26px; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .grid-3, .fleet-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 16px; }
  .hero-panel { padding: 30px 20px; }
  .hero-actions { flex-direction: column; }
  .specs { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .panel-head, .panel-body { padding: 20px; }
  .team-table th, .team-table td { padding: 9px 10px; }
  .team-table .en { font-size: 0.68rem; }
  .form-actions .buttons { width: 100%; }
  .form-actions .buttons .btn { flex: 1 1 auto; }
  .dialog { margin: 2vh auto; }
  .dialog-meta { grid-template-columns: 1fr; }
  .to-top-holder { right: 14px; bottom: 14px; }
}

/* --------------------------------------------------------------------------
   19. Motion preferences & print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  @page { size: A4; margin: 14mm; }

  html { background: #fff !important; }
  body { background: #fff; font-size: 11.5pt; }
  .site-header, .site-footer, .to-top-holder, .site-footer,
  .cars-toolbar, .page-head, .cta-band, .steps, .selection-bar,
  .dialog-foot, .dialog-close, .form-alert {
    display: none !important;
  }

  body.has-result #main { display: none !important; }

  .overlay { position: static !important; background: none !important; padding: 0 !important; }
  body.has-result .overlay.is-open { display: block !important; }

  .dialog {
    box-shadow: none !important;
    border-radius: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  .dialog-head {
    background: none !important;
    color: #000 !important;
    padding: 0 0 8px !important;
    border-bottom: 2px solid #102635;
  }
  .dialog-head h2 { color: #000 !important; }
  .dialog-head p { color: #444 !important; }

  .dialog-body { padding: 14px 0 0 !important; }
  .summary-table th { background: #f1efe9 !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .summary-table, .totals { page-break-inside: avoid; }
  .totals { border: 1px solid #cfc7b7 !important; }
  .discount-note { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
