/* ===========================================================
   AM/PM Garage Door — Design System
   Palette: orange (primary/CTA), white (base), pink (accent),
   blue (secondary/trust). Warm, friendly, mobile-first.
=========================================================== */

:root {
  --orange: #ff7a1a;
  --orange-dark: #e35e00;
  --orange-soft: #fff1e5;
  --pink: #e4002b;
  --pink-dark: #a80020;
  --pink-soft: #fde6e9;
  --blue: #1f5fbf;
  --blue-dark: #163f80;
  --blue-soft: #e9f1ff;
  --navy: #10213c;
  --ink: #1c2333;
  --muted: #5b6478;
  --line: #ecebe6;
  --paper: #ffffff;
  --cream: #fff9f2;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(16, 33, 60, 0.06);
  --shadow-md: 0 10px 30px rgba(16, 33, 60, 0.10);
  --shadow-lg: 0 20px 50px rgba(16, 33, 60, 0.16);

  --container: 1180px;
  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
  color: var(--navy);
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--muted); }
ul { padding-left: 1.2em; color: var(--muted); }
li { margin-bottom: 0.4em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: #cfd8e8; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-blue-soft { background: var(--blue-soft); }
.bg-pink-soft { background: var(--pink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-dark);
  background: var(--orange-soft);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.bg-navy .eyebrow { background: rgba(255,122,26,0.16); color: #ffb27a; }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary {
  background: #fff;
  color: var(--blue-dark);
  border-color: var(--blue);
}
.btn-secondary:hover { background: var(--blue-soft); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.top-strip {
  background: var(--navy);
  color: #dbe4f5;
  font-size: 0.82rem;
}
.top-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.top-strip a { color: #ffb27a; font-weight: 600; text-decoration: none; }
.top-strip .strip-badges { display: flex; gap: 16px; flex-wrap: wrap; }
.top-strip .strip-badges span { display: inline-flex; align-items: center; gap: 6px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 18px;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo-img {
  height: 46px;
  width: auto;
  display: block;
}
.brand-sub {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
}

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover, .main-nav a.active { background: var(--orange-soft); color: var(--orange-dark); }
.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--blue-dark);
  text-decoration: none;
  font-size: 0.98rem;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 3px;
  transition: 0.2s;
}

@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    height: 100vh;
    width: min(320px, 84vw);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 90px 22px 22px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .header-phone .phone-text { display: none; }
  .nav-scrim {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(16,33,60,0.45);
    z-index: 90;
  }
  .nav-scrim.open { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 640px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(16,33,60,0.95) 0%, rgba(16,33,60,0.86) 32%, rgba(22,63,128,0.66) 62%, rgba(31,95,191,0.48) 100%);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,26,0.30), transparent 70%);
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding-top: 76px;
  padding-bottom: 76px;
}
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--orange); }
.hero p.lead { color: #e6ecf8; font-size: 1.12rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-trust { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.hero-trust .trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #eef3fc;
}
.hero-trust .trust-item svg { flex-shrink: 0; color: var(--orange); }
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 10px 20px 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
}
.hero-rating-icon { flex-shrink: 0; display: flex; }
.hero-rating-divider { width: 1px; align-self: stretch; background: var(--line); }
.hero-rating-stars { color: #f2b400; font-size: 1.05rem; letter-spacing: 1px; line-height: 1; }
.hero-rating-copy { display: flex; flex-direction: column; line-height: 1.2; }
.hero-rating-score { color: var(--navy); font-weight: 800; font-size: 1rem; font-family: var(--font-head); }
.hero-rating-text { color: var(--muted); font-weight: 600; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.04em; }
.slider-rating-badge { position: absolute; top: 14px; left: 14px; z-index: 2; margin-top: 0; }

/* Reusable content photo frame used across inner pages (service/area/about pages) */
.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.hero-media.contain { padding: 10px; }
.hero-media.contain img { object-fit: contain; }

@media (max-width: 900px) {
  .hero { min-height: 560px; }
  .hero .container { padding-top: 54px; padding-bottom: 54px; }
  .hero-media { order: -1; max-width: 420px; margin: 0 auto; }
}

/* Page header (non-home hero, simpler banner) */
.page-hero {
  background: linear-gradient(155deg, var(--navy) 0%, var(--blue-dark) 65%, var(--blue) 100%);
  color: #fff;
  padding: 52px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -140px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228,0,43,0.28), transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: #d6e0f2; max-width: 640px; font-size: 1.05rem; }
.breadcrumbs {
  font-size: 0.82rem;
  color: #b9c7e2;
  margin-bottom: 16px;
}
.breadcrumbs a { color: #ffb27a; text-decoration: none; }
.page-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 26px;
  padding-bottom: 26px;
}
.trust-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
}
.trust-card .icon-badge { flex-shrink: 0; }
.trust-card strong { display: block; font-family: var(--font-head); font-size: 0.98rem; color: var(--navy); }
.trust-card span { font-size: 0.82rem; color: var(--muted); }
@media (max-width: 900px) {
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
}

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-badge.orange { background: var(--orange-soft); color: var(--orange-dark); }
.icon-badge.blue { background: var(--blue-soft); color: var(--blue); }
.icon-badge.pink { background: var(--pink-soft); color: var(--pink-dark); }

/* ---------- Grids / Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
/* Centre a card that ends up alone on the final row of a 3-column grid,
   instead of leaving it stranded on the left. */
