:root {
  --bg: #0b0f14;
  --bg-soft: #121821;
  --card: #161d27;
  --card-2: #1b2430;
  --text: #f2f6fc;
  --muted: #99a7ba;
  --line: rgba(255, 255, 255, 0.08);
  --primary: #1f6feb;
  --primary-hover: #3b82f6;
  --white: #ffffff;
  --success: #1e9e62;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1280px;
  --transition: 0.24s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 14px;
}

body {
  font-family: Inter, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  background: linear-gradient(180deg, #0b0f14 0%, #10161f 100%);
  color: var(--text);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(94%, var(--container));
  margin: 0 auto;
}

.section {
  padding: clamp(46px, 5vw, 62px) 0;
}

.section-header {
  max-width: 660px;
  margin-bottom: 28px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

h1, h2, h3, h4 {
  line-height: 1.14;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.95rem, 3.4vw, 3.2rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 2.3vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1rem; font-weight: 600; }
h4 { font-weight: 600; }

p {
  color: var(--muted);
  font-size: 0.94rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.1;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(31, 111, 235, 0.28);
}

.btn-primary:hover { box-shadow: 0 14px 30px rgba(31, 111, 235, 0.35); }

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover { background: rgba(255, 255, 255, 0.08); }

.btn-light { background: var(--white); color: #0b0f14; }
.btn-light:hover { background: #edf2fa; }
.btn-full { width: 100%; }

/* ── TOPBAR ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 20, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.navbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #0f3d8f);
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(31, 111, 235, 0.24);
}

.logo-text strong { display: block; font-size: 0.98rem; line-height: 1; }
.logo-text span { color: var(--muted); font-size: 0.8rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links a {
  color: #dfe7f2;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: var(--primary-hover); }

/* Two CTA buttons in nav */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  margin: 5px auto;
  transition: 0.3s ease;
}

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 52px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -110px;
  right: -110px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(31, 111, 235, 0.2) 0%, rgba(31, 111, 235, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 24px;
}

.hero-content p {
  max-width: 560px;
  margin: 14px 0 20px;
  font-size: 0.96rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-image {
  min-height: 320px;
  background:
    linear-gradient(rgba(7,11,17,0.18), rgba(7,11,17,0.35)),
    url("https://cf.autodeft2.pw/files/images/full/2017-05-24/F5KE8CYF.jpg") center/cover no-repeat;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.hero-stat {
  padding: 14px 12px;
  text-align: center;
  background: rgba(255,255,255,0.02);
}

.hero-stat strong { display: block; font-size: 1.05rem; color: var(--white); font-weight: 700; }
.hero-stat span { color: var(--muted); font-size: 0.8rem; }

/* ── GRID ── */
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ── CARD ── */
.card {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.28);
  box-shadow: 0 18px 36px rgba(0,0,0,0.28);
}

.card-image {
  height: 190px;
  width: 100%;
  overflow: hidden;
  background: #0f1722;
  flex-shrink: 0;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.card:hover .card-image img { transform: scale(1.04); }

.card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 { min-height: 38px; display: flex; align-items: center; }
.card-body p { margin: 8px 0 14px; min-height: 72px; flex-grow: 1; }
.card-body .btn { margin-top: auto; }

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(31,111,235,0.12);
  color: var(--primary-hover);
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.info-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}

.info-panel p + p { margin-top: 10px; }

/* ── CTA ── */
.cta { padding: 62px 0; }

.cta-box {
  background:
    linear-gradient(135deg, rgba(12,17,24,0.85), rgba(19,31,52,0.92)),
    url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1200&q=80") center/cover no-repeat;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-box p { max-width: 640px; margin: 10px auto 18px; }

/* ── PAGE HERO / REPAIR ── */
.page-hero { padding: 52px 0 36px; position: relative; }
.page-hero .hero-grid { align-items: stretch; }
.page-hero .info-panel { display: flex; flex-direction: column; justify-content: center; }
.repair-page-hero { padding: 54px 0 42px; }

.repair-hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 20px;
  align-items: stretch;
}

.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.hero-badges span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  color: #dfe7f2;
  font-size: 0.78rem;
  font-weight: 500;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.service-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}

.service-item span {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(31,111,235,0.16);
  color: var(--primary-hover);
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.8rem;
}

.repair-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.repair-showcase {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.repair-showcase::before {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(31,111,235,0.24) 0%, rgba(31,111,235,0) 72%);
  pointer-events: none;
  z-index: 1;
}

/* ── HOVER IMAGE SWAP ── */
.repair-showcase-media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  cursor: pointer;
}

.garage-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.garage-img--old { opacity: 1; z-index: 1; transform: scale(1); }
.garage-img--modern { opacity: 0; z-index: 2; transform: scale(1.06); }

.repair-showcase-media:hover .garage-img--old { opacity: 0; transform: scale(1.04); }
.repair-showcase-media:hover .garage-img--modern { opacity: 1; transform: scale(1); }

.repair-showcase-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,8,14,0.08) 12%, rgba(5,8,14,0.88) 100%);
  z-index: 3;
  pointer-events: none;
}

