/* =========================================================================
   Car Recovery Dubai — styles.css
   Single stylesheet for the whole site.
   Sections:  1. Tokens  2. Base  3. Header / Nav  4. Bottom bar
              5. Buttons  6. Hero  7. Sections & components
              8. Forms  9. Footer  10. Admin  11. Responsive
   ========================================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  --ink: #2c2c2b;
  --muted: #7d7a75;
  --canvas: #ffffff;
  --soft: #f9f8f7;
  --soft-2: #f0efed;
  --border: #e6e5e3;

  --navy: #12213a;          /* brand dark */
  --navy-2: #1b2e4d;
  --navy-soft: #eaeef4;

  --red: #c8322a;           /* primary CTA / call */
  --red-dark: #a82720;
  --red-soft: #fbeceb;
  --green: #0f8a43;         /* whatsapp */
  --green-dark: #0b6e35;
  --amber: #d5803b;

  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.06), 0 12px 32px rgba(0, 0, 0, 0.08);

  --wrap: 1120px;
  --header-h: 72px;
  --bar-h: 62px;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* clip the off-canvas mobile drawer so it can never create a sideways scroll */
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  /* room for the fixed bottom contact bar */
  padding-bottom: var(--bar-h);
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  margin: 0 0 12px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
}
h1 { font-size: 44px; }
h2 { font-size: 32px; }
h3 { font-size: 21px; }
h4 { font-size: 17px; }
p { margin: 0 0 16px; }

ul { margin: 0 0 16px; padding-left: 20px; }
li { margin-bottom: 8px; }

:focus-visible {
  outline: 3px solid #2783de;
  outline-offset: 2px;
  border-radius: 4px;
}

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

.section { padding: 64px 0; }
.section--soft { background: var(--soft); }
.section--tight { padding: 48px 0; }

.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); margin: 0; font-size: 17px; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.lede { font-size: 18px; color: var(--muted); }

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 200;
  background: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ---------- 3. Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #fff;
  /* NOTE: do not add backdrop-filter/transform/filter here \u2014 it would make the
     header a containing block and trap the fixed mobile drawer inside it. */
  border-bottom: 1px solid var(--border);
}
.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-weight: 800; font-size: 17px; color: var(--navy); }
.logo-sub { font-size: 11px; color: var(--muted); letter-spacing: 0.02em; }

/* Desktop nav */
.nav { margin-left: auto; }
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.nav-list > li { margin: 0; position: relative; }
.nav-link {
  display: block;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--radius);
}
.nav-link:hover { background: var(--soft-2); text-decoration: none; }
.nav-link[aria-current="page"] { color: var(--red); }

.has-dropdown > .nav-link::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
}
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 268px;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li { margin: 0; }
.dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
}
.dropdown a:hover { background: var(--soft-2); text-decoration: none; }

.header-cta { margin-left: 8px; }

/* Hamburger + mobile drawer */
.nav-toggle,
.nav-close {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--navy);
  align-items: center;
  justify-content: center;
  padding: 0;
}
.nav-toggle svg, .nav-close svg { width: 22px; height: 22px; }

/* Drawer-only chrome: hidden on desktop, shown inside the mobile drawer */
.nav-head,
.nav-drawer-cta { display: none; }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 33, 58, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
  z-index: 940;
}
body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }

/* ---------- 4. Fixed bottom contact bar ---------- */
.contact-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;           /* above everything */
  display: flex;
  min-height: var(--bar-h);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.18);
  padding-bottom: env(safe-area-inset-bottom);
}
.contact-bar__half {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--bar-h);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: filter 0.15s ease;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.15);
}
.contact-bar__half:hover { text-decoration: none; filter: brightness(1.08); }
.contact-bar__half:active { filter: brightness(0.92); }
.contact-bar__half svg { width: 22px; height: 22px; flex: 0 0 22px; fill: currentColor; }
.contact-bar__half small {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  opacity: 0.85;
  letter-spacing: 0.02em;
}
.contact-bar__whatsapp {
  background: var(--green);
  border-right: 1px solid rgba(255, 255, 255, 0.4);  /* thin divider */
}
.contact-bar__call { background: var(--red); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-2); }
.btn--whatsapp { background: var(--green); color: #fff; }
.btn--whatsapp:hover { background: var(--green-dark); }
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn--outline { background: #fff; color: var(--navy); border-color: var(--border); }
.btn--outline:hover { background: var(--soft-2); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--navy);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 20, 36, 0.93) 0%,
    rgba(10, 20, 36, 0.82) 45%,
    rgba(10, 20, 36, 0.55) 100%
  );
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding: 88px 0 72px;
  max-width: 720px;
}
.hero h1 { color: #fff; font-size: 52px; }
.hero p { color: rgba(255, 255, 255, 0.86); font-size: 18px; max-width: 620px; }
.hero .eyebrow { color: #ffb4ad; }
.hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}
.hero__phone svg { width: 18px; height: 18px; flex: 0 0 18px; fill: currentColor; }
.hero__phone strong { color: #fff; font-size: 19px; letter-spacing: 0.01em; }
.hero__phone a { color: #fff; }

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
}
.badge-live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.25);
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  color: #fff;
  background: var(--navy);
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 20, 36, 0.9) 0%,
    rgba(10, 20, 36, 0.72) 100%
  );
}
.page-hero__inner { position: relative; z-index: 1; padding: 56px 0; max-width: 760px; }
.page-hero h1 { color: #fff; font-size: 40px; }
.page-hero p { color: rgba(255, 255, 255, 0.85); margin-bottom: 0; }
.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 14px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
}
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }
.breadcrumb a { color: rgba(255, 255, 255, 0.85); }

