/* Paleta de colores */
:root {
  --primary: #00b6b3;
  --secondary: #005a7a;
  --light: #f4fafd;
  --white: #fff;
  --gray: #e6e6e6;
  --text: #222;
}

/* Reset y configuración base */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Fredoka', Arial, sans-serif;
  font-weight: 400;
  background: var(--white);
  /*color: var(--text);*/
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .section-title, .hero-title, .about-title, .servicios-title, .principios-title, .ubicacion-title,
.hero-btn, .btn-enviar, .nav-list a, .about-label, .servicios-label, .principios-label, .contacto-label {
  font-family: 'Fredoka', Arial, sans-serif;
  font-weight: 700 !important;
}

.section-subtitle, .hero-subtitle, .about-desc, .servicio-card p, .valor-content p, .principio-card p, .ubicacion-direccion, .footer-brand p, .footer-contact li, .contacto-subtitle {
  font-family: 'Fredoka', Arial, sans-serif;
  font-weight: 400 !important;
}

/* Header responsivo */
.header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: fixed;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
  width: 100%;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

.logo {
  height: 60px;
  transition: height 0.3s ease;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: wrap;
}

.nav-list a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 600;
  transition: color 0.2s;
  white-space: nowrap;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
}

.nav-list a:hover {
  color: var(--primary);
  background: rgba(0, 182, 179, 0.1);
}

/* Menú hamburguesa para móviles */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
  gap: 4px;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--secondary);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.nav-menu {
  transition: all 0.3s ease;
}

/* Secciones base */
.section {
  padding: 3rem 0 2rem 0;
}

.bg-light {
  background: var(--light);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  text-align: center;
  font-weight: 800;
  letter-spacing: 1px;
}

/* Hero Section mejorado */
.hero-section {
  background: linear-gradient(120deg, var(--light) 60%, #e0f7fa 100%);
  padding: 4rem 0 0 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1 1 350px;
  min-width: 260px;
}

.hero-title {
  color: var(--primary);
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
  line-height: 1.1;
}

.hero-subtitle {
  color: var(--secondary);
  font-size: 1.3rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

.hero-btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.9rem 2.2rem;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,182,179,0.10);
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: var(--secondary);
  box-shadow: 0 4px 16px rgba(0,90,122,0.13);
  transform: translateY(-2px);
}

.hero-img {
  flex: 1 1 320px;
  min-width: 220px;
  text-align: center;
}

.hero-img img {
  max-width: 350px;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,90,122,0.10);
  transition: transform 0.3s ease;
}

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

/* Carrusel de fondo en Hero */
.hero-bg-carousel {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}

.hero-bg-slide.active {
  opacity: 1;
  animation: heroZoom 4s linear forwards;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, rgba(244,250,253,0.85) 60%, rgba(224,247,250,0.7) 100%);
  z-index: 1;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

/* Sección About mejorada */
.about-section {
  position: relative;
  padding-top: 0;
  padding-bottom: 3rem;
  background: var(--white);
  margin-top: -32px;
  overflow: hidden;
}

