:root {
  --wood: #7c4f2b;
  --walnut: #5b341f;
  --oak: #c7a06e;
  --wood-dark: #2a211a;
  --olive: #566649;
  --moss: #354235;
  --taupe: #8c8071;
  --terracotta: #a15f3e;
  --cream: #f5efe4;
  --paper: #fff9ef;
  --charcoal: #191816;
  --muted: #71685d;
  --line: rgba(43, 33, 24, 0.16);
  --shadow: 0 24px 70px rgba(24, 18, 12, 0.2);
  --deep-shadow: 0 16px 0 rgba(14, 11, 8, 0.62), 0 34px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--charcoal);
  background: var(--paper);
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  color: white;
  background: linear-gradient(180deg, rgba(27, 26, 23, 0.78), rgba(27, 26, 23, 0));
}

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

.brand-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(244, 220, 184, 0.62);
  background: #fffaf2;
  box-shadow: 6px 7px 0 rgba(0, 0, 0, 0.32);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.78);
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 0.95rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.86);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 750;
  box-shadow: 0 6px 0 rgba(13, 42, 20, 0.62), 0 18px 34px rgba(0, 0, 0, 0.18);
  transform: translateY(0);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 rgba(13, 42, 20, 0.62), 0 24px 38px rgba(0, 0, 0, 0.22);
}

.header-cta,
.btn-primary {
  color: #102113;
  background: linear-gradient(135deg, #a9e27b, #77c765);
}

.btn-secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

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

.hero-bg {
  background-image: url("assets/hero-marcenaria.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(20, 15, 10, 0.9), rgba(20, 15, 10, 0.64) 43%, rgba(20, 15, 10, 0.18)),
    linear-gradient(0deg, rgba(20, 15, 10, 0.28), rgba(20, 15, 10, 0.12));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(860px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 86px);
  padding-top: 76px;
  color: white;
}

.hero-logo {
  width: clamp(132px, 16vw, 210px);
  height: auto;
  margin-bottom: 22px;
  padding: 10px;
  background: rgba(255, 250, 242, 0.96);
  border: 1px solid rgba(244, 220, 184, 0.7);
  box-shadow: 10px 12px 0 rgba(0, 0, 0, 0.34), 0 26px 50px rgba(0, 0, 0, 0.24);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: #96c88a;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 26px;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(244, 220, 184, 0.3);
  background:
    linear-gradient(145deg, rgba(91, 52, 31, 0.78), rgba(42, 33, 26, 0.74)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent);
  box-shadow: var(--deep-shadow);
  font-size: clamp(2.65rem, 6.8vw, 5.75rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow:
    0 2px 0 #2a211a,
    0 6px 0 rgba(0, 0, 0, 0.22),
    0 18px 34px rgba(0, 0, 0, 0.36);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.3vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(199, 160, 110, 0.22);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
}

.hero-text {
  max-width: 650px;
  padding: 18px 20px;
  border-left: 5px solid var(--oak);
  background: rgba(25, 24, 22, 0.48);
  box-shadow: 10px 12px 0 rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.16rem;
  line-height: 1.65;
}

.hero-actions,
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.trust-strip {
  margin-top: 36px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.trust-strip span {
  border-left: 2px solid #96c88a;
  padding-left: 12px;
}

.section,
.portfolio,
.coverage,
.final-cta {
  padding: clamp(64px, 9vw, 110px) clamp(18px, 5vw, 64px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  background:
    linear-gradient(135deg, rgba(199, 160, 110, 0.18), transparent 36%),
    var(--cream);
}

.intro p,
.coverage p,
.final-cta p,
.service-grid p,
.area-grid p,
.search-summary p,
.steps p,
.faq p,
.portfolio p {
  color: var(--muted);
  line-height: 1.7;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading h2,
.intro h2,
.coverage h2,
.final-cta h2,
.trend-band h2 {
  display: inline-block;
  padding: 14px 18px;
  border-left: 8px solid var(--oak);
  background: rgba(255, 249, 239, 0.74);
  box-shadow: 10px 10px 0 rgba(91, 52, 31, 0.16);
}

.portfolio .section-heading h2,
.coverage h2 {
  background: rgba(255, 249, 239, 0.09);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.28);
}

.trend-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  padding: clamp(54px, 8vw, 90px) clamp(18px, 5vw, 64px);
  color: white;
  background:
    linear-gradient(135deg, rgba(86, 102, 73, 0.88), rgba(42, 33, 26, 0.96)),
    repeating-linear-gradient(90deg, #5b341f 0 32px, #7c4f2b 32px 68px, #3a271b 68px 102px);
}

.trend-band .section-kicker {
  color: #d7efba;
}

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

.swatches span {
  min-height: 104px;
  display: flex;
  align-items: end;
  padding: 14px;
  color: white;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.42), transparent 58%),
    var(--swatch);
  box-shadow: 8px 9px 0 rgba(0, 0, 0, 0.28);
  font-weight: 850;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}

.service-grid,
.area-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-grid article,
.area-grid article,
.steps article,
.faq details {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(245, 239, 228, 0.72));
  box-shadow: 9px 10px 0 rgba(91, 52, 31, 0.1);
  padding: 24px;
}

.service-grid article {
  min-height: 186px;
}

.service-area {
  background:
    linear-gradient(135deg, rgba(86, 102, 73, 0.12), transparent 40%),
    var(--paper);
}

.area-grid article {
  min-height: 220px;
}

.area-grid h3 {
  color: var(--walnut);
}

.search-summary {
  margin-top: 18px;
  padding: 26px;
  border-left: 8px solid var(--olive);
  background: linear-gradient(145deg, rgba(42, 33, 26, 0.92), rgba(53, 66, 53, 0.9));
  color: white;
  box-shadow: 10px 10px 0 rgba(91, 52, 31, 0.16);
}

.search-summary p {
  color: rgba(255, 255, 255, 0.82);
}

.portfolio {
  background:
    radial-gradient(circle at 78% 4%, rgba(161, 95, 62, 0.2), transparent 32%),
    linear-gradient(135deg, #1f1812, #2a211a 48%, #354235);
  color: white;
}

.portfolio .section-kicker {
  color: #b8d9a3;
}

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

.portfolio-feature {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-column: span 2;
  overflow: hidden;
  min-height: 520px;
  color: white;
  background: #17130f;
  box-shadow: 12px 14px 0 rgba(0, 0, 0, 0.34), 0 26px 70px rgba(0, 0, 0, 0.28);
}

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

.portfolio-feature div {
  position: relative;
  z-index: 1;
  align-self: end;
  max-width: 460px;
  margin: auto 22px 22px;
  padding: 16px 18px;
  background: rgba(25, 24, 22, 0.68);
  border-left: 6px solid var(--oak);
  box-shadow: 8px 9px 0 rgba(0, 0, 0, 0.32);
}

.portfolio-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(17, 13, 10, 0.58), rgba(17, 13, 10, 0.02) 58%),
    linear-gradient(135deg, rgba(86, 102, 73, 0.12), transparent 48%);
}

.portfolio-feature h3 {
  display: inline-block;
  margin-bottom: 8px;
  padding: 9px 12px;
  color: #1f1812;
  background: rgba(199, 160, 110, 0.94);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.32);
}

