/*
 * WR Transportation Luxury — Custom Styles
 * Theme tokens and Tailwind config are in the inline <style type="text/tailwindcss"> block.
 * This file contains plain CSS utilities, animations, and component styles.
 */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(1.5rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hero-gradient {
  background: linear-gradient(135deg, oklch(0.15 0.03 250) 0%, oklch(0.27 0.05 250) 50%, oklch(0.35 0.06 250) 100%);
}

.hero-bg {
  background:
    linear-gradient(135deg, rgba(26,31,53,0.88) 0%, rgba(39,44,66,0.82) 50%, rgba(50,56,80,0.85) 100%),
    url('assets/images/happy-couple-with-moving-boxes-at-new-house-house-2026-01-07-00-15-10-utc.jpg');
  background-size: cover;
  background-position: center top;
}

.gold-gradient {
  background: linear-gradient(135deg, oklch(0.72 0.14 80), oklch(0.78 0.12 80));
}

.gold-text {
  background: linear-gradient(135deg, oklch(0.72 0.14 80), oklch(0.84 0.09 80));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px oklch(0.15 0.03 250 / 0.12);
}

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq-content.open {
  grid-template-rows: 1fr;
}
.faq-content > div {
  overflow: hidden;
}

.nav-scrolled {
  background: oklch(0.15 0.03 250 / 0.98) !important;
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px oklch(0 0 0 / 0.25);
}

.glass-card {
  background: oklch(0.16 0.03 250 / 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid oklch(1 0 0 / 0.12);
  border-radius: 1rem;
}

/* Calculator card: fixed-height container that scrolls internally */
.calc-wrapper {
  background: oklch(0.13 0.03 250 / 0.97);
  backdrop-filter: blur(24px);
  border: 1px solid oklch(1 0 0 / 0.12);
  border-top: 3px solid oklch(0.72 0.14 80);
  border-radius: 1rem;
  box-shadow: 0 12px 40px oklch(0 0 0 / 0.35);
  display: flex;
  flex-direction: column;
  max-height: 80vh;
}
.calc-wrapper .calc-steps-bar {
  padding: 1.25rem 1.25rem 0;
  flex-shrink: 0;
}
.calc-wrapper .calc-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1rem 1.25rem 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: oklch(1 0 0 / 0.15) transparent;
}
.calc-wrapper .calc-body::-webkit-scrollbar { width: 5px; }
.calc-wrapper .calc-body::-webkit-scrollbar-track { background: transparent; }
.calc-wrapper .calc-body::-webkit-scrollbar-thumb { background: oklch(1 0 0 / 0.15); border-radius: 3px; }
.calc-wrapper .calc-body::-webkit-scrollbar-thumb:hover { background: oklch(1 0 0 / 0.25); }

@media (min-width: 640px) {
  .calc-wrapper .calc-steps-bar { padding: 1.5rem 2rem 0; }
  .calc-wrapper .calc-body { padding: 1.25rem 2rem 2rem; }
}

/* Hero trust badges */
.hero-trust-thumb {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid oklch(0.72 0.14 80 / 0.4);
  flex-shrink: 0;
}


/* Step labels below dots */
.calc-step-dot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.calc-step-label {
  font-size: 0.625rem;
  color: oklch(0.62 0.07 250);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-padding {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.announcement-bar {
  background: linear-gradient(90deg, oklch(0.72 0.14 80), oklch(0.78 0.12 80), oklch(0.72 0.14 80));
  background-size: 200% 100%;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 0.625rem;
  background: linear-gradient(135deg, oklch(0.72 0.14 80), oklch(0.78 0.12 80));
  color: oklch(0.15 0.03 250);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: none;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px oklch(0.72 0.14 80 / 0.35);
  filter: brightness(1.05);
}
.btn-gold:active {
  transform: translateY(0);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 0.625rem;
  background: transparent;
  color: white;
  border: 2px solid oklch(1 0 0 / 0.3);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: none;
}
.btn-outline:hover {
  border-color: oklch(0.78 0.12 80);
  background: oklch(1 0 0 / 0.05);
  transform: translateY(-2px);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid oklch(0.82 0.03 250 / 0.5);
  background: oklch(1 0 0 / 0.9);
  color: oklch(0.20 0.04 250);
  font-size: 0.9375rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.form-input:focus {
  border-color: oklch(0.72 0.14 80);
  box-shadow: 0 0 0 3px oklch(0.72 0.14 80 / 0.15);
}
.form-input::placeholder {
  color: oklch(0.62 0.07 250);
}

.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid oklch(0.82 0.03 250 / 0.5);
  background: oklch(1 0 0 / 0.9);
  color: oklch(0.20 0.04 250);
  font-size: 0.9375rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}
.form-select:focus {
  border-color: oklch(0.72 0.14 80);
  box-shadow: 0 0 0 3px oklch(0.72 0.14 80 / 0.15);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: oklch(0.15 0.03 250 / 0.97);
  backdrop-filter: blur(20px);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav.open {
  transform: translateX(0);
}

.testimonial-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid oklch(0.92 0.02 250 / 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px oklch(0.15 0.03 250 / 0.1);
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-chevron {
  transition: transform 0.35s ease;
}
.faq-chevron.rotated {
  transform: rotate(180deg);
}

.star-gold {
  color: oklch(0.72 0.14 80);
}

.map-dot {
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.5rem;
  background: oklch(0.72 0.14 80);
  color: oklch(0.15 0.03 250);
  font-weight: 600;
  border-radius: 0 0 0.5rem 0.5rem;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

/* ================================================== */
/*  PRICING CALCULATOR                                 */
/* ================================================== */

.calc-step {
  display: none;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.calc-step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.calc-dot {
  background: oklch(0.27 0.05 250);
  color: oklch(0.62 0.07 250);
  border: 2px solid oklch(1 0 0 / 0.1);
  transition: all 0.3s ease;
}
.calc-dot.active {
  background: linear-gradient(135deg, oklch(0.72 0.14 80), oklch(0.78 0.12 80));
  color: oklch(0.15 0.03 250);
  border-color: oklch(0.72 0.14 80);
}
.calc-dot.done {
  background: oklch(0.72 0.14 80 / 0.25);
  color: oklch(0.78 0.12 80);
  border-color: oklch(0.72 0.14 80 / 0.5);
}

.calc-type-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.625rem 0.5rem;
  border-radius: 0.5rem;
  border: 2px solid oklch(1 0 0 / 0.1);
  background: oklch(1 0 0 / 0.04);
  color: oklch(0.72 0.05 250);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  font-size: 0.875rem;
}
.calc-type-btn:hover {
  border-color: oklch(0.72 0.14 80 / 0.3);
  background: oklch(1 0 0 / 0.06);
}
.calc-type-btn.active {
  border-color: oklch(0.72 0.14 80);
  background: oklch(0.72 0.14 80 / 0.12);
  color: oklch(0.78 0.12 80);
}

.calc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  padding: 0.5rem 0.25rem;
  border-radius: 0.5rem;
  border: 1px solid oklch(1 0 0 / 0.12);
  background: oklch(1 0 0 / 0.05);
  color: oklch(0.82 0.03 250);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  text-align: center;
  min-height: 0;
}
.calc-card:hover {
  border-color: oklch(0.72 0.14 80 / 0.4);
  background: oklch(1 0 0 / 0.08);
}
.calc-card.active {
  border-color: oklch(0.72 0.14 80);
  background: oklch(0.72 0.14 80 / 0.12);
  color: oklch(0.78 0.12 80);
}

.calc-estimate-price {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, oklch(0.72 0.14 80), oklch(0.84 0.09 80));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.375rem 0;
  font-size: 0.8125rem;
  color: oklch(0.82 0.03 250);
  border-bottom: 1px solid oklch(1 0 0 / 0.06);
}
.calc-breakdown-row:last-child {
  border-bottom: none;
}
.calc-breakdown-row .label {
  color: oklch(0.62 0.07 250);
}

.calc-includes {
  margin-top: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  background: oklch(0.72 0.14 80 / 0.06);
  border: 1px solid oklch(0.72 0.14 80 / 0.12);
  font-size: 0.6875rem;
  color: oklch(0.72 0.05 250);
  line-height: 1.5;
}

/* Item card price preview */
.calc-card-price {
  font-size: 0.6875rem;
  color: oklch(0.62 0.07 250);
  font-weight: 500;
  transition: color 0.2s ease;
}
.calc-card.active .calc-card-price {
  color: oklch(0.78 0.12 80);
}

/* Quantity stepper */
.calc-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-top: 0.125rem;
  background: oklch(0.15 0.03 250 / 0.6);
  border-radius: 0.25rem;
  overflow: hidden;
  border: 1px solid oklch(1 0 0 / 0.12);
}
.calc-qty-btn {
  width: 22px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: oklch(0.82 0.03 250);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  background: transparent;
  border: none;
  line-height: 1;
}
.calc-qty-btn:hover {
  background: oklch(0.72 0.14 80 / 0.2);
  color: oklch(0.78 0.12 80);
}
.calc-qty-val {
  width: 18px;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: oklch(0.78 0.12 80);
}

/* Multi-select active checkmark */
.calc-card.item-card.active {
  position: relative;
}
.calc-card.item-card.active::after {
  content: '\2713';
  position: absolute;
  top: 3px;
  right: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: oklch(0.72 0.14 80);
  color: oklch(0.15 0.03 250);
  font-size: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Sub-item detail panel */
.subitem-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid oklch(1 0 0 / 0.08);
}
.subitem-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: oklch(0.72 0.14 80);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  transition: background 0.15s ease;
}
.subitem-back-btn:hover {
  background: oklch(1 0 0 / 0.06);
}
.subitem-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: oklch(0.92 0.02 250);
}
.subitem-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.subitem-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.625rem;
  border-radius: 0.5rem;
  border: 1px solid oklch(1 0 0 / 0.08);
  background: oklch(1 0 0 / 0.03);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.subitem-row.subitem-active {
  border-color: oklch(0.72 0.14 80 / 0.4);
  background: oklch(0.72 0.14 80 / 0.08);
}
.subitem-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
}
.subitem-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.subitem-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: oklch(0.88 0.02 250);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.subitem-meta {
  font-size: 0.625rem;
  color: oklch(0.55 0.06 250);
  font-weight: 500;
}
.subitem-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: oklch(0.15 0.03 250 / 0.7);
  border-radius: 0.375rem;
  overflow: hidden;
  border: 1px solid oklch(1 0 0 / 0.12);
  flex-shrink: 0;
}
.subitem-qty-btn {
  width: 28px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: oklch(0.82 0.03 250);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  background: transparent;
  border: none;
  line-height: 1;
}
.subitem-qty-btn:hover {
  background: oklch(0.72 0.14 80 / 0.2);
  color: oklch(0.78 0.12 80);
}
.subitem-qty-val {
  width: 24px;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: oklch(0.78 0.12 80);
}
.subitem-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 0.625rem;
  border-top: 1px solid oklch(1 0 0 / 0.08);
}
#subitem-summary {
  font-size: 0.6875rem;
  font-weight: 600;
  color: oklch(0.72 0.14 80);
}
.item-card-badge {
  display: block;
  font-size: 0.5625rem;
  font-weight: 700;
  color: oklch(0.72 0.14 80);
  background: oklch(0.72 0.14 80 / 0.15);
  border-radius: 2rem;
  padding: 0.0625rem 0.375rem;
  margin-top: 0.125rem;
}

