:root {
  --ink: #171717;
  --muted: #62605b;
  --line: #ded7cd;
  --paper: #ffffff;
  --soft: #f5f2ed;
  --brand: #b83a28;
  --brand-dark: #7e251b;
  --accent: #1f6a5d;
  --steel: #2b3137;
  --sand: #d7c4a4;
  --charcoal: #101418;
  --shadow: 0 18px 45px rgba(16, 20, 24, 0.14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfaf7;
  line-height: 1.55;
  min-width: 320px;
  -webkit-text-size-adjust: 100%;
}

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

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

.icon {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

p,
h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding: 0 max(5vw, env(safe-area-inset-left)) 0 max(5vw, env(safe-area-inset-right));
  border-bottom: 1px solid rgba(222, 215, 205, 0.85);
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(16, 20, 24, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: min(62vw, 320px);
}

.brand-mark {
  flex: 0 0 auto;
  display: block;
  width: 52px;
  height: 52px;
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand strong {
  font-size: 1.02rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.8rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--steel);
  font-weight: 650;
  font-size: 0.94rem;
}

.nav-icon {
  width: 18px;
  height: 18px;
}

.main-nav a:hover,
.main-nav .is-active {
  background: white;
  color: var(--brand-dark);
  box-shadow: 0 6px 14px rgba(16, 20, 24, 0.08);
}

.menu-button {
  display: none;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: clamp(620px, 82vh, 820px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid #0f1418;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 12, 15, 0.94), rgba(16, 20, 24, 0.72) 44%, rgba(16, 20, 24, 0.18)),
    linear-gradient(0deg, rgba(16, 20, 24, 0.62), transparent 45%);
}

.hero-content {
  position: relative;
  width: min(780px, 90vw);
  margin-left: 5vw;
  color: white;
  padding: max(72px, env(safe-area-inset-top)) 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1c36b;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.75rem, 5.4vw, 5.8rem);
  max-width: 12ch;
}

.page-hero h1,
.section h2,
.cta-band h2 {
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  max-width: 14ch;
}

.hero p:not(.eyebrow),
.page-hero p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
}

.hero-proof {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 28px 0 4px;
}

.hero-proof span {
  min-width: 126px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
}

.hero-proof strong,
.hero-proof small {
  display: block;
}

.hero-proof strong {
  font-size: 1.35rem;
  line-height: 1;
}

.hero-proof small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.hero-actions,
.section-head,
.admin-top {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  text-align: center;
}

.button.primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 12px 24px rgba(184, 58, 40, 0.25);
}

.button.primary:hover {
  background: var(--brand-dark);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: white;
  background: rgba(255, 255, 255, 0.06);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #1b2228;
  background: var(--charcoal);
  color: #f8f4ed;
}

.trust-strip span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 5vw;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 750;
}

.trust-strip .icon {
  width: 22px;
  height: 22px;
  color: var(--sand);
}

.section,
.content-page,
.contact-layout,
.gallery,
.page-hero {
  padding: 96px 5vw;
}

.section.alt,
.page-hero {
  background:
    linear-gradient(180deg, #f5f2ed, #fffaf2);
}

.page-hero.compact {
  min-height: 360px;
  display: grid;
  align-content: center;
  border-bottom: 1px solid var(--line);
}

.page-hero p {
  color: var(--muted);
}

.section-head {
  justify-content: space-between;
  margin-bottom: 34px;
}

.section-head > div,
.section-head h2 {
  flex: 1 1 480px;
}

.section-head > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
  font-weight: 800;
  padding-bottom: 4px;
  border-bottom: 2px solid currentColor;
}

.grid {
  display: grid;
  gap: 20px;
}

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

.service-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--brand-dark);
  font-weight: 850;
  box-shadow: 0 10px 22px rgba(16, 20, 24, 0.06);
}

.service-kicker .icon {
  width: 20px;
  height: 20px;
}

.service-card {
  position: relative;
  min-height: 265px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 28px rgba(16, 20, 24, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  width: 54px;
  height: 4px;
  background: var(--brand);
}

.card-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: var(--radius);
  background: #f8f1e8;
  color: var(--brand);
}

.card-icon .icon {
  width: 24px;
  height: 24px;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: #c8bcae;
  box-shadow: 0 18px 38px rgba(16, 20, 24, 0.1);
}

.service-card h3 {
  font-size: 1.35rem;
}

.service-card p {
  color: var(--muted);
  margin: 16px 0 24px;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
  font-weight: 800;
}

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

.project-card {
  border: 1px solid rgba(222, 215, 205, 0.95);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(16, 20, 24, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(16, 20, 24, 0.12);
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.04);
}

.project-card span,
.project-card h3,
.project-card p {
  margin-left: 18px;
  margin-right: 18px;
}

.project-card span {
  display: inline-block;
  margin-top: 18px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
}

.project-card h3 {
  margin-top: 6px;
  font-size: 1.28rem;
}

.project-card p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  color: var(--muted);
}

.project-card p .icon {
  width: 17px;
  height: 17px;
  color: var(--brand);
}

.process-section {
  background: #1d242b;
  color: #fbfaf7;
}

.process-section .eyebrow {
  color: var(--sand);
}

