:root {
  --brand-dark: #3c5d2b;
  --brand-accent: #93ad3e;
  --brand-muted: #596437;
  --text-white: #f5f4ef;
  --shadow-dark: rgba(0, 0, 0, 0.28);
  --page-gutter: clamp(1.5rem, 4vw, 5.25rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #020503;
  color: var(--text-white);
  font-family: Optima, "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

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

[id] {
  scroll-margin-top: 8rem;
}

.hero-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(17, 22, 10, 0.2), rgba(7, 10, 4, 0.32)),
    url("./assets/background.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.015);
  z-index: -2;
}

.hero-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 18%, rgba(0, 0, 0, 0.18) 100%);
  z-index: -1;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem var(--page-gutter) 0;
  background: transparent;
  z-index: 2;
}

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

.brand-logo {
  width: clamp(3.5rem, 4.8vw, 5.25rem);
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 22px rgba(0, 0, 0, 0.32));
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12em;
  font-family: Avenir, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 400;
  font-size: clamp(1.3rem, 1.7vw, 2.2rem);
  line-height: 1;
  text-shadow: 0 3px 24px var(--shadow-dark);
  white-space: nowrap;
}

.brand-word-garden {
  color: var(--brand-muted);
}

.brand-word-shield {
  color: var(--brand-accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 5rem);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1rem, 1.1vw, 1.35rem);
  letter-spacing: 0.02em;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.36);
}

.site-nav a {
  position: relative;
  color: rgba(245, 244, 239, 0.92);
  font-weight: 400;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav .is-active {
  color: var(--brand-accent);
}

.site-nav a:hover::after,
.site-nav .is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero-content {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 12rem var(--page-gutter) 8rem;
  text-align: center;
}

.hero-title {
  margin: 0;
  display: grid;
  gap: 1rem;
  font-family: Avenir, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 4.25vw, 5.75rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.32;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.28);
}

.hero-title span {
  display: block;
}

.system-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  padding: 9.5rem var(--page-gutter) 5.5rem;
}

.system-nav-anchor {
  position: absolute;
  top: clamp(5.75rem, 6vw, 7.25rem);
  left: 0;
  width: 1px;
  height: 1px;
  scroll-margin-top: 0;
}

.system-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(4, 12, 7, 0.9), rgba(4, 12, 6, 0.92)),
    url("./assets/background.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -3;
}

.system-section::after {
  content: "";
  position: absolute;
  right: -7rem;
  bottom: -7rem;
  width: min(28vw, 26rem);
  aspect-ratio: 1;
  border-radius: 46% 54% 50% 50%;
  background:
    radial-gradient(circle at 42% 38%, rgba(196, 228, 116, 0.35), transparent 24%),
    radial-gradient(circle at 58% 62%, rgba(147, 173, 62, 0.32), transparent 28%),
    radial-gradient(circle at 52% 48%, rgba(88, 120, 38, 0.5), transparent 60%);
  filter: blur(2px);
  opacity: 0.95;
  z-index: -2;
}

.system-inner {
  max-width: 1820px;
  margin: 0 auto;
}

.system-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) 2.5rem minmax(0, 0.9fr);
  gap: 0 1.75rem;
  align-items: start;
}

.system-column {
  min-width: 0;
}

.system-column-left {
  padding-right: 0.85rem;
}

.system-column-right {
  padding-top: 9.75rem;
}

.system-title-wrap {
  position: relative;
  max-width: none;
}

.heading-real-leaf {
  position: absolute;
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.16));
}

.heading-real-leaf-system {
  top: -4.15rem;
  left: 15.4rem;
  width: clamp(5.15rem, 5.75vw, 7rem);
  transform: rotate(2deg);
}

