/* =========================================================
   SUPPORT SERVICE — Black & White design system
   ========================================================= */

:root {
  --bg: #f3eee5;            /* warm cream / workshop wall */
  --bg-elev: #ebe4d6;       /* slightly darker cream */
  --fg: #1a1614;            /* deep charcoal, not pure black */
  --muted: #6b635a;         /* warm grey */
  --line: #d8cfbe;          /* dusty beige line */
  --line-strong: #1a1614;
  --invert-bg: #1a1614;     /* dark workshop floor */
  --invert-fg: #f3eee5;
  --accent: #c2410c;        /* rust orange — automotive accent */
  --accent-soft: #e8b896;
  --radius: 3px;
  --radius-lg: 10px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { min-height: 100vh; }

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #fff; }

/* =========================================================
   Brand
   ========================================================= */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 8px 18px -10px rgba(26,22,20,.45);
  background: #18212c;
  padding: 2px;
  transform: translateZ(0);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.brand:hover .brand-mark {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px -12px rgba(26,22,20,.5);
}
.brand-name { font-size: 18px; }

/* =========================================================
   LANDING PAGE
   ========================================================= */
.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 15% 0%, rgba(194,65,12,.06) 0%, transparent 45%),
    radial-gradient(circle at 85% 100%, rgba(26,22,20,.06) 0%, transparent 45%),
    var(--bg);
}

.landing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.brand-tag {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.landing-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 8vh, 80px) clamp(20px, 5vw, 64px);
  gap: clamp(40px, 6vh, 64px);
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.hero-text { max-width: 760px; }
.hero-text h1 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero-text h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
}
.hero-text p {
  margin-top: 20px;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--muted);
  max-width: 520px;
}

/* CTA grid */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cta-card {
  position: relative;
  text-align: left;
  padding: 28px 24px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all .35s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--invert-bg);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
  z-index: -1;
}
.cta-card:hover {
  color: var(--invert-fg);
  border-color: var(--invert-bg);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(26,22,20,.3);
}
.cta-card:hover::before { transform: translateY(0); }
.cta-card:hover .cta-num { color: var(--accent-soft); }
.cta-card:hover .cta-desc { color: rgba(243,238,229,.75); }
.cta-card:hover .cta-arrow { transform: translateX(6px); color: var(--accent-soft); }

.cta-num {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.05em;
  transition: color .3s var(--ease);
}
.cta-title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.cta-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  transition: color .3s var(--ease);
}
.cta-arrow {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 22px;
  transition: transform .3s var(--ease);
}

/* Continue link */
.continue-link {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  border: 1px solid var(--invert-bg);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--ease);
}
.continue-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--invert-bg);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
  z-index: -1;
}
.continue-link:hover { color: var(--invert-fg); }
.continue-link:hover::before { transform: scaleX(1); }
.continue-link svg { transition: transform .35s var(--ease); }
.continue-link:hover svg { transform: translateX(8px); }

.landing-footer {
  display: flex;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* =========================================================
   MODALS
   ========================================================= */
.modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 560px;
  width: calc(100% - 32px);
  border-radius: var(--radius-lg);
  color: var(--fg);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}
.modal[open] { display: block; }
.modal::backdrop {
  background: rgba(10,10,10,.55);
  backdrop-filter: blur(6px);
}
.modal[open] { animation: pop .25s var(--ease); }
@keyframes pop {
  from { opacity: 0; transform: translate(-50%, -50%) scale(.96); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.modal-inner {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.4);
}
.modal-inner.wide { max-width: none; }
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-head h2 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.modal-close {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 14px;
  transition: all .25s var(--ease);
}
.modal-close:hover { background: var(--invert-bg); color: #fff; border-color: var(--invert-bg); }
.modal-sub { font-size: 14px; color: var(--muted); }

.field { display: flex; flex-direction: column; gap: 6px; }
.field span {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  outline: none;
  transition: border-color .2s var(--ease), background .2s var(--ease);
  font-size: 15px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(194,65,12,.12);
}
.field textarea { resize: vertical; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--accent);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: #a3360a;
  border-color: #a3360a;
  box-shadow: 0 10px 24px -8px rgba(194,65,12,.5);
}
.btn-primary.big { padding: 18px 32px; font-size: 13px; }

.btn-danger {
  background: #fff;
  color: #991b1b;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid #fecaca;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn-danger:hover {
  background: #fef2f2;
  border-color: #fca5a5;
}
.btn-danger:disabled,
.btn-primary:disabled {
  cursor: not-allowed;
  opacity: .65;
  transform: none;
}

.btn-ghost {
  padding: 14px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--invert-bg);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all .25s var(--ease);
}
.btn-ghost:hover { background: var(--invert-bg); color: var(--invert-fg); }