.portfolio-feature p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
}

.portfolio-photo {
  min-height: 360px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #17130f;
  box-shadow: 10px 12px 0 rgba(0, 0, 0, 0.32), 0 22px 55px rgba(0, 0, 0, 0.25);
}

.portfolio-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.portfolio-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(17, 13, 10, 0.88), rgba(17, 13, 10, 0.12) 62%),
    linear-gradient(135deg, rgba(86, 102, 73, 0.24), transparent 48%);
}

.portfolio-photo:hover img {
  transform: scale(1.04);
}

.portfolio-photo h3,
.portfolio-photo p {
  position: relative;
  z-index: 1;
  margin-left: 22px;
  margin-right: 22px;
}

.portfolio-photo h3 {
  display: inline-block;
  width: fit-content;
  max-width: calc(100% - 44px);
  margin-bottom: 10px;
  padding: 9px 12px;
  background: rgba(199, 160, 110, 0.92);
  color: #1f1812;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.32);
  font-size: 1.2rem;
}

.portfolio-photo p {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.84);
}

.steps span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  color: white;
  background: var(--wood-dark);
  font-weight: 850;
}

.coverage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: white;
  background: linear-gradient(135deg, #2b2118, #526247);
}

.coverage div {
  max-width: 780px;
}

.coverage p {
  color: rgba(255, 255, 255, 0.78);
}

.faq {
  background: var(--cream);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 940px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq details p {
  margin: 14px 0 0;
}

.final-cta {
  text-align: center;
  background: var(--paper);
}

.final-cta p {
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.74);
  background: #17130f;
}

.footer strong {
  color: white;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  color: #102113;
  background: #8fe08f;
  box-shadow: var(--shadow);
  font-weight: 850;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    background: rgba(27, 26, 23, 0.82);
  }

  .nav,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 860px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(20, 15, 10, 0.92), rgba(20, 15, 10, 0.58));
  }

  .hero-content {
    margin-inline: 18px;
    padding-top: 96px;
  }

  .intro,
  .trend-band,
  .service-grid,
  .area-grid,
  .steps,
  .portfolio-grid,
  .portfolio-feature {
    grid-template-columns: 1fr;
  }

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

  .portfolio-feature img {
    height: 100%;
  }

  .portfolio-feature,
  .portfolio-photo {
    grid-column: auto;
  }

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

@media (max-width: 520px) {
  .brand strong {
    font-size: 0.95rem;
  }

  h1 {
    font-size: 2.45rem;
    padding: 18px;
    box-shadow: 8px 9px 0 rgba(14, 11, 8, 0.62), 0 24px 48px rgba(0, 0, 0, 0.28);
  }

  .section-heading h2,
  .intro h2,
  .coverage h2,
  .final-cta h2,
  .trend-band h2 {
    padding: 12px 14px;
    border-left-width: 6px;
    box-shadow: 7px 7px 0 rgba(91, 52, 31, 0.14);
  }

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

  .hero-actions .btn,
  .final-cta .btn,
  .coverage .btn {
    width: 100%;
  }

  .service-grid article,
  .steps article,
  .faq details {
    padding: 20px;
  }
}
