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

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f5f1e8;
  color: #333;
}

header {
  text-align: center;
  padding: 20px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

main {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

.grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  min-width: 250px;
  flex: 1;
  text-align: center;
}
.header {
  background: #ececec;  /* gris claro mate */
  width: 100%;
}

.header-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 24px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

/* LOGO */
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #000;
}

.brand-main {
  font-size: 52px;
  font-weight: 700;
}

.brand-sub {
  font-size: 22px;
  letter-spacing: 4px;
}

/* MENU */
.nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  text-align: center;
}

.nav a {
  position: relative;
  padding: 20px 0;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 1px;
}

/* separadores verticales */
.nav a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255,255,255,0.35);
}

/* animación elegante */
.nav a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 0;
  height: 2px;
  background: #1e1e1e;
  transition: all 0.35s ease;
}

.nav a:hover::before {
  width: 60%;
  left: 20%;
}

/* SOCIAL */
.social {
  display: flex;
  gap: 18px;
}

.social a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
@media (max-width: 768px) {

 .social-bar {
  background: #96a69e;
  width: 100%;
}

.social-bar-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;              /* CLAVE */
  justify-content: center;
  gap: 24px 32px;
  box-sizing: border-box;
}

.social-bar a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 2px;
  text-align: center;
  white-space: nowrap;          /* cada palabra intacta */
}
}
/* ---------- BURGER ---------- */
.burger {
  display: none;
  width: 28px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* ---------- MÓVIL ---------- */
@media (max-width: 1024px) {

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #96a69e;
    display: none;
    flex-direction: column;
    text-align: center;
    z-index: 999;
  }

  .nav a {
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.25);
    font-size: 16px;
  }

  .nav.open {
    display: flex;
  }

  .burger {
    display: flex;
  }

  .social {
    display: none; /* opcional, más limpio en móvil */
  }
}
.social-bar {
  background: #96a69e;
  width: 100%;
}

.social-bar-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  justify-content: center;
  gap: 40px;
}

/* enlaces */
.social-bar a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 2px;
  position: relative;
  transition: opacity 0.3s ease;
}

/* línea animada */
.social-bar a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: #1e1e1e;
  transition: all 0.35s ease;
}

/* hover */
.social-bar a:hover {
  opacity: 0.85;
}

.social-bar a:hover::after {
  width: 60%;
  left: 20%;
}
.hero {
  position: relative;
  height: 90vh;
  width: 100%;
  background-image: url("../img/home/hero.jpg"); /* CAMBIA AQUÍ */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* capa oscura */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* contenido */
.hero-content {
  position: relative;
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  padding: 0 20px;
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-light {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 2px;
  color: #c9d5cf; /* verde claro */
}

.hero-strong {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero-subtitle {
  margin-top: 10px;
  font-size: 18px;
  letter-spacing: 3px;
  opacity: 0.9;
}

/* botón */
.hero-btn {
  display: inline-block;
  margin-top: 40px;
  padding: 16px 36px;
  background: #96a69e;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 2px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-btn:hover {
  background: #7f9188;
  transform: translateY(-2px);
}
.about {
  background: #f5f1e8; /* crema */
  padding: 120px 0;
}

.about-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

/* TEXTO */
.about-text h2 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 30px;
  color: #1e1e1e;
}

.about-text h2 span {
  font-style: italic;
}

.about-text p {
  font-size: 17px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 18px;
}

/* BOTÓN */
.about-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 16px 34px;
  background: #96a69e;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 1.5px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.about-btn:hover {
  background: #7f9188;
  transform: translateY(-2px);
}

/* IMAGEN */
.about-image img {
  display: block;
  width: 100%;
  height: auto;
}
/* =====================
   MOBILE FIRST
===================== */

.method-section {
  background: #e6ebea;
  padding: 50px 20px;
  text-align: center;
}

.method-title {
  font-size: 26px;
  margin-bottom: 10px;
}

.method-subtitle {
  font-size: 30px;
  color: #96a69e;
  font-style: italic;
  margin-bottom: 25px;
}

.method-text {
  font-size: 16px;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 40px;
}

.method-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.method-divider span {
  width: 40px;
  height: 2px;
  background: #bbb;
}

.method-divider p {
  font-size: 14px;
  font-weight: 600;
}

/* 🔥 EN MÓVIL: 1 COLUMNA */
.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 45px;
}

.method-item {
  padding: 10px 0;
}

.method-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px auto;
}

.method-icon img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  display: block;
}
.method-icon img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border: 3px solid #dcdcdc;
  display: block;
}
.method-icon img {
  transition: all 0.3s ease;
}

.method-icon img:hover {
  transform: translateY(-6px);
}

.method-item h4 {
  font-size: 24px;
  color: #96a69e;
  margin-bottom: 5px;
}

.method-item p {
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.method-item a {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid #333;
  text-decoration: none;
  color: #333;
}

/* =====================
   ESCRITORIO
===================== */
@media (min-width: 900px) {

  .method-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .method-subtitle {
    font-size: 40px;
  }
}
/* =========================
   HEADER
========================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #9fb4ad;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.brand {
  font-size: 18px;
  font-weight: 600;
}

/* =========================
   BURGER
========================= */
.burger {
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
  display: none;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  margin: 6px 0;
}

/* =========================
   MENÚ MÓVIL
========================= */
.nav {
  display: flex;
  gap: 20px;
}

/* MOBILE */
@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;

    transform: translateY(-100%);
    transition: transform 0.3s ease;
  }

  .nav a {
    color: #fff;
    font-size: 26px;
    text-decoration: none;
  }

  .nav.open {
    transform: translateY(0);
  }
}
/* =========================
   SOCIAL BAR – POSICIÓN
   ========================= */

.social-bar {
  position: relative;
  z-index: 2;
  background: #b6c2bb;
  padding: 20px 0;
  margin-top: 110px; /* MÁS ARRIBA EN DESKTOP */
}

.social-bar-inner {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.social-bar-inner a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 2px;
  opacity: 0.9;
}

.social-bar-inner a:hover {
  opacity: 1;
}

/* =========================
   MÓVIL – SE QUEDA COMO ESTÁ
   ========================= */
@media (max-width: 768px) {
  .social-bar {
    margin-top: 120px; /* móvil OK */
    padding: 16px 0;
  }

  .social-bar-inner {
    gap: 18px;
  }

  .social-bar-inner a {
    font-size: 12px;
  }
}
/* ===== BLOQUE EQUIPO ===== */
.team-block {
  background: #9fb3a8;
  padding: 60px 20px;
  text-align: center;
}

.team-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.team-title {
  font-size: 28px;
  font-weight: 300;
  color: #2b2b2b;
  margin-bottom: 20px;
}

.team-title span {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
}

.team-text {
  font-size: 16px;
  line-height: 1.6;
  color: #2b2b2b;
  max-width: 700px;
  margin: 0 auto 30px;
}

.team-btn {
  display: inline-block;
  background: #2b2b2b;
  color: #ffffff;
  padding: 14px 26px;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 40px;
}

.team-btn:hover {
  opacity: 0.85;
}

/* ===== GALERÍA ===== */
.team-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.team-gallery img {
  width: 100%;
  display: block;
}

