:root {
  --ink: #121412;
  --ink-soft: #232824;
  --paper: #f7f3eb;
  --paper-strong: #fffdf8;
  --line: rgba(18, 20, 18, 0.1);
  --muted: #5f665f;
  --sage: #65756d;
  --gold: #b39561;
  --gold-deep: #8f7445;
  --shadow: 0 18px 54px rgba(18, 20, 18, 0.08);
  --radius: 18px;
  --font: "Poppins", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(180deg, #fbf8f2 0%, #f4efe5 100%);
  line-height: 1.65;
}

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

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(251, 248, 242, 0.9);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 34px;
}

.header-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.header-nav a,
.footer-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}

.header-nav a:hover,
.footer-nav a:hover {
  color: var(--ink);
}

.hero {
  padding: 72px 0 52px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a {
  text-decoration: none;
}

.hero-grid,
.section-grid,
.related-grid,
.contact-grid {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 36px;
}

.hero-grid > div {
  width: min(100%, 860px);
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(179, 149, 97, 0.34);
  color: var(--gold-deep);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin: 18px auto 0;
  font-size: 60px;
  line-height: 1.05;
  max-width: 860px;
  text-wrap: balance;
}

.lead {
  margin: 22px auto 0;
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 36px rgba(18, 20, 18, 0.18);
}

.button-secondary {
  border: 1px solid rgba(18, 20, 18, 0.16);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.hero-pills,
.feature-list,
.mini-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.hero-pills li,
.mini-list li {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--ink-soft);
}

.hero-media,
.card,
.cta-panel {
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-media {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(244, 239, 229, 0.8));
  border: 1px solid rgba(18, 20, 18, 0.08);
  box-shadow: var(--shadow);
  margin: 0;
  width: 100%;
  justify-self: stretch;
  order: -1;
}

.hero-media-service {
  aspect-ratio: 16 / 9;
}

.hero-media-facade {
  aspect-ratio: 16 / 7;
}

.hero-media-project {
  aspect-ratio: 16 / 7;
}

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

.hero-media-service img {
  object-position: 50% 34%;
}

.hero-media-paint img {
  object-position: 50% 50%;
}

.hero-media-drywall img {
  object-position: 50% 50%;
}

.hero-media-insulation img {
  object-position: 50% 50%;
}

.hero-media-facade img {
  object-position: 50% 42%;
}

.hero-media-project img {
  object-position: center;
}

.section {
  padding: 28px 0 18px;
}

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

.card,
.cta-panel {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card {
  padding: 26px;
}

.card h2,
.card h3 {
  font-size: clamp(24px, 3vw, 34px);
}

.card h3 {
  font-size: 22px;
}

.card p {
  margin: 14px 0 0;
  color: var(--ink-soft);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.feature-list li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 0.62em;
}

.subtle {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  padding: 18px 20px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

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

.faq-item p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.related-grid {
  margin-top: 18px;
}

.related-link {
  text-decoration: none;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.related-link strong {
  display: block;
  font-size: 18px;
}

.related-link span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.cta-panel {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: linear-gradient(135deg, #111411 0%, #2b322d 100%);
  color: #fff;
}

.cta-panel p,
.cta-panel li,
.footer-note {
  color: rgba(255, 255, 255, 0.78);
}

.contact-grid .card {
  min-height: 100%;
}

.footer {
  margin-top: 52px;
  padding: 26px 0 42px;
  background: #121412;
  color: #fff;
}

.footer-inner {
  flex-wrap: wrap;
}

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

.footer-note {
  max-width: 58ch;
  font-size: 14px;
}

@media (max-width: 900px) {
  .hero-grid,
  .section-grid,
  .related-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-media-service {
    aspect-ratio: 16 / 9;
  }

  .hero-media-project {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand-logo {
    height: 28px;
  }

  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions {
    flex-direction: column;
  }

  h1 {
    font-size: 38px;
  }

  .button {
    width: 100%;
  }

  .hero-media-service {
    aspect-ratio: 4 / 3;
  }

  .hero-media-project {
    aspect-ratio: 4 / 3;
  }

  .card,
  .cta-panel,
  .related-link {
    padding: 20px;
  }
}
