
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Critical visibility fix */
[hidden] { display: none !important; }

:root {
  --navy: #0b2342;
  --navy-2: #12345b;
  --blue: #1f568d;
  --white: #ffffff;
  --gray-50: #f4f6f8;
  --gray-100: #e9edf1;
  --gray-500: #66717d;
  --gray-800: #27313b;
  --shadow: 0 18px 50px rgba(11, 35, 66, .10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Inter, Arial, sans-serif; color: var(--gray-800); background: var(--white); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin: auto; }

.header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--gray-100); backdrop-filter: blur(12px); }
.nav { min-height: 82px; display: flex; align-items: center; gap: 28px; }
.brand img { width: 235px; height: 58px; object-fit: contain; object-position: left center; display: block; }
.menu { display: flex; gap: 25px; margin-left: auto; font-size: 14px; font-weight: 600; }
.menu a:hover { color: var(--blue); }
.whatsapp-btn { background: var(--navy); color: white; padding: 12px 18px; border-radius: 6px; font-size: 13px; font-weight: 700; }

.hero { min-height: 700px; position: relative; display: flex; align-items: center; overflow: hidden; background: linear-gradient(110deg, var(--navy), var(--navy-2) 60%, #274e78); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 45%, rgba(255,255,255,.12), transparent 32%); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,18,35,.92), rgba(5,18,35,.48), rgba(5,18,35,.15)); }
.hero-content { position: relative; z-index: 2; color: white; padding: 100px 0; }
.eyebrow, .section-label { font-size: 12px; letter-spacing: .18em; font-weight: 800; color: #7da8d0; margin-bottom: 18px; }
.hero h1 { font-size: clamp(42px, 6vw, 74px); line-height: 1.03; letter-spacing: -.04em; max-width: 820px; }
.hero h1 span { color: #d9e4ee; }
.hero-text { margin-top: 25px; font-size: 15px; letter-spacing: .08em; color: #d9e4ee; }
.hero-actions { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 6px; font-size: 13px; font-weight: 800; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); }
.primary { background: white; color: var(--navy); }
.hero .secondary { border: 1px solid rgba(255,255,255,.35); color: white; }
.outline { border: 1px solid rgba(255,255,255,.35); color: white; }

.section { padding: 110px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.035em; color: var(--navy); }
.about-copy { font-size: 18px; color: var(--gray-500); }
.about-copy p + p { margin-top: 22px; }
.about-copy strong { color: var(--navy); }

.light-section { background: var(--gray-50); }
.section-heading { margin-bottom: 50px; }
.section-heading > p:last-child { margin-top: 15px; color: var(--gray-500); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: white; padding: 30px; min-height: 210px; border: 1px solid var(--gray-100); transition: .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3dce5; }
.card span { color: var(--blue); font-size: 12px; font-weight: 800; }
.card h3 { margin-top: 45px; color: var(--navy); font-size: 19px; }
.card p { margin-top: 9px; color: var(--gray-500); font-size: 13px; }

.brands {
  background: #f7f9fc;
  color: var(--navy);
  border-top: 1px solid #edf1f5;
  border-bottom: 1px solid #e8edf2;
}
.brands-inner { text-align: center; }
.brands .section-label { margin-bottom: 14px; }
.brands h2 {
  color: var(--navy);
  max-width: 850px;
  margin: 0 auto;
  font-size: clamp(34px, 4vw, 50px);
}
.brands-copy {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--gray-500);
  font-size: 16px;
}
.brand-list {
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  max-width: 1080px;
  background: var(--white);
  border: 1px solid #e1e7ed;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 20px 55px rgba(11, 35, 66, .08);
  overflow: hidden;
}
.brand-card {
  position: relative;
  min-height: 160px;
  padding: 20px 12px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: background .2s ease, transform .2s ease;
}
.brand-card + .brand-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: #e8edf2;
}
.brand-card:hover {
  background: #f6f9fc;
  transform: translateY(-2px);
}
.brand-logo-wrap {
  width: 132px;
  height: 82px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}
.brand-card img {
  display: block;
  width: auto;
  max-width: 118px;
  height: 68px;
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
}
.brand-card strong {
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.problem { background: #edf1f5; padding: 75px 0; }
.problem-box, .contact-box { display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.problem h2, .contact h2 { font-size: clamp(32px, 4vw, 48px); }
.problem p:not(.section-label), .contact p:not(.section-label) { margin-top: 12px; color: var(--gray-500); max-width: 650px; }

.gallery-placeholder { height: 330px; border: 1px dashed #bdc7d1; display: grid; place-items: center; color: var(--gray-500); background: white; }
.review-note { margin-top: 35px; padding: 30px; border: 1px solid var(--gray-100); color: var(--gray-500); background: var(--gray-50); }

.contact { background: var(--navy-2); color: white; }
.contact h2 { color: white; }
.contact p:not(.section-label) { color: #d0dbe6; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.contact .primary { background: white; }
.contact .outline { border-color: rgba(255,255,255,.35); }

.footer { background: #07182d; color: #b8c5d2; padding: 65px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.footer-logo { width: 245px; height: 64px; object-fit: contain; object-position: left center; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer h4 { color: white; margin-bottom: 15px; }
.footer a { display: block; margin: 8px 0; font-size: 14px; }
.footer a:hover { color: white; }
.footer p { font-size: 14px; }
.copyright { margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }

@media (max-width: 900px) {
  .menu { display: none; }
  .nav { justify-content: space-between; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 35px; }
  .brand-list { grid-template-columns: repeat(4, 1fr); }
  .brand-card:nth-child(4)::before { display: none; }
  .problem-box, .contact-box { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1180px); }
  .header { position: relative; }
  .brand img { width: 165px; height: 48px; }
  .whatsapp-btn { padding: 10px 12px; font-size: 11px; }
  .hero { min-height: 620px; }
  .hero-content { padding: 75px 0; }
  .section { padding: 75px 0; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .brand-list { grid-template-columns: 1fr 1fr; padding: 10px; }
  .brand-card { min-height: 135px; }
  .brand-card::before { display: none !important; }
  .brand-logo-wrap { width: 112px; height: 70px; }
}

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

.instagram-soon { display:block; margin-top:8px; font-size:14px; color:#93a4b5; }


/* ===== Service detail pages ===== */
.service-card-link { display: block; position: relative; }
.service-card-link em {
  display: block;
  margin-top: 22px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  color: var(--blue);
}
.service-card-link:hover em { transform: translateX(3px); }

.service-hero {
  min-height: 520px;
  padding: 110px 0 95px;
  background:
    radial-gradient(circle at 78% 30%, rgba(92, 144, 194, .22), transparent 26%),
    linear-gradient(120deg, #07182d, var(--navy) 58%, #173e68);
  color: white;
  display: flex;
  align-items: center;
}
.service-hero h1 {
  max-width: 900px;
  font-size: clamp(48px, 7vw, 82px);
  line-height: .98;
  letter-spacing: -.05em;
  color: white;
}
.service-lead {
  max-width: 760px;
  margin-top: 24px;
  font-size: 19px;
  color: #d8e3ee;
}
.breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
  font-size: 12px;
  color: #a8bdd1;
}
.breadcrumb a:hover { color: white; }
.breadcrumb strong { color: white; }

.service-two-col {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
}
.service-copy {
  font-size: 18px;
  color: var(--gray-500);
}
.service-copy p + p { margin-top: 22px; }

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.detail-panel {
  min-height: 510px;
  padding: 52px;
  background: white;
  border: 1px solid var(--gray-100);
}
.detail-panel h2 {
  max-width: 480px;
  margin-bottom: 38px;
  font-size: clamp(32px, 3.5vw, 46px);
}
.dark-panel {
  background: var(--navy);
  border-color: var(--navy);
}
.dark-panel h2 { color: white; }
.dark-panel .section-label { color: #78a8d4; }
.service-list {
  list-style: none;
  display: grid;
  gap: 0;
}
.service-list li {
  position: relative;
  padding: 17px 0 17px 28px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-800);
  font-size: 15px;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 26px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.dark-panel .service-list li {
  color: #d8e3ee;
  border-color: rgba(255,255,255,.12);
}
.dark-panel .service-list li::before { background: #7eb3e4; }

.compact-heading { max-width: 760px; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.process-grid article {
  padding: 30px;
  border-top: 2px solid var(--blue);
  background: #f7f9fb;
  min-height: 230px;
}
.process-grid span {
  font-size: 12px;
  font-weight: 800;
  color: var(--blue);
}
.process-grid h3 {
  margin-top: 45px;
  color: var(--navy);
  font-size: 18px;
}
.process-grid p {
  margin-top: 10px;
  color: var(--gray-500);
  font-size: 13px;
}

.mini-brand-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  overflow: hidden;
}
.mini-brand-row > div {
  min-height: 145px;
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--gray-100);
}
.mini-brand-row > div:last-child { border-right: 0; }
.mini-brand-row img {
  display: block;
  width: auto;
  max-width: 96px;
  height: 58px;
  object-fit: contain;
  object-position: center;
}
.mini-brand-row span {
  margin-top: 10px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.other-service-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--gray-100);
  border-left: 1px solid var(--gray-100);
}
.other-service-links a {
  min-height: 95px;
  padding: 22px;
  border-right: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: .2s ease;
}
.other-service-links a:hover {
  background: var(--navy);
  color: white;
}
.other-service-links span {
  color: var(--blue);
  font-size: 11px;
}
.other-service-links a:hover span { color: #8ab9e4; }

@media (max-width: 900px) {
  .service-two-col,
  .service-detail-grid { grid-template-columns: 1fr; gap: 35px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-brand-row { grid-template-columns: repeat(3, 1fr); }
  .mini-brand-row > div { border-bottom: 1px solid var(--gray-100); }
  .other-service-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .service-hero { min-height: auto; padding: 70px 0; }
  .breadcrumb { margin-bottom: 35px; }
  .service-lead { font-size: 16px; }
  .detail-panel { padding: 30px 24px; min-height: auto; }
  .process-grid,
  .mini-brand-row,
  .other-service-links { grid-template-columns: 1fr; }
  .mini-brand-row > div { border-right: 0; }
}

.service-directory {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.service-directory-card {
  min-height: 280px;
  padding: 38px;
  background: white;
  border: 1px solid var(--gray-100);
  transition: .2s ease;
}
.service-directory-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-directory-card > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}
.service-directory-card h2 {
  margin-top: 50px;
  font-size: 31px;
}
.service-directory-card p {
  margin-top: 12px;
  color: var(--gray-500);
}
.service-directory-card strong {
  display: inline-block;
  margin-top: 28px;
  color: var(--blue);
  font-size: 13px;
}
@media (max-width: 700px) {
  .service-directory { grid-template-columns: 1fr; }
}

.all-services-wrap { margin-top: 30px; text-align: center; }
.all-services-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0 22px;
  border: 1px solid #cfd8e1;
  border-radius: 6px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  background: white;
}
.all-services-link:hover { border-color: var(--navy); }




/* Brand logo normalization */
.brand-card img[src*="audi-clean"] { max-width: 138px; }
.brand-card img[src*="cupra.png"] { max-width: 150px; height: 74px; }
.brand-card img[src*="skoda-clean"] { max-width: 104px; }
.brand-card img[src*="porsche-clean"] { max-width: 82px; height: 72px; }

.mini-brand-row img[src*="audi-clean"] { max-width: 112px; }
.mini-brand-row img[src*="cupra.png"] { max-width: 120px; height: 62px; }
.mini-brand-row img[src*="porsche-clean"] { max-width: 72px; height: 62px; }

.brand-card {
  overflow: hidden;
}


/* ===== Brand showcase v2 ===== */
.brands-showcase {
  background: #f5f7fa;
  padding-top: 105px;
  padding-bottom: 105px;
}
.brands-heading {
  max-width: 800px;
  margin: 0 auto 52px;
  text-align: center;
}
.brands-heading .section-label {
  margin-bottom: 14px;
}
.brands-heading h2 {
  color: var(--navy);
  font-size: clamp(38px, 4.5vw, 58px);
}
.brands-heading > p:last-child {
  max-width: 650px;
  margin: 18px auto 0;
  color: var(--gray-500);
  font-size: 15px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.brand-tile {
  min-width: 0;
  min-height: 190px;
  padding: 24px 16px 20px;
  border: 1px solid #dde4eb;
  border-radius: 14px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.brand-tile:hover {
  transform: translateY(-4px);
  border-color: #c8d3de;
  box-shadow: 0 14px 34px rgba(11, 35, 66, .08);
}
.brand-logo-frame {
  width: 100%;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}
.brand-logo-frame img {
  display: block;
  width: auto;
  height: auto;
  max-width: 104px;
  max-height: 72px;
  object-fit: contain;
}
.brand-tile strong {
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .01em;
}

/* Brand-specific optical sizing */
.brand-audi .brand-logo-frame img { max-width: 122px; max-height: 55px; }
.brand-seat .brand-logo-frame img { max-width: 88px; max-height: 68px; }
.brand-skoda .brand-logo-frame img { max-width: 132px; max-height: 40px; }
.brand-cupra .brand-logo-frame img { max-width: 132px; max-height: 74px; }
.brand-porsche .brand-logo-frame img { max-width: 76px; max-height: 76px; }

/* Service pages - same clean vector treatment */
.mini-brand-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.mini-brand {
  min-width: 0;
  min-height: 145px;
  padding: 22px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--gray-100);
}
.mini-brand:last-child { border-right: 0; }
.mini-brand img {
  display: block;
  width: auto;
  height: auto;
  max-width: 86px;
  max-height: 58px;
  object-fit: contain;
}
.mini-brand span {
  margin-top: 12px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}
.mini-audi img { max-width: 104px; max-height: 44px; }
.mini-skoda img { max-width: 112px; max-height: 34px; }
.mini-cupra img { max-width: 110px; max-height: 58px; }
.mini-porsche img { max-width: 60px; max-height: 60px; }

@media (max-width: 1050px) {
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .mini-brand-row { grid-template-columns: repeat(3, 1fr); }
  .mini-brand { border-bottom: 1px solid var(--gray-100); }
}

@media (max-width: 620px) {
  .brands-showcase { padding-top: 75px; padding-bottom: 75px; }
  .brands-heading { text-align: left; margin-bottom: 36px; }
  .brands-heading > p:last-child { margin-left: 0; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .brand-tile { min-height: 160px; padding: 20px 10px 16px; }
  .brand-logo-frame { height: 74px; margin-bottom: 10px; }
  .mini-brand-row { grid-template-columns: repeat(2, 1fr); }
  .mini-brand { border-right: 1px solid var(--gray-100); }
}


/* ===== Brand detail pages ===== */
.brand-all-link-wrap {
  margin-top: 28px;
  text-align: center;
}
.brand-all-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 0 20px;
  border: 1px solid #d6dee6;
  border-radius: 6px;
  background: white;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}
.brand-all-link:hover { border-color: var(--navy); }

.brand-hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 95px 0;
  color: white;
  background:
    radial-gradient(circle at 78% 42%, rgba(104, 153, 200, .22), transparent 27%),
    linear-gradient(120deg, #06172b, #0b2342 58%, #163d67);
}
.brand-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 70px;
  align-items: center;
}
.brand-hero h1 {
  max-width: 780px;
  font-size: clamp(48px, 6.5vw, 78px);
  line-height: 1;
  letter-spacing: -.05em;
  color: white;
}
.brand-hero-logo {
  min-height: 300px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
  box-shadow: 0 30px 70px rgba(0,0,0,.20);
}
.brand-hero-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 190px;
  max-height: 150px;
  object-fit: contain;
}
.brand-hero-audi img { max-width: 240px; }
.brand-hero-skoda img { max-width: 245px; max-height: 70px; }
.brand-hero-cupra img { max-width: 230px; }
.brand-hero-porsche img { max-width: 145px; max-height: 165px; }

.brand-story-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
}
.brand-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.brand-service-card {
  min-height: 220px;
  padding: 28px;
  background: white;
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  transition: .18s ease;
}
.brand-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.brand-service-card h3 {
  color: var(--navy);
  font-size: 18px;
  margin-top: 22px;
}
.brand-service-card p {
  color: var(--gray-500);
  margin-top: 10px;
  font-size: 13px;
}
.brand-service-card span {
  margin-top: auto;
  padding-top: 22px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.brand-models { background: var(--navy); color: white; }
.brand-model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.brand-models h2 { color: white; }
.brand-models p:not(.section-label) {
  margin-top: 18px;
  color: #cbd8e4;
}
.model-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255,255,255,.16);
  border-left: 1px solid rgba(255,255,255,.16);
}
.model-list li {
  padding: 18px 20px;
  border-right: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.16);
  font-size: 15px;
  font-weight: 700;
}

.brand-directory-hero h1 { max-width: 900px; }
.brand-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.brand-directory-card {
  min-height: 330px;
  padding: 34px;
  background: white;
  border: 1px solid var(--gray-100);
  transition: .2s ease;
}
.brand-directory-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.directory-logo {
  height: 95px;
  display: flex;
  align-items: center;
}
.directory-logo img {
  width: auto;
  height: auto;
  max-width: 120px;
  max-height: 76px;
  object-fit: contain;
}
.directory-audi .directory-logo img { max-width: 155px; }
.directory-skoda .directory-logo img { max-width: 170px; max-height: 45px; }
.directory-cupra .directory-logo img { max-width: 155px; }
.directory-porsche .directory-logo img { max-width: 78px; max-height: 86px; }
.brand-directory-card h2 {
  margin-top: 34px;
  font-size: 32px;
}
.brand-directory-card p {
  margin-top: 12px;
  color: var(--gray-500);
}
.brand-directory-card strong {
  display: inline-block;
  margin-top: 28px;
  color: var(--blue);
  font-size: 13px;
}

.mini-brand { text-decoration: none; }
.mini-brand:hover { background: #f7f9fb; }

@media (max-width: 950px) {
  .brand-hero-grid,
  .brand-story-grid,
  .brand-model-grid { grid-template-columns: 1fr; gap: 45px; }
  .brand-hero-logo { min-height: 230px; }
  .brand-service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
  .brand-hero { min-height: auto; padding: 70px 0; }
  .brand-hero-logo { min-height: 190px; padding: 34px; }
  .brand-service-grid,
  .brand-directory-grid { grid-template-columns: 1fr; }
  .model-list { grid-template-columns: 1fr; }
  .brand-directory-card { min-height: auto; }
}


/* ===== Aracım portal ===== */
.vehicle-portal-hero {
  padding: 95px 0;
  background:
    radial-gradient(circle at 72% 35%, rgba(77, 129, 181, .18), transparent 28%),
    linear-gradient(120deg, #06172b, #0b2342 62%, #173d65);
  color: white;
}
.vehicle-portal-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: center;
}
.vehicle-portal-hero h1 {
  max-width: 760px;
  color: white;
  font-size: clamp(46px, 6vw, 74px);
  line-height: 1;
  letter-spacing: -.05em;
}
.vehicle-portal-hero > .container > div:first-child > p:last-child,
.vehicle-portal-grid > div:first-child > p:last-child {
  max-width: 690px;
  margin-top: 24px;
  color: #d5e0eb;
  font-size: 18px;
}
.vehicle-login-card {
  background: white;
  color: var(--gray-800);
  border-radius: 18px;
  padding: 38px;
  box-shadow: 0 28px 70px rgba(0,0,0,.22);
}
.vehicle-login-card h2 {
  font-size: 31px;
  margin-bottom: 28px;
}
.vehicle-login-card form {
  display: grid;
  gap: 10px;
}
.vehicle-login-card label,
.admin-field label {
  font-size: 12px;
  font-weight: 800;
  color: var(--navy);
  margin-top: 5px;
}
.vehicle-login-card input,
.admin-field input,
.admin-field textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #d5dde5;
  border-radius: 7px;
  padding: 0 14px;
  font: inherit;
  font-size: 16px;
  outline: none;
}
.admin-field textarea { padding: 13px 14px; resize: vertical; }
.vehicle-login-card input:focus,
.admin-field input:focus,
.admin-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31,86,141,.10);
}
.vehicle-submit {
  border: 0;
  min-height: 52px;
  margin-top: 10px;
  border-radius: 7px;
  background: var(--navy);
  color: white;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.vehicle-submit:disabled { opacity: .65; cursor: wait; }
.vehicle-form-message {
  min-height: 22px;
  margin-top: 4px;
  color: #a13b3b;
  font-size: 13px;
}
.vehicle-privacy-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-100);
  color: var(--gray-500);
  font-size: 12px;
}

.vehicle-result[hidden] { display: none; }
.vehicle-overview {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 40px;
}
.vehicle-overview > div:first-child > p:last-child {
  margin-top: 9px;
  color: var(--gray-500);
}
.maintenance-status {
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.maintenance-status.ok { background: #e7f5ed; color: #176238; }
.maintenance-status.soon { background: #fff3d8; color: #8a5a00; }
.maintenance-status.due { background: #fde9e9; color: #982d2d; }

.vehicle-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 75px;
}
.summary-box {
  min-height: 170px;
  padding: 28px;
  border: 1px solid var(--gray-100);
  background: #f8fafb;
}
.summary-box span {
  display: block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}
.summary-box strong {
  display: block;
  margin-top: 27px;
  color: var(--navy);
  font-size: 25px;
}
.summary-box p {
  margin-top: 6px;
  color: var(--gray-500);
  font-size: 13px;
}
.history-header { margin-bottom: 30px; }
.service-timeline {
  border-top: 1px solid var(--gray-100);
}
.timeline-item {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 50px;
  padding: 38px 0;
  border-bottom: 1px solid var(--gray-100);
}
.timeline-date strong,
.timeline-date span { display: block; }
.timeline-date strong { color: var(--navy); font-size: 15px; }
.timeline-date span { margin-top: 6px; color: var(--gray-500); font-size: 13px; }
.timeline-content h3 { color: var(--navy); font-size: 22px; }
.timeline-content p { margin-top: 8px; color: var(--gray-500); }
.timeline-content ul {
  margin-top: 17px;
  padding-left: 18px;
  color: var(--gray-800);
}
.timeline-content li + li { margin-top: 6px; }
.timeline-empty {
  padding: 35px 0;
  color: var(--gray-500);
}

/* ===== Admin prototype ===== */
.admin-page { background: #f2f5f8; }
.admin-shell {
  width: min(1050px, calc(100% - 30px));
  margin: 40px auto;
}
.admin-panel {
  background: white;
  padding: 45px;
  border: 1px solid var(--gray-100);
}
.admin-heading { max-width: 700px; margin-bottom: 35px; }
.admin-heading h1 { color: var(--navy); font-size: 44px; }
.admin-heading > p:last-child { margin-top: 12px; color: var(--gray-500); }
.admin-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.admin-field { display: grid; gap: 7px; }
.admin-span-2 { grid-column: span 2; }
.admin-form .vehicle-submit,
.admin-form .vehicle-form-message { grid-column: span 2; }
.admin-divider {
  border: 0;
  border-top: 1px solid var(--gray-100);
  margin: 45px 0;
}

@media (max-width: 900px) {
  .vehicle-portal-grid { grid-template-columns: 1fr; }
  .vehicle-summary-grid { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 650px) {
  .vehicle-portal-hero { padding: 70px 0; }
  .vehicle-login-card { padding: 26px 20px; }
  .vehicle-overview { align-items: flex-start; flex-direction: column; }
  .admin-panel { padding: 28px 20px; }
  .admin-form { grid-template-columns: 1fr; }
  .admin-span-2,
  .admin-form .vehicle-submit,
  .admin-form .vehicle-form-message { grid-column: auto; }
}


/* ===== Admin v2 ===== */
.admin-page {
  background: #f3f6f9;
  min-height: 100%;
}
.admin-topbar {
  background: #fff;
  border-bottom: 1px solid #e2e8ef;
}
.admin-topbar-inner {
  width: min(1400px, calc(100% - 34px));
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.admin-topbar img {
  width: 190px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
}
.admin-topbar-inner > div {
  padding-left: 16px;
  border-left: 1px solid #e2e8ef;
}
.admin-topbar strong,
.admin-topbar span {
  display: block;
}
.admin-topbar strong {
  color: var(--navy);
  font-size: 14px;
}
.admin-topbar span {
  color: var(--gray-500);
  font-size: 11px;
  margin-top: 2px;
}
.admin-topbar a {
  margin-left: auto;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.admin-app {
  width: min(1400px, calc(100% - 34px));
  margin: 34px auto 60px;
}
.admin-login-card {
  max-width: 580px;
  margin: 70px auto;
  padding: 42px;
  background: white;
  border: 1px solid #e2e8ef;
  border-radius: 16px;
}
.admin-login-card h1 {
  color: var(--navy);
  font-size: 40px;
}
.admin-login-card > p:not(.section-label) {
  margin-top: 10px;
  color: var(--gray-500);
}
.admin-login-card form {
  margin-top: 28px;
}
.admin-login-card label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}
.admin-login-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
}
.admin-login-row input {
  min-width: 0;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #d4dde6;
  border-radius: 7px;
  font: inherit;
}
.admin-login-row button,
.admin-primary-button {
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  background: var(--navy);
  color: white;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.admin-workspace {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.admin-sidebar {
  position: sticky;
  top: 20px;
  padding: 12px;
  background: white;
  border: 1px solid #e2e8ef;
  border-radius: 12px;
  display: grid;
  gap: 7px;
}
.admin-tab {
  width: 100%;
  padding: 14px 13px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.admin-tab span,
.admin-tab small {
  display: block;
}
.admin-tab span {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}
.admin-tab small {
  margin-top: 3px;
  color: var(--gray-500);
  font-size: 10px;
  line-height: 1.35;
}
.admin-tab.active {
  background: #edf3f8;
}
.admin-logout {
  margin-top: 12px;
  min-height: 42px;
  border: 1px solid #e2e8ef;
  border-radius: 7px;
  background: white;
  color: #8f3737;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.admin-content {
  min-width: 0;
}
.admin-tab-panel {
  display: none;
}
.admin-tab-panel.active {
  display: block;
}
.admin-section-head {
  min-height: 72px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 22px;
}
.admin-section-head h2 {
  font-size: 34px;
}
.admin-section-head .section-label {
  margin-bottom: 5px;
}
.admin-secondary-button {
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid #d5dee7;
  border-radius: 7px;
  background: white;
  color: var(--navy);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.admin-search {
  min-height: 64px;
  margin-bottom: 14px;
  padding: 10px 14px;
  background: white;
  border: 1px solid #e2e8ef;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.admin-search input {
  min-width: 0;
  flex: 1;
  min-height: 42px;
  border: 0;
  outline: none;
  font: inherit;
  font-size: 15px;
}
.admin-search span {
  color: var(--gray-500);
  font-size: 11px;
  font-weight: 700;
}

.admin-vehicle-layout {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
}
.admin-vehicle-list,
.admin-detail-panel,
.admin-form-card {
  background: white;
  border: 1px solid #e2e8ef;
  border-radius: 10px;
}
.admin-vehicle-list {
  overflow: hidden;
}
.vehicle-list-item {
  width: 100%;
  min-height: 78px;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid #edf1f4;
  background: white;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  cursor: pointer;
}
.vehicle-list-item:last-child {
  border-bottom: 0;
}
.vehicle-list-item:hover,
.vehicle-list-item.selected {
  background: #f1f6fa;
}
.vehicle-list-main,
.vehicle-list-meta {
  min-width: 0;
}
.vehicle-list-main strong,
.vehicle-list-main span,
.vehicle-list-meta span,
.vehicle-list-meta small {
  display: block;
}
.vehicle-list-main strong {
  color: var(--navy);
  font-size: 15px;
}
.vehicle-list-main span {
  margin-top: 5px;
  color: var(--gray-500);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vehicle-list-meta {
  text-align: right;
  flex: 0 0 auto;
}
.vehicle-list-meta span {
  color: var(--gray-800);
  font-size: 10px;
}
.vehicle-list-meta small {
  margin-top: 5px;
  color: var(--gray-500);
  font-size: 10px;
}
.admin-list-empty,
.admin-detail-loading {
  padding: 28px;
  color: var(--gray-500);
  font-size: 13px;
}

.admin-detail-panel {
  min-width: 0;
  padding: 28px;
}
.admin-empty-state {
  min-height: 350px;
  display: grid;
  place-items: center;
  text-align: center;
}
.admin-empty-state strong {
  color: var(--navy);
  font-size: 18px;
}
.admin-empty-state p {
  margin-top: 6px;
  color: var(--gray-500);
  font-size: 12px;
}
.admin-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}
.admin-detail-head h3 {
  color: var(--navy);
  font-size: 32px;
}
.admin-detail-head > div:first-child > p:last-child {
  margin-top: 4px;
  color: var(--gray-500);
  font-size: 13px;
}
.admin-detail-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-detail-actions button {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid #d4dde6;
  border-radius: 7px;
  background: white;
  color: var(--navy);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.admin-detail-actions button.primary {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
}

.admin-detail-summary {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #e7ecf1;
  border-radius: 9px;
  overflow: hidden;
}
.admin-detail-summary > div {
  padding: 18px;
  border-right: 1px solid #e7ecf1;
}
.admin-detail-summary > div:last-child {
  border-right: 0;
}
.admin-detail-summary span,
.admin-detail-summary strong,
.admin-detail-summary small {
  display: block;
}
.admin-detail-summary span {
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.admin-detail-summary strong {
  margin-top: 10px;
  color: var(--navy);
  font-size: 17px;
}
.admin-detail-summary small {
  margin-top: 3px;
  color: var(--gray-500);
  font-size: 10px;
}

.admin-history-head {
  margin-top: 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e7ecf1;
}
.admin-history-head h4 {
  color: var(--navy);
  font-size: 14px;
}
.admin-history-list article {
  padding: 20px 0;
  border-bottom: 1px solid #edf1f4;
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 25px;
}
.admin-history-date strong,
.admin-history-date span {
  display: block;
}
.admin-history-date strong {
  color: var(--navy);
  font-size: 12px;
}
.admin-history-date span {
  margin-top: 4px;
  color: var(--gray-500);
  font-size: 10px;
}
.admin-history-list h5 {
  color: var(--navy);
  font-size: 15px;
}
.admin-history-list p {
  margin-top: 5px;
  color: var(--gray-500);
  font-size: 11px;
}
.admin-history-list ul {
  margin-top: 9px;
  padding-left: 16px;
  color: var(--gray-800);
  font-size: 11px;
}
.admin-history-list li + li {
  margin-top: 3px;
}

.admin-form-card {
  padding: 28px;
}
.admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.admin-field {
  min-width: 0;
  display: grid;
  gap: 7px;
}
.admin-field label {
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
}
.admin-field input,
.admin-field textarea,
.admin-field select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #d4dde6;
  border-radius: 7px;
  background: white;
  color: var(--gray-800);
  font: inherit;
  font-size: 14px;
  outline: none;
}
.admin-field textarea {
  padding-top: 12px;
  padding-bottom: 12px;
  resize: vertical;
}
.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31,86,141,.09);
}
.admin-field small {
  color: var(--gray-500);
  font-size: 10px;
}
.admin-inline-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
}
.admin-inline-input button {
  border: 1px solid #d4dde6;
  border-radius: 7px;
  background: #f7f9fb;
  color: var(--navy);
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.admin-span-2 {
  grid-column: span 2;
}
.admin-form-actions {
  padding-top: 8px;
  display: flex;
  gap: 15px;
  align-items: center;
}
.admin-message {
  min-height: 20px;
  color: #8c3b3b;
  font-size: 11px;
}
.operation-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.operation-chips button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #d8e0e8;
  border-radius: 999px;
  background: #f8fafb;
  color: var(--navy);
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.operation-chips button:hover {
  border-color: var(--blue);
  background: #eef5fb;
}
.selected-vehicle-badge {
  max-width: 380px;
  padding: 10px 13px;
  border-radius: 999px;
  background: #eaf2f8;
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 1050px) {
  .admin-workspace {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: static;
    grid-template-columns: repeat(3, 1fr);
  }
  .admin-logout {
    grid-column: span 4;
  }
  .admin-vehicle-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .admin-topbar-inner > div {
    display: none;
  }
  .admin-topbar img {
    width: 155px;
  }
  .admin-app {
    width: min(100% - 20px, 1400px);
    margin-top: 18px;
  }
  .admin-login-card {
    margin-top: 30px;
    padding: 28px 20px;
  }
  .admin-login-row {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    grid-template-columns: 1fr;
  }
  .admin-logout {
    grid-column: auto;
  }
  .admin-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .admin-form {
    grid-template-columns: 1fr;
  }
  .admin-span-2 {
    grid-column: auto;
  }
  .admin-detail-head {
    flex-direction: column;
  }
  .admin-detail-summary {
    grid-template-columns: 1fr;
  }
  .admin-detail-summary > div {
    border-right: 0;
    border-bottom: 1px solid #e7ecf1;
  }
  .admin-detail-summary > div:last-child {
    border-bottom: 0;
  }
  .admin-history-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.admin-login-hint {
  margin-top: 12px;
  color: var(--gray-500);
  font-size: 11px;
}
.admin-login-hint strong { color: var(--navy); }


/* ===== Service record management ===== */
.admin-section-description {
  margin-top: 8px;
  color: var(--gray-500);
  font-size: 12px;
}

.service-manage-layout {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
}

.service-record-list,
.service-edit-panel {
  min-width: 0;
  background: white;
  border: 1px solid #e2e8ef;
  border-radius: 10px;
}

.service-record-list {
  overflow: hidden;
}

.service-record-item {
  width: 100%;
  padding: 15px 16px;
  border: 0;
  border-bottom: 1px solid #edf1f4;
  background: white;
  text-align: left;
  cursor: pointer;
}

.service-record-item:last-child {
  border-bottom: 0;
}

.service-record-item:hover,
.service-record-item.selected {
  background: #f1f6fa;
}

.service-record-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-record-top strong {
  color: var(--navy);
  font-size: 14px;
}

.service-record-top span {
  color: var(--gray-500);
  font-size: 10px;
}

.service-record-item h4 {
  margin-top: 9px;
  color: var(--navy);
  font-size: 13px;
}

.service-record-item p {
  margin-top: 4px;
  color: var(--gray-500);
  font-size: 11px;
}

.service-record-item small {
  display: inline-block;
  margin-top: 9px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
}

.service-edit-panel {
  min-height: 420px;
  padding: 28px;
}

.service-edit-head {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e7ecf1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.service-edit-head h3 {
  color: var(--navy);
  font-size: 30px;
}

.service-edit-head > div > p:last-child {
  margin-top: 4px;
  color: var(--gray-500);
  font-size: 12px;
}

.admin-danger-button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #e4bcbc;
  border-radius: 7px;
  background: #fff7f7;
  color: #9e3030;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.admin-danger-button:hover {
  background: #fcecec;
}

.service-edit-actions {
  padding-top: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.service-edit-actions .admin-message {
  flex: 1 1 220px;
}

@media (max-width: 1050px) {
  .service-manage-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .service-edit-head {
    flex-direction: column;
  }
  .service-edit-panel {
    padding: 22px 18px;
  }
}


/* ===== v1.8 enhancements ===== */
.admin-private-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin-top: 12px;
  color: var(--gray-500);
  font-size: 10px;
}
.admin-private-meta b { color: var(--navy); }

.admin-note-box {
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 7px;
  background: #fff8e8;
  color: #72561d;
  font-size: 11px;
}
.admin-parts {
  margin-top: 12px;
  padding: 10px 12px;
  background: #f7f9fb;
  border-radius: 7px;
}
.admin-parts strong {
  color: var(--navy);
  font-size: 10px;
}
.admin-parts ul {
  margin-top: 6px;
}

.maintenance-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.maintenance-dot {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}
.maintenance-dot.due { background: #fde9e9; color: #982d2d; }
.maintenance-dot.soon { background: #fff3d8; color: #8a5a00; }
.maintenance-dot.upcoming { background: #eaf2f8; color: #245c89; }

.maintenance-admin-list {
  display: grid;
  gap: 10px;
}
.maintenance-admin-item {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr auto;
  gap: 22px;
  align-items: center;
  padding: 20px;
  background: white;
  border: 1px solid #e2e8ef;
  border-left-width: 4px;
  border-radius: 10px;
}
.maintenance-admin-item.due { border-left-color: #b94646; }
.maintenance-admin-item.soon { border-left-color: #c59120; }
.maintenance-admin-item.upcoming { border-left-color: #3975a6; }

.maintenance-severity {
  display: inline-block;
  margin-bottom: 7px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.maintenance-admin-item.due .maintenance-severity { color: #a13737; }
.maintenance-admin-item.soon .maintenance-severity { color: #8b620d; }
.maintenance-admin-item.upcoming .maintenance-severity { color: #2f6997; }

.maintenance-admin-main h3 {
  color: var(--navy);
  font-size: 21px;
}
.maintenance-admin-main p {
  margin-top: 3px;
  color: var(--gray-500);
  font-size: 11px;
}
.maintenance-admin-main a {
  display: inline-block;
  margin-top: 7px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}
.maintenance-admin-data {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.maintenance-admin-data > div {
  min-width: 0;
  padding: 11px;
  background: #f7f9fb;
  border-radius: 7px;
}
.maintenance-admin-data span,
.maintenance-admin-data strong,
.maintenance-admin-data small {
  display: block;
}
.maintenance-admin-data span {
  color: var(--gray-500);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.maintenance-admin-data strong {
  margin-top: 6px;
  color: var(--navy);
  font-size: 11px;
}
.maintenance-admin-data small {
  margin-top: 3px;
  color: var(--gray-500);
  font-size: 9px;
}
.maintenance-admin-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.maintenance-admin-actions button,
.maintenance-admin-actions a {
  min-height: 36px;
  min-width: 88px;
  padding: 0 10px;
  border: 1px solid #d5dee7;
  border-radius: 7px;
  background: white;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.maintenance-admin-actions a {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

.customer-maintenance-detail {
  margin-bottom: 75px;
  padding: 30px;
  border-radius: 12px;
  background: var(--navy);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.customer-maintenance-detail h3 {
  color: white;
  font-size: 25px;
}
.customer-maintenance-detail p:not(.section-label) {
  margin-top: 7px;
  color: #d4e0eb;
}
.customer-maintenance-detail a {
  flex: 0 0 auto;
  min-height: 45px;
  padding: 0 16px;
  border-radius: 7px;
  background: white;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
}
.timeline-block {
  margin-top: 17px;
}
.timeline-block > strong {
  color: var(--navy);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.timeline-block ul {
  margin-top: 8px;
}
.parts-block {
  padding: 14px 16px;
  border-radius: 8px;
  background: #f4f7fa;
}
.parts-block > strong { color: var(--blue); }

@media (max-width: 950px) {
  .maintenance-admin-item {
    grid-template-columns: 1fr;
  }
  .maintenance-admin-actions {
    flex-direction: row;
  }
}
@media (max-width: 650px) {
  .maintenance-admin-data {
    grid-template-columns: 1fr;
  }
  .customer-maintenance-detail {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* ===== v1.9 quality & navigation ===== */
.menu a {
  position: relative;
  padding: 9px 0;
  transition: color .18s ease;
}
.menu a.active { color: var(--blue); }
.menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  border-radius: 99px;
  background: var(--blue);
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  background: white;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.mobile-menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .2s ease, opacity .2s ease;
}
.mobile-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.vehicle-list-item:focus-visible,
.admin-tab:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(31, 86, 141, .22);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .header { position: sticky; }
  .nav { position: relative; flex-wrap: nowrap; gap: 14px; }
  .mobile-menu-toggle { display: inline-flex; margin-left: auto; flex: 0 0 auto; }
  .menu {
    display: none;
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    z-index: 40;
    margin-left: 0;
    padding: 12px;
    gap: 2px;
    flex-direction: column;
    border: 1px solid var(--gray-100);
    border-top: 0;
    border-radius: 0 0 12px 12px;
    background: rgba(255,255,255,.99);
    box-shadow: 0 20px 45px rgba(11,35,66,.13);
  }
  .menu.open { display: flex; }
  .menu a {
    padding: 12px 13px;
    border-radius: 7px;
  }
  .menu a:hover,
  .menu a.active { background: var(--gray-50); }
  .menu a.active::after { display: none; }
}

@media (max-width: 720px) {
  .header .whatsapp-btn { display: none; }
  .nav { min-height: 70px; }
}

@media (max-width: 600px) {
  .header { position: sticky; }
}


/* ===== v1.9.1 plate input ===== */
[data-plate-input] {
  text-transform: uppercase;
  letter-spacing: .04em;
}


/* ===== v1.10 mobile polish & transitions ===== */
html.js body {
  opacity: 0;
  transform: translateY(3px);
}
html.js body.page-ready {
  opacity: 1;
  transform: none;
  transition: opacity .20s ease, transform .20s ease;
}
html.js body.page-leaving {
  opacity: 0;
  transform: translateY(3px);
  transition: opacity .14s ease, transform .14s ease;
}

.hero-brand-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
}
.hero-brand-list span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.hero-brand-list span:not(:last-child)::after {
  content: "•";
  margin: 0 8px;
  color: #8fb2d2;
}

@media (max-width: 720px) {
  body { overflow-x: hidden; }
  .container { width: min(100% - 32px, 1180px); }

  .header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.985);
  }
  .nav {
    min-height: 70px;
    gap: 12px;
  }
  .brand {
    min-width: 0;
    display: flex;
    align-items: center;
  }
  .brand img {
    width: 174px;
    max-width: 54vw;
    height: 42px;
  }
  .header .whatsapp-btn { display: none !important; }
  .mobile-menu-toggle {
    display: inline-flex !important;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border-color: #dfe5eb;
    box-shadow: 0 5px 16px rgba(11,35,66,.06);
  }
  .menu {
    top: 100%;
    left: -16px;
    right: -16px;
    width: auto;
    padding: 10px 16px 14px;
    border-left: 0;
    border-right: 0;
    border-radius: 0 0 12px 12px;
  }
  .menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    font-size: 14px;
  }

  .hero {
    min-height: auto;
    align-items: flex-start;
  }
  .hero-overlay {
    background: linear-gradient(100deg, rgba(5,18,35,.96), rgba(10,34,63,.78));
  }
  .hero-content {
    width: 100%;
    padding: 66px 0 62px;
  }
  .hero .eyebrow {
    max-width: 100%;
    margin-bottom: 18px;
    font-size: 10.5px;
    line-height: 1.45;
    letter-spacing: .13em;
  }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(38px, 10.7vw, 44px);
    line-height: 1.02;
    letter-spacing: -.045em;
  }
  .hero h1 br { display: none; }
  .hero h1 span { display: inline; }
  .hero-text {
    margin-top: 25px;
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: 0;
    color: #dce7f1;
  }
  .hero-brand-list {
    max-width: 345px;
    row-gap: 2px;
  }
  .hero-brand-list span:not(:last-child)::after { margin: 0 7px; }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    max-width: 345px;
    margin-top: 30px;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 7px;
  }
  .brand-all-link-wrap {
    width: 100%;
    max-width: 345px;
    margin-top: 19px;
    text-align: left;
  }
  .hero .brand-all-link {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #c8d8e7;
    font-size: 12px;
    font-weight: 700;
  }
  .hero .brand-all-link:hover { color: white; }

  .section { padding: 72px 0; }
  .about-grid { gap: 25px; }
  h2 { font-size: clamp(31px, 9vw, 40px); }
  .about-copy { font-size: 16px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2 br { display: none; }

  .problem-box,
  .contact-box {
    gap: 28px;
  }
  .contact-actions,
  .problem-box > .btn {
    width: 100%;
  }
  .contact-actions .btn,
  .problem-box > .btn {
    width: 100%;
  }

  .service-hero h1,
  .brand-hero h1,
  .brand-directory-hero h1,
  .vehicle-portal-hero h1 {
    font-size: clamp(35px, 10vw, 44px);
    line-height: 1.04;
  }
  .service-hero,
  .brand-hero,
  .vehicle-portal-hero {
    padding-top: 62px;
    padding-bottom: 62px;
  }
}

@media (max-width: 390px) {
  .container { width: min(100% - 28px, 1180px); }
  .brand img { width: 160px; max-width: 58vw; }
  .hero-content { padding-top: 58px; padding-bottom: 56px; }
  .hero h1 { font-size: 38px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .115em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js body,
  html.js body.page-ready,
  html.js body.page-leaving {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}


/* ===== v1.11 final test polish ===== */
/* Hero brand directory link: same clean treatment on desktop and mobile. */
.hero .brand-all-link-wrap {
  width: auto;
  max-width: none;
  margin-top: 20px;
  text-align: left;
}
.hero .brand-all-link {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #c8d8e7;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  transition: color .18s ease, transform .18s ease;
}
.hero .brand-all-link:hover {
  border-color: transparent;
  color: #ffffff;
  transform: translateX(3px);
}

/* Keep section anchors clear of the sticky header. */
#home, #about, #services, #brands, #gallery, #contact {
  scroll-margin-top: 88px;
}

/* Slightly more coherent interaction feedback across the public site. */
.btn,
.service-card-link,
.brand-tile,
.all-services-link,
.brand-all-link {
  transition-property: transform, border-color, background-color, color, box-shadow;
  transition-duration: .18s;
  transition-timing-function: ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Prevent accidental layout shifts from very long CTA labels. */
.btn,
.whatsapp-btn { text-align: center; }

@media (max-width: 720px) {
  #home, #about, #services, #brands, #gallery, #contact { scroll-margin-top: 76px; }
  .hero .brand-all-link-wrap { margin-top: 18px; }
}

/* ===== v2.0 güvenli admin girişi ===== */
.admin-login-fields {
  display: grid;
  gap: 14px;
}
.admin-login-fields input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #d4dde6;
  border-radius: 7px;
  background: #fff;
  color: var(--navy);
  font: inherit;
}
.admin-login-fields input:focus {
  outline: 2px solid rgba(25, 86, 135, .18);
  border-color: #7ea4c4;
}
.admin-login-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  border: 0;
  border-radius: 7px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
