/* ============================================
   VARIABLES DE COLOR - PALETA CORPORATIVA
   ============================================ */
:root {
  /* Verde principal - Fondo y elementos destacados */
  --green-primary: #1B8F6C;
  --green-medium: #158A64;
  --green-dark: #127E5D;
  --green-light: #2C9E7C;
  --green-gradient-start: #1B8F6C;
  --green-gradient-end: #127E5D;
  
  /* Azul - Iconos, acentos y elementos de agua */
  --blue-deep: #0D4FB3;
  --blue-primary: #1E63C8;
  --blue-medium: #2E7EDB;
  --blue-light: #4FA3E6;
  --blue-bright: #7BC3F0;
  
  /* Blancos y grises - Textos y fondos */
  --white-pure: #FFFFFF;
  --white-soft: #F2F2F2;
  --gray-light: #D9D9D9;
  --gray-medium: #BFBFBF;
  --gray-dark: #666666;
  
  /* Sombras */
  --shadow-blue: rgba(10, 58, 138, 0.15);
  --shadow-green: rgba(15, 111, 86, 0.2);
  --shadow-text: #999999;
  
  /* Variables funcionales para compatibilidad */
  --primary-blue: var(--blue-primary);
  --dark-blue: var(--blue-deep);
  --corporate-orange: var(--green-light);
  --light-gray: var(--white-soft);
  --dark-gray: #2c3e50;
  --white: var(--white-pure);
  --text-color: var(--gray-dark);
  --transition: all 0.3s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--dark-gray);
  background: linear-gradient(135deg, var(--white-pure) 0%, var(--white-soft) 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1300px;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* ============================================
   HEADER Y NAVEGACIÓN
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 0;
  transition: box-shadow 0.3s ease;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1300px;
}

.header.scrolled {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Logo - Marca */
.logo {
  display: flex;
  align-items: stretch; /* clave */
  text-decoration: none;
  gap: 10px;
  flex-wrap: nowrap; /* evita saltos */
}

/* imagen */
.logo-image {
  display: flex;
  align-items: center;
}

.logo-image img {
  height: 100%;      /* iguala altura con texto */
  width: auto;
  max-height: 60px;  /* límite */
  object-fit: contain;
}

/* contenedor texto + slogan */
.logo-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* texto principal */
.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--green-primary) 0%, var(--blue-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  letter-spacing: -0.5px;
}

.logo-text span {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.logo-slogan {
  font-size: 0.7rem;
  color: var(--blue-medium);
  padding-left: 5px;
  border-left: 2px solid var(--green-light);
  font-weight: 500;
  line-height: 1.2;
}

/* Menú de Navegación */
  .navbar {
    display: flex;
    align-items: center;
  }

  .nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.8rem; /* Reducido para dar más espacio */
  }

  .nav-item {
    position: relative;
  }

  .nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 0.9rem; /* Reducido ligeramente */
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
    display: flex;
    align-items: center;
    text-align: center;
    line-height: 1.3;
    white-space: nowrap;
  }

  /* Estilo especial para enlaces que queremos en dos líneas */
  .nav-link.two-lines {
    white-space: normal;
    max-width: 70px;
    text-align: center;
    line-height: 1.2;
  }

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

  .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--green-primary), var(--blue-primary));
    transition: var(--transition);
  }

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

  /* Botón de Contacto */
  .btn-nav {
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    color: var(--white-pure) !important;
    padding: 0.5rem 1.2rem; /* Reducido */
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem; /* Reducido */
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px var(--shadow-green);
    white-space: nowrap;
  }

  .btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--shadow-green);
    background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
  }

  .btn-nav:active {
    transform: translateY(0);
  }

  .btn-nav i {
    margin-right: 8px;
  }

/* Menú Mobile */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--green-primary), var(--blue-primary));
  border-radius: 3px;
  transition: var(--transition);
}

/* ============================================
   SCROLL SUAVE Y PADDING PARA HEADER FIJO
   ============================================ */
  html {
    scroll-padding-top: 20px;
    scroll-behavior: smooth;
  }

  /* Fallback para navegadores antiguos */
  section,
  div[id] {
    scroll-margin-top: 20px;
  }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding: 30px 0 30px;
  background: linear-gradient(135deg, var(--green-gradient-start) 0%, var(--green-gradient-end) 100%);
  position: relative;
  overflow: hidden;
  margin-top: 70px;
}