.system-title {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(3.05rem, 4.35vw, 5.35rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.system-card {
  margin: 0;
  overflow: hidden;
  border-radius: 1.75rem;
  background: rgba(9, 14, 7, 0.5);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.system-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.system-card-left {
  margin-top: 2.7rem;
  aspect-ratio: 1.84 / 1;
}

.system-card-left img {
  object-position: center 56%;
}

.system-card-right {
  aspect-ratio: 1.82 / 1;
}

.system-card-right img {
  object-position: center 38%;
}

.system-copy {
  margin: 0;
  color: rgba(245, 244, 239, 0.97);
  font-family: Optima, "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.35rem, 1.45vw, 2.15rem);
  line-height: 1.42;
}

.system-copy-left {
  max-width: 31ch;
  margin-top: 2rem;
}

.system-copy-right {
  max-width: 21ch;
  margin-top: 1.85rem;
}

.system-actions {
  margin-top: 4rem;
  display: grid;
  gap: 2.2rem;
}

.system-action {
  display: inline-block;
  width: fit-content;
  color: #ffffff;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.75rem, 2vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  transition: color 180ms ease, transform 180ms ease;
}

.system-action:hover {
  color: var(--brand-accent);
  transform: translateX(4px);
}

.system-divider {
  position: relative;
  align-self: stretch;
  min-height: 100%;
}

.system-divider-line {
  position: absolute;
  top: 6rem;
  bottom: 1.55rem;
  left: 50%;
  width: 4px;
  border-radius: 999px;
  background: rgba(245, 244, 239, 0.96);
  transform: translateX(-50%);
}

.system-divider-dot {
  position: absolute;
  left: 50%;
  width: 0.7rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(245, 244, 239, 0.98);
  transform: translateX(-50%);
}

.system-divider-dot:first-child {
  top: 5.4rem;
}

.system-divider-dot:last-child {
  bottom: 0;
}

.value-section {
  position: relative;
  min-height: auto;
  overflow: hidden;
  isolation: isolate;
  padding: 6.5rem var(--page-gutter) 4.25rem;
}

.value-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(4, 16, 8, 0.84), rgba(3, 11, 6, 0.88)),
    url("./assets/background.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -3;
}

.value-section::after {
  content: "";
  position: absolute;
  right: -6rem;
  bottom: -6rem;
  width: min(24vw, 22rem);
  aspect-ratio: 1;
  border-radius: 48% 52% 42% 58%;
  background:
    radial-gradient(circle at 56% 62%, rgba(166, 209, 96, 0.45), transparent 20%),
    radial-gradient(circle at 46% 46%, rgba(127, 169, 54, 0.38), transparent 30%),
    radial-gradient(circle at 50% 50%, rgba(57, 88, 28, 0.5), transparent 64%);
  filter: blur(6px);
  z-index: -2;
}

.value-inner {
  max-width: 1820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(20rem, 0.82fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}

.value-card {
  margin: 0;
  overflow: hidden;
  border-radius: 2rem;
  aspect-ratio: 1.48 / 1;
  background: rgba(7, 12, 6, 0.55);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.24);
}

.value-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.value-panel {
  display: grid;
  gap: 3.25rem;
  justify-items: end;
  text-align: right;
}

.value-heading-wrap {
  position: relative;
  width: fit-content;
  margin-left: auto;
}

.heading-real-leaf-value {
  top: -2.65rem;
  right: 3.1rem;
  width: clamp(4.2rem, 4vw, 5.2rem);
  transform: rotate(2deg);
}

.value-heading {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(4rem, 5.4vw, 6.35rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.value-points {
  display: grid;
  gap: 2.85rem;
}

.value-point {
  display: grid;
  gap: 0.75rem;
}

.value-point h3 {
  margin: 0;
  color: #ffffff;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2rem, 2.1vw, 3rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.value-point p {
  margin: 0;
  max-width: 24ch;
  color: rgba(245, 244, 239, 0.96);
  font-family: Optima, "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.35rem, 1.32vw, 2rem);
  line-height: 1.34;
  margin-left: auto;
}

.proof-section {
  position: relative;
  min-height: auto;
  overflow: hidden;
  isolation: isolate;
  padding: 6rem var(--page-gutter) 4.25rem;
}

.proof-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(4, 15, 8, 0.9), rgba(3, 11, 6, 0.92)),
    url("./assets/background.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -3;
}

.proof-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(36, 66, 26, 0.12), transparent 20%),
    radial-gradient(circle at 82% 74%, rgba(28, 55, 20, 0.18), transparent 22%);
  z-index: -2;
}

.proof-inner {
  position: relative;
  max-width: 1820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2.5rem, 5vw, 6rem);
}

