:root {
  --terracotta: #c43e14;
  --quartzo: #8a8263;
  --ardosia: #6b8083;
  --minerio: #8a4507;
  --terra: #884e3b;
  --ink: #171512;
  --muted: #686359;
  --paper: #f7f3ec;
  --chalk: #fffdf8;
  --line: rgba(23, 21, 18, 0.14);
  --shadow: 0 18px 60px rgba(23, 21, 18, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Lato", Arial, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 253, 248, 0.18);
  background: rgba(23, 21, 18, 0.92);
  backdrop-filter: blur(16px);
}

.brand img {
  width: min(270px, 52vw);
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.24));
}

.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  color: var(--chalk);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-nav a {
  text-decoration: none;
  opacity: 0.82;
}

.main-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 253, 248, 0.26);
  border-radius: var(--radius);
  background: transparent;
}

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

.section-band {
  position: relative;
  overflow: hidden;
}

.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 74px);
  color: var(--chalk);
  background: #171512;
}

.hero-media {
  position: absolute;
  inset: 0;
  opacity: 0.78;
  background:
    linear-gradient(90deg, rgba(23, 21, 18, 0.92), rgba(23, 21, 18, 0.52)),
    linear-gradient(135deg, #2a211b 0%, #7d351f 33%, #8a8263 62%, #252923 100%);
}

.strata {
  position: absolute;
  width: 150%;
  height: 22%;
  left: -24%;
  transform: rotate(-9deg);
  border-top: 1px solid rgba(255, 253, 248, 0.18);
  border-bottom: 1px solid rgba(255, 253, 248, 0.1);
}

.strata-a {
  top: 18%;
  background: rgba(196, 62, 20, 0.42);
}

.strata-b {
  top: 43%;
  background: rgba(138, 130, 99, 0.36);
}

.strata-c {
  top: 70%;
  background: rgba(107, 128, 131, 0.3);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: 74px 0 92px;
}

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

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

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  max-width: 820px;
  margin-bottom: 26px;
  font-size: clamp(3.2rem, 7vw, 7.2rem);
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 4.4vw, 4.6rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.18;
}

.hero-copy p:not(.eyebrow),
.section-heading > p {
  max-width: 690px;
  color: rgba(255, 253, 248, 0.82);
  font-size: clamp(1.06rem, 1.8vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.primary {
  background: var(--terracotta);
  color: var(--chalk);
  box-shadow: 0 12px 32px rgba(196, 62, 20, 0.26);
}

.secondary {
  border-color: rgba(255, 253, 248, 0.38);
  color: var(--chalk);
  background: rgba(255, 253, 248, 0.08);
}

.compact {
  min-height: 42px;
}

.decision-panel {
  display: grid;
  gap: 14px;
}

.path-card {
  display: grid;
  gap: 10px;
  min-height: 170px;
  padding: 24px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.1);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.path-card span {
  color: rgba(255, 253, 248, 0.7);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.path-card strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.15;
}

.pd-section,
.cases-section {
  padding: 96px 0;
  background: var(--chalk);
}

.products-section,
.contact-section {
  padding: 96px 0;
  background: #ebe3d6;
}

.colors-section {
  padding: 96px 0;
  background: #211d18;
  color: var(--chalk);
}

.pd-section .section-heading > p,
.products-section .section-heading > p,
.cases-section .section-heading > p,
.contact-section .section-heading > p {
  color: var(--muted);
}

.trl-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.trl-card,
.product-card,
.case-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.72);
  padding: 24px;
}

.trl-card {
  min-height: 245px;
}

.step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 32px;
  border-radius: 50%;
  background: var(--quartzo);
  color: var(--chalk);
  font-weight: 900;
}

.proof-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--chalk);
}

.proof-strip div {
  display: grid;
  gap: 4px;
}

.proof-strip span {
  color: rgba(255, 253, 248, 0.72);
}

.split-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(34px, 6vw, 72px);
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 108px;
}

.metric {
  margin-top: 32px;
  padding: 22px;
  border-left: 5px solid var(--terracotta);
  background: rgba(255, 253, 248, 0.64);
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  font-size: 1.35rem;
}

.product-list {
  display: grid;
  gap: 16px;
}

.product-card ul {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.accent-card {
  background: var(--terracotta);
  color: var(--chalk);
}

.accent-card p {
  color: rgba(255, 253, 248, 0.82);
}

.text-link {
  font-weight: 900;
}

.palette-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: start;
  margin-top: 40px;
}

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

.swatch {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 86px;
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 253, 248, 0.08);
}

.swatch-color {
  min-height: 100%;
}

.swatch-body {
  padding: 14px 16px;
}

.swatch-body strong,
.swatch-body span {
  display: block;
}

.swatch-body span {
  color: rgba(255, 253, 248, 0.62);
  font-size: 0.86rem;
}

.palette-reference {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.08);
}

.palette-reference img {
  border-radius: 4px;
}

.palette-reference figcaption {
  margin-top: 12px;
  color: rgba(255, 253, 248, 0.68);
  font-size: 0.9rem;
}

.partners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 42px;
}

.partner-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.partner-list span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f4efe6;
  color: var(--muted);
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 6vw, 72px);
}

address {
  margin-top: 28px;
  color: var(--muted);
  font-style: normal;
}

.lead-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--chalk);
  box-shadow: var(--shadow);
}

fieldset {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 8px;
  font-weight: 900;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

label:has(input[type="radio"]) {
  grid-template-columns: 18px 1fr;
  align-items: center;
  color: var(--ink);
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(23, 21, 18, 0.22);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: #1f7a4f;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 44px rgba(18, 84, 52, 0.28);
}

.site-footer {
  padding: 34px 0;
  background: var(--ink);
  color: rgba(255, 253, 248, 0.72);
}

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

.footer-inner img {
  width: 220px;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-layout,
  .palette-layout,
  .contact-grid,
  .partners {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }

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

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

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 68px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(255, 253, 248, 0.16);
    border-radius: var(--radius);
    background: rgba(23, 21, 18, 0.98);
  }

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

  .main-nav a {
    padding: 14px 10px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    padding: 54px 0 62px;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.5rem);
  }

  .trl-grid,
  .case-grid,
  .swatch-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
