/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #0d0d0d;
  color: #ffffff;
}

/* CONTENEDOR GENERAL */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: #000000;
  padding: 15px 0;
  z-index: 1000;
  border-bottom: 1px solid #1a1a1a;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.logo {
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  letter-spacing: 2px;
}
.logo-img {
  height: 48px;               /* tamaño base */
  width: auto;

  transform: scale(1.8);      /* 🔥 LOGO GRANDE sin agrandar la barra */
  transform-origin: left center;
}




/* NAV */
.nav {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: 70%;
  background: #111;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: 0.4s ease;
}

.nav.active {
  right: 0;
}

.nav-list {
  list-style: none;
  text-align: center;
}

.nav-list li {
  margin: 20px 0;
}

.nav-list a {
  text-decoration: none;
  color: #ffffff;
  font-size: 1.1rem;
  transition: 0.3s;
}

.nav-list a:hover {
  color: #e10600;
}

/* BOTÓN CTA */
.btn-cta {
  margin-top: 25px;
  padding: 12px 25px;
  background: #e10600;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: 0.3s;
}

.btn-cta:hover {
  background: #b00500;
}

/* MENU HAMBURGUESA */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  transition: 0.3s;
}

/* DESKTOP */
@media (min-width: 768px) {
  .nav {
    position: static;
    height: auto;
    width: auto;
    flex-direction: row;
    background: transparent;
  }

  .nav-list {
    display: flex;
    gap: 30px;
  }

  .nav-list li {
    margin: 0;
  }

  .btn-cta {
    margin-left: 30px;
    margin-top: 0;
  }

  .menu-toggle {
    display: none;
  }
}


/* ================= SOCIAL NAV ================= */

.nav-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.nav-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1rem;
  text-decoration: none;
  transition: 0.3s;
}

.nav-social a:hover {
  background: #e10600;
  transform: translateY(-2px);
}

/* ================= DESKTOP ================= */

@media (min-width: 768px) {

  .nav {
    align-items: center;
  }

  .nav-social {
    margin-top: 0;
    margin-left: 30px;
  }

}


/* ================= HERO ================= */

.hero {
  position: relative;
  min-height: 100vh; /* evita cortes en mobile */
  background: url("imagenes/RUSIABACK.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  margin-top: 70px; /* espacio header fijo */
  padding: 0 5%;
}

/* Overlay oscuro */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

/* CONTENEDOR PRINCIPAL */

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

/* TEXTO */

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
}

.hero p {
  font-size: 1rem;
  color: #cccccc;
  margin-bottom: 30px;
}

/* BOTONES */

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.btn-primary {
  padding: 14px 28px;
  background: #e10600;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: 0.3s;
  text-align: center;
}

.btn-primary:hover {
  background: #b00500;
}

.btn-secondary {
  padding: 14px 28px;
  border: 2px solid #e10600;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: 0.3s;
  text-align: center;
}

.btn-secondary:hover {
  background: #e10600;
}

/* IMAGEN DERECHA */

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}
.hero-image img {
  
width: 320px;
  height: auto;
  border-radius: 14px;
  object-fit: cover;

  border: 2px solid rgba(231, 34, 34, 0.697);

  box-shadow:
    0 30px 70px rgba(0,0,0,0.8),
    0 15px 35px rgba(0,0,0,0.6);

  transition: 0.4s ease;
}

/* ================= DESKTOP ================= */

