/* ==============================
   CSS VARIABLES & RESET
   ============================== */
.contenedor-logo {
  text-align: left; /* Asegura que el contenedor esté alineado a la izquierda */
  padding: 20px; /* Espacio alrededor del logo */
}

.logo {
  display: block; /* Lo trata como un bloque */
  width: 80px; /* Ajusta este valor al tamaño que prefieras */
  height: auto; /* Mantiene la proporción original */
  border-radius: 100%;
}
:root {
  --green: #39ff14;
  --green-dim: #2bd410;
  --green-dark: #1a7a0a;
  --green-glow: rgba(57, 255, 20, 0.25);
  --green-glow-strong: rgba(57, 255, 20, 0.5);
  --bg: #080b08;
  --bg-2: #0d130d;
  --bg-3: #111811;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(57, 255, 20, 0.12);
  --white: #ffffff;
  --gray-100: #f0f0f0;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --text: #e8ede8;
  --text-muted: #7a8f7a;

  --font-display: "Bebas Neue", sans-serif;
  --font-heading: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;

  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-green: 0 0 40px var(--green-glow), 0 0 80px rgba(57, 255, 20, 0.08);
  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ==============================
   SCROLLBAR
   ============================== */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--green-dark);
  border-radius: 3px;
}

/* ==============================
   UTILITY
   ============================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid var(--card-border);
  color: var(--green);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
}

.accent {
  color: var(--green);
}

/* ==============================
   BUTTONS
   ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 100px;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--green);
  color: var(--bg);
  border-color: var(--green);
  box-shadow: 0 0 24px var(--green-glow);
}

.btn-primary:hover {
  background: transparent;
  color: var(--green);
  box-shadow: var(--shadow-green);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ==============================
   ANIMATIONS
   ============================== */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal-left {
  transform: translateX(-40px);
}
.reveal-right {
  transform: translateX(40px);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* Delays */
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}

/* ==============================
   NAVBAR
   ============================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(8, 11, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--green);
  color: var(--bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 16px var(--green-glow);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: var(--white);
}

.logo-dot {
  color: var(--green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition:
    color var(--transition),
    background var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--green);
  background: rgba(57, 255, 20, 0.05);
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: var(--bg);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 100px;
  margin-left: 8px;
  transition: all var(--transition);
  box-shadow: 0 0 16px var(--green-glow);
}

.btn-nav-cta:hover {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
  box-shadow: var(--shadow-green);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  transition: background var(--transition);
}

.hamburger:hover {
  background: rgba(57, 255, 20, 0.08);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==============================
   HERO
   ============================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

/* Background layers */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.hero-orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #39ff14 0%, transparent 70%);
  top: -200px;
  left: -200px;
  animation: orbPulse 8s ease-in-out infinite;
}

.hero-orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #1a8a05 0%, transparent 70%);
  bottom: -100px;
  right: -100px;
  animation: orbPulse 10s ease-in-out infinite reverse;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(57, 255, 20, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 20, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

@keyframes orbPulse {
  0%,
  100% {
    transform: scale(1) translate(0, 0);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.15) translate(30px, -20px);
    opacity: 0.5;
  }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid rgba(57, 255, 20, 0.2);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero-title {
  font-family: var(--font-display);
  line-height: 0.95;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}

.title-line {
  display: block;
  font-size: clamp(5rem, 14vw, 10rem);
  color: var(--white);
}

.title-line.accent {
  color: var(--green);
  text-shadow:
    0 0 60px var(--green-glow-strong),
    0 0 120px var(--green-glow);
}

.title-line.title-small {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  letter-spacing: 0.2em;
  color: var(--text-muted);
  font-weight: 400;
  text-transform: uppercase;
  margin-top: 8px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  width: fit-content;
  margin: 0 auto;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--green);
  letter-spacing: 0.03em;
  text-shadow: 0 0 24px var(--green-glow);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--card-border);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--green), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%,
  100% {
    opacity: 1;
    transform: scaleY(1);
  }
  50% {
    opacity: 0.4;
    transform: scaleY(0.5);
  }
}

