/* =========================================================
   Ty The Window Guy — Design System
   Bright, airy, premium local service
   Colors: soft sky blue, sage green, warm neutrals
   ========================================================= */

:root {
  /* Brand */
  --color-sky-50: #f0f7fb;
  --color-sky-100: #dceef7;
  --color-sky-200: #b8dcee;
  --color-sky-400: #5ba3c9;
  --color-sky-500: #2e7fad;
  --color-sky-600: #1f6a96;
  --color-sky-700: #185578;
  --color-sky-800: #144560;
  --color-sky-900: #0f3448;

  --color-sage-50: #f3f7f4;
  --color-sage-100: #e0ebe3;
  --color-sage-500: #4a7c59;
  --color-sage-600: #3d6849;
  --color-sage-700: #32553c;

  --color-sand-50: #faf9f7;
  --color-sand-100: #f3f0eb;
  --color-sand-200: #e5e0d6;

  --color-ink: #1a2332;
  --color-ink-soft: #3d4a5c;
  --color-muted: #5c6b7a;
  --color-border: #e2e8ee;
  --color-white: #ffffff;
  --color-star: #e8a317;
  --color-success: #2d6a4f;
  --color-error: #b33a3a;

  /* Typography */
  --font-sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  /* Spacing & layout */
  --container: 1120px;
  --section-y: clamp(3.5rem, 6vw, 5.5rem);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 52, 72, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 52, 72, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 52, 72, 0.12);
  --shadow-cta: 0 8px 24px rgba(31, 106, 150, 0.28);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
  --sticky-cta-h: 64px;
}

/* ===== Reset / Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: var(--sticky-cta-h);
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-sky-600); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--color-sky-700); }
address { font-style: normal; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-ink);
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-family: var(--font-sans); font-weight: 600; }

p { margin: 0 0 1em; color: var(--color-ink-soft); }
p:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--color-sky-700);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: var(--section-y) 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.75rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin: 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-sky-600);
  margin: 0 0 0.75rem;
}

.muted { color: var(--color-muted); font-size: 0.95em; }

.stars {
  color: var(--color-star);
  letter-spacing: 0.05em;
  font-size: 0.95em;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.15s var(--ease);
  white-space: nowrap;
}

.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible {
  outline: 3px solid var(--color-sky-400);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--color-sky-600);
  color: var(--color-white);
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  background: var(--color-sky-700);
  color: var(--color-white);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-outline {
  background: transparent;
  color: var(--color-sky-700);
  border-color: var(--color-sky-200);
}
.btn-outline:hover {
  background: var(--color-sky-50);
  color: var(--color-sky-800);
  border-color: var(--color-sky-400);
}

.btn-sm { padding: 0.6rem 1.15rem; font-size: 0.925rem; }
.btn-lg { padding: 1rem 1.75rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.text-link {
  font-weight: 600;
  color: var(--color-sky-600);
  text-decoration: none;
}
.text-link:hover { color: var(--color-sky-800); text-decoration: underline; }

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--color-ink);
  flex-shrink: 0;
  max-width: min(320px, 70vw);
}
.logo:hover { color: var(--color-sky-800); text-decoration: none; }

.logo-img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 48px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

.logo-img--footer {
  height: 52px;
  max-width: 52px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.logo-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--color-sky-600);
  white-space: nowrap;
}

.logo-tag {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem 1.25rem;
}

.nav-desktop a:not(.btn) {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--color-ink-soft);
  text-decoration: none;
  padding: 0.35rem 0;
}
.nav-desktop a:not(.btn):hover { color: var(--color-sky-700); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-sky-700);
  text-decoration: none;
}
.header-phone:hover { color: var(--color-sky-800); text-decoration: none; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-ink);
  border-radius: 1px;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1rem 1.5rem;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.nav-mobile[hidden] { display: none; }
.nav-mobile a:not(.btn) {
  padding: 0.85rem 0.5rem;
  font-weight: 500;
  color: var(--color-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--color-sand-100);
}
.nav-mobile .btn { margin-top: 0.5rem; width: 100%; }

@media (min-width: 960px) {
  .nav-desktop { display: flex; }
  .header-phone { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 700px);
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* Gradient stands in for high-quality photo until real images are added */
  background:
    linear-gradient(135deg, #0f3448 0%, #185578 40%, #2e7fad 70%, #4a8f7a 100%);
  background-size: cover;
  background-position: center;
}

/* When real photo is ready:
.hero-bg {
  background-image: url('images/hero-bend-windows.jpg');
  background-size: cover;
  background-position: center;
}
*/

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15, 52, 72, 0.88) 0%, rgba(15, 52, 72, 0.65) 55%, rgba(15, 52, 72, 0.35) 100%);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  /* Window-pane grid suggestion */
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 4rem;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 1rem;
  text-wrap: balance;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.75rem;
  max-width: 540px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Secondary buttons outside hero need solid style */
.cta-banner .btn-secondary,
.sticky-cta .btn-secondary {
  /* inherited contexts handle color */
}