@media (min-width: 1024px) {

  .hero {
    padding: 0 10%;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .hero-buttons {
    flex-direction: row;
  }
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

  .hero {
    min-height: auto;
    padding: 60px 5%;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-image img {
    max-width: 95%;
    transform: none;
  }
}









/* ================= ABOUT ================= */

.about {
  padding: 100px 20px;
  background: #0d0d0d;
  color: #ffffff;
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ================= TEXTO PRINCIPAL ================= */

.about-text {
  max-width: 700px;
  margin-bottom: 60px;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
}

/* Línea roja decorativa */
.about h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #e10600;
  margin-top: 12px;
}

.about-text p {
  color: #cccccc;
  line-height: 1.7;
  font-size: 1rem;
}

/* ================= FEATURES - MOBILE SLIDE ================= */

.about-features {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

/* Ocultar scrollbar */
.about-features::-webkit-scrollbar {
  display: none;
}

.about-features {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ================= TARJETAS ================= */

.feature {
  flex: 0 0 85%;
  position: relative;
  background: #111111;
  padding: 40px 30px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: 0.35s ease;
  scroll-snap-align: start;
  overflow: hidden;
}

/* Número decorativo grande (opcional si lo agregás en HTML) */
.feature-number {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(225, 6, 0, 0.12);
  pointer-events: none;
}




.feature h3 {
  margin-bottom: 15px;
  font-size: 1.25rem;
  color: #ffffff;
}

.feature p {
  color: #aaaaaa;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ================= DESKTOP ================= */

@media (min-width: 768px) {

  .about {
    padding: 120px 40px;
  }

  .about h2 {
    font-size: 2.5rem;
  }

  .about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    overflow: visible;
  }

  .feature {
    flex: unset;
  }
}








/* ================= SERVICES ================= */

.services {
  padding: 100px 20px;
  background: #000000;
  color: #ffffff;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  position: relative;
}

.services-header h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #e10600;
  margin: 12px auto 0;
}

.services-header p {
  color: #aaaaaa;
  font-size: 1rem;
}

/* ================= MOBILE SCROLL ================= */

.services-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

.services-grid::-webkit-scrollbar {
  display: none;
}

.services-grid {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* CARD */

.service-card {
  position: relative;
  flex: 0 0 85%;
  height: 250px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  scroll-snap-align: start;
  background-size: cover;
  background-position: center;
}

.service-card:hover {
  transform: scale(1.03);
}

.service-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  transition: 0.3s ease;
}

.service-card:hover .service-overlay {
  background: rgba(0, 0, 0, 0.4);
}

.service-card h3 {
  position: relative;
  z-index: 2;
  font-size: 1.2rem;
  font-weight: 600;
}

/* IMÁGENES INDIVIDUALES */

.musculacion {
  background-image: url("imagenes/musculacion-modified.webp");
}

.funcional {
  background-image: url("imagenes/servicio2.webp");
}

.clases {
  background-image: url("imagenes/servicio3.webp");
}

.personal {
  background-image: url("imagenes/servicio4.webp");
}

/* ================= DESKTOP ================= */

@media (min-width: 768px) {

  .services {
    padding: 120px 40px;
  }

  .services-header h2 {
    font-size: 2.5rem;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    overflow: visible;
  }

  .service-card {
    flex: unset;
  }
}

@media (min-width: 1024px) {

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}















/* ================= PLANES NUEVO ================= */

.plans {
  padding: 100px 0;
  background: #0d0d0d;
  color: #ffffff;
}

.plans-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */

.plans-header {
  text-align: center;
  margin-bottom: 60px;
}

.plans-header h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  position: relative;
}

.plans-header h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #e10600;
  margin: 12px auto 0;
}

.plans-header p {
  color: #aaaaaa;
}

/* ================= MOBILE (DEFAULT) ================= */

.plans-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 20px 30px 20px;
}

.plans-grid::-webkit-scrollbar {
  display: none;
}

.plan-card {
  flex: 0 0 85%;
  background: #111111;
  padding: 40px 25px;
  border-radius: 12px;
  scroll-snap-align: center;
  border: 1px solid #222;
}

/* TEXTOS */

.plan-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.price {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #e10600;
}

.plan-card ul {
  list-style: none;
  margin-bottom: 30px;
  padding: 0;
}

.plan-card ul li {
  margin-bottom: 10px;
  color: #cccccc;
  font-size: 0.95rem;
}

/* BOTON */

.plan-btn {
  display: inline-block;
  padding: 12px 25px;
  background: #e10600;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: 0.3s;
}

.plan-btn:hover {
  background: #b00500;
}

/* DESTACADO */

.featured {
  border: 1px solid #e10600;
}

.badge {
  position: relative;   /* 🔥 ya NO absolute */
  display: inline-block;
  margin-bottom: 15px;
  background: #e10600;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 20px;
}

/* ================= DESKTOP ================= */

@media (min-width: 768px) {

  .plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    overflow: visible;
    padding: 0;
  }

  .plan-card {
    flex: unset;
  }

}


















