/* ==========================================================================
   HÍDRICO AMBIENTAL - ESTILOS PRINCIPALES
   Identidad visual basada en los mockups:
  - Azul: #004A81
  - Verde claro: #BCD46B
  - Verde oscuro: #0E2D00
  - Celeste: #C5E6F4
   - Fondo Suave / Arena / Papel: #fbfdfa / #f4f7f4
   - Curvas topográficas de fondo
   ========================================================================== */

:root {
  --color-navy: #004A81;
  --color-navy-dark: #07192f;
  --color-navy-light: #004A81;
  --color-navy-muted: #004A81;
  
  --color-lime: #BCD46B;
  --color-lime-bright: #C9DF83;
  --color-lime-soft: #d2ebb0;
  --color-lime-bg: #f0f7ea;
  
  --color-olive: #0E2D00;
  --color-olive-dark: #0E2D00;
  
  --color-sky: #C5E6F4;
  --color-sky-soft: #e1f1f7;
  
  --color-bg-light: #fbfdfa;
  --color-bg-card: #ffffff;
  --color-border: #e2e8f0;
  --color-border-subtle: #edf2f7;
  
  --color-text: #004A81;
  --color-text-muted: #0E2D00;
  --color-text-light: #ffffff;
  
  --font-main: 'Geist', system-ui, sans-serif;
  --font-heading: 'SUSE', 'Geist', 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;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

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-lime);
}

.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-lime);
  color: var(--color-navy-dark);
}

.btn-olive:hover {
  background-color: var(--color-lime-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(188, 212, 107, 0.3);
}

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

.site-header.scrolled {
  background: #004A81;
  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;
}

.brand-logo-image {
  width: 220px;
  height: 56px;
  object-fit: cover;
  object-position: center 55%;
}

.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: 20px;
}

.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;
}

@media (min-width: 1025px) {
  .header-container {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: clamp(16px, 2vw, 36px);
    max-width: none;
    padding-right: clamp(32px, 4vw, 76px);
    padding-left: clamp(32px, 4vw, 76px);
  }

  .brand-logo {
    justify-self: start;
  }

  .nav-links {
    justify-content: center;
    gap: clamp(6px, 0.7vw, 12px);
    min-width: 0;
  }

  .nav-links a {
    font-size: clamp(0.68rem, 0.82vw, 0.9rem);
    white-space: nowrap;
  }

  .nav-cta {
    justify-self: end;
  }
}

.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 calc(50% + var(--parallax-offset, 0px));
}

.hero-slide-first {
  background-image: url('../assets/images/hero_slide1.webp');
}

@media (min-width: 769px) {
  .hero-slide-first {
    background-image: url('../assets/images/desktopbanner.webp');
  }
}

.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%;
  transform: translate3d(0, var(--parallax-offset, 0px), 0) scale(1.24);
}

.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;
}

#capacidades {
  scroll-margin-top: 100px;
}

.capacities-matrix-grid {
  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: #BCD46B;
}

.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;
}

.how-we-work-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/hidricoambientalbg2.webp') center / cover no-repeat;
  background-position: center calc(50% + var(--parallax-offset, 0px));
  opacity: 0.03;
  pointer-events: none;
}

.how-we-work-section > .container {
  position: relative;
  z-index: 1;
}

