/* ==========================================================================
   HÍDRICO AMBIENTAL - ESTILOS PRINCIPALES
   Identidad visual basada en los mockups:
   - Azul Marino Institucional: #0a2540 / #0e2f44
   - Verde Lima / Brote: #8dc63f / #9fd349
   - Verde Oliva / Territorio: #557c32
   - Fondo Suave / Arena / Papel: #fbfdfa / #f4f7f4
   - Curvas topográficas de fondo
   ========================================================================== */

:root {
  --color-navy: #0b2545;
  --color-navy-dark: #07192f;
  --color-navy-light: #133a68;
  --color-navy-muted: #486581;
  
  --color-lime: #8dc63f;
  --color-lime-bright: #9ee240;
  --color-lime-soft: #d2ebb0;
  --color-lime-bg: #f0f7ea;
  
  --color-olive: #5a8035;
  --color-olive-dark: #3f5d21;
  
  --color-sky: #70b3d8;
  --color-sky-soft: #e1f1f7;
  
  --color-bg-light: #fbfdfa;
  --color-bg-card: #ffffff;
  --color-border: #e2e8f0;
  --color-border-subtle: #edf2f7;
  
  --color-text: #243b53;
  --color-text-muted: #627d98;
  --color-text-light: #ffffff;
  
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(11, 37, 69, 0.05);
  --shadow-md: 0 8px 24px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 16px 40px rgba(11, 37, 69, 0.12);
  --shadow-floating: 0 10px 30px rgba(0, 0, 0, 0.2);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --header-height: 80px;
}

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg-light);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* SECTION COMMON STYLES */
.section {
  padding: 100px 0;
  position: relative;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-olive);
  display: block;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-title.with-bar::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background-color: var(--color-lime);
  border-radius: 2px;
  margin-top: 14px;
}

.text-green {
  color: var(--color-olive);
}

.text-lime {
  color: var(--color-lime);
}

/* BOTONES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-lime {
  background-color: var(--color-lime);
  color: var(--color-navy-dark);
  box-shadow: 0 4px 15px rgba(141, 198, 63, 0.35);
}

.btn-lime:hover {
  background-color: var(--color-lime-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(141, 198, 63, 0.45);
}

.btn-outline-white {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--color-navy);
  transform: translateY(-2px);
}

.btn-olive {
  background-color: var(--color-olive);
  color: #ffffff;
}

.btn-olive:hover {
  background-color: var(--color-olive-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(90, 128, 53, 0.3);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 20px 0;
}

.site-header.scrolled {
  background: rgba(11, 37, 69, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-symbol {
  width: 38px;
  height: 38px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.logo-text span {
  color: var(--color-lime);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-lime);
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   01 - HERO / PORTADA (SLIDER FULLSCREEN)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  background-color: var(--color-navy-dark);
}

/* Slides container */
.hero-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 6s cubic-bezier(0.1, 0, 0.2, 1);
  transform: scale(1.05);
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}

/* Overlays para garantizar legibilidad del texto sin oscurecer en exceso */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 25, 47, 0.88) 0%,
    rgba(7, 25, 47, 0.72) 40%,
    rgba(7, 25, 47, 0.25) 75%,
    rgba(7, 25, 47, 0.1) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to top, rgba(7, 25, 47, 0.7) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

/* Elementos gráficos de marca en el hero (círculos orgánicos sutiles) */
.hero-brand-shape {
  position: absolute;
  right: -5%;
  bottom: -15%;
  width: 600px;
  height: 600px;
  pointer-events: none;
  z-index: 3;
  opacity: 0.85;
}