.showcase-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 5;
  padding: 18px;
}

.hover-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(11,15,20,0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.78);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.repair-showcase-media:hover .hover-hint { opacity: 0; }

.promo-label {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,200,87,0.14);
  border: 1px solid rgba(255,215,106,0.25);
  color: #ffd76a;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.showcase-overlay h2 { font-size: clamp(1.3rem, 2vw, 1.8rem); margin-bottom: 8px; }
.showcase-overlay p { color: rgba(255,255,255,0.82); max-width: 480px; }

.repair-showcase-content {
  position: relative;
  z-index: 2;
  padding: 18px;
  display: grid;
  gap: 14px;
}

.tool-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(31,111,235,0.12);
  border: 1px solid rgba(59,130,246,0.25);
  color: #dfe7f2;
  font-size: 0.78rem;
  font-weight: 500;
}

.inspection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.inspection-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  color: var(--white);
  font-weight: 500;
  font-size: 0.86rem;
}

.inspection-item::before {
  content: "✓";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,200,87,0.15);
  color: #ffd76a;
  font-size: 0.76rem;
  flex-shrink: 0;
}

.inspection-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  box-shadow: inset 0 0 0 1px rgba(59,130,246,0.06);
}

.inspection-label {
  display: inline-block;
  margin-bottom: 8px;
  color: #ffd76a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.inspection-card strong { display: block; font-size: 0.96rem; margin-bottom: 8px; font-weight: 700; }
.inspection-card p { margin-bottom: 12px; }

.inspection-contact {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: #dfe7f2;
  font-weight: 500;
}

/* ── ABOUT / CONTACT ── */
.about-blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.about-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-card p { margin-top: 8px; }
.about-card--wide { grid-column: 1/-1; max-width: 520px; margin: 0 auto; width: 100%; text-align: center; }
.about-card--wide .feature-icon { margin: 0 auto 14px; }

.contact-wrap { display: grid; grid-template-columns: 1fr 0.96fr; gap: 18px; }

.form-card, .contact-card {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 14px; }

label {
  display: inline-block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--white);
  font-size: 0.86rem;
}

input, textarea, select {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--white);
  padding: 11px 12px;
  border-radius: 10px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  font-size: 0.88rem;
}

input:focus, textarea:focus, select:focus {
  border-color: rgba(59,130,246,0.7);
  background: rgba(255,255,255,0.06);
}

textarea { min-height: 110px; resize: vertical; }

.contact-list { display: grid; gap: 12px; margin-top: 14px; }

.contact-item {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}

.contact-item strong { display: block; margin-bottom: 5px; }

/* ══════════════════════════════
   FOOTER — REDESIGNED
══════════════════════════════ */
.footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0,0,0,0.22), rgba(0,0,0,0.38));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding: 44px 0 30px;
  align-items: start;
}

/* Brand column */
.footer-brand { display: flex; flex-direction: column; gap: 12px; }

.footer-logo { display: flex; align-items: center; gap: 10px; }

.footer-desc {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
  max-width: 240px;
}

