/*
Theme Name: Fuerza Pocitos
Theme URI: https://www.fuerzapocitos.com.uy
Author: Fuerza Pocitos
Author URI: https://www.fuerzapocitos.com.uy
Description: Tema personalizado para Fuerza Pocitos - Gimnasio en Pocitos, Montevideo. Dark fitness aesthetic con acento neon lime.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fuerza-pocitos
Tags: dark, fitness, gym, one-page, custom-menu, responsive-layout
Requires at least: 5.9
Tested up to: 6.4
Requires PHP: 7.4
*/

/* ============================================
   {NOMBRE_GIMNASIO} — Design System
   Dark Gym Aesthetic + Neon Lime Accent
   Mobile-first, Montevideo, Uruguay
   ============================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
  --color-bg: #0a0a0a;
  --color-bg-alt: #111111;
  --color-bg-card: #161616;
  --color-bg-card-hover: #1c1c1c;
  --color-surface: #1a1a1a;
  --color-border: #2a2a2a;
  --color-border-light: #333333;

  --color-accent: #CCFF00;
  --color-accent-dim: rgba(204, 255, 0, 0.15);
  --color-accent-glow: rgba(204, 255, 0, 0.3);

  --color-text: #ffffff;
  --color-text-secondary: #a0a0a0;
  --color-text-muted: #666666;

  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #128C7E;

  --color-gray-100: #f5f5f5;
  --color-gray-200: #e0e0e0;
  --color-gray-600: #666666;
  --color-gray-700: #444444;
  --color-gray-800: #2a2a2a;
  --color-gray-900: #1a1a1a;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 2rem;
  --fs-4xl: 2.5rem;
  --fs-5xl: 3.5rem;
  --fs-6xl: 4.5rem;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --fw-black: 900;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-accent: 0 0 20px var(--color-accent-glow);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;

  --header-height: 72px;
  --mobile-bar-height: 60px;
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-family);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- SECTION ---------- */
.section {
  padding: 80px 0;
}

.section__tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section__title {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-black);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: var(--fs-lg);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin-bottom: 48px;
}

.accent {
  color: var(--color-accent);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: #000;
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background: #d4ff33;
  box-shadow: var(--shadow-accent);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-light);
}

.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  border-color: var(--color-whatsapp);
}

.btn--whatsapp:hover {
  background: var(--color-whatsapp-dark);
  border-color: var(--color-whatsapp-dark);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 16px 36px;
  font-size: var(--fs-base);
}

.btn--full {
  width: 100%;
}

.btn .icon {
  width: 20px;
  height: 20px;
}

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  height: var(--header-height);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header--scrolled {
  border-bottom-color: var(--color-border);
  background: rgba(10, 10, 10, 0.95);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: var(--fw-extrabold);
  font-size: var(--fs-xl);
  z-index: 10000;
  position: relative;
}

.logo__icon {
  font-size: 1.4em;
}

.header__nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  gap: 32px;
  z-index: 9999;
  padding: env(safe-area-inset-top) 20px env(safe-area-inset-bottom) 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.header__nav.active {
  opacity: 1;
  visibility: visible;
}

.nav__link {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-semibold);
  color: var(--color-text-secondary);
  transition: var(--transition-fast);
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 4px 16px;
}

.nav__link:hover {
  color: var(--color-accent);
}

.header__cta {
  display: none;
}

.header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 10000;
  position: relative;
  padding: 8px;
}

.header__hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
  border-radius: 2px;
}

.header__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.55) 35%,
      rgba(0, 0, 0, 0.40) 60%,
      rgba(10, 10, 10, 0.85) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}

.hero__title {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-black);
  line-height: 1.1;
  margin-bottom: 16px;
  max-width: 700px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
  font-size: var(--fs-lg);
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  max-width: 500px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-gray-200);
}

/* ---------- PLANES ---------- */
.planes {
  background: #0B0B0B;
}