/* ==============================
  ABOUT
   ============================== */
.about {
  background: var(--bg-2);
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--green-dark),
    transparent
  );
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-wrapper {
  position: relative;
}

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  max-height: 520px;
  background: var(--bg-3);
  border: 2px solid var(--card-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.about-img-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 110%,
    rgba(57, 255, 20, 0.12) 0%,
    transparent 65%
  );
}

.about-img-placeholder i {
  font-size: 5rem;
  color: var(--green);
  opacity: 0.3;
  position: relative;
  z-index: 1;
}

.about-img-placeholder span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  position: relative;
  z-index: 1;
}

/* NOTE: To add a real photo, replace the .about-img-placeholder div with:
  <img src="foto-francisco.jpg" alt="Francisco Corredor" style="width:100%;border-radius:24px;object-fit:cover;aspect-ratio:3/4;" />
*/

.about-badge-card {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.about-badge-card i {
  font-size: 1.5rem;
  color: var(--green);
}

.about-badge-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}

.about-badge-card span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.about-content .section-tag {
  margin-bottom: 12px;
}

.about-text {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
}

.about-text strong {
  color: var(--white);
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.pill {
  flex: 0 0 calc(33.33% - 10px);
  max-width: 220px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(57, 255, 20, 0.06);
  border: 1px solid var(--card-border);
  color: var(--text);
  font-size: 0.83rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 100px;
  transition: all var(--transition);
}

.pill:hover {
  background: rgba(57, 255, 20, 0.12);
  border-color: var(--green);
  color: var(--green);
}

.pill i {
  color: var(--green);
  font-size: 0.9rem;
}
/* ==============================
  SERVICES
   ============================== */
.services {
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(57, 255, 20, 0.04) 0%,
    transparent 70%
  );
  pointer-events: none;
}

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

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at top,
    rgba(57, 255, 20, 0.06) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: rgba(57, 255, 20, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(57, 255, 20, 0.1);
}

.service-card:hover::before,
.service-card:hover::after {
  opacity: 1;
}

/* ÍCONO CENTRADO */
.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(57, 255, 20, 0.1);
  border: 1px solid rgba(57, 255, 20, 0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--green);
  margin: 0 auto 20px;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(57, 255, 20, 0.2);
  box-shadow: 0 0 20px var(--green-glow);
}

/* TÍTULO CENTRADO */
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  text-align: center;
}

/* TEXTO JUSTIFICADO */
.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 20px;
}

/* ETIQUETA CENTRADA */
.service-tag {
  display: table;
  margin: 0 auto;
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid rgba(57, 255, 20, 0.15);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

/* ==============================
  GYMS
============================== */

.gyms {
  background: var(--bg-2);
}

/* ==============================
  GRID DE GIMNASIOS
============================== */

.gyms-grid {
  display: grid;

  /* 6 columnas para centrar las tarjetas */
  grid-template-columns: repeat(6, 1fr);

  gap: 30px;

  width: 100%;
}

/* ==============================
   PRIMERA FILA
============================== */

/* Parnaso */
.gyms-grid .gym-card:nth-child(1) {
  grid-column: 1 / 3;
}

/* Sparta */
.gyms-grid .gym-card:nth-child(2) {
  grid-column: 3 / 5;
}

/* Action Peak */
.gyms-grid .gym-card:nth-child(3) {
  grid-column: 5 / 7;
}

/* ==============================
   SEGUNDA FILA CENTRADA
============================== */

/* Techno Fit */
.gyms-grid .gym-card:nth-child(4) {
  grid-column: 2 / 4;
}

/* Iron Body */
.gyms-grid .gym-card:nth-child(5) {
  grid-column: 4 / 6;
}

/* ==============================
   TARJETAS
============================== */

.gym-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 15px;
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: all var(--transition);
}

