/* ==========================================================================
   ALBERCAS DEL ISTMO / SWIMAR - HOJA DE ESTILOS PREMIUM
   Paleta Institucional:
   - Azul Istmo: #01325A (25%)
   - Turquesa SWIMAR: #00B4C3 (10%)
   - Blanco: #FFFFFF (60%)
   - Turquesa claro: #DDF7F9
   - Azul muy claro: #EAF2F7 (5% tonos claros)
   - Azul carbón: #172B3A (texto)
   ========================================================================== */

:root {
  --color-primary: #01325A;       /* Azul Istmo */
  --color-primary-dark: #00213d;  /* Azul Istmo Profundo */
  --color-primary-light: #064b82; /* Azul Istmo Suave */
  --color-accent: #00B4C3;        /* Turquesa SWIMAR */
  --color-accent-hover: #0093a0;  /* Turquesa hover */
  --color-accent-glow: rgba(0, 180, 195, 0.4);
  --color-white: #FFFFFF;         /* Blanco 60% */
  --color-bg-light: #F8FAFC;      /* Fondo neutro suave */
  --color-bg-turquoise: #DDF7F9;  /* Turquesa claro */
  --color-bg-blue: #EAF2F7;       /* Azul muy claro */
  --color-text-dark: #172B3A;     /* Azul carbón */
  --color-text-muted: #4A6375;    /* Texto secundario */
  --color-border: #D2E3EE;        /* Bordes sutiles */
  
  --font-heading: 'Montserrat', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 2px 8px rgba(1, 50, 90, 0.06);
  --shadow-md: 0 8px 24px rgba(1, 50, 90, 0.09);
  --shadow-lg: 0 16px 40px rgba(1, 50, 90, 0.14);
  --shadow-glow: 0 0 25px rgba(0, 180, 195, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --header-height: 94px;
}

/* Reset y base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-dark);
  background-color: var(--color-white);
  overflow-x: hidden;
  position: relative;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

ul, ol {
  list-style: none;
}

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

/* Tipografía de Títulos */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.25;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent-hover);
  background-color: var(--color-bg-turquoise);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--color-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Botones y CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #0093a0 100%);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(0, 180, 195, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 180, 195, 0.5);
  background: linear-gradient(135deg, #00c8d8 0%, var(--color-accent) 100%);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--color-primary);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(1, 50, 90, 0.12);
  border: 1px solid rgba(1, 50, 90, 0.15);
}

.btn-secondary:hover {
  background-color: var(--color-white);
  color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1, 50, 90, 0.18);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
  color: var(--color-white);
}