.about-flex {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.about-img {
  flex: 1 1 350px;
  min-width: 260px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-img img {
  width: 100%;
  max-width: 550px;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,90,122,0.10);
  margin-top: 6rem;
  transition: transform 0.3s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.about-info {
  flex: 1 1 350px;
  min-width: 260px;
}

.about-label {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.about-title {
  color: var(--secondary);
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0.5rem 0 1.2rem 0;
  line-height: 1.2;
}

.about-desc {
  color: #444;
  font-size: 1.08rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.about-stat {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 1 1 200px;
  min-width: 180px;
}

.about-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: valorPulse 1.8s infinite cubic-bezier(.28,.84,.42,1);
}

.about-stat-number {
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 900;
  display: block;
}

.about-stat-label {
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 600;
  display: block;
}

@keyframes valorPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Valores corporativos */
.valores-section {
  position: relative;
  padding-top: 3rem;
  padding-bottom: 3rem;
  overflow: hidden;
}

.valores-bg-blur {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  background: url('valores-bg.jpg') center center/cover no-repeat;
  filter: blur(2.5px);
  opacity: 0.18;
  pointer-events: none;
  transition: transform 0.3s ease;
}

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

.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.valores-row {
  display: contents;
}
@media (max-width: 900px) {
  .valores-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
  .valores-row {
    display: flex;
    flex-direction: column;
    gap: 0.7rem !important;
  }
}

.valores-row .valor {
  flex: 1 1 0;
  min-width: 280px;
}

.valor {
  background: var(--white);
  border-left: 6px solid var(--primary);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 1.2rem 1rem 1rem 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.valor:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.valor h3 {
  color: var(--secondary);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* Flip cards para valores */
.flip-card {
  perspective: 1000px;
  height: 200px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card:focus .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.flip-card-front {
  border-left: 6px solid var(--primary);
}

.flip-card-back {
  transform: rotateY(180deg);
  background: var(--primary);
  color: var(--white);
}

.valor-icon {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: valorPulse 1.8s infinite cubic-bezier(.28,.84,.42,1);
}

/* Servicios */
.servicios-section {
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.servicios-label {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  text-align: center;
  margin-bottom: 0.5rem;
}

.servicios-title {
  color: var(--secondary);
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0.5rem 0 2.2rem 0;
  text-align: center;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.servicio-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,90,122,0.08);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.servicio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 32px rgba(0,90,122,0.13);
}

.servicio-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
  transition: transform 0.3s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.servicio-card:hover img {
  transform: scale(1.05);
}

.servicio-card h3 {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.8rem 0;
}

.servicio-card p {
  color: #444;
  font-size: 1rem;
  margin: 0 0 1rem 0;
  line-height: 1.6;
}

.servicio-link {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.servicio-link:hover {
  color: var(--primary);
  gap: 0.8rem;
}

/* Imágenes de servicios individuales */
.servicio-img {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.servicio-img img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2rem;
}

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

/* Principios */
.principios-section {
  position: relative;
  padding-top: 3rem;
  padding-bottom: 3rem;
  overflow: hidden;
}

.principios-bg-blur {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  background: url('principios-bg.jpg') center center/cover no-repeat;
  filter: blur(2.5px);
  opacity: 0.18;
  pointer-events: none;
}

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

.principios-label {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  text-align: center;
}

.principios-title {
  color: var(--secondary);
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0.5rem 0 2.2rem 0;
  text-align: center;
}

.principios-title span {
  color: var(--primary);
}

.principios-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.principios-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.principios-row .principio-card {
  flex: 1 1 0;
  min-width: 280px;
}

.principio-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,90,122,0.08);
  padding: 2rem 1.2rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.principio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 32px rgba(0,90,122,0.13);
}

.principio-card h3 {
  color: var(--primary);
  font-size: 1.18rem;
  font-weight: 700;
  margin: 0 0 0.7rem 0;
}

.principio-card p {
  color: #444;
  font-size: 1rem;
  margin: 0;
  line-height: 1.6;
}

.principio-icon {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: valorPulse 1.8s infinite cubic-bezier(.28,.84,.42,1);
}

/* Ubicación */
.ubicacion-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.ubicacion-title {
  color: var(--primary);
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
}

.ubicacion-direccion {
  color: var(--secondary);
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 500;
}

.ubicacion-mapa iframe {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,90,122,0.10);
}

/* Footer mejorado */
.footer.mega-footer {
  background: var(--secondary);
  color: var(--white);
  margin-top: 0;
}

.footer-main {
  padding: 3rem 0 2rem 0;
}

.mega-footer-flex {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-brand {
  flex: 1 1 300px;
  min-width: 260px;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

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

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-social a svg {
  transition: transform 0.3s ease;
}

.footer-social a:hover svg {
  transform: scale(1.1);
}

.footer-col {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.8rem;
}

.footer-copy {
  background: rgba(0,0,0,0.2);
  padding: 1rem 0;
  text-align: center;
  color: rgba(255,255,255,0.8);
}

/* Divisores de onda */
.section-wave-divider {
  position: relative;
  height: 120px;
  overflow: hidden;
  margin: -1px 0;
  z-index: 1;
}

.section-wave-divider.wave-animate-in {
  animation: waveFloatX 3s ease-in-out infinite;
}

.section-wave-divider svg {
  width: 100%;
  height: 100%;
  display: block;
  animation: waveFloatX 4s ease-in-out infinite;
}

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

/* Menú desplegable */
.nav-dropdown {
  position: relative;
}

/*.nav-dropdown > a::after {
  content: ' ▼';
  font-size: 0.7em;
  color: var(--primary);
  margin-left: 4px;
  transition: transform 0.3s ease;
}*/

.nav-dropdown.open > a::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: 0 4px 16px rgba(0,90,122,0.10);
  border-radius: 0 0 12px 12px;
  min-width: 220px;
  z-index: 1000;
  padding: 0.5rem 0;
  animation: dropdownFade 0.25s;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 0.7rem 1.2rem;
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.18s, color 0.18s;
}

.dropdown-menu a:hover {
  background: var(--light);
  color: var(--primary);
}

.nav-dropdown.open > .dropdown-menu,
.dropdown-menu.show {
  display: block;
}

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

/* Tarjetas de consulta integrativa */
.consulta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2.2rem 0 2.5rem 0;
}
@media (max-width: 600px) {
  .consulta-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}
.consulta-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,90,122,0.08);
  padding: 2rem 1.2rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
}
.consulta-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0,90,122,0.13);
}
.consulta-icon {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-animate {
  animation: iconBounce 1.8s infinite cubic-bezier(.28,.84,.42,1);
}
@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-10px); }
  60% { transform: translateY(0); }
}
.consulta-card strong {
  color: var(--primary);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}