.gym-card:hover {
  border-color: rgba(57, 255, 20, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(57, 255, 20, 0.08);
}

/* ==============================
   ICONO DEL GIMNASIO
============================== */

.gym-icon-wrap {
  width: 60px;
  height: 60px;
  background: rgba(57, 255, 20, 0.1);
  border: 1px solid rgba(57, 255, 20, 0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--green);

  /* CENTRAR EL ICONO */
  margin: 0 auto;
}

/* ==============================
   INFORMACIÓN
============================== */

.gym-info h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  text-align: center;
}

.gym-location {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--green);
  margin-bottom: 12px;
}

.gym-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: justify;
}
/* ==============================
   ENLACES
============================== */

.gym-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  margin-top: auto;
}

/* Botones Instagram, WhatsApp y Google Maps */

.gym-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  padding: 11px 10px;

  color: var(--white);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 600;

  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(57, 255, 20, 0.18);

  border-radius: 100px;

  transition: all 0.3s ease;
}

/* Google Maps ocupa toda la fila */

.gym-links a:last-child {
  grid-column: 1 / 3;
  width: 65%;
  margin: 0 auto;
}

.gym-links a:hover {
  color: var(--green);
  background: rgba(57, 255, 20, 0.08);
  border-color: var(--green);
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.18);
  transform: translateY(-3px);
}

.gym-links a i {
  font-size: 1rem;
  color: var(--green);
}

/* ==============================
   BADGE ACTIVO
============================== */

.gym-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  background: rgba(57, 255, 20, 0.1);
  border: 1px solid rgba(57, 255, 20, 0.2);

  color: var(--green);

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  padding: 6px 14px;

  border-radius: 100px;

  width: fit-content;

  align-self: flex-start;
}

.gym-badge::before {
  content: "";

  width: 6px;
  height: 6px;

  background: var(--green);

  border-radius: 50%;

  box-shadow: 0 0 8px var(--green);

  animation: blink 2s ease-in-out infinite;
}

/* ==============================
   ANIMACIÓN
============================== */

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

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

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

  .gyms-grid .gym-card:nth-child(1),
  .gyms-grid .gym-card:nth-child(2),
  .gyms-grid .gym-card:nth-child(3),
  .gyms-grid .gym-card:nth-child(4),
  .gyms-grid .gym-card:nth-child(5) {
    grid-column: auto;
  }
}

/* ==============================
   CELULAR
============================== */

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

  .gyms-grid .gym-card:nth-child(1),
  .gyms-grid .gym-card:nth-child(2),
  .gyms-grid .gym-card:nth-child(3),
  .gyms-grid .gym-card:nth-child(4),
  .gyms-grid .gym-card:nth-child(5) {
    grid-column: auto;
  }

  .gym-links {
    grid-template-columns: 1fr;
  }

  .gym-links a:last-child {
    grid-column: auto;
    width: 100%;
  }
}
/* ==============================
  PRODUCTS
   ============================== */

.products .section-header {
  text-align: center;
  margin-bottom: 55px;
}

.products .section-tag {
  display: inline-block;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.products .section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 15px;
}

.products .section-title .accent {
  color: var(--green);
}

.products .section-sub {
  max-width: 650px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

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

/* ==============================
  TARJETA DEL PRODUCTO
   ============================== */

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: rgba(57, 255, 20, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(57, 255, 20, 0.1);
}

/* ==============================
  IMAGEN DEL PRODUCTO
   ============================== */

.product-visual {
  width: 100%;
  height: 180px;

  background: linear-gradient(
    135deg,
    rgba(57, 255, 20, 0.06) 0%,
    var(--bg-3) 100%
  );

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

  overflow: hidden;

  border-bottom: 1px solid var(--card-border);

  padding: 15px;

  transition: all var(--transition);
}

/* Imagen */

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

/* Efecto al pasar el mouse */

.product-card:hover .product-visual img {
  transform: scale(1.08);
}

.product-card:hover .product-visual {
  background: linear-gradient(
    135deg,
    rgba(57, 255, 20, 0.12) 0%,
    var(--bg-3) 100%
  );
}

/* ==============================
  INFORMACIÓN
   ============================== */

.product-info {
  padding: 24px;
  flex: 1;

  display: flex;
  flex-direction: column;
}

/* Categoría */

.product-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}

