@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f3ede4;
  --surface: #fffaf4;
  --surface-strong: #f7f1e7;
  --surface-dark: #182127;
  --surface-dark-soft: #22303a;
  --text: #182127;
  --text-soft: #51606c;
  --text-inverse: #f8fbfd;
  --line: rgba(24, 33, 39, 0.12);
  --line-strong: rgba(24, 33, 39, 0.22);
  --brand: #245c8f;
  --brand-strong: #18476f;
  --accent: #d2843c;
  --accent-soft: #f0d8bc;
  --shadow-soft: 0 20px 48px rgba(20, 28, 34, 0.08);
  --shadow-card: 0 16px 36px rgba(18, 26, 31, 0.12);
  --shadow-strong: 0 22px 58px rgba(16, 23, 28, 0.18);
  --radius-sm: 18px;
  --radius-md: 28px;
  --radius-lg: 42px;
  --container: min(1240px, calc(100vw - 40px));
  --section-space: clamp(72px, 9vw, 118px);
  --hero-space: clamp(90px, 11vw, 146px);
  --header-height: 88px;
  --transition: 240ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(210, 132, 60, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(36, 92, 143, 0.08), transparent 28%),
    linear-gradient(180deg, #f8f3ea 0%, #f3ede4 48%, #eee4d7 100%);
  line-height: 1.64;
}

body.nav-open,
body.intro-active {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  transition: background-color var(--transition), backdrop-filter var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  background: rgba(248, 244, 237, 0.72);
  backdrop-filter: blur(16px);
  border-color: rgba(24, 33, 39, 0.08);
  box-shadow: 0 14px 34px rgba(17, 24, 29, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 104px;
  height: auto;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong,
.intro-copy strong,
.footer-brand-copy strong {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.85rem;
  line-height: 0.92;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-copy small,
.footer-brand-copy span {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  position: relative;
  font-weight: 700;
  font-size: 0.96rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  font-weight: 800;
  color: var(--brand-strong);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(24, 33, 39, 0.12);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--text-inverse);
  background: linear-gradient(135deg, var(--brand) 0%, #2f78bc 100%);
  box-shadow: 0 18px 34px rgba(36, 92, 143, 0.24);
}

.button-primary:hover {
  box-shadow: 0 22px 40px rgba(36, 92, 143, 0.28);
}

.button-secondary,
.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(24, 33, 39, 0.12);
  box-shadow: none;
}

.eyebrow,
.mini-label {
  display: inline-block;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  letter-spacing: 0.02em;
  line-height: 0.98;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

p {
  margin: 0;
  color: var(--text-soft);
}

ul {
  margin: 0;
  padding-left: 1.15rem;
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 29, 35, 0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.intro-screen.is-visible {
  opacity: 1;
  visibility: visible;
}

.intro-panel {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
  padding: 34px 36px;
  border-radius: var(--radius-md);
  background: rgba(255, 252, 248, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-strong);
  transform: scale(0.96);
  transition: transform 560ms ease, opacity 560ms ease;
}

.intro-screen.is-active .intro-panel {
  transform: scale(1);
}

.intro-panel img {
  width: 150px;
}

.intro-copy {
  display: grid;
  gap: 8px;
}

.intro-copy p {
  color: var(--text);
  font-weight: 600;
}

.hero,
.page-hero {
  position: relative;
  padding: var(--hero-space) 0 clamp(72px, 8vw, 96px);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 23, 28, 0.8) 0%, rgba(16, 23, 28, 0.68) 42%, rgba(16, 23, 28, 0.26) 100%);
}

.hero-bg,
.page-hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img,
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-grid,
.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.hero-copy,
.page-hero-copy {
  display: grid;
  gap: 18px;
  max-width: 960px;
}

.hero-copy h1,
.page-hero-copy h1,
.hero-copy p,
.page-hero-copy p,
.hero-copy .eyebrow,
.page-hero-copy .eyebrow {
  color: #ffffff;
}

.hero-copy p,
.page-hero-copy p {
  max-width: 68ch;
  font-size: 1.05rem;
  line-height: 1.66;
  color: rgba(255, 255, 255, 0.84);
}

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

.hero-meta,
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.hero-sidecard {
  justify-self: end;
  width: min(100%, 420px);
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: rgba(255, 251, 246, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow-strong);
}

.hero-sidecard h2,
.hero-sidecard p {
  color: var(--text);
}

.hero-sidecard .contact-list {
  display: grid;
  gap: 14px;
}

.contact-line strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-strong);
}

