:root {
  --green-900: #123629;
  --green-800: #184231;
  --green-700: #1f5a42;
  --green-100: #eaf3ee;
  --gray-950: #15211c;
  --gray-700: #51605a;
  --gray-500: #7b8b84;
  --gray-200: #dfe6e1;
  --gray-100: #f4f7f5;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(18, 54, 41, 0.1);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--gray-950);
  background: linear-gradient(180deg, #f8fbf9 0%, #ffffff 34%, #f4f7f5 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
  scroll-margin-top: 88px;
}

.section-muted {
  background: linear-gradient(180deg, rgba(234, 243, 238, 0.7), rgba(255, 255, 255, 0.85));
}

.section-shell {
  padding: 28px 0 72px;
  scroll-margin-top: 88px;
}

.page-hero {
  padding-top: 72px;
}

.hero-grid.page-hero-grid,
.about-grid.page-hero-grid,
.contact-grid.page-hero-grid {
  align-items: start;
}

.page-hero-copy {
  align-self: start;
}

.hero.page-hero {
  padding-top: 52px;
  padding-bottom: 52px;
}

.hero.page-hero .eyebrow {
  margin-bottom: 10px;
}

.hero.page-hero .hero-copy {
  min-width: 0;
}

.hero.page-hero h1 {
  margin-bottom: 14px;
  text-wrap: balance;
}

.hero.page-hero .lead {
  margin-bottom: 0;
}

.hero.page-hero .hero-actions {
  margin-top: 22px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(21, 33, 28, 0.06);
}

.header-content {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  width: 220px;
  max-width: 220px;
  height: 64px;
  max-height: 64px;
  display: block;
  object-fit: contain;
  object-position: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  position: relative;
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.site-nav a.is-active {
  font-weight: 700;
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 3px;
  border-radius: 999px;
  background: var(--green-800);
  opacity: 0;
  transform: scaleX(0.45);
  transform-origin: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  background: var(--white);
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--green-900);
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.section-heading,
.hero-copy,
.about-copy,
.contact-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-700);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

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

h1 {
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  color: var(--green-900);
}

h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.12;
  margin-bottom: 16px;
  color: var(--green-900);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--green-900);
}

h4 {
  margin: 0 0 8px;
  color: var(--green-900);
  font-size: 1rem;
  line-height: 1.3;
}

.lead,
.section-heading p,
.about-copy p,
.about-info-card p,
.contact-copy p,
.service-card p,
.product-card p,
.green-maintenance p,
.maintenance-grid p {
  color: var(--gray-700);
  font-size: 1.02rem;
}

.hero-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 0;
}

.hero-image-card,
.about-image-card {
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(24, 66, 49, 0.04), rgba(24, 66, 49, 0.12));
  box-shadow: var(--shadow);
  border: 1px solid rgba(21, 33, 28, 0.06);
}

.hero-image-card {
  position: relative;
  min-height: 460px;
  aspect-ratio: 5 / 4;
  isolation: isolate;
}

.hero-image-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 54, 41, 0) 52%, rgba(18, 54, 41, 0.28) 100%);
}

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

.about-image-card:not(.about-collage) img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  background: var(--white);
}

.about-collage img {
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.about-photo-main {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
  object-position: center;
}

.about-photo-secondary {
  aspect-ratio: 1 / 1;
}

.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
  align-items: stretch;
}

.about-info-card {
  padding: 26px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid rgba(21, 33, 28, 0.07);
  box-shadow: 0 14px 34px rgba(18, 54, 41, 0.08);
}

.about-pillar-card {
  min-height: 100%;
}

.about-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.about-card-heading h3 {
  margin: 0;
}

.about-card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  background: var(--green-100);
  color: var(--green-900);
  font-size: 0.86rem;
  font-weight: 800;
}

.about-info-card p:last-child,
.service-feature-list:last-child {
  margin-bottom: 0;
}

.presence-strip {
  position: relative;
  margin-top: 28px;
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: start;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(21, 33, 28, 0.07);
  box-shadow: var(--shadow);
}

.value-card-grid {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.value-card {
  position: relative;
  min-width: 0;
  padding: 13px 13px 13px 38px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(234, 243, 238, 0.92), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(31, 90, 66, 0.12);
  color: var(--green-900);
  box-shadow: 0 8px 18px rgba(18, 54, 41, 0.05);
}

.value-card-dot {
  position: absolute;
  top: 17px;
  left: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-700);
  box-shadow: 0 0 0 5px rgba(31, 90, 66, 0.09);
}