.hero:before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(79, 163, 230, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.hero:after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(27, 143, 108, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.hero .container {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  padding-right: 40px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-image {
  flex: 1;
  position: relative;
  animation: fadeIn 1s ease-out;
  display: block;
}

.hero-image img {
  width: 80%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s ease;
}

.hero-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80%;
  height: 20%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(255,255,255, 0) 100%);
  pointer-events: none;
  border-radius: 0 0 20px 20px;
}

.hero-image:hover img {
  transform: scale(1.02);
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 30px;
  max-width: 90%;
  line-height: 1.6;
}

.hero p strong {
  color: var(--blue-bright);
  font-weight: 700;
}

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

.btn-primary {
  background: var(--white-pure);
  color: var(--green-primary);
  padding: 12px 30px;
  border-radius: 40px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background: var(--white-soft);
}

.btn-secondary {
  background: transparent;
  color: var(--white-pure);
  padding: 12px 25px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  border: 2px solid var(--white-pure);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  border-color: var(--blue-bright);
}

.btn-secondary svg {
  margin-right: 8px;
  width: 18px;
  height: 18px;
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: 20px 0 20px !important;
  background-color: var(--white-pure);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--dark-gray);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2 span {
  background: linear-gradient(135deg, var(--green-primary), var(--blue-primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-header p {
  color: var(--gray-dark);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

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

.service-card {
  background: var(--white-pure);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-green);
  transition: all 0.4s ease;
  border: 1px solid var(--gray-light);
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(27, 143, 108, 0.2);
  border-color: var(--green-light);
}

.service-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--green-primary), var(--blue-primary));
  z-index: 2;
}

.service-icon {
  padding: 30px 0 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(27, 143, 108, 0.05), rgba(30, 99, 200, 0.05));
}

.service-icon img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 50%;
  padding: 2px;
  filter: drop-shadow(0 5px 10px rgba(27, 143, 108, 0.2));
  box-sizing: border-box;
}

.service-card h3 {
  text-align: center;
  color: var(--dark-gray);
  font-size: 1.4rem;
  margin: 15px 0;
  padding: 0 20px;
}

.service-card h3 strong {
  color: var(--green-primary);
}

.service-card p {
  color: var(--gray-dark);
  padding: 0 25px;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-card ul {
  padding: 0 30px 30px;
  list-style-type: none;
}

.service-card ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--gray-dark);
  line-height: 1.5;
}

.service-card ul li:before {
  content: '💧';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
}

.services:after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(27, 143, 108, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

/* Oculta el botón toggle en desktop */
.features-toggle {
  display: none;
}

/* Asegura que las características sean visibles */
.service-features {
  display: block !important;
  max-height: none !important;
}

/* ============================================
   SECCIÓN ¿POR QUÉ ELEGIRNOS? (TRUST SECTION)
   ============================================ */
  .trust-section {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--white-soft) 0%, var(--white-pure) 100%);
    position: relative;
  }

  .trust-section .container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
  }

  .trust-section h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: clamp(30px, 5vw, 45px);
    text-align: center;
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
  }

  .trust-section h2 span {
    background: linear-gradient(135deg, var(--green-primary), var(--blue-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .trust-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(20px, 3vw, 30px);
  }

  .trust-list li {
    background: var(--white-pure);
    padding: clamp(20px, 4vw, 28px);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-light);
    transition: all 0.3s ease;
    font-size: clamp(0.9rem, 2.2vw, 1rem);
    line-height: 1.5;
    color: var(--gray-dark);
    position: relative;
    padding-left: clamp(50px, 8vw, 70px);
  }

  .trust-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(27, 143, 108, 0.1);
    border-color: var(--green-light);
  }

  /* Icono decorativo con check */
  .trust-list li:before {
    content: '✓';
    position: absolute;
    left: clamp(20px, 4vw, 25px);
    top: 50%;
    transform: translateY(-50%);
    width: clamp(30px, 6vw, 40px);
    height: clamp(30px, 6vw, 40px);
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    font-weight: bold;
    text-align: center;
    line-height: 1;
  }

  .trust-list li strong {
    color: var(--green-primary);
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
  }

  /* ============================================
    ANIMACIÓN
    ============================================ */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .trust-section {
    animation: fadeInUp 0.6s ease-out;
  }

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects {
  padding: 60px 0 !important;
  background: linear-gradient(135deg, var(--white-soft) 0%, var(--white-pure) 100%);
  position: relative;
}

