/* ===== AS7 Detailing — black / brushed chrome / electric blue ===== */

:root {
  --black: #070708;
  --black-soft: #0f0f12;
  --panel: #16161b;
  --panel-border: #272730;
  --chrome-1: #f2f2f6;
  --chrome-2: #9a9aa5;
  --blue: #2fa8ff;
  --blue-deep: #1478d6;
  --blue-glow: rgba(47, 168, 255, 0.55);
  --text: #e7e7ec;
  --text-dim: #9b9ba5;
  --radius: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 20px;
}

.chrome-text {
  background: linear-gradient(180deg, #ffffff 0%, #d2d2da 40%, #8c8c97 55%, #e4e4ea 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.blue-text {
  color: var(--blue);
  text-shadow: 0 0 14px var(--blue-glow);
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  cursor: pointer;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #04101c;
  box-shadow: 0 0 22px var(--blue-glow);
}
.btn-primary:hover { box-shadow: 0 0 30px var(--blue-glow); }

.btn-large {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px 24px;
  font-size: 17px;
}

/* ===== Hero ===== */
.hero {
  padding: 56px 0 40px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(47,168,255,0.14), transparent 60%),
    var(--black);
}
.logo-img { max-width: 140px; margin-bottom: 14px; }
.logo-fallback {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: var(--chrome-1);
}
.hero h1 {
  font-size: 30px;
  margin: 6px 0 2px;
  letter-spacing: 0.5px;
}
.hero-tagline {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 24px;
}
.hero .btn { max-width: 280px; margin: 0 auto; }

/* ===== Banner ===== */
.banner {
  background: linear-gradient(90deg, rgba(47,168,255,0.12), rgba(47,168,255,0.04));
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
  padding: 18px 0;
  text-align: center;
}
.banner-title { margin: 0 0 6px; font-weight: 800; letter-spacing: 1px; font-size: 13px; color: var(--blue); }
.banner-text { margin: 0; font-size: 16px; }
.banner-reg { color: var(--text-dim); font-size: 13px; }
.banner-sub { margin: 4px 0 0; font-size: 13px; color: var(--text-dim); }

/* ===== Sections ===== */
.section { padding: 48px 0; }
.section-dark { background: var(--black-soft); }
.section-title {
  font-size: 24px;
  text-align: center;
  margin: 0 0 6px;
  font-weight: 800;
}
.section-sub {
  text-align: center;
  color: var(--text-dim);
  margin: 0 0 28px;
  font-size: 14px;
}

/* ===== Service tile grid ===== */
.tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.service-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--panel-border);
  background:
    linear-gradient(145deg, #1c1c22, #0c0c0f);
  cursor: pointer;
  padding: 0;
  text-align: left;
  color: var(--text);
  display: flex;
  align-items: flex-end;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.service-tile:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: 0 10px 26px rgba(0,0,0,0.45), 0 0 16px var(--blue-glow);
}
.service-tile:active { transform: translateY(0) scale(0.97); }
.service-tile:nth-child(2) { background: linear-gradient(145deg, #1a1c2c, #0a0b12); }
.service-tile:nth-child(3) { background: linear-gradient(145deg, #0f2230, #0a0f12); }

.service-tile-featured {
  grid-column: 1 / -1;
  aspect-ratio: 2.3 / 1;
  background: linear-gradient(145deg, #142230, #0a0d12);
}

.tile-popular-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: var(--blue);
  color: #04101c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 0 14px var(--blue-glow);
}

.tile-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tile-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 14px 12px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.75), transparent);
}
.tile-overlay h3 {
  margin: 0 0 2px;
  font-size: 16px;
  color: #fff;
  font-weight: 800;
}
.tile-overlay p {
  margin: 0;
  font-size: 12px;
  color: #cfcfd6;
}
.tile-cta {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--blue);
}
.tile-arrow {
  position: absolute;
  bottom: 12px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #04101c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 0 16px var(--blue-glow);
  animation: arrowPulse 2.4s ease-in-out infinite;
}
@keyframes arrowPulse {
  0%, 100% { box-shadow: 0 0 14px var(--blue-glow); transform: scale(1); }
  50% { box-shadow: 0 0 26px var(--blue-glow); transform: scale(1.1); }
}