.value-card strong {
  display: block;
  color: var(--green-900);
  font-size: 0.92rem;
  line-height: 1.25;
}

.about-info-card .value-card p {
  margin: 5px 0 0;
  color: rgba(18, 54, 41, 0.78);
  font-size: 0.82rem;
  line-height: 1.42;
}

.service-feature-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.service-feature-list li {
  position: relative;
  padding: 10px 12px 10px 34px;
  border-radius: 14px;
  background: rgba(234, 243, 238, 0.62);
  color: var(--gray-700);
  font-weight: 650;
}

.service-feature-list li::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 18px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-700);
}

.presence-strip {
  background: linear-gradient(180deg, #f2f8f4, #e7f1ea);
}

.presence-strip {
  grid-template-columns: minmax(220px, 0.78fr) minmax(170px, 0.6fr) minmax(290px, 1.05fr);
  align-items: center;
}

.presence-strip p:not(.eyebrow) {
  color: var(--gray-700);
  margin-bottom: 0;
}

.chile-map-card {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 24px 16px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 55% 22%, rgba(31, 90, 66, 0.16), transparent 44%),
    linear-gradient(180deg, #dcebe2, #c9ddd1);
  border: 1px solid rgba(21, 33, 28, 0.12);
}

.chile-map-stage {
  position: relative;
  width: min(100%, 250px);
  height: clamp(390px, 52vh, 520px);
  margin: 0;
}

.chile-map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 18px 28px rgba(18, 54, 41, 0.14));
}

.chile-map-svg .cl-region {
  fill: var(--white);
  stroke: var(--green-700);
  stroke-width: 0.09;
  stroke-linejoin: round;
}

.chile-map-svg .has-presence {
  fill: var(--green-800);
  stroke: #f2f8f4;
  stroke-width: 0.12;
  cursor: pointer;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.25s ease, fill 0.2s ease, stroke 0.2s ease;
  outline: none;
}

.chile-map-svg .has-presence:hover,
.chile-map-svg .has-presence:focus,
.chile-map-svg .has-presence.is-selected {
  fill: var(--green-700);
  stroke: var(--white);
  stroke-width: 0.14;
  transform: scale(1.25);
  filter: drop-shadow(0 0.2px 0.3px rgba(18, 54, 41, 0.45));
}

.map-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.map-link {
  fill: none;
  stroke: var(--green-700);
  stroke-width: 1.8;
  stroke-dasharray: 7 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.55;
  transition: opacity 0.2s ease, stroke 0.2s ease;
}

.map-link-dot {
  fill: var(--green-700);
  opacity: 0.65;
  transition: opacity 0.2s ease, fill 0.2s ease;
}

.map-link.is-active {
  opacity: 1;
  stroke: var(--green-900);
  stroke-width: 2.2;
}

.map-link-dot.is-active {
  opacity: 1;
  fill: var(--green-900);
}

.coverage-panel {
  width: 100%;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(21, 33, 28, 0.08);
  box-shadow: 0 14px 32px rgba(18, 54, 41, 0.08);
  overflow: hidden;
}

.coverage-header,
.coverage-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.85fr) minmax(0, 1.15fr);
  gap: 16px;
  align-items: start;
}

.coverage-header {
  padding: 14px 18px;
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coverage-row {
  width: 100%;
  padding: 16px 18px;
  border: 0;
  border-top: 1px solid rgba(21, 33, 28, 0.07);
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.coverage-row:nth-child(odd) {
  background: rgba(234, 243, 238, 0.45);
}

.coverage-row:hover,
.coverage-row:focus,
.coverage-row.is-active {
  outline: none;
  background: rgba(234, 243, 238, 0.85);
  box-shadow: inset 4px 0 0 var(--green-700);
}

.coverage-row.is-active {
  background: rgba(234, 243, 238, 0.98);
}

.coverage-region {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green-900);
  font-weight: 800;
  line-height: 1.3;
}

.coverage-region::before {
  content: '';
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--green-800);
}

.coverage-detail {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 6px;
  color: var(--gray-700);
  line-height: 1.45;
}

.coverage-chip {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(31, 90, 66, 0.24);
  color: var(--green-800);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}

