/* Dune Buggy Dubai — bk-* components (Night Rally) */
@import url("tokens.css");

/* ---------- Base ---------- */
.bk-wrap { max-width: var(--container-max); margin: 0 auto; padding-left: var(--gutter-desktop); padding-right: var(--gutter-desktop); }
.bk-section { padding: var(--section-y-desktop) 0; }
.bk-section-alt { background: var(--mist-100); }
.bk-section-dark { background: var(--navy-900); color: var(--white); }
.bk-section-dark h1, .bk-section-dark h2, .bk-section-dark h3, .bk-section-dark h4 { color: var(--white); }
.bk-section-dark p { color: var(--mist-300); }

body { font-family: var(--font-text); color: var(--text-primary); background: var(--bg-page); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy-900); text-wrap: balance; }
h1 { font-weight: 800; font-size: 64px; line-height: 68px; letter-spacing: -0.02em; }
h2 { font-weight: 700; font-size: 40px; line-height: 46px; letter-spacing: -0.015em; }
h3 { font-weight: 600; font-size: 24px; line-height: 31px; letter-spacing: -0.01em; }
h4 { font-weight: 600; font-size: 18px; line-height: 26px; letter-spacing: -0.005em; }
p, li { font-size: 17px; line-height: 28px; }
p { max-width: 68ch; }
.bk-lead { font-size: 20px; line-height: 32px; }
.bk-eyebrow { font-family: var(--font-text); font-weight: 600; font-size: 13px; line-height: 16px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-700); margin: 0 0 12px; }
.bk-section-dark .bk-eyebrow { color: var(--steel-500); }
.bk-section-head { margin-bottom: 48px; }
.bk-section-head h2 { margin: 0 0 16px; }
.bk-section-head p { margin: 0; color: var(--text-secondary); }
a { color: var(--link); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.bk-section-dark :focus-visible { outline-color: var(--focus-ring-dark); }

/* ---------- Buttons ---------- */
.bk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--button-md); padding: 0 22px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; line-height: 18px; letter-spacing: 0.04em; text-transform: uppercase;
  border-radius: var(--radius-sm); border: 1.5px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background 150ms ease-out, border-color 150ms ease-out, color 150ms ease-out; }
.bk-btn svg { width: 18px; height: 18px; flex: none; }
.bk-btn-lg { min-height: var(--button-lg); padding: 0 28px; font-size: 16px; line-height: 20px; }
.bk-btn-lg svg { width: 20px; height: 20px; }
.bk-btn-sm { min-height: var(--button-sm); padding: 0 16px; font-size: 13px; }
.bk-btn-block { width: 100%; }

.bk-btn-primary { background: var(--volt-500); color: var(--navy-900); }
.bk-on-light .bk-btn-primary { border-color: var(--navy-900); }
.bk-btn-primary:hover { background: var(--volt-600); color: var(--navy-900); }
.bk-btn-primary:hover svg { transform: translateX(3px); }
.bk-btn-primary svg { transition: transform 150ms ease-out; }
.bk-btn-primary:active { background: var(--volt-700); box-shadow: var(--shadow-inset); }

.bk-btn-secondary { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.bk-btn-secondary:hover { background: var(--navy-900); color: var(--white); }
.bk-btn-secondary:active { background: var(--navy-800); color: var(--white); }
.bk-on-dark .bk-btn-secondary { color: var(--white); border-color: rgba(255,255,255,0.6); }
.bk-on-dark .bk-btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: var(--white); color: var(--white); }
.bk-on-dark .bk-btn-secondary:active { background: rgba(255,255,255,0.14); }

.bk-btn-wa { background: transparent; color: var(--navy-900); border-color: var(--whatsapp-700); }
.bk-btn-wa svg { color: var(--whatsapp-700); }
.bk-on-dark .bk-btn-wa { color: var(--white); border-color: var(--whatsapp-500); }
.bk-on-dark .bk-btn-wa svg { color: var(--whatsapp-500); }
.bk-btn-wa:hover { background: var(--whatsapp-500); border-color: var(--whatsapp-500); color: var(--navy-900); }
.bk-btn-wa:hover svg { color: var(--navy-900); }
.bk-btn-wa:active { background: var(--whatsapp-600); border-color: var(--whatsapp-600); box-shadow: var(--shadow-inset); }

.bk-btn-icon { width: var(--button-md); height: var(--button-md); padding: 0; }
.bk-link { font-family: var(--font-text); font-weight: 600; font-size: 15px; color: var(--steel-700); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.bk-link:hover { text-decoration: underline; }
.bk-link svg { width: 16px; height: 16px; }
.bk-section-dark .bk-link { color: var(--mist-300); }

.bk-btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Hero ---------- */
.bk-hero { position: relative; background: var(--navy-900); color: var(--white); overflow: hidden; }
.bk-hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%); }
.bk-hero-bg::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 90% 60% at 70% 110%, rgba(197,242,58,0.10), transparent 60%),
              radial-gradient(ellipse 70% 45% at 15% -10%, rgba(127,163,204,0.16), transparent 60%); }