.proof-leaf {
  position: absolute;
  display: block;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
  opacity: 0.96;
}

.proof-leaf-left {
  top: -0.2rem;
  left: 21%;
  width: clamp(4.9rem, 6vw, 7.5rem);
  transform: rotate(-18deg);
}

.proof-leaf-right {
  top: 7.75rem;
  right: 15%;
  width: clamp(3.75rem, 4.2vw, 5.1rem);
  transform: rotate(-9deg);
}

.proof-column {
  min-width: 0;
}

.proof-column-left {
  display: grid;
  gap: clamp(2.5rem, 4vw, 4rem);
  padding-top: 2.2rem;
}

.proof-column-right {
  display: grid;
  gap: clamp(2.5rem, 4vw, 4rem);
  padding-top: clamp(15rem, 18vw, 20rem);
  align-content: start;
}

.proof-item {
  display: grid;
  grid-template-columns: 1.7rem minmax(0, 1fr);
  align-items: start;
  column-gap: 1.5rem;
}

.proof-dot {
  width: 1.1rem;
  aspect-ratio: 1;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.04);
}

.proof-content {
  display: grid;
  gap: 1rem;
}

.proof-content h3,
.proof-item-short p {
  margin: 0;
  color: #ffffff;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2rem, 2.1vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.proof-content p {
  margin: 0;
  max-width: 29ch;
  color: rgba(245, 244, 239, 0.97);
  font-family: Optima, "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.55rem, 1.65vw, 2.35rem);
  line-height: 1.34;
}

.proof-item-short p {
  max-width: 32ch;
}

.process-section {
  position: relative;
  min-height: auto;
  overflow: hidden;
  isolation: isolate;
  padding: 4.5rem var(--page-gutter) 4.75rem;
}

.process-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(4, 12, 7, 0.9), rgba(3, 9, 5, 0.94)),
    url("./assets/background.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -2;
}

.process-inner {
  max-width: 1820px;
  margin: 0 auto;
}

.process-heading {
  margin: 0 0 2.75rem;
  text-align: right;
  color: #ffffff;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(3rem, 4.25vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.process-track {
  position: relative;
}

.process-line {
  position: absolute;
  top: 1.5rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-dark), var(--brand-accent));
  transform: translateY(-50%);
}

.process-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1.5rem;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.process-step-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 2px solid var(--brand-accent);
  background: #050805;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 300ms ease;
}

.process-step-circle span {
  color: #ffffff;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1;
}

.process-step p {
  margin: 0;
  color: rgba(209, 213, 219, 0.92);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  transition: color 300ms ease;
}

.process-step:hover .process-step-circle {
  background: var(--brand-accent);
}

.process-step:hover p {
  color: #ffffff;
}

.detail-section,
.projects-section,
.faq-section,
.contact-section,
.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.detail-section,
.projects-section,
.faq-section,
.contact-section {
  padding: 5.5rem var(--page-gutter);
}

.projects-section,
.faq-section,
.contact-section {
  min-height: auto;
  display: block;
}

#detalle-sistema,
#proyectos,
#faqs,
#contacto {
  scroll-margin-top: 3.5rem;
}

.detail-section::before,
.projects-section::before,
.faq-section::before,
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(4, 12, 7, 0.9), rgba(3, 10, 5, 0.93)),
    url("./assets/background.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -3;
}

.detail-section::after,
.projects-section::after,
.faq-section::after,
.contact-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(40, 76, 22, 0.16), transparent 18%),
    radial-gradient(circle at 82% 80%, rgba(97, 132, 38, 0.18), transparent 16%);
  z-index: -2;
}

.detail-inner,
.projects-inner,
.faq-inner,
.contact-inner,
.footer-inner {
  max-width: 1820px;
  margin: 0 auto;
}

.projects-inner,
.faq-inner,
.contact-inner {
  width: 100%;
}

.detail-heading,
.projects-heading,
.faq-heading,
.contact-heading {
  margin: 0 0 1.5rem;
  color: #ffffff;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(3rem, 4.5vw, 5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.detail-heading,
.projects-heading,
.faq-heading,
.contact-heading {
  text-align: center;
}

.detail-intro {
  max-width: 58rem;
  margin: 0 auto 2.75rem;
  color: rgba(245, 244, 239, 0.82);
  text-align: center;
  font-family: Optima, "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.25rem, 1.45vw, 1.85rem);
  line-height: 1.55;
}

.detail-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  margin-bottom: 2.35rem;
}

