/* Estructura base y fuente */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  background: #fefefe;
  color: #222;
}
.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header {
  background: white;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
}



/* Logo estilizado */
.logo {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.logo img {
  max-height: 70px;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Toggle menu móvil */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
}
.menu-toggle span {
  height: 3px;
  background: #003f6b; /* Cambiado de blanco a azul oscuro */
  margin: 4px 0;
  border-radius: 2px;
  width: 25px;
  display: block;
}

/* Secciones */
section {
  padding: 3rem 0;
  border-bottom: 1px solid #ddd;
}
section h2 {
  color: #002f5f;
  font-size: 2rem;
  margin-bottom: 1rem;
}
section p {
  margin: 0.5rem 0;
}

/* Footer */
footer {
  background: #eee;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
}

/* Botón WhatsApp */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  font-size: 24px;
  padding: 12px 14px;
  border-radius: 50%;
  text-align: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  text-decoration: none;
}



nav {
  background: #eef5fa; /* gris azulado suave */
  border-radius: 12px;
  padding: 0.5rem 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}






.top-bar {
  background: linear-gradient(to right, #002f5f, #0046ff);
  color: white;
  font-size: 0.9rem;
  padding: 8px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.top-bar-content {
  max-width: 1300px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.top-bar-right {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.top-bar a:hover {
  color: #a8d3ff;
}

.top-bar i {
  margin-right: 6px;
}
.phone-link i {
  animation: ring 1s ease-in-out infinite;
  display: inline-block;
}

@keyframes ring {
  0% { transform: rotate(0); }
  15% { transform: rotate(15deg); }
  30% { transform: rotate(-10deg); }
  45% { transform: rotate(8deg); }
  60% { transform: rotate(-6deg); }
  75% { transform: rotate(4deg); }
  100% { transform: rotate(0); }
}



.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}



nav ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem; /* pequeña separación entre items */
}

nav ul li {
  list-style-type: none;
  position: relative;
}

nav ul li a {
  color: #003f6b;
  text-decoration: none;
  padding: 0.5rem 0.6rem; /* REDUCIMOS el padding horizontal */
  font-weight: 600;
  font-size: 0.95rem; /* opcional: bajamos levemente el tamaño */
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

/* Efecto hover moderno */
nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 3px;
  background-color: #0046ff;
 /* Azul fuerte institucional */

  transition: width 0.3s ease;
  border-radius: 4px;
}
nav ul li a:hover::after {
  width: 100%;
}

/* Fondo suave al pasar mouse */
nav ul li a:hover {
  background-color: rgba(0, 184, 241, 0.1);
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  font-size: 24px;
  padding: 14px;
  border-radius: 50%;
  text-align: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: transform 0.3s ease;
}
.whatsapp-button:hover {
  transform: scale(1.1);
}


/* Hero Section */
.hero {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url('img/hero2.webp') center/cover no-repeat;
  color: white;
  padding: 100px 20px;
  text-align: center;
}
.hero-radiografias {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url('img/radiografias2d.webp') center/cover no-repeat;
  color: white;
  padding: 100px 20px;
  text-align: center;
}
.hero-profesionales {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url('img/radiologos.webp') center/cover no-repeat;
  color: white;
  padding: 100px 20px;
  text-align: center;
}


.hero-panoramica {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url('img/rx-panoramica.webp') center/cover no-repeat;
  color: white;
  padding: 100px 20px;
  text-align: center;
}
.hero-scanner-intraoral {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url('img/scanner-intraoral.webp') center/cover no-repeat;
  color: white;
  padding: 100px 20px;
  text-align: center;
}
.hero-scanner-dental {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url('img/scanner-dental.webp') center/cover no-repeat;
  color: white;
  padding: 100px 20px;
  text-align: center;
}
.hero-fotos-clinicas {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url('img/fotos-clinicas.webp') center/cover no-repeat;
  color: white;
  padding: 100px 20px;
  text-align: center;
}
.hero-convenios {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url('img/convenios.webp') center/cover no-repeat;
  color: white;
  padding: 100px 20px;
  text-align: center;
}
.hero-contacto {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url('img/contacto.webp') center/cover no-repeat;
  color: white;
  padding: 100px 20px;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.cta-button {
  background: #0046ff;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}
.cta-button:hover {
  background: #002f9e;
}

/* Menú Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
  }


  nav ul {
    flex-direction: column;
    background: #eef5fa;
    position: absolute;
    top: 80px;
    right: 20px;
    width: 200px;
    border-radius: 8px;
    padding: 1rem;
    display: none;
  }

    nav ul.show {
    display: flex;
  }


  nav ul li {
    margin-bottom: 1rem;
  }
}

.servicios {
  background: #f9fbfd;
  padding: 4rem 0;
}
.servicios h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #002f5f;
  margin-bottom: 2rem;
}
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.servicio {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.3s ease;
}
.servicio:hover {
  transform: translateY(-5px);
}
.servicio i {
  font-size: 2.5rem;
  color: #0046ff;
  margin-bottom: 1rem;
}
.servicio h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #003f6b;
}
.servicio p {
  font-size: 0.95rem;
  color: #444;
}





.tecnologia {
  background: #eef5fa;
  padding: 4rem 0;
}
.tecnologia h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #002f5f;
  margin-bottom: 2rem;
}
.tecnologia-beneficios {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}
.tecnologia-texto {
  flex: 1 1 500px;
}
.tecnologia-texto p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  color: #333;
}
.tecnologia-texto h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  color: #003f6b;
}
.tecnologia-texto ul {
  list-style: none;
  padding-left: 0;
}
.tecnologia-texto li {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: #444;
}
.tecnologia-texto li i {
  color: #0046ff;
  margin-right: 8px;
}
.tecnologia-imagen {
  flex: 1 1 400px;
}
.tecnologia-imagen img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}



.gestion {
  background: #ffffff;
  padding: 4rem 0;
}
.gestion h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #002f5f;
  margin-bottom: 2rem;
}
.gestion-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}
.gestion-texto {
  flex: 1 1 500px;
}
.gestion-texto p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  color: #333;
}
.gestion-texto ul {
  list-style: none;
  padding-left: 0;
}
.gestion-texto li {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: #444;
}
.gestion-texto li i {
  color: #0046ff;
  margin-right: 8px;
}
.gestion-imagen {
  flex: 1 1 400px;
}
.gestion-imagen img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}





.equipo {
  background: #f9fbfd;
  padding: 4rem 0;
}
.equipo h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #002f5f;
  margin-bottom: 2rem;
}
.equipo-contenido {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}
.equipo-texto {
  flex: 1 1 500px;
}
.equipo-texto p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: #333;
}
.equipo-texto ul {
  list-style: none;
  padding-left: 0;
}
.equipo-texto li {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: #444;
}
.equipo-texto li i {
  color: #0046ff;
  margin-right: 8px;
}
.equipo-imagen {
  flex: 1 1 400px;
}
.equipo-imagen img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}



.contacto {
  background: #ffffff;
  padding: 4rem 0;
}
.contacto-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.contacto-info {
  flex: 1 1 400px;
}
.contacto-info h2 {
  font-size: 2rem;
  color: #002f5f;
  margin-bottom: 1rem;
}
.contacto-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}
.contacto-info li {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  color: #333;
}
.contacto-info li i {
  color: #0046ff;
  margin-right: 10px;
}
.contacto-info a {
  color: #003f6b;
  text-decoration: none;
}
.contacto-formulario {
  flex: 1 1 400px;
}
.contacto-formulario h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #002f5f;
}
.contacto-formulario form {
  display: flex;
  flex-direction: column;
}
.contacto-formulario input,
.contacto-formulario textarea {
  margin-bottom: 1rem;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
}
.contacto-formulario button {
  background: #0046ff;
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}
.contacto-formulario button:hover {
  background: #002f9e;
}




.footer {
  background: #002f5f;
  color: white;
  padding-top: 3rem;
  font-size: 0.95rem;
}
.footer a {
  color: #a8d3ff;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  padding-bottom: 2rem;
}
.footer-info,
.footer-horario,
.footer-links {
  flex: 1 1 250px;
}
.footer h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #ffffff;
}
.footer ul {
  list-style: none;
  padding: 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  padding: 1rem 0;
  background: #001c38;
  font-size: 0.85rem;
}
.footer-bottom strong {
  color: #66b2ff;
}


.radiografias {
  background: #ffffff;
  padding: 4rem 0;
}
.radiografias h1 {
  font-size: 2.5rem;
  color: #002f5f;
  margin-bottom: 1rem;
}
.radiografias h2 {
  font-size: 2rem;
  color: #003f6b;
  margin: 2rem 0 1rem;
}
.tipo-radiografia {
  margin-bottom: 2rem;
}
.tipo-radiografia h3 {
  font-size: 1.3rem;
  color: #0046ff;
  margin-bottom: 0.5rem;
}
.tipo-radiografia p {
  font-size: 1rem;
  color: #333;
}
.cta-radiografias {
  margin-top: 3rem;
  background: #eef5fa;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
}
.cta-radiografias p {
  font-size: 1.1rem;
  color: #003f6b;
  margin-bottom: 1rem;
}
.cta-button {
  background: #0046ff;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}
.cta-button:hover {
  background: #002f9e;
}


.cta-button-whatsapp {
  background: #25d366;
  color: white;
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  display: inline-block;
  transition: background 0.3s ease;
}
.cta-button-whatsapp:hover {
  background: #1ebc59;
}

.testimonios {
  background: #f4f9ff;
  padding: 4rem 0;
}

.testimonios h2 {
  text-align: center;
  font-size: 2rem;
  color: #002f5f;
  margin-bottom: 2.5rem;
}

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

.testimonial-bubble {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: #333;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards;
}

.testimonial-bubble::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 40px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 15px solid white;
  filter: drop-shadow(0 -2px 2px rgba(0,0,0,0.05));
}

.testimonial-bubble span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
}

.estrellas {
  font-size: 1rem;
  color: #ffc107;
  margin-top: 0.5rem;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.inclusion {
  background: #ffffff;
  padding: 4rem 0;
}

.inclusion h2 {
  text-align: center;
  font-size: 2.3rem;
  color: #002f5f;
  margin-bottom: 2rem;
}

.inclusion p {
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  color: #333;
  text-align: center;
}

.inclusion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.inclusion-card {
  background: #f9fbfd;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
  transition: transform 0.3s ease;
}

.inclusion-card:hover {
  transform: translateY(-5px);
}

.inclusion-card i {
  font-size: 2.5rem;
  color: #0046ff;
  margin-bottom: 1rem;
}

.inclusion-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #003f6b;
}

.inclusion-card p {
  font-size: 0.95rem;
  color: #444;
}
.footer-holding {
  margin-top: 20px;
  border-top: 1px solid #ddd;
  padding-top: 15px;
}

.footer-holding h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff; /* blanco */
  margin-bottom: 10px;
}

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

.footer-holding li {
  margin-bottom: 8px;
}

.footer-holding a {
  text-decoration: none;
  color: #007BFF;
  transition: color 0.3s ease;
}

.footer-holding a:hover {
  color: #0056b3;
  text-decoration: underline;
}
.equipo-radiologos {
      padding: 4rem 0;
      background-color: #f9f9f9;
    }

    .radiologos-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }

    @media (max-width: 900px) {
      .radiologos-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 600px) {
      .radiologos-grid {
        grid-template-columns: 1fr;
      }
    }

    .card-radiologo {
      background: #fff;
      padding: 2rem;
      border-radius: 12px;
      text-align: center;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s;
    }

    .card-radiologo:hover {
      transform: translateY(-5px);
    }

    .foto-radiologo img {
      width: 150px;
      height: 150px;
      object-fit: cover;
      border-radius: 50%;
      border: 4px solid #003f6b;
      margin-bottom: 1rem;
    }

    .card-radiologo h3 {
      margin: 0.5rem 0;
      color: #003f6b;
    }

    .card-radiologo p {
      color: #555;
      font-size: 0.95rem;
    }