/* 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: center calc(100% + var(--parallax-offset, 0px));
  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: 1rem;
  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 {
  margin: 60px 0 70px;
}

.process-cycle-diagram {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 620px;
  margin: 0 auto;
}

.process-cycle-wheel {
  position: absolute;
  inset: 0;
  z-index: 2;
  user-select: none;
}

.process-cycle-diagram:focus-visible {
  outline: 3px solid rgba(0, 74, 129, 0.35);
  outline-offset: 6px;
}

.process-cycle-ring {
  position: absolute;
  width: min(48%, 480px);
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  overflow: visible;
}

.process-cycle-image {
  display: none;
  position: absolute;
  width: min(21.6%, 216px);
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  object-fit: cover;
}

.process-cycle-ring .process-cycle-path {
  fill: none;
  stroke: #b9d36b;
  stroke-width: 2.5;
}

.process-cycle-ring marker path {
  fill: #b9d36b;
  stroke: none;
}

.process-cycle-center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border: 8px solid rgba(0, 74, 129, 0.08);
  border-radius: 50%;
  display: grid;
  place-content: center;
  color: var(--color-navy);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.process-steps-grid {
  position: absolute;
  inset: 0;
}

.step-card {
  position: absolute;
  z-index: 2;
  width: 26%;
  text-align: left;
}

.step-card-1 {
  top: 74px;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  text-align: center;
}

.step-card-2 {
  top: 29%;
  right: 8%;
}

.step-card-3 {
  right: 8%;
  bottom: 16%;
}

.step-card-4 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  text-align: center;
}

.step-card-5 {
  bottom: 16%;
  left: 8%;
  text-align: right;
  --step-angle: 150deg;
}

.step-card-6 {
  top: 29%;
  left: 8%;
  text-align: right;
  --step-angle: 210deg;
}

.step-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.step-card-1 .step-heading,
.step-card-4 .step-heading {
  flex-direction: column;
  gap: 4px;
}

.step-card-5 .step-heading,
.step-card-6 .step-heading {
  flex-direction: row-reverse;
}

.step-circle {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #b9d36b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-olive);
  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: 0;
}

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

.process-steps-grid {
  position: absolute;
  inset: 0;
}

.step-card,
.step-card-1,
.step-card-2,
.step-card-3,
.step-card-4,
.step-card-5,
.step-card-6 {
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  width: min(calc(26% + 320px), 240px);
  padding: 12px;
  text-align: center;
  transform: translate(-50%, -50%) rotate(calc(var(--step-angle, -90deg) + var(--process-wheel-angle, 0deg))) translateY(calc(-1 * var(--process-step-radius, min(21.5vw, 236px)))) rotate(calc(0deg - var(--step-angle, -90deg) - var(--process-wheel-angle, 0deg)));
  transition: transform 600ms cubic-bezier(0.2, 0.75, 0.25, 1), opacity 400ms ease, visibility 0s;
}

.step-heading,
.step-card-1 .step-heading,
.step-card-4 .step-heading,
.step-card-5 .step-heading,
.step-card-6 .step-heading {
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
  justify-content: center;
}

.step-card-5 .step-heading,
.step-card-6 .step-heading {
  flex-direction: column;
}

.process-cycle-mobile {
  display: none;
}

.process-orbit-controls {
  position: absolute;
  z-index: 4;
  top: calc(50% + 86px);
  left: 50%;
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 0;
  transform: translateX(-50%);
}

.process-orbit-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: #ffffff;
  color: var(--color-navy);
  cursor: pointer;
  transition: var(--transition);
}

.process-orbit-arrow:hover,
.process-orbit-arrow:focus-visible {
  border-color: var(--color-lime);
  background: var(--color-lime);
}

.process-orbit-arrow:disabled {
  opacity: 0.5;
  cursor: wait;
}

.process-orbit-arrow svg {
  width: 20px;
  height: 20px;
}

.process-orbit-arrow:focus-visible {
  outline: 3px solid rgba(0, 74, 129, 0.35);
  outline-offset: 3px;
}

.process-mobile-count {
  display: none;
}

/* 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: #BCD46B;
}

@media (min-width: 1025px) {
  .how-we-work-section {
    padding-top: clamp(96px, 11vh, 132px);
  }

  .how-we-work-section > .container {
    display: grid;
    grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
    grid-template-rows: auto auto auto;
    column-gap: clamp(32px, 6vw, 88px);
    row-gap: clamp(16px, 3vh, 28px);
  }

  .how-header-grid {
    display: contents;
  }

  .how-header-grid > div:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  .how-lead-block {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    transform: none;
  }

  .process-cycle-ring {
    display: none;
  }

  .process-cycle-image {
    display: block;
    width: calc(min(21.6%, 216px) - 50px);
    top: calc(50% + 20px);
  }

  .process-timeline-wrap {
    grid-column: 2;
    grid-row: 1 / 3;
    min-width: 0;
    margin: 0;
    align-self: center;
  }

  .process-cycle-diagram {
    height: clamp(420px, 62vh, 470px);
  }

  .process-cycle-center {
    top: calc(50% + 20px);
    width: 110px;
    height: 110px;
  }

  .process-cycle-wheel > .process-steps-grid {
    transform: translateY(24px);
  }

  .step-card,
  .step-card-1,
  .step-card-2,
  .step-card-3,
  .step-card-4,
  .step-card-5,
  .step-card-6 {
    --process-step-radius: clamp(170px, 15vw, 190px);
    padding: 8px;
  }

  .step-heading,
  .step-card-1 .step-heading,
  .step-card-4 .step-heading,
  .step-card-5 .step-heading,
  .step-card-6 .step-heading {
    gap: 5px;
    margin-bottom: 6px;
  }

  .step-circle {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .step-title {
    font-size: 0.95rem;
  }

  .step-desc {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .process-orbit-controls {
    top: calc(50% + 85px);
  }

  .how-cierre {
    position: relative;
    grid-column: 1;
    grid-row: 3;
    align-self: end;
    justify-self: start;
    left: auto;
    bottom: auto;
    width: max-content;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .how-cierre-text {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    padding-left: 0;
    white-space: nowrap;
  }
}

/* ==========================================================================
   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;
}

@media (min-width: 1025px) {
  .exp-bg-wrapper {
    height: 700px;
  }
}

.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: 28px;
}

.exp-description {
  position: relative;
}

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

.exp-description.is-collapsed {
  max-height: var(--exp-collapsed-height);
  overflow: hidden;
}

.exp-description.is-collapsed::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3rem;
  background: linear-gradient(transparent, #fbfdfa);
  pointer-events: none;
}

.exp-read-more {
  display: inline-flex;
  margin-top: 2px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-navy);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.exp-read-more[hidden] {
  display: none;
}

.exp-read-more:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 4px;
}

/* 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;
  transform: translate3d(0, var(--parallax-offset, 0px), 0) scale(1.12);
}

.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-us-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/hidricoambientalwp.webp') center / cover no-repeat;
  background-position: center calc(50% + var(--parallax-offset, 0px));
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

.why-us-section > .container {
  position: relative;
  z-index: 1;
}

.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;
}

@media (min-width: 1025px) {
  .why-lead-text {
    padding-top: 30px;
  }
}

.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: #BCD46B;
}

/* ==========================================================================
   08 - CONTACTO & FOOTER
   ========================================================================== */