.detail-tab {
  padding: 0 0 0.82rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: rgba(245, 244, 239, 0.42);
  cursor: pointer;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.16rem, 1.3vw, 1.48rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 220ms ease, border-color 220ms ease;
}

.detail-tab:hover,
.detail-tab.is-active {
  color: #ffffff;
  border-color: var(--brand-accent);
}

.detail-panels {
  max-width: 76rem;
  margin: 0 auto;
}

.detail-panel {
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
}

.detail-panel.is-active {
  animation: detail-fade 320ms ease;
}

@keyframes detail-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.detail-stack {
  display: grid;
  gap: 2.5rem;
}

.detail-block {
  display: grid;
  gap: 0.85rem;
}

.detail-block h3,
.detail-panel-heading,
.detail-subheading {
  margin: 0;
  color: var(--brand-accent);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.5rem, 2vw, 2.25rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.detail-subheading {
  font-size: clamp(1.15rem, 1.35vw, 1.45rem);
}

.detail-panel p,
.detail-list,
.detail-feature-list {
  margin: 0;
  color: rgba(245, 244, 239, 0.88);
  font-family: Optima, "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.2rem, 1.35vw, 1.6rem);
  line-height: 1.55;
}

.detail-lead {
  color: #ffffff;
  font-size: clamp(1.4rem, 1.6vw, 1.9rem);
}

.detail-list,
.detail-feature-list {
  padding-left: 1.25rem;
}

.detail-list li,
.detail-feature-list li {
  margin-top: 0.6rem;
}

.projects-section {
  padding-top: 6rem;
  padding-bottom: 6.5rem;
}

.projects-map-layout {
  display: grid;
  grid-template-columns: minmax(17rem, 24rem) minmax(0, 1fr);
  gap: clamp(2.25rem, 4vw, 5rem);
  align-items: center;
  margin-top: 3.25rem;
}

.projects-copy {
  max-width: 23rem;
}

.projects-copy-title {
  margin: 0 0 1.5rem;
  color: #ffffff;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.4rem, 1.7vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}

.projects-location-list {
  margin: 0;
  padding-left: 1.65rem;
  display: grid;
  gap: 0.8rem;
  color: #ffffff;
  font-family: Optima, "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.35rem, 1.8vw, 2rem);
  line-height: 1.28;
}

.projects-location-list li::marker {
  color: #ffffff;
}

.projects-map-stage {
  position: relative;
  min-height: clamp(24rem, 41vw, 42rem);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.projects-map-stage::before {
  content: "";
  position: absolute;
  inset: 14% 8% 10%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(147, 173, 62, 0.12), transparent 60%);
  filter: blur(24px);
  z-index: -1;
}

.projects-map-image {
  display: block;
  width: min(100%, 64rem);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.22));
}

.faq-inner {
  max-width: 70rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 3.25rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 220ms ease, background-color 220ms ease;
}

.faq-item.is-open,
.faq-item:hover {
  border-color: rgba(147, 173, 62, 0.45);
  background: rgba(255, 255, 255, 0.065);
}

.faq-question {
  width: 100%;
  padding: 1.6rem 2rem;
  border: 0;
  background: transparent;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  cursor: pointer;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.1rem, 1.25vw, 1.4rem);
  font-weight: 500;
}

.faq-chevron {
  position: relative;
  flex: 0 0 auto;
  width: 1.3rem;
  height: 1.3rem;
  color: var(--brand-accent);
  transition: transform 300ms ease;
}

.faq-chevron::before,
.faq-chevron::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.72rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.faq-chevron::before {
  left: 0.08rem;
  transform: translateY(-50%) rotate(45deg);
}

.faq-chevron::after {
  right: 0.08rem;
  transform: translateY(-50%) rotate(-45deg);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 320ms ease, opacity 240ms ease, padding-bottom 320ms ease;
}

.faq-item.is-open .faq-answer {
  padding-bottom: 1.6rem;
  opacity: 1;
}