.contact-line a,
.contact-line span {
  font-weight: 700;
  color: var(--text);
}

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

.section-tint {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.8), rgba(245, 237, 227, 0.92));
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(210, 132, 60, 0.1), transparent 26%),
    linear-gradient(180deg, #25323b 0%, #182127 100%);
  color: var(--text-inverse);
}

.section-dark p,
.section-dark li,
.section-dark .eyebrow,
.section-dark .mini-label {
  color: rgba(255, 255, 255, 0.84);
}

.section-dark .step-card p,
.section-dark .service-card p,
.section-dark .guide-card p,
.section-dark .faq-card p,
.section-dark .trust-card p,
.section-dark .info-card p {
  color: var(--text-soft);
}

.section-dark .step-card h3,
.section-dark .service-card h3,
.section-dark .guide-card h3,
.section-dark .faq-card h3,
.section-dark .trust-card strong,
.section-dark .info-card strong {
  color: var(--text);
}

.section-header {
  display: grid;
  gap: 12px;
  max-width: 1100px;
  margin-bottom: 34px;
}

.section-header h2 {
  max-width: 18ch;
}

.section-header p {
  max-width: 72ch;
}

.trust-strip {
  margin-top: -38px;
  position: relative;
  z-index: 2;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.trust-card,
.service-card,
.step-card,
.guide-card,
.info-card,
.faq-card,
.contact-card,
.form-card,
.cta-banner,
.media-panel,
.map-card {
  background: rgba(255, 250, 244, 0.9);
  border: 1px solid rgba(24, 33, 39, 0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.trust-card,
.service-card,
.step-card,
.guide-card,
.info-card,
.faq-card,
.contact-card {
  padding: 26px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.trust-card:hover,
.service-card:hover,
.step-card:hover,
.guide-card:hover,
.info-card:hover,
.faq-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.trust-card strong,
.info-card strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 1.1rem;
}

.grid-3,
.grid-2,
.steps-grid,
.contact-grid,
.guide-grid,
.services-grid,
.stats-grid {
  display: grid;
  gap: 24px;
}

.grid-3,
.services-grid,
.guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  overflow: hidden;
}

.card-media,
.split-media,
.page-hero-media,
.map-card,
.jobsite-image {
  position: relative;
  overflow: hidden;
}

.card-media {
  margin: -26px -26px 22px;
  aspect-ratio: 4 / 3;
  border-radius: 26px 26px 0 0;
  background: #edf1f4;
}

.card-media img,
.split-media img,
.page-hero-media img,
.jobsite-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.service-card:hover .card-media img,
.media-panel:hover .split-media img,
.page-hero-media:hover img,
.jobsite-image:hover img {
  transform: scale(1.04);
}

.card-media.contain-media {
  background: linear-gradient(180deg, #f7f0e6, #edf2f6);
}

.card-media.contain-media img {
  object-fit: contain;
  padding: 18px;
}

.service-card ul,
.guide-card ul,
.faq-card ul {
  margin-top: 14px;
  color: var(--text-soft);
}

.split-layout,
.map-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
}

.split-layout.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.split-copy {
  display: grid;
  gap: 16px;
}

.split-copy p,
.split-copy ul {
  max-width: 68ch;
}

.split-media {
  min-height: 460px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.split-media.contain-visual {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.96), rgba(236, 242, 246, 0.96));
}

.split-media.contain-visual img {
  object-fit: contain;
  padding: 24px;
}

.jobsite-layout {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.jobsite-copy {
  display: grid;
  gap: 16px;
}

.jobsite-image {
  min-height: 520px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.process-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step-number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin-bottom: 18px;
  background: var(--accent-soft);
  color: var(--brand-strong);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
}

.map-card {
  padding: 10px;
}

.map-card iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: calc(var(--radius-md) - 10px);
}

.service-area-list,
.mini-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-area-list span,
.mini-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(36, 92, 143, 0.08);
  color: var(--brand-strong);
  font-weight: 700;
}

