/* ============================================================
   Alex Mobile Locksmith — style.css
   ============================================================ */

/* 1. Google Fonts — loaded async via <head> preconnect in base.html.j2
   ============================================================ */


/* 2. CSS Variables
   ============================================================ */
:root {
  --bg:            #1a2a4a;
  --card-bg:       #152240;
  --gold:          #f5a520;
  --gold-hover:    #ffc144;
  --text:          #ffffff;
  --text-secondary:#e8edf5;
  --text-muted:    #9fb0cc;
  --border:        rgba(255, 255, 255, 0.10);
  --border-hover:  rgba(255, 255, 255, 0.22);

  --font-heading:  'Oswald', sans-serif;
  --font-body:     'Source Sans 3', sans-serif;

  --radius-sm:     6px;
  --radius:        12px;
  --radius-pill:   999px;

  --header-h:      64px;
  --container-w:   1100px;

  --transition:    0.18s ease;
}


/* 3. Reset & Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}


/* 4. Typography
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

h1 { font-size: clamp(26px, 4.5vw, 48px); }
h2 { font-size: clamp(22px, 3.5vw, 36px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); }
h4 { font-size: clamp(16px, 2vw, 20px); }

p {
  font-family: var(--font-body);
  color: var(--text-secondary);
  line-height: 1.7;
}

strong { font-weight: 700; color: var(--text); }

small {
  font-size: 13px;
  color: var(--text-muted);
}


/* 5. Layout
   ============================================================ */
.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

section {
  padding: 36px 0;
}


/* 6. Header & Nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(26, 42, 74, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: #1a2a4a;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-switch {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: color var(--transition), border-color var(--transition);
}

.lang-switch:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

.nav-cta {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #1a2a4a;
  background: var(--gold);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background var(--transition);
  letter-spacing: 0.03em;
}

.nav-cta:hover {
  background: var(--gold-hover);
}


/* 7. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-gold {
  background: var(--gold);
  color: #1a2a4a;
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: rgba(245, 165, 32, 0.10);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-hover);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}


/* 8. Hero
   ============================================================ */
.hero {
  padding: 28px 0 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 165, 32, 0.12);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(245, 165, 32, 0.25);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero-badge::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 3.5vw, 38px);
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

/* The typographic phone number — key brand element */
.hero-phone {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 40px);
  color: #f5a520;
  letter-spacing: -0.5px;
  text-decoration: none;
  margin-bottom: 16px;
  transition: color 0.2s ease;
}