.bk-hero-inner { position: relative; max-width: var(--container-max); margin: 0 auto; padding: 128px var(--gutter-desktop) 96px; }
.bk-hero h1 { color: var(--white); margin: 0 0 16px; max-width: 14ch; }
.bk-hero .bk-lead { color: var(--mist-300); margin: 0 0 8px; max-width: 52ch; }
.bk-hero .bk-price-line { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--white); margin: 16px 0 0; }
.bk-hero .bk-price-line .bk-unit { font-family: var(--font-text); font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist-300); margin-right: 6px; }
.bk-crumbs { font-size: 13px; color: var(--mist-300); margin-bottom: 24px; }
.bk-crumbs a { color: var(--steel-500); text-decoration: none; }
.bk-crumbs a:hover { text-decoration: underline; }

/* ---------- Cards ---------- */
.bk-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.bk-card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.bk-card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.bk-package-card { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 150ms ease-out; }
.bk-package-card:hover { box-shadow: var(--shadow-1); }
.bk-on-dark .bk-package-card { background: var(--navy-800); border-color: var(--navy-700); }
.bk-card-media { position: relative; aspect-ratio: 4/3; background: linear-gradient(140deg, var(--navy-800), var(--navy-900)); overflow: hidden; }
.bk-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk-card-media .bk-ph { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.02em; color: rgba(255,255,255,0.85);
  background: radial-gradient(ellipse 120% 90% at 50% 120%, rgba(127,163,204,0.25), transparent 60%); }
.bk-card-body { padding: var(--card-padding); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.bk-kicker { font-family: var(--font-text); font-weight: 600; font-size: 12px; line-height: 16px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-700); margin: 0; }
.bk-on-dark .bk-kicker { color: var(--steel-500); }
.bk-package-card h3 { margin: 0; font-size: 24px; }
.bk-facts { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; padding: 0; list-style: none; }
.bk-facts li { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; }
.bk-facts svg { width: 16px; height: 16px; color: var(--steel-700); flex: none; }
.bk-on-dark .bk-facts svg { color: var(--steel-500); }
.bk-durations { margin: 4px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--grey-200); }
.bk-on-dark .bk-durations { border-color: var(--navy-700); }
.bk-durations li { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--grey-200); font-size: 15px; }
.bk-on-dark .bk-durations li { border-color: var(--navy-700); }
.bk-price-row { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bk-price-row .bk-unit { font-family: var(--font-text); font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin-right: 4px; }
.bk-price-card { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.bk-price-card .bk-unit { font-family: var(--font-text); font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin-right: 6px; }
.bk-card-actions { display: flex; gap: 12px; margin-top: auto; padding-top: 4px; }
.bk-card-actions .bk-btn-primary { flex: 1; }

.bk-badge { display: inline-block; font-family: var(--font-text); font-weight: 600; font-size: 12px; line-height: 16px; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 8px; border-radius: var(--radius-xs); }
.bk-badge-dark { background: var(--navy-900); color: var(--white); }
.bk-badge-mist { background: var(--mist-200); color: var(--navy-900); }
.bk-badge-outline { border: 1px solid var(--navy-700); color: var(--white); }
.bk-card-media .bk-badge { position: absolute; top: 12px; left: 12px; }

/* ---------- Spec tiles ---------- */
.bk-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bk-tile { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-md); padding: 16px; }
.bk-tile-ic { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--navy-900); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.bk-tile-ic svg { width: 24px; height: 24px; color: var(--steel-500); }
.bk-tile .bk-label { font-weight: 600; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 4px; }
.bk-tile .bk-value { font-weight: 500; font-size: 16px; margin: 0; }

/* ---------- Duration options ---------- */
.bk-duration-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.bk-duration-card { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-md); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.bk-duration-card .bk-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-secondary); margin: 0; }
.bk-duration-card .bk-label svg { width: 16px; height: 16px; color: var(--steel-700); }