.consulta-card p {
  color: #444;
  font-size: 1rem;
  margin: 0;
}

/* Tarjetas de beneficios consulta integrativa */
.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin: 2.2rem 0 0 0;
}
.beneficio-card {
  background: #f7fafd;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,90,122,0.06);
  padding: 2rem 1.2rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
}
.beneficio-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0,90,122,0.13);
}
.beneficio-icon {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.beneficio-card strong {
  color: var(--secondary);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .beneficios-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .beneficio-card {
    padding: 1.2rem 0.7rem 1rem 0.7rem;
  }
}

.simple-divider {
  width: 100%;
  height: 48px;
  background: linear-gradient(90deg, #00b6b3 0%, #005a7a 100%);
  border-radius: 0 0 48px 48px / 0 0 32px 32px;
  margin: -10px 0 0 0;
  box-shadow: 0 8px 32px rgba(0,90,122,0.08);
}
@media (max-width: 600px) {
  .simple-divider {
    height: 28px;
    border-radius: 0 0 18px 18px / 0 0 12px 12px;
  }
}

.info-integrativa-section {
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,90,122,0.16);
  padding: 2.5rem 0 2rem 0;
}
.info-integrativa-section > .container {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0 2rem;
  margin-top: 0;
}
.info-integrativa-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('consulta-bg.jpg') center center/cover no-repeat;
  filter: blur(6px) brightness(0.82);
  opacity: 0.55;
  z-index: 0;
}
.info-integrativa-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(255,255,255,0.55);
  z-index: 1;
  pointer-events: none;
}
.info-integrativa-section > .container,
.info-integrativa-section .consulta-grid {
  position: relative;
  z-index: 2;
}
.info-integrativa-section .section-title {
  color: #00b6b3;
  text-shadow: 0 4px 18px rgba(0,90,122,0.18);
  font-weight: 900;
  font-size: 2.6rem;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  position: relative;
}
.info-integrativa-section .section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, #00b6b3 0%, #005a7a 100%);
  border-radius: 3px;
  margin: 18px auto 0 auto;
}
.info-integrativa-section p, .info-integrativa-section h3 {
  color: #1a2340;
  text-shadow: 0 1px 8px rgba(255,255,255,0.12);
}

.foto-difuminada-bg {
  width: 100%;
  height: 180px;
  background: url('consulta-bg.jpg') center center/cover no-repeat;
  filter: blur(4px) brightness(0.85);
  opacity: 0.7;
  margin: 0;
  position: relative;
  z-index: 1;
}
@media (max-width: 600px) {
  .foto-difuminada-bg {
    height: 90px;
  }
}