@media (min-width: 981px) {
  .services-grid > *:nth-child(3n+1):last-child { grid-column: 2; }
}
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--cream); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.card-img.contain { padding: 12px; }
.card-img.contain img { object-fit: contain; }
.card:hover .card-img.contain img { transform: none; }
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { flex: 1; }
.card-link {
  font-weight: 700;
  color: var(--orange-dark);
  text-decoration: none;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
.card-link:hover { text-decoration: underline; }

.service-icon-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-icon-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.brand-logo-text {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--blue-dark);
  background: var(--blue-soft);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.grid-4 .service-icon-card p { font-size: 0.88rem; margin-bottom: 0; }

.area-chip-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.area-chip {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--navy);
  transition: all 0.15s ease;
}
.area-chip:hover { border-color: var(--orange); background: var(--orange-soft); color: var(--orange-dark); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
}

/* ---------- Reviews ---------- */
.review-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.stars { color: var(--orange); letter-spacing: 2px; margin-bottom: 10px; font-size: 1.05rem; }
.review-card p.quote { color: var(--ink); font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-head);
  flex-shrink: 0;
}
.review-author strong { display: block; font-size: 0.92rem; color: var(--navy); }
.review-author span { font-size: 0.8rem; color: var(--muted); }

.rating-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  flex-wrap: wrap;
}
.rating-summary .score { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--orange-dark); }

/* ---------- Before / After ---------- */
.ba-pair { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.ba-pair figure {
  margin: 0;
  position: relative;
  aspect-ratio: 3/2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.ba-pair img { width: 100%; height: 100%; object-fit: contain; }
.ba-pair figcaption {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(16,33,60,0.75);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* ---------- Photo gallery (masonry, no cropping) ---------- */
.masonry-grid {
  columns: 3 260px;
  column-gap: 18px;
}
@media (max-width: 640px) {
  .masonry-grid { columns: 1; }
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.masonry-item img { width: 100%; height: auto; display: block; }
.masonry-caption {
  padding: 12px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
}
.masonry-item .tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(16,33,60,0.8);
  color: #fff;
}

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 18px 20px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
}
.faq-q .plus { flex-shrink: 0; width: 24px; height: 24px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--orange);
  border-radius: 2px;
  transition: transform 0.2s ease;
}
.faq-q .plus::before { top: 50%; left: 2px; right: 2px; height: 3px; transform: translateY(-50%); }
.faq-q .plus::after { left: 50%; top: 2px; bottom: 2px; width: 3px; transform: translateX(-50%); }
.faq-item.open .plus::after { transform: translateX(-50%) rotate(90deg) scaleX(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a-inner { padding: 0 20px 20px; color: var(--muted); }
.faq-item.open .faq-a { max-height: 600px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--orange) 0%, var(--pink) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 46px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.92); margin-bottom: 0; }
.cta-band .btn-primary { background: #fff; color: var(--orange-dark); }
.cta-band .btn-primary:hover { background: var(--navy); color: #fff; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,0.7); }

/* ---------- Map ---------- */
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 32px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.88rem; color: var(--navy); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 0.96rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--cream);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.form-success {
  display: none;
  background: var(--blue-soft);
  border: 1px solid var(--blue);
  color: var(--blue-dark);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  margin-top: 16px;
}
.form-success.show { display: block; }

/* ---------- Hours / contact list ---------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.info-list li:last-child { border-bottom: none; }
.info-list strong { display: block; color: var(--navy); font-size: 0.9rem; }
.info-list .icon-badge { width: 40px; height: 40px; }

/* ---------- Long-form content ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { color: var(--muted); }
.prose blockquote {
  margin: 1.6em 0;
  padding: 18px 22px;
  background: var(--orange-soft);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c4dc; padding: 60px 0 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #b9c4dc; text-decoration: none; font-size: 0.92rem; }
.footer-grid a:hover { color: #ffb27a; }
.footer-brand { display: flex; align-items: center; margin-bottom: 14px; }
.footer-logo-img { height: 44px; width: auto; display: block; filter: brightness(1.3) saturate(1.1); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 0.82rem;
  color: #8f9bb8;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  text-decoration: none;
}
.footer-social a:hover { background: var(--orange); }

/* ---------- Sticky mobile call bar ---------- */
.mobile-call-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  background: var(--orange);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.15);
}
@media (max-width: 720px) {
  .mobile-call-bar { display: flex; }
  body { padding-bottom: 62px; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.tag {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--blue-soft);
  color: var(--blue-dark);
}

/* ---------- Door photo slider (swipeable) ---------- */
.door-slider {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.slider-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--cream);
}
.slider-track {
  display: flex;
  transition: transform 0.4s ease;
  cursor: grab;
  touch-action: pan-y;
}
.slider-track.dragging { transition: none; cursor: grabbing; }
.slider-slide {
  flex: 0 0 100%;
  aspect-ratio: 4/3;
  position: relative;
  background: var(--cream);
}
.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
}
.slider-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(16,33,60,0.78), transparent);
  color: #fff;
  padding: 28px 20px 14px;
  font-weight: 600;
  font-size: 0.95rem;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.3rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.slider-arrow:hover { background: var(--orange); color: #fff; }
.slider-arrow.prev { left: -8px; }
.slider-arrow.next { right: -8px; }
@media (min-width: 720px) {
  .slider-arrow.prev { left: -23px; }
  .slider-arrow.next { right: -23px; }
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}
.slider-dot.active { background: var(--orange); width: 24px; border-radius: 5px; }

/* ---------- Homepage email contact section ---------- */
.home-contact { max-width: 640px; margin: 0 auto; }