.btn-outline {
  border: 2px solid var(--color-accent);
  color: var(--color-accent-hover);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ==========================================================================
   1. BARRA SUPERIOR Y HEADER
   ========================================================================== */
.top-bar {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-item a:hover {
  color: var(--color-accent);
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(1, 50, 90, 0.07);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 6px 25px rgba(1, 50, 90, 0.12);
  background-color: rgba(255, 255, 255, 0.98);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 68px; /* +25% ampliado uniformemente para legibilidad óptima */
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

.site-header.scrolled .logo-img {
  height: 60px;
}

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

.nav-link-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 4px;
}

.nav-link-home svg {
  display: block;
  stroke: var(--color-primary);
  transition: transform 0.25s ease, stroke 0.25s ease;
}

.nav-link-home:hover svg {
  stroke: var(--color-accent);
  transform: scale(1.18);
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-primary);
  position: relative;
  padding: 6px 0;
}

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

.nav-link:hover {
  color: var(--color-accent);
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-wa {
  padding: 10px 22px;
  font-size: 0.88rem;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  cursor: pointer;
  background: transparent;
  z-index: 1002;
}

.hamburger-btn span {
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* ==========================================================================
   2. HERO SPECTACULAR
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(92vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-primary-dark);
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  transition: transform 12s ease;
  animation: heroSubtleZoom 20s infinite alternate ease-in-out;
}

@keyframes heroSubtleZoom {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    115deg,
    rgba(1, 33, 61, 0.88) 0%,
    rgba(1, 40, 75, 0.78) 40%,
    rgba(1, 40, 75, 0.86) 65%,
    rgba(1, 33, 61, 0.94) 100%
  );
  z-index: 2;
}

.hero-water-refraction {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background: linear-gradient(to top, var(--color-white) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 3;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 4;
  padding: 55px 0 85px;
  display: grid;
  grid-template-columns: 0.95fr 1.15fr; /* Cotizador a la izquierda, info a la derecha */
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-left-col,
.hero-col-quote {
  width: 100%;
}

.hero-right-col,
.hero-col-info {
  color: var(--color-white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-accent);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 15px var(--color-accent); }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.hero-title {
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 3px 15px rgba(1, 33, 61, 0.6);
}

.hero-subheading-group {
  margin-bottom: 18px;
}

.hero-tagline {
  display: block;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: #55E4F0;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-slogan {
  display: block;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  font-weight: 500;
  margin-top: 4px;
}

.hero-desc {
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 28px;
  line-height: 1.6;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.hero-btn-secondary {
  padding: 12px 24px;
  font-size: 0.9rem;
}

.hero-phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.hero-phone-cta:hover {
  background: rgba(0, 180, 195, 0.25);
  border-color: var(--color-accent);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.hero-highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 180, 195, 0.25);
  color: #55E4F0;
  flex-shrink: 0;
}

/* Columna Derecha: Tarjeta de Cotización / Contacto Hero */
.hero-right-col {
  width: 100%;
}

.hero-quote-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 20px;
  padding: 26px 26px 22px;
  box-shadow: 0 25px 60px rgba(1, 33, 61, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.8), 0 0 35px rgba(0, 180, 195, 0.22);
  color: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.hero-quote-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00B4C3 0%, #25D366 50%, #01325A 100%);
}

.hero-form-header {
  margin-bottom: 16px;
}

.hero-form-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #E8F8F0;
  color: #0E8043;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.hero-form-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 4px;
  line-height: 1.25;
}

.hero-form-subtitle {
  font-size: 0.84rem;
  color: #4B6375;
  line-height: 1.4;
  margin: 0;
}

.text-wa {
  color: #128C7E;
  font-weight: 700;
}

.hero-form-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-form-field {
  display: flex;
  flex-direction: column;
  position: relative;
}

.hero-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1A384F;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero-label .req {
  color: #E53935;
}

.hero-label .opt {
  font-size: 0.74rem;
  font-weight: 500;
  color: #7A90A0;
}

.hero-input-wrap,
.hero-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.hero-field-icon {
  position: absolute;
  left: 12px;
  color: #7A90A0;
  pointer-events: none;
  transition: color 0.2s ease;
}

.hero-input {
  width: 100%;
  height: 40px;
  padding: 8px 12px 8px 36px;
  font-family: inherit;
  font-size: 0.88rem;
  color: #0F172A;
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 9px;
  transition: all 0.25s ease;
}

.hero-input:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 180, 195, 0.18);
}

.hero-input-wrap:focus-within .hero-field-icon {
  color: var(--color-accent);
}

.hero-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hero-select {
  width: 100%;
  height: 40px;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 0.84rem;
  color: #0F172A;
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 9px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.hero-select:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 180, 195, 0.18);
}

.hero-primary-select {
  border-color: #00B4C3;
  background-color: #F0FDFA;
  font-weight: 700;
  color: #01325A;
}

.hero-conditional-field {
  animation: heroFieldFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.hero-select optgroup {
  font-weight: 700;
  color: #01325A;
  background: #EAF2F7;
  padding: 4px 0;
}

.hero-select option {
  font-weight: 500;
  color: #0F172A;
  background: #FFFFFF;
}

.hero-textarea {
  width: 100%;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 0.85rem;
  color: #0F172A;
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 9px;
  resize: vertical;
  min-height: 52px;
  transition: all 0.25s ease;
}

.hero-textarea:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 180, 195, 0.18);
}

.hero-field-error {
  display: none;
  font-size: 0.72rem;
  color: #DC2626;
  font-weight: 600;
  margin-top: 3px;
}

.hero-form-field.has-error .hero-input,
.hero-form-field.has-error .hero-select {
  border-color: #DC2626;
  background: #FFF5F5;
}

.hero-form-field.has-error .hero-field-error {
  display: block;
}

.hero-wa-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 13px 18px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  border: none;
  border-radius: 11px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.36);
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
  margin-top: 2px;
}

.hero-wa-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.46);
  filter: brightness(1.05);
}

.hero-wa-submit-btn:active {
  transform: translateY(0);
}

.hero-form-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #5A6E7F;
  margin-top: 2px;
  text-align: center;
}

.hero-form-feedback {
  text-align: center;
  padding: 24px 12px;
}

.hero-feedback-icon {
  margin-bottom: 12px;
}

.hero-form-feedback h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.hero-form-feedback p {
  font-size: 0.88rem;
  color: #4B6375;
  margin-bottom: 18px;
  line-height: 1.5;
}