.hero-phone:hover { color: #ffc144; }

.hero-sidebar {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.hero-sidebar-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.hero-sidebar p {
  font-size: 14px;
  margin-bottom: 16px;
}

.hero-sidebar ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-sidebar li {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.hero-sidebar li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}


/* 9. Cards
   ============================================================ */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.card:hover {
  border-color: var(--border-hover);
}

.card-body {
  padding: 18px;
}

.card-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
}


/* 10. Badge & Pills
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,165,32,0.10);
  border: 1px solid rgba(245,165,32,0.28);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #f5a520;
  margin-bottom: 14px;
}

.pill {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}


/* 11. Pricing
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.pricing-card-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-block: 8px;
  border-bottom: 1px solid var(--border);
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-label {
  font-size: 14px;
  color: var(--text-secondary);
  flex: 1;
}

.price-value {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

.price-note {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.pricing-disclaimer {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}


/* 12. Availability Bar
   ============================================================ */
.availability-bar {
  padding: 7px 0;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.3px;
}

.status-open        { background: rgba(74,222,128,0.12); color: #4ade80; }
.status-after-hours { background: rgba(245,165,32,0.12); color: #f5a520; }
.status-emergency   { background: rgba(239,68,68,0.12);  color: #ef4444; }

.avail-dot,
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 7px;
  vertical-align: middle;
}


/* 13. Section Titles
   ============================================================ */
.section-header {
  margin-bottom: 36px;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2.5vw, 26px);
  color: #ffffff;
  margin-bottom: 6px;
}

.section-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 640px;
}


/* 14. FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

details {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}

details[open] {
  border-color: var(--border-hover);
}

details + details {
  border-top: none;
  border-radius: 0;
}

details:first-child {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

details:last-child {
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

details:only-child {
  border-radius: var(--radius-sm);
}

summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
  transition: background var(--transition);
}

summary::-webkit-details-marker { display: none; }
summary::marker { display: none; }

summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}

details[open] summary::after {
  transform: rotate(45deg);
}

summary:hover {
  background: rgba(255, 255, 255, 0.04);
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  margin-top: 0;
  padding-top: 14px;
}


/* 15. Form
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-grid .field-full {
  grid-column: 1 / -1;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

input,
textarea,
select {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 10px 14px;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(245, 165, 32, 0.15);
}

textarea {
  resize: vertical;
  min-height: 110px;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239fb0cc' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

select option {
  background: var(--card-bg);
  color: var(--text);
}

.hp {
  display: none;
}

.form-hint {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}


/* 16. Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid rgba(245, 165, 32, 0.20);
  padding-block: 40px 28px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 28px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.footer-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}


/* 17. Map Container
   ============================================================ */
.map-wrap {
  height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-wrap .leaflet-container {
  background: var(--card-bg);
  border-radius: var(--radius);
  height: 100%;
  width: 100%;
}

.map-wrap .leaflet-tile {
  filter: brightness(0.85) saturate(0.9);
}


/* 18. Utility Classes
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-gold  { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 32px; }

/* Video embed */
.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card-bg);
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* 19. Media Queries
   ============================================================ */
@media (max-width: 768px) {
  section {
    padding-block: 44px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 44px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-sidebar {
    position: static;
  }

  .hero-phone {
    font-size: 32px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .btn {
    font-size: 15px;
    padding: 12px 22px;
  }

  .nav-cta {
    font-size: 13px;
    padding: 7px 12px;
  }
}

/* Hero photo
   ============================================================ */
.hero-photo {
  border-radius: 12px;
  overflow: hidden;
  max-height: 420px;
  border: 1px solid var(--border);
}

.alex-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  display: block;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-photo {
    display: none;
  }
}


/* Gallery Slider
   ============================================================ */
.gallery-slider-wrapper {
  position: relative;
  user-select: none;
}

.gallery-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 12px;
  cursor: grab;
}

.gallery-track:active { cursor: grabbing; }

.gallery-track::-webkit-scrollbar { height: 4px; }
.gallery-track::-webkit-scrollbar-track {
  background: var(--card-bg);
  border-radius: 4px;
}
.gallery-track::-webkit-scrollbar-thumb {
  background: rgba(245,165,32,0.4);
  border-radius: 4px;
}

.gallery-slide {
  flex: 0 0 220px;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 9/16;
  background: var(--card-bg);
  transition: border-color 0.2s ease;
}

.gallery-slide:hover {
  border-color: rgba(245,165,32,0.35);
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-slide:hover img {
  transform: scale(1.03);
}

.gallery-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid rgba(245,165,32,0.4);
  color: #f5a520;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 2;
}

.gallery-btn:hover { background: rgba(245,165,32,0.15); }
.gallery-prev { left: -18px; }
.gallery-next { right: -18px; }

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  padding: 0;
}

.gallery-dot.active {
  background: #f5a520;
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .gallery-slide { flex: 0 0 180px; }
  .gallery-btn   { display: none; }
}


/* Logo image
   ============================================================ */
.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .brand-logo {
    height: 36px;
  }
}


/* Reviews — horizontal scroll slider
   ============================================================ */
.google-rating-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.google-rating-text {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.google-rating-number {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.google-stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 2px;
}

.google-count {
  font-size: 14px;
}

/* Scroll wrapper */
.reviews-scroll-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reviews-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
  flex: 1;
  cursor: grab;
}

.reviews-track:active {
  cursor: grabbing;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.reviews-scroll-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
  user-select: none;
  z-index: 1;
}

.reviews-scroll-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-hover);
}

/* Card — fixed width so 3 are visible at once on desktop */
.review-card {
  flex: 0 0 calc(33.333% - 12px);
  min-width: 260px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5a520, #ffc144);
  color: #1a2a4a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
}

.review-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.review-name {
  font-size: 14px;
  color: var(--text);
}

.review-source {
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-stars-right {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.review-text {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  font-style: italic;
  flex: 1;
}

.review-date {
  font-size: 12px;
}

.btn-small {
  padding: 7px 14px;
  font-size: 13px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .review-card { flex: 0 0 calc(50% - 8px); }
  .google-rating-header { gap: 12px; }
}

@media (max-width: 600px) {
  .review-card { flex: 0 0 85vw; }
  .reviews-scroll-btn { display: none; }
}


@media (max-width: 480px) {
  .brand-name {
    display: none;
  }
}


/* Alex sidebar — personal intro
   ============================================================ */
.sidebar-card {
  padding: 22px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.alex-circle-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #f5a520;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.alex-intro {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.alex-intro-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.alex-intro-name {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  color: #ffffff;
}

.alex-intro-bio {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.sidebar-title {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #f5a520;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.check-star {
  color: #f5a520;
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .sidebar-card {
    position: static;
  }
}


/* How It Works
   ============================================================ */
.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.step {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 12px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  transition: border-color 0.2s ease;
}

.step:hover {
  border-color: rgba(245,165,32,0.25);
}

.step-highlight {
  border-color: rgba(245,165,32,0.5);
  background: rgba(245,165,32,0.06);
}

.step-highlight .step-title {
  color: #f5a520;
}

.step-highlight .step-num {
  background: #f5a520;
  color: #1a2a4a;
}

.step-icon {
  font-size: 28px;
  margin-bottom: 10px;
  line-height: 1;
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(245,165,32,0.15);
  color: #f5a520;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.step-title {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.step-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.step-content {
  flex: 1;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245,165,32,0.4);
  font-size: 20px;
  padding: 0 6px;
  margin-top: 40px;
  flex-shrink: 0;
}

.id-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(245,165,32,0.07);
  border: 1px solid rgba(245,165,32,0.3);
  border-left: 3px solid #f5a520;
  border-radius: 10px;
  margin-top: 4px;
}

.id-note-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.id-note p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .steps-row {
    flex-direction: column;
    gap: 8px;
  }

  .step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 14px;
    min-width: unset;
    padding: 14px;
  }

  .step-icon {
    margin-bottom: 0;
    font-size: 24px;
    flex-shrink: 0;
  }

  .step-num {
    display: none;
  }

  .step-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
    padding: 2px 0;
  }
}