/* ---------- 7. Sections & components ---------- */

/* Trust stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat { background: #fff; padding: 26px 22px; }
.stat__num {
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat__label { font-size: 14px; color: var(--muted); margin: 0; }

/* Generic card grids */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Service card */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.card:hover {
  border-color: #d8d6d3;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.card__media { aspect-ratio: 16 / 10; background: var(--soft-2); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 19px; margin-bottom: 8px; }
.card__body p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.card__link {
  margin-top: auto;
  font-weight: 700;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card__link::after { content: "\2192"; transition: transform 0.15s ease; }
.card:hover .card__link::after { transform: translateX(3px); }

/* Icon feature tile */
.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.feature__icon svg { width: 22px; height: 22px; fill: currentColor; }
.feature h3 { font-size: 17.5px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }

/* Split (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split__media img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  font-size: 15.5px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e8f1ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2346a171'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}
.check-list li strong { display: block; color: var(--navy); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  display: grid;
  place-items: center;
}
.step h3 { font-size: 17.5px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* Testimonials */
.quote {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.quote__stars { color: var(--amber); font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.quote p { font-size: 15.5px; margin-bottom: 18px; }
.quote__who { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy-soft);
  color: var(--navy);
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.quote__name { font-weight: 700; font-size: 14.5px; color: var(--navy); }
.quote__meta { font-size: 13px; color: var(--muted); }

/* Callout / CTA band */
.cta-band {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; font-size: 27px; }
.cta-band p { color: rgba(255, 255, 255, 0.82); margin: 0; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Pills / coverage tags */
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.pill-list li { margin: 0; }
.pill {
  display: inline-block;
  padding: 7px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink);
}

/* Prose (service / about body copy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin-top: 28px; }
.prose p, .prose li { font-size: 16.5px; }

.layout-2col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
.panel {
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.panel h3 { font-size: 17.5px; }
.panel p { font-size: 14.5px; color: var(--muted); }
.panel--dark { background: var(--navy); border-color: var(--navy); }
.panel--dark h3, .panel--dark strong { color: #fff; }
.panel--dark p { color: rgba(255, 255, 255, 0.8); }
.panel__phone {
  display: block;
  font-size: 21px;
  font-weight: 800;
  color: #fff;
  margin: 4px 0 16px;
}
.panel__phone:hover { text-decoration: none; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links li { margin: 0; border-bottom: 1px solid var(--border); }
.side-links li:last-child { border-bottom: 0; }
.side-links a {
  display: block;
  padding: 10px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
.side-links a:hover { color: var(--red); text-decoration: none; }
.side-links a[aria-current="page"] { color: var(--red); }

/* Service hero image */
.service-image {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 32px;
}

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--soft-2);
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  padding: 12px 14px;
  font-size: 14px;
  color: var(--muted);
  background: #fff;
}

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 18px;
  background: #fff;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--red); font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 16px; color: var(--muted); font-size: 15.5px; }

/* Map */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  line-height: 0;
  background: var(--soft-2);
}
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* Contact method rows */
.contact-rows { list-style: none; padding: 0; margin: 0; }
.contact-rows li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  margin: 0;
}
.contact-rows li:last-child { border-bottom: 0; }
.contact-rows .ico {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 10px;
  background: var(--navy-soft);
  color: var(--navy);
  display: grid;
  place-items: center;
}
.contact-rows .ico svg { width: 20px; height: 20px; fill: currentColor; }
.contact-rows dt, .contact-rows .label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}
.contact-rows .value { font-size: 16.5px; font-weight: 600; color: var(--navy); }
.contact-rows .value a { color: var(--navy); }
.contact-rows .note { font-size: 14px; color: var(--muted); }

