:root {
  --ink: #102c29;
  --green: #0f4741;
  --green-deep: #082f2b;
  --sand: #c3a66d;
  --cream: #f4f0e8;
  --paper: #fbfaf7;
  --muted: #67716d;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}

.nav {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 88px;
  padding: 0 clamp(24px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.28em;
  font-size: 17px;
  font-weight: 600;
}
.brand img {
  width: 39px;
  height: 39px;
  object-fit: contain;
}
.nav nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
}
.nav nav a {
  opacity: 0.82;
  transition: opacity 0.2s;
}
.nav nav a:hover {
  opacity: 1;
}
.navCta {
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero {
  min-height: 820px;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--green-deep) url("../assets/hero-house.png") center/cover
    no-repeat;
}
.heroShade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(4, 28, 25, 0.92) 0%,
      rgba(4, 28, 25, 0.68) 43%,
      rgba(4, 28, 25, 0.1) 74%
    ),
    linear-gradient(0deg, rgba(4, 28, 25, 0.38), transparent 45%);
}
.heroContent {
  position: relative;
  z-index: 2;
  max-width: 790px;
  margin-left: clamp(24px, 8vw, 128px);
  padding-top: 74px;
}
.eyebrow {
  margin: 0 0 24px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--sand);
}
.eyebrow.dark {
  color: #8b744c;
}
.eyebrow.light {
  color: #d8bd88;
}
.hero h1 {
  max-width: 790px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6vw, 86px);
  line-height: 0.99;
  font-weight: 400;
  letter-spacing: -0.04em;
}
.heroLead {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.7;
}
.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  font-weight: 700;
  transition:
    transform 0.2s,
    background 0.2s,
    opacity 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.primary {
  background: var(--sand);
  color: #122b28;
}
.ghost {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
}
.linkButton {
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
}
.heroFacts {
  display: flex;
  gap: 42px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.heroFacts div {
  display: grid;
  gap: 6px;
}
.heroFacts strong {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
}
.heroFacts span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
.scrollCue {
  position: absolute;
  z-index: 3;
  right: 5vw;
  bottom: 32px;
  color: #fff;
  font-size: 25px;
  animation: float 1.8s infinite;
}
@keyframes float {
  50% {
    transform: translateY(7px);
  }
}

.section {
  padding: 110px clamp(24px, 8vw, 128px);
}
.intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 8vw;
  align-items: start;
}
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.07;
  font-weight: 400;
  letter-spacing: -0.035em;
}
.introCopy {
  border-left: 1px solid #d9d4ca;
  padding-left: 44px;
}
.introCopy p,
.includedTitle > p,
.pricingCopy > p,
.contactPanel > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.systems {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 650px;
}
.systemCard {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  color: #fff;
}
.systemCard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.systemCard:hover img {
  transform: scale(1.035);
}
.systemCard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(4, 31, 28, 0.88),
    rgba(4, 31, 28, 0.02) 70%
  );
}
.systemOverlay {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 5vw, 72px);
  right: 44px;
  bottom: 52px;
}
.systemOverlay > span {
  color: var(--sand);
  font-size: 12px;
  letter-spacing: 0.18em;
}
.systemOverlay h3 {
  margin: 12px 0;
  font-family: Georgia, serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
}
.systemOverlay p {
  max-width: 520px;
  margin: 0 0 25px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}
.systemOverlay a {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 5px;
}

.included {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8vw;
  background: var(--cream);
}
.includedTitle h2 {
  margin-bottom: 28px;
}
.inclusionGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #d6cfc1;
}
.inclusion {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 90px;
  border-bottom: 1px solid #d6cfc1;
}
.inclusion:nth-child(odd) {
  padding-right: 25px;
  border-right: 1px solid #d6cfc1;
}
.inclusion:nth-child(even) {
  padding-left: 25px;
}
.inclusion span {
  color: #9a7b43;
}
.inclusion p {
  font-size: 14px;
  line-height: 1.5;
}