.projects .section-header h2 span {
  background: linear-gradient(135deg, var(--green-primary), var(--blue-primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.projects-swiper {
  width: 100%;
  padding: 30px 0 60px;
  position: relative;
}

.projects-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.project-slide {
  background: var(--white-pure);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px var(--shadow-green);
  transition: all 0.3s ease;
  height: auto;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-light);
}

.project-slide img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.project-slide:hover img {
  transform: scale(1.05);
}

.project-info {
  padding: 25px;
  flex: 1;
}

.project-info h3 {
  color: var(--green-primary);
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.project-info p {
  color: var(--blue-primary);
  font-weight: 500;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.project-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-info ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--gray-dark);
}

.project-info ul li:before {
  content: "→";
  color: var(--blue-light);
  font-size: 1rem;
  position: absolute;
  left: 0;
  top: 0;
}

.swiper-pagination {
  position: relative;
  bottom: 0;
  margin-top: 30px;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--gray-light);
  opacity: 1;
  margin: 0 8px !important;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: linear-gradient(135deg, var(--green-primary), var(--blue-primary));
  transform: scale(1.2);
}

.swiper-button-next,
.swiper-button-prev {
  width: 50px;
  height: 50px;
  background-color: var(--white-pure);
  border-radius: 50%;
  box-shadow: 0 5px 15px var(--shadow-green);
  color: var(--green-primary);
  transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 1.2rem;
  font-weight: bold;
}

.swiper-button-next::after {
  content: '›' !important;
}

.swiper-button-prev::after {
  content: '‹' !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  color: var(--white-pure);
  transform: scale(1.1);
}

.project-slide:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 45px rgba(27, 143, 108, 0.2);
}

.projects:before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(27, 143, 108, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

/* ============================================
   SECCIÓN SEO - ESCALADO FLUIDO COMPLETO
   ============================================ */
.seo-content {
  padding: clamp(30px, 8vw, 80px) 0;
  background: linear-gradient(135deg, var(--white-soft) 0%, var(--white-pure) 100%);
  border-top: 1px solid rgba(27, 143, 108, 0.1);
  border-bottom: 1px solid rgba(27, 143, 108, 0.1);
  position: relative;
}

.seo-content .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.seo-content h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: clamp(30px, 5vw, 45px);
    text-align: center;
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
  }