/* ===== TABLET ===== */
@media (min-width: 768px) {
  .team-title {
    font-size: 34px;
  }

  .team-title span {
    font-size: 42px;
  }

  .team-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* === GALERÍA MISMO TAMAÑO === */
.team-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.team-gallery img {
  width: 100%;
  height: 260px;          /* 👈 MISMO ALTO PARA TODAS */
  object-fit: cover;     /* 👈 recorta sin deformar */
  display: block;
}

/* === MÓVIL === */
@media (max-width: 768px) {
  .team-gallery {
    grid-template-columns: 1fr;
  }

  .team-gallery img {
    height: 220px;       /* un poco más bajas en móvil */
  }
}
/* === OPINIONES CLIENTES === */
.reviews {
  background: #f6f6f4;
  padding: 80px 20px;
  text-align: center;
}

.reviews h2 {
  font-size: 32px;
  margin-bottom: 50px;
  font-weight: 400;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.review-card {
  background: #ffffff;
  padding: 30px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.review-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.review-meta {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
}

.review-text {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

/* === MÓVIL === */
@media (max-width: 768px) {
  .reviews {
    padding: 60px 16px;
  }

  .reviews h2 {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .review-card {
    padding: 24px;
  }
}
/* === FOOTER === */
.site-footer {
  background: #0f1316;
  color: #eaeaea;
  padding: 80px 30px 30px;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 60px;
}

/* LOGO */
.footer-logo img {
  width: 140px;
  height: auto;
}

/* COLUMNAS */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 15px;
}

.footer-col p,
.footer-col a {
  font-size: 14px;
  color: #cfcfcf;
  margin-bottom: 8px;
  text-decoration: none;
  display: block;
}

.footer-phone {
  margin-top: 12px;
  display: inline-block;
  background: #9fb6ac;
  color: #111;
  padding: 10px 14px;
  font-weight: 600;
}

/* BOTTOM */
.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 13px;
  color: #aaa;
}

/* === MÓVIL === */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-logo img {
    margin: 0 auto;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-phone {
    margin: 15px auto 0;
  }
}
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  z-index: 9999;
}

.wa-svg {
  width: 32px;
  height: 32px;
}

/* móvil */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 20px;
    left: 20px;
  }

  .wa-svg {
    width: 28px;
    height: 28px;
  }
}
/* ===== MISIÓN / CONÓCENOS ===== */

.mission {
  position: relative;
  min-height: 85vh;
  background: url("../img/mision.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 40px 20px;
}

.mission-overlay {
  position: absolute;
  inset: 0;
  background: rgba(130, 150, 140, 0.75);
}

.mission-content {
  position: relative;
  max-width: 900px;
  color: #fff;
}

.mission h2 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
}

.mission-btn {
  display: inline-block;
  background: #ffffff;
  color: #111;
  padding: 14px 28px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.mission-btn:hover {
  background: #111;
  color: #fff;
}

/* ===== MÓVIL ===== */
@media (max-width: 768px) {
  .mission {
    min-height: 70vh;
    padding: 30px 20px;
  }

  .mission h2 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .mission-btn {
    padding: 12px 22px;
    font-size: 0.9rem;
  }
}
/* =================================
   RESET BÁSICO
================================= */

.page-conocenos {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* =================================
   HEADER
================================= */

.page-conocenos .header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #9fb1a8;
  z-index: 1000;
}

.page-conocenos .header-inner {
  height: 90px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.page-conocenos .brand-main {
  font-size: 36px;
  font-weight: 800;
}

.page-conocenos .brand-sub {
  font-size: 14px;
  letter-spacing: 2px;
}

/* NAV */
.page-conocenos .nav {
  display: flex;
  gap: 30px;
}

.page-conocenos .nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  position: relative;
}

.page-conocenos .nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #fff;
}

/* REDES */
.page-conocenos .social-icons {
  display: flex;
  gap: 15px;
}

.page-conocenos .social-icons a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

/* BURGER */
.page-conocenos .burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.page-conocenos .burger span {
  width: 25px;
  height: 2px;
  background: #fff;
}

/* =================================
   HERO
================================= */

.conocenos-hero {
  min-height: 100vh;
  background: url("../img/mision.jpg") center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.conocenos-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(120, 140, 130, 0.65);
}

.conocenos-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 30px;
  margin-top: 90px;
}

.conocenos-hero h1 {
  color: #fff;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  margin-bottom: 30px;
}

.btn-hero {
  background: #fff;
  color: #000;
  padding: 14px 28px;
  text-decoration: none;
  font-weight: 600;
}

/* =================================
   MOBILE
================================= */

@media (max-width: 768px) {

  .page-conocenos .nav,
  .page-conocenos .social-icons {
    display: none;
  }

  .page-conocenos .burger {
    display: flex;
  }

  .page-conocenos .header-inner {
    height: 70px;
  }

  .conocenos-hero-content {
    margin-top: 70px;
  }

  .conocenos-hero h1 {
    font-size: 32px;
  }
}
/* ===== MÉTODO K ===== */
.metodo-k {
  background: #e9eeeb;
  padding: 80px 20px;
}

.metodo-k-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.metodo-k-title {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 60px;
}

.metodo-k-title span {
  font-weight: 800;
}

.metodo-k-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: center;
}

.metodo-k-item {
  text-align: left;
}

.metodo-k-item .numero {
  font-size: 80px;
  font-weight: 800;
  color: #b7c8bf;
  display: block;
  line-height: 1;
}

.metodo-k-item p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.6;
}

.metodo-k-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.metodo-k-btn {
  display: inline-block;
  margin-top: 60px;
  background: #2e2e2e;
  color: #fff;
  padding: 16px 40px;
  text-decoration: none;
  font-weight: 600;
}

/* ===== MÓVIL ===== */
@media (max-width: 900px) {
  .metodo-k-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .metodo-k-item {
    text-align: center;
  }

  .metodo-k-item .numero {
    font-size: 56px;
  }

  .metodo-k-title {
    font-size: 28px;
  }
}
/* ===== MOVEMENT TRAINING BLOCK ===== */

.movement-block {
  position: relative;
  background-image: url("../img/movement-bg.jpg."); /* 🔴 cambia esta ruta */
  background-size: cover;
  background-position: center;
  padding: 120px 20px;
  color: #ffffff;
}

.movement-overlay {
  position: absolute;
  inset: 0;
  background: rgba(40, 40, 40, 0.65);
}

.movement-content {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.movement-content h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 30px;
}

.movement-content p {
  font-size: 17px;
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto 25px;
}

.movement-strong {
  font-weight: 600;
}

.movement-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.4);
  margin: 50px 0;
}

/* ICONOS */
.movement-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.movement-item {
  text-align: center;
}

.movement-item .icon {
  display: block;
  font-size: 46px;
  margin-bottom: 10px;
}