.process {
  background: var(--green-deep);
  color: #fff;
}
.processHead {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 70px;
}
.processHead .eyebrow {
  align-self: start;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.steps article {
  min-height: 260px;
  padding: 28px 30px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.steps article:not(:first-child) {
  padding-left: 30px;
}
.steps article:last-child {
  border-right: 0;
}
.steps span {
  color: var(--sand);
  font-size: 11px;
  letter-spacing: 0.2em;
}
.steps h3 {
  margin: 48px 0 16px;
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 400;
}
.steps p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.7;
}

.pricing {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 9vw;
  align-items: center;
}
.pricingCopy h2 {
  margin-bottom: 28px;
}
.pricingCopy small {
  color: #8a918e;
  line-height: 1.6;
}
.calculator {
  padding: clamp(28px, 5vw, 58px);
  background: #fff;
  box-shadow: 0 20px 70px rgba(17, 44, 41, 0.11);
}
.brochure {
  padding-block: 78px;
  background: var(--green);
  color: #fff;
}
.brochureGrid {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: clamp(24px, 3.4vw, 46px);
  align-items: center;
}
.brochureMark {
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.brochureMark img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}
.brochureCopy h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 3.4vw, 54px);
}
.brochureCopy p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.8;
}
.brochureButton {
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  background: var(--sand);
  color: var(--ink);
  white-space: nowrap;
}
.brochureButton:hover {
  opacity: 0.95;
}
.calcTop {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
}
.calcTop span {
  color: var(--muted);
  font-size: 13px;
}
.calcTop strong {
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 400;
}
input[type="range"] {
  width: 100%;
  accent-color: var(--green);
}
.rangeLabels {
  display: flex;
  justify-content: space-between;
  color: #929995;
  font-size: 10px;
}
.estimate {
  display: grid;
  gap: 8px;
  margin: 36px 0 28px;
  padding-top: 28px;
  border-top: 1px solid #e5e2dc;
}
.estimate span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.estimate strong {
  font-family: Georgia, serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
  color: var(--green);
}
.estimate small {
  color: #8a918e;
}
.darkButton {
  width: 100%;
  background: var(--green);
  color: #fff;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 760px;
  background: var(--green);
  color: #fff;
}
.contactImage {
  background: url("../assets/hero-house.png") center/cover no-repeat;
  min-height: 600px;
}
.contactPanel {
  padding: 92px clamp(28px, 6vw, 88px);
}
.contactPanel h2 {
  margin-bottom: 26px;
}
.contactPanel > p {
  color: rgba(255, 255, 255, 0.66);
}
.contactData {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}
.dataCard {
  display: grid;
  gap: 8px;
  align-content: center;
  min-height: 72px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition:
    border-color 0.2s,
    background 0.2s;
}
.dataCard--wide {
  grid-column: 1 / -1;
}
.dataCard span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sand);
}
.dataCard strong {
  font-size: 15px;
  font-weight: 400;
  color: #fff;
}
a.dataCard:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.05);
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 34px;
}
form label {
  display: grid;
  gap: 8px;
  align-content: start;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
}
.campoAncho {
  grid-column: 1 / -1;
}
input,
select,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  padding: 12px 2px;
  outline: none;
  transition: border-color 0.2s;
}
input:focus,
select:focus,
textarea:focus {
  border-bottom-color: var(--sand);
}
input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}
select option {
  color: #102c29;
}
textarea {
  min-height: 90px;
  resize: vertical;
}
.sandButton {
  grid-column: 1 / -1;
  background: var(--sand);
  color: var(--ink);
  margin-top: 8px;
}
.sandButton[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}
.formNote {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.46);
}
.formNote a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.err {
  min-height: 14px;
  color: #f0b8a4;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.06em;
}
.err:empty {
  min-height: 0;
}
input.invalido,
select.invalido,
textarea.invalido {
  border-bottom-color: #f0b8a4;
}

.alerta {
  margin-top: 28px;
  padding: 16px 20px;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  border-left: 3px solid;
}
.alerta--ok {
  background: rgba(195, 166, 109, 0.16);
  border-color: var(--sand);
  color: #f3e9d5;
}
.alerta--error {
  background: rgba(240, 184, 164, 0.14);
  border-color: #f0b8a4;
  color: #fbe2d9;
}

@media (max-width: 900px) {
  .nav nav,
  .navCta {
    display: none;
  }
  .hero {
    min-height: 760px;
  }
  .heroContent {
    margin: 0 24px;
  }
  .heroFacts {
    gap: 20px;
  }
  .intro,
  .included,
  .pricing,
  .contact {
    grid-template-columns: 1fr;
  }
  .introCopy {
    border-left: 0;
    border-top: 1px solid #d9d4ca;
    padding: 30px 0 0;
  }
  .systems {
    grid-template-columns: 1fr;
  }
  .systemCard {
    min-height: 540px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .steps article:nth-child(2) {
    border-right: 0;
  }
  .contactImage {
    min-height: 440px;
  }
  .brochureGrid {
    grid-template-columns: 110px minmax(0, 1fr);
    row-gap: 32px;
  }
  .brochureButton {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 600px) {
  .nav {
    height: 72px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .heroLead {
    font-size: 16px;
  }
  .heroFacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }
  .systems .systemCard {
    min-height: 480px;
  }
  .inclusionGrid,
  .steps,
  .contactData,
  form {
    grid-template-columns: 1fr;
  }
  .inclusion:nth-child(odd) {
    border-right: 0;
    padding-right: 0;
  }
  .inclusion:nth-child(even) {
    padding-left: 0;
  }
  .steps article,
  .steps article:not(:first-child) {
    min-height: auto;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
  .steps h3 {
    margin-top: 24px;
  }
  .campoAncho,
  .sandButton {
    grid-column: auto;
  }
  .contactPanel {
    padding: 64px 24px;
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

footer {
  min-height: 140px;
  padding: 35px clamp(24px, 5vw, 76px);
  background: #061f1c;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footerBrand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.footerContact {
  display: grid;
  gap: 8px;
}
.footerContact a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s;
}
.footerContact a:hover {
  color: #fff;
}
.footerBrand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.footerBrand div {
  display: grid;
  gap: 4px;
}
.footerBrand strong {
  letter-spacing: 0.24em;
}
.footerBrand span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 8px;
  letter-spacing: 0.14em;
}
