:root {
  --navy: #14213d;
  --navy-light: #24365c;
  --navy-dark: #0d1729;
  --orange: #f2994a;
  --orange-dark: #d97e2e;
  --orange-btn: #b45309;
  --orange-btn-hover: #92400e;
  --gray-bg: #f3efe8;
  --gray-border: #e6e0d6;
  --text: #2c2f36;
  --text-muted: #6b6f7d;
  --white: #ffffff;
  --paper: #faf8f5;
  --shadow-sm: 0 1px 2px rgba(20, 33, 61, 0.04);
  --shadow-md: 0 10px 28px rgba(20, 33, 61, 0.08);
  --shadow-lg: 0 16px 48px rgba(20, 33, 61, 0.12);
  --radius: 18px;
  --radius-lg: 22px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--paper);
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--navy);
  margin-top: 0;
  line-height: 1.25;
}

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

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

picture { display: block; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-border);
  z-index: 200;
  height: var(--header-h);
}

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

.logo-img {
  height: 56px;
  width: auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-nav {
  display: flex;
  gap: 24px;
}

.main-nav a {
  color: var(--navy);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.15s;
}

.main-nav a:hover { color: var(--orange-dark); }

.social-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-bg);
  color: var(--navy);
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.social-links a:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.phone-pill {
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.15s;
}

.phone-pill:hover { background: var(--navy-light); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
}

.menu-toggle svg { width: 24px; height: 24px; }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  padding: 16px 24px 24px;
  z-index: 199;
  box-shadow: var(--shadow-md);
}

.mobile-nav.is-open { display: block; }

.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: var(--navy);
  font-weight: 500;
  border-bottom: 1px solid var(--gray-bg);
}

.mobile-nav a:last-child { border-bottom: none; }

.mobile-nav-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-border);
}

/* Hero + Quote split */
.hero-quote {
  background: linear-gradient(135deg, var(--gray-bg) 0%, #f7f1e8 50%, var(--white) 100%);
  padding: 48px 0 64px;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
}

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

.hero-content h1 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
}

.hero-sub {
  font-weight: 600;
  color: var(--orange-dark);
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 24px;
  max-width: 520px;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}

.trust-list li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.area-chip {
  background: var(--white);
  border: 1px solid var(--gray-border);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy-light);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}

@media (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-2px); }
}

.btn-primary {
  background: var(--orange-btn);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.35);
}

.btn-primary:hover { background: var(--orange-btn-hover); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.quote-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-border);
  position: sticky;
  top: calc(var(--header-h) + 16px);
  max-height: 640px;
  overflow: hidden;
  cursor: pointer;
  transition: max-height 0.45s ease, box-shadow 0.3s ease;
  outline: none;
}

.quote-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.quote-card.is-expanded,
.quote-card:focus-within {
  cursor: default;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(242, 153, 74, 0.25);
  overflow: visible;
}

.quote-card.is-expanded::after,
.quote-card:focus-within::after {
  opacity: 0;
}

.quote-form-wrap {
  margin: 0;
  padding: 0;
}

#widget-container {
  margin-top: -34px;
}

/* Sections */
section { padding: 96px 0; }

section h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: clamp(26px, 3vw, 34px);
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

section h2::after {
  content: "";
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: var(--orange);
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 40px;
  font-size: 16px;
}

/* Services */
.services { background: var(--gray-bg); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
  transition: box-shadow 0.2s, transform 0.2s;
}

@media (prefers-reduced-motion: no-preference) {
  .service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
  }
}

.service-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

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

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.area-city {
  background: var(--white);
  padding: 16px 20px;
  border-radius: 999px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, background 0.15s;
}

.area-city:hover {
  border-color: var(--orange);
  background: var(--white);
}

.area-note {
  text-align: center;
  margin-top: 32px;
  color: var(--text-muted);
  font-size: 15px;
}

/* Gallery */
.gallery { background: var(--gray-bg); }

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0 56px;
}

.ba-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
}

.ba-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ba-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.ba-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(20, 33, 61, 0.88);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
}

.ba-tag-after { background: rgba(242, 153, 74, 0.95); }

.ba-card h3 {
  margin: 0;
  padding: 14px 16px;
  font-size: 15px;
  text-align: center;
}

.gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.gallery-subhead {
  text-align: left;
  font-size: 20px;
  margin: 0;
}

.gallery-nav-group {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.gallery-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--gray-border);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.gallery-nav svg {
  width: 20px;
  height: 20px;
}

.gallery-nav:hover { border-color: var(--navy); }

.gallery-scroll {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  -webkit-overflow-scrolling: touch;
  border-radius: 4px;
}

.gallery-scroll:focus-visible,
.gallery-nav:focus-visible {
  outline: 2px solid var(--orange-btn);
  outline-offset: 3px;
}

.gallery-track {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 4px 4px 16px;
}

.gallery-item {
  flex: 0 0 min(78vw, 440px);
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-item figure {
  margin: 0;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 14px 16px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}

@media (prefers-reduced-motion: no-preference) {
  .gallery-item img { transition: transform 0.3s; }
  .gallery-item:hover img { transform: scale(1.04); }
}

/* About */
.about {
  background: var(--navy);
  color: var(--white);
}

.about h2 { color: var(--white); }

.about-inner {
  max-width: 720px;
  text-align: center;
  margin: 0 auto;
}

.about p { color: #d7dbe8; font-size: 17px; }

.about-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 12px;
  text-align: left;
}

.about-list li {
  background: rgba(255, 255, 255, 0.08);
  padding: 14px 18px 14px 44px;
  border-radius: 8px;
  position: relative;
  color: var(--white);
}

.about-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  color: var(--orange);
  font-weight: 700;
}

/* FAQ */
.faq { background: var(--white); }

.faq-list {
  max-width: 760px;
  margin: 40px auto 0;
  display: grid;
  gap: 12px;
}

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

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--gray-bg);
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  transition: background 0.15s;
}

.faq-question:hover { background: #eef0f5; }

.faq-question[aria-expanded="true"] {
  background: var(--navy);
  color: var(--white);
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.2s;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 18px 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  border-top: 1px solid var(--gray-border);
}

.faq-answer.is-open { display: block; }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #cfd3de;
  padding-top: 48px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}

.footer-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-inner p {
  margin: 0;
  font-size: 14px;
  color: #8a8fa0;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact a {
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
}

.footer-contact a:hover { color: var(--orange); }

.footer-social h3 {
  color: var(--white);
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 24px;
  font-size: 13px;
  text-align: center;
  color: #8a8fa0;
}

/* Mobile sticky CTA */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: var(--white);
  border-top: 1px solid var(--gray-border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  z-index: 150;
  gap: 10px;
}

.mobile-cta .btn { flex: 1; padding: 12px 16px; font-size: 14px; }

/* Responsive */
@media (max-width: 960px) {
  .main-nav, .header-right .social-links { display: none; }
  .menu-toggle { display: block; }

  .hero-quote {
    min-height: auto;
    padding: 32px 0 48px;
  }

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

  .quote-card {
    position: static;
    max-height: 640px;
  }

  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .before-after-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .mobile-cta { display: flex; }

  body { padding-bottom: 72px; }
}

@media (max-width: 520px) {
  .service-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr 1fr; }
  .phone-pill { display: none; }
  .logo-img { height: 44px; }
}

/* Thank-you page */
.thanks-page {
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 48px 0 64px;
}

.thanks-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 48px 40px;
  text-align: center;
}

.thanks-card h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.thanks-card h1::after {
  content: "";
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: var(--orange);
}

.thanks-card p {
  margin: 0 auto;
  max-width: 36em;
  color: var(--text);
  font-size: 17px;
}

.thanks-contact {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.thanks-contact .btn {
  width: 100%;
  min-height: 48px;
  overflow-wrap: anywhere;
}

.thanks-contact .btn:focus-visible,
.thanks-home a:focus-visible,
.thanks-body .logo:focus-visible,
.thanks-body .phone-pill:focus-visible {
  outline: 2px solid var(--orange-btn);
  outline-offset: 3px;
}

.thanks-home {
  margin-top: 24px;
  font-size: 15px;
}

.thanks-home a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 960px) {
  body.thanks-body { padding-bottom: 0; }
}

@media (max-width: 520px) {
  .thanks-page { padding: 24px 0 40px; align-items: flex-start; }
  .thanks-card { padding: 32px 20px; }
  .thanks-card p { font-size: 16px; }
}