/* Fixed Hero Content Overlay */
.hero-content-wrapper {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-text-container {
  max-width: 640px;
  padding-top: 40px;
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 14px;
}

.hero-title .title-accent {
  color: var(--color-lime);
  display: block;
}

.hero-line-bar {
  width: 54px;
  height: 4px;
  background-color: var(--color-lime);
  border-radius: 2px;
  margin-bottom: 22px;
}

.hero-tagline {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 18px;
}

.hero-description {
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Slider Controls (Bottom Left) */
.hero-controls {
  position: absolute;
  bottom: 40px;
  left: 24px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 1240px) {
  .hero-controls {
    left: calc((100vw - 1240px) / 2 + 24px);
  }
}

.hero-indicators {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-indicator {
  height: 4px;
  width: 18px;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.hero-indicator.active {
  width: 36px;
  background-color: var(--color-lime);
}

.hero-arrows {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-arrow-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.hero-arrow-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: var(--color-lime);
}

.slide-badge {
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

/* ==========================================================================
   02 - QUIÉNES SOMOS (REDESIGN SEGÚN MOCKUP media_1791835362594.png)
   ========================================================================== */
.about-section {
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 100px 0 90px;
}

.about-grid-redesign {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.about-left-col {
  display: flex;
  flex-direction: column;
}

.about-lead-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.55;
  margin-bottom: 16px;
}

.about-secondary-text {
  font-size: 0.95rem;
  color: var(--color-navy-muted);
  line-height: 1.65;
  margin-bottom: 34px;
}

/* 4 Pilares con iconos y separadores verticales */
.about-pillars-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 0 26px;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  margin-bottom: 28px;
}

.about-pillar-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.pillar-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  color: var(--color-olive);
}

.pillar-icon svg {
  width: 26px;
  height: 26px;
}

.pillar-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--color-navy);
  text-transform: uppercase;
  line-height: 1.25;
}

.about-pillar-divider {
  width: 1px;
  height: 36px;
  background-color: var(--color-border);
}

/* Bloque destacado con macro de hoja */
.about-highlight-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  height: 90px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.about-highlight-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-lime);
}

.highlight-card-text {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.highlight-leaf-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-lime-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-leaf-icon svg {
  width: 20px;
  height: 20px;
}

.highlight-card-divider {
  width: 2px;
  height: 38px;
  background-color: var(--color-lime);
  flex-shrink: 0;
}

.highlight-card-text p {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.4;
}

.highlight-card-image {
  overflow: hidden;
  position: relative;
  min-height: 90px;
  height: 100%;
}

.highlight-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-highlight-card:hover .highlight-card-image img {
  transform: scale(1.06);
}

/* 2 Fotos apiladas a la derecha */
.about-stacked-photos {
  display: flex;
  flex-direction: column;
  gap: 110px;
}

.stacked-photo-item {
  width: 100%;
  height: 235px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  border: 1px solid var(--color-border-subtle);
}

.stacked-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

/* ==========================================================================
   03 - ¿QUÉ HACEMOS? (REDESIGN SEGÚN MOCKUP media_1791835362555.jpg)
   ========================================================================== */
.what-we-do-section {
  background-color: var(--color-bg-light);
  position: relative;
  padding: 90px 0 100px;
  overflow: hidden;
}

/* Banner de cabecera con fotografía y gradiente a la izquierda */
.what-hero-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  min-height: 280px;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-subtle);
}

.what-banner-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
}

.what-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.98) 35%,
    rgba(255, 255, 255, 0.75) 40%,
    rgba(255, 255, 255, 0.1) 100%
  );
  z-index: 1;
}

.what-banner-content {
  position: relative;
  z-index: 2;
  padding: 40px 50px;
  max-width: 620px;
}

.what-banner-content .section-title {
  margin-bottom: 12px;
}

.what-banner-desc {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.5;
}

/* Gráfica decorativa de la marca en la esquina del banner */
.what-brand-curve {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 240px;
  height: 240px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.8;
}

/* Grilla de 8 Capacidades (2 filas x 4 columnas de tarjetas horizontales) */
.capacities-matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 35px;
}

.cap-h-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  cursor: default;
}

.cap-h-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-lime);
  box-shadow: var(--shadow-md);
}

.cap-h-num {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-olive);
  flex-shrink: 0;
}

.cap-h-info {
  flex: 1;
}

.cap-h-info h4 {
  font-size: 0.925rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.3;
  margin-bottom: 4px;
}

.cap-h-info p {
  font-size: 0.8rem;
  color: var(--color-navy-muted);
  line-height: 1.45;
}

.cap-h-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy-muted);
  flex-shrink: 0;
  transition: var(--transition);
}

.cap-h-arrow svg {
  width: 13px;
  height: 13px;
}

