/* ============ 63MOBIL — design tokens ============ */
:root {
  --red: #E8741E;
  --red-600: #D2640F;
  --red-700: #B0530B;
  --red-tint: #FCEDDC;
  --navy: #16284C;
  --ink: #16284C;
  --ink-2: #2C3F63;
  --muted: #6C7385;
  --line: #E6E9F0;
  --line-2: #D5DAE4;
  --bg: #FFFFFF;
  --surface: #F4F6FA;
  --surface-2: #EAEEF5;
  --white: #FFFFFF;
  --green: #138A4E;
  --green-tint: #E4F4EB;
  --amber: #B5790B;
  --amber-tint: #FBF0D9;
  --shadow-sm: 0 1px 2px rgba(22,19,17,.06), 0 1px 3px rgba(22,19,17,.05);
  --shadow-md: 0 6px 16px rgba(22,19,17,.08), 0 2px 6px rgba(22,19,17,.05);
  --shadow-lg: 0 18px 50px rgba(22,19,17,.16), 0 6px 16px rgba(22,19,17,.08);
  --shadow-red: 0 10px 28px rgba(232,116,30,.34);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --maxw: 1240px;
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,h2,h3,h4 { font-family: var(--font-display); margin: 0; line-height: 1.02; letter-spacing: -0.02em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
input, select, textarea { font-family: inherit; font-size: 16px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px){ .wrap { padding: 0 18px; } }

/* ============ display type ============ */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow.on-dark { color: #FFA24D; }
.section-title {
  font-weight: 900;
  font-size: clamp(30px, 4.4vw, 54px);
  letter-spacing: -0.03em;
}
.section-sub { color: var(--muted); font-size: 17px; line-height: 1.55; max-width: 560px; }

/* ============ buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display);
  font-weight: 800; font-size: 15.5px; letter-spacing: -0.01em;
  padding: 14px 22px; border-radius: 999px;
  transition: transform .14s ease, box-shadow .2s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-red { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn-red:hover { background: var(--red-600); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(232,116,30,.42); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-wa { background: #1FAE54; color: #fff; box-shadow: 0 10px 24px rgba(31,174,84,.3); }
.btn-wa:hover { background: #18994a; transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line-2); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost.on-dark { background: rgba(255,255,255,.08); color:#fff; border-color: rgba(255,255,255,.24); box-shadow: none; }
.btn-ghost.on-dark:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 17px 30px; font-size: 17px; }
.btn-block { width: 100%; }

/* ============ chips / badges ============ */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.badge-ready { background: var(--green-tint); color: var(--green); }
.badge-booked { background: var(--amber-tint); color: var(--amber); }
.badge-sold { background: var(--surface-2); color: var(--muted); }
.badge-hot { background: var(--red); color: #fff; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ============ photo placeholder ============ */
.ph {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(22,19,17,.045) 0 2px, transparent 2px 13px),
    linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  display: flex; align-items: flex-end; justify-content: flex-start;
}
.ph.has-img {
  background: #0d172b;
}
.ph-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph.tinted {
  background:
    repeating-linear-gradient(135deg, rgba(232,116,30,.07) 0 2px, transparent 2px 13px),
    linear-gradient(160deg, #FDF1E3 0%, #FAE3CB 100%);
}
.ph-label {
  font-family: "Plus Jakarta Sans", monospace;
  font-size: 11px; font-weight: 700; letter-spacing: .03em;
  color: var(--muted);
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  padding: 5px 9px; border-radius: 7px; margin: 10px;
  backdrop-filter: blur(3px);
}
.ph-cam {
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  opacity:.16;
}

/* ============ generic card ============ */
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}

/* ============ form controls ============ */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.input, .select, .textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line-2); background: #fff; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 4px var(--red-tint);
}
.select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%236E6661' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

/* ============ utility ============ */
.pill-tab {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  padding: 9px 16px; border-radius: 999px; color: var(--muted);
  border: 1.5px solid var(--line-2); background:#fff; transition: all .15s ease;
}
.pill-tab.active { background: var(--ink); color:#fff; border-color: var(--ink); }
.pill-tab:hover:not(.active){ border-color: var(--ink); color: var(--ink); }

.fade-up { animation: fadeUp .5s cubic-bezier(.2,.7,.3,1) both; }
@keyframes fadeUp { from { transform: translateY(14px);} to {transform:none;} }

.scrollbar-hide::-webkit-scrollbar { display:none; }
.scrollbar-hide { scrollbar-width:none; }

/* ============ floating WA ============ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 11px;
  background: #1FAE54; color: #fff; padding: 13px 20px 13px 14px;
  border-radius: 999px; font-family: var(--font-display); font-weight: 800; font-size: 15px;
  box-shadow: 0 14px 34px rgba(31,174,84,.42);
  transition: transform .16s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 44px rgba(31,174,84,.5); }
.wa-float .pulse {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.2);
  display:flex; align-items:center; justify-content:center;
}
@media (max-width: 640px){ .wa-float span.lbl { display:none; } .wa-float{ padding:14px; } }

/* spinning ring for ready dot pulse */
@keyframes ping { 0%{ box-shadow:0 0 0 0 rgba(31,174,84,.5);} 70%{ box-shadow:0 0 0 12px rgba(31,174,84,0);} 100%{ box-shadow:0 0 0 0 rgba(31,174,84,0);} }

/* ============ mobile polish ============ */
@media (max-width: 640px) {
  html, body {
    overflow-x: hidden;
  }

  body {
    background: #f5f7fb;
  }

  h1, h2, h3, h4,
  .section-title,
  .hero-title {
    letter-spacing: 0 !important;
    text-wrap: balance;
  }

  .wrap {
    padding-inline: 16px !important;
  }

  header .wrap {
    height: 58px !important;
  }

  .nav-mobile {
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: var(--shadow-sm) !important;
  }

  .mobile-hero .wrap {
    padding-top: 26px !important;
    padding-bottom: 26px !important;
  }

  .mobile-hero .hero-glow {
    display: none !important;
  }

  .mobile-hero .hero-grid {
    gap: 22px !important;
  }

  .hero-title {
    font-size: 38px !important;
    line-height: .98 !important;
    margin-top: 16px !important;
  }

  .hero-copy {
    font-size: 14.5px !important;
    line-height: 1.55 !important;
    margin-top: 12px !important;
    max-width: 34ch !important;
  }

  .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 9px !important;
    margin-top: 18px !important;
  }

  .hero-actions .btn {
    min-height: 44px !important;
    padding: 12px 10px !important;
    font-size: 13px !important;
    width: 100% !important;
  }

  .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 18px !important;
  }

  .hero-stats > div {
    padding: 10px 9px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: rgba(255,255,255,.05);
  }

  .hero-stats > div > div:first-child {
    font-size: 21px !important;
  }

  .hero-stats > div > div:last-child {
    font-size: 10.5px !important;
    line-height: 1.25 !important;
  }

  .hero-media {
    margin-top: 2px !important;
  }

  .hero-media .ph {
    border-radius: 18px !important;
    box-shadow: 0 16px 36px rgba(0,0,0,.28) !important;
  }

  .hero-cred {
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    width: auto !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
  }

  .hero-search {
    margin-top: 20px !important;
    padding: 12px !important;
    gap: 10px !important;
    border-radius: 18px !important;
  }

  .hero-search .field {
    gap: 5px !important;
  }

  .hero-search label,
  .field label {
    font-size: 12px !important;
  }

  .hero-search .select,
  .input,
  .select,
  .textarea {
    min-height: 44px !important;
    padding-top: 11px !important;
    padding-bottom: 11px !important;
    border-radius: 10px !important;
  }

  .hero-search .btn {
    width: 100% !important;
    min-height: 46px !important;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding-block: 12px !important;
  }

  .trust-item {
    justify-content: flex-start !important;
    gap: 8px !important;
    min-height: 54px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 14px;
    background: rgba(255,255,255,.08);
  }

  .trust-item svg {
    width: 18px !important;
    height: 18px !important;
  }

  .trust-item span {
    font-size: 11.2px !important;
    line-height: 1.25 !important;
  }

  section {
    padding-top: 46px !important;
    padding-bottom: 48px !important;
  }

  .section-title {
    font-size: 28px !important;
    line-height: 1.04 !important;
  }

  .section-sub {
    font-size: 14.5px !important;
    line-height: 1.58 !important;
  }

  .eyebrow {
    font-size: 10.5px !important;
    letter-spacing: .08em !important;
  }

  .cars-grid,
  .why-grid,
  .testi-grid {
    gap: 14px !important;
  }

  .card {
    border-radius: 16px !important;
  }

  .badge {
    font-size: 9.5px !important;
    padding: 4px 8px !important;
    gap: 4px !important;
  }

  .car-card {
    border-radius: 18px !important;
    box-shadow: 0 8px 22px rgba(22,40,76,.08) !important;
  }

  .car-card > div:last-child {
    padding: 13px 14px 15px !important;
  }

  .car-meta {
    font-size: 11px !important;
    gap: 5px !important;
    flex-wrap: wrap !important;
  }

  .car-title {
    font-size: 17px !important;
    line-height: 1.15 !important;
    margin-top: 6px !important;
  }

  .car-price-row {
    margin-top: 10px !important;
    flex-wrap: wrap !important;
  }

  .car-price {
    font-size: 20px !important;
  }

  .car-finance {
    margin-top: 10px !important;
    gap: 6px !important;
  }

  .car-finance span {
    font-size: 11px !important;
    padding: 5px 8px !important;
    border-radius: 7px !important;
  }

  .sim-grid,
  .tt-grid,
  .lok-grid,
  .detail-grid,
  .catalog-grid {
    gap: 18px !important;
  }

  .lead-form-grid,
  .feature-mini-grid,
  .detail-finance-grid {
    grid-template-columns: 1fr !important;
    display: grid !important;
  }

  .detail-price {
    font-size: 30px !important;
    line-height: 1.05 !important;
  }

  .detail-mobile-bar .btn {
    padding-inline: 10px !important;
    font-size: 13px !important;
  }

  .ig-grid {
    gap: 8px !important;
  }

  #kontak .card .card {
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    padding: 12px !important;
    align-items: flex-start !important;
  }

  #kontak .card .card .btn {
    padding: 9px 10px !important;
    font-size: 12px !important;
  }

  .wa-float {
    right: 14px !important;
    bottom: 18px !important;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 35px !important;
  }

  .hero-actions {
    grid-template-columns: 1fr !important;
  }

  .hero-stats {
    grid-template-columns: 1fr !important;
  }
}