.movement-item p {
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .movement-block {
    padding: 80px 16px;
  }

  .movement-content h2 {
    font-size: 28px;
  }

  .movement-content p {
    font-size: 15px;
  }

  .movement-icons {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .movement-item .icon {
    font-size: 38px;
  }
}.brand-link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-link:hover {
  opacity: 0.85;
}
.brand-link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-link:hover {
  opacity: 0.85;
}
/* ===============================
   INSTALACIONES HERO
================================ */

.instalaciones-hero {
  position: relative;
  height: 90vh;
  min-height: 520px;

  background-image: url("../img/instalaciones-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  color: #ffffff;
}

/* Overlay verde suave */
.instalaciones-overlay {
  position: absolute;
  inset: 0;
  background: rgba(160, 180, 170, 0.75);
  z-index: 1;
}

/* Contenido */
.instalaciones-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.instalaciones-content h1 {
  margin-bottom: 30px;
  line-height: 1;
}

.instalaciones-content .big {
  display: block;
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 800;
}

.instalaciones-content .small {
  display: block;
  font-size: clamp(22px, 4vw, 42px);
  font-weight: 600;
  margin-top: 10px;
}

/* Botón */
.instalaciones-btn {
  display: inline-block;
  background: #111;
  color: #fff;
  text-decoration: none;

  padding: 16px 28px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.3;

  transition: all 0.3s ease;
}

.instalaciones-btn:hover {
  background: #000;
  transform: translateY(-2px);
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 768px) {
  .instalaciones-hero {
    height: 80vh;
  }

  .instalaciones-btn {
    padding: 14px 22px;
    font-size: 14px;
  }
}
/* ==============================
   ESPACIO KMT MADRID
============================== */

.espacio-kmt {
  position: relative;
  background: #ffffff;
  padding: 120px 20px 160px;
  overflow: hidden;
}

/* fondo inclinado inferior */
.espacio-kmt::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 160px;
  background: #e6ebe8;
  transform: skewY(-4deg);
  transform-origin: bottom left;
}

.espacio-kmt-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.espacio-kmt h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  font-style: italic;
  color: #9fb2a7;
  margin-bottom: 30px;
}

.espacio-kmt p {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.8;
  color: #222;
  max-width: 820px;
  margin: 0 auto;
}

.espacio-kmt strong {
  font-weight: 700;
}

/* ==============================
   MOBILE
============================== */

@media (max-width: 768px) {
  .espacio-kmt {
    padding: 80px 20px 120px;
  }

  .espacio-kmt::after {
    height: 120px;
    transform: skewY(-6deg);
  }
}
/* ==============================
   INSTALACIONES FEATURES
============================== */

.instalaciones-features {
  padding: 100px 30px;
  background: #e6ebe8;
}

.features-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* tarjetas */
.feature-card {
  position: relative;
  height: 520px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* imágenes */
.feature-card.suelo {
  background-image: url("../img/suelo-tecnico.jpg");
}

.feature-card.materiales {
  background-image: url("../img/materiales-competicion.jpg");
}

.feature-card.diseno {
  background-image: url("../img/diseno-exclusivo.jpg");
}

/* overlay */
.feature-overlay {
  width: 100%;
  padding: 40px 30px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0)
  );
  color: #fff;
}

.feature-overlay h3 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.feature-overlay p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 90%;
}

.feature-overlay strong {
  font-weight: 700;
}

/* ==============================
   TABLET
============================== */

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

  .feature-card {
    height: 420px;
  }
}

/* ==============================
   MOBILE
============================== */

@media (max-width: 600px) {
  .instalaciones-features {
    padding: 70px 20px;
  }

  .feature-card {
    height: 360px;
  }

  .feature-overlay {
    padding: 30px 20px;
  }

  .feature-overlay h3 {
    font-size: 1.8rem;
  }

  .feature-overlay p {
    font-size: 0.95rem;
  }
}
/* =========================
   BURGER
========================= */
.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  margin: 6px 0;
  transition: 0.3s;
}

/* =========================
   MÓVIL
========================= */
@media (max-width: 1024px) {

  .burger {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 20, 0.96);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1000;
  }

  .nav a {
    color: #fff;
    font-size: 24px;
    letter-spacing: 2px;
    text-decoration: none;
  }

  .nav.active {
    transform: translateX(0);
  }

  /* Animación burger → X */
  .burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .burger.active span:nth-child(2) {
    opacity: 0;
  }

  .burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}.nav a {
  position: relative;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 60%;
  height: 2px;
  background: #000;
  transform: translateX(-50%);
}
/* ================= CONTACTO CTA ================= */

.contacto-cta {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;

  background-image: url("../img/contacto-cta.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #fff;
}

.contacto-cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(160, 175, 168, 0.88); /* verde KMT */
}

.contacto-cta-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 24px;
  margin-left: clamp(24px, 8vw, 120px);
}