/* ===== Trust Bar ===== */
.trust-bar {
  background: var(--color-sand-50);
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1rem;
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.trust-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-sky-100);
  color: var(--color-sky-700);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
}

.trust-list strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-ink);
  line-height: 1.3;
}

.trust-list span {
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.35;
}

@media (min-width: 768px) {
  .trust-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

/* ===== Services ===== */
.services {
  background: var(--color-white);
}

.services-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-card {
  background: var(--color-sky-50);
  border: 1px solid var(--color-sky-100);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  color: var(--color-sky-600);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.service-card h3 { margin-bottom: 0.5rem; }
.service-card > p { flex-grow: 0; margin-bottom: 1rem; }

.service-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  flex-grow: 1;
}

.service-list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.4rem;
  font-size: 0.975rem;
  color: var(--color-ink-soft);
  border-bottom: 1px solid rgba(31, 106, 150, 0.08);
}
.service-list li:last-child { border-bottom: none; }
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-sage-500);
}

.addon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 560px) {
  .addon-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .addon-grid { grid-template-columns: repeat(3, 1fr); }
}

.addon-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.25rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.addon-card:hover {
  border-color: var(--color-sky-200);
  box-shadow: var(--shadow-sm);
}

.addon-icon {
  color: var(--color-sage-600);
  margin-bottom: 0.75rem;
}

.addon-card h4 { margin-bottom: 0.35rem; }
.addon-card p {
  font-size: 0.925rem;
  margin: 0;
  color: var(--color-muted);
}

/* ===== How It Works ===== */
.how-it-works {
  background: var(--color-sand-50);
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  counter-reset: none;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (min-width: 1000px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--color-border);
  position: relative;
}

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-sky-600);
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.process-step h3 { margin-bottom: 0.5rem; }
.process-step p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--color-muted);
}

/* ===== Projects / Gallery ===== */
.projects {
  background: var(--color-sky-50);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 960px) {
  .projects-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
  }

  .project-card--wide {
    grid-column: span 2;
  }
}

.project-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--color-sand-100);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.project-card--wide {
  aspect-ratio: 16 / 10;
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  outline: none;
}

.project-card:focus-visible {
  outline: 3px solid var(--color-sky-400);
  outline-offset: 2px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}

.project-card:hover img {
  transform: scale(1.04);
}

.projects-credit {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 1.75rem 0 0;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 52, 72, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 3.5rem;
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-img {
  max-width: min(1100px, 100%);
  max-height: min(85vh, 100%);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  opacity: 0.9;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  font-size: 2.25rem;
  line-height: 1;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-prev { left: 0.75rem; }
.lightbox-next { right: 0.75rem; }

@media (max-width: 560px) {
  .lightbox {
    padding: 3.5rem 0.75rem;
  }
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.75rem;
  }
}

/* ===== Reviews ===== */
.reviews {
  background: var(--color-white);
}

.rating-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.rating-score {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-sky-700);
  line-height: 1;
}

.rating-highlight p {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.reviews-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

.review-card {
  margin: 0;
  background: var(--color-sky-50);
  border: 1px solid var(--color-sky-100);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
}

.review-card .stars {
  margin-bottom: 0.65rem;
  font-size: 0.85rem;
}

.review-card p {
  font-size: 0.975rem;
  color: var(--color-ink-soft);
  flex-grow: 1;
  margin-bottom: 1rem;
  quotes: none;
}

.review-card footer cite {
  font-style: normal;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-sky-800);
}

.reviews-cta {
  text-align: center;
  margin-top: 2.25rem;
}

.reviews-note {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
}



/* ===== About ===== */
.about {
  background: var(--color-sand-50);
}

.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
  }
}

.about-content .section-lead,
.about-content > p {
  max-width: none;
}

.about-highlights {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.about-highlights li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  font-weight: 500;
  color: var(--color-ink-soft);
  border-bottom: 1px solid var(--color-sand-200);
}
.about-highlights li:last-child { border-bottom: none; }
.about-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-sage-600);
  font-weight: 700;
}

.about-visual {
  position: relative;
}

.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-sand-100);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-stat-card {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.about-stat-card strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--color-sky-700);
  line-height: 1;
}

.about-stat-card span {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.35;
}

/* ===== Service Area ===== */
.service-area {
  background: var(--color-white);
}

.area-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .area-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: stretch;
  }
}

.area-list-wrap h3 {
  margin-bottom: 1rem;
}

.area-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
}

.area-list li {
  padding: 0.55rem 0.75rem;
  background: var(--color-sky-50);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--color-ink-soft);
}

.area-note {
  font-size: 0.95rem;
  color: var(--color-muted);
}

.area-map {
  min-height: 320px;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  background: var(--color-sand-100);
}