/* Nombre */

.product-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
  flex: 1;
  margin-bottom: 20px;
}

/* Descripción */

.product-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

/* ==============================
  PARTE INFERIOR
   ============================== */

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

/* Estrellas */

.product-stars {
  color: var(--green);
  font-size: 0.85rem;
}

/* ==============================
  B<OTÓN DEL PRODUCTO
   ============================== */

.btn-product {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  background: var(--green);
  color: var(--bg);

  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;

  padding: 8px 16px;
  border-radius: 100px;

  transition: all var(--transition);
}

.btn-product:hover {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
  box-shadow: 0 0 16px var(--green-glow);
}

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

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

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

  .product-visual {
    height: 200px;
  }
}

/* ==============================
  METHOD / TIMELINE
   ============================== */
.method {
  background: var(--bg-2);
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: linear-gradient(
    to bottom,
    var(--green-dark),
    rgba(57, 255, 20, 0.1)
  );
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
  position: relative;
}

.timeline-item:nth-child(even) .timeline-number {
  order: 2;
  text-align: left;
}

.timeline-item:nth-child(even) .timeline-content {
  order: 1;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content .timeline-icon {
  margin-left: auto;
}

.timeline-number {
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(57, 255, 20, 0.08);
  line-height: 1;
  text-align: right;
  letter-spacing: 0;
  transition: color var(--transition);
}

.timeline-item:hover .timeline-number {
  color: rgba(57, 255, 20, 0.18);
}

.timeline-content {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}

.timeline-content:hover {
  border-color: rgba(57, 255, 20, 0.3);
  box-shadow: 0 8px 32px rgba(57, 255, 20, 0.08);
}

.timeline-icon {
  width: 44px;
  height: 44px;
  background: rgba(57, 255, 20, 0.1);
  border: 1px solid rgba(57, 255, 20, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--green);
  margin-bottom: 14px;
}

.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
}

/* ==============================
  TESTIMONIALS
   ============================== */
.testimonials {
  overflow: hidden;
}

.slider-wrapper {
  position: relative;
}

.slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(57, 255, 20, 0.25);
  box-shadow: 0 8px 32px rgba(57, 255, 20, 0.08);
}

.t-stars {
  color: var(--green);
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: flex;
  gap: 3px;
}

.t-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-avatar {
  width: 44px;
  height: 44px;
  background: rgba(57, 255, 20, 0.1);
  border: 1px solid rgba(57, 255, 20, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--green);
  flex-shrink: 0;
}

.t-author strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}

.t-author span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text);
  transition: all var(--transition);
}

.slider-btn:hover {
  background: rgba(57, 255, 20, 0.1);
  border-color: var(--green);
  color: var(--green);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--card-border);
  cursor: pointer;
  transition: all var(--transition);
}

.dot.active {
  background: var(--green);
  box-shadow: 0 0 8px var(--green-glow);
  width: 24px;
  border-radius: 4px;
}

/* ==============================
  CONTACT
   ============================== */
.contact {
  background: var(--bg-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form-wrap {
  position: relative;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  outline: none;
  transition: all var(--transition);
  resize: none;
}

.form-group select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%2339ff14'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-group select option {
  background: var(--bg-2);
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.08);
  background: rgba(57, 255, 20, 0.03);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-600);
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 60px 32px;
  background: rgba(57, 255, 20, 0.04);
  border: 1px solid rgba(57, 255, 20, 0.2);
  border-radius: var(--radius-lg);
}

.form-success i {
  font-size: 3rem;
  color: var(--green);
}

.form-success p {
  color: var(--white);
  font-size: 1rem;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--card-border);
}

.social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.social-link > .ri-arrow-right-line {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 1rem;
  transition: transform var(--transition);
}

.social-link:hover > .ri-arrow-right-line {
  transform: translateX(4px);
}