/* Track result */
.track-result {
  margin-top: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.track-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px;
}
.track-label { color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; font-weight: 500; }
.track-value { font-weight: 600; }
.status-tag {
  background: var(--invert-bg); color: var(--invert-fg);
  padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.status-tag.ok { background: #15803d; color: #fff; }
.status-tag.warn { background: #b45309; color: #fff; }
.track-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.track-delete {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.track-delete .field { margin: 0; }
.track-delete .track-note {
  grid-column: 1 / -1;
  padding-top: 0;
  border-top: 0;
  color: #991b1b;
}

/* Maps modal */
.map-wrap {
  height: 320px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line);
  filter: grayscale(1) contrast(1.05);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
.map-info {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 20px;
  align-items: center;
}
.map-info strong {
  display: block; font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
  font-weight: 500;
}
.map-info span { font-size: 14px; }

.book-success {
  font-size: 14px;
  padding: 12px 14px;
  background: #f4f4f4;
  border-radius: var(--radius);
  border-left: 3px solid #000;
}
.book-error {
  font-size: 14px;
  padding: 12px 14px;
  color: #991b1b;
  background: #fef2f2;
  border-radius: var(--radius);
  border-left: 3px solid #991b1b;
}

/* =========================================================
   MAIN SITE — Auto service themed
   ========================================================= */
.site { background: #fff; color: var(--fg); }

/* Top utility bar */
.top-bar {
  background: var(--invert-bg);
  color: rgba(255,255,255,.75);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.top-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px clamp(20px, 5vw, 64px);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.top-bar-right { display: inline-flex; gap: 24px; }
.top-bar a { color: #fff; font-weight: 500; }
.top-bar a:hover { text-decoration: underline; }

.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-links {
  display: flex; gap: 28px; list-style: none;
  font-size: 14px; font-weight: 500;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: currentColor;
  transition: right .3s var(--ease);
}
.nav-links a:hover::after { right: 0; }
.nav-cta {
  padding: 10px 20px;
  background: var(--invert-bg); color: #fff;
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  transition: transform .25s var(--ease);
}
.nav-cta:hover { transform: translateY(-2px); }

/* =========================================================
   GARAGE HERO
   ========================================================= */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  font-weight: 500;
}
.eyebrow.light { color: rgba(255,255,255,.6); }

.garage-hero {
  position: relative;
  background: var(--invert-bg);
  color: var(--invert-fg);
  overflow: hidden;
  border-bottom: 1px solid #1a1a1a;
}
.garage-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  pointer-events: none;
}
.garage-hero-bg svg { width: 100%; height: 100%; }
.garage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0a0a0a 0%, rgba(10,10,10,.85) 45%, rgba(10,10,10,.2) 100%);
  z-index: 1;
}
.garage-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(60px, 10vw, 120px) clamp(20px, 5vw, 64px);
}

.badge-row {
  display: inline-flex; gap: 12px; align-items: center;
  margin-bottom: 32px; flex-wrap: wrap;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
.dot-pulse {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .6);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.badge-line {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  position: relative;
  padding-left: 14px;
}
.badge-line::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 6px; height: 1px;
  background: rgba(255,255,255,.4);
}

.garage-hero-content h1 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(44px, 7.5vw, 104px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 12ch;
}
.garage-hero-content h1 em {
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,.55);
}
.garage-hero-content .lead {
  margin-top: 28px;
  font-size: clamp(15px, 1.3vw, 17px);
  color: rgba(255,255,255,.7);
  max-width: 520px;
  line-height: 1.65;
}
.hero-actions {
  margin-top: 36px;
  display: flex; gap: 14px; flex-wrap: wrap;
}
.hero-actions .btn-primary {
  background: #fff; color: #000;
}
.hero-actions .btn-ghost {
  border-color: rgba(255,255,255,.3);
  color: #fff;
}
.hero-actions .btn-ghost:hover {
  background: #fff; color: #000; border-color: #fff;
}

.hero-stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stats > div {
  padding: 28px 24px 0;
  display: flex; flex-direction: column; gap: 6px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.hero-stats > div:last-child { border-right: 0; }
.hero-stats strong {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.hero-stats span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,.55);
}

/* =========================================================
   NAV
   ========================================================= */
.nav-links {
  display: flex; gap: 28px; list-style: none;
  font-size: 14px; font-weight: 500;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: currentColor;
  transition: right .3s var(--ease);
}
.nav-links a:hover::after { right: 0; }
.nav-cta {
  padding: 10px 20px;
  background: var(--invert-bg); color: #fff;
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  transition: transform .25s var(--ease);
}
.nav-cta:hover { transform: translateY(-2px); }

/* Marquee */
.marquee {
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.marquee-track {
  display: flex; gap: 40px;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(24px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.marquee-track span:nth-child(even) { color: var(--muted); font-size: 0.7em; }
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* Sections */
.section {
  padding: clamp(60px, 10vw, 120px) clamp(20px, 5vw, 64px);
  max-width: 1400px;
  margin: 0 auto;
}
.section.dark {
  background: var(--invert-bg);
  color: var(--invert-fg);
  max-width: none;
}
.section.dark > * { max-width: 1400px; margin-left: auto; margin-right: auto; }

.section-head {
  margin-bottom: 60px;
  max-width: 760px;
}
.section-head.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: none;
  align-items: end;
}
.section-head h2 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.section-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 480px;
}
.section-desc.light { color: rgba(255,255,255,.65); }

/* Brand cards */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.brand-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
  background: #fff;
}
.brand-card::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--invert-bg);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.brand-card:hover { transform: translateY(-6px); border-color: var(--invert-bg); box-shadow: 0 20px 40px -20px rgba(0,0,0,.15); }
.brand-card:hover::after { transform: scaleX(1); }
.brand-photo {
  width: calc(100% + 48px);
  margin: -28px -24px 4px;
  height: 180px;
  overflow: hidden;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
}
.brand-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
  filter: saturate(0.95);
}
.brand-card:hover .brand-photo img {
  transform: scale(1.05);
  filter: saturate(1.1);
}
.brand-svg {
  width: 100%; height: 80px;
  color: var(--fg);
  margin-bottom: 4px;
}
.brand-card header { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px dashed var(--line); }
.brand-card header span {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.brand-card h3 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.brand-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.brand-list li {
  font-size: 13px;
  padding-left: 18px;
  position: relative;
}
.brand-list li::before {
  content: "→";
  position: absolute; left: 0;
  color: var(--muted);
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.srv-card {
  padding: 28px 22px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 12px;
  min-height: 240px;
  transition: all .35s var(--ease);
  position: relative;
}
.srv-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.25);
  transform: translateY(-4px);
}
.srv-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  color: #fff;
  margin-bottom: 8px;
}
.srv-icon svg { width: 24px; height: 24px; }
.srv-num {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  letter-spacing: 0.06em;
}
.srv-card h3 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.srv-card p {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  line-height: 1.55;
  flex: 1;
}
.srv-tag {
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  align-self: flex-start;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,.8);
}

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.why-item {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
}
.why-item:last-child { border-right: 0; }
.why-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--invert-bg);
  color: #fff;
  border-radius: 10px;
  font-size: 20px;
  margin-bottom: 8px;
}
.why-item h3 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.why-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* Equipment */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.15);
}
.equip-card {
  padding: 32px 28px;
  border-right: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  display: flex; flex-direction: column; gap: 10px;
  transition: background .3s var(--ease);
}
.equip-card:nth-child(3n) { border-right: 0; }
.equip-card:hover { background: rgba(255,255,255,.04); }
.equip-num {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,.45);
}
.equip-card h4 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.equip-card p {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
}