/* ===== MEDIA QUERIES RESPONSIVAS ===== */

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
  .container {
    max-width: 900px;
    padding: 0 1.2rem;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-title {
    font-size: 2rem;
  }

  .servicios-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .mega-footer-flex {
    gap: 2rem;
  }

  /* Ajustar tamaño de imágenes en pantallas medianas */
  .servicio-card img {
    height: 250px;
    margin-top: 1rem;
  }

  .about-img img {
    max-width: 500px;
    margin-top: 5rem;
  }

  .servicio-img img {
    max-width: 650px;
    margin-top: 2rem;
  }
}

/* Tablets pequeñas (768px - 900px) */
@media (max-width: 900px) {
  .header-flex {
    padding: 0.5rem 1rem;
  }

  .logo {
    height: 50px;
  }

  .nav-list {
    gap: 1rem;
  }

  .nav-list a {
    padding: 0.4rem 0.6rem;
    font-size: 0.95rem;
  }

  .hero-content {
    flex-direction: column-reverse;
    align-items: center;
    gap: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-img img {
    max-width: 300px;
  }

  .about-flex {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .about-img img {
    margin-top: 3rem;
    max-width: 500px;
  }

  .servicio-img img {
    max-width: 600px;
    margin-top: 2rem;
  }

  .about-title {
    font-size: 1.8rem;
  }

  .about-stats {
    justify-content: center;
  }

  .valores-row {
    flex-direction: column !important;
    gap: 0.7rem !important;
  }

  .valores-row .valor {
    min-width: 0;
  }

  .principios-row {
    flex-direction: column;
    gap: 1.2rem;
  }

  .principios-row .principio-card {
    min-width: 0;
  }

  .servicios-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
  }

  .mega-footer-flex {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    align-items: center;
  }

  .footer-col, .footer-brand {
    min-width: 0;
    flex: 1 1 100%;
  }

  .section-wave-divider {
    height: 80px;
  }

  .section-wave-divider svg {
    height: 80px;
  }

  /* Optimizaciones para tablets */
  .flip-card {
    height: 180px;
  }

  .flip-card-front, .flip-card-back {
    padding: 1.2rem;
  }

  .valor-icon svg {
    width: 40px;
    height: 40px;
  }

  .principio-icon svg {
    width: 40px;
    height: 40px;
  }
}

/* Móviles grandes (600px - 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 2.5rem 0 1.5rem 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero-section {
    padding: 2.5rem 0 0 0;
    min-height: 60vh;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-btn {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
  }

  .hero-img img {
    max-width: 250px;
  }

  .about-title {
    font-size: 1.6rem;
  }

  .about-desc {
    font-size: 1rem;
  }

  .about-stats {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .about-stat {
    flex: 1 1 auto;
    min-width: 0;
  }

  .servicios-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .servicio-card {
    padding: 1.2rem;
  }

  .servicio-card img {
    height: 180px;
  }

  .principio-card {
    padding: 1.5rem 1rem 1rem 1rem;
  }

  .ubicacion-mapa iframe {
    height: 300px;
  }

  .footer-main {
    padding: 2rem 0 1.5rem 0;
  }

  .section-wave-divider {
    height: 60px;
  }

  .section-wave-divider svg {
    height: 60px;
  }
}

/* Móviles medianos (480px - 600px) */
@media (max-width: 600px) {
  .container {
    padding: 0 0.8rem;
  }

  .section {
    padding: 2rem 0 1.2rem 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .hero-section {
    padding: 2rem 0 0 0;
    min-height: 50vh;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
  }

  .hero-img img {
    max-width: 200px;
  }

  .about-title {
    font-size: 1.4rem;
  }

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

  .about-stat-number {
    font-size: 1.5rem;
  }

  .about-stat-label {
    font-size: 0.85rem;
  }

  .servicio-card h3 {
    font-size: 1.1rem;
  }

  .servicio-card p {
    font-size: 0.95rem;
  }

  .principio-card h3 {
    font-size: 1.1rem;
  }

  .principio-card p {
    font-size: 0.95rem;
  }

  .ubicacion-title {
    font-size: 1.5rem;
  }

  .ubicacion-direccion {
    font-size: 1rem;
  }

  .ubicacion-mapa iframe {
    height: 250px;
  }

  .footer-brand img {
    height: 40px;
  }

  .footer-col h4 {
    font-size: 1rem;
  }

  .footer-col ul li a {
    font-size: 0.95rem;
  }

  .section-wave-divider {
    height: 40px;
  }

  .section-wave-divider svg {
    height: 40px;
  }

  /* Menú móvil */
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 5rem 2rem 2rem 2rem;
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }

  .nav-list li {
    width: 100%;
    border-bottom: 1px solid var(--gray);
  }

  .nav-list a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-radius: 0;
    width: 100%;
  }

  .nav-dropdown > a::after {
    float: right;
    margin-top: 0.5rem;
  }

  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    background: var(--light);
    border-left: 4px solid var(--primary);
  }

  .dropdown-menu a {
    padding: 0.8rem 1rem;
    font-size: 1rem;
  }

  .nav-dropdown.open > .dropdown-menu,
  .dropdown-menu.show {
    display: block;
  }

  /* Overlay para cerrar menú */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    /*z-index: 999;*/
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* Móviles pequeños (320px - 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 0.6rem;
  }

  .header-flex {
    padding: 0.4rem 0.6rem;
  }

  .logo {
    height: 45px;
  }

  .nav-list {
    gap: 0.8rem;
  }

  .nav-list a {
    padding: 0.3rem 0.5rem;
    font-size: 0.9rem;
  }

  .section {
    padding: 1.5rem 0 1rem 0;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .hero-section {
    padding: 1.5rem 0 0 0;
    min-height: 45vh;
  }

  .hero-title {
    font-size: 1.3rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-btn {
    padding: 0.6rem 1.2rem;
    font-size: 1.1rem;
  }

  .valores-row p {
    font-size: 1.2em;
  }

  .hero-img img {
    max-width: 180px;
  }

  .about-title {
    font-size: 1.2rem;
  }

  .about-desc {
    font-size: 1.2rem;
  }

  .about-stat-number {
    font-size: 1.3rem;
  }

  .about-stat-label {
    font-size: 0.8rem;
  }

  .servicio-card {
    padding: 1rem;
  }

  .servicio-card img {
    height: 160px;
  }

  .servicio-card h3 {
    font-size: 1rem;
  }

  .servicio-card p {
    font-size: 1.1rem;
  }

  .principio-card {
    padding: 1.2rem 0.8rem 0.8rem 0.8rem;
  }

  .principio-card h3 {
    font-size: 1rem;
  }

  .principio-card p {
    font-size: 1.1rem;
  }

  .ubicacion-title {
    font-size: 1.3rem;
  }

  .ubicacion-direccion {
    font-size: 0.9rem;
  }

  .ubicacion-mapa iframe {
    height: 200px;
  }

  .footer-main {
    padding: 1.5rem 0 1rem 0;
  }

  .footer-brand img {
    height: 35px;
  }

  .footer-col h4 {
    font-size: 0.95rem;
  }

  .footer-col ul li a {
    font-size: 0.9rem;
  }

  .section-wave-divider {
    height: 30px;
  }

  .section-wave-divider svg {
    height: 30px;
  }
}

/* Móviles muy pequeños (menos de 320px) */
@media (max-width: 320px) {
  .container {
    padding: 0 0.4rem;
  }

  .header-flex {
    padding: 0.3rem 0.4rem;
  }

  .logo {
    height: 40px;
  }

  .nav-list {
    gap: 0.6rem;
  }

  .nav-list a {
    padding: 0.25rem 0.4rem;
    font-size: 0.85rem;
  }

  .section {
    padding: 1.2rem 0 0.8rem 0;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .hero-section {
    padding: 1.2rem 0 0 0;
    min-height: 40vh;
  }

  .hero-title {
    font-size: 1.1rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }

  .hero-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .hero-img img {
    max-width: 160px;
  }

  .about-title {
    font-size: 1.1rem;
  }

  .about-desc {
    font-size: 0.85rem;
  }

  .servicio-card {
    padding: 0.8rem;
  }

  .servicio-card img {
    height: 140px;
  }

  .principio-card {
    padding: 1rem 0.6rem 0.6rem 0.6rem;
  }

  .ubicacion-mapa iframe {
    height: 180px;
  }

  .section-wave-divider {
    height: 25px;
  }

  .section-wave-divider svg {
    height: 25px;
  }
}

/* Orientación landscape en móviles */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0 0 0;
  }

  .hero-content {
    gap: 1rem;
  }

  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .section {
    padding: 1.5rem 0 1rem 0;
  }

  .section-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
}