/* ---------- 8. Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.field .hint { font-weight: 500; color: var(--muted); font-size: 13px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d9d7d4;
  border-radius: var(--radius);
  min-height: 46px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: #2783de; outline: none; box-shadow: 0 0 0 3px #e5f2fc; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
}
.form-status.is-visible { display: block; }
.form-status.is-success { background: #e8f1ec; color: #1d6b45; }
.form-status.is-error { background: #fce9e7; color: #a3372c; }

/* ---------- 9. Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 0;
  font-size: 15px;
}
.site-footer h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 16px;
}
.site-footer a { color: rgba(255, 255, 255, 0.75); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-logo { margin-bottom: 16px; }
.footer-logo .logo-name { color: #fff; }
.footer-logo .logo-sub { color: rgba(255, 255, 255, 0.6); }
.footer-logo .logo-mark { background: rgba(255, 255, 255, 0.14); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: #fff;
}
.socials a:hover { background: rgba(255, 255, 255, 0.2); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13.5px;
}
.footer-bottom p { margin: 0; }

/* ---------- 10. Admin page ---------- */
.admin-body { background: var(--soft); }
.admin-shell { max-width: 960px; margin: 0 auto; padding: 40px 24px 64px; }
.admin-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.admin-login { max-width: 420px; margin: 8vh auto; }
.slot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.slot {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}
.slot__preview {
  aspect-ratio: 16 / 10;
  background: var(--soft-2);
  overflow: hidden;
}
.slot__preview img { width: 100%; height: 100%; object-fit: cover; }
.slot__body { padding: 16px; }
.slot__name { font-weight: 700; color: var(--navy); font-size: 15.5px; margin-bottom: 2px; }
.slot__path { font-family: Menlo, Consolas, monospace; font-size: 12.5px; color: var(--muted); word-break: break-all; }
.slot__actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.slot input[type="file"] { display: none; }
.tag-custom {
  display: none;
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--green);
}
.slot.is-custom .tag-custom { display: block; }
.notice {
  background: #fbebde;
  border: 1px solid #f0d3b6;
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 14.5px;
  margin-bottom: 24px;
}
.notice strong { color: var(--navy); }

/* ---------- 11. Responsive ---------- */
@media (max-width: 1024px) {
  h1 { font-size: 38px; }
  .hero h1 { font-size: 42px; }
  .layout-2col { grid-template-columns: 1fr; gap: 40px; }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  /* Mobile navigation drawer */
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-cta { display: none; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 88vw);
    background: #fff;
    z-index: 950;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.28s ease, visibility 0.28s ease;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    margin: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.nav-open .nav { transform: translateX(0); visibility: visible; }

  .nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
  }
  .nav-close { display: inline-flex; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 12px 16px;
  }
  .nav-list > li { border-bottom: 1px solid var(--border); }
  .nav-link { padding: 15px 8px; font-size: 16px; border-radius: 0; }

  /* Accordion services dropdown */
  .has-dropdown > .nav-link { display: flex; justify-content: space-between; align-items: center; }
  .has-dropdown > .nav-link::after { transition: transform 0.2s ease; margin-left: 0; }
  .has-dropdown.is-open > .nav-link::after { transform: rotate(180deg) translateY(2px); }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    min-width: 0;
    padding: 0 0 8px;
    display: none;
    background: var(--soft);
  }
  .has-dropdown.is-open > .dropdown { display: block; }
  .dropdown a { padding: 12px 16px; font-size: 15px; border-radius: 0; }

  .nav-drawer-cta { padding: 16px; margin-top: auto; border-top: 1px solid var(--border); display: grid; gap: 10px; }

  /* Layout */
  .section { padding: 48px 0; }
  .hero__inner { padding: 64px 0 56px; max-width: none; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 17px; }
  .page-hero h1 { font-size: 30px; }
  h2 { font-size: 26px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split--flip .split__media { order: -1; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 28px; }
  .slot-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { padding-bottom: calc(var(--bar-h) + 4px); }
  .wrap { padding: 0 16px; }
  h1 { font-size: 28px; }
  .hero h1 { font-size: 29px; }
  .hero__inner { padding: 52px 0 44px; }
  h2 { font-size: 23px; }
  .section { padding: 40px 0; }
  .section-head { margin-bottom: 28px; }
  .grid--4, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .sidebar { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-card, .admin-card { padding: 20px; }
  .cta-band { padding: 24px; text-align: left; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1 1 100%; }
  .btn { width: 100%; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero__phone { flex-wrap: wrap; }
  .contact-bar__half { font-size: 16px; }
  .map-embed iframe { height: 320px; }
  .prose p, .prose li { font-size: 16px; }
}

@media (max-width: 360px) {
  .logo-sub { display: none; }
  .contact-bar__half { font-size: 15px; gap: 8px; }
  .stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .contact-bar, .site-header, .nav-backdrop { display: none !important; }
  body { padding-bottom: 0; }
}