/* Tooltip */
.calc-tooltip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: oklch(1 0 0 / 0.1);
  color: oklch(0.62 0.07 250);
  font-size: 0.625rem;
  font-weight: 700;
  cursor: help;
  position: relative;
  vertical-align: middle;
  margin-left: 4px;
}
.calc-tooltip:hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: oklch(0.20 0.04 250 / 0.97);
  color: oklch(0.85 0.03 250);
  font-size: 0.6875rem;
  font-weight: 400;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  max-width: 200px;
  white-space: normal;
  z-index: 20;
  border: 1px solid oklch(1 0 0 / 0.1);
  box-shadow: 0 4px 12px oklch(0 0 0 / 0.3);
  line-height: 1.4;
}

/* Running total bar */
.calc-running-total {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background: oklch(0.72 0.14 80 / 0.08);
  border: 1px solid oklch(0.72 0.14 80 / 0.15);
  font-size: 0.75rem;
  font-weight: 600;
  color: oklch(0.78 0.12 80);
  text-align: center;
}

/* Average prices disclaimer */
.calc-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  background: oklch(0.72 0.14 80 / 0.06);
  border: 1px solid oklch(0.72 0.14 80 / 0.15);
  font-size: 0.625rem;
  color: oklch(0.72 0.05 250);
  line-height: 1.5;
}
.calc-disclaimer i { margin-top: 1px; color: oklch(0.72 0.14 80); }