/* Pantallas de alta resolución */
@media (min-width: 1400px) {
  .container {
    max-width: 1300px;
  }

  .hero-title {
    font-size: 3.2rem;
  }

  .hero-subtitle {
    font-size: 1.4rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .about-title {
    font-size: 2.5rem;
  }

  .servicios-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }

  /* Limitar el tamaño de las imágenes en pantallas grandes */
  .servicio-card img {
    height: 220px;
    margin-top: 1rem;
  }

  .about-img img {
    max-width: 450px;
    margin-top: 5rem;
  }

  .servicio-img img {
    max-width: 600px;
    margin-top: 2rem;
  }
}

/* Ajustes para dispositivos con pantalla táctil */
@media (hover: none) and (pointer: coarse) {
  .flip-card:hover .flip-card-inner {
    transform: none;
  }

  .flip-card:active .flip-card-inner {
    transform: rotateY(180deg);
  }

  .servicio-card:hover {
    transform: none;
  }

  .servicio-card:active {
    transform: translateY(-4px);
  }

  .principio-card:hover {
    transform: none;
  }

  .principio-card:active {
    transform: translateY(-4px);
  }

  .valor:hover {
    transform: none;
  }

  .valor:active {
    transform: translateY(-2px);
  }

  /* Optimizaciones de rendimiento para móviles */
  .hero-bg-slide.active {
    animation: none;
  }

  .section-wave-divider svg {
    animation: none;
  }

  .about-animate,
  .valor-icon,
  .principio-icon {
    animation-duration: 2.5s;
  }

  /* Mejorar scroll en móviles */
  .nav-menu {
    -webkit-overflow-scrolling: touch;
  }

  /* Optimizar imágenes para móviles */
  .servicio-card img,
  .about-img img,
  .hero-img img {
    will-change: transform;
  }
}