/* ===== Panel (modal) ===== */
.panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(2px);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 100;
}
.panel-overlay.open { display: flex; }
.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 0 0 28px;
}
@media (min-width: 700px) {
  .panel-overlay { align-items: center; }
  .panel { border-radius: 20px; max-height: 80vh; }
}
.panel-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: flex-end;
  padding: 14px 16px 0;
  background: var(--panel);
}
.panel-close {
  background: var(--black-soft);
  border: 1px solid var(--panel-border);
  color: var(--text);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.panel-content { padding: 6px 20px 0; }

.example-photos { display: flex; gap: 8px; margin-bottom: 16px; }
.example-photo {
  flex: 1;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(145deg, #1c2430, #0b0d10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 12px;
  border: 1px solid var(--panel-border);
}
.example-photo img { width: 100%; height: 100%; object-fit: cover; }

.panel h2 { font-size: 20px; margin: 0 0 4px; }
.panel-sub { color: var(--text-dim); font-size: 13px; margin: 0 0 18px; }

.vehicle-select { display: flex; gap: 8px; margin-bottom: 18px; }
.vehicle-btn {
  flex: 1;
  background: var(--black-soft);
  border: 1px solid var(--panel-border);
  color: var(--text);
  padding: 10px 6px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  text-align: center;
  cursor: pointer;
}
.vehicle-btn.active {
  border-color: var(--blue);
  box-shadow: 0 0 12px var(--blue-glow);
  color: var(--blue);
  font-weight: 700;
}

.package-cards { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.package-card {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  padding: 14px;
  cursor: pointer;
  background: var(--black-soft);
}
.package-card.selected {
  border-color: var(--blue);
  box-shadow: 0 0 16px var(--blue-glow);
}
.package-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.package-card-head h3 { margin: 0; font-size: 15px; }
.package-price { font-weight: 800; color: var(--blue); font-size: 15px; white-space: nowrap; }
.package-price .strike { color: var(--text-dim); text-decoration: line-through; font-weight: 400; font-size: 12px; margin-right: 4px; }
.popular-badge {
  display: inline-block;
  background: var(--blue);
  color: #04101c;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}
.package-tagline { font-size: 12px; color: var(--text-dim); margin: 4px 0 8px; }
.package-duration { font-size: 11px; color: var(--text-dim); margin: 0 0 8px; }
.package-details {
  display: none;
  font-size: 13px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--panel-border);
}
.package-card.selected .package-details { display: block; }
.package-details h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-dim); margin: 10px 0 4px; }
.package-details ul { margin: 0; padding-left: 18px; }
.package-details li { margin-bottom: 2px; }

.first-time-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--black-soft);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 18px;
  font-size: 13px;
}
.first-time-row input { margin-top: 3px; }
.first-time-note { font-size: 11px; color: var(--text-dim); margin: 4px 0 0; }

.addon-group h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-dim); margin: 0 0 8px; }
.addon-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--panel-border);
  font-size: 14px;
}
.addon-row label { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; flex: 1; }
.addon-price { font-weight: 700; white-space: nowrap; color: var(--chrome-1); }
.addon-startingat { font-size: 10px; color: var(--text-dim); display: block; }

.pricing-note {
  font-size: 12px;
  color: var(--text-dim);
  margin: 16px 0;
  padding: 10px;
  background: var(--black-soft);
  border-radius: var(--radius-sm);
}

.panel-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  font-weight: 800;
  margin: 14px 0 16px;
}
.panel-total .amount { color: var(--blue); text-shadow: 0 0 14px var(--blue-glow); }