.coverage-row.is-active .coverage-chip {
  border-color: var(--green-700);
  background: var(--white);
}

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

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

.service-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(21, 33, 28, 0.07);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 46px rgba(18, 54, 41, 0.12);
}

.service-card-media {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--green-100);
}

.service-card-media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.025);
}

.service-card-body {
  padding: 24px;
}

.service-tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--green-700);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card-body p:last-child {
  margin-bottom: 0;
}

.municipality-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 32px;
  padding: 38px 36px;
  display: grid;
  grid-template-columns: minmax(300px, 1.15fr) minmax(280px, 0.85fr);
  gap: 40px;
  align-items: center;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
    linear-gradient(135deg, var(--green-900), var(--green-800));
  color: var(--white);
  box-shadow: var(--shadow);
}

.municipality-copy,
.municipality-communities,
.municipality-visual {
  position: relative;
  z-index: 1;
}

.municipality-copy {
  max-width: 360px;
}

.municipality-communities {
  width: 100%;
}

.municipality-panel .eyebrow,
.municipality-panel h3,
.municipality-panel p {
  color: var(--white);
}

.municipality-panel .eyebrow {
  margin-bottom: 12px;
  color: rgba(234, 243, 238, 0.76);
  letter-spacing: 0.14em;
}

.municipality-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.municipality-panel h3 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: -0.02em;
}

.municipality-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 0;
}

.municipality-list li {
  position: relative;
  min-width: 0;
  padding: 9px 0 9px 18px;
  border-bottom: 1px solid rgba(234, 243, 238, 0.13);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.25;
}

.municipality-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.08em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(234, 243, 238, 0.78);
  box-shadow: 0 0 0 3px rgba(234, 243, 238, 0.08);
}

.municipality-list li:hover {
  color: var(--white);
}

.municipality-visual {
  align-self: center;
  justify-self: center;
  width: min(100%, 420px);
  height: 240px;
  margin: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.municipality-visual::after {
  content: '';
  position: absolute;
  right: 9%;
  bottom: 26px;
  width: 70%;
  height: 18px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
  filter: blur(13px);
}

.municipality-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.2));
  transform: scale(1.9) translateY(-4%);
  transform-origin: center;
}

/* --- Mapa interactivo zona central (Trabajando codo a codo) --- */
.municipality-panel[data-rm-map] .municipality-copy {
  max-width: 520px;
}

.rm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.rm-chip {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(234, 243, 238, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rm-chip:hover,
.rm-chip:focus-visible,
.rm-chip.is-active {
  background: var(--white);
  border-color: var(--white);
  color: var(--green-900);
  transform: translateY(-1px);
  outline: none;
}

.rm-chip:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.rm-map-stage {
  position: relative;
  margin: 0;
  align-self: stretch;
  min-height: 420px;
  height: clamp(420px, 58vh, 620px);
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.1), transparent 55%),
    rgba(9, 24, 18, 0.3);
  border: 1px solid rgba(234, 243, 238, 0.14);
}

.rm-map-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.3));
}

.rm-region {
  fill: rgba(255, 255, 255, 0.06);
  stroke: rgba(234, 243, 238, 0.24);
  stroke-width: 0.018;
  stroke-linejoin: round;
}

.rm-comuna {
  fill: #bfe3cf;
  stroke: var(--green-900);
  stroke-width: 0.014;
  stroke-linejoin: round;
  cursor: pointer;
  transform-box: fill-box;
  transform-origin: center;
  transition: fill 0.2s ease, transform 0.2s ease;
  outline: none;
}

.rm-comuna:hover,
.rm-comuna:focus,
.rm-comuna.is-active {
  fill: #ffffff;
  transform: scale(1.18);
}

.rm-marker {
  fill: #7ed9a6;
  stroke: var(--green-900);
  stroke-width: 0.012;
  pointer-events: none;
  transition: fill 0.2s ease, r 0.2s ease;
}

.rm-marker.is-active {
  fill: #ffffff;
  r: 0.08;
}

.rm-map-tooltip {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -145%);
  padding: 5px 11px;
  border-radius: 8px;
  background: var(--white);
  color: var(--green-900);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  z-index: 4;
}

.rm-map-tooltip.is-visible {
  opacity: 1;
}

.subsection-heading {
  max-width: 760px;
  margin-top: 72px;
}