.cap-h-card:hover .cap-h-arrow {
  background: var(--color-lime);
  color: var(--color-navy-dark);
  transform: translateX(2px);
}

/* Barra de Cierre / Footer de Capacidades */
.capacities-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
  background: transparent;
  border-top: 1px solid var(--color-border);
}

.capacities-footer-text {
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-dash {
  color: var(--color-olive);
  font-weight: 800;
  margin-right: 4px;
}

.footer-part1 {
  color: var(--color-navy);
}

.footer-part2 {
  color: var(--color-olive);
}

.btn-capacities {
  padding: 11px 24px;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ==========================================================================
   04 - CÓMO TRABAJAMOS (PROCESO)
   ========================================================================== */
.how-we-work-section {
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Topographic background pattern */
.topography-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg width='1200' height='600' viewBox='0 0 1200 600' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M-100 450C150 420 300 520 600 480C900 440 1050 560 1300 510' stroke='%238dc63f' stroke-width='1.2' stroke-opacity='0.25'/%3E%3Cpath d='M-100 480C150 450 300 550 600 510C900 470 1050 590 1300 540' stroke='%238dc63f' stroke-width='1.2' stroke-opacity='0.2'/%3E%3Cpath d='M-100 510C150 480 300 580 600 540C900 500 1050 620 1300 570' stroke='%238dc63f' stroke-width='1.2' stroke-opacity='0.15'/%3E%3Cpath d='M-100 540C150 510 300 610 600 570C900 530 1050 650 1300 600' stroke='%238dc63f' stroke-width='1.2' stroke-opacity='0.1'/%3E%3Cpath d='M-100 570C150 540 300 640 600 600C900 560 1050 680 1300 630' stroke='%238dc63f' stroke-width='1.2' stroke-opacity='0.08'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
}

.brand-curve-top-right {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 320px;
  height: 320px;
  pointer-events: none;
  opacity: 0.6;
}

.how-header-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: flex-end;
  margin-bottom: 60px;
}

.how-lead-block {
  border-left: 3px solid var(--color-lime);
  padding-left: 24px;
}

.how-lead-block h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.4;
  margin-bottom: 10px;
}

.how-lead-block p {
  font-size: 0.95rem;
  color: var(--color-navy-muted);
  line-height: 1.6;
}

/* Process Timeline */
.process-timeline-wrap {
  position: relative;
  margin: 60px 0 70px 0;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
}

/* Conector horizontal */
.process-connector-line {
  position: absolute;
  top: 22px;
  left: 35px;
  right: 35px;
  height: 2px;
  background-color: #cbd5e1;
  z-index: 1;
}

.step-card {
  position: relative;
  z-index: 2;
  text-align: left;
}

.step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--color-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-olive);
  margin-bottom: 24px;
  box-shadow: 0 0 0 4px #ffffff;
  transition: var(--transition);
}

.step-card:hover .step-circle {
  background: var(--color-lime);
  color: var(--color-navy);
  transform: scale(1.1);
}

.step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--color-navy-muted);
  line-height: 1.55;
}

.step-arrow-subtle {
  position: absolute;
  top: 15px;
  right: -12px;
  color: #94a3b8;
  font-size: 0.85rem;
  z-index: 3;
}

/* Cierre destacado */
.how-cierre {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid var(--color-border-subtle);
}

.how-cierre-text {
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: var(--color-navy);
}

.how-cierre-text span {
  color: var(--color-olive);
}

/* ==========================================================================
   05 - EXPERIENCIA (SEGÚN MOCKUP media_1791834257645.jpg)
   ========================================================================== */
.experience-section {
  background-color: #fbfdfa;
  position: relative;
  overflow: hidden;
  padding: 100px 0 200px;
}

/* Background con experiencia1.jpg en la parte superior */
.exp-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 520px;
  z-index: 1;
  pointer-events: none;
}

.exp-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.exp-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #fbfdfa 0%,
    rgba(251, 253, 250, 0.98) 42%,
    rgba(251, 253, 250, 0.72) 55%,
    rgba(251, 253, 250, 0.15) 65%,
    rgba(251, 253, 250, 0) 100%
  ),
  linear-gradient(
    to bottom,
    transparent 100%,
    #fbfdfa 100%
  );
}