.planes__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.plan-card {
  background: #111111;
  border: 1px solid #2A2A2A;
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.plan-card:hover {
  border-color: #3a3a3a;
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.plan-card--featured {
  border-color: #C6FF00;
  border-width: 2px;
  background: linear-gradient(160deg,
      #111111 0%,
      rgba(198, 255, 0, 0.04) 50%,
      #111111 100%);
  box-shadow:
    0 0 30px rgba(198, 255, 0, 0.08),
    0 0 60px rgba(198, 255, 0, 0.04);
}

.plan-card--featured:hover {
  border-color: #C6FF00;
  box-shadow:
    0 0 40px rgba(198, 255, 0, 0.15),
    0 0 80px rgba(198, 255, 0, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(-8px);
}

.plan-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #C6FF00;
  color: #000;
  font-size: 0.65rem;
  font-weight: var(--fw-bold);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.plan-card__header {
  margin-bottom: 28px;
}

.plan-card__name {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-extrabold);
  margin-bottom: 6px;
  color: #fff;
}

.plan-card__desc {
  font-size: var(--fs-sm);
  color: #888;
}

.plan-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #2A2A2A;
}

.price__currency {
  font-size: var(--fs-lg);
  color: #888;
  font-weight: var(--fw-semibold);
  align-self: flex-start;
  margin-top: 8px;
}

.price__amount {
  font-size: 3rem;
  font-weight: var(--fw-black);
  color: #fff;
  line-height: 1;
  letter-spacing: -1px;
}

.plan-card--featured .price__amount {
  color: #C6FF00;
}

.price__period {
  font-size: var(--fs-sm);
  color: #666;
  font-weight: var(--fw-medium);
}

.plan-card__features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex: 1;
}

.plan-card__features li {
  font-size: var(--fs-sm);
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}

.plan-card__features li .check {
  color: #C6FF00;
  font-weight: var(--fw-bold);
  font-size: var(--fs-base);
  flex-shrink: 0;
}

/* ---------- HORARIOS ---------- */
.horarios__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  background: var(--color-surface);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-accent);
  color: #000;
  border-color: var(--color-accent);
}

.horarios__table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  margin-bottom: 32px;
  -webkit-overflow-scrolling: touch;
}

.horarios__table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--color-bg-card);
}

.horarios__table th {
  background: var(--color-surface);
  padding: 16px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.horarios__table td {
  padding: 14px 16px;
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border);
}

.horarios__table tbody tr:hover {
  background: rgba(204, 255, 0, 0.03);
}

.horarios__table tbody tr.hidden {
  display: none;
}

.horarios__cta {
  text-align: center;
}

/* ---------- CLASES ---------- */
.clases {
  background: var(--color-bg-alt);
}

.clases__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.clase-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.clase-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.clase-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 20px;
}

.clase-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: 8px;
}

.clase-card__desc {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.clase-card__link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-accent);
  transition: var(--transition-fast);
}

.clase-card__link:hover {
  text-decoration: underline;
}

/* -- Infra Carousel -- */
.infra__carousel {
  position: relative;
}

.infra__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0;
  cursor: grab;
}

.infra__track:active {
  cursor: grabbing;
}

.infra__track::-webkit-scrollbar {
  display: none;
}

.infra__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  flex: 0 0 calc(100% - 8px);
  scroll-snap-align: center;
  min-width: 0;
}

.infra__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.infra__item:hover img {
  transform: scale(1.05);
}

/* -- Infra Dots -- */
.infra__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.infra__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--color-border-light);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.infra__dot:hover {
  background: var(--color-text-secondary);
}

.infra__dot:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.infra__dot.active {
  background: var(--color-accent);
  transform: scale(1.2);
}

/* ---------- PROFES ---------- */
.profes {
  background: var(--color-bg-alt);
}

.profes__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.profe-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.profe-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

.profe-card__img {
  aspect-ratio: 1/1;
  overflow: hidden;
}

.profe-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.profe-card:hover .profe-card__img img {
  transform: scale(1.05);
}

.profe-card__info {
  padding: 20px;
}

.profe-card__name {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  margin-bottom: 4px;
}