.subsection-heading h3,
.green-maintenance h3 {
  font-size: clamp(1.55rem, 2.2vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
  margin-top: 24px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(21, 33, 28, 0.07);
  box-shadow: 0 14px 36px rgba(18, 54, 41, 0.09);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 90, 66, 0.18);
  box-shadow: 0 18px 44px rgba(18, 54, 41, 0.13);
}

.product-card-media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--green-100);
}

.product-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 54, 41, 0), rgba(18, 54, 41, 0.14));
  pointer-events: none;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-content {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 20px;
}

.product-card h3,
.product-card p {
  margin: 0;
}

.product-kicker {
  display: inline-block;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-summary {
  display: -webkit-box;
  min-height: 3.1em;
  overflow: hidden;
  overflow-wrap: break-word;
  font-size: 0.95rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.capacity-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  min-height: 64px;
  align-content: flex-start;
}

.capacity-chips span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(234, 243, 238, 0.88);
  border: 1px solid rgba(31, 90, 66, 0.12);
  color: var(--green-800);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: normal;
}

.product-detail-toggle {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(31, 90, 66, 0.2);
  border-radius: 999px;
  background: var(--green-900);
  color: var(--white);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.product-detail-toggle:hover,
.product-detail-toggle:focus-visible {
  background: var(--green-700);
  box-shadow: 0 10px 22px rgba(18, 54, 41, 0.16);
  transform: translateY(-1px);
}

.product-detail-toggle:focus-visible {
  outline: 3px solid rgba(31, 90, 66, 0.24);
  outline-offset: 2px;
}

.product-detail {
  padding-top: 12px;
  border-top: 1px solid rgba(21, 33, 28, 0.08);
}

.product-detail[hidden] {
  display: none;
}

.compact-list {
  padding: 0;
  margin: 0;
  color: var(--gray-700);
  list-style: none;
  font-size: 0.92rem;
  line-height: 1.52;
}

.compact-list li {
  position: relative;
  padding-left: 16px;
}

.compact-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-700);
}

.compact-list li + li {
  margin-top: 7px;
}

.green-maintenance {
  margin-top: 72px;
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 34px;
  align-items: start;
}

.green-maintenance-copy {
  position: static;
}

.green-maintenance .eyebrow {
  color: var(--green-700);
  font-size: 0.8rem;
}

.green-maintenance-copy .btn {
  margin-top: 10px;
}

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

.maintenance-grid article {
  padding: 0 0 0 18px;
  border-left: 3px solid rgba(31, 90, 66, 0.24);
}

.maintenance-grid p {
  margin-bottom: 0;
}

.operation-section {
  background: linear-gradient(180deg, rgba(244, 247, 245, 0.72), rgba(255, 255, 255, 0.94));
}

.operation-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.operation-item {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--green-100);
  border: 1px solid rgba(21, 33, 28, 0.07);
  box-shadow: 0 14px 34px rgba(18, 54, 41, 0.08);
}

.operation-item img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.operation-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 54, 41, 0) 44%, rgba(18, 54, 41, 0.74) 100%);
  opacity: 0.88;
  transition: opacity 0.2s ease;
}

.operation-item figcaption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 1;
  color: var(--white);
  font-weight: 800;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.operation-item:hover img {
  transform: scale(1.03);
}

.operation-item:hover::after {
  opacity: 1;
}

.contact-box {
  margin-top: 20px;
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--green-900);
  color: var(--white);
}

.contact-box span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.contact-box a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}

.contact-form {
  position: relative;
  padding: 30px;
  border-radius: 28px;
  background: var(--white);
  border: 1px solid rgba(21, 33, 28, 0.07);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}

.form-status {
  display: none;
  grid-column: 1 / -1;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 600;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  color: var(--green-900);
  background: var(--green-100);
  border: 1px solid rgba(31, 90, 66, 0.18);
}

.form-status.is-error {
  color: #7a1d1d;
  background: #fff1f1;
  border: 1px solid rgba(122, 29, 29, 0.18);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row-full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--green-900);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  background: #fcfdfc;
  color: var(--gray-950);
  padding: 14px 16px;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(31, 90, 66, 0.55);
  box-shadow: 0 0 0 4px rgba(31, 90, 66, 0.12);
}