.exp-content-wrapper {
  position: relative;
  z-index: 2;
}

.exp-header-block {
  max-width: 640px;
  margin-bottom: 50px;
}

.exp-header-block p {
  font-size: 1rem;
  color: var(--color-navy-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* 4 Cards de Experiencia */
.exp-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.exp-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-subtle);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.exp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.exp-card-media {
  width: 100%;
  height: 170px;
  overflow: hidden;
  position: relative;
}

.exp-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.exp-card:hover .exp-card-media img {
  transform: scale(1.06);
}

.exp-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.exp-card-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.exp-card-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-olive);
}

.exp-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.3;
}

.exp-card-desc {
  font-size: 0.85rem;
  color: var(--color-navy-muted);
  line-height: 1.5;
}

/* ==========================================================================
   06 - TERRITORIO E INDUSTRIA (REDESIGN SEGÚN MOCKUP media_1791835362599.jpg)
   ========================================================================== */
.territory-section {
  position: relative;
  overflow: hidden;
  padding: 110px 0 90px;
  background-color: #fbfdfa;
}

/* Imagen de fondo a pantalla completa con gradiente suave hacia la izquierda */
.territory-bg-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.territory-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.territory-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.98) 28%,
    rgba(255, 255, 255, 0.78) 45%,
    rgba(255, 255, 255, 0.15) 55%,
    rgba(255, 255, 255, 0) 100%
  ),
  linear-gradient(
    to bottom,
    transparent 60%,
    #fbfdfa 100%
  );
  z-index: 2;
}

.territory-brand-shape {
  position: absolute;
  right: -60px;
  top: 15%;
  width: 480px;
  height: 480px;
  pointer-events: none;
  z-index: 3;
  opacity: 0.85;
}

.territory-content-wrapper {
  position: relative;
  z-index: 10;
}

.territory-header-block {
  max-width: 680px;
  margin-bottom: 70px;
}

.territory-header-block .section-title {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

.territory-header-block p {
  font-size: 0.975rem;
  color: var(--color-navy-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.territory-header-block p strong {
  color: var(--color-navy);
  font-weight: 700;
}

/* 3 Sectores en fila horizontal con líneas divisorias verticales */
.territory-sectors-inline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: flex-start;
  gap: 32px;
  padding-top: 30px;
  max-width: 1100px;
}

.territory-sector-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.sector-outline-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sector-outline-icon svg {
  width: 38px;
  height: 38px;
  stroke: var(--color-navy);
}

.sector-item-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.sector-item-body p {
  font-size: 0.85rem;
  color: var(--color-navy-muted);
  line-height: 1.5;
}

.territory-sector-divider {
  width: 1px;
  height: 70px;
  background-color: var(--color-border);
}

/* ==========================================================================
   07 - ¿POR QUÉ HÍDRICO AMBIENTAL?
   ========================================================================== */
.why-us-section {
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.why-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.why-lead-text p {
  font-size: 0.95rem;
  color: var(--color-navy-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.why-subtitle {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-olive);
  margin-bottom: 30px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.pillar-col {
  position: relative;
  padding-top: 18px;
  border-top: 2px solid var(--color-border);
  transition: var(--transition);
}

.pillar-col:hover {
  border-top-color: var(--color-lime);
}

.pillar-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-olive);
  margin-bottom: 12px;
}

.pillar-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  line-height: 1.35;
}

.pillar-desc {
  font-size: 0.875rem;
  color: var(--color-navy-muted);
  line-height: 1.6;
}

.why-cierre {
  padding-top: 30px;
  border-top: 2px solid var(--color-border-subtle);
}

.why-cierre-text {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 800;
  color: var(--color-navy);
}

.why-cierre-text span {
  color: var(--color-olive);
}

/* ==========================================================================
   08 - CONTACTO & FOOTER
   ========================================================================== */
.contact-section {
  background-color: var(--color-bg-light);
  background-image: url('../assets/images/territorioeindustria.png');
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  padding-top: 110px;
  padding-bottom: 0;
  overflow: hidden;
}

#contacto > .container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.84) 0%,
    rgba(255, 255, 255, 0.72) 16%,
    rgba(255, 255, 255, 0.32) 38%,
    rgba(255, 255, 255, 0.08) 100%);
  pointer-events: none;
  z-index: 0;
}