.profe-card__specialty {
  font-size: var(--fs-sm);
  color: var(--color-accent);
  font-weight: var(--fw-medium);
  margin-bottom: 4px;
}

.profe-card__credential {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.profes__cta {
  text-align: center;
}

/* ---------- TESTIMONIOS ---------- */
.testimonios__rating {
  text-align: center;
  margin-bottom: 48px;
}

.rating__stars {
  font-size: var(--fs-3xl);
  color: #FFD700;
  margin-bottom: 8px;
}

.rating__score {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-black);
}

.rating__score span {
  font-size: var(--fs-xl);
  color: var(--color-text-muted);
  font-weight: var(--fw-regular);
}

.rating__count {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* -- Carousel wrapper -- */
.testimonios__carousel {
  margin-bottom: 40px;
  position: relative;
}

.testimonios__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0;
  cursor: grab;
}

.testimonios__track:active {
  cursor: grabbing;
}

.testimonios__track::-webkit-scrollbar {
  display: none;
}

.testimonio-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  flex: 0 0 calc(100% - 8px);
  scroll-snap-align: center;
  min-width: 0;
}

.testimonio-card__stars {
  color: #FFD700;
  font-size: var(--fs-sm);
  margin-bottom: 12px;
}

.testimonio-card__text {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}

.testimonio-card__author strong {
  display: block;
  font-weight: var(--fw-semibold);
  color: var(--color-text);
}

.testimonio-card__author span {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

/* -- Dot indicators -- */
.testimonios__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.testimonios__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--color-border-light);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.testimonios__dot:hover {
  background: var(--color-text-secondary);
}

.testimonios__dot:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.testimonios__dot.active {
  background: var(--color-accent);
  transform: scale(1.2);
}

.testimonios__cta {
  text-align: center;
}

/* ---------- SEDE ---------- */
.sede {
  background: #0B0B0B;
}

.sede__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.sede__info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: #111111;
  border: 1px solid #2A2A2A;
  border-radius: 20px;
  padding: 36px 32px;
}

.sede__detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.sede__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-top: 0;
}

.sede__detail strong {
  display: block;
  font-weight: var(--fw-semibold);
  color: #fff;
  margin-bottom: 4px;
}

.sede__detail p {
  font-size: var(--fs-sm);
  color: #aaa;
  line-height: 1.6;
}

.sede__map {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #2A2A2A;
}

.sede__map iframe {
  display: block;
}

/* ---------- FAQ ---------- */
.faq__list {
  max-width: 768px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq__item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq__item.active {
  border-color: var(--color-accent);
}

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq__question:hover {
  color: var(--color-accent);
}

.faq__icon {
  font-size: var(--fs-xl);
  color: var(--color-accent);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq__item.active .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__item.active .faq__answer {
  max-height: 300px;
}

.faq__answer p {
  padding: 0 24px 20px;
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ---------- CONTACTO ---------- */
.contacto {
  background: var(--color-bg-alt);
}

.contacto__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.contacto__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__group label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
}

.form__group input,
.form__group textarea {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--color-text);
  transition: var(--transition);
  outline: none;
}

.form__group input:focus,
.form__group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-dim);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--color-text-muted);
}

.form__group textarea {
  resize: vertical;
  min-height: 80px;
}

.contacto__wa-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.contacto__wa-icon {
  color: var(--color-whatsapp);
  margin: 0 auto 16px;
}

.contacto__wa-card h3 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  margin-bottom: 8px;
}

.contacto__wa-card p {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--color-bg);
  padding: 64px 0 0;
  border-top: 1px solid var(--color-border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: var(--fw-extrabold);
  font-size: var(--fs-xl);
  margin-bottom: 16px;
}