/* Savings callout */
.calc-savings-callout {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background: oklch(0.65 0.18 145 / 0.08);
  border: 1px solid oklch(0.65 0.18 145 / 0.15);
  font-size: 0.75rem;
  color: oklch(0.75 0.12 145);
  text-align: center;
  line-height: 1.5;
}

/* Confirmation badge */
.calc-confirmation-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 2rem;
  background: oklch(0.72 0.14 80 / 0.12);
  border: 1px solid oklch(0.72 0.14 80 / 0.3);
  font-size: 0.8125rem;
  font-weight: 700;
  color: oklch(0.78 0.12 80);
  letter-spacing: 0.5px;
  font-family: "Inter", monospace;
}

/* Calendar link */
.calc-calendar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  background: oklch(1 0 0 / 0.06);
  border: 1px solid oklch(1 0 0 / 0.12);
  color: oklch(0.82 0.03 250);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.calc-calendar-link:hover {
  background: oklch(0.72 0.14 80 / 0.1);
  border-color: oklch(0.72 0.14 80 / 0.3);
  color: oklch(0.78 0.12 80);
}

/* ================================================== */
/*  ADDRESS AUTOCOMPLETE + MAP                         */
/* ================================================== */

.calc-ac-wrap {
  position: relative;
}

.calc-ac-check {
  position: absolute;
  right: 0.625rem;
  top: 50%;
  transform: translateY(-50%);
  color: oklch(0.65 0.18 145);
  font-size: 0.875rem;
  font-weight: 700;
  pointer-events: none;
}