/* 20. Service pages
   ============================================================ */
.svc-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 16px;
  align-items: start;
}

.quote-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(245,165,32,0.07);
  border: 1px solid rgba(245,165,32,0.25);
  border-left: 3px solid #f5a520;
  border-radius: 10px;
  flex-wrap: wrap;
}

.quote-banner-icon { font-size: 24px; flex-shrink: 0; }
.quote-banner > div { flex: 1; }

.referral-card { border-color: rgba(245,165,32,0.2); }
.referral-card h3 a { color: #f5a520; text-decoration: none; }
.referral-card h3 a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .svc-hero-grid { grid-template-columns: 1fr; }
  .quote-banner { flex-direction: column; align-items: flex-start; }
}


/* 23. Service cards (homepage)
   ============================================================ */
.service-card {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s;
  cursor: pointer;
}
.service-card:hover {
  border-color: rgba(245,165,32,0.4);
  transform: translateY(-2px);
}
.service-card h3 {
  flex: 1;
  font-size: 14px;
  color: #fff;
  margin: 0;
}
.service-card-icon { font-size: 22px; flex-shrink: 0; }
.service-card-arrow {
  color: #f5a520;
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.service-card:hover .service-card-arrow {
  opacity: 1;
  transform: translateX(3px);
}


/* 24. Badge variants & hero-actions
   ============================================================ */
.badge-unavailable {
  background: rgba(239,68,68,0.10);
  border-color: rgba(239,68,68,0.3);
  color: #ef4444;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-actions .btn-gold,
.hero-actions .btn-outline {
  padding: 11px 20px;
  font-size: 14px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-gold {
  background: #f5a520;
  color: #1a2a4a;
  border: 2px solid #f5a520;
}
.btn-gold:hover { background: #ffc144; border-color: #ffc144; }
.btn-outline {
  background: transparent;
  color: #f5a520;
  border: 2px solid rgba(245,165,32,0.5);
}
.btn-outline:hover {
  border-color: #f5a520;
  background: rgba(245,165,32,0.08);
}


/* 21. Dropdown Navigation
   ============================================================ */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-links > li > a:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.has-dropdown > a::after {
  content: '▾';
  font-size: 10px;
  opacity: 0.6;
  margin-left: 2px;
}

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: #152240;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 6px;
  list-style: none;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: block;
}

.dropdown li a {
  display: block;
  padding: 9px 14px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  border-radius: 7px;
  transition: color 0.15s, background 0.15s;
}
.dropdown li a:hover {
  color: #f5a520;
  background: rgba(245,165,32,0.08);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: 8px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #e8edf5;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0f1e38;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px;
    overflow-y: auto;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .dropdown {
    position: static;
    display: none;
    background: rgba(255,255,255,0.03);
    border: none;
    border-radius: 0;
    padding: 0 0 0 16px;
    box-shadow: none;
  }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown li a { padding: 10px 14px; font-size: 14px; }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
}


/* 22. Referral page styles
   ============================================================ */
.referral-hero {
  background: rgba(245,165,32,0.04);
  border: 1px solid rgba(245,165,32,0.15);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.referral-not-available {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(239,68,68,0.07);
  border: 1px solid rgba(239,68,68,0.25);
  border-left: 3px solid #ef4444;
  border-radius: 10px;
  margin-bottom: 20px;
}
.referral-not-available-icon { font-size: 22px; flex-shrink: 0; }

.partner-card {
  border-color: rgba(245,165,32,0.3);
  background: rgba(245,165,32,0.04);
}
.partner-logo {
  max-height: 48px;
  width: auto;
  display: block;
  margin-bottom: 12px;
}
.partner-phone {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #f5a520;
  text-decoration: none;
  display: block;
  margin: 8px 0;
}