.footer__address {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.footer__micro {
  font-size: var(--fs-sm);
  color: var(--color-accent);
  font-weight: var(--fw-medium);
}

.footer__links h4 {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.footer__links a {
  display: block;
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  padding: 6px 0;
  transition: var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__payment h4 {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.footer__payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-icon {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--color-text-secondary);
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
  padding-bottom: calc(20px + var(--mobile-bar-height));
  text-align: center;
}

.footer__bottom p {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

@keyframes pulse-wa {

  0%,
  100% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6);
  }
}

/* ---------- MOBILE STICKY BAR ---------- */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  height: var(--mobile-bar-height);
  display: flex;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--color-border);
}

.mobile-bar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.mobile-bar__btn--reserve {
  background: var(--color-accent);
  color: #000;
}

.mobile-bar__btn--reserve:hover {
  background: #d4ff33;
}

.mobile-bar__btn--whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
}

.mobile-bar__btn--whatsapp:hover {
  background: var(--color-whatsapp-dark);
}

/* ---------- SCROLL ANIMATIONS ---------- */
[data-aos] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE — TABLET (768px+)
   ============================================ */
@media (min-width: 768px) {
  .section__title {
    font-size: var(--fs-4xl);
  }

  .hero__title {
    font-size: var(--fs-5xl);
  }

  .hero__ctas {
    flex-direction: row;
  }

  .planes__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .clases__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .infra__item {
    flex: 0 0 calc(50% - 8px);
  }

  .profes__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .testimonio-card {
    flex: 0 0 calc(50% - 10px);
  }

  .sede__content {
    grid-template-columns: 1fr 1.5fr;
    align-items: start;
  }

  .contacto__content {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }

  .clases__grid .clase-card:last-child {
    grid-column: span 2;
  }
}

/* ============================================
   RESPONSIVE — DESKTOP (1024px+)
   ============================================ */
@media (min-width: 1024px) {
  .container {
    padding: 0 40px;
  }

  .section {
    padding: 120px 0;
  }

  .section__title {
    font-size: var(--fs-5xl);
  }

  .hero__title {
    font-size: var(--fs-6xl);
  }

  /* Desktop nav */
  .header__nav {
    display: flex;
    position: static;
    flex-direction: row;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    width: auto;
    height: auto;
    gap: 32px;
    opacity: 1;
    visibility: visible;
    padding: 0;
    z-index: auto;
  }

  .nav__link {
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    min-height: auto;
    padding: 0;
  }

  .header__cta {
    display: inline-flex;
  }

  .header__hamburger {
    display: none;
  }

  /* Hide mobile bar on desktop */
  .mobile-bar {
    display: none;
  }

  .whatsapp-float {
    bottom: 32px;
    right: 32px;
    width: 64px;
    height: 64px;
  }

  .whatsapp-float svg {
    width: 32px;
    height: 32px;
  }

  .footer__bottom {
    padding-bottom: 20px;
  }

  .clases__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .clases__grid .clase-card:last-child {
    grid-column: span 1;
  }

  /* 5 class cards: 3 in first row, 2 centered in second */
  .clases__grid {
    justify-items: center;
  }

  /* Show all 3 testimonials side by side on desktop */
  .testimonio-card {
    flex: 0 0 calc(33.333% - 14px);
  }

  .testimonios__dots {
    display: none;
  }

  .testimonios__track {
    overflow: visible;
    cursor: default;
  }

  /* Show 3 infra images at a time on desktop */
  .infra__item {
    flex: 0 0 calc(33.333% - 11px);
  }
}

/* ============================================
   RESPONSIVE — LARGE (1280px+)
   ============================================ */
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

/* ============================================
   RESPONSIVE — MOBILE HERO SPACING (≤480px)
   ============================================ */
@media (max-width: 480px) {
  .hero__content {
    padding: calc(var(--header-height) + 20px) 0 calc(var(--mobile-bar-height) + 32px);
  }

  .hero__content .container,
  .hero__content.container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero__title {
    line-height: 1.1;
    margin-bottom: 12px;
  }

  .hero__subtitle {
    line-height: 1.4;
    margin-bottom: 18px;
  }

  .hero__ctas {
    gap: 12px;
    margin-bottom: 22px;
  }

  .hero__chips {
    gap: 10px;
    margin-bottom: 16px;
  }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}