/* =========================================================
   Bodyfitness Gym — Landing (maqueta)
   Paleta tomada del logo: rojo, amarillo y negro
   ========================================================= */
:root {
  --red: #e1251b;
  --red-dark: #b81a12;
  --yellow: #ffc20e;
  --yellow-soft: #ffe27a;
  --black: #0b0b0d;
  --ink: #141418;
  --ink-2: #1c1c22;
  --line-dark: rgba(255, 255, 255, 0.1);
  --text-dark: #15151a;
  --muted-dark: #5d5d68;
  --muted-light: #a9a9b4;
  --light: #ffffff;
  --soft: #f5f3ee;
  --line-light: #e7e4dc;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.35);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: "Anton", "Plus Jakarta Sans", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

/* ---------- Tipografía utilitaria ---------- */
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light);
  background: var(--red);
  transform: skewX(-12deg);
  margin-bottom: 20px;
}
.eyebrow--dark { background: var(--black); color: var(--yellow); }

.accent { color: var(--yellow); }
.accent-red { color: var(--red); }

.section { padding: 110px 0; position: relative; }
.section--light { background: var(--light); color: var(--text-dark); }
.section--soft { background: var(--soft); color: var(--text-dark); }
.section--dark { background: var(--ink); }
.section--glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(225, 37, 27, 0.22), transparent 70%),
    radial-gradient(500px 360px at 10% 90%, rgba(255, 194, 14, 0.1), transparent 70%);
  pointer-events: none;
}
.section--glow > * { position: relative; }

.section__head { max-width: 680px; margin-bottom: 56px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 3.9rem);
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
.section__lead { font-size: 1.05rem; color: var(--muted-dark); max-width: 520px; }
.section--dark .section__lead,
.cta .section__lead { color: var(--muted-light); }
.section__head--center .section__lead { margin-inline: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--yellow); color: var(--black); box-shadow: 0 10px 30px -10px rgba(255, 194, 14, 0.7); }
.btn--primary:hover { background: var(--yellow-soft); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, 0.25); color: var(--light); }
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn--outline { border: 1px solid var(--line-dark); color: var(--light); background: rgba(255, 255, 255, 0.04); }
.btn--outline:hover { border-color: var(--yellow); color: var(--yellow); }
.btn--dark { background: var(--black); color: var(--light); }
.btn--dark:hover { background: var(--red); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 18px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.header.is-scrolled {
  background: rgba(11, 11, 13, 0.88);
  backdrop-filter: blur(14px);
  padding: 10px 0;
  box-shadow: 0 1px 0 var(--line-dark);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 2px var(--yellow); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 1.05rem; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; }
.brand__text small { font-size: 0.68rem; color: var(--muted-light); letter-spacing: 0.14em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 30px; font-size: 0.92rem; font-weight: 600; }
.nav a:not(.btn) { color: #d6d6dd; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--yellow); transition: width 0.25s ease;
}
.nav a:not(.btn):hover { color: var(--light); }
.nav a:not(.btn):hover::after { width: 100%; }
.nav__cta { padding: 11px 20px; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-dark); flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-toggle span { width: 20px; height: 2px; background: var(--light); transition: transform 0.3s ease, opacity 0.3s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; padding: 150px 0 0; display: flex; flex-direction: column; overflow-x: clip; overflow-y: visible; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 13, 0.55) 0%, rgba(11, 11, 13, 0.92) 70%, var(--black) 100%),
    url("assets/gym-1.jpg") center 30%/cover no-repeat;
  filter: saturate(0.7) blur(2px);
  transform: scale(1.05);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 500px at 80% 30%, rgba(225, 37, 27, 0.35), transparent 70%);
}
.hero__inner { position: relative; flex: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; padding-bottom: 80px; }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 6.2rem);
  line-height: 0.95;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}
.hero__title .accent { display: block; }
.hero__lead { font-size: 1.1rem; color: #c9c9d2; max-width: 540px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero__actions--center { justify-content: center; margin-bottom: 0; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 28px; padding-top: 26px; border-top: 1px solid var(--line-dark); max-width: 540px; }
.hero__stats dt { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--yellow); }
.hero__stats dd { font-size: 0.8rem; color: var(--muted-light); margin-top: 4px; }

.hero__visual { position: relative; height: 560px; }
.hero__photo {
  position: absolute; right: 0; top: 0; width: 72%; height: 88%;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line-dark);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--sm { left: 0; right: auto; top: auto; bottom: 0; width: 46%; height: 52%; border: 4px solid var(--black); transform: rotate(-4deg); }