.contact-card {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  border: none;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  position: relative;
  z-index: 1;
  margin-bottom: 50px;
  min-height: 610px;
}

.contact-content {
  padding: 20px 0 20px 0;
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.contact-section .section-tag {
  color: #7e9bb1;
  letter-spacing: 0.22rem;
  margin-bottom: 24px;
}

.contact-section .section-title {
  font-size: clamp(3rem, 4.6vw, 6rem);
  line-height: 0.9;
  margin-bottom: 24px;
}

.contact-section .section-title.with-bar::after {
  width: 72px;
  height: 3px;
  margin-top: 18px;
}

.contact-text-lead {
  font-size: clamp(1.25rem, 2vw, 2.5rem);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 10px;
  line-height: 1.2;
}

.contact-text-desc {
  font-size: 1.05rem;
  color: var(--color-navy-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 510px;
}

.contact-button {
  width: min(100%, 410px);
  justify-content: center;
  padding: 12px 24px;
  min-height: 42px;
  font-size: 1.1rem;
  letter-spacing: 0.08rem;
}


/* Info Bar & Footer */
.footer-info-bar {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  padding: 40px 0;
}

.footer-info-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr) 1fr;
  gap: 30px;
  align-items: center;
}

.footer-info-grid > div:nth-child(4) {
  width: calc(100% + 50px);
  justify-self: start;
}

.footer-brand h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--color-navy-muted);
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--color-lime-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-olive);
  flex-shrink: 0;
}

.footer-item-icon svg {
  width: 18px;
  height: 18px;
}

.footer-item-text label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-navy-muted);
  letter-spacing: 0.5px;
}

.footer-item-text a,
.footer-item-text span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-navy);
}

.footer-item-text a:hover {
  color: var(--color-olive);
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
}

.footer-social-image {
  display: block;
  width: 100px;
  height: auto;
  max-height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(12, 35, 44, 0.08));
}

.footer-bottom-copy {
  padding: 24px 0;
  background-color: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  text-align: center;
}

/* ==========================================================================
   BOTÓN FLOTANTE - WHATSAPP
   ========================================================================== */
.whatsapp-floating {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  position: relative;
  text-decoration: none;
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

/* Pulso animado */
.whatsapp-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background-color: rgba(37, 211, 102, 0.5);
  animation: wa-pulse 2s infinite;
  z-index: -1;
}

@keyframes wa-pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.whatsapp-tooltip {
  background: var(--color-navy);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: var(--transition);
}

.whatsapp-floating:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-photo-composition {
    grid-template-rows: repeat(12, 30px);
    max-width: 580px;
  .about-grid-redesign {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .capacities-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 20px;
  }

  .process-connector-line {
    display: none;
  }

  .exp-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .territory-sectors-inline {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .territory-sector-divider {
    display: none;
  }

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

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

  .site-header {
    padding: 16px 0;
  }

  .about-pillars-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .about-pillar-divider {
    display: none;
  }

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

  .about-highlight-card .highlight-card-image {
    height: 120px;
  }

  .capacities-matrix-grid {
    grid-template-columns: 1fr;
  }

  .capacities-footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--color-navy-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 40px;
    gap: 20px;
    transition: right 0.4s ease;
    z-index: 1001;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.4);
  }

  .nav-links.open {
    right: 0;
  }

  .mobile-menu-toggle {
    display: block;
    z-index: 1002;
  }

  .nav-cta .btn {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-controls {
    bottom: 24px;
    left: 20px;
  }

  .how-header-grid,
  .exp-header-grid,
  .why-header,
  .contact-card {
    grid-template-columns: 1fr;
  }

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

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

  .process-steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .step-arrow-subtle {
    display: none;
  }

  .footer-info-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-tooltip {
    display: none;
  }
  
  .whatsapp-floating {
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-btn {
    width: 52px;
    height: 52px;
  }
  
  .whatsapp-btn svg {
    width: 28px;
    height: 28px;
  }
}}