/* ==========================================================================
   3. BLOQUE DE CONFIANZA (1986 & CLIENTES REALES)
   ========================================================================== */
.trust-section {
  padding: 80px 0 60px;
  background-color: var(--color-white);
  position: relative;
  z-index: 5;
}

.trust-headline-card {
  background: linear-gradient(135deg, var(--color-primary) 0%, #03487c 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  margin-bottom: 50px;
}

.trust-headline-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 180, 195, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.trust-card-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.trust-text-block h2 {
  color: var(--color-white);
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  margin-bottom: 16px;
}

.trust-text-block p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.65;
}

.trust-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.trust-stat-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  transition: var(--transition);
}

.trust-stat-box:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
  border-color: var(--color-accent);
}

.trust-stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: #55E4F0;
  line-height: 1;
  margin-bottom: 6px;
}

.trust-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Clientes Reales del CV */
.clients-wrapper {
  text-align: center;
}

.clients-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-muted);
  font-weight: 700;
  margin-bottom: 24px;
}

.clients-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.client-badge {
  background-color: var(--color-bg-blue);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.client-badge:hover {
  background-color: var(--color-bg-turquoise);
  border-color: var(--color-accent);
  color: var(--color-accent-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   4. SECCIÓN SOLUCIONES (4 LÍNEAS DE NEGOCIO DEL CV)
   ========================================================================== */
.solutions-section {
  padding: 90px 0;
  background-color: var(--color-bg-light);
  position: relative;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.solution-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.solution-image-container {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: var(--color-primary);
}

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

.solution-card:hover .solution-img {
  transform: scale(1.08);
}

.solution-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(1, 50, 90, 0.85);
  backdrop-filter: blur(6px);
  color: var(--color-white);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.solution-card-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.solution-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-turquoise);
  color: var(--color-accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: var(--transition);
}

.solution-card:hover .solution-icon-wrap {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.solution-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.solution-summary {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.solution-bullets {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.solution-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--color-text-dark);
}

.solution-bullet-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.solution-footer {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.solution-footer .btn {
  flex: 1;
  padding: 12px 16px;
  font-size: 0.85rem;
}

/* Banner Real de Soluciones (soluciones.png) */
.real-products-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, #03487c 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 180, 195, 0.3);
  margin-top: 40px;
  position: relative;
}

.real-products-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  object-position: center;
}

.real-products-footer {
  padding: 24px 32px;
  background-color: rgba(1, 33, 61, 0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--color-white);
}

.real-products-text h4 {
  color: #55E4F0;
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.real-products-text p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   5. SECCIÓN DE ALBERCAS (EMOCIONAL Y VISUAL)
   ========================================================================== */
.pools-section {
  padding: 90px 0;
  background-color: var(--color-white);
  position: relative;
}

.pools-grid-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.pools-showcase-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.pools-showcase-visual img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.pools-showcase-visual:hover img {
  transform: scale(1.04);
}

.pools-visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(1, 50, 90, 0.92) 0%, transparent 100%);
  color: var(--color-white);
}

.pools-visual-badge {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.pools-steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pool-step-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background-color: var(--color-bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.pool-step-card:hover {
  background-color: var(--color-bg-blue);
  border-color: var(--color-accent);
  transform: translateX(6px);
}

.pool-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pool-step-info h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--color-primary);
}

.pool-step-info p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Spotlight Laboratorio de Agua (piscina.jpg) */
.water-lab-card {
  background: linear-gradient(135deg, var(--color-bg-turquoise) 0%, var(--color-bg-blue) 100%);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.water-lab-img-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.water-lab-info h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.water-lab-info p {
  font-size: 0.98rem;
  color: var(--color-text-dark);
  margin-bottom: 22px;
  line-height: 1.6;
}

/* ==========================================================================
   6. SECCIÓN DE SERVICIOS ESPECIALIZADOS DEL CV
   ========================================================================== */
.services-section {
  padding: 90px 0;
  background-color: var(--color-bg-blue);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-turquoise);
  color: var(--color-accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.service-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   7. PROYECTOS Y EXPERIENCIA DOCUMENTADA ("EXPERIENCIA QUE SE PUEDE VER")
   ========================================================================== */
.projects-section {
  padding: 90px 0;
  background-color: var(--color-white);
  position: relative;
}

.projects-filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 9px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background-color: var(--color-bg-blue);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

.project-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.project-card-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, #03487c 100%);
  color: var(--color-white);
  padding: 22px 24px;
  position: relative;
}

.project-tag {
  display: inline-block;
  background: rgba(0, 180, 195, 0.3);
  border: 1px solid rgba(0, 180, 195, 0.6);
  color: #55E4F0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.project-client-name {
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.project-location {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-technical-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent-hover);
  font-weight: 700;
  margin-bottom: 8px;
}

.project-specs-text {
  font-size: 0.92rem;
  color: var(--color-text-dark);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-card-footer {
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: flex-end;
}

.project-wa-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.project-wa-link:hover {
  color: var(--color-accent-hover);
  transform: translateX(3px);
}

/* ==========================================================================
   8. GALERÍA TEMÁTICA CON LIGHTBOX
   ========================================================================== */
.gallery-section {
  padding: 90px 0;
  background-color: var(--color-bg-light);
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--color-primary);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-thumb {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(1, 50, 90, 0.9) 0%, rgba(1, 50, 90, 0.2) 60%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--color-white);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-badge-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #55E4F0;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.gallery-title-box {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
}

.gallery-zoom-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 180, 195, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 25, 45, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content-box {
  position: relative;
  max-width: 900px;
  width: 100%;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-img-wrapper {
  background-color: #0b1c2b;
  max-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-img {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.lightbox-details {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.lightbox-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.lightbox-close-btn:hover {
  background: var(--color-accent);
}

/* ==========================================================================
   9. DIFERENCIADORES CLAVE
   ========================================================================== */
.differentiators-section {
  padding: 90px 0;
  background-color: var(--color-white);
  position: relative;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.diff-card {
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.diff-card:hover {
  background-color: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.diff-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-bg-turquoise);
  color: var(--color-accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.diff-info h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--color-primary);
}

.diff-info p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   10. SECCIÓN "¿QUÉ NECESITAS RESOLVER?" (CONVERSIÓN INMEDIATA)
   ========================================================================== */
.needs-section {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, #01213c 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.needs-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 180, 195, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.needs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.need-item-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--color-white);
  transition: var(--transition);
  cursor: pointer;
}

.need-item-card:hover {
  background: rgba(0, 180, 195, 0.25);
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.need-item-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.need-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #55E4F0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.need-item-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.need-item-arrow {
  color: #55E4F0;
  transition: transform 0.2s ease;
}

.need-item-card:hover .need-item-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   11. COTIZADOR VISUAL INTERACTIVO (PASO A PASO)
   ========================================================================== */
.quote-builder-section {
  padding: 90px 0;
  background-color: var(--color-bg-light);
  position: relative;
}

.quote-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  padding: 44px;
  max-width: 900px;
  margin: 0 auto;
}

.quote-progress-bar {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 40px;
}

.quote-progress-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-border);
  transform: translateY(-50%);
  z-index: 1;
}

.quote-progress-fill {
  position: absolute;
  top: 50%;
  left: 0;
  height: 3px;
  background-color: var(--color-accent);
  transform: translateY(-50%);
  z-index: 2;
  transition: width 0.3s ease;
  width: 33%;
}

.step-indicator {
  position: relative;
  z-index: 3;
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.step-indicator.active {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-glow);
}

.step-indicator.completed {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.quote-step {
  display: none;
}

.quote-step.active {
  display: block;
  animation: stepFade 0.35s ease;
}

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

.step-title {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.step-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.step-opt-btn {
  background-color: var(--color-bg-light);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.step-opt-btn:hover {
  border-color: var(--color-accent);
  background-color: var(--color-bg-turquoise);
  transform: translateY(-2px);
}

.step-opt-btn.selected {
  border-color: var(--color-accent);
  background-color: var(--color-bg-turquoise);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.step-opt-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-white);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.step-opt-btn.selected .step-opt-icon {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.step-opt-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary);
}

.quote-textarea {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-size: 0.95rem;
  color: var(--color-text-dark);
  resize: vertical;
  min-height: 110px;
  margin-bottom: 24px;
  transition: var(--transition);
}

.quote-textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.quote-nav-btns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.quote-preview-box {
  background-color: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: 20px;
  border-left: 4px solid var(--color-accent);
  margin-bottom: 24px;
  font-size: 0.92rem;
  color: var(--color-text-dark);
}

.quote-preview-box strong {
  color: var(--color-primary);
}

/* ==========================================================================
   12. MISIÓN, VISIÓN Y VALORES (EDITORIAL PREMIUM)
   ========================================================================== */
.about-section {
  padding: 90px 0;
  background-color: var(--color-white);
  position: relative;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

.mv-card {
  background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg-blue) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--color-accent);
}

.mv-tag {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent-hover);
  margin-bottom: 12px;
  display: block;
}

.mv-card h3 {
  font-size: 1.6rem;
  margin-bottom: 14px;
  color: var(--color-primary);
}

.mv-card p {
  font-size: 0.98rem;
  color: var(--color-text-dark);
  line-height: 1.7;
}

.values-wrapper {
  margin-top: 40px;
}

.values-title {
  text-align: center;
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 30px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.value-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.value-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-bg-turquoise);
  color: var(--color-accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  margin: 0 auto 14px;
}

.value-name {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.value-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   13. CONTACTO Y UBICACIÓN
   ========================================================================== */
.contact-section {
  padding: 90px 0;
  background-color: var(--color-bg-blue);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: stretch;
}

.contact-info-card {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-card h3 {
  color: var(--color-white);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.contact-info-card p.contact-lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
  margin-bottom: 30px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 180, 195, 0.25);
  color: #55E4F0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #55E4F0;
  margin-bottom: 2px;
}

.contact-item-text a, .contact-item-text span {
  font-size: 1.05rem;
  color: var(--color-white);
  font-weight: 600;
}

.contact-item-text a:hover {
  color: #55E4F0;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  min-height: 440px;
  background-color: #e5e3df;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
}

/* ==========================================================================
   14. CTA FINAL (AMPLIO Y PERSUASIVO)
   ========================================================================== */
.final-cta-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  text-align: center;
  overflow: hidden;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 180, 195, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}

.final-cta-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--color-white);
  margin-bottom: 18px;
}

.final-cta-desc {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  line-height: 1.6;
}

.final-cta-btn {
  font-size: 1.1rem;
  padding: 18px 40px;
}

/* ==========================================================================
   15. FOOTER INSTITUCIONAL
   ========================================================================== */
.site-footer {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
}

.footer-bottom-copy {
  color: rgba(255, 255, 255, 0.6);
}

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

.floating-wa-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  position: relative;
}

.floating-wa-btn:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.floating-wa-btn::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.8;
  animation: waPulse 2s infinite;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.floating-wa-tooltip {
  position: absolute;
  right: 74px;
  background-color: var(--color-white);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  pointer-events: none;
  border: 1px solid var(--color-border);
  animation: tooltipBounce 3s infinite ease-in-out;
}

@keyframes tooltipBounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-6px); }
}