.social-link--wa:hover {
  border-color: #25d366;
  background: rgba(37, 211, 102, 0.05);
}
.social-link--ig:hover {
  border-color: #e1306c;
  background: rgba(225, 48, 108, 0.05);
}
.social-link--fb:hover {
  border-color: #1877f2;
  background: rgba(24, 119, 242, 0.05);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.social-link--wa .social-icon {
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
}
.social-link--ig .social-icon {
  background: rgba(225, 48, 108, 0.12);
  color: #e1306c;
}
.social-link--fb .social-icon {
  background: rgba(24, 119, 242, 0.12);
  color: #1877f2;
}

.social-link strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
}

.social-link span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.contact-location {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  margin-top: 4px;
}

.contact-location > i {
  font-size: 1.4rem;
  color: var(--green);
  flex-shrink: 0;
}

.contact-location strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
}

.contact-location span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==============================
  FOOTER
   ============================== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--card-border);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}

.footer-orb {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(
    ellipse,
    rgba(57, 255, 20, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: all var(--transition);
}

.footer-socials a:hover {
  background: rgba(57, 255, 20, 0.1);
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-3px);
}

.footer-links h4,
.footer-cta h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--green);
}

.footer-cta p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==============================
   FLOATING WHATSAPP
   ============================== */
.fab-wa {
  position: fixed;
  bottom: 60px;
  right: 48px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
  animation: fabBounce 3s ease-in-out infinite 2s;
}

.fab-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.6);
}