.phone-input {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  background: #fcfdfc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.phone-input:focus-within {
  border-color: rgba(31, 90, 66, 0.55);
  box-shadow: 0 0 0 4px rgba(31, 90, 66, 0.12);
}

.phone-prefix {
  padding-left: 16px;
  color: var(--green-900);
  font-weight: 700;
  white-space: nowrap;
}

.phone-input input {
  border: 0;
  border-radius: 16px;
  background: transparent;
  padding-left: 8px;
  box-shadow: none;
}

.phone-input input:focus {
  box-shadow: none;
}

.phone-input:has(input.is-invalid) {
  border-color: #b42318;
  background: #fffafa;
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: #b42318;
  background: #fffafa;
}

input.is-invalid:focus,
select.is-invalid:focus,
textarea.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12);
}

.field-error {
  min-height: 1.2em;
  color: #b42318;
  font-size: 0.84rem;
  line-height: 1.35;
}

.field-help,
.field-counter {
  color: var(--gray-500);
  font-size: 0.82rem;
  line-height: 1.3;
}

.field-counter {
  align-self: flex-end;
  margin-top: -4px;
  font-weight: 700;
}

.field-counter.is-limit {
  color: #b42318;
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 22px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: var(--white);
  box-shadow: 0 12px 24px rgba(18, 54, 41, 0.18);
}

.btn-secondary {
  background: var(--white);
  color: var(--green-900);
  border-color: var(--gray-200);
}

.btn-outline {
  background: transparent;
  color: var(--green-900) !important;
  border-color: rgba(24, 66, 49, 0.18);
}

.btn-block {
  width: 100%;
  grid-column: 1 / -1;
}

.site-footer {
  padding: 30px 0 16px;
  border-top: 1px solid rgba(18, 54, 41, 0.12);
  background: #102019;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(220px, 0.78fr) minmax(180px, 0.58fr);
  gap: clamp(18px, 2.6vw, 26px);
  align-items: start;
  max-width: 980px;
}