/* ===== Cart bar ===== */
.cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--panel);
  border-top: 1px solid var(--panel-border);
  padding: 12px 16px;
  display: none;
  z-index: 90;
}
.cart-bar.show { display: block; }
.cart-bar-inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cart-bar-info { display: flex; flex-direction: column; min-width: 0; }
.cart-bar-name { font-size: 12px; color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-bar-total { font-weight: 800; color: var(--blue); font-size: 16px; }
.cart-bar .btn { white-space: nowrap; padding: 10px 18px; font-size: 14px; }

/* ===== Selection recap + form ===== */
.selection-recap {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 22px;
  font-size: 14px;
}
.recap-empty { margin: 0; color: var(--text-dim); text-align: center; }
.recap-row { display: flex; justify-content: space-between; padding: 4px 0; }
.recap-row.total { border-top: 1px solid var(--panel-border); margin-top: 8px; padding-top: 10px; font-weight: 800; font-size: 16px; }
.recap-row.total .amount { color: var(--blue); }
.recap-row.subtotal { color: var(--text-dim); font-size: 12px; }

.recap-line { padding: 10px 0; border-bottom: 1px solid var(--panel-border); }
.recap-line:last-of-type { border-bottom: none; }
.recap-line-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.recap-line-title { font-weight: 700; }
.recap-remove {
  background: var(--black-soft);
  border: 1px solid var(--panel-border);
  color: var(--text-dim);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.recap-remove:hover { color: #ff8a8a; border-color: #ff8a8a; }

.booking-form { display: flex; flex-direction: column; gap: 14px; }
.booking-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-dim); }
.booking-form input, .booking-form select, .booking-form textarea {
  background: var(--black-soft);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  padding: 12px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 10px var(--blue-glow);
}
.booking-form input.invalid, .booking-form select.invalid {
  border-color: #ff5d5d;
  box-shadow: 0 0 10px rgba(255, 93, 93, 0.5);
}
.form-row { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 600px) {
  .form-row { flex-direction: row; }
  .form-row label { flex: 1; }
}
.form-note { font-size: 12px; color: #ff8a8a; text-align: center; }

.confirmation { text-align: center; padding: 30px 0; }
.confirmation-icon {
  width: 56px; height: 56px; line-height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: #04101c;
  font-size: 28px;
  margin: 0 auto 12px;
  box-shadow: 0 0 24px var(--blue-glow);
}
.confirmation-title { font-size: 20px; font-weight: 800; margin: 0 0 4px; }

/* ===== Gallery ===== */
.gallery-grid { display: flex; flex-direction: column; gap: 22px; }
.gallery-pair-images { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery-item { margin: 0; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--panel-border); }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.gallery-item.ph img { display: none; }
.gallery-item.ph { background: linear-gradient(145deg, #1c1c22, #0c0c0f); aspect-ratio: 4/3; }
.gallery-item figcaption { text-align: center; font-size: 11px; color: var(--text-dim); padding: 6px 0; }
.gallery-caption { text-align: center; font-size: 13px; color: var(--text); margin: 8px 0 0; }

/* ===== How it works ===== */
.steps { display: flex; flex-direction: column; gap: 20px; }
.step { text-align: center; }
.step-num {
  width: 40px; height: 40px; line-height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #04101c;
  font-weight: 800;
  margin: 0 auto 10px;
  box-shadow: 0 0 16px var(--blue-glow);
}
.step h3 { margin: 0 0 4px; font-size: 16px; }
.step p { margin: 0; font-size: 13px; color: var(--text-dim); }

/* ===== Service area ===== */
.area-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
}
.area-list li {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
}

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.faq-item p { margin: 10px 0 0; font-size: 13px; color: var(--text-dim); }

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 36px 0 90px;
  color: var(--text-dim);
  font-size: 14px;
}
.footer-logo { font-size: 20px; margin-bottom: 10px; }
.footer a { color: var(--text); text-decoration: none; }
.footer-refer { margin-top: 14px; font-weight: 700; color: var(--text); }
.footer-copy { font-size: 11px; margin-top: 18px; }