.footer-socials { display: flex; gap: 8px; margin-top: 4px; }

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(24,119,242,0.10);
  border: 1px solid rgba(24,119,242,0.22);
  color: #5b9cf6;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.footer-social-btn:hover {
  background: rgba(24,119,242,0.20);
  transform: translateY(-2px);
}

.footer-social-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(24,119,242,0.28);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
}

/* Column titles */
.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
  opacity: 0.55;
}

/* Links list */
.footer-link-list { display: flex; flex-direction: column; gap: 9px; }

.footer-link-list a {
  color: var(--muted);
  font-size: 0.88rem;
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}

.footer-link-list a:hover { color: var(--primary-hover); padding-left: 4px; }

/* Contact list */
.footer-contact-list { display: flex; flex-direction: column; gap: 10px; }

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-contact-icon { font-size: 0.9rem; flex-shrink: 0; margin-top: 1px; }

/* Admin column */
.footer-admin-desc {
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 12px;
  line-height: 1.5;
}

/* Admin dashboard button */
.footer-admin-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(31,111,235,0.10), rgba(59,130,246,0.05));
  border: 1px solid rgba(59,130,246,0.20);
  color: var(--text);
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.footer-admin-btn:hover {
  background: linear-gradient(135deg, rgba(31,111,235,0.18), rgba(59,130,246,0.11));
  border-color: rgba(59,130,246,0.40);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(31,111,235,0.16);
}

.footer-admin-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(31,111,235,0.16);
  color: var(--primary-hover);
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-admin-btn strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.footer-admin-btn span:not(.footer-admin-icon):not(.footer-admin-arrow) {
  font-size: 0.76rem;
  color: var(--muted);
}

.footer-admin-arrow {
  margin-left: auto;
  color: var(--primary-hover);
  font-size: 1rem;
  opacity: 0.5;
  transition: opacity var(--transition), transform var(--transition);
}

.footer-admin-btn:hover .footer-admin-arrow { opacity: 1; transform: translateX(3px); }

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 14px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom p { color: var(--muted); font-size: 0.84rem; }

.footer-bottom-admin {
  color: rgba(255,255,255,0.18);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: color var(--transition);
}

.footer-bottom-admin:hover { color: var(--primary-hover); }
/* ══════════════════════════════
   END FOOTER
══════════════════════════════ */

/* Dark select dropdown */
.fb-field select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #161d27;
  color: var(--text);
  cursor: pointer;
}

.fb-field select option { background-color: #161d27; color: var(--text); padding: 10px 12px; }
.fb-field select option:hover, .fb-field select option:focus, .fb-field select option:checked {
  background-color: var(--primary);
  color: var(--white);
}
.fb-field select:focus { background-color: #1b2430; }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: 0.55s ease;
}

.reveal.show { opacity: 1; transform: translateY(0); }

.contact-top { margin-top: 24px; }

.contact-box {
  text-align: center;
  padding: 20px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: 0.3s;
}

.contact-box:hover { transform: translateY(-4px); border-color: rgba(59,130,246,0.3); }
.contact-box h3 { margin: 8px 0; }

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  font-size: 1.1rem;
  background: rgba(31,111,235,0.12);
  color: var(--primary-hover);
}

