body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f5fafd;
}

/* Container reutilizable */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* Barra superior azul */
.barra-superior {
  background-color: #29a4cf;
  color: white;
  font-size: 14px;
  padding: 8px 0;
}

.barra-superior .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.barra-superior .social a {
  color: white;
  margin-left: 10px;
}

/* Franja gris */
.barra-contacto {
  background-color: #444;
  color: white;
  font-size: 14px;
  padding: 8px 0;
}

.contacto-info {
  display: flex;
  justify-content: space-between;
}

/* Encabezado */
.main-header {
  background-color: white;
  padding: 50px 50px;
  border-bottom: 1px solid #e0e0e0;
}

.encabezado-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 150px;
  width: 250px;
  margin-right: 15px;
}

.logo h1 {
  margin: 0;
  font-size: 22px;
  color: #004d4d;
}

.logo p {
  margin: 0;
  font-size: 14px;
  color: #777;
}

/* Botón consulta */
.btn-consulta {
  background: #00c29e;
  color: white;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}

.btn-consulta:hover {
  background: #009f82;
}




/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  background: url('fondo-borroso.jpg') no-repeat center center;
  background-size: cover;
  padding: 50px 30px;
  align-items: center;
  justify-content: space-between;
}

.hero .contenido {
  max-width: 600px;
  color: #222;
}

.hero h2 {
  font-size: 1rem;
  color: #0082a1;
  margin-bottom: 10px;
}

.hero h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #222;
}