.seo-content h2 span {
  background: linear-gradient(135deg, var(--green-primary), var(--blue-primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.seo-content p {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  line-height: 1.7;
  color: var(--gray-dark);
  margin-bottom: clamp(15px, 3vw, 25px);
  text-align: justify;
}

.seo-content p strong {
  color: var(--green-primary);
  font-weight: 700;
}

.seo-content p:last-child {
  margin-bottom: 0;
}

/* ============================================
   SECCIÓN FAQ - ESCALADO FLUIDO COMPLETO
   ============================================ */
.faq-section {
  padding: clamp(30px, 8vw, 80px) 0;
  background: var(--white-pure);
  position: relative;
}

.faq-section .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-section h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: clamp(30px, 5vw, 45px);
    text-align: center;
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
  }

.faq-section h2 span {
  background: linear-gradient(135deg, var(--green-primary), var(--blue-primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.faq-section h3 {
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-weight: 600;
  color: var(--green-primary);
  margin: clamp(20px, 4vw, 35px) 0 clamp(8px, 2vw, 12px) 0;
  padding-left: clamp(12px, 3vw, 20px);
  border-left: 4px solid var(--blue-primary);
  transition: all 0.3s ease;
  line-height: 1.4;
}

.faq-section h3:first-of-type {
  margin-top: 0;
}

.faq-section h3:hover {
  border-left-color: var(--green-primary);
  transform: translateX(5px);
}

.faq-section p {
  font-size: clamp(0.85rem, 2.2vw, 1rem);
  line-height: 1.7;
  color: var(--gray-dark);
  margin-bottom: clamp(15px, 3vw, 20px);
  padding-left: clamp(16px, 4vw, 24px);
}

.faq-section p strong {
  color: var(--blue-primary);
  font-weight: 600;
}

.faq-section a {
  color: var(--blue-primary);
  text-decoration: none;
  border-bottom: 1px dotted var(--blue-light);
  transition: all 0.3s ease;
}

.faq-section a:hover {
  color: var(--green-primary);
  border-bottom-color: var(--green-primary);
}
/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: 20px 0;
  background: linear-gradient(135deg, var(--green-gradient-start) 0%, var(--blue-deep) 100%);
  position: relative;
}

.contact .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact .section-header h2 {
  color: var(--white-pure);
}

.contact .section-header h2 span {
  background: linear-gradient(135deg, var(--white-pure), var(--blue-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact .section-header p {
  color: rgba(255, 255, 255, 0.9);
}

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

.contact-form {
  background: var(--white-pure);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}



.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--green-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-light);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--white-pure);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(27, 143, 108, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  color: var(--white-pure);
  border: none;
  padding: 14px 30px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  display: block;
  text-align: center;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27, 143, 108, 0.3);
}

.contact-map {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.map-container {
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-info {
  background: var(--white-pure);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--gray-light);
}

.info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.info-item svg {
  flex-shrink: 0;
  color: var(--green-primary);
  width: 22px;
  height: 22px;
  margin-top: 3px;
}

.info-item p {
  color: var(--dark-gray);
  line-height: 1.6;
}

.contact:before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

  .contact-link {
    color: inherit; /* usa el mismo color del <p> */
    text-decoration: none;
  }

  /* efecto sutil */
  .contact-link:hover {
    text-decoration: underline;
  }

/* ============================================
   REVIEWS CTA - DENTRO DE CONTACTO
   ============================================ */
.reviews-cta {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 20px;
  padding: clamp(15px, 4vw, 25px);
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: clamp(15px, 3vw, 20px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(27, 143, 108, 0.2);
}

.reviews-icon svg {
  color: #f4b400;
  width: clamp(32px, 8vw, 48px);
  height: clamp(32px, 8vw, 48px);
}

.reviews-content {
  flex: 1;
}

.reviews-content h3 {
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 700;
  color: var(--green-primary);
  margin: 0 0 8px 0;
}

.rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.stars {
  color: #f4b400;
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  letter-spacing: 2px;
}

.rating-text {
  font-size: clamp(0.7rem, 2vw, 0.85rem);
  color: var(--gray-dark);
}

.reviews-content p {
  font-size: clamp(0.8rem, 2.2vw, 0.95rem);
  color: var(--gray-dark);
  margin: 0 0 15px 0;
  line-height: 1.5;
}

.btn-reviews {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  color: white;
  padding: clamp(8px, 2vw, 10px) clamp(16px, 4vw, 24px);
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  transition: all 0.3s ease;
}

.btn-reviews:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(27, 143, 108, 0.3);
}

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


/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 1.5rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--blue-deep) 100%);
  color: var(--white-pure);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.social-links a {
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--white-pure);
}

.social-links a:hover {
  background: var(--white-pure);
  transform: translateY(-3px);
}

.social-links a:hover svg {
  color: var(--green-primary);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

.footer-info {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.credits {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  opacity: 0.7;
}

.credits a {
  color: inherit; /* 👈 usa el mismo color del <p> */
  text-decoration: underline; /* opcional: sin subrayado */
}

/* ============================================
   FOOTER SEO
   ============================================ */
.footer-seo {
  text-align: center;
  margin-bottom: 1rem;
  font-size: clamp(0.7rem, 2vw, 0.85rem);
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
}

.footer-seo p {
  margin: 0.5rem 0;
}

/* ============================================
   WHATSAPP FLOTANTE
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
  font-weight: 500;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ============================================
   BREADCRUMBS (accesibilidad SEO)
   ============================================ */
.breadcrumbs {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.seo-content,
.faq-section {
  animation: fadeInUp 0.8s ease-out;
}

.seo-content p,
.faq-section p {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.seo-content a,
.faq-section a {
  color: var(--blue-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.seo-content a:hover,
.faq-section a:hover {
  color: var(--green-primary);
  border-bottom-color: var(--green-primary);
}