.icon-circle.whatsapp { background: rgba(37,211,102,0.12); color: #25d366; }
.icon-circle.instagram { background: rgba(225,48,108,0.12); color: #e1306c; }
.icon-circle.facebook { background: rgba(24,119,242,0.12); color: #1877f2; }

.map-box {
  margin-top: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-box iframe { width: 100%; height: 320px; border: 0; }

/* ── RESPONSIVE ── */
@media (min-width: 1440px) { html { font-size: 15px; } }

@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid, .contact-wrap, .repair-hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-image { min-height: 300px; }
  .repair-showcase-media { min-height: 260px; }
}

@media (max-width: 820px) {
  .nav-links, .nav-cta {
    position: absolute;
    left: 0; right: 0; top: 68px;
    background: rgba(11,15,20,0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 16px;
    display: none;
    z-index: 999;
    width: 100%;
    box-sizing: border-box;
  }

  .nav-links.active { display: flex; }
  .nav-cta.active { display: flex; }
  .nav-links { gap: 14px; }
  /* nav-cta sits right below nav-links: 68px header + 6 links × ~42px each ≈ 320px */
  .nav-cta {
    top: calc(68px + 300px); /* fallback; JS overrides dynamically */
    padding-top: 0;
    padding-bottom: 16px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    border-top: none;
    border-bottom: 1px solid var(--line);
  }
  .nav-cta a { flex: 1; text-align: center; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; }

  /* Hamburger animate to X */
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .grid-2, .service-list, .about-blocks, .inspection-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .about-card--wide { grid-column: 1; max-width: 100%; text-align: left; }
  .about-card--wide .feature-icon { margin: 0 0 14px; }

  .section { padding: 46px 0; }
  .cta-box { padding: 28px 18px; }
  .hero { padding-top: 52px; }

  .showcase-overlay, .repair-showcase-content, .info-panel,
  .form-card, .contact-card, .about-card, .card-body { padding: 16px; }

  .repair-actions { flex-direction: column; }
  .repair-actions .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-desc { max-width: 100%; }
}

@media (max-width: 560px) {
  body { font-size: 0.96rem; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat strong { font-size: 1rem; }
  .hero-stat span { font-size: 0.78rem; }
  .navbar { min-height: 64px; }
  .nav-links, .nav-cta { top: 64px; }
  .nav-cta { top: calc(64px + 180px); }
  .card-body p { min-height: auto; }
  .repair-showcase-media { min-height: 220px; }
  .hero-badges span, .tool-tags span { width: 100%; justify-content: center; text-align: center; }
  .map-box iframe { height: 280px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
}

/* Simple Instagram Link */
.ig-simple {
  padding: 70px 0;
}

.ig-simple-header {
  text-align: center;
  margin-bottom: 48px;
}

.ig-simple-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #bc1888;
  font-weight: 700;
  margin-bottom: 10px;
}

.ig-simple-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #ffffff;
}

.ig-simple-desc {
  font-size: 0.92rem;
  color: #99a7ba;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Links wrapper — column with generous gap */
.ig-simple .ig-links-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 560px;
  margin: 0 auto;
}

.ig-simple-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  border-radius: 20px;
  border: 1px solid transparent;
  text-decoration: none;
  color: white;
  font-size: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  width: 100%;
}

.ig-simple-link:hover {
  transform: translateY(-4px);
}

/* Icon circle */
.ig-simple-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.ig-link-instagram .ig-simple-icon {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
  box-shadow: 0 8px 22px rgba(225,48,108,0.4);
}

.ig-link-facebook .ig-simple-icon {
  background: linear-gradient(135deg, #1565c0, #1877f2);
  color: #fff;
  box-shadow: 0 8px 22px rgba(24,119,242,0.4);
}

/* Card backgrounds */
.ig-link-instagram {
  background: linear-gradient(135deg, rgba(131,58,180,0.12), rgba(253,29,29,0.07));
  border-color: rgba(225,48,108,0.25);
}

.ig-link-instagram:hover {
  background: linear-gradient(135deg, rgba(131,58,180,0.20), rgba(253,29,29,0.14));
  box-shadow: 0 16px 36px rgba(188,24,136,0.20);
}

.ig-link-facebook {
  background: rgba(24,119,242,0.08);
  border-color: rgba(24,119,242,0.25);
}

.ig-link-facebook:hover {
  background: rgba(24,119,242,0.15);
  box-shadow: 0 16px 36px rgba(24,119,242,0.20);
}

.ig-simple-link:hover .ig-simple-icon {
  transform: scale(1.10);
}

/* Text */
.ig-simple-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ig-simple-text strong {
  font-weight: 700;
  font-size: 1.08rem;
  color: #f2f6fc;
}

.ig-simple-handle {
  font-size: 0.82rem;
  color: #99a7ba;
  font-weight: 400;
}

/* Arrow */
.ig-simple-arrow {
  font-size: 1.3rem;
  transition: transform 0.22s ease;
  margin-left: auto;
  opacity: 0.5;
}

.ig-simple-link:hover .ig-simple-arrow {
  transform: translateX(6px);
  opacity: 1;
}

@media (max-width: 560px) {
  .ig-simple { padding: 50px 0; }
  .ig-simple-title { font-size: 1.4rem; }
  .ig-simple-desc { font-size: 0.84rem; }
  .ig-simple-link { padding: 18px 18px; gap: 14px; }
  .ig-simple-icon { width: 48px; height: 48px; font-size: 1.2rem; }
  .ig-simple-text strong { font-size: 0.95rem; }
}
/* ── CLICKABLE CARD (cars.html) ── */
a.card--clickable {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

a.card--clickable:hover {
  transform: translateY(-5px);
  border-color: rgba(59,130,246,0.4);
  box-shadow: 0 18px 36px rgba(0,0,0,0.32);
}

a.card--clickable .card-image {
  position: relative;
  overflow: hidden;
}

/* Fixed image height so all cards are uniform */
a.card--clickable .card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.32s ease;
}

a.card--clickable:hover .card-image img {
  transform: scale(1.05);
}

.card-overlay-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(31,111,235,0.72);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.28s ease;
  backdrop-filter: blur(2px);
  border-radius: inherit;
}

a.card--clickable:hover .card-overlay-hint {
  opacity: 1;
}

/* ── TOUCH / MOBILE: always show a subtle hint bar instead of hover overlay ── */
@media (hover: none) {
  .card-overlay-hint {
    opacity: 1;
    background: rgba(31,111,235,0.55);
    inset: auto 0 0 0;
    height: 38px;
    border-radius: 0 0 12px 12px;
    font-size: 0.8rem;
  }
  a.card--clickable:hover {
    transform: none;
  }
}

/* ── 2-column at tablet (no :has needed — target .grid-clickable class) ── */
@media (max-width: 1000px) and (min-width: 561px) {
  .grid-clickable {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  a.card--clickable .card-image img {
    height: 190px;
  }
}

/* ── Single column on mobile ── */
@media (max-width: 560px) {
  .grid-clickable {
    grid-template-columns: 1fr;
  }
  a.card--clickable {
    flex-direction: row;
    align-items: stretch;
    min-height: 110px;
  }
  a.card--clickable .card-image {
    width: 130px;
    min-width: 130px;
    flex-shrink: 0;
    border-radius: 12px 0 0 12px;
  }
  a.card--clickable .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  a.card--clickable .card-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  a.card--clickable .card-body h3 {
    font-size: 0.95rem;
    min-height: unset;
    margin-bottom: 4px;
  }
  a.card--clickable .card-body p {
    font-size: 0.8rem;
    min-height: unset;
    margin: 0;
    max-height: 2.8em;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  /* On mobile: hide the overlay completely — the row layout makes it clear it is clickable */
  .card-overlay-hint {
    display: none;
  }
}
/* ══════════════════════════════
   CATEGORY BANNER (cars.html)
══════════════════════════════ */
.category-banner { margin-bottom: 28px; }
.category-banner.hidden { display: none; }

.category-banner-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(31,111,235,0.14), rgba(59,130,246,0.07));
  border: 1px solid rgba(59,130,246,0.30);
  box-shadow: 0 4px 20px rgba(31,111,235,0.10);
}

#categoryBannerIcon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}

.category-banner-inner > div {
  flex: 1;
  min-width: 0;
}

.category-banner-inner strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #93c5fd;
  margin-bottom: 4px;
}

.category-banner-inner p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

#categoryBannerClear {
  flex-shrink: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: #f2f6fc;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

#categoryBannerClear:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-1px);
}

@media (max-width: 560px) {
  .category-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }
  #categoryBannerClear { width: 100%; text-align: center; }
}