.hero p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.hero strong {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

.perfil {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.perfil img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
}

.estrellas {
  font-size: 1.2rem;
}

.rating {
  font-size: 0.9rem;
  color: #777;
}

/* Imagen lateral */
.imagen-doctor img {
  max-width: 100%;
  border-radius: 20px;
}

/* Botones flotantes */
.botones-flotantes {
  position: fixed;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.botones-flotantes a {
  background: #00c29e;
  color: white;
  padding: 10px;
  border-radius: 50%;
  text-align: center;
  font-size: 18px;
}

/* WhatsApp flotante */


/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    padding: 20px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 10;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-center {
    justify-content: space-between;
  }

  .btn-consulta {
    margin-top: 15px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .perfil {
    justify-content: center;
  }

  .botones-flotantes {
    right: 5px;
  }
}


.hero-julio {
  background: url('fondo-borroso.jpg') no-repeat center center;
  background-size: cover;
  padding: 60px 20px;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.hero-text {
  max-width: 600px;
  color: #2d2d2d;
}

.hero-text .subtitulo {
  color: #007f99;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
}

.hero-text h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #2c2c2c;
  font-weight: bold;
}

.hero-text .descripcion {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.hero-text .consulta {
  margin: 20px 0 10px;
  font-weight: bold;
  font-size: 16px;
}

.valoracion {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 15px 0;
}

.doctor-foto {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
}

.estrellas {
  font-size: 18px;
  color: #ffc107;
}

.valor-social {
  font-size: 13px;
  color: #333;
  margin-top: 4px;
}

.btn-whatsapp {
  display: inline-block;
  background-color: #00c29e;
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  margin-top: 20px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-whatsapp i {
  margin-right: 8px;
}

.btn-whatsapp:hover {
  background-color: #009f82;
}

.hero-img img {
  width: 100%;
  max-width: 460px;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .valoracion {
    justify-content: center;
  }

  .hero-img {
    margin-top: 30px;
  }
}


.beneficios {
  padding: 60px 20px;
  background: #fff;
}

.beneficios-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.beneficios-texto {
  flex: 1 1 500px;
}

.beneficios-texto .etiqueta {
  color: #007f99;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
}

.beneficios-texto h2 {
  font-size: 32px;
  color: #222;
  margin-bottom: 15px;
}

.beneficios-texto p {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.lista-beneficios {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.lista-beneficios li {
  margin-bottom: 12px;
  font-size: 15px;
  position: relative;
  padding-left: 25px;
  line-height: 1.5;
}

.lista-beneficios li::before {
  content: "»";
  position: absolute;
  left: 0;
  color: #00c29e;
  font-weight: bold;
}

.beneficios-imagen {
  flex: 1 1 400px;
}

.imagen-con-marco {
  background-color: #073642;
  border-radius: 20px;
  overflow: hidden;
  padding: 15px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.imagen-con-marco img {
  width: 100%;
  border-radius: 10px;
}

.doctor-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  color: white;
}

.doctor-brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: white;
  border-radius: 50%;
  padding: 5px;
}

/* Responsive */
@media (max-width: 768px) {
  .beneficios-grid {
    flex-direction: column;
  }

  .imagen-con-marco {
    padding: 0;
    background: none;
    box-shadow: none;
  }

  .doctor-brand {
    justify-content: center;
    color: #333;
  }
}

.pulse {
  animation: pulse 2s infinite;
  transition: transform 0.3s ease;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.servicios {
  background: linear-gradient(to right, #005fa3, #007cb9);
  color: white;
  padding: 80px 20px;
}

.servicios-grid-2col {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}

.tarjetas-servicios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  flex: 1 1 55%;
}

.servicio-box {
  background-color: white;
  color: #004d4d;
  display: flex;
  gap: 15px;
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.servicio-box:hover {
  transform: translateY(-6px);
}

.servicio-box img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.servicio-box h3 {
  font-size: 1.1rem;
  color: #005fa3;
  margin: 0 0 5px 0;
  text-transform: uppercase;
}

.servicio-box p {
  font-size: 0.9rem;
  margin: 0;
}

.leyenda-servicios {
  flex: 1 1 40%;
}

.leyenda-servicios h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: bold;
}

.leyenda-servicios .intro {
  font-size: 1rem;
  margin-bottom: 15px;
  opacity: 0.9;
}

.leyenda-servicios ul {
  padding-left: 20px;
  list-style: disc;
  line-height: 1.7;
  font-size: 0.95rem;
}
.servicios-grid-2col {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: center; /* 🔧 Alinea verticalmente al centro */
}

/* Opcional: asegura altura mínima para alinear bien visualmente */
.servicios .tarjetas-servicios,
.servicios .leyenda-servicios {
  flex: 1 1 48%;
  min-height: 100%;
}
@media (max-width: 768px) {
  .servicios-grid-2col {
    flex-direction: column;
    align-items: stretch;
  }

  .tarjetas-servicios,
  .leyenda-servicios {
    width: 100%;
    flex: 1 1 100%;
  }

  .tarjetas-servicios {
    grid-template-columns: 1fr;
  }
}
.servicios {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(to bottom, #eaf6ff, #f7fcff);
}

.servicios h2 {
  font-size: 1.2rem;
  color: #40a0af;
  margin-bottom: 10px;
  font-weight: 600;
}

.servicios h3 {
  font-size: 2rem;
  margin-bottom: 50px;
  color: #000;
}

.tarjetas {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.tarjeta {
  background-color: #0b1523;
  color: white;
  border-radius: 20px;
  width: 280px;
  padding: 40px 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.tarjeta i {
  font-size: 2rem;
  color: white;
  margin-bottom: 15px;
  display: block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.tarjeta h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

/* Descripción: oculta fuera del flujo sin romper altura */
.tarjeta p {
  position: absolute;
  bottom: 20px;
  left: 25px;
  right: 25px;
  background-color: black;
  padding: 10px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Efecto hover */
.tarjeta:hover {
  background-color: #0b1523;
  transform: translateY(-5px);
}

.tarjeta:hover i {
  color: white;
  transform: scale(1.2);
}

.tarjeta:hover p {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .tarjeta {
    width: 90%;
  }
}


.about-section {
  background: #fdfdfd;
  padding: 100px 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #222;
}

.about-text p {
  font-size: 18px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 15px;
}

.about-text strong {
  color: #111;
}

.quienes-somos {
  background-color: #f5faff; /* Azul tenue */
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px; /* ← Reduce este valor */
}

.foto {
  flex: 0 0 auto;
  margin-right: 30px; /* Espacio controlado entre imagen y texto */
}

.foto img {
  width: 260px;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.texto {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.texto h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #0b2c4d;
}

.texto p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 12px;
}

.texto strong {
  color: #0b4fa9;
}

.social {
  margin-top: 25px;
}

.social a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  background: #1877F2;
  color: #fff;
  margin-right: 12px;
  border-radius: 50%;
  font-size: 18px;
  transition: background 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.social a:hover {
  background: #0e5ed6;
  transform: scale(1.1);
}

.wave-title {
  font-size: 3.9 rem;
  font-weight: bold;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1px;
  color: #111827;
  text-align: center;
}

.wave-title span {
  display: inline-block;
  animation: wave 1.6s ease-in-out infinite;
}

@keyframes wave {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.beneficios.clean {
  background: #ffffff;
  padding: 80px 20px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.beneficios.clean h2 {
  font-size:3.9rem;
  color: #111827;
  margin-bottom: 60px;
}

.beneficios.clean h2 span {
  color: #0284c7;
}

.grid.grid-3x3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.beneficios.clean .card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 30px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.beneficios.clean .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.beneficios.clean .card img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #f0f9ff;
  padding: 10px;
  object-fit: contain;
}

.beneficios.clean .card h3 {
  font-size: 1.1rem;
  color: #111827;
  margin-bottom: 10px;
}

.beneficios.clean .card p {
  font-size: 0.95rem;
  color: #6b7280;
}
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  text-decoration: none;
}
/* Responsive */
@media (max-width: 900px) {
  .grid.grid-3x3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid.grid-3x3 {
    grid-template-columns: 1fr;
  }
}

/* Delays para animación tipo ola */
.wave-title span:nth-child(1) { animation-delay: 0s; }
.wave-title span:nth-child(2) { animation-delay: 0.05s; }
.wave-title span:nth-child(3) { animation-delay: 0.1s; }
.wave-title span:nth-child(4) { animation-delay: 0.15s; }
.wave-title span:nth-child(5) { animation-delay: 0.2s; }
.wave-title span:nth-child(6) { animation-delay: 0.25s; }
.wave-title span:nth-child(7) { animation-delay: 0.3s; }
.wave-title span:nth-child(8) { animation-delay: 0.35s; }
.wave-title span:nth-child(9) { animation-delay: 0.4s; }
.wave-title span:nth-child(10) { animation-delay: 0.45s; }
.wave-title span:nth-child(11) { animation-delay: 0.5s; }
.wave-title span:nth-child(12) { animation-delay: 0.55s; }
.wave-title span:nth-child(13) { animation-delay: 0.6s; }
.wave-title span:nth-child(14) { animation-delay: 0.65s; }
.wave-title span:nth-child(15) { animation-delay: 0.7s; }
.wave-title span:nth-child(16) { animation-delay: 0.75s; }
.wave-title span:nth-child(17) { animation-delay: 0.8s; }
.wave-title span:nth-child(18) { animation-delay: 0.85s; }
.wave-title span:nth-child(19) { animation-delay: 0.9s; }
.wave-title span:nth-child(20) { animation-delay: 0.95s; }
.wave-title span:nth-child(21) { animation-delay: 1.0s; }
.wave-title span:nth-child(22) { animation-delay: 1.05s; }
.wave-title span:nth-child(23) { animation-delay: 1.1s; }
.wave-title span:nth-child(24) { animation-delay: 1.15s; }
.wave-title span:nth-child(25) { animation-delay: 1.2s; }
.wave-title span:nth-child(26) { animation-delay: 1.25s; }
.wave-title span:nth-child(27) { animation-delay: 1.3s; }
.wave-title span:nth-child(28) { animation-delay: 1.35s; }
.wave-title span:nth-child(29) { animation-delay: 1.4s; }
.wave-title span:nth-child(30) { animation-delay: 1.45s; }
.wave-title span:nth-child(31) { animation-delay: 1.5s; }
.wave-title span:nth-child(32) { animation-delay: 1.55s; }
.wave-title span:nth-child(33) { animation-delay: 1.6s; }
.wave-title span:nth-child(34) { animation-delay: 1.65s; }
.wave-title span:nth-child(35) { animation-delay: 1.7s; }



.navbar {
  background-color: #e1f0ff;
  color: #0a3d62;
  padding: 15px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 60, 120, 0.1);
  transition: background-color 0.3s ease;
}

.nav-center {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: center; /* centramos todo inicialmente */
  align-items: center;
  position: relative;
}

.nav-toggle {
  position: absolute;
  left: 0;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #0a3d62;
  cursor: pointer;
  display: none;
}

/* Enlaces */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  transition: all 0.3s ease;
}

.nav-links li a {
  color: #0a3d62;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.2s;
}

.nav-links li a:hover {
  background-color: #cce6ff;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-center {
    justify-content: space-between;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #e1f0ff;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 220px;
    padding: 20px 15px;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0, 60, 120, 0.2);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.4s ease;
  }

  .nav-links.show-links {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links li {
    margin: 10px 0;
  }
}

.seccion-bienvenida {
  margin-top: 70px; /* ✅ Deja espacio para el navbar fijo */
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 180px;
  padding: 0 30px;
  overflow: hidden;
  color: #033b4a;
  background: linear-gradient(to right, #d0eaff 50%, #a3cfff 50%);
  z-index: 1;
}

.lado {
  width: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.logo {
  max-width: 200px;
  height: auto;
}

.contenido-central {
  width: 50%;
  text-align: center;
  z-index: 2;
}

.contenido-central h1 {
  font-size: 1.8rem;
  margin: 0;
  color: #002f5b;
}

.btn-cita {
  background-color: #005792;
  color: #fff;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-cita:hover {
  background-color: #003f6b;
}

/* Fondo decorativo curvo */
.curva-fondo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center left, #d0eaff 0%, #a3cfff 100%);
  clip-path: ellipse(75% 100% at 50% 0%);
  z-index: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .seccion-bienvenida {
    flex-direction: column;
    height: auto;
    padding: 30px 20px;
    background: #d0eaff;
  }

  .lado, .contenido-central {
    width: 100%;
    margin-bottom: 15px;
    z-index: 2;
  }

  .btn-cita {
    padding: 10px 20px;
  }

  .contenido-central h1 {
    font-size: 1.5rem;
  }

  .curva-fondo {
    clip-path: ellipse(100% 100% at 50% 0%);
  }
}

/* Estilos generales */
.info-ubicacion,
.info-horario,
.info-telefono {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #005792;
  font-weight: bold;
}

.info-ubicacion i,
.info-horario i,
.info-telefono i {
  font-size: 26px;
}

.texto-ubicacion,
.texto-horario,
.texto-telefono {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
  font-weight: bold;
  color: #005792;
  line-height: 1.4;
  text-align: left;
}

.grupo-info-centrado {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 35px;
  z-index: 2;
  flex: 1;
  flex-wrap: wrap;
  transform: translateX(90px);
}

/* Responsive para móvil */
@media (max-width: 768px) {
  .grupo-info-centrado {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: none;
    gap: 20px;
    margin-left: 0;
    width: 100%;
  }

  .info-ubicacion,
  .info-horario,
  .info-telefono {
    justify-content: center;
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .texto-ubicacion,
  .texto-horario,
  .texto-telefono {
    align-items: center;
    text-align: center;
  }
}





.botones-sociales-laterales {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

/* Botón social */
.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: #eaf3f8; /* azul tenue */
  color: #005792;
  text-decoration: none;
  border-radius: 8px 0 0 8px;
  font-size: 20px;
  transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
}

/* Hover más fuerte */
.btn-social:hover {
  background-color: #005792;
  color: #ffffff;
  transform: translateX(-5px);
}

.seccion-final {
  background: linear-gradient(to right, #e6f4ff, #cce6ff);
  padding: 60px 20px;
  text-align: center;
}

.contenido-final h2 {
  font-size: 2.2rem;
  color: #005792;
  margin-bottom: 10px;
}

.contenido-final p {
  font-size: 1.1rem;
  color: #333;
  max-width: 600px;
  margin: 0 auto 20px;
}

.btn-wsp {
  background-color: #25D366;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-wsp:hover {
  background-color: #1da955;
}

.contenedor-ubicacion-reseñas {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.mapa-final iframe,
.reseñas-final iframe {
  width: 100%;
  height: 300px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mapa-final,
.reseñas-final {
  flex: 1 1 400px;
  max-width: 500px;
}
.btn-reseñas {
  background-color: #005792;
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  margin: 20px auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-reseñas:hover {
  background-color: #003f6b;
}

.info-extra {
  margin: 25px auto 0 auto;
  font-size: 1.1rem;
  color: #005792;
  text-align: center;
  font-weight: 500;
  opacity: 0.9;
  max-width: 400px; /* 💡 Esto limita el ancho */
}

.info-extra p {
  margin: 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.5;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .contenedor-ubicacion-reseñas {
    flex-direction: column;
    align-items: center;
  }

  .mapa-final,
  .reseñas-final {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .btn-reseñas,
  .btn-wsp {
    width: 90%;
    font-size: 1rem;
    padding: 12px 20px;
  }

  .info-extra {
    font-size: 1rem;
    max-width: 90%;
  }

  .info-extra p {
    flex-direction: column;
    gap: 6px;
    font-size: 1rem;
    text-align: center;
  }

  .contenido-final h2 {
    font-size: 1.8rem;
  }

  .contenido-final p {
    font-size: 1rem;
    padding: 0 10px;
  }

  .btn-wsp i,
  .btn-reseñas i {
    font-size: 1.2rem;
  }
}


.footer-modern {
  background-color: #000;
  padding: 40px 20px;
  text-align: center;
  color: #ccc;
  position: relative;
  overflow: hidden;
}

.footer-contenido {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  width: 100px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.2);
  transition: transform 0.6s ease-in-out;
}

/* Animación continua */
.animado-logo {
  animation: giroZoom 6s ease-in-out infinite;
}

@keyframes giroZoom {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.1) rotate(5deg);
  }
}

.footer-texto {
  font-size: 1rem;
  color: #ccc;
  letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 600px) {
  .footer-logo {
    width: 80px;
  }

  .footer-texto {
    font-size: 0.95rem;
  }
}

html {
  scroll-behavior: smooth;
}