:root {
  --ink: #171614;
  --muted: #6f6a62;
  --line: #e6dfd6;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --charcoal: #25231f;
  --wood: #a86d3d;
  --wood-dark: #704421;
  --sage: #6f7f70;
  --clay: #c58a63;
  --shadow: 0 20px 70px rgba(34, 30, 25, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 247, 0.88);
  border-bottom: 1px solid rgba(230, 223, 214, 0.8);
  backdrop-filter: blur(18px);
}

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

.brand-logo {
  width: 92px;
  height: 66px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  background: var(--charcoal);
  color: #fff;
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #413d38;
  font-size: 14px;
  font-weight: 600;
}

.nav-cta {
  padding: 11px 16px;
  background: var(--charcoal);
  color: #fff;
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  padding: 128px clamp(18px, 5vw, 72px) 54px;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(20, 17, 14, 0.86), rgba(20, 17, 14, 0.42) 52%, rgba(20, 17, 14, 0.08)),
    linear-gradient(0deg, rgba(20, 17, 14, 0.74), rgba(20, 17, 14, 0.12) 42%);
}

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

.hero-content {
  position: relative;
  max-width: 880px;
}

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

.hero .eyebrow {
  color: #f1c08a;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

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

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

.button.primary {
  background: var(--wood);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.36);
  color: #fff;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 1px;
  max-width: 720px;
  margin-top: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-proof span {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.hero-proof strong {
  display: block;
  color: #fff;
  font-size: 26px;
}

.section {
  padding: 86px clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 720px;
}

.section-heading.centered {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.section-heading h2,
.craft-copy h2,
.quote h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p,
.intro-text p,
.craft-copy p,
.quote p {
  color: var(--muted);
  line-height: 1.75;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: start;
  background: #fff;
}

.intro-text {
  display: grid;
  gap: 16px;
}

.lead-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: var(--charcoal);
  color: #fff;
}

.lead-cta h2 {
  max-width: 820px;
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead-cta p:not(.eyebrow) {
  max-width: 740px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.lead-cta .button {
  min-width: 230px;
  background: #1f8f4d;
  box-shadow: 0 16px 36px rgba(31, 143, 77, 0.25);
}

.service-grid,
.category-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.service-card,
.category-grid article,
.steps article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(34, 30, 25, 0.05);
}

.service-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card div,
.category-grid article,
.steps article {
  padding: 22px;
}

.service-card h3,
.category-grid h3,
.steps h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.service-card p,
.category-grid p,
.steps p {
  color: var(--muted);
  line-height: 1.6;
}

.craft {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
  background: #f0ece5;
}

.craft-image img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.craft-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.craft-points span {
  padding: 10px 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #4d473e;
  font-size: 14px;
  font-weight: 700;
}

.category-grid article {
  padding: 0;
}

.category-grid img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.category-grid h3,
.category-grid p {
  padding-inline: 22px;
}

.category-grid h3 {
  padding-top: 20px;
}

.category-grid p {
  padding-bottom: 22px;
}

.seo-block {
  background: #fff;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.seo-grid article {
  padding: 22px;
  background: #f7f3ec;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.seo-grid h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.seo-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.references {
  background: var(--charcoal);
  color: #fff;
}

.references .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.logo-strip img {
  height: 74px;
  object-fit: contain;
  padding: 12px;
  background: #fff;
  border-radius: 8px;
}

.steps article {
  min-height: 240px;
}

.steps span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--wood);
  font-size: 13px;
  font-weight: 900;
}

.gallery {
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.gallery-grid img {
  min-height: 260px;
  height: 100%;
  object-fit: cover;
}

.gallery-grid figure {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #eee8df;
}

.gallery-grid figure img {
  min-height: 100%;
}

.gallery-grid figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 8px 10px;
  background: rgba(24, 23, 20, 0.78);
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.gallery-grid figure:nth-child(1),
.gallery-grid figure:nth-child(6) {
  grid-column: span 6;
}

.gallery-grid figure:nth-child(2),
.gallery-grid figure:nth-child(3),
.gallery-grid figure:nth-child(4),
.gallery-grid figure:nth-child(5),
.gallery-grid figure:nth-child(7),
.gallery-grid figure:nth-child(8) {
  grid-column: span 3;
}

.quote {
  background: linear-gradient(135deg, #f8f4ee, #e9e1d7);
}

.quote-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: #3b3630;
  font-size: 13px;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid #d8d0c5;
  border-radius: 8px;
  background: #fbfaf7;
  color: var(--ink);
  font: inherit;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form .button {
  width: 100%;
  border: 0;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 0.8fr) minmax(180px, 0.6fr);
  align-items: start;
  gap: 28px;
  padding: 38px clamp(18px, 5vw, 72px);
  background: #181714;
  color: #fff;
}

.site-footer p {
  max-width: 460px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.footer-brand .brand-mark {
  background: var(--wood);
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-content: start;
  justify-content: flex-end;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.footer-contact {
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.74);
  font-style: normal;
  line-height: 1.55;
}

.footer-contact a {
  color: #fff;
  font-weight: 800;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: #1f8f4d;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(31, 143, 77, 0.28);
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .nav-toggle {
    display: block;
  }

  .intro,
  .craft,
  .quote-panel,
  .lead-cta {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .category-grid,
  .steps,
  .seo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .gallery-grid figure:nth-child(n) {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 88vh;
    padding-top: 112px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-proof,
  .service-grid,
  .category-grid,
  .steps,
  .seo-grid,
  .logo-strip {
    grid-template-columns: 1fr;
  }

  .lead-cta .button {
    width: 100%;
  }

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

  .gallery-grid figure:nth-child(n) {
    grid-column: auto;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}
