/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Quicksand', sans-serif;
  background: #000; /* Fondo negro */
  color: #fff;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2.5rem; /* Más alto */
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(to bottom, #fff, #000);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}


.logo-navbar {
  width: 140px;
  height: auto;
  mix-blend-mode: multiply;
  filter: contrast(120%) brightness(105%);
  border-radius: 10px;
  display: block;
  margin: 0;
}


.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: white;
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 4px;
  transition: background 0.2s ease-in-out;
}

.nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: transparent;
  border: none;
}

.bar {
  height: 3px;
  width: 25px;
  background-color: #000;
  margin: 4px 0;
  transition: 0.4s;
}

/* PRESENTACION */
.presentacion {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background-color: #000;
  color: #fff;
}

.imagen-presentacion img {
  max-width: 500px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.texto-presentacion {
  max-width: 600px;
  margin-left: 2rem;
}

.texto-presentacion h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.texto-presentacion p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #ddd;
}

.botones-presentacion {
  display: flex;
  gap: 1rem;
}

.btn-modern {
  padding: 0.8rem 1.5rem;
  background-color: #6cc7a1;
  color: #fff;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-modern:hover {
  background-color: #58a687;
}

/* FOOTER */
.footer-moderno {
  background-color: #111;
  padding: 2rem 1rem;
  color: #ddd;
}

.footer-contenido {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-sedes h3 {
  margin-bottom: 0.5rem;
}

.footer-social {
  margin-top: 1rem;
  text-align: center;
}

.footer-social a {
  margin: 0 0.5rem;
  font-size: 1.5rem;
  color: #6cc7a1;
  text-decoration: none;
}

.footer-social a:hover {
  color: #58a687;
}

/* BUSCADOR */
.buscador {
  text-align: center;
  margin: 40px auto;
}

.buscador input {
  width: 60%;
  padding: 12px 20px;
  border: 1px solid #ccc;
  border-radius: 30px;
  font-size: 1em;
}

/* TARJETAS DE TRATAMIENTO */
.contenedor-tratamientos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding: 40px;
}

.tarjeta {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}

.tarjeta:hover {
  transform: scale(1.03);
}

.tarjeta img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.tarjeta h3 {
  color: #2e7d32;
  margin-top: 15px;
}

.tarjeta p {
  font-size: 0.95em;
  color: #555;
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    background-color: #000;
    display: none;
    flex-direction: column;
    align-items: center;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 1rem;
  }









