:root {
  --color-navy: #10233f;
  --color-navy-deep: #0a1626;
  --color-charcoal: #1c2733;
  --color-gold: #c9a35c;
  --color-gold-light: #e4c98a;
  --color-cream: #f7f4ee;
  --color-white: #ffffff;
  --color-text: #1e2530;
  --color-text-muted: #5b6572;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
  --radius: 10px;
  --shadow-card: 0 4px 16px rgba(16, 35, 63, 0.08);
  --max-width: 1120px;
}

* { box-sizing: border-box; }
.text-center { text-align: center; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
}
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; color: var(--color-navy); }
a { color: var(--color-navy); }
img { max-width: 100%; display: block; }

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.section__inner--narrow { max-width: 640px; }
.section { border-top: 1px solid #e9e5db; }

/* Buttons */
.button {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}
.button--primary { background: var(--color-gold); color: var(--color-navy-deep); }
.button--primary:hover { background: var(--color-gold-light); }
.button--secondary { background: transparent; color: var(--color-navy); border-color: var(--color-navy); }
.button--secondary:hover { background: var(--color-navy); color: var(--color-white); }
.button--light { background: var(--color-white); color: var(--color-navy-deep); }
.button--light:hover { background: var(--color-cream); }

/* Header */
.site-header {
  background: var(--color-navy-deep);
  color: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.site-header__brand { color: var(--color-white); text-decoration: none; display: flex; flex-direction: column; }
.site-header__name { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; }
.site-header__tagline { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-gold-light); }
.site-nav { display: flex; gap: 1.5rem; align-items: center; }
.site-nav a { color: var(--color-white); text-decoration: none; font-weight: 500; }
.site-nav a:hover { color: var(--color-gold-light); }
.site-nav__cta {
  background: var(--color-gold);
  color: var(--color-navy-deep) !important;
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

/* Hero — real renovation video background, poster-image fallback */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--color-white);
  isolation: isolate;
  background-image: url("/assets/images/hero-poster.jpg");
  background-size: cover;
  background-position: center;
}
.hero__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 38, 0.82) 0%,
    rgba(10, 22, 38, 0.62) 55%,
    rgba(10, 22, 38, 0.78) 100%
  );
}
/* Skip the autoplay motion for reduced-motion users and on small screens
   (saves mobile data/battery) — the poster image still shows underneath. */
