/* 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: 120px;
  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 */
.top-bar {
  background-color: #012a3a;
  color: white;
  font-size: 0.9rem;
  padding: 8px 20px;
}

.top-bar-content {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.top-item a {
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.top-item a:hover {
  color: #00cfc1;
}

.top-item i {
  color: #00cfc1;
  font-size: 1rem;
}

/* HEADER */
.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #003f6b;
  text-decoration: none;
  padding: 0.75rem 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  background-color: rgba(0, 207, 193, 0.1);
  color: #00cfc1;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 20px;
  }
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  .top-bar-content {
    justify-content: center;
  }
}









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



  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, 207, 193, 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/hero-imi.webp') center/cover no-repeat;
  color: white;
  padding: 100px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 1.2rem;
  color: #ffffff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #f1f1f1;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.seo-hidden {
  display: none;
}

/* Pequeño ajuste extra para móviles */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.3rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
}


.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-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-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: #00cfc1;
    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;
  }
}



/* Nueva sección introductoria para SEO */
.intro-servicios {
  max-width: 900px;
  margin: 0 auto 2.5rem auto;
  font-size: 1.1rem;
  color: #333;
  text-align: center;
  line-height: 1.6;
}

/* Mejoras gráficas a cada tarjeta de servicio */
.servicio {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid rgba(0, 207, 193, 0.15);
}

.servicio:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.servicio i {
  font-size: 3rem;
  color: #00cfc1;
  margin-bottom: 1.2rem;
}

.servicio h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: #003f6b;
}

.servicio p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* Grid más respirable en móviles */
@media (max-width: 768px) {
  .servicios-grid {
    gap: 1.5rem;
  }
}






.contacto {
  background: #f9fbfd;
  padding: 5rem 0;
  border-top: 1px solid #e0e0e0;
}

.contacto-info, .contacto-formulario {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.contacto h2, .contacto h3 {
  color: #002f5f;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contacto p {
  font-size: 1.05rem;
  color: #444;
  text-align: center;
}

.contacto-lista {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  text-align: center;
}

.contacto-lista li {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contacto-lista li i {
  color: #00cfc1;
  margin-right: 10px;
  font-size: 1.2rem;
}

.contacto-formulario form {
  display: flex;
  flex-direction: column;
}

.contacto-formulario input,
.contacto-formulario textarea {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contacto-formulario input:focus,
.contacto-formulario textarea:focus {
  border-color: #00cfc1;
  outline: none;
}

.contacto-formulario button {
  background: #00cfc1;
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contacto-formulario button:hover {
  background: #00b3a8;
}

@media (max-width: 768px) {
  .contacto-flex {
    flex-direction: column;
    gap: 2rem;
  }
}


.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.radiografias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.beneficio-card, .radiografia-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.beneficio-card:hover, .radiografia-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.beneficio-card i, .radiografia-card i {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #00cfc1;
}

.beneficio-card h3, .radiografia-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #003f6b;
}

.beneficio-card p, .radiografia-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

.beneficios-fondo {
  background: linear-gradient(180deg, #f9fbfd 0%, #eef9f8 100%);
  padding: 5rem 0;
  border-top: 1px solid #e0e0e0;
}


.footer {
  background: #012a3a;
  color: #ffffff;
  padding: 4rem 0 2rem 0;
  font-size: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
  justify-content: center;
  align-items: flex-start;
}

.footer-col h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #00cfc1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.footer-col ul li {
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
}

.footer-col ul li i {
  margin-right: 10px;
  color: #00cfc1;
  min-width: 20px;
}

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

.footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  padding: 1.5rem 0 0 0;
  background: #001c38;
  font-size: 0.9rem;
  margin-top: 2rem;
}

.footer-bottom strong {
  color: #66b2ff;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}




.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;
}



@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;
}

.ubicacion {
  padding: 4rem 0;
  background: #f9fbfd;
}

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

.info-ubicacion {
  flex: 1 1 400px;
}

.info-ubicacion h1 {
  font-size: 2.5rem;
  color: #002f5f;
  margin-bottom: 1.5rem;
}

.info-ubicacion p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mapa-ubicacion {
  flex: 1 1 500px;
}

@media (max-width: 768px) {
  .ubicacion-grid {
    flex-direction: column;
  }

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





