/* =========================
RESET GENERAL
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f4f7fa;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden; 
  
}

/* =========================
NAVBAR
========================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(10px);
  z-index: 999;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.logo img {
  height: 60px;
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #009688;
}

.btn-primary {
  background: #009688 !important;
  border: none;
  padding: 10px 18px;
  border-radius: 50px;
  color: #fff !important;
  font-weight: 600;
}

/* HAMBURGUESA */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1000;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 5px;
  transition: 0.3s;
}

/* ANIMACIÓN X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* MOBILE MENU */
@media (max-width: 991px) {

  .hamburger {
    display: flex; 
    
    margin-right: -10 px;
  }

  .nav-links {
    position: fixed;
    top: -250px;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #111;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transition: 0.4s ease;
  }

  .nav-links.open {
    right: 0;
  }
}

/* =========================
HERO
========================= */
header {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

.hero-text h2 {
  font-size: 2.5rem;
}

.hero-text p {
  margin: 10px 0;
}

.cta-button {
  background: #009688;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
}

/* =========================
BARRA SERVICIOS
========================= */
.barra-servicios {
  background: #e0f7f7;
  text-align: center;
  padding: 10px;
}

.barra-servicios a {
  color: #009688;
  text-decoration: none;
  margin: 0 15px;
}

/* =========================
BONOS
========================= */
.bonos {
  padding: 60px 20px;
  text-align: center;
}

.bono-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.bono-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.bono-card.destacado {
  border: 2px solid #009688;
}

/* =========================
QUIENES SOMOS
========================= */
.quienes-somos {
  padding: 60px 20px;
  background: #f5f5f5;
}
.contenido {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.contenido .imagen {
  flex: 1 1 400px;
}

.contenido .texto {
  flex: 1 1 400px;
}
.imagen img {
  width: 100%;
  border-radius: 10px;
}

/* =========================
EQUIPO
========================= */
.equipo-fisiovida {
  padding: 60px 20px;
  text-align: center;
  background: #fff;
}

.tarjetas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.tarjeta {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.tarjeta img {
  width: 100%;
}

/* =========================
SERVICIOS
========================= */
.grid-servicios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.servicio {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* =========================
FAQ
========================= */
.faq-fisiovida {
  max-width: 800px;
  margin: auto;
  padding: 60px 20px;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 15px;
  border: none;
  background: #504d4d;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 10px;
}

.faq-item.active .faq-answer {
  display: block;
}

/* =========================
FOOTER
========================= */
/* =========================
FOOTER
========================= */
.footer-fisiovida {
  background: #323838;
  color: white;
  padding: 40px 20px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-logo {
  height: 50px;
  width: auto;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  color: white;
  font-size: 1.3rem;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #009688;
}

.footer-right {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-right p {
  margin: 0;
  line-height: 1.8;
  font-size: 0.9rem;
}

.footer-right a {
  color: #ccc;
  text-decoration: none;
}

.footer-right a:hover {
  color: #009688;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: #aaa;
}

@media (max-width: 768px) {
  .footer-right {
    flex-direction: column;
    gap: 15px;
  }
}

/* =========================
WHATSAPP
========================= */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
IMÁGENES CONTROLADAS
========================= */

/* Equipo */
.tarjeta img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Servicios */
.servicio img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}

/* Quiénes somos */
.imagen img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
}

/* Footer logo */
.footer-logo {
  height: 100px;
  width: auto;
}