/* ---------- Price table ---------- */
.bk-price-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-md); overflow: hidden; font-size: 15px; }
.bk-price-table th, .bk-price-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--grey-200); }
.bk-price-table thead th { background: var(--navy-900); color: var(--white); font-family: var(--font-text); font-weight: 600; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.bk-price-table tbody tr:last-child th, .bk-price-table tbody tr:last-child td { border-bottom: none; }
.bk-price-table tbody tr:hover { background: var(--mist-100); }
.bk-price-table .bk-num { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bk-table-wrap { overflow-x: auto; border-radius: var(--radius-md); }

/* ---------- FAQ ---------- */
.bk-faq { display: flex; flex-direction: column; gap: 12px; }
.bk-faq details { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-md); padding: 20px 24px; }
.bk-faq summary { font-family: var(--font-display); font-weight: 600; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.bk-faq summary::-webkit-details-marker { display: none; }
.bk-faq summary .bk-plus { flex: none; width: 28px; height: 28px; border-radius: var(--radius-sm); background: var(--mist-100); display: inline-flex; align-items: center; justify-content: center; }
.bk-faq summary .bk-plus svg { width: 16px; height: 16px; color: var(--steel-700); transition: transform 150ms ease-out; }
.bk-faq details[open] summary .bk-plus svg { transform: rotate(45deg); }
.bk-faq details p { margin: 12px 0 0; font-size: 16px; color: var(--text-secondary); }

/* ---------- Forms ---------- */
.bk-field { margin-bottom: 16px; }
.bk-field label { display: block; font-weight: 600; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.bk-field input, .bk-field select, .bk-field textarea { width: 100%; min-height: var(--input-height); background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-sm); padding: 0 16px; font-family: var(--font-text); font-size: 16px; color: var(--text-primary); }
.bk-field textarea { padding: 14px 16px; min-height: 120px; resize: vertical; }
.bk-field input:focus, .bk-field select:focus, .bk-field textarea:focus { outline: none; border-color: var(--steel-700); box-shadow: 0 0 0 2px var(--focus-ring); }
.bk-field .bk-hint { font-size: 13px; color: var(--text-muted); margin-top: 6px; }
.bk-field .bk-error { display: none; font-size: 14px; color: var(--error); margin-top: 6px; }
.bk-field.invalid input, .bk-field.invalid select { border-color: var(--error); }
.bk-field.invalid .bk-error { display: block; }
.bk-form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.bk-estimate { background: var(--mist-100); border-radius: var(--radius-sm); padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; margin: 8px 0 24px; }
.bk-estimate .bk-label { font-weight: 600; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-secondary); margin: 0; }

/* ---------- CTA band ---------- */
.bk-cta-band { background: var(--navy-900); color: var(--white); text-align: left; }
.bk-cta-band .bk-wrap { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.bk-cta-band h2 { color: var(--white); margin: 0 0 12px; }
.bk-cta-band p { color: var(--mist-300); margin: 0; }
.bk-cta-band .bk-btn-row { margin-top: 0; flex: none; }

/* ---------- Steps / benefits ---------- */
.bk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.bk-step { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-md); padding: 24px; }
.bk-step-num { width: 48px; height: 48px; border-radius: var(--radius-round); background: var(--navy-900); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.bk-step h3 { margin: 0 0 8px; font-size: 20px; }
.bk-step p { margin: 0; font-size: 15px; color: var(--text-secondary); }
.bk-check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bk-check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.bk-check-list svg { width: 20px; height: 20px; color: var(--success); flex: none; margin-top: 4px; }

/* ---------- Header CTAs (injected into primary menu) ---------- */
.bk-menu-cta { display: flex !important; align-items: center; gap: 8px; margin-left: 8px; }
.bk-menu-cta .bk-btn { min-height: 44px; padding: 0 18px; font-size: 13px; }

/* ---------- Mobile sticky bar ---------- */
.bk-mobile-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; background: var(--navy-900); border-top: 1px solid var(--navy-700); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); box-shadow: var(--shadow-2); }
.bk-mobile-bar .bk-btn { flex: 1; min-height: 48px; }

/* ---------- Misc ---------- */
.bk-note { background: var(--mist-100); border-left: 3px solid var(--steel-500); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 16px 20px; font-size: 15px; color: var(--text-secondary); }
.bk-cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.bk-muted { color: var(--text-muted); }
.bk-small { font-size: 15px; }
.bk-mt-0 { margin-top: 0; } .bk-mb-0 { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .bk-card-grid { grid-template-columns: repeat(2, 1fr); }
  .bk-duration-grid { grid-template-columns: repeat(2, 1fr); }
  .bk-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1023px) {
  h1 { font-size: 40px; line-height: 44px; }
  h2 { font-size: 28px; line-height: 34px; }
  h3 { font-size: 20px; line-height: 27px; }
  p, li { font-size: 16px; line-height: 26px; }
  .bk-lead { font-size: 18px; line-height: 28px; }
  .bk-hero-inner { padding: 96px var(--gutter-mobile) 72px; }
  .bk-wrap { padding-left: var(--gutter-mobile); padding-right: var(--gutter-mobile); }
  .bk-section { padding: var(--section-y-mobile) 0; }
  .bk-section-head { margin-bottom: 32px; }
  .bk-cta-band .bk-wrap { flex-direction: column; align-items: flex-start; gap: 24px; }
  .bk-cols-2, .bk-steps, .bk-card-grid.cols-3 { grid-template-columns: 1fr; }
  .bk-form-2col { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .bk-card-grid, .bk-duration-grid { grid-template-columns: 1fr; gap: 16px; }
  .bk-tiles { grid-template-columns: repeat(2, 1fr); }
  .bk-btn-row .bk-btn { width: 100%; }
  .bk-mobile-bar { display: flex; gap: 8px; }
  body { padding-bottom: 76px; }
  .bk-menu-cta { display: none !important; }
  .bk-card-body { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