.footer-column {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.footer-services {
  justify-self: center;
}

.footer-contact {
  justify-self: start;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
}

.footer-logo-frame {
  width: min(230px, 100%);
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-logo-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.footer-column p,
.footer-column a {
  color: rgba(238, 247, 242, 0.74);
}

.footer-column p,
.footer-column a {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.48;
}

.footer-title {
  width: fit-content;
  margin: 0 0 4px !important;
  color: var(--white) !important;
  font-size: 0.86rem !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-title-link {
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-title-link:hover {
  color: #7cc083 !important;
}

.footer-links a,
.footer-contact a {
  width: fit-content;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white) !important;
  font-weight: 800;
}

.phone-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  width: fit-content;
  margin-top: 4px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(124, 192, 131, 0.14);
  border: 1px solid rgba(124, 192, 131, 0.32);
  color: var(--white) !important;
  font-weight: 800;
  text-decoration: none;
}

.footer-cta:hover {
  background: #7cc083;
  border-color: #7cc083;
  color: var(--green-900) !important;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social-link:hover {
  background: #7cc083;
  border-color: #7cc083;
  color: var(--green-900);
  transform: translateY(-2px);
}

.site-footer svg,
.footer-social-icon {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px;
  max-height: 18px;
  display: block;
  flex: 0 0 auto;
  fill: currentColor;
}

.footer-social-icon rect,
.footer-social-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.footer-social-icon path {
  fill: currentColor;
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: rgba(238, 247, 242, 0.64);
  font-size: 0.82rem;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reveal {
  animation: fadeUp 0.7s ease both;
}

.hero-copy.reveal {
  animation-delay: 0.05s;
}

.hero-media.reveal {
  animation-delay: 0.12s;
}

.service-card.reveal:nth-child(2),
.about-media.reveal {
  animation-delay: 0.12s;
}

.service-card.reveal:nth-child(3) {
  animation-delay: 0.18s;
}

.service-card.reveal:nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .service-grid,
  .service-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .municipality-panel {
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
  }

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

  .municipality-visual {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(58vw, 430px);
    height: 220px;
    margin-top: -8px;
  }

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

  .green-maintenance {
    grid-template-columns: 1fr;
  }

  .green-maintenance-copy {
    position: static;
  }
}

@media (max-width: 900px) {
  .header-content {
    position: relative;
  }

  .brand-logo {
    width: 180px;
    max-width: min(180px, calc(100vw - 112px));
    height: 52px;
    max-height: 52px;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    border-radius: 22px;
    background: var(--white);
    border: 1px solid rgba(21, 33, 28, 0.08);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px 8px;
  }

  .site-nav a:not(.btn)::after {
    left: 8px;
    right: auto;
    bottom: 6px;
    width: 34px;
  }

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

  .hero-image-card {
    min-height: 360px;
    aspect-ratio: 16 / 10;
  }

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

  .municipality-panel,
  .maintenance-grid {
    grid-template-columns: 1fr;
  }

  .municipality-panel {
    gap: 22px;
    align-items: start;
  }

  .municipality-copy {
    max-width: 620px;
  }

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

  .municipality-visual {
    justify-self: center;
    width: min(76vw, 390px);
    height: 220px;
    margin: -6px auto -8px;
  }

  .presence-strip {
    grid-template-columns: minmax(0, 0.8fr) minmax(260px, 1fr);
  }

  .presence-copy {
    grid-column: 1 / -1;
  }

  .chile-map-card {
    min-height: 500px;
  }

  .chile-map-stage {
    height: 470px;
    width: min(100%, 245px);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .footer-services,
  .footer-contact {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 56px 0;
  }

  .section-shell {
    padding-top: 22px;
  }

  .page-hero {
    padding-top: 56px;
  }

  .hero.page-hero {
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .hero.page-hero .hero-copy {
    width: min(100%, 342px);
  }

  .hero.page-hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 9.4vw, 2.45rem);
    overflow-wrap: break-word;
  }

  .site-footer {
    padding: 28px 0 16px;
  }

  .brand-logo {
    width: 160px;
    max-width: min(160px, calc(100vw - 108px));
    height: 48px;
    max-height: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-logo-frame {
    width: min(220px, 100%);
    height: 64px;
    padding: 8px 10px;
  }

  .footer-column a,
  .footer-column p {
    font-size: 0.95rem;
  }

  .footer-social-link {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .service-grid,
  .service-summary-grid,
  .product-grid,
  .operation-gallery {
    grid-template-columns: 1fr;
  }

  .municipality-panel,
  .about-info-card,
  .presence-strip {
    padding: 22px;
  }

  .product-card-content {
    padding: 18px;
  }

  .capacity-chips {
    min-height: 0;
  }

  .municipality-panel {
    gap: 18px;
    padding-bottom: 20px;
  }

  .municipality-panel h3 {
    font-size: 1.38rem;
  }

  .municipality-panel p {
    line-height: 1.62;
  }

  .municipality-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
  }

  .municipality-list li {
    padding: 8px 0 8px 16px;
    font-size: 0.82rem;
  }

  .municipality-visual {
    width: min(86vw, 330px);
    height: 205px;
    margin: -4px auto -8px;
  }

  .municipality-visual img {
    max-height: 220px;
    transform: scale(1.7) translateY(-3%);
  }

  .service-card-body {
    padding: 22px;
  }

  .hero-image-card {
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 22px;
  }

  .about-collage {
    gap: 10px;
    padding: 10px;
    border-radius: 22px;
  }

  .about-collage img {
    border-radius: 14px;
  }

  .operation-item figcaption {
    font-size: 0.96rem;
  }

  .subsection-heading,
  .green-maintenance {
    margin-top: 56px;
  }

  .subsection-heading h3 {
    font-size: 1.48rem;
    overflow-wrap: break-word;
  }

  .presence-strip {
    grid-template-columns: 1fr;
  }

  .chile-map-card {
    min-height: 410px;
    border-radius: 18px;
    padding: 18px 10px;
  }

  .chile-map-stage {
    width: min(100%, 220px);
    height: 370px;
  }

  .map-links {
    display: none;
  }

  .coverage-panel {
    border-radius: 18px;
  }

  .coverage-header {
    display: none;
  }

  .coverage-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px;
  }

  h1 {
    font-size: clamp(2.1rem, 12vw, 3.2rem);
  }

  .hero-actions {
    width: 100%;
  }

  .about-cards-grid {
    grid-template-columns: 1fr;
  }

  .about-info-card {
    padding: 22px;
  }

  .value-card-grid {
    grid-template-columns: 1fr;
  }

  .btn,
  .btn-block {
    width: 100%;
  }

  .contact-form {
    padding: 22px;
  }
}