.hero__badge {
  position: absolute; left: 4%; top: 36px;
  display: flex; align-items: center; gap: 12px;
  background: var(--yellow); color: var(--black);
  padding: 12px 18px 12px 12px; border-radius: 16px; box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}
.hero__badge img { width: 46px; height: 46px; border-radius: 50%; }
.hero__badge strong { display: block; font-size: 1.3rem; line-height: 1; font-weight: 800; }
.hero__badge span { font-size: 0.75rem; font-weight: 600; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Marquee */
.marquee { position: relative; z-index: 5; background: var(--red); transform: rotate(-1.2deg); margin: 0 -6vw -10px; padding: 14px 0; overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; margin-right: 32px; }
.marquee__track span:nth-child(even) { color: var(--yellow); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: start; }
.split__intro { position: sticky; top: 120px; }

/* ---------- Features ---------- */
/* Franja blanca con borde superior inclinado y listado en filas */
.about {
  position: relative; overflow: hidden;
  background: var(--light); color: var(--black);
  padding: calc(110px + 4vw) 0 110px;
  margin-top: -4vw;
  clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%);
}
.about__watermark {
  position: absolute; right: -2vw; bottom: -4vw;
  font-family: var(--font-display); font-size: clamp(5rem, 15vw, 14rem); line-height: 1;
  color: var(--black); opacity: 0.04; pointer-events: none; user-select: none;
}
.about .container { position: relative; }
.about__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 50px; }
.about__head .section__title { margin-bottom: 0; }
.about__lead { max-width: 380px; font-size: 1.05rem; font-weight: 600; }
.text-outline { color: transparent; -webkit-text-stroke: 2px var(--black); }

.about__list { border-top: 3px solid var(--black); }
.about__row {
  display: grid; grid-template-columns: 64px 1fr 1.2fr; align-items: center; gap: 28px;
  padding: 26px 20px; border-bottom: 3px solid var(--black);
  transition: background 0.3s ease, color 0.3s ease, padding 0.3s ease;
}
.about__row:hover { background: var(--black); color: var(--yellow); padding-left: 34px; }
.about__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--black); transition: background 0.3s ease; }
.about__icon svg { width: 26px; height: 26px; fill: var(--yellow); transition: fill 0.3s ease; }
.about__row:hover .about__icon { background: var(--red); }
.about__row:hover .about__icon svg { fill: var(--light); }
.about__row h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1; text-transform: uppercase; }
.about__row p { font-size: 1rem; font-weight: 500; }
.about__row:hover p { color: var(--light); }

/* ---------- Galería ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: start; }
.gallery__item { position: relative; border-radius: var(--radius); overflow: hidden; background: #ddd; aspect-ratio: 4 / 3; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(11, 11, 13, 0.85));
  font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; color: var(--light);
}

/* ---------- Planes ---------- */
.toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 30px; padding: 5px; border-radius: 999px; background: var(--ink-2); border: 1px solid var(--line-dark); }
.toggle__btn { position: relative; z-index: 1; padding: 10px 28px; font-weight: 700; font-size: 0.9rem; color: var(--muted-light); transition: color 0.3s ease; }
.toggle__btn.is-active { color: var(--black); }
.toggle__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--yellow); transition: transform 0.35s cubic-bezier(.6,.05,.3,1); }
.toggle[data-active="estudiante"] .toggle__pill { transform: translateX(100%); }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 26px; border-radius: var(--radius);
  background: var(--ink-2); border: 1px solid var(--line-dark);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.plan:hover { transform: translateY(-6px); border-color: rgba(255, 194, 14, 0.4); }