.faq-answer p {
  margin: 0;
  color: rgba(245, 244, 239, 0.82);
  font-family: Optima, "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.05rem, 1.2vw, 1.3rem);
  line-height: 1.55;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 4vw, 5rem);
  align-items: start;
  margin-top: 3.25rem;
}

.contact-info {
  display: grid;
  gap: 1.85rem;
  align-content: center;
  min-height: 100%;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  color: #ffffff;
}

.contact-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: background-color 220ms ease;
}

.contact-link:hover .contact-icon {
  background: var(--brand-accent);
}

.contact-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.contact-link span:last-child {
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.2rem, 1.45vw, 1.6rem);
  line-height: 1.3;
}

.contact-card {
  padding: clamp(1.6rem, 3vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.05);
}

.contact-form {
  display: grid;
  gap: 1.2rem;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form label span {
  color: rgba(245, 244, 239, 0.7);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.92rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--brand-accent);
  background: rgba(255, 255, 255, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 7rem;
}

.contact-form select option {
  background: #050805;
}

.contact-submit {
  margin-top: 0.4rem;
  padding: 1rem 1.2rem;
  border: 0;
  border-radius: 1rem;
  background: var(--brand-accent);
  color: #ffffff;
  cursor: pointer;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  transition: background-color 180ms ease, transform 180ms ease;
}

.contact-submit:hover {
  background: #7a9133;
  transform: translateY(-1px);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #050805;
  padding: 1.75rem var(--page-gutter);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.footer-branding {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(245, 244, 239, 0.5);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
}

.footer-leaf {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--brand-accent);
  opacity: 0.55;
}

.footer-leaf svg {
  display: block;
  width: 100%;
  height: 100%;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(245, 244, 239, 0.5);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: #ffffff;
}

@media (min-width: 1101px) and (max-height: 930px) {
  #detalle-sistema,
  #proyectos,
  #faqs,
  #contacto {
    scroll-margin-top: 1.25rem;
  }

  .process-section,
  .detail-section {
    min-height: auto;
    padding-top: 3.5rem;
    padding-bottom: 4rem;
  }

  .projects-section,
  .faq-section,
  .contact-section {
    min-height: auto;
    padding-top: 4.75rem;
    padding-bottom: 4.75rem;
  }

  .process-heading,
  .detail-heading,
  .projects-heading,
  .faq-heading,
  .contact-heading {
    font-size: clamp(2.6rem, 3.5vw, 4rem);
  }

  .process-heading {
    margin-bottom: 2.5rem;
  }

  .process-grid {
    gap: 0.9rem;
  }

  .process-step {
    gap: 0.75rem;
  }

  .process-step-circle {
    width: 2.65rem;
    height: 2.65rem;
  }

  .process-step-circle span {
    font-size: 1rem;
  }

  .process-step p {
    font-size: 0.8rem;
  }

  .detail-intro {
    max-width: 70rem;
    margin-bottom: 1.8rem;
    font-size: clamp(1rem, 1.1vw, 1.3rem);
    line-height: 1.45;
  }

  .detail-tabs {
    gap: 0.9rem 1.5rem;
    margin-bottom: 1.6rem;
  }

  .detail-tab {
    padding-bottom: 0.6rem;
    font-size: 1.06rem;
    letter-spacing: 0.04em;
  }

  .detail-panel {
    padding: 1.35rem 1.55rem;
    border-radius: 1.2rem;
  }

  .detail-stack {
    gap: 1.1rem 1.35rem;
  }

  #tab-como-funciona .detail-stack,
  #tab-instalacion .detail-stack,
  #tab-mantenimiento .detail-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  #tab-mantenimiento .detail-stack > *:first-child,
  #tab-mantenimiento .detail-stack > *:nth-child(2) {
    grid-column: 1 / -1;
  }

  .detail-block {
    gap: 0.5rem;
  }

  .detail-block h3,
  .detail-panel-heading,
  .detail-subheading {
    font-size: clamp(1.1rem, 1.4vw, 1.45rem);
    line-height: 1.15;
  }

  .detail-panel p,
  .detail-list,
  .detail-feature-list {
    font-size: clamp(0.95rem, 1vw, 1.08rem);
    line-height: 1.38;
  }

  .detail-list,
  .detail-feature-list {
    padding-left: 1rem;
  }

  .detail-list li,
  .detail-feature-list li {
    margin-top: 0.35rem;
  }

  .projects-heading,
  .faq-heading,
  .contact-heading {
    margin-bottom: 1rem;
  }

  .projects-section {
    padding-top: 5rem;
    padding-bottom: 5.5rem;
  }

  .projects-map-layout {
    margin-top: 2.5rem;
    grid-template-columns: minmax(15rem, 20rem) minmax(0, 1fr);
    gap: 2rem;
  }

  .projects-copy-title {
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
  }

  .projects-location-list {
    gap: 0.6rem;
    font-size: 1.2rem;
  }

  .projects-map-stage {
    min-height: 24rem;
  }

  .projects-map-image {
    width: min(100%, 52rem);
  }

  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 0.9rem;
    margin-top: 2.4rem;
  }

  .faq-question {
    padding: 1rem 1.2rem;
    font-size: 0.98rem;
  }

  .faq-answer {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .faq-item.is-open .faq-answer {
    padding-bottom: 1rem;
  }

  .faq-answer p {
    font-size: 0.92rem;
    line-height: 1.42;
  }

  .contact-grid {
    gap: 1.2rem;
    margin-top: 2.4rem;
    align-items: start;
  }

  .contact-info {
    gap: 0.7rem;
  }

  .contact-link {
    gap: 0.75rem;
  }

  .contact-icon {
    width: 2.65rem;
    height: 2.65rem;
  }

  .contact-icon svg {
    width: 1.05rem;
    height: 1.05rem;
  }

  .contact-link span:last-child {
    font-size: 0.92rem;
  }

  .contact-card {
    padding: 0.95rem 1rem;
    border-radius: 1.4rem;
  }

  .contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 0.65rem;
  }

  .contact-form-row {
    display: contents;
    gap: 0.65rem;
  }

  .contact-form label {
    gap: 0.22rem;
  }

  .contact-form-row > label,
  .contact-form > .contact-field {
    min-width: 0;
  }

  .contact-field-location,
  .contact-field-property,
  .contact-field-area,
  .contact-field-message {
    grid-column: span 1;
  }

  .contact-form label span {
    font-size: 0.74rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 0.58rem 0.75rem;
    font-size: 0.86rem;
  }

  .contact-form textarea {
    min-height: 3.5rem;
  }

  .contact-submit {
    grid-column: 1 / -1;
    padding: 0.72rem 1rem;
    font-size: 0.86rem;
  }
}

