/* ===== AzerbaijanTransfer — Design System ===== */

:root {
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --brand: #0B7285;
  --brand-dark: #0A5C6B;
  --accent: #F2994A;
  --accent-dark: #D97F2E;

  --bg: #FFFFFF;
  --bg-alt: #F4F8F9;
  --surface: #FFFFFF;
  --text: #12222A;
  --text-muted: #5B6B72;
  --border: #E3EAEC;
  --whatsapp: #25D366;
  --whatsapp-dark: #1FAE55;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(18, 34, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(18, 34, 42, 0.12);
}

:root[data-theme="dark"] {
  --bg: #0E1B21;
  --bg-alt: #132A31;
  --surface: #16333B;
  --text: #EAF3F4;
  --text-muted: #9FB4BA;
  --border: #234148;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  transition: background .2s ease, color .2s ease;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 .5em;
}

p { line-height: 1.6; color: var(--text-muted); margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.wrap-narrow { max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  margin-right: auto;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.logo-text strong { color: var(--brand); }
:root[data-theme="dark"] .logo-text strong { color: #6FD3C7; }

.main-nav { display: flex; gap: 22px; }
.main-nav a { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.main-nav a:hover { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.switcher { position: relative; }
.switcher-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.switcher-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 60;
}
.switcher-menu.open { display: block; }
.switcher-menu button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}
.switcher-menu button:hover { background: var(--bg-alt); }
.switcher-menu button[aria-selected="true"]::after { content: "✓"; color: var(--brand); }

.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 80px;
  background:
    radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 55%),
    var(--bg);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: start;
}
.eyebrow {
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
:root[data-theme="dark"] .eyebrow { color: #6FD3C7; }
.hero h1 { font-size: clamp(32px, 4.5vw, 48px); }
.hero-sub { font-size: 17px; max-width: 46ch; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 20px; }
.hero-badges span { font-size: 13px; font-weight: 600; color: var(--text); }
.hero-illustration { display: block; width: 100%; max-width: 480px; height: auto; margin-top: 32px; border-radius: var(--radius); }

.wizard-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
}
.wizard-card h2 { font-size: 19px; margin-bottom: 4px; }

/* ---- Wizard progress indicator ---- */
.wizard-progress { display: flex; align-items: center; margin-bottom: 22px; }
.wizard-step-ind { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 0 0 auto; }
.wizard-step-num {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  background: var(--bg-alt); color: var(--text-muted);
  border: 1.5px solid var(--border);
}
.wizard-step-label { font-size: 10px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.wizard-step-ind.active .wizard-step-num { background: var(--brand); border-color: var(--brand); color: #fff; }
.wizard-step-ind.active .wizard-step-label { color: var(--brand); }
:root[data-theme="dark"] .wizard-step-ind.active .wizard-step-label { color: #6FD3C7; }
:root[data-theme="dark"] .wizard-step-ind.active .wizard-step-num { background: #1B7A72; border-color: #1B7A72; }
.wizard-step-ind.done .wizard-step-num { background: color-mix(in srgb, var(--brand) 16%, var(--bg-alt)); border-color: var(--brand); color: var(--brand); }
.wizard-progress-line { flex: 1 1 auto; height: 1.5px; background: var(--border); margin: 0 6px 16px; }

/* ---- Wizard panels ---- */
.wizard-panel { display: none; }
.wizard-panel.active { display: block; }
.wizard-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.wizard-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }

.wizard-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wizard-grid-2 .field input {
  display: block; width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg-alt); color: var(--text);
  font-size: 14px; font-family: var(--font-body); font-weight: 600; margin-top: 6px;
}
.wizard-grid-2 .field input:focus, .addr-input-wrap input:focus { outline: none; border-color: var(--brand); }
.wizard-grid-2 .field input.input-error { border-color: #E05A5A; }

.addr-input-wrap { position: relative; margin-top: 6px; }
.addr-input-wrap input {
  display: block; width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg-alt); color: var(--text);
  font-size: 14px; font-family: var(--font-body); font-weight: 600;
}
.addr-input-wrap input.input-error { border-color: #E05A5A; }
.addr-suggestions {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  box-shadow: var(--shadow-lg); overflow: hidden; display: none;
}
.addr-suggestions:not(:empty) { display: block; }
.addr-suggestions button { display: block; width: 100%; text-align: left; padding: 10px 14px; font-size: 13px; background: none; border: none; color: var(--text); cursor: pointer; }
.addr-suggestions button:hover { background: var(--bg-alt); }

.wizard-map {
  margin-top: 14px; border-radius: 10px; overflow: hidden; border: 1px dashed var(--border);
  background: var(--bg-alt); min-height: 120px; display: flex; align-items: center; justify-content: center;
}
.wizard-map-placeholder { font-size: 12px; color: var(--text-muted); text-align: center; padding: 20px; }
.wizard-route-meta { margin-top: 10px; font-size: 12px; color: var(--text-muted); }

.trip-type-group { display: flex; gap: 8px; margin: 14px 0; }
.trip-type-btn {
  flex: 1 1 auto; padding: 10px 8px; border-radius: 10px; border: 1.5px solid var(--border);
  background: var(--bg-alt); color: var(--text); font-family: var(--font-body); font-weight: 700; font-size: 13px;
  cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.trip-type-btn.active { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, var(--bg-alt)); color: var(--brand); }
:root[data-theme="dark"] .trip-type-btn.active { border-color: #6FD3C7; color: #6FD3C7; }

.wizard-actions { display: flex; gap: 10px; margin-top: 18px; }
.wizard-actions .btn { flex: 1 1 auto; text-align: center; }
.btn-ghost { background: var(--bg-alt); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--border); }

.price-result-custom { text-align: left; }
.price-result-custom p { font-size: 13px; color: var(--text-muted); margin: 0; }

.wizard-summary-price { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.wizard-summary-price .price-original { font-size: 13px; text-decoration: line-through; color: var(--text-muted); }
.wizard-summary-price .price-value { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--brand); }
:root[data-theme="dark"] .wizard-summary-price .price-value { color: #6FD3C7; }
.wizard-summary-price-custom { font-size: 13px; color: var(--text-muted); }

.wizard-summary-list { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 13px; }
.wizard-summary-list dt { color: var(--text-muted); font-weight: 600; }
.wizard-summary-list dd { margin: 0; color: var(--text); font-weight: 600; text-align: right; }
.field { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.field select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 600;
}
/* Vehicle tier buttons */
.tier-group { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.tier-btn {
  flex: 1 1 auto;
  min-width: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 8px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.tier-btn .tier-name { font-weight: 700; font-size: 13px; }
.tier-btn .tier-pax { font-size: 11px; color: var(--text-muted); }
.tier-btn.active { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, var(--bg-alt)); }
.tier-btn.active .tier-name { color: var(--brand); }
:root[data-theme="dark"] .tier-btn.active .tier-name { color: #6FD3C7; }
:root[data-theme="dark"] .tier-btn.active { border-color: #6FD3C7; }

/* Extra-day stepper */
.stepper { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.stepper-btn {
  width: 34px; height: 34px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.stepper-btn:hover { border-color: var(--brand); }
.stepper-value { font-family: var(--font-head); font-weight: 700; font-size: 16px; min-width: 1.5em; text-align: center; }

.price-result {
  margin: 18px 0 16px;
  padding: 16px;
  background: var(--bg-alt);
  border-radius: 12px;
  text-align: center;
}
.price-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  letter-spacing: .01em;
}
.price-original {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 2px;
}
.price-value { font-family: var(--font-head); font-size: 30px; font-weight: 800; color: var(--brand); }
:root[data-theme="dark"] .price-value { color: #6FD3C7; }
.price-note { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(24px, 3vw, 32px); text-align: center; margin-bottom: 40px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { text-align: center; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
}

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { font-size: 16px; }
.card p { font-size: 14px; margin: 0; }

.dest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; max-width: 700px; margin: 0 auto; }
.dest-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 4px;
  padding: 18px;
  color: #fff;
  background: linear-gradient(160deg, var(--brand), var(--brand-dark)) center / cover no-repeat;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: transform .15s ease;
}
.dest-card:hover { transform: translateY(-2px); }
.dest-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6,20,24,.78));
}
.dest-card span { position: relative; }
.dest-card .dest-name { font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.dest-card .dest-from { font-size: 13px; opacity: .9; }
.dest-card .dest-cta { font-size: 12px; font-weight: 700; opacity: .95; margin-top: 4px; }

/* Custom request card (Tier 3) */
.custom-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--surface);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}
.custom-card h2 { font-size: 22px; }
.custom-card p { font-size: 14px; margin-bottom: 20px; }

.reviews-placeholder {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  max-width: 640px;
  margin: 0 auto;
}

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
}
.faq-q .chev { transition: transform .2s ease; flex-shrink: 0; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease, padding .25s ease;
  padding: 0 18px;
  font-size: 14px;
}
.faq-item.open .faq-a { max-height: 240px; padding: 0 18px 16px; }

.cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  margin: 0 24px;
  text-align: center;
}
.cta-inner { max-width: 620px; padding: 56px 24px; margin: 0 auto; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.85); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-muted); margin-bottom: 10px; }
.footer-col a:hover { color: var(--text); }
.footer-col p { font-size: 13px; margin-top: 14px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .cards, .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .header-inner { height: 64px; gap: 8px; }
  .logo-text { display: none; }
  .header-actions { gap: 6px; }
  .switcher-btn { padding: 7px 8px; font-size: 12px; }
  .switcher-btn svg { display: none; }
  .theme-toggle { width: 34px; height: 34px; flex-shrink: 0; }
  .header-actions .btn-whatsapp { padding: 9px 12px; }
  .header-actions .btn-whatsapp span { display: none; }
  .cards, .cards-4, .dest-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .wizard-card { padding: 20px; }
  .wizard-grid-2 { grid-template-columns: 1fr; }
  .wizard-step-label { display: none; }
  .wizard-progress-line { margin-bottom: 0; }
}

@media (max-width: 380px) {
  .switcher-btn { padding: 6px 6px; font-size: 11px; }
}