.plan--featured { background: linear-gradient(160deg, var(--red) 0%, var(--red-dark) 100%); border-color: transparent; }
.plan--featured .plan__list li::before { background: var(--yellow); }
.plan--featured .plan__period { color: rgba(255, 255, 255, 0.75); }
.plan__tag { position: absolute; top: -12px; right: 20px; background: var(--yellow); color: var(--black); font-size: 0.72rem; font-weight: 800; padding: 6px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em; }
.plan__name { font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; color: var(--yellow); }
.plan--featured .plan__name { color: var(--light); }
.plan__price { font-family: var(--font-display); font-size: 3rem; line-height: 1.1; margin-top: 14px; }
.plan__price::before { content: "$"; font-size: 1.6rem; vertical-align: top; margin-right: 2px; }
.plan__price span { display: inline-block; transition: opacity 0.2s ease, transform 0.2s ease; }
.plan__price span.is-changing { opacity: 0; transform: translateY(8px); }
.plan__period { color: var(--muted-light); font-size: 0.88rem; margin-bottom: 14px; }
.plan__save { align-self: flex-start; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--yellow); background: rgba(255, 194, 14, 0.12); padding: 5px 10px; border-radius: 6px; margin-bottom: 20px; }
.plan--featured .plan__save { color: var(--black); background: var(--yellow); }
.plan__list { display: grid; gap: 10px; margin-bottom: 28px; flex: 1; font-size: 0.92rem; }
.plan__list li { display: flex; align-items: center; gap: 10px; }
.plan__list li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--red); transform: rotate(45deg); flex-shrink: 0; }
.plans__note { text-align: center; margin-top: 28px; color: var(--muted-light); font-size: 0.85rem; }

/* ---------- Empieza esta semana ---------- */
.start { background: var(--red); padding: 60px 0; }
.start__title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; line-height: 1; margin-bottom: 34px; }
.start__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
.start__list li { display: flex; gap: 16px; align-items: flex-start; }
.start__icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); }
.start__icon svg { width: 24px; height: 24px; fill: var(--black); }
.start__list h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 4px; }
.start__list p { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }

/* ---------- Reseñas ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { display: flex; flex-direction: column; gap: 18px; padding: 30px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line-light); }
.review:nth-child(2) { background: var(--black); color: var(--light); border-color: var(--black); }
.review__stars { color: var(--yellow); font-size: 1.15rem; letter-spacing: 3px; }
.review blockquote { font-size: 1.08rem; font-weight: 600; line-height: 1.5; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-size: 0.88rem; font-weight: 600; color: var(--muted-dark); }
.review:nth-child(2) figcaption { color: var(--muted-light); }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: var(--light); font-weight: 800; }

/* ---------- Equipo ---------- */
.team { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: center; }
.team__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line-dark); max-width: 460px; }
.team__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.team__tag { position: absolute; left: 18px; bottom: 18px; background: var(--yellow); color: var(--black); font-weight: 800; font-size: 0.8rem; text-transform: uppercase; padding: 8px 14px; border-radius: 8px; }
.checklist { display: grid; gap: 14px; margin-top: 30px; }
.checklist li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.checklist li::before { content: "✓"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: var(--light); font-size: 0.85rem; font-weight: 800; }

/* ---------- Sedes ---------- */
.locations { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: stretch; }
.sede-tabs { display: grid; gap: 12px; margin: 26px 0; }
.sede-tab { display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 18px 22px; border-radius: 14px; border: 1px solid var(--line-light); transition: border-color 0.2s ease, background 0.2s ease; }
.sede-tab strong { font-size: 1.05rem; }
.sede-tab span { color: var(--muted-dark); font-size: 0.92rem; }
.sede-tab.is-active { border-color: var(--red); background: #fff6f5; box-shadow: inset 4px 0 0 var(--red); }
.contact-list { display: grid; gap: 10px; margin-bottom: 28px; }
.contact-list li { display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px dashed var(--line-light); }
.contact-list span { color: var(--muted-dark); }
.contact-list a { font-weight: 700; }
.contact-list a:hover { color: var(--red); }
.locations__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.locations__map { border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; box-shadow: var(--shadow); }
.locations__map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; filter: grayscale(0.2) contrast(1.05); }

/* ---------- FAQ ---------- */
.split__intro .btn { margin-top: 28px; }
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--light); border: 1px solid var(--line-light); border-radius: 16px; transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.faq__item[open] { border-color: var(--red); box-shadow: 0 14px 30px -18px rgba(225, 37, 27, 0.45); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 24px; font-size: 1.05rem; font-weight: 700; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: inherit; font-weight: inherit; line-height: 1.35; }
.faq__item strong { color: var(--text-dark); }
/* Marcador de datos pendientes: eliminar cuando el cliente entregue la info */
.faq__item summary::after {
  content: "+"; flex-shrink: 0; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--soft); color: var(--red); font-size: 1.3rem; font-weight: 600; line-height: 1;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--yellow); color: var(--black); }