.process-section .section-head > a {
  color: #f1c36b;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
}

.process-grid article {
  min-height: 250px;
  padding: 28px;
  background: #202a31;
}

.process-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--sand);
  font-weight: 850;
}

.step-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 26px;
  place-items: center;
  border: 1px solid rgba(215, 196, 164, 0.34);
  border-radius: var(--radius);
  color: var(--sand);
}

.step-icon .icon {
  width: 23px;
  height: 23px;
}

.process-grid h3 {
  font-size: 1.22rem;
}

.process-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  margin: 0;
  padding: 76px 5vw;
  background:
    linear-gradient(120deg, #1f6a5d, #173f3b);
  color: white;
}

.cta-band p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.85);
}

.cta-band .eyebrow {
  color: #f1c36b;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  color: white;
  font-weight: 850;
}

.content-page,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  background: #fbfaf7;
}

.content-page h1,
.content-page h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.content-page p {
  max-width: 760px;
  color: var(--muted);
}

.content-page aside,
.contact-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  align-self: start;
  background: white;
  box-shadow: 0 14px 32px rgba(16, 20, 24, 0.07);
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-line .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--brand);
}

.content-page li {
  margin-bottom: 10px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.form {
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 16px 36px rgba(16, 20, 24, 0.08);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin: 0;
  padding: 14px;
  border: 1px solid #e3b3ae;
  border-radius: var(--radius);
  background: #fff4f2;
  color: var(--brand-dark);
  font-weight: 750;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  background: #fffdf9;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(184, 58, 40, 0.12);
}

textarea {
  resize: vertical;
}

.checkbox {
  grid-template-columns: 20px 1fr;
  align-items: start;
  column-gap: 12px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.55;
}

.checkbox input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 4px;
  padding: 0;
}

.checkbox span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.checkbox a {
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  padding: 44px 5vw;
  border-top: 1px solid var(--line);
  background: #111519;
  color: white;
}

.site-footer p,
.site-footer a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer .icon {
  color: var(--sand);
}

.legal {
  display: block;
  background:
    linear-gradient(90deg, rgba(184, 58, 40, 0.08), transparent 36%),
    #fbfaf7;
}

.legal div {
  max-width: 980px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 18px 42px rgba(16, 20, 24, 0.08);
}

.legal h1 {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.legal h2 {
  margin: 36px 0 10px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  max-width: none;
  color: #242424;
}

.legal p {
  max-width: 850px;
}

.legal a {
  color: var(--brand-dark);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-note {
  padding: 20px;
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  background: #f8f1e8;
  color: var(--steel) !important;
}

.legal-table {
  width: 100%;
  margin: 18px 0 28px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: white;
}

.legal-table th,
.legal-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.legal-table th {
  background: var(--soft);
}

@media (max-width: 960px) {
  .menu-button {
    display: inline-flex;
    align-items: center;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 5vw 20px;
    border-bottom: 1px solid var(--line);
    background: white;
    box-shadow: 0 18px 28px rgba(20, 29, 42, 0.12);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
  }

  .services-grid,
  .project-grid,
  .process-grid,
  .trust-strip,
  .content-page,
  .contact-layout,
  .cta-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .trust-strip span {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (min-width: 621px) and (max-width: 960px) {
  .services-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
  }

  .main-nav {
    top: 68px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: min(720px, calc(100svh - 68px));
    align-items: end;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(14, 18, 23, 0.92), rgba(14, 18, 23, 0.48));
  }

  .hero-content {
    margin: 0 auto;
    width: min(90vw, 560px);
    padding: 44px 0 54px;
  }

  .hero p:not(.eyebrow),
  .page-hero p {
    font-size: 1rem;
  }

  .hero-actions,
  .section-head,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .section-head > a,
  .cta-band .button,
  .phone-link {
    width: 100%;
  }

  h1,
  .page-hero h1,
  .section h2,
  .cta-band h2 {
    max-width: 100%;
  }

  .section,
  .content-page,
  .contact-layout,
  .gallery,
  .page-hero {
    padding: 58px 5vw;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
    padding: 22px;
  }

  .process-grid article {
    min-height: 0;
    padding: 24px;
  }

  .process-grid span {
    margin-bottom: 22px;
  }

  .form,
  .legal div {
    padding: 22px;
  }

  .site-footer {
    padding-bottom: max(36px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand {
    gap: 9px;
    max-width: calc(100vw - 112px);
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .menu-button {
    min-width: 64px;
    padding: 0 10px;
  }

  h1 {
    font-size: clamp(2rem, 12vw, 2.7rem);
  }

  .page-hero h1,
  .section h2,
  .cta-band h2 {
    font-size: clamp(1.7rem, 10vw, 2.35rem);
  }

  .section,
  .content-page,
  .contact-layout,
  .gallery,
  .page-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .content-page aside,
  .contact-box,
  .form,
  .legal div {
    padding: 18px;
  }

  .legal-table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 360px) {
  .brand strong {
    max-width: 150px;
  }

  .hero {
    min-height: 610px;
  }

  .button {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .hero {
    min-height: 520px;
  }

  .hero-content {
    padding-top: 34px;
    padding-bottom: 34px;
  }
}