/* ================= GALERÍA ================= */

.gallery {
  padding: 100px 0;
  background: #000;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */

.gallery-header {
  text-align: center;
  margin-bottom: 60px;
}

.gallery-header h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  position: relative;
}

.gallery-header h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #e10600;
  display: block;
  margin: 12px auto 0;
}

.gallery-header p {
  color: #aaa;
}

/* ================= GRID COLLAGE DESKTOP ================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 15px;
  grid-auto-flow: dense;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.4s ease;
}

/* EFECTO HOVER */

.gallery-item:hover img {
  transform: scale(1.08);
}

/* VARIACIONES COLLAGE */

.gallery-item.big {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

  .gallery {
    padding: 80px 0;
  }

  .gallery-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 20px 20px 20px;
  }

  .gallery-grid::-webkit-scrollbar {
    display: none;
  }

  .gallery-item {
    flex: 0 0 85%;
    height: 300px;
    scroll-snap-align: center;
  }

}







/* Primera imagen → mostrar más la izquierda */
.gallery-grid .gallery-item:first-child img {
  object-position: left center;
}

/* Última imagen → mostrar más la derecha */
.gallery-grid .gallery-item:last-child img {
  object-position: right center;
}













/* ================= UBICACIÓN ================= */

.location {
  padding: 100px 0;
  background: #0d0d0d;
  color: #ffffff;
}

.location-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */

.location-header {
  text-align: center;
  margin-bottom: 60px;
}

.location-header h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  position: relative;
}

.location-header h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #e10600;
  display: block;
  margin: 12px auto 0;
}

.location-header p {
  color: #aaa;
}

/* CONTENT */

.location-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}

.location-info h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.location-info p {
  margin-bottom: 8px;
  color: #ccc;
}

/* MAPA */

.location-map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 12px;
}

/* MOBILE */

@media (max-width: 768px) {

  .location {
    padding: 80px 0;
  }

  .location-content {
    grid-template-columns: 1fr;
  }

  .location-map iframe {
    height: 300px;
  }

}









/* ================= CTA FINAL PREMIUM ================= */

.cta-final {
  position: relative;
  background: url("imagenes/galeirabici.webp") center/cover no-repeat;
  padding: 120px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Overlay oscuro */
.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
}

/* Contenedor */
.cta-container {
  position: relative;
  z-index: 2;
  max-width: 500px;
  width: 100%;
  text-align: center;
  background-color: #000;
  padding: 50px 30px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

/* Título */
.cta-final h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #fff;
}

/* Texto */
.cta-final p {
  color: #bbbbbb;
  margin-bottom: 30px;
}

/* ================= FORM ================= */

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cta-form input,
.cta-form textarea {
  width: 100%;
  padding: 14px;
  background: #0d0d0d;
  border: 1px solid #222;
  border-radius: 6px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: 0.3s;
}

.cta-form input:focus,
.cta-form textarea:focus {
  border-color: #e10600;
}

.cta-form textarea {
  resize: none;
  min-height: 110px;
}

/* BOTÓN */

.btn-cta {
  background: #e10600;
  color: #fff;
  padding: 16px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-cta:hover {
  background: #b00500;
  transform: translateY(-2px);
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  .cta-final {
    padding: 90px 20px;
  }

  .cta-final h2 {
    font-size: 1.6rem;
  }

  .cta-container {
    padding: 40px 20px;
  }
}















/* FOOTER */
footer {
 
  text-align: center;
  padding: 18px;
  font-size: .85rem;
  color: black;
}


/* Footer */
footer {
  background: var(--primary);
  color: var(--text-light);
  padding: 50px 20px 30px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  flex: 1 1 250px;
  margin: 15px;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  padding-bottom: 4px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin: 10px 0;
}

.footer-col ul li a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.social-icons a {
  margin-right: 10px;
  display: inline-block;
}

.social-icons img {
  width: 24px;
  height: 24px;
  
}

.social-icons a:hover img {
  transform: scale(1.2);
}

.footer-bottom {
  margin-top: 25px;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid var(--accent);
  padding-top: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-col {
    margin: 20px 0;
  }

  .contact-form form {
    gap: 12px;
  }
}