.form-card {
  padding: 30px;
}

form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 8px;
}

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

input,
textarea {
  width: 100%;
  border: 1px solid rgba(24, 33, 39, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  padding: 14px 16px;
}

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

.form-note {
  font-size: 0.94rem;
}

.cta-banner {
  padding: clamp(28px, 4vw, 42px);
  display: grid;
  gap: 16px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer {
  background:
    radial-gradient(circle at top left, rgba(210, 132, 60, 0.1), transparent 22%),
    linear-gradient(180deg, #1d2830 0%, #162027 100%);
  color: var(--text-inverse);
}

.footer-shell {
  padding-top: 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding: 24px 0 32px;
}

.footer-column {
  display: grid;
  gap: 14px;
}

.footer-brand-copy {
  display: grid;
  gap: 6px;
}

.footer-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-mark img {
  width: 110px;
  height: auto;
}

.footer-heading {
  font-size: 1.15rem;
  color: #fff;
}

.footer-list,
.footer-contact {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-column p,
.footer-column li,
.footer-column a,
.footer-brand-copy span {
  color: rgba(255, 255, 255, 0.82);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0 26px;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom-copy,
.footer-bottom-note {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.floating-call {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  min-height: 56px;
  padding-inline: 22px;
  background: linear-gradient(135deg, #d2843c 0%, #b96521 100%);
  color: #fff;
  box-shadow: 0 18px 34px rgba(185, 101, 33, 0.3);
}

.floating-call:hover {
  box-shadow: 0 22px 38px rgba(185, 101, 33, 0.36);
}

.reveal,
[data-reveal] {
  opacity: 1;
  transform: none;
}

body.js-ready .reveal,
body.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

body.js-ready .reveal-left {
  transform: translateX(-28px);
}

body.js-ready .reveal-right {
  transform: translateX(28px);
}

body.js-ready .reveal.is-visible,
body.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.hero-sequence {
  opacity: 0;
  transform: translateY(24px);
  animation: heroRise 620ms ease forwards;
}

.seq-1 { animation-delay: 120ms; }
.seq-2 { animation-delay: 220ms; }
.seq-3 { animation-delay: 320ms; }
.seq-4 { animation-delay: 420ms; }
.seq-5 { animation-delay: 520ms; }

@keyframes heroRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .page-hero-grid,
  .split-layout,
  .split-layout.reverse,
  .map-grid,
  .jobsite-layout {
    grid-template-columns: 1fr;
  }

  .hero-sidecard {
    justify-self: start;
    width: 100%;
  }

  .grid-3,
  .services-grid,
  .guide-grid,
  .steps-grid,
  .process-preview,
  .trust-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-column:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .desktop-only {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 20px auto;
    display: grid;
    gap: 2px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 251, 246, 0.96);
    border: 1px solid rgba(24, 33, 39, 0.12);
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  }

  body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 12px 14px;
    border-radius: 14px;
  }

  .site-nav a:hover {
    background: rgba(36, 92, 143, 0.06);
  }

  .header-cta .button {
    min-height: 48px;
    padding-inline: 18px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100vw - 28px), 1240px);
  }

  .grid-3,
  .services-grid,
  .guide-grid,
  .steps-grid,
  .process-preview,
  .trust-strip-grid,
  .grid-2,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
  }

  .split-media,
  .jobsite-image {
    min-height: 320px;
  }

  .floating-call {
    right: 14px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .hero-sequence,
  .reveal,
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