@media (prefers-reduced-motion: reduce), (max-width: 640px) {
  .hero__video { display: none; }
}
.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem 1.5rem 5rem;
  text-align: center;
}
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-navy-deep);
  background: var(--color-gold-light);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin: 0 0 1.25rem;
}
.hero__headline { color: var(--color-white); font-size: clamp(2rem, 5vw, 3.25rem); margin: 0 0 0.75rem; }
.hero__tagline { color: var(--color-gold-light); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin: 0 0 1.5rem; }
.hero__blurb { max-width: 640px; margin: 0 auto 2rem; font-size: 1.125rem; color: #e6e9ef; }

/* Why us */
.why-us__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.why-us__list li {
  background: var(--color-cream);
  border-left: 4px solid var(--color-gold);
  padding: 1rem 1.25rem;
  border-radius: 4px;
  font-weight: 500;
}
.why-us__closing { font-style: italic; color: var(--color-text-muted); }

/* Service chip list (Home teaser — lightweight, links to full detail pages) */
.service-chip-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.service-chip {
  display: inline-block;
  background: var(--color-cream);
  border: 1px solid #e9e5db;
  color: var(--color-navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.service-chip:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold);
}

/* Service grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.service-card {
  display: block;
  background: var(--color-white);
  border: 1px solid #e9e5db;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(16, 35, 63, 0.14);
}
.service-card__image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.service-card__body { padding: 1.5rem; }
.service-card__title { font-size: 1.1rem; margin: 0 0 0.5rem; color: var(--color-navy); }
.service-card__description { color: var(--color-text-muted); margin: 0 0 0.75rem; }
.service-card__link { color: var(--color-navy); font-weight: 600; font-size: 0.9rem; }
.service-card:hover .service-card__link { color: var(--color-gold); }

/* Service detail page */
.service-detail__back a { color: var(--color-text-muted); text-decoration: none; font-weight: 600; }
.service-detail__back a:hover { color: var(--color-navy); }
.service-detail__photo {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 1.75rem;
}
.service-detail__body { font-size: 1.05rem; margin-bottom: 1.75rem; }

/* "Don't see it listed" CTA */
.services-cta {
  background: var(--color-cream);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 1rem;
}
.services-cta h3 { margin: 0 0 0.5rem; }
.services-cta p { color: var(--color-text-muted); margin: 0 0 1.25rem; }

/* Page header */
.page-header { background: var(--color-cream); }
.page-header .lead { font-size: 1.15rem; color: var(--color-text-muted); }

/* About overview (text + photo) */
.about-overview {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.about-overview__photo {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

/* Values grid (About Us) */
.values__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.values__grid li {
  background: var(--color-cream);
  border-left: 4px solid var(--color-gold);
  padding: 1rem 1.25rem;
  border-radius: 4px;
  font-weight: 500;
}

/* How It Works (About Us) */
.how-it-works__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
}
.how-it-works__step { position: relative; padding-top: 0.25rem; }
.how-it-works__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--color-navy-deep);
  color: var(--color-gold-light);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.how-it-works__list h3 { font-size: 1.05rem; margin: 0 0 0.4rem; }
.how-it-works__list p { color: var(--color-text-muted); margin: 0; }

/* CTA banner */
.cta-banner { background: var(--color-navy-deep); color: var(--color-white); }
.cta-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
}
.cta-banner__headline { font-size: 1.4rem; font-weight: 700; margin: 0 0 0.5rem; }
.cta-banner__meta { margin: 0.15rem 0; color: #cfd6e0; }
.cta-banner .button { margin-top: 1.25rem; }

/* Footer */
.site-footer { background: var(--color-charcoal); color: #cfd6e0; }
.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}
.site-footer a { color: #cfd6e0; text-decoration: none; }
.site-footer nav { display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer__copyright {
  text-align: center;
  font-size: 0.85rem;
  padding: 1rem 1.5rem 0;
  color: #8b95a3;
  margin: 0;
}
.site-footer__credit {
  text-align: center;
  font-size: 0.75rem;
  padding: 0.35rem 1.5rem 1.5rem;
  color: #6b7280;
  margin: 0;
}

/* Contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(300px, 1.4fr);
  gap: 2.5rem;
  align-items: start;
}
.contact-info h2 { margin-top: 0; }
.contact-address { font-style: normal; margin-bottom: 0.75rem; color: var(--color-text-muted); }
.contact-detail { margin: 0.4rem 0; color: var(--color-text-muted); }
.contact-detail a { color: var(--color-navy); font-weight: 600; }
.contact-map {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.contact-map iframe { width: 100%; height: 260px; border: 0; display: block; }

/* Contact form */
.contact-form .field { margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.contact-form label { font-weight: 600; font-size: 0.9rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  padding: 0.65rem 0.85rem;
  border: 1px solid #c9cdd4;
  border-radius: 6px;
  background: var(--color-white);
}
.field--honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status--success { color: #1a7a3d; }
.form-status--error { color: #b3261e; }
.cf-turnstile { margin: 1rem 0; }

/* Mobile */
@media (max-width: 640px) {
  .site-header__inner { justify-content: center; text-align: center; padding: 0.85rem 1rem; }
  .site-header__brand { align-items: center; }
  .site-nav { justify-content: center; flex-wrap: wrap; gap: 0.75rem 1.1rem; width: 100%; }
  .site-nav a { font-size: 0.9rem; }

  .hero__inner { padding: 3rem 1.25rem 3rem; }
  .hero__eyebrow { font-size: 0.7rem; padding: 0.35rem 0.85rem; }
  .hero__blurb { font-size: 1rem; }

  .section__inner { padding: 2.5rem 1.25rem; }

  .why-us__list { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: 1fr; }
  .how-it-works__list { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-overview { grid-template-columns: 1fr; }
  .about-overview__photo { max-height: 220px; }

  .cta-banner__inner { padding: 2rem 1.25rem; }
  .cta-banner__headline { font-size: 1.15rem; }

  .site-footer__inner { flex-direction: column; text-align: center; align-items: center; gap: 1.25rem; }
  .site-footer nav { align-items: center; }

  .button { width: 100%; text-align: center; }
}