.contacto-cta h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.cta-sub {
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-cta {
  background: #111;
  color: #fff;
  padding: 14px 28px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background: #000;
}

.btn-cta.outline {
  background: transparent;
  border: 1px solid #111;
  color: #111;
}

.btn-cta.outline:hover {
  background: #111;
  color: #fff;
}

/* ================= MÓVIL ================= */

@media (max-width: 768px) {
  .contacto-cta {
    min-height: 65vh;
  }

  .contacto-cta-content {
    margin-left: 0;
    text-align: center;
  }

  .cta-buttons {
    justify-content: center;
  }
}
/* ================= CONTACTO ================= */

.contact-section {
  background: #f4f4f2;
  padding: 80px 20px;
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* FORM */
.contact-form {
  background: #e6e6e4;
  padding: 40px;
  border-radius: 6px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #666;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 20px;
  border: none;
  background: #fff;
  font-size: 14px;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.privacy-check {
  font-size: 13px;
  margin-bottom: 15px;
}

.privacy-check a {
  color: #8fa89d;
  text-decoration: underline;
}

.privacy-box {
  border: 1px solid #333;
  padding: 12px;
  font-size: 12px;
  margin-bottom: 20px;
}

.contact-form button {
  background: #8fa89d;
  color: #fff;
  border: none;
  padding: 12px 30px;
  cursor: pointer;
  font-weight: 600;
}

/* INFO */
.contact-info {
  padding: 20px 0;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
  color: #777;
}

.info-item .icon {
  font-size: 28px;
}

.info-item .phone {
  color: #8fa89d;
  font-weight: 700;
  font-size: 20px;
}

.contact-info hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 30px 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}
/* ================= CÓMO LLEGAR ================= */

.howto-section {
  background: #9fb3aa;
  padding: 90px 20px;
  color: #1f1f1f;
}

.howto-inner {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.howto-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 25px;
}

.howto-header h2 {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
}

.howto-header .line {
  width: 120px;
  height: 2px;
  background: rgba(255,255,255,0.6);
}

.howto-text {
  max-width: 720px;
  margin: 0 auto 70px;
  font-size: 18px;
  line-height: 1.6;
  color: #1f1f1f;
}

/* GRID */
.howto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.howto-item {
  color: #fff;
}

.howto-item .icon {
  font-size: 52px;
  margin-bottom: 15px;
}

.howto-item h3 {
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  opacity: 0.9;
}

.howto-item p {
  font-size: 18px;
  margin: 6px 0;
}

.howto-item .highlight {
  font-weight: 700;
}

.howto-item .divider {
  display: block;
  width: 80px;
  height: 2px;
  background: rgba(255,255,255,0.6);
  margin: 18px auto 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .howto-header h2 {
    font-size: 32px;
  }

  .howto-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .howto-text {
    font-size: 16px;
  }
}
/* ================= MAPA ================= */

.map-section {
  width: 100%;
  height: 480px;
  position: relative;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* MÓVIL */
@media (max-width: 768px) {
  .map-section {
    height: 360px;
  }
}
/* =========================
   DROPDOWN ACTUALIDAD
========================= */

.nav-item {
  position: relative;
}

.nav-link {
  cursor: pointer;
}

/* Caja blanca */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  min-width: 200px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  display: none;
  flex-direction: column;
  padding: 15px 0;
  z-index: 9999;
}

/* Links dentro */
.dropdown a {
  padding: 12px 24px;
  color: #222;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}

.dropdown a:hover {
  background: #f2f2f2;
}

/* Flechita */
.arrow {
  font-size: 12px;
  margin-left: 4px;
}

/* DESKTOP: hover */
@media (min-width: 1024px) {
  .has-dropdown:hover .dropdown {
    display: flex;
  }
}
/* Móvil: abrir con click */
.dropdown.open {
  display: flex;
}
/* NAV CONTENEDOR */
.nav {
  width: 100%;
  display: flex;
  justify-content: center; /* 🔥 centra el bloque */
}

/* NAV INTERNO */
.nav-inner {
  display: flex;
  align-items: center;
  gap: 48px; /* separación entre items */
}

/* LINKS */
.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1.5px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}
/* ===============================
   FIX REDES EN HEADER (DESKTOP)
   =============================== */

.header,
.header-inner {
  overflow: visible !important;
}

.social-icons {
  display: flex !important;
  align-items: center;
  gap: 14px;

  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);

  z-index: 50;
}

.social-icons a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
/* NUNCA ocultar redes en desktop */
@media (min-width: 769px) {
  .social-icons {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}
/* ===============================
   AJUSTE FINAL REDES HEADER
   =============================== */

.social-icons {
  position: absolute;
  right: 32px;
 top: calc(50% + 50px);
  transform: translateY(-50%);
}
/* ===============================
   REDES MUY ABAJO EN EL HEADER
   =============================== */

.header {
  position: relative;
}

.social-icons {
  position: absolute;
  left: 50%;
  bottom: 18px;          /* ⬅️ MUY ABAJO */
  transform: translateX(-50%);
  display: flex;
  gap: 32px;
}
/* ================================
   AJUSTE FINO REDES SOCIALES
   ================================ */

.social-bar {
  position: relative;
  margin-top: -25px;   /* ← un pelín más abajo */
  padding-bottom: 30px;
}

.social-bar a {
  margin: 0 14px;
  letter-spacing: 2px;
}

/* Móvil */
@media (max-width: 768px) {
  .social-bar {
    margin-top: -10px;
    padding-bottom: 25px;
  }
}
/* ================= HEADER ================= */

.header {
  background: #aebdb6;
  width: 100%;
  position: relative;
  z-index: 100;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px 40px;
  display: flex;
  align-items: center;
  gap: 60px;
}

/* LOGO */
.logo {
  text-decoration: none;
  color: #000;
  line-height: 1;
}

.logo-elite {
  font-size: 48px;
  font-weight: 800;
  display: block;
}

.logo-personal {
  font-size: 20px;
  letter-spacing: 4px;
  display: block;
}

.logo-guadix {
  font-size: 26px;
  font-weight: 700;
  display: inline-block;
  border-bottom: 3px solid #000;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: auto;
}

.nav > a,
.nav-item > span {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 6px;
  cursor: pointer;
}

/* Separadores */
.nav > a:not(:last-child)::after,
.nav-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -22px;
  top: 2px;
  height: 18px;
  width: 1px;
  background: rgba(255,255,255,0.4);
}

/* Activo */
.nav a.active {
  border-bottom: 3px solid #000;
}

/* SUBMENÚ */
.nav-item {
  position: relative;
}

.submenu {
  position: absolute;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  min-width: 260px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: none;
  flex-direction: column;
  padding: 18px 0;
}

.submenu a {
  padding: 12px 26px;
  color: #000;
  text-decoration: none;
  font-size: 14px;
}

.submenu a:hover {
  background: #f2f2f2;
}

/* Mostrar submenu */
.nav-item:hover .submenu {
  display: flex;
}

/* ================= MOBILE ================= */

@media (max-width: 1024px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 20px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    width: 100%;
    margin-top: 20px;
  }

  .submenu {
    position: static;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }

  .submenu a {
    color: #fff;
    text-align: center;
  }

  .nav-item:hover .submenu {
    display: none;
  }

  .nav-item.active .submenu {
    display: flex;
  }
}
/* ===== BOTÓN HAMBURGUESA ===== */

.burger {
  display: none;
  background: none;
  border: none;
  width: 26px;
  height: 20px;
  padding: 0;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
}

/* ===== MENÚ MÓVIL ===== */
@media (max-width: 1024px) {

  .burger {
    display: flex;
    margin-left: auto;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    background: #aebdb6;
    padding: 30px 0;
    gap: 24px;
  }

  .nav.open {
    display: flex;
  }
}
/* ================================
   MENÚ MÓVIL - BOTÓN HAMBURGUESA
================================ */

.burger {
  display: none;
  position: absolute;
  top: 22px;
  right: 20px;
  width: 32px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  display: block;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
}

/* Mostrar solo en móvil */
@media (max-width: 1024px) {
  .burger {
    display: block;
  }
}
/* ================================
   MENÚ MÓVIL DESPLEGABLE
================================ */

@media (max-width: 1024px) {
  .nav {
    position: fixed;
    inset: 0;
    background: #aebdb6;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }

  .nav.active {
    transform: translateX(0);
  }

  .nav-inner {
    display: flex;
    flex-direction: column;
    gap: 22px;
    text-align: center;
  }

  .nav-inner a {
    font-size: 20px;
    color: #fff;
    text-decoration: none;
  }
}
.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 40px auto;
  justify-content: center;
}

.blog-categories a {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  color: #333;
  background: #f2f2f2;
  transition: all 0.2s ease;
}

.blog-categories a:hover {
  background: #dfe7e2;
}

.blog-categories a.active {
  background: #9fb5a8;   /* tu verde */
  color: #fff;
  font-weight: 600;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
  margin: 60px auto;
  max-width: 1200px;
}

.post-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.post-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.post-card h3 {
  font-size: 18px;
  margin: 20px;
  color: #222;
}

.post-card p {
  font-size: 14px;
  margin: 0 20px 20px;
  color: #666;
}

.read-more {
  display: block;
  margin: 0 20px 25px;
  font-size: 14px;
  color: #222;
  font-weight: 600;
}
/* ===== BLOG FILTER MENU ===== */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 40px auto 60px;
}

.blog-filters .filter {
  padding: 10px 22px;
  border-radius: 999px;
  background: #f2efe9;
  color: #2b2b2b;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* Hover */
.blog-filters .filter:hover {
  background: #d9e1db;
}

/* Activo */
.blog-filters .filter.active {
  background: #a7b9ad;
  color: #fff;
  font-weight: 600;
}

/* Mobile */
@media (max-width: 768px) {
  .blog-filters {
    gap: 10px;
  }

  .blog-filters .filter {
    font-size: 13px;
    padding: 8px 18px;
  }
}
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 40px 0;
}