/* Process */
.process {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process li {
  padding: 36px 24px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
  transition: background .3s var(--ease);
  position: relative;
}
.process li:last-child { border-right: 0; }
.process li:hover { background: #fafafa; }
.process .step {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.step-icon { font-size: 28px; }
.process h3 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.process p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.testimonial {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 14px;
  background: #fff;
  position: relative;
  transition: all .3s var(--ease);
}
.testimonial:hover { border-color: var(--invert-bg); transform: translateY(-4px); }
.quote-mark {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 64px;
  line-height: 0.5;
  color: var(--invert-bg);
  margin-top: 14px;
}
.testimonial p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg);
  flex: 1;
}
.testimonial footer {
  display: flex; flex-direction: column; gap: 4px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.testimonial footer strong {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 15px;
}
.testimonial footer span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* CTA banner */
.cta-banner {
  margin: 0 auto clamp(60px, 10vw, 120px);
  padding: clamp(40px, 6vw, 64px);
  background: var(--invert-bg);
  color: var(--invert-fg);
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 1400px;
  width: calc(100% - clamp(40px, 10vw, 128px));
}
.cta-banner h2 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 12px 0 8px;
  line-height: 1.05;
}
.cta-banner p { color: rgba(255,255,255,.7); }
.cta-banner .btn-primary { background: #fff; color: #000; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-ghost-light {
  padding: 18px 32px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  transition: all .25s var(--ease);
}
.btn-ghost-light:hover { background: #fff; color: #000; border-color: #fff; }

/* Footer */
.site-footer {
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 64px) 32px;
  border-top: 1px solid var(--line);
  background: #fafafa;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto 60px;
}
.foot-tag {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
  max-width: 280px;
  line-height: 1.55;
}
.site-footer h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 14px;
}
.site-footer p {
  font-size: 15px;
  line-height: 1.7;
}
.foot-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.03em;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .equip-grid { grid-template-columns: repeat(2, 1fr); }
  .equip-card:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.12); }
  .equip-card:nth-child(2n) { border-right: 0; }
  .testimonial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .cta-grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .process li { border-right: 0; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .map-info { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .track-delete { grid-template-columns: 1fr; }
  .track-delete .btn-danger { width: 100%; justify-content: center; text-align: center; }
  .landing-header { flex-direction: column; gap: 8px; align-items: flex-start; }
  .landing-footer { flex-direction: column; gap: 6px; }
  .section-head.two-col { grid-template-columns: 1fr; gap: 24px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div:nth-child(2) { border-right: 0; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-item:nth-child(2n) { border-right: 0; }
  .top-bar-inner { font-size: 11px; }
  .top-bar-right { gap: 14px; }
}

@media (max-width: 520px) {
  .brand-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .equip-grid { grid-template-columns: 1fr; }
  .equip-card { border-right: 0 !important; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .top-bar-inner { flex-direction: column; align-items: flex-start; }
}


/* =========================================================
   AI ARIZA TANI
   ========================================================= */
.ai-hero {
  background: var(--invert-bg);
  color: var(--invert-fg);
  padding: clamp(60px, 9vw, 110px) clamp(20px, 5vw, 64px) clamp(50px, 7vw, 80px);
  border-bottom: 1px solid #1a1a1a;
  position: relative;
  overflow: hidden;
}
.ai-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(194,65,12,.18) 0%, transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(255,255,255,.05) 0%, transparent 35%);
  pointer-events: none;
}
.ai-hero-inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}
.ai-hero h1 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.ai-hero h1 em {
  font-style: italic; font-weight: 400;
  color: rgba(255,255,255,.55);
}
.ai-hero .lead {
  margin-top: 22px;
  font-size: clamp(15px, 1.3vw, 17px);
  color: rgba(255,255,255,.72);
  max-width: 620px;
  line-height: 1.6;
}
.ai-disclaimer {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  padding: 10px 14px;
  border-left: 2px solid var(--accent);
  background: rgba(194,65,12,.08);
  display: inline-block;
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 720px;
}

.ai-section { padding-top: clamp(40px, 6vw, 80px); }

.ai-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* ---------- Form ---------- */
.ai-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ai-form-title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}
.muted-tag {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 2px 8px;
  background: var(--bg-elev);
  border-radius: 999px;
}
.ai-meta {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 0.8fr 1fr;
  gap: 12px;
}