.calc-autocomplete {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 50;
  margin-top: 0.25rem;
  max-height: 14rem;
  overflow-y: auto;
  background: oklch(0.20 0.04 250 / 0.97);
  backdrop-filter: blur(12px);
  border: 1px solid oklch(1 0 0 / 0.12);
  border-radius: 0.5rem;
  list-style: none;
  padding: 0.25rem 0;
}

.calc-autocomplete li {
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  color: oklch(0.85 0.03 250);
  cursor: pointer;
  transition: background 0.15s ease;
  line-height: 1.4;
}
.calc-autocomplete li:hover,
.calc-autocomplete li.focused {
  background: oklch(0.72 0.14 80 / 0.12);
  color: oklch(0.78 0.12 80);
}
.calc-autocomplete li .ac-secondary {
  display: block;
  font-size: 0.6875rem;
  color: oklch(0.62 0.07 250);
  margin-top: 0.125rem;
}

.calc-map {
  height: 220px;
  border-radius: 0.625rem;
  border: 1px solid oklch(1 0 0 / 0.1);
  overflow: hidden;
}

.calc-map .leaflet-control-zoom a {
  background: oklch(0.20 0.04 250 / 0.92);
  color: oklch(0.82 0.03 250);
  border-color: oklch(1 0 0 / 0.12);
  width: 28px;
  height: 28px;
  line-height: 28px;
  font-size: 14px;
}
.calc-map .leaflet-control-zoom a:hover {
  background: oklch(0.27 0.05 250);
  color: oklch(0.78 0.12 80);
}

#calc-map-wrap {
  position: relative;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}
#calc-map-wrap.hidden {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin: 0;
}