.contact-section {
  background-color: var(--color-bg-light);
  background-image: url('../assets/images/hidricocontacto.webp');
  background-position: right calc(50% + var(--parallax-offset, 0px));
  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) 50%,
    rgba(255, 255, 255, 0) 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);
  letter-spacing: 0.08rem;
}


/* Info Bar & Footer */
.footer-info-bar {
.contact-section::before {
  content: '';
  position: absolute;
  inset: 0 0 0 45%;
  background: url('../assets/images/hidricocontacto2.webp') right center / cover no-repeat;
  pointer-events: none;
}

  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: minmax(180px, 1.4fr) minmax(280px, 1.9fr) minmax(190px, 1.3fr) minmax(190px, 1.3fr) minmax(200px, 1.3fr);
  gap: 16px;
  align-items: center;
}

.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 {
  min-width: 0;
}

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

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

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

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.footer-social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #edf5e8;
  color: #111111;
  transition: var(--transition);
}

.footer-social-link:hover .footer-social-icon {
  background: #dcebd2;
}

.footer-social-link:focus-visible {
  outline: 3px solid var(--color-lime);
  outline-offset: 3px;
  border-radius: 4px;
}

.footer-social-icon svg {
  width: 22px;
  height: 22px;
}

.footer-social-link:hover .footer-item-text span {
  color: var(--color-olive);
}

.footer-bottom-copy {
  position: relative;
  z-index: 3;
  padding: 24px 0;
  background: linear-gradient(90deg, var(--color-sky) 0%, var(--color-lime) 100%);
  color: var(--color-navy);
  font-size: 0.8rem;
}

.footer-bottom-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer-brochure-button {
  justify-self: start;
  padding: 10px 18px;
  font-size: 0.75rem;
  box-shadow: 0 4px 12px rgba(17, 41, 58, 0.24);
}

.footer-brochure-button:hover {
  box-shadow: 0 7px 18px rgba(17, 41, 58, 0.3);
}

.footer-copyright-text {
  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: 1200px) {
  .footer-info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@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-cycle-diagram {
    height: 560px;
  }

  .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-bg-overlay {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.88) 0%,
      rgba(255, 255, 255, 0.68) 55%,
      rgba(255, 255, 255, 0.32) 100%
    );
  }

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

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