/* Uploader */
.ai-uploader {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-lg);
  cursor: pointer;
  background: var(--bg);
  transition: all .25s var(--ease);
}
.ai-uploader:hover,
.ai-uploader.drag {
  border-color: var(--accent);
  background: rgba(194,65,12,.04);
}
.ai-uploader-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 20px;
}
.ai-uploader strong {
  display: block;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 14px;
  margin-bottom: 2px;
}
.ai-uploader span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.ai-previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.ai-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}
.ai-thumb img,
.ai-thumb video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.ai-thumb-x {
  position: absolute; top: 6px; right: 6px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,.7);
  color: #fff;
  font-size: 11px;
  display: grid; place-items: center;
  transition: background .2s var(--ease);
}
.ai-thumb-x:hover { background: var(--accent); }
.ai-thumb-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 4px 8px;
  font-size: 10px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  letter-spacing: 0.04em;
}

.ai-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.ai-error {
  font-size: 13px;
  color: #fff;
  background: var(--accent);
  padding: 10px 14px;
  border-radius: var(--radius);
}

/* ---------- Result ---------- */
.ai-result {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  min-height: 480px;
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
}

.ai-result-empty,
.ai-result-loading {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 32px 16px;
  color: var(--muted);
}
.ai-result-empty h3,
.ai-result-loading h3 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-top: 8px;
}
.ai-result-empty p,
.ai-result-loading p {
  font-size: 13px;
  max-width: 320px;
  line-height: 1.55;
}
.ai-spinner-wrap { color: var(--muted); opacity: 0.5; }