.area-map-embed {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

@media (min-width: 800px) {
  .area-map,
  .area-map-embed {
    min-height: 100%;
    height: 100%;
  }

  .area-map-embed {
    min-height: 380px;
  }
}

/* ===== CTA Banner ===== */
.cta-banner {
  background:
    linear-gradient(120deg, var(--color-sky-800) 0%, var(--color-sky-600) 55%, var(--color-sage-600) 100%);
  color: white;
  padding: 3rem 0;
}

.cta-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .cta-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cta-banner h2 {
  color: white;
  margin-bottom: 0.4rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ===== FAQ ===== */
.faq {
  background: var(--color-sand-50);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background 0.15s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-sky-50);
  color: var(--color-sky-700);
  border-radius: var(--radius-full);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
}

.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { background: var(--color-sky-50); }

.faq-answer {
  padding: 0 1.25rem 1.2rem;
}

.faq-answer p {
  font-size: 0.975rem;
  color: var(--color-ink-soft);
  margin: 0;
}

/* ===== Contact ===== */
.contact {
  background: var(--color-white);
  padding-bottom: calc(var(--section-y) + 1rem);
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: start;
  }
}

.contact-phone-block {
  margin: 1.5rem 0;
}

.contact-phone {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  padding: 1rem 1.25rem;
  background: var(--color-sky-50);
  border: 1px solid var(--color-sky-100);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-phone:hover {
  border-color: var(--color-sky-300, var(--color-sky-200));
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.contact-phone-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
}

.contact-phone-number {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 600;
  color: var(--color-sky-700);
  letter-spacing: -0.02em;
}

.contact-details {
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

.contact-details dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  margin-bottom: 0.25rem;
}

.contact-details dd {
  margin: 0;
  color: var(--color-ink-soft);
  line-height: 1.55;
}

.contact-form-wrap {
  background: var(--color-sand-50);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 480px) {
  .contact-form-wrap { padding: 2rem 1.75rem; }
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 520px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  border: none;
}

.form-field label,
.form-field legend {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-ink);
}

.req { color: var(--color-sky-600); }

.form-field input,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-ink);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-sky-400);
  box-shadow: 0 0 0 3px rgba(46, 127, 173, 0.15);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9aabba;
}

.form-field input.is-invalid,
.form-field textarea.is-invalid {
  border-color: var(--color-error);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 0.75rem;
  margin-top: 0.35rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-ink-soft);
  cursor: pointer;
  padding: 0.4rem 0;
}

.checkbox-label input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--color-sky-600);
  flex-shrink: 0;
}

.form-disclaimer {
  font-size: 0.8rem;
  color: var(--color-muted);
  text-align: center;
  margin: 0;
}

.form-success {
  background: #e8f5ee;
  border: 1px solid #b7dfc8;
  color: var(--color-success);
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.form-success a { color: var(--color-success); font-weight: 600; }

.form-error-msg {
  font-size: 0.8rem;
  color: var(--color-error);
  margin: 0;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-sky-900);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

.logo--footer {
  color: white;
  margin-bottom: 0.85rem;
  max-width: 280px;
}
.logo--footer:hover { color: var(--color-sky-100); }
.logo--footer .logo-name { color: white; }
.logo--footer .logo-tag { color: rgba(255, 255, 255, 0.55); }

.footer-brand p {
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 280px;
}

.footer-col h3 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li { margin-bottom: 0.45rem; }

.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.925rem;
}
.footer-col a:hover { color: white; text-decoration: underline; }

.footer-nap {
  font-size: 0.925rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}
.footer-nap a {
  color: var(--color-sky-200);
  font-weight: 600;
  text-decoration: none;
}
.footer-nap a:hover { color: white; text-decoration: underline; }

.footer-hours {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 1rem;
}

.footer-reviews {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  line-height: 1.6;
}

.footer-reviews a {
  color: var(--color-sky-200);
  font-weight: 600;
  text-decoration: none;
}

.footer-reviews a:hover {
  color: white;
  text-decoration: underline;
}

.footer-reviews-sep {
  margin: 0 0.35rem;
  opacity: 0.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-seo-line {
  font-size: 0.75rem !important;
}

/* ===== Sticky Mobile CTA ===== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  height: var(--sticky-cta-h);
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(15, 52, 72, 0.1);
  padding: 0.5rem;
  gap: 0.5rem;
  /* Safe area for notched phones */
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
}

.sticky-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: background 0.15s, color 0.15s;
}

.sticky-cta-call {
  background: var(--color-sand-100);
  color: var(--color-sky-800);
  border: 1px solid var(--color-border);
}
.sticky-cta-call:hover {
  background: var(--color-sky-50);
  color: var(--color-sky-900);
  text-decoration: none;
}

.sticky-cta-quote {
  background: var(--color-sky-600);
  color: white;
  box-shadow: var(--shadow-cta);
}
.sticky-cta-quote:hover {
  background: var(--color-sky-700);
  color: white;
  text-decoration: none;
}

.sticky-cta.is-hidden {
  transform: translateY(100%);
  pointer-events: none;
  opacity: 0;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.sticky-cta {
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

@media (min-width: 768px) {
  .sticky-cta { display: none; }
}

/* ===== Utility ===== */
@media print {
  .site-header,
  .sticky-cta,
  .nav-mobile,
  .cta-banner { display: none !important; }
  body { padding-bottom: 0; color: black; }
  .hero { min-height: auto; color: black; }
  .hero-bg { display: none; }
  .hero h1, .hero-sub { color: black; }
}
