/* 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;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  max-height: 120px;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}
.logo img:hover {
  transform: scale(1.05);
}

/* Top Bar */
.top-bar {
  background: #2a2a2a;
  color: #f1f1f1;
  font-size: 0.9rem;
  padding: 6px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.top-bar-content {
  max-width: 1300px;
  margin: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0 20px;
}
.top-bar-content a {
  color: #d4af37;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.top-bar-content a:hover {
  color: #fff;
}
.top-bar-content i {
  margin-right: 6px;
  color: #d4af37;
  position: relative;
  top: 1px;
}
.phone-link i {
  animation: ring 1.5s 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); }
}

/* Menú de navegación */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: auto;
  padding: 10px 20px;
}
nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  background: #e6e6e6;
  border-radius: 12px;
  padding: 0.5rem 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
nav ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  align-items: center;
}
nav ul li {
  position: relative;
}
nav ul li a {
  padding: 0.75rem 0.8rem;
  color: #d4af37;
  ext-decoration: none;  
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  font-size: 1rem;
}
nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 3px;
  background-color: #d4af37;
  transition: width 0.3s ease;
  border-radius: 4px;
}
nav ul li a:hover::after {
  width: 100%;
}
nav ul li a:hover {
  background-color: rgba(212, 175, 55, 0.1);
}

/* Toggle menú móvil */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  z-index: 1100;
}
.menu-toggle span {
  height: 3px;
  background: #bfa046;
  margin: 4px 0;
  border-radius: 2px;
  width: 25px;
  display: block;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  nav ul {
    flex-direction: column;
    background: #f5f5f5;
    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-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

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

.servicio {
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid #d4af37;
}

.servicio:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.servicio i {
  font-size: 2.5rem;
  color: #d4af37;
  margin-bottom: 1rem;
}

.servicio h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #222;
}

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


.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
              url('img/heroelo.webp') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 120px 20px;
  position: relative;
}
.hero-content {
  max-width: 900px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}
.hero p {
  font-size: 1.25rem;
  color: #eee;
  margin-bottom: 2rem;
}
.cta-button-whatsapp {
  background-color: #25d366;
  color: white;
  font-size: 1.1rem;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
  display: inline-block;
}
.cta-button-whatsapp:hover {
  background-color: #1ebc59;
}

.tecnologia.seccion-destacada {
  background: #f8f8f8;
  padding: 4rem 0;
}

.card-tecnologia {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  padding: 3rem;
}

.titulo-seccion {
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-left: 5px solid #d4af37;
  padding-left: 1rem;
}

.tecnologia-contenido {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.tecnologia-texto {
  flex: 1;
  min-width: 280px;
}

.tecnologia-texto p {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 1.5rem;
}

.tecnologia-texto ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tecnologia-texto li {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: #333;
}

.tecnologia-texto li i {
  color: #d4af37;
  margin-right: 0.5rem;
}

.link-rayos {
  margin-top: 1.5rem;
  font-weight: 500;
}

.link-rayos i {
  color: #d4af37;
  margin-right: 0.5rem;
}

.link-rayos a {
  color: #d4af37;
  text-decoration: underline;
}

.tecnologia-imagen {
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tecnologia-imagen img {
  max-width: 100%;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .tecnologia-contenido {
    flex-direction: column;
  }
}
.seccion-contacto {
  background: #f4f4f4;
  padding: 5rem 0;
}

.contacto-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
}

.contacto-info {
  flex: 1;
  min-width: 280px;
}

.contacto-info h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-left: 4px solid #d4af37;
  padding-left: 1rem;
}

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

.contacto-info li {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #444;
}

.contacto-info li i {
  color: #d4af37;
  margin-right: 0.75rem;
}

.contacto-info a {
  color: #222;
  text-decoration: none;
}

.contacto-info a:hover {
  color: #d4af37;
}

.contacto-formulario {
  flex: 1;
  min-width: 280px;
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.contacto-formulario h3 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  color: #1a1a1a;
  border-bottom: 2px solid #d4af37;
  padding-bottom: 0.5rem;
}

.contacto-formulario input,
.contacto-formulario textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-family: inherit;
}

.contacto-formulario button {
  background-color: #d4af37;
  color: #fff;
  border: none;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contacto-formulario button:hover {
  background-color: #b8972f;
}

@media (max-width: 768px) {
  .contacto-flex {
    flex-direction: column;
  }
}
.footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 4rem 0 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  align-items: start;
}

.footer-logo img {
  max-width: 180px;
  filter: grayscale(100%);
  opacity: 0.8;
}

.footer-info h4,
.footer-horario h4,
.footer-links h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  border-left: 4px solid #d4af37;
  padding-left: 0.75rem;
}

.footer-info p,
.footer-horario li,
.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-info i,
.footer-links a i {
  color: #d4af37;
  margin-right: 0.5rem;
}

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

.footer-links a:hover {
  color: #d4af37;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #888;
}