@media (max-width: 1280px) {
  .system-layout {
    grid-template-columns: minmax(0, 1.08fr) 1.5rem minmax(0, 0.92fr);
  }

  .system-column-right {
    padding-top: 9rem;
  }

  .system-title {
    font-size: clamp(3.45rem, 5vw, 5.75rem);
  }

  .value-inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.9fr);
    gap: 2rem;
  }

  .value-heading {
    font-size: clamp(3.4rem, 4.8vw, 5.2rem);
  }

  .value-point h3 {
    font-size: clamp(1.7rem, 2vw, 2.45rem);
  }

  .proof-column-left {
    padding-top: 3rem;
  }

  .proof-column-right {
    padding-top: clamp(20rem, 26vw, 29rem);
  }

  .proof-content h3,
  .proof-item-short p {
    font-size: clamp(1.7rem, 1.9vw, 2.45rem);
  }

  .process-grid {
    gap: 1rem;
  }

  .process-step p {
    font-size: 0.84rem;
  }

  .projects-map-layout {
    grid-template-columns: minmax(15rem, 19rem) minmax(0, 1fr);
    gap: 1.75rem;
  }

  .projects-location-list {
    font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  }

  .projects-map-stage {
    min-height: 22rem;
  }
}

@media (max-width: 1100px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1.25rem 0;
  }

  .brand {
    gap: 1rem;
  }

  .brand-logo {
    width: min(18vw, 4.75rem);
  }

  .brand-name {
    font-size: clamp(1.1rem, 4.8vw, 1.75rem);
    white-space: normal;
    text-align: center;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
    font-size: clamp(0.95rem, 3.9vw, 1.2rem);
  }

  .hero-content {
    padding-top: 11.5rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3.1rem);
    letter-spacing: 0.14em;
    line-height: 1.45;
  }

  .system-section {
    padding-top: 10rem;
    padding-bottom: 4rem;
  }

  .system-nav-anchor {
    top: 6rem;
  }

  .system-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .system-column-left,
  .system-column-right {
    padding-right: 0;
    padding-top: 0;
  }

  .system-title-wrap {
    max-width: 12ch;
  }

  .system-title {
    font-size: clamp(3rem, 9vw, 4.8rem);
    white-space: normal;
  }

  .heading-real-leaf-system {
    top: -2.85rem;
    left: 10rem;
    width: 4.8rem;
  }

  .system-card-left {
    margin-top: 2.25rem;
  }

  .system-divider {
    display: none;
  }

  .system-copy-left,
  .system-copy-right {
    max-width: none;
  }

  .system-actions {
    margin-top: 2.5rem;
    gap: 1.5rem;
  }

  .value-section {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  .value-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .value-panel {
    justify-items: start;
    text-align: left;
  }

  .value-heading-wrap {
    margin-left: 0;
  }

  .heading-real-leaf-value {
    top: -1.95rem;
    right: 2rem;
    width: 3.8rem;
  }

  .value-point p {
    max-width: none;
    margin-left: 0;
  }

  .proof-section {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  .proof-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .proof-leaf-left {
    left: 30%;
  }

  .proof-leaf-right {
    top: auto;
    bottom: 18rem;
    right: 9%;
  }

  .proof-column-left,
  .proof-column-right {
    padding-top: 0;
  }

  .proof-column-left,
  .proof-column-right {
    gap: 2.5rem;
  }

  .proof-content p,
  .proof-item-short p {
    max-width: none;
  }

  .process-section {
    min-height: auto;
    padding-top: 5rem;
    padding-bottom: 4rem;
  }

  .process-heading {
    margin-bottom: 3rem;
    text-align: left;
  }

  .process-line {
    display: none;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .detail-section,
  .projects-section,
  .faq-section,
  .contact-section {
    padding-top: 5rem;
    padding-bottom: 4rem;
  }

  .projects-section,
  .faq-section,
  .contact-section {
    min-height: auto;
    display: block;
  }

  .detail-intro {
    margin-bottom: 2.75rem;
  }

  .detail-tabs {
    gap: 0.75rem 1.2rem;
    margin-bottom: 2.4rem;
  }

  .projects-section {
    padding-top: 5.25rem;
    padding-bottom: 5.25rem;
  }

  .projects-map-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
  }

  .projects-copy {
    max-width: none;
  }

  .projects-copy-title {
    font-size: clamp(1.3rem, 4.6vw, 1.75rem);
  }

  .projects-location-list {
    font-size: clamp(1.15rem, 4.2vw, 1.55rem);
    gap: 0.7rem;
  }

  .projects-map-stage {
    min-height: clamp(18rem, 56vw, 26rem);
  }

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

  .contact-info {
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .hero-shell::before {
    background-position: center 28%;
  }

  .site-header {
    padding-top: 1.5rem;
  }

  .hero-content {
    padding: 12.5rem 1rem 5rem;
  }

  .hero-title {
    gap: 0.55rem;
  }

  .system-section {
    padding-top: 8.75rem;
    padding-bottom: 3rem;
  }

  .system-nav-anchor {
    top: 4.75rem;
  }

  .system-section::after {
    width: 14rem;
    right: -4rem;
    bottom: -4rem;
  }

  .system-title {
    font-size: clamp(1.95rem, 7.8vw, 2.45rem);
    line-height: 1.06;
  }

  .heading-real-leaf-system {
    top: -1.7rem;
    left: 4.2rem;
    width: 3.35rem;
  }

  .system-card {
    border-radius: 1.3rem;
  }

  .system-card-left,
  .system-card-right {
    aspect-ratio: 1.15 / 1;
  }

  .system-copy {
    font-size: 1.18rem;
    line-height: 1.48;
  }

  .system-actions {
    gap: 1.15rem;
  }

  .system-action {
    font-size: 1.6rem;
  }

  .value-section {
    padding: 5rem 1rem 3rem;
  }

  .value-section::after {
    width: 13rem;
    right: -4rem;
    bottom: -4rem;
  }

  .value-card {
    border-radius: 1.35rem;
    aspect-ratio: 1.08 / 1;
  }

  .value-panel {
    gap: 2rem;
  }

  .value-heading {
    font-size: clamp(2.6rem, 13vw, 3.6rem);
  }

  .heading-real-leaf-value {
    top: -1.35rem;
    right: 1.3rem;
    width: 2.7rem;
  }

  .value-points {
    gap: 1.9rem;
  }

  .value-point h3 {
    font-size: 1.6rem;
  }

  .value-point p {
    font-size: 1.15rem;
    line-height: 1.42;
  }

  .proof-section {
    padding: 5rem 1rem 3rem;
  }

  .proof-inner {
    gap: 2.35rem;
  }

  .proof-leaf-left {
    top: 0.2rem;
    left: 56%;
    width: 4.35rem;
  }

  .proof-leaf-right {
    right: 6%;
    bottom: 11.75rem;
    width: 3.35rem;
  }

  .proof-item {
    grid-template-columns: 1.2rem minmax(0, 1fr);
    column-gap: 1rem;
  }

  .proof-dot {
    width: 0.88rem;
    margin-top: 0.45rem;
  }

  .proof-content {
    gap: 0.75rem;
  }

  .proof-content h3,
  .proof-item-short p {
    font-size: 1.55rem;
    line-height: 1.18;
  }

  .proof-content p {
    font-size: 1.2rem;
    line-height: 1.42;
  }

  .process-section {
    padding: 4.25rem 1rem 3rem;
  }

  .process-heading {
    margin-bottom: 2.2rem;
    font-size: clamp(2.25rem, 11vw, 3rem);
  }

  .process-grid {
    gap: 1.15rem 0.95rem;
  }

  .process-step {
    gap: 0.8rem;
  }

  .process-step-circle {
    width: 2.7rem;
    height: 2.7rem;
  }

  .process-step-circle span {
    font-size: 1rem;
  }

  .process-step p {
    font-size: 0.82rem;
  }

  .detail-section,
  .projects-section,
  .faq-section,
  .contact-section {
    padding: 4.25rem 1rem 3rem;
  }

  .projects-section,
  .faq-section,
  .contact-section {
    min-height: auto;
    display: block;
  }

  .detail-heading,
  .projects-heading,
  .faq-heading,
  .contact-heading {
    font-size: clamp(2.25rem, 11vw, 3rem);
    margin-bottom: 1rem;
  }

  .detail-intro {
    font-size: 1.08rem;
    line-height: 1.5;
    margin-bottom: 2rem;
  }

  .detail-tab {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
  }

  .detail-panel {
    padding: 1.35rem;
    border-radius: 1.35rem;
  }

  .detail-stack {
    gap: 1.5rem;
  }

  .detail-block h3,
  .detail-panel-heading,
  .detail-subheading {
    font-size: 1.3rem;
  }

  .detail-panel p,
  .detail-list,
  .detail-feature-list {
    font-size: 1.02rem;
  }

  .projects-section {
    padding-bottom: 3.75rem;
  }

  .projects-map-layout {
    margin-top: 2.25rem;
    gap: 1.65rem;
  }

  .projects-copy-title {
    margin-bottom: 1rem;
  }

  .projects-location-list {
    padding-left: 1.35rem;
    font-size: 1.2rem;
    line-height: 1.25;
  }

  .projects-map-stage {
    min-height: 14rem;
  }

  .faq-list {
    margin-top: 2.5rem;
  }

  .faq-question {
    padding: 1.2rem 1.1rem;
    font-size: 1rem;
  }

  .faq-answer {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .contact-grid {
    margin-top: 2.5rem;
  }

  .contact-link {
    gap: 0.95rem;
  }

  .contact-icon {
    width: 3rem;
    height: 3rem;
  }

  .contact-link span:last-child {
    font-size: 1rem;
  }

  .contact-card {
    padding: 1.2rem;
    border-radius: 1.4rem;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .site-footer {
    padding: 1.35rem 1rem;
  }

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