:root {
  --bg-body: #050608;
  --bg-elevated: #0c0f17;
  --bg-elevated-soft: #101320;
  --bg-hero-overlay: rgba(5, 6, 8, 0.65);
  --bg-section-dark: #05060a;
  --border-subtle: #1f2937;
  --border-strong: #4b5563;

  --primary: #f97316;
  --primary-soft: rgba(249, 115, 22, 0.12);
  --primary-strong: #ea580c;

  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --text-soft: #6b7280;

  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.55);
  --shadow-subtle: 0 10px 28px rgba(0, 0, 0, 0.45);

  --header-height: 72px;
}

/* Reset básico */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #020617 100%);
  color: var(--text-main);
  line-height: 1.5;
}

/* Utilidades */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-dark {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), #020617);
}

.section-cta {
  background: linear-gradient(120deg, #0f172a 0%, #020617 55%, #0b1120 100%);
}

.section-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Tipografía secciones */
.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.section-heading {
  text-align: left;
  margin-bottom: 2.2rem;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.2rem);
  margin-bottom: 0.4rem;
}

.section-heading p {
  color: var(--text-muted);
  max-width: 480px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease-out;
  gap: 0.3rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #0b1120;
  box-shadow: 0 12px 35px rgba(249, 115, 22, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 16px 40px rgba(249, 115, 22, 0.6);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  border-color: rgba(55, 65, 81, 0.9);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 1);
  border-color: rgba(148, 163, 184, 0.9);
}

.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border-color: rgba(75, 85, 99, 0.9);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.85);
}

.btn-full {
  width: 100%;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.96),
    rgba(15, 23, 42, 0.8),
    transparent
  );
  border-bottom: 1px solid rgba(31, 41, 55, 0.8);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #fed7aa, var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b1120;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 14px 36px rgba(248, 113, 22, 0.7);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-weight: 700;
  font-size: 1rem;
}

.logo-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-soft);
}

/* Navegación */
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.main-nav a {
  text-decoration: none;
  color: #e5e7eb;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  transition: background 0.16s ease, color 0.16s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(15, 23, 42, 0.95);
  color: #f9fafb;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Nav móvil */
.nav-toggle {
  display: none;
  width: 36px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  background: rgba(15, 23, 42, 0.95);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

/* Hero */
.hero {
  position: relative;
  padding: 4.8rem 0 3.8rem;
  background-image:
    linear-gradient(
      to bottom,
      rgba(15, 23, 42, 0.75),
      rgba(15, 23, 42, 0.96)
    ),
    url("../img/hero-gym.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.hero-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 3.2vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 1.4rem;
}

.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.badge {
  background: rgba(15, 23, 42, 0.92);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(75, 85, 99, 0.9);
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.badge-title {
  font-weight: 600;
}

.badge-text {
  color: var(--text-muted);
}

/* Hero card */
.hero-card {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.4), #020617);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.4rem 1.3rem;
  border: 1px solid rgba(31, 41, 55, 0.95);
  box-shadow: var(--shadow-soft);
}

.hero-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.hero-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Formularios */
.hero-form,
.form-card,
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

label {
  font-size: 0.85rem;
  color: #e5e7eb;
}

input,
textarea,
select {
  border-radius: 10px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.98);
  color: var(--text-main);
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.6);
  background: rgba(15, 23, 42, 1);
}

textarea {
  resize: vertical;
  min-height: 110px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* Listas */
.bullet-list {
  list-style: none;
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.bullet-list li {
  position: relative;
  padding-left: 1.2rem;
}

.bullet-list li + li {
  margin-top: 0.3rem;
}

.bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.mini-list {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.mini-list li + li {
  margin-top: 0.25rem;
}

/* Imagenes centro */
.section-text p {
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.section-media {
  width: 100%;
}

.image-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.8rem;
}

.image-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 41, 55, 0.95);
  background: radial-gradient(circle at top left, #111827, #020617);
  position: relative;
  overflow: hidden;
  min-height: 140px;
}

.image-card-1 {
  grid-row: 1 / 3;
}

/* Ajuste de las imágenes dentro de las cards */
.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tag {
  position: absolute;
  bottom: 0.7rem;
  left: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 0.75rem;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.1rem 1rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  font-size: 0.94rem;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.card p {
  color: var(--text-muted);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.pricing-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-xl);
  padding: 1.4rem 1.2rem 1.2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  position: relative;
}

.pricing-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.price {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: var(--text-muted);
}

.price span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
}

.pricing-card-featured {
  border-color: rgba(249, 115, 22, 0.9);
  box-shadow: 0 18px 42px rgba(249, 115, 22, 0.55);
}

.badge-top {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fed7aa;
}

/* Form alta */
.form-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-xl);
  padding: 1.3rem 1.25rem 1.2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
}

/* Horario */
.schedule-wrapper {
  max-width: 580px;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.schedule-table th,
.schedule-table td {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.schedule-table th {
  text-align: left;
  font-weight: 600;
}

.schedule-table tbody tr:nth-child(even) {
  background: rgba(15, 23, 42, 0.7);
}

.schedule-note {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Testimonios */
.testimonials-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-text {
  font-size: 0.9rem;
  color: #e5e7eb;
  margin-bottom: 0.6rem;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Contacto / footer */
.site-footer {
  background: radial-gradient(circle at top, #020617, #020617 60%, #020617 100%);
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0 2rem;
}

.footer-column h3,
.footer-column h4 {
  margin-bottom: 0.6rem;
}

.footer-column p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-list {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-list li + li {
  margin-top: 0.4rem;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.footer-social a {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  text-decoration: none;
  color: #e5e7eb;
}

.footer-social a:hover {
  background: rgba(15, 23, 42, 0.9);
}

.footer-bottom {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  padding: 0.9rem 0 1.2rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.footer-bottom-inner a {
  color: var(--text-main);
  text-decoration: none;
}

.footer-bottom-inner a:hover {
  text-decoration: underline;
}

/* Contacto layout */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.contact-form {
  background: var(--bg-elevated);
  border-radius: var(--radius-xl);
  padding: 1.4rem 1.3rem 1.2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
}

.map-placeholder {
  margin-top: 0.9rem;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(75, 85, 99, 0.9);
  padding: 1.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.9);
}

/* CTA final */
.section-cta-inner .section-text p {
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    max-width: 460px;
    margin: 0 auto;
  }

  .section-grid,
  .contact-grid,
  .section-cta-inner {
    grid-template-columns: minmax(0, 1fr);
    flex-direction: column;
  }

  .section-cta-inner {
    align-items: flex-start;
  }

  .section-cta-inner .section-actions {
    margin-top: 0.7rem;
  }

  .header-actions {
    display: none;
  }

  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header {
    background: rgba(15, 23, 42, 0.98);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }

  .cards-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
}