.filter-btn {
  padding: 10px 22px;
  background: #f4f2ec;
  border-radius: 30px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all .25s ease;
}

.filter-btn:hover {
  background: #dfe6e0;
}

.filter-btn.active {
  background: #9fb4a8;
  color: #fff;
}
/* =====================================================
   ACTUALIDAD – NUEVA DESDE CERO
===================================================== */

.page-actualidad {
  background: #f7f3eb;
}

/* HERO */
.actualidad-hero {
  padding: 80px 20px 40px;
  text-align: center;
}

.actualidad-hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin: 0;
}

/* FILTROS */
.actualidad-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 20px;
}

.actualidad-filters .filter {
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: #eee;
  font-size: 15px;
  cursor: pointer;
}

.actualidad-filters .filter.active {
  background: #a9b8ab;
  color: #fff;
}

/* GRID */
.actualidad-content {
  padding: 40px 20px 80px;
}

.articles-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.article-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.article-card img {
  width: 100%;
  height: auto;
  display: block;
}

.article-body {
  padding: 20px;
}

.article-body h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.article-body p {
  font-size: 15px;
  color: #555;
  margin-bottom: 14px;
}

.read-more {
  font-weight: 600;
  text-decoration: none;
  color: #000;
}

/* =====================
   MOBILE
===================== */
@media (max-width: 768px) {

  html, body {
    overflow-x: hidden;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .actualidad-hero h1 {
    font-size: 30px;
  }

}
/* =========================================
   FIX GLOBAL SCROLL HORIZONTAL (MÓVIL)
========================================= */

/* 1. CORTAR SCROLL HORIZONTAL GLOBAL */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

/* 2. TODO ELEMENTO NO PUEDE SALIRSE */
* {
  box-sizing: border-box;
  max-width: 100%;
}

/* 3. IMÁGENES Y VIDEOS SEGURAS */
img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 4. CONTENEDORES GRANDES */
.container,
.header,
.header-inner,
.nav,
section {
  max-width: 100%;
  overflow-x: hidden;
}

/* 5. GRID / FLEX QUE ROMPEN EN MÓVIL */
@media (max-width: 768px) {

  .articles-grid,
  .howto-grid,
  .contact-container,
  .feature-grid,
  .grid,
  .row {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
  }

  .article-card,
  .feature-card {
    width: 100% !important;
  }

}

/* 6. EVITAR 100vw (PROBLEMA CLÁSICO) */
[class*="vw"] {
  max-width: 100%;
}

/* 7. MENÚ MÓVIL DENTRO DE PANTALLA */
.nav {
  left: 0;
  right: 0;
}
/* ================================
   ENTRENAMIENTO PERSONAL
================================ */

.entreno-personal {
  background: #eef1ef;
  padding: 80px 0;
  overflow-x: hidden;
}

.entreno-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* TEXTO */
.entreno-text h2 {
  font-size: 48px;
  line-height: 1.1;
  color: #8fa39a;
  margin-bottom: 24px;
}

.entreno-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 16px;
}

.entreno-text .intro {
  font-weight: 600;
}

.entreno-features {
  display: flex;
  gap: 32px;
  margin: 32px 0;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
}

.feature .icon {
  font-size: 28px;
}

.footer-text {
  margin-bottom: 32px;
}

/* BOTÓN */
.btn-entreno {
  display: inline-block;
  background: #8fa39a;
  color: #fff;
  padding: 14px 28px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
}

.btn-entreno:hover {
  background: #7a8f86;
}

/* IMAGEN */
.entreno-image {
  position: relative;
}

.entreno-image img {
  width: 100%;
  height: auto;
  display: block;
}

.vertical-text {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: rotate(90deg) translateY(-50%);
  transform-origin: right top;
  font-size: 14px;
  letter-spacing: 2px;
  color: #111;
  font-weight: 600;
}

/* ================================
   MOBILE
================================ */

@media (max-width: 768px) {
  .entreno-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .entreno-text h2 {
    font-size: 36px;
  }

  .entreno-features {
    flex-direction: column;
    gap: 16px;
  }

  .vertical-text {
    display: none;
  }
}
/* ===============================
   PLANIFICA TU ENTRENAMIENTO
================================ */

.planning-block {
  background: #ffffff;
  padding: 5rem 1.5rem;
  overflow-x: hidden;
}

.planning-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.planning-text h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #9fb2a6;
  margin-bottom: 1.5rem;
}

.planning-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1rem;
  max-width: 520px;
}

.planning-text .intro {
  font-weight: 600;
}

.btn-primary {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 2.2rem;
  background: #9fb2a6;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #889f92;
}

.planning-image {
  position: relative;
}

.planning-image img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
  .planning-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .planning-text p {
    max-width: 100%;
  }
}
.actividades-section {
  background: #f5f3ea;
  padding: 80px 20px;
}

.actividades-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.actividades-section h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #2b2b2b;
}

.actividades-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.actividades-list li {
  font-size: 18px;
  color: #3a3a3a;
  position: relative;
  padding-left: 20px;
}

.actividades-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #9aac9e;
  font-size: 22px;
  line-height: 1;
}

/* MÓVIL */
@media (max-width: 768px) {
  .actividades-list {
    grid-template-columns: 1fr;
  }

  .actividades-section h2 {
    font-size: 28px;
  }
}
/* ===============================
   NUTRICIÓN HOME
================================ */

.nutricion-home {
  background: #2f2f2f;
  color: #ffffff;
  padding: 80px 20px;
  overflow-x: hidden;
}

.nutricion-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

/* TEXTO */
.nutricion-eyebrow {
  color: rgba(255,255,255,0.4);
  font-size: 18px;
  margin-bottom: 10px;
}