@media (max-width: 768px) {
  .hero-slide-first {
    background-position: 65% center;
  }

  .hero-slide:nth-child(4) {
    background-position: 65% center;
  }

  #que-hacemos {
    scroll-margin-top: 76px;
  }

  #capacidades {
    scroll-margin-top: 76px;
  }

  .section {
    padding: 70px 0;
  }

  .contact-section {
    padding-bottom: 0;
    background-image: url('../assets/images/hidricocontacto2.webp');
  }

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

  .brand-logo-image {
    width: 170px;
    height: 44px;
  }

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

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

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

  .about-highlight-card .highlight-card-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .about-stacked-photos {
    gap: 16px;
  }

  .stacked-photo-item {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .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: 16px;
    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;
    gap: 12px;
    margin-bottom: 80px;
  }

  .hero-description {
    margin-bottom: 20px;
  }

  .hero-buttons .btn {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 16px;
    gap: 7px;
    font-size: 0.78rem;
  }

  .hero-buttons .btn svg {
    width: 16px;
    height: 16px;
  }

  .hero-buttons .hero-solutions-btn {
    letter-spacing: 0;
    white-space: nowrap;
  }

  .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-cycle-diagram {
    height: auto;
    padding-top: 230px;
  }

  .process-orbit-controls {
    display: none;
  }

  .process-cycle-wheel {
    display: contents;
    transform: none;
  }

  .process-cycle-ring {
    display: block;
    width: 210px;
    left: 50%;
    top: 112px;
    transform: translate(-50%, -50%) rotate(var(--process-rotation, 0deg));
    transform-origin: center;
    transition: transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1);
  }

  .process-cycle-center {
    display: grid;
    top: 112px;
    width: 96px;
    height: 96px;
    border-width: 6px;
    font-size: 0.7rem;
  }

  .process-cycle-center-label {
    display: none;
  }

  .process-mobile-count {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
  }

  .process-mobile-count small {
    display: block;
    margin-top: 7px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
  }

  .process-steps-grid {
    position: relative;
    display: block;
    min-height: 150px;
  }

  .step-card,
  .step-card-1,
  .step-card-2,
  .step-card-3,
  .step-card-4,
  .step-card-5,
  .step-card-6 {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
    text-align: left;
  }

  .step-card {
    display: none;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
  }

  .step-card.active {
    display: block;
    animation: process-step-enter 350ms ease both;
  }

  .step-heading,
  .step-card-1 .step-heading,
  .step-card-4 .step-heading,
  .step-card-5 .step-heading,
  .step-card-6 .step-heading {
    flex-direction: row;
    gap: 12px;
  }

  .step-circle {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .step-title {
    font-size: 1.25rem;
  }

  .step-desc {
    font-size: 0.95rem;
  }

  .process-cycle-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 20px;
  }

  .process-step-arrow {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: #fff;
    color: var(--color-navy);
    cursor: pointer;
    transition: var(--transition);
  }

  .process-step-arrow:hover,
  .process-step-arrow:focus-visible {
    border-color: var(--color-lime);
    background: var(--color-lime);
  }

  .process-step-arrow svg {
    width: 20px;
    height: 20px;
  }

  .process-step-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
  }

  .process-step-indicator {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #cbd5df;
    cursor: pointer;
    transition: var(--transition);
  }

  .process-step-indicator.active {
    width: 24px;
    background: var(--color-lime);
  }

  .process-step-arrow:focus-visible,
  .process-step-indicator:focus-visible {
    outline: 3px solid rgba(0, 74, 129, 0.35);
    outline-offset: 3px;
  }

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

  .footer-bottom-content {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
  }

  .footer-brochure-button {
    justify-self: center;
  }

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

@keyframes process-step-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-height: 720px) {
  .hero-content-wrapper {
    align-items: flex-start;
    box-sizing: border-box;
    padding-top: calc(var(--header-height) + 24px);
  }

  .hero-text-container {
    padding-top: 0;
  }

  .hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    margin-bottom: 10px;
  }

  .hero-tagline {
    margin-bottom: 12px;
  }

  .hero-description {
    margin-bottom: 20px;
  }

  .hero-buttons {
    margin-bottom: 0;
  }

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

@media (prefers-reduced-motion: reduce) {
  .step-card {
    transition: none;
  }

  .process-cycle-ring {
    transition: none;
  }

  .step-card.active {
    animation: none;
  }
}