/* ── Allow grid to reorder for category highlighting ── */
.grid-clickable { display: grid; }

/* ══════════════════════════════
   CONTACT PAGE
══════════════════════════════ */
.contact-top { margin-top: 28px; }

.contact-box {
  text-align: center;
  padding: 28px 20px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--card), var(--card-2));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-box:hover {
  transform: translateY(-5px);
  border-color: rgba(59,130,246,0.35);
  box-shadow: 0 16px 40px rgba(0,0,0,0.28);
}

.contact-box h3 { margin: 12px 0 6px; font-size: 1rem; font-weight: 700; }

/* Info row border colors — by icon type not position */
.contact-info-box { border-top: 3px solid rgba(59,130,246,0.5); }

/* Phone → blue */
.contact-info-box:has(.icon-phone) { border-top-color: rgba(59,130,246,0.5); }

/* WhatsApp → green */
.contact-info-box:has(.icon-whatsapp) { border-top-color: rgba(37,211,102,0.5); }

/* Hours → teal */
.contact-info-box:has(.icon-hours) { border-top-color: rgba(20,184,166,0.5); }

/* Email in info box → purple */
.contact-info-box:has(.icon-email) { border-top-color: rgba(139,92,246,0.5); }

.contact-info-box .contact-info-value {
  font-size: 0.95rem; font-weight: 700; color: var(--text); margin: 0 0 4px;
}
.contact-info-box .contact-info-sub {
  font-size: 0.83rem; color: var(--muted); margin: 0 0 18px;
}
.contact-info-btn { margin-top: auto; width: 100%; text-align: center; }