.nutricion-text h2 {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.nutricion-text h2 span {
  color: #9fb4a9;
}

.nutricion-lead {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.nutricion-desc {
  font-size: 16px;
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 30px;
}

.btn-nutricion {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-nutricion:hover {
  background: #ffffff;
  color: #2f2f2f;
}

/* IMAGEN */
.nutricion-image {
  position: relative;
}

.nutricion-bg {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background: #9fb4a9;
  z-index: 0;
}

.nutricion-image img {
  position: relative;
  width: 100%;
  display: block;
  z-index: 1;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
  .nutricion-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nutricion-text h2 {
    font-size: 36px;
  }

  .nutricion-bg {
    top: -12px;
    right: -12px;
  }
}

@media (max-width: 480px) {
  .nutricion-home {
    padding: 60px 16px;
  }

  .nutricion-text h2 {
    font-size: 30px;
  }
}
/* ===============================
   BONOS HOME
================================ */

.bonos-home {
  position: relative;
  background: url("../img/bonos-bg.jpg") center / cover no-repeat;
  padding: 100px 20px;
  color: #ffffff;
  overflow: hidden;
}

.bonos-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

.bonos-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

/* TEXTO SUPERIOR */
.bonos-header {
  max-width: 650px;
  margin-bottom: 60px;
}

.bonos-header h2 {
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.bonos-tag {
  display: inline-block;
  padding: 10px 18px;
  background: #ffffff;
  color: #000;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
}

/* GRID */
.bonos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.bono-card {
  background: rgba(255, 255, 255, 0.95);
  color: #2b2b2b;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bono-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.bono-card p {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.bono-card a {
  align-self: flex-start;
  text-decoration: none;
  font-weight: 700;
  color: #2b2b2b;
  border-bottom: 2px solid #2b2b2b;
}

/* ===============================
   RESPONSIVE
================================ */

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

@media (max-width: 640px) {
  .bonos-home {
    padding: 70px 16px;
  }

  .bonos-header h2 {
    font-size: 32px;
  }

  .bonos-grid {
    grid-template-columns: 1fr;
  }
}
.tecnificacion {
  position: relative;
  background: url("../img/tecnificacion-bg.jpg") center / cover no-repeat;
  padding: 120px 20px;
  color: #fff;
}

.tecnificacion-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.tecnificacion-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.tecnificacion h2 {
  font-size: 48px;
  margin-bottom: 30px;
}

.tecnificacion p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.tecnificacion .highlight {
  font-weight: 600;
  margin-top: 30px;
}

.tecnificacion-tags {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.tecnificacion-tags span {
  font-size: 14px;
  letter-spacing: 2px;
  opacity: 0.9;
}
@media (max-width: 768px) {
  .tecnificacion h2 {
    font-size: 34px;
  }

  .tecnificacion p {
    font-size: 16px;
  }
}
.reservas {
  background: #f6f4ec;
  padding: 80px 20px;
  overflow-x: hidden;
}

.reservas-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.reservas-title {
  font-size: 32px;
  margin-bottom: 5px;
}

.reservas-subtitle {
  color: #7a7a7a;
  margin-bottom: 40px;
  text-transform: uppercase;
  font-size: 14px;
}

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

.reserva-card {
  background: #fff;
  border-radius: 14px;
  padding: 25px;
  position: relative;
}

.reserva-card h3 {
  margin: 0 0 5px;
  font-size: 20px;
}

.creditos {
  font-weight: 600;
  margin-bottom: 10px;
}

.desc {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.precio {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #e9ece9;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 12px;
}

.acciones {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.link {
  font-size: 14px;
  text-decoration: underline;
  color: #000;
}

.btn {
  background: #000;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
}
/* =========================
   CALENDARIO SIMPLYBOOK
========================= */

.reserva-calendario {
  background: #f6f4ed;
  padding: 80px 20px;
}

.reserva-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.reserva-wrapper h2 {
  text-align: center;
  margin-bottom: 40px;
}

.reserva-wrapper iframe {
  width: 100%;
  height: 900px;
  border-radius: 16px;
  background: #fff;
}

/* MÓVIL */
@media (max-width: 768px) {
  .reserva-wrapper iframe {
    height: 1100px;
  }
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
/* =========================
   BOTÓN WHATSAPP
========================= */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #fff;
  font-size: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* Móvil: un poco más arriba para no molestar */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 16px;
    left: 16px;
  }
}
.btn-prueba {
  display: inline-block;
  padding: 16px 36px;
  background-color: #9FAFA6; /* verde KMT */
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.05em;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.btn-prueba:hover {
  background-color: #88988f;
  color: #ffffff;
}
.metodo-elite {
  position: relative;
  background: url("../img/metodo-elite-bg.jpg") center / cover no-repeat;
  padding: 120px 20px;
  color: #ffffff;
}

.metodo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.metodo-content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.metodo-content h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 25px;
}

.metodo-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0.95;
}

.metodo-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  margin: 40px 0;
}

.metodo-valores {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.valor {
  flex: 1;
  min-width: 140px;
  text-align: center;
}

.valor span {
  font-size: 42px;
  display: block;
  margin-bottom: 10px;
}

.valor p {
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .metodo-content h2 {
    font-size: 30px;
  }

  .metodo-valores {
    flex-direction: column;
    gap: 25px;
  }
}
.metodo-detalle {
  background: #e6ece9;
  padding: 100px 20px;
}

.metodo-detalle-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.metodo-col .item {
  margin-bottom: 40px;
}

.metodo-col .num {
  font-size: 72px;
  font-weight: 700;
  color: #a9c0b4;
  display: block;
  line-height: 1;
}

.metodo-col p {
  font-size: 16px;
  line-height: 1.6;
  color: #2f2f2f;
}

@media (max-width: 768px) {
  .metodo-col img {
    width: 100%;
    height: auto;
    display: block;
  }
}

.metodo-resumen {
  margin-top: 80px;
  text-align: center;
  font-size: 28px;
  font-style: italic;
  font-weight: 600;
  color: #6f7f78;
}

/* 📱 Responsive */
@media (max-width: 900px) {
  .metodo-detalle-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .metodo-col p {
    margin: auto;
  }

  .metodo-col.center {
    order: -1;
  }
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 60px;

  padding: 18px 20px;      /* ⬅️ antes era enorme */
  background: #c7d1ca;     /* tu verde */
}

.social-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 3px;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.social-links a:hover {
  opacity: 0.65;
}

/* MÓVIL */
@media (max-width: 768px) {
  .social-links {
    gap: 28px;
    padding: 14px 16px;   /* aún más fino en móvil */
  }

  .social-links a {
    font-size: 12px;
    letter-spacing: 2px;
  }
}
/* FIX franja verde fea bajo redes */
.social-links + * {
  margin-top: 0 !important;
}

.social-links {
  padding-bottom: 14px !important;
}

footer,
.footer,
.footer-social,
.social-bar,
.social-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Si hay pseudo-elementos */
.social-links::before,
.social-links::after {
  display: none !important;
}
/* =========================
   FIX HEADER + REDES MÓVIL
========================= */
@media (max-width: 768px) {

  /* Header más compacto */
  .header,
  .header-inner {
    min-height: auto !important;
    padding: 12px 16px !important;
  }

  /* Ocultar redes en el header en móvil */
  .header .social-links,
  .header .social-bar,
  .header .social-section {
    display: none !important;
  }

  /* Evitar empujes raros */
  .header * {
    max-height: none !important;
  }

  /* Logo más pequeño */
  .brand,
  .brand-main {
    font-size: 22px !important;
    line-height: 1.1;
  }

  .brand-sub {
    font-size: 14px !important;
  }

  /* Menú hamburguesa bien alineado */
  .burger {
    position: absolute;
    right: 16px;
    top: 16px;
  }
}
/* ==============================
   REDES SOCIALES EN CUADRADO (MÓVIL)
   ============================== */

@media (max-width: 768px) {

  /* Contenedor de redes */
  .social-bar,
  .redes,
  .redes-sociales {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 16px;
    height: auto !important;
    background: rgba(200, 210, 205, 0.9); /* mismo tono que usas */
  }

  /* Cada enlace */
  .social-bar a,
  .redes a,
  .redes-sociales a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 10px 0;
    text-transform: uppercase;
  }
}
.hero-h1 {
  font-family: inherit; /* usa la misma fuente que Elite Guadix */
  text-align: center;
  margin: 40px 20px 20px;
  line-height: 1.1;
  color: #2b2b2b; /* ajusta si usas otro color */
}

.hero-h1 .h1-main {
  display: block;
  font-size: 3rem;       /* grande */
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hero-h1 .h1-sub {
  display: block;
  font-size: 1.6rem;     
  font-weight: 400;
  margin-top: 8px;
  opacity: 0.75;
}
.hero-h1 {
  font-family: inherit;        
  font-size: 3.2rem;           
  font-weight: 300;            
  font-style: italic;         
  letter-spacing: 1px;         
  color: #9aa3a0;             
  text-align: center;
  margin: 40px 20px;
  line-height: 1.1;
}
@media (max-width: 768px) {
  .hero-h1 {
    font-size: 2.1rem;
    letter-spacing: 0.5px;
  }
}
.page-reserva h1 {
  font-family: inherit;
  font-weight: 300;
  font-size: 2.2rem;
  letter-spacing: 0.04em;
  color: #6f7f78;
  text-align: center;
  margin: 40px auto 60px;
  max-width: 900px;
  line-height: 1.3;
}
.page-reserva h1 {
  font-weight: 300 !important;
  font-size: 2.2rem !important;
  letter-spacing: 0.04em !important;
  color: #6f7f78 !important;
  text-align: center !important;
  margin: 40px auto 60px !important;
  max-width: 900px !important;
  line-height: 1.3 !important;
}
@media (max-width: 768px) {

  .metodo-col,
  .metodo-col.center {
    max-width: 100% !important;
    width: 100% !important;
    flex: 0 0 100% !important;
  }

  .metodo-col img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}
.about {
  background: #f5f1e9;
  padding: 80px 20px;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text {
  font-size: 16px;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: 1;
  }

  .about-text {
    order: 2;
  }
}
.mis-reservas-cta {
  background-color: #f8f3e8; /* parecido a la franja crema de tu hero */
  padding: 4rem 1.5rem;
  text-align: center;
}

.mis-reservas-cta__content {
  max-width: 900px;
  margin: 0 auto;
}

.mis-reservas-cta__subtitle {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #87948c; /* tono verdoso/gris como el de tu web */
  margin-bottom: 0.75rem;
}

.mis-reservas-cta__title {
  font-size: 2.2rem;
  font-weight: 600;
  color: #333333;
  margin-bottom: 1rem;
}

.mis-reservas-cta__text {
  font-size: 1rem;
  color: #555555;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

.mis-reservas-cta__button {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border-radius: 999px;
  background-color: #23352f; /* el verde oscuro del header, ajústalo si hace falta */
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, transform 0.2s ease,
              box-shadow 0.2s ease;
}

.mis-reservas-cta__button:hover {
  background-color: #1a2722;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}
.servicios {
  padding: 60px 16px; /* menos padding lateral para móvil */
  background: #f4f4f4;
}

.servicios-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* GRID MOBILE FIRST */

.servicios-grid {
  display: flex;
  flex-direction: column; /* móvil uno debajo del otro */
  gap: 30px;
}

/* TARJETA */

.servicio {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  border-left: 4px solid #8fa39a;
}

/* TITULO */

.servicio-titulo {
  font-size: 20px;
  margin-bottom: 12px;
  line-height: 1.3;
}

/* META */

.servicio-meta {
  display: flex;
  flex-wrap: wrap; /* 👈 importante para móvil */
  gap: 10px;
  margin-bottom: 15px;
}

.duracion,
.tipo {
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 600;
}

.duracion {
  background: #8fa39a;
  color: #fff;
}

.tipo.individual {
  background: #222;
  color: #fff;
}

.tipo.grupo {
  background: #e0e0e0;
  color: #333;
}

/* TEXTO */

.servicio-texto {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

/* DESKTOP */

@media (min-width: 768px) {

  .servicios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 en paralelo */
    gap: 40px;
  }

  .servicio {
    padding: 32px;
  }

  .servicio-titulo {
    font-size: 24px;
  }
}
.metodo-elite {
  position: relative;
  height: 90vh;
  background-image: url("../img/metodo-elite.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: white;
}

.metodo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* oscurece imagen */
}
.biomecanica-btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 30px;
    background: #2c2c2c;
    color: white;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: 0.3s ease;
}

.biomecanica-btn:hover {
    background: #000;
}

.biomecanica-btn-secundario {
    background: transparent;
    border: 2px solid #2c2c2c;
    color: #2c2c2c;
    margin-left: 15px;
}

.biomecanica-btn-secundario:hover {
    background: #2c2c2c;
    color: white;
}
/* ===== COOKIES MODERNAS LATERALES ===== */

.cookie-box {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 320px;
    background: #1f1f1f;
    color: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    z-index: 9999;
    animation: slideIn 0.6s ease;
}

.cookie-content h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.cookie-content p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #ddd;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons button {
    flex: 1;
    padding: 10px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-accept {
    background: #8f948d;
    color: white;
}

.btn-accept:hover {
    background: #a3a89f;
}

.btn-reject {
    background: #444;
    color: white;
}

.btn-reject:hover {
    background: #666;
}

/* Animación */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media(max-width: 600px){
    .cookie-box{
        width: 90%;
        right: 5%;
        bottom: 20px;
    }
}
.metodo-content {
  position: relative;
  max-width: 900px;
  z-index: 2;
}

.metodo-sub {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.metodo-title {
  font-size: 60px;
  font-weight: 800;
  margin-bottom: 30px;
}

.metodo-text {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.metodo-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #8fa39a;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s ease;
}

.metodo-btn:hover {
  background: #6f857c;
}

/* RESPONSIVE */

@media (max-width: 768px) {

  .metodo-title {
    font-size: 36px;
  }

  .metodo-text {
    font-size: 16px;
  }

  .metodo-elite {
    height: 75vh;
  }
}
.logos-section {
  background: #ffffff;
  padding: 10px 0;
  overflow: hidden;
}

.logos-slider {
  width: 100%;
  overflow: hidden;
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: scroll-logos 20s linear infinite;
}

.logos-track img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
}

@keyframes scroll-logos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* ===== BIOMECÁNICA CICLISMO ===== */

.biomecanica {
    padding: 100px 20px;
    background: #f5f5f3;
}

.biomecanica-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.biomecanica-media {
    flex: 1;
}

.biomecanica-media video {
    width: 100%;
    border-radius: 15px;
}

.biomecanica-texto {
    flex: 1;
}

.biomecanica-texto h2 {
    font-size: 40px;
    margin-bottom: 25px;
}

.biomecanica-texto p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 18px;
    color: #444;
}

.biomecanica-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 30px;
    border-radius: 30px;
    background: #2d2d2d;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.biomecanica-btn:hover {
    background: #000;
}

/* Responsive */

@media (max-width: 900px) {
    .biomecanica-container {
        flex-direction: column;
        text-align: center;
    }

    .biomecanica-texto h2 {
        font-size: 30px;
    }
}
/* ===== SALUD INTEGRAL CON FONDO ===== */

.salud-integral {
  position: relative;
  padding: 120px 20px;
  background: url("/img/fondo-salud.jpg") center/cover no-repeat;
  color: white;
  text-align: center;
  overflow: hidden;
}

.salud-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  z-index: 1;
}

.salud-integral-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: auto;
}

.salud-integral-title {
  font-size: 42px;
  margin-bottom: 15px;
}

.salud-integral-subtitle {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 60px;
}

.salud-integral-grid {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.salud-card {
  background: rgba(255,255,255,0.1);
  padding: 40px;
  border-radius: 20px;
  max-width: 450px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  transition: 0.3s;
}

.salud-card:hover {
  transform: translateY(-8px);
}

.salud-card h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.salud-card p {
  line-height: 1.6;
  margin-bottom: 30px;
}

.salud-btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 30px;
  background: white;
  color: black;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.salud-btn:hover {
  background: #ddd;
}

/* Responsive */
@media(max-width: 900px){
  .salud-integral-grid{
    flex-direction: column;
    align-items: center;
  }
}
/* ===========================
   SECCIÓN ENTRENADORES
   =========================== */

.coaches-section {
  background-color: #cfd8dc;   /* Fondo distinto y más oscuro que el de arriba */
  padding: 80px 20px;
}

/* CONTENEDOR GENERAL */

.coaches-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* CABECERA DE LA SECCIÓN */

.coaches-header {
  text-align: center;
  margin-bottom: 60px;
}

.coaches-header h2 {
  font-size: 38px;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  color: #222;
}

.coaches-header p {
  font-size: 16px;
  color: #555;
}

/* GRID 3 COLUMNAS */

.coaches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* TARJETA DE CADA ENTRENADOR */

.coach-card {
  background-color: #ffffff;
  border-radius: 4px;
  padding: 25px 20px 30px;
  text-align: center;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

/* FOTO CUADRADA */

.coach-photo {
  width: 220px;
  height: 220px;
  margin: 0 auto 20px;
  overflow: hidden;
  background-color: #eceff1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEXTOS */

.coach-name {
  font-size: 20px;
  margin-bottom: 5px;
  color: #222;
}

.coach-role {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #78909c;
  margin-bottom: 15px;
}

.coach-merits {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 22px;
}

/* BOTÓN + INFO */

.coach-btn {
  display: inline-block;
  padding: 10px 30px;
  border: 1px solid #333;
  text-decoration: none;
  color: #333;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.2s ease;
  background-color: transparent;
}

.coach-btn:hover {
  background-color: #333;
  color: #fff;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1024px) {
  .coaches-grid {
    gap: 30px;
  }

  .coach-photo {
    width: 200px;
    height: 200px;
  }
}

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

  .coach-card {
    max-width: 360px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .coaches-section {
    padding: 60px 15px;
  }

  .coach-photo {
    width: 180px;
    height: 180px;
  }

  .coaches-header h2 {
    font-size: 30px;
  }
}
.entrenadores-header h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #000, #444);
  margin: 25px auto 0;
  border-radius: 2px;
}
/* ===== BONOS PREMIUM ===== */

.bonos-premium{
  position: relative;
  padding: 120px 20px;
  background: url("../img/fondo-bonos221.jpg") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.bonos-premium .overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1;
}

.contenido-bonos{
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.contenido-bonos h2{
  font-size: 42px;
  margin-bottom: 10px;
}

.subtitulo{
  font-size: 18px;
  margin-bottom: 60px;
  opacity: 0.9;
}

.cards-bonos{
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.card-bono{
  flex: 1;
  min-width: 320px;
  padding: 50px 40px;
  border-radius: 20px;
  backdrop-filter: blur(15px);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  transition: 0.3s ease;
  text-align: left;
}

.card-bono:hover{
  transform: translateY(-8px);
  background: rgba(255,255,255,0.12);
}

.card-bono h3{
  font-size: 26px;
  margin-bottom: 20px;
}

.card-bono p{
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-bono ul{
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.card-bono li{
  margin-bottom: 10px;
}

.btn-bono{
  display: inline-block;
  padding: 12px 30px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  border-radius: 30px;
  transition: 0.3s ease;
}

.btn-bono:hover{
  background: #e0e0e0;
}

@media (max-width: 900px){
  .cards-bonos{
    flex-direction: column;
  }
}
.hero-sub {
    padding: 100px 20px;
    background: linear-gradient(135deg, #111, #222);
    color: white;
    text-align: center;
}

.video-section {
    padding: 80px 20px;
    text-align: center;
}

.video-section video {
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
    margin: 20px 0;
}

.features {
    padding: 100px 20px;
    background: #f5f5f5;
}

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

.feature-item {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
}

.feature-item img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}
.biomecanica-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 40px;
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
}

@media (max-width: 768px) {

  .biomecanica-texto {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .biomecanica-btn {
    width: 100%;
  }
}
.apertura-section {
    background: linear-gradient(135deg, #111, #2f3e46);
    color: white;
    padding: 100px 20px;
    text-align: center;
    overflow: hidden;
}

.apertura-content {
    max-width: 900px;
    margin: auto;
    animation: fadeUp 1.2s ease forwards;
    opacity: 0;
}

.apertura-section h2 {
    font-size: 40px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.apertura-section p {
    font-size: 20px;
    margin-bottom: 40px;
}

.apertura-btn {
    display: inline-block;
    padding: 14px 35px;
    background: #84a98c;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s ease;
}

.apertura-btn:hover {
    background: #52796f;
    transform: scale(1.05);
}

.contador {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    font-size: 28px;
}

.contador div {
    text-align: center;
}

.contador span {
    font-size: 42px;
    font-weight: bold;
    display: block;
}

@keyframes fadeUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.instalaciones-section {
    padding: 100px 20px;
    background: #f7f7f7;
    text-align: center;
}

.instalaciones-title {
    font-size: 40px;
    margin-bottom: 15px;
}

.instalaciones-subtitle {
    max-width: 700px;
    margin: 0 auto 60px auto;
    font-size: 18px;
    color: #666;
}

.instalaciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.instalacion-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.instalacion-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.instalacion-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 30px 20px;
    transition: 0.4s ease;
}

.instalacion-card:hover img {
    transform: scale(1.1);
}

.instalacion-card:hover .instalacion-overlay {
    background: linear-gradient(transparent, rgba(0,0,0,0.95));
}
.faq-section {
  padding: 100px 20px;
 background-image: url("../img/faq-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  color: #fff;
}

/* Overlay oscuro */
.faq-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.faq-section .container {
  position: relative;
  z-index: 2;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 36px;
  color: #fff;
}

.faq-item {
  max-width: 800px;
  margin: 0 auto 20px auto;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer p {
  padding-bottom: 20px;
  color: #eaeaea;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}
.instalaciones-section {
  padding: 100px 20px;
  background: #f5f5f5;
  text-align: center;
}
.cta-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 26px;
  border-radius:999px;
  background:#000;
  color:#fff;
  font-weight:700;
  font-size:18px;
  text-decoration:none;
  border:1px solid rgba(0,0,0,.2);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.cta-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(0,0,0,.18);
  background:#111;
}

.cta-btn:active{
  transform:translateY(0);
  box-shadow:0 8px 18px rgba(0,0,0,.12);
}