.ai-pulse {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  animation: aiPulse 1.4s ease-out infinite;
}
.ai-pulse::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: aiPulseRing 1.4s ease-out infinite;
}
@keyframes aiPulse {
  0%, 100% { transform: scale(0.85); opacity: .9; }
  50% { transform: scale(1); opacity: 1; }
}
@keyframes aiPulseRing {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(2.2); opacity: 0; }
}

.ai-answer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ai-answer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}
.ai-answer-head .badge {
  background: rgba(74,222,128,.12);
  border-color: rgba(74,222,128,.3);
  color: var(--fg);
}
.ai-answer-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg);
}
.ai-answer-body h3 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 18px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.ai-answer-body h4 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin: 14px 0 6px;
  color: var(--fg);
}
.ai-answer-body h3:first-child,
.ai-answer-body h4:first-child { margin-top: 0; }
.ai-answer-body p { margin: 6px 0; }
.ai-answer-body ul {
  margin: 6px 0 10px;
  padding-left: 18px;
}
.ai-answer-body li { margin: 4px 0; }
.ai-answer-body strong { color: var(--accent); font-weight: 600; }
.ai-answer-body code {
  background: var(--bg-elev);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 12px;
  font-family: 'Manrope', system-ui, sans-serif;
}

.ai-answer-foot {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  flex-wrap: wrap;
}

.btn-ghost-sm {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--fg);
  transition: all .2s var(--ease);
}
.btn-ghost-sm:hover {
  border-color: var(--invert-bg);
  background: var(--invert-bg);
  color: #fff;
}

@media (max-width: 1000px) {
  .ai-grid { grid-template-columns: 1fr; }
  .ai-result { position: static; min-height: 320px; }
  .ai-meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .ai-form { padding: 22px; }
  .ai-meta { grid-template-columns: 1fr; }
  .ai-uploader { flex-direction: column; text-align: center; padding: 18px; }
  .ai-actions { flex-direction: column; align-items: stretch; }
  .ai-actions .btn-primary,
  .ai-actions .btn-ghost { width: 100%; justify-content: center; text-align: center; }
}