.footer-redes {
  margin-top: 1.5rem;
}

.footer-redes a {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: #d4af37;
  transition: transform 0.3s;
}

.footer-redes a:hover {
  transform: scale(1.2);
  color: #fff;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  font-size: 1.8rem;
  padding: 0.9rem 1rem;
  border-radius: 50%;
  z-index: 10000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: background 0.3s;
}

.whatsapp-float:hover {
  background-color: #1ebe5b;
}
.mapa-ubicacion {
  width: 100%;
  background: #f4f4f4;
  padding: 0;
  margin: 0;
  border-top: 1px solid #ddd;
}

.mapa-detalle {
  background: #fff;
  text-align: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  color: #333;
  border-bottom: 1px solid #ddd;
}

.mapa-detalle i {
  color: #d4af37;
  margin-right: 0.5rem;
}

    .subpagina-header {
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  padding: 3rem 1rem;
}

.subpagina-header h1 {
  font-size: 2.5rem;
  color: #d4af37;
}

.subpagina-header p {
  font-size: 1.2rem;
  color: #ccc;
}

.contenido-especialidad {
  padding: 4rem 0;
  background: #f9f9f9;
}

.especialidad-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.texto-especialidad {
  flex: 1;
}

.texto-especialidad h2, .texto-especialidad h3 {
  color: #1a1a1a;
}

.imagen-especialidad {
  flex: 1;
  text-align: center;
}

.imagen-especialidad img {
  max-width: 100%;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

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

.item-sintoma {
  background: #fff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: #333;
}

.item-sintoma i {
  color: #d4af37;
  font-size: 1.5rem;
}

.cta-contacto {
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  padding: 3rem 1rem;
}

.cta-contacto h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-contacto .btn-dorado.grande {
  font-size: 1.1rem;
  padding: 1rem 2rem;
  display: inline-block;
  margin-top: 1rem;
}
.fondo-suave {
  background: linear-gradient(to bottom, #fdfdfd, #f6f6f6);
  padding: 4rem 0;
}

.titulo-seccion {
  font-size: 2rem;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-left: 5px solid #d4af37;
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

.texto-especialidad p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.lista-beneficios {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.lista-beneficios li {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #333;
  display: flex;
  align-items: start;
}

.lista-beneficios i {
  color: #d4af37;
  font-size: 1.2rem;
  margin-right: 0.6rem;
  margin-top: 0.3rem;
}
.btn-dorado.whatsapp-btn {
  background-color: #25D366;
  color: white;
  font-size: 1.05rem;
  padding: 0.9rem 1.5rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-dorado.whatsapp-btn:hover {
  background-color: #1ebe5b;
  transform: translateY(-2px);
}

.fondo-oscuro {
  background-color: #1a1a1a;
  color: #f0f0f0;
  padding: 4rem 1rem;
}

.titulo-seccion.centrado {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #d4af37;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
}

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

.item-sintoma {
  background: #2a2a2a;
  border-left: 5px solid #d4af37;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-size: 1.05rem;
  color: #e0e0e0; /* <-- cambio clave */
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: transform 0.3s ease;
}


.item-sintoma i {
  color: #d4af37;
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

.item-sintoma:hover {
  transform: translateY(-5px);
}

.fondo-cta {
  background: linear-gradient(135deg, #1a1a1a 0%, #222 100%);
  color: #fff;
  padding: 4rem 1.5rem;
  text-align: center;
}

.cta-contenido {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.cta-texto h2 {
  font-size: 2rem;
  color: #d4af37;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-texto p {
  font-size: 1.1rem;
  color: #ddd;
  max-width: 600px;
  margin: 0 auto;
}

.cta-boton .btn-dorado.whatsapp-btn {
  background-color: #25d366;
  color: white;
  font-size: 1.05rem;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease, transform 0.2s ease;
}

.cta-boton .btn-dorado.whatsapp-btn:hover {
  background-color: #1ebe5b;
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .cta-contenido {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .cta-texto {
    text-align: left;
  }
}
.subpagina-header .container {
  display: block; /* o simplemente no definas flex aquí */
}

.formulario-contacto form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: auto;
}

.formulario-contacto input,
.formulario-contacto textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

.formulario-contacto button {
  align-self: flex-start;
  background-color: #bfa046;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

.formulario-contacto button:hover {
  background-color: #a88d3a;
}
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    background: #f5f5f5;
    position: absolute;
    top: 80px;
    right: 20px;
    width: 200px;
    border-radius: 8px;
    padding: 1rem;
    display: none;
    z-index: 9999; /* <--- agrega esto */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
}
.img-profesional {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  margin: 0 auto 1rem;
  display: block;
  object-fit: cover;
}

.servicios-grid .servicio {
  text-align: center;
  padding: 2rem;
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid #d4af37;
}

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

.servicios-grid .servicio h3 {
  color: #1a1a1a;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

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

@media (max-width: 768px) {
  .img-profesional {
    max-width: 180px;
  }
}