/* Social row border colors — by icon type not position */
/* Email in social row → purple */
.contact-social-box:has(.icon-email) { border-top: 3px solid rgba(139,92,246,0.5); }

/* Instagram → pink */
.contact-social-box:has(.icon-instagram) { border-top: 3px solid rgba(225,48,108,0.5); }

/* Facebook → blue */
.contact-social-box:has(.icon-facebook) { border-top: 3px solid rgba(24,119,242,0.5); }

/* WhatsApp in social row → green */
.contact-social-box:has(.icon-whatsapp) { border-top: 3px solid rgba(37,211,102,0.5); }

.contact-social-box .contact-social-handle {
  font-size: 0.85rem; color: var(--muted); margin: 0 0 18px; font-weight: 500;
}
.contact-social-btn {
  margin-top: auto; width: 100%; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600;
}

.icon-circle {
  width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.45rem; flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-box:hover .icon-circle { transform: scale(1.08); }

.icon-circle.icon-phone {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6); color: #fff;
  box-shadow: 0 8px 24px rgba(59,130,246,0.35), 0 0 0 6px rgba(59,130,246,0.10);
}
.icon-circle.icon-email {
  background: linear-gradient(135deg, #7c3aed, #a78bfa); color: #fff;
  box-shadow: 0 8px 24px rgba(139,92,246,0.35), 0 0 0 6px rgba(139,92,246,0.10);
}
.icon-circle.icon-hours {
  background: linear-gradient(135deg, #0f766e, #2dd4bf); color: #fff;
  box-shadow: 0 8px 24px rgba(20,184,166,0.35), 0 0 0 6px rgba(20,184,166,0.10);
}
.icon-circle.icon-whatsapp {
  background: linear-gradient(135deg, #128c7e, #25d366); color: #fff;
  box-shadow: 0 8px 24px rgba(37,211,102,0.35), 0 0 0 6px rgba(37,211,102,0.10);
}
.icon-circle.icon-instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); color: #fff;
  box-shadow: 0 8px 24px rgba(225,48,108,0.35), 0 0 0 6px rgba(225,48,108,0.10);
}
.icon-circle.icon-facebook {
  background: linear-gradient(135deg, #1565c0, #1877f2); color: #fff;
  box-shadow: 0 8px 24px rgba(24,119,242,0.35), 0 0 0 6px rgba(24,119,242,0.10);
}

.map-box {
  margin-top: 28px; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.map-box iframe { width: 100%; height: 380px; border: 0; }

.contact-form-card {
  max-width: 720px; margin: 0 auto;
  background: linear-gradient(160deg, var(--card), var(--card-2));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 36px; box-shadow: var(--shadow);
}
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.required-star { color: #ef4444; }
.contact-send-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 9px; font-size: 1rem; padding: 14px 24px; margin-top: 6px;
}
.contact-send-btn i { font-size: 1.15rem; }
.contact-form-note { text-align: center; margin-top: 12px; font-size: 0.79rem; color: var(--muted); }
.contact-form-status { margin-bottom: 14px; padding: 11px 16px; border-radius: 10px; font-weight: 600; font-size: 0.88rem; }
.contact-form-status.hidden { display: none; }
.contact-form-status.status-error { background: rgba(239,68,68,0.12); color: #fee2e2; border: 1px solid rgba(239,68,68,0.28); }
.contact-form-status.status-success { background: rgba(30,166,114,0.12); color: #dcfce7; border: 1px solid rgba(30,166,114,0.28); }

@media (max-width: 560px) {
  .contact-form-card { padding: 20px 18px; }
  .contact-form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ══════════════════════════════
   CLICKABLE CARDS (cars.html)
══════════════════════════════ */
a.card--clickable {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit; cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
a.card--clickable:hover {
  transform: translateY(-5px);
  border-color: rgba(59,130,246,0.4);
  box-shadow: 0 18px 36px rgba(0,0,0,0.32);
}
a.card--clickable .card-image { position: relative; overflow: hidden; }
a.card--clickable .card-image img {
  width: 100%; height: 220px; object-fit: cover; display: block; transition: transform 0.32s ease;
}
a.card--clickable:hover .card-image img { transform: scale(1.05); }

.card-overlay-hint {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(31,111,235,0.72); color: #fff;
  font-size: 0.92rem; font-weight: 700; letter-spacing: 0.04em;
  opacity: 0; transition: opacity 0.28s ease;
  backdrop-filter: blur(2px); border-radius: inherit;
}
a.card--clickable:hover .card-overlay-hint { opacity: 1; }

@media (hover: none) {
  .card-overlay-hint {
    opacity: 1; background: rgba(31,111,235,0.55);
    inset: auto 0 0 0; height: 38px;
    border-radius: 0 0 12px 12px; font-size: 0.8rem;
  }
  a.card--clickable:hover { transform: none; }
}

@media (max-width: 1000px) and (min-width: 561px) {
  .grid-clickable { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  a.card--clickable .card-image img { height: 190px; }
}

@media (max-width: 560px) {
  .grid-clickable { grid-template-columns: 1fr; }
  a.card--clickable { flex-direction: row; align-items: stretch; min-height: 110px; }
  a.card--clickable .card-image { width: 130px; min-width: 130px; flex-shrink: 0; border-radius: 12px 0 0 12px; }
  a.card--clickable .card-image img { width: 100%; height: 100%; object-fit: cover; }
  a.card--clickable .card-body { padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; }
  a.card--clickable .card-body h3 { font-size: 0.95rem; min-height: unset; margin-bottom: 4px; }
  a.card--clickable .card-body p { font-size: 0.8rem; min-height: unset; margin: 0; max-height: 2.8em; overflow: hidden; text-overflow: ellipsis; }
  .card-overlay-hint { display: none; }
}

/* ══════════════════════════════
   CATEGORY BANNER ACCENT
══════════════════════════════ */
.category-banner-inner strong { color: #93c5fd; }
/* ── DUAL INSTAGRAM IN ONE BOX ── */
.ig-dual-links {
  display: flex;
  gap: 0;
  width: 100%;
  margin-top: 8px;
  flex: 1;
  align-items: stretch;
}

.ig-dual-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
}

.ig-dual-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-hover);
  margin-bottom: 2px;
}

/* Instagram dual label stays pink */
.contact-social-box .ig-dual-label {
  color: #e1306c;
}

/* Email dual label stays purple */
.contact-info-box .ig-dual-label {
  color: #a78bfa;
}

/* Facebook dual label stays blue */
.contact-social-box:last-child .ig-dual-label {
  color: #60a5fa;
}

.ig-dual-divider {
  width: 1px;
  background: rgba(255,255,255,0.1);
  margin: 4px 0;
  flex-shrink: 0;
}

.ig-dual-item .contact-social-handle {
  margin: 0 0 8px;
  font-size: 0.8rem;
}

.ig-dual-item .contact-social-btn {
  width: 100%;
  font-size: 0.8rem;
  padding: 8px 10px;
}