.calc-distance-badge {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: oklch(0.15 0.03 250 / 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid oklch(0.72 0.14 80 / 0.3);
  border-radius: 2rem;
  padding: 0.3rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: oklch(0.78 0.12 80);
  white-space: nowrap;
  z-index: 10;
}

.calc-distance-warning {
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background: oklch(0.55 0.15 30 / 0.12);
  border: 1px solid oklch(0.55 0.15 30 / 0.25);
  font-size: 0.75rem;
  color: oklch(0.80 0.08 60);
  line-height: 1.5;
}

/* Override Leaflet tile layer for dark theme */
.calc-map .leaflet-tile-pane {
  filter: brightness(0.85) saturate(0.8);
}

/* ================================================== */
/*  MOBILE-FIRST RESPONSIVE OVERRIDES                 */
/* ================================================== */

/* Announcement bar: single line on mobile, hide secondary items */
@media (max-width: 639px) {
  .announcement-bar {
    font-size: 0.8125rem;
    padding-block: 0.5rem;
  }
  .announcement-bar .announcement-desktop {
    display: none;
  }
}

/* Buttons: tighter padding on mobile */
@media (max-width: 639px) {
  .btn-gold,
  .btn-outline {
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
  }
}

/* Section padding: less aggressive on mobile */
@media (max-width: 639px) {
  .section-padding {
    padding-block: clamp(2.5rem, 6vw, 4rem);
  }
}

/* Glass card: tighter padding on mobile */
@media (max-width: 639px) {
  .glass-card {
    padding: 1.25rem;
    border-radius: 0.75rem;
  }
}

/* Testimonial cards: tighter on mobile */
@media (max-width: 639px) {
  .testimonial-card {
    padding: 1.25rem;
  }
}

/* FAQ: smaller touch target text */
@media (max-width: 639px) {
  .faq-toggle {
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
  }
  .faq-content p {
    padding-inline: 1.25rem;
    padding-bottom: 1rem;
  }
}

/* Sticky mobile CTA bar */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: oklch(0.15 0.03 250 / 0.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid oklch(1 0 0 / 0.1);
  padding: 0.75rem 1rem;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.mobile-cta-bar.visible {
  transform: translateY(0);
}
.mobile-cta-bar .btn-gold {
  flex: 1;
  justify-content: center;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}
.mobile-cta-bar .btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.625rem;
  background: oklch(1 0 0 / 0.1);
  color: white;
  border: 1px solid oklch(1 0 0 / 0.2);
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.mobile-cta-bar .btn-call:hover {
  background: oklch(1 0 0 / 0.15);
}

/* Hide mobile CTA bar on desktop */
@media (min-width: 1024px) {
  .mobile-cta-bar {
    display: none !important;
  }
}

/* Footer bottom padding on mobile to clear sticky CTA */
@media (max-width: 1023px) {
  footer {
    padding-bottom: 5rem;
  }
}

/* Prevent horizontal overflow globally */
html, body {
  overflow-x: hidden;
}

/* Mobile nav: ensure full-screen coverage and proper z-index */
@media (max-width: 1023px) {
  .mobile-nav {
    z-index: 100;
  }
}

/* Calculator: compact on mobile */
@media (max-width: 639px) {
  .calc-wrapper {
    max-height: 75vh;
  }
  .calc-wrapper .calc-steps-bar { padding: 0.75rem 0.75rem 0; }
  .calc-wrapper .calc-body { padding: 0.75rem 0.75rem 1rem; }
  .calc-type-btn {
    padding: 0.5rem 0.375rem;
    font-size: 0.8125rem;
  }
  .calc-estimate-price {
    font-size: 1.625rem;
  }
  .calc-map {
    height: 160px;
  }
  .calc-autocomplete {
    max-height: 10rem;
  }
  .calc-step-label {
    font-size: 0.5625rem;
  }
  .hero-trust-thumb {
    width: 30px;
    height: 30px;
  }
  .calc-tooltip:hover::after {
    max-width: 160px;
    left: auto;
    right: -8px;
    transform: none;
  }
  .subitem-row {
    padding: 0.375rem 0.5rem;
  }
  .subitem-name {
    font-size: 0.75rem;
  }
  .subitem-qty-btn {
    width: 26px;
    height: 24px;
  }
}