/* Ajustes para modo oscuro del sistema */
@media (prefers-color-scheme: dark) {
  :root {
    --light: #1a1a1a;
    --white: #2d2d2d;
    --gray: #404040;
    --text: #e0e0e0;
  }

  .header {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }

  .hero-section {
    background: linear-gradient(120deg, var(--light) 60%, #2a2a2a 100%);
  }

  .hero-section::before {
    background: linear-gradient(120deg, rgba(26,26,26,0.85) 60%, rgba(42,42,42,0.7) 100%);
  }

  .valor-card {
    background: #2d2d2d !important;
  }

  .valor-card h3{
    color: white !important;
  }

  .valor-card p{
    color: #b0b0b0 !important;
  }

  .servicio-card,
  .principio-card,
  .valor,
  .flip-card-front,
  .flip-card-back {
    background: var(--white);
    color: var(--text);
  }

  .servicio-card p,
  .principio-card p,
  .about-desc {
    color: #b0b0b0;
  }
}

/* Ajustes para usuarios con preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-bg-slide.active {
    animation: none;
  }

  .about-animate,
  .valor-icon,
  .principio-icon {
    animation: none;
  }

  .section-wave-divider svg {
    animation: none;
  }
}

.valor-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border-left: 6px solid var(--primary);
  display: flex;
  align-items: flex-start;
  padding: 0.8rem 1rem 0.8rem 1.2rem;
  margin-bottom: 1rem;
  width: 100%;
}

/* Estilos para la sección de contacto */
.contacto-section {
  background: linear-gradient(135deg, var(--light) 0%, #e8f4f8 100%);
  position: relative;
  overflow: hidden;
}

.contacto-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('consulta-bg.jpg') center/cover;
  opacity: 0.05;
  z-index: 0;
}

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

.contacto-label {
  display: block;
  text-align: center;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.contacto-title {
  margin-top: 0px;
  text-align: center;
  color: var(--secondary);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.contacto-subtitle {
  text-align: center;
  color: var(--text);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

/* Información de contacto */
.contacto-info {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-left: 4px solid var(--primary);
}

.contacto-info h3 {
  color: var(--secondary);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contacto-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contacto-item:hover {
  background: rgba(0, 182, 179, 0.05);
  transform: translateX(5px);
}

.contacto-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(0, 182, 179, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contacto-item:hover .contacto-icon {
  background: var(--primary);
  transform: scale(1.1);
}

.contacto-item:hover .contacto-icon svg {
  stroke: var(--white);
}

.contacto-item h4 {
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.contacto-item p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Formulario de contacto */
.contacto-formulario {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-left: 4px solid var(--secondary);
}

.formulario-contacto {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: var(--white);
  color: var(--text);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

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

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.8rem;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.checkbox-group label {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

.checkbox-group a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

.btn-enviar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 182, 179, 0.3);
  margin-top: 1rem;
}

.btn-enviar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 182, 179, 0.4);
}

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

.btn-enviar svg {
  transition: transform 0.3s ease;
}

.btn-enviar:hover svg {
  transform: translateX(3px);
}

/* Estados de validación del formulario */
.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:focus,
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #e74c3c;
}

.form-group input:valid:not(:placeholder-shown),
.form-group select:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
  border-color: #27ae60;
}

/* Responsive para la sección de contacto */
@media (max-width: 900px) {
  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contacto-info,
  .contacto-formulario {
    padding: 1.5rem;
  }

  .contacto-title {
    font-size: 1.8rem;
  }

  .contacto-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .contacto-section {
    padding: 2rem 0;
  }

  .contacto-title {
    font-size: 1.6rem;
  }

  .contacto-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }

  .contacto-info{
    padding: 1.2rem 0 1.2rem 0;
  }

  .contacto-formulario {
    padding: 1.2rem;
  }

  .contacto-item {
    padding: 0.8rem;
    margin-bottom: 1rem;
  }

  .contacto-icon {
    width: 35px;
    height: 35px;
  }

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

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.7rem 0.8rem;
    font-size: 0.95rem;
  }

  .btn-enviar {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .contacto-title {
    font-size: 1.4rem;
  }

  .contacto-info h3 {
    font-size: 1.2rem;
  }

  .contacto-item h4 {
    font-size: 0.9rem;
  }

  .contacto-item p {
    font-size: 1.1rem;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  .checkbox-group label {
    font-size: 0.8rem;
  }
}

/* Estilos para mensajes del formulario */
.mensaje-formulario {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-weight: 500;
  animation: slideIn 0.3s ease;
}

.mensaje-success {
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid #27ae60;
  color: #27ae60;
}

.mensaje-error {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid #e74c3c;
  color: #e74c3c;
}

.mensaje-formulario button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.2rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  margin-left: 0.5rem;
}

.mensaje-formulario button:hover {
  background: rgba(0, 0, 0, 0.1);
}

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

/* Estilos específicos para la página de contacto */
.contacto-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  min-height: 50vh;
  padding: 3rem 0;
}

.contacto-hero .hero-title {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contacto-hero .hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.contacto-hero .hero-img img {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

/* Estilos para enlaces activos en el menú */
.nav-list a.active {
  color: var(--primary);
  background: rgba(0, 182, 179, 0.1);
  font-weight: 700;
}

/* Responsive para la página de contacto */
@media (max-width: 768px) {
  .contacto-hero {
    min-height: 40vh;
    padding: 2rem 0;
  }

  .contacto-hero .hero-title {
    font-size: 2rem;
  }

  .contacto-hero .hero-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 600px) {

  .hero-img {
    flex: 1 1 160px;
    display: none;
  }

  .hero-text {
    flex: 1 1 250px;
  }

  .contacto-hero {
    min-height: 35vh;
    padding: 1.5rem 0;
  }

  .contacto-hero .hero-title {
    font-size: 1.8rem;
  }

  .contacto-hero .hero-subtitle {
    font-size: 1rem;
  }
} 