/* ==========================================================================
   17. MODAL DETALLE DE SOLUCIÓN
   ========================================================================== */
.solution-detail-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 33, 61, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.solution-detail-modal.active {
  display: flex;
}

.solution-modal-box {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

.solution-modal-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, #03487c 100%);
  color: var(--color-white);
  padding: 28px;
  position: relative;
}

.solution-modal-header h3 {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.solution-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--color-white);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-modal-body {
  padding: 28px;
}

.solution-modal-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0 28px;
}

.solution-modal-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  background-color: var(--color-bg-light);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.solution-modal-item svg {
  color: var(--color-accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ==========================================================================
   18. RESPONSIVE / ADAPTATIVO
   ========================================================================== */
@media (max-width: 1024px) {
  /* Ocultar sección de 30 años en celular y tablet a petición */
  .trust-section,
  #confianza {
    display: none !important;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-col-info {
    order: 1;
  }
  .hero-col-quote {
    order: 2;
  }
  .hero-quote-card {
    max-width: 580px;
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .pools-grid-highlight {
    grid-template-columns: 1fr;
  }
  .trust-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 80px;
  }

  .logo-img {
    height: 58px; /* Logo ampliado en móvil también */
  }

  .top-bar {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    gap: 20px;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.15rem;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .hamburger-btn {
    display: flex;
  }

  .header-cta .btn-header-wa {
    display: none;
  }

  .hero-section {
    min-height: auto;
    padding: 30px 0 60px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 20px 0 35px;
  }

  .hero-left-col,
  .hero-col-info {
    text-align: left;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-actions .btn,
  .hero-actions .hero-phone-cta {
    width: 100%;
    justify-content: center;
  }

  .hero-highlights {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .hero-quote-card {
    padding: 22px 18px 20px;
    border-radius: 16px;
    max-width: 540px;
    margin: 0 auto;
  }

  .hero-form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

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

  .quote-card {
    padding: 24px 18px;
  }

  .quote-nav-btns {
    flex-direction: column-reverse;
  }

  .quote-nav-btns .btn {
    width: 100%;
  }

  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
  }

  .floating-wa-tooltip {
    display: none;
  }

  .solution-modal-items {
    grid-template-columns: 1fr;
  }
}