@keyframes fabBounce {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  .services-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-visual {
    max-width: 400px;
    margin: 0 auto;
  }
  .about-badge-card {
    right: -12px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }

  .testimonial-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }

  .timeline::before {
    left: 32px;
  }
  .timeline-item {
    grid-template-columns: 60px 1fr;
    gap: 20px;
  }
  .timeline-item:nth-child(even) .timeline-number {
    order: unset;
    text-align: right;
  }
  .timeline-item:nth-child(even) .timeline-content {
    order: unset;
    text-align: left;
  }
  .timeline-item:nth-child(even) .timeline-content .timeline-icon {
    margin-left: 0;
  }
  .timeline-number {
    font-size: 3.5rem;
    text-align: right;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  /* Navbar */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 11, 8, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.96);
    transition: all var(--transition);
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 12px 24px;
  }

  .btn-nav-cta {
    margin-left: 0;
    margin-top: 8px;
    padding: 12px 28px;
    font-size: 1rem;
  }

  /* Hero */
  .hero-stats {
    gap: 20px;
    padding: 18px 24px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  /* Grids */
  .services-grid,
  .products-grid,
  .gyms-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .testimonial-card {
    flex: 0 0 85vw;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .timeline::before {
    display: none;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .timeline-number {
    font-size: 2.5rem;
    text-align: left !important;
    order: unset !important;
  }
  .timeline-content {
    order: unset !important;
    text-align: left !important;
  }
  .timeline-content .timeline-icon {
    margin-left: 0 !important;
  }

  .about-badge-card {
    position: static;
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
  .stat-divider {
    display: none;
  }
}

.nav-link.active {
  color: var(--green);
  font-weight: 700;
}

.nav-link.active::after {
  width: 100%;
}
.form-buttons {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

.form-buttons .btn {
  flex: none;
  width: 220px; /* opcional */
}
.about-video {
  width: 100%;
  border-radius: 30px;
  overflow: hidden;
}

.about-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 30px;
}
/* =========================================================
   MODAL DE SERVICIOS
   ========================================================= */

.service-card {
  cursor: pointer;
}


/* Fondo */

.service-modal {
  position: fixed;

  inset: 0;

  display: none;

  align-items: center;
  justify-content: center;

  padding: 25px;

  background: rgba(0, 0, 0, 0.78);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  z-index: 9999;

  opacity: 0;

  transition: opacity 0.3s ease;
}


/* Modal activo */

.service-modal.active {
  display: flex;

  opacity: 1;
}


/* Caja */

.service-modal-content {
  position: relative;

  width: min(750px, 100%);

  max-height: 90vh;

  overflow-y: auto;

  padding: 45px;

  background: #111;

  border: 1px solid rgba(57, 255, 20, 0.35);

  border-radius: 20px;

  box-shadow:
    0 0 30px rgba(57, 255, 20, 0.12),
    0 20px 80px rgba(0, 0, 0, 0.7);

  transform: translateY(20px) scale(0.96);

  transition: transform 0.3s ease;
}


/* Animación */

.service-modal.active .service-modal-content {
  transform: translateY(0) scale(1);
}


/* Icono */

.service-modal-icon {
  width: 70px;

  height: 70px;

  display: flex;

  align-items: center;
  justify-content: center;

  margin-bottom: 20px;

  border-radius: 18px;

  background: rgba(57, 255, 20, 0.08);

  border: 1px solid rgba(57, 255, 20, 0.3);
}


.service-modal-icon i {
  color: #39ff14;

  font-size: 35px;
}


/* Categoría */

.service-modal-tag {
  display: inline-block;

  margin-bottom: 12px;

  padding: 6px 12px;

  border: 1px solid #39ff14;

  border-radius: 50px;

  color: #39ff14;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 1px;
}


/* Título */

.service-modal-info h2 {
  margin: 0 0 15px;

  color: #fff;

  font-size: 32px;

  line-height: 1.2;
}


/* Descripción */

.service-modal-info > p {
  margin-bottom: 25px;

  color: #bdbdbd;

  font-size: 15px;

  line-height: 1.7;
}


/* Cajas de información */

.service-modal-box {
  margin-bottom: 15px;

  padding: 18px;

  background: rgba(255, 255, 255, 0.04);

  border-left: 3px solid #39ff14;

  border-radius: 12px;
}


.service-modal-box h4 {
  margin: 0 0 8px;

  color: #fff;

  font-size: 15px;
}


.service-modal-box h4 i {
  margin-right: 6px;

  color: #39ff14;
}


.service-modal-box p {
  margin: 0;

  color: #aaa;

  font-size: 14px;

  line-height: 1.6;
}


/* Botón */

.service-modal-button {
  width: 100%;

  margin-top: 10px;

  padding: 14px 20px;

  border: none;

  border-radius: 10px;

  background: #39ff14;

  color: #000;

  font-size: 14px;

  font-weight: 700;

  cursor: pointer;

  transition: 0.3s ease;
}


.service-modal-button:hover {
  transform: translateY(-2px);

  box-shadow: 0 0 20px rgba(57, 255, 20, 0.35);
}


.service-modal-button i {
  margin-right: 6px;
}


/* Botón cerrar */

.service-modal-close {
  position: absolute;

  top: 15px;
  right: 15px;

  width: 42px;
  height: 42px;

  display: flex;

  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.15);

  border-radius: 50%;

  background: rgba(0, 0, 0, 0.7);

  color: #fff;

  font-size: 22px;

  cursor: pointer;

  transition: 0.3s ease;
}


.service-modal-close:hover {
  background: #39ff14;

  color: #000;

  transform: rotate(90deg);
}


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

@media (max-width: 600px) {

  .service-modal {
    padding: 15px;
  }

  .service-modal-content {
    padding: 30px 22px;

    max-height: 92vh;
  }

  .service-modal-info h2 {
    font-size: 25px;
  }

}
/* =========================================================
   MODAL DE PRODUCTOS
   ========================================================= */

.product-card {
  cursor: pointer;
}


/* Fondo oscuro del modal */

.product-modal {
  position: fixed;
  inset: 0;

  display: none;

  align-items: center;
  justify-content: center;

  padding: 25px;

  background: rgba(0, 0, 0, 0.75);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  z-index: 9999;

  opacity: 0;
  transition: opacity 0.3s ease;
}


/* Modal visible */

.product-modal.active {
  display: flex;
  opacity: 1;
}


/* Caja principal */

.product-modal-content {
  position: relative;

  width: min(900px, 100%);

  max-height: 90vh;

  display: grid;
  grid-template-columns: 1fr 1fr;

  overflow: hidden;

  background: #111;

  border: 1px solid rgba(57, 255, 20, 0.35);

  border-radius: 20px;

  box-shadow:
    0 0 30px rgba(57, 255, 20, 0.15),
    0 20px 80px rgba(0, 0, 0, 0.7);

  transform: translateY(20px) scale(0.96);

  transition: transform 0.3s ease;
}


/* Animación al abrir */

.product-modal.active .product-modal-content {
  transform: translateY(0) scale(1);
}


/* Imagen */

.product-modal-image {
  min-height: 450px;

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

  padding: 40px;

  background: #0b0b0b;
}


.product-modal-image img {
  width: 100%;
  height: 100%;

  max-height: 400px;

  object-fit: contain;

  transition: transform 0.3s ease;
}


.product-modal-image img:hover {
  transform: scale(1.05);
}


/* Información */

.product-modal-info {
  padding: 45px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* Categoría */

.product-modal-category {
  display: inline-block;

  width: fit-content;

  margin-bottom: 12px;

  padding: 6px 12px;

  border: 1px solid #39ff14;

  border-radius: 50px;

  color: #39ff14;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 1px;
}


/* Título */

.product-modal-info h2 {
  margin: 0 0 15px;

  color: #fff;

  font-size: 32px;

  line-height: 1.2;
}


/* Descripción */

.product-modal-info > p {
  margin-bottom: 25px;

  color: #bdbdbd;

  font-size: 15px;

  line-height: 1.7;
}


/* Uso */

.product-modal-use {
  margin-bottom: 25px;

  padding: 18px;

  border-radius: 12px;

  background: rgba(255, 255, 255, 0.04);

  border-left: 3px solid #39ff14;
}


.product-modal-use h4 {
  margin: 0 0 8px;

  color: #fff;

  font-size: 15px;
}


.product-modal-use h4 i {
  margin-right: 6px;

  color: #39ff14;
}


.product-modal-use p {
  margin: 0;

  color: #aaa;

  font-size: 14px;

  line-height: 1.6;
}


/* Precio */

.product-modal-price {
  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-bottom: 25px;

  padding-top: 15px;

  border-top: 1px solid rgba(255, 255, 255, 0.1);
}


.product-modal-price span {
  color: #999;

  font-size: 14px;
}


.product-modal-price strong {
  color: #39ff14;

  font-size: 28px;

  font-weight: 800;
}


/* Botón */

.product-modal-button {
  width: 100%;

  padding: 14px 20px;

  border: none;

  border-radius: 10px;

  background: #39ff14;

  color: #000;

  font-size: 14px;

  font-weight: 700;

  cursor: pointer;

  transition: 0.3s ease;
}


.product-modal-button:hover {
  transform: translateY(-2px);

  box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
}


.product-modal-button i {
  margin-right: 6px;
}


/* Botón cerrar */

.product-modal-close {
  position: absolute;

  top: 15px;
  right: 15px;

  z-index: 10;

  width: 42px;
  height: 42px;

  display: flex;

  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.15);

  border-radius: 50%;

  background: rgba(0, 0, 0, 0.7);

  color: #fff;

  font-size: 22px;

  cursor: pointer;

  transition: 0.3s ease;
}


.product-modal-close:hover {
  background: #39ff14;

  color: #000;

  transform: rotate(90deg);
}


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

@media (max-width: 768px) {

  .product-modal {
    padding: 15px;
  }

  .product-modal-content {
    grid-template-columns: 1fr;

    max-height: 92vh;

    overflow-y: auto;
  }

  .product-modal-image {
    min-height: 250px;

    padding: 25px;
  }

  .product-modal-image img {
    max-height: 230px;
  }

  .product-modal-info {
    padding: 25px;
  }

  .product-modal-info h2 {
    font-size: 25px;
  }

}