.faq__item summary:hover { color: var(--red); }
.faq__item p { padding: 0 24px 22px; color: var(--muted-dark); animation: faqIn 0.35s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- CTA ---------- */
.cta {
  position: relative; padding: 120px 0; text-align: center; overflow: hidden;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(255, 194, 14, 0.18), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, var(--black) 100%);
}
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__inner .section__lead { margin: 0 auto 34px; }
.cta__logo { width: 110px; height: 110px; border-radius: 50%; margin-bottom: 26px; box-shadow: 0 0 0 4px var(--yellow), 0 0 60px rgba(225, 37, 27, 0.6); }
.cta__title { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1; font-weight: 400; text-transform: uppercase; max-width: 820px; margin-bottom: 18px; }

/* ---------- Footer ---------- */
.footer { background: var(--black); border-top: 1px solid var(--line-dark); padding: 40px 0; }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.brand--footer .brand__logo { width: 44px; height: 44px; }
.brand--footer small { letter-spacing: 0.04em; text-transform: none; }
.footer__links { display: flex; gap: 24px; font-size: 0.9rem; color: var(--muted-light); }
.footer__links a:hover { color: var(--yellow); }
.footer__copy { grid-column: 1 / -1; font-size: 0.82rem; color: #6f6f7a; padding-top: 20px; border-top: 1px solid var(--line-dark); }

/* ---------- Botones flotantes ---------- */
.floating { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.fab {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%; color: #fff;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 28px; height: 28px; fill: currentColor; }
.fab--wa { background: #25d366; }
.fab--wa::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1;
  animation: pulse 2s ease-out infinite;
}
.fab--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); width: 50px; height: 50px; }
.fab--ig svg { width: 22px; height: 22px; }
.fab__label {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%);
  background: var(--light); color: var(--black); font-size: 0.8rem; font-weight: 700;
  padding: 6px 12px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.fab:hover .fab__label { opacity: 1; transform: translate(0, -50%); }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.hero__visual.reveal.is-visible { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .about__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .about__row { grid-template-columns: 56px 1fr; gap: 6px 20px; }
  .about__row p { grid-column: 2; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { height: 460px; max-width: 520px; width: 100%; margin-inline: auto; }
}

@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .menu-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0 0 auto; top: 0; padding: 100px 24px 30px;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: rgba(11, 11, 13, 0.97); backdrop-filter: blur(14px);
    transform: translateY(-100%); transition: transform 0.4s ease; z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav a:not(.btn) { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line-dark); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 14px; }

  .split, .team, .locations { grid-template-columns: 1fr; gap: 40px; }
  .split__intro { position: static; }
  .team__media { margin-inline: auto; }
  .start__list, .reviews { grid-template-columns: 1fr; gap: 20px; }
  .gallery { gap: 12px; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .brand__text small { display: none; }
  .brand__logo { width: 44px; height: 44px; }
  .hero { padding-top: 120px; }
  .hero__actions .btn { flex: 1; }
  .hero__visual { height: 380px; }
  .hero__badge { left: 0; top: 10px; }
  .plans { grid-template-columns: 1fr; }
  .about { padding: calc(80px + 4vw) 0 80px; }
  .about__row { grid-template-columns: 44px 1fr; padding: 22px 6px; }
  .about__row:hover { padding-left: 14px; }
  .about__icon { width: 44px; height: 44px; }
  .about__icon svg { width: 20px; height: 20px; }
  .hero__stats { gap: 20px; }
  .gallery { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { flex-wrap: wrap; gap: 16px; }
  .fab { width: 54px; height: 54px; }
  .fab--ig { width: 46px; height: 46px; }
  .fab__label { display: none; }
}

/* ============ LEGAL ============ */
.footer__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.82rem; color: var(--muted-light); }
.footer__legal a:hover { color: var(--yellow); }
.legal-header { background: var(--black); border-bottom: 1px solid var(--line-dark); padding: 16px 0; }
.legal-header .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.legal-header .back { color: var(--yellow); font-weight: 600; font-size: 0.9rem; }
.legal { background: var(--soft); color: var(--text-dark); padding: 64px 0 80px; }
.legal__body { width: min(780px, 100% - 40px); margin-inline: auto; line-height: 1.7; }
.legal__body h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); text-transform: uppercase; margin-bottom: 8px; }
.legal__body h2 { font-size: 1.2rem; margin: 32px 0 8px; }
.legal__body p, .legal__body li { color: var(--muted-dark); }
.legal__body ul { padding-left: 20px; list-style: disc; margin: 8px 0; }
.legal__body a { color: var(--red); text-decoration: underline; }
.legal__date { font-size: 0.85rem; }
