/* ============================================================
   TheFit — Premium Fitness Club (Dubai, UAE)
   Shared stylesheet — mobile-first, no frameworks
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  /* palette */
  --bg: #f5f7fa;
  --bg-2: #ffffff;
  --bg-3: #eef1f6;
  --surface: #ffffff;
  --surface-2: #f2f5f9;
  --border: rgba(10, 14, 22, 0.1);
  --border-strong: rgba(10, 14, 22, 0.18);
  --text: #0b0f16;
  --muted: #5c6675;
  --accent: #3b82f6;        /* electric blue */
  --accent-2: #00d4ff;      /* electric cyan */
  --accent-soft: rgba(59, 130, 246, 0.1);
  --accent-glow: rgba(59, 130, 246, 0.3);
  --red: #ff2e4d;           /* energetic red (secondary accent) */
  --red-soft: rgba(255, 46, 77, 0.09);
  --grad: linear-gradient(92deg, var(--accent) 0%, var(--accent-2) 100%);
  --grad-red: linear-gradient(92deg, var(--red) 0%, #ff6a3d 100%);

  /* type */
  --font-display: "Anton", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* shape & motion */
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --nav-h: 74px;
  --shadow-lg: 0 24px 60px rgba(20, 30, 50, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 0.55s;
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

img, svg, video { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; letter-spacing: 0.015em; text-transform: uppercase; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Skip link (a11y) */
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--accent); color: #fff; padding: 0.7rem 1.1rem;
  border-radius: 0 0 10px 10px; font-weight: 700; font-size: 0.9rem;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- 3. Layout utilities ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }

.section { padding-block: clamp(64px, 9vw, 118px); position: relative; }
.section-alt { background: var(--bg-2); }
.section-tight { padding-block: clamp(48px, 6vw, 84px); }

.section-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }

.kicker {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-head.center .kicker::after { content: ""; width: 34px; height: 2px; background: var(--grad); border-radius: 2px; }

.section-title {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  margin-top: 0.7rem;
  letter-spacing: 0.01em;
}
.section-sub { margin-top: 0.9rem; color: var(--muted); font-size: 1.02rem; }

.text-accent {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.text-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--border-strong);
}

/* ---------- 4. Buttons & badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 1rem 2rem; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  will-change: transform;
}
.btn .btn-arrow { width: 18px; height: 18px; flex: none; transition: transform 0.35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(5px); }

.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px var(--accent-glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px var(--accent-glow); }

.btn-outline { border-color: var(--border-strong); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }

.btn-red { background: var(--grad-red); color: #fff; box-shadow: 0 10px 30px rgba(255, 46, 77, 0.35); }
.btn-red:hover { transform: translateY(-3px); box-shadow: 0 16px 42px rgba(255, 46, 77, 0.45); }

.btn-white { background: #fff; color: #0b0f16; }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(255, 255, 255, 0.25); }

.btn-block { width: 100%; }

.btn[disabled], .btn.is-loading { opacity: 0.65; pointer-events: none; }

.btn .spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.35); border-top-color: #fff;
  animation: spin 0.7s linear infinite; display: none;
}
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .btn-label { opacity: 0.8; }

.tag {
  display: inline-block; padding: 0.34rem 0.85rem;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  border-radius: 999px; color: var(--accent);
  background: var(--accent-soft); border: 1px solid rgba(59, 130, 246, 0.35);
}
.tag-red { color: var(--red); background: var(--red-soft); border-color: rgba(255, 46, 77, 0.35); }

/* ---------- 5. Image placeholders ----------
   Manual placeholders, styled as premium tiles. Swap each token for:
   <img src="assets/img/your-file.jpg" alt="..." loading="lazy">
*/
.img-ph {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e6edf7 0%, #cfd9e6 70%);
  color: rgba(10, 14, 22, 0.42);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; text-align: center; line-height: 1.6;
}
.img-ph::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
}
.img-ph::after {
  content: ""; position: absolute; top: 0; right: 0; width: 84px; height: 84px;
  background: linear-gradient(135deg, transparent 50%, var(--accent-glow) 50%);
  opacity: 0.55;
}
.img-ph span { position: relative; z-index: 1; padding: 1.2rem; }
.img-ph .ph-ico { width: 40px; height: 40px; margin: 0 auto 0.7rem; opacity: 0.8; }
.img-ph .ph-ico svg { width: 100%; height: 100%; }
/* Real <img> swaps: when you replace a token with an <img>, it fills the tile */
.img-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }

/* ---------- 6. Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), height 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--border);
}

/* anchor targets clear the sticky header */
[id] { scroll-margin-top: calc(var(--nav-h) + 14px); }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; }

.logo { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-display); font-size: 1.65rem; letter-spacing: 0.03em; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: var(--grad); color: #fff;
  display: grid; place-items: center;
  font-size: 1.35rem;
  box-shadow: 0 6px 18px var(--accent-glow);
}
.logo b { color: var(--accent); font-weight: 400; }

.main-nav { display: flex; align-items: center; gap: 2rem; }

.nav-list { display: flex; align-items: center; gap: 0.4rem; }
.nav-link {
  position: relative; padding: 0.55rem 0.95rem;
  font-weight: 600; font-size: 0.94rem; color: var(--muted);
  transition: color 0.3s var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; left: 0.95rem; right: 100%; bottom: 0.32rem;
  height: 2px; background: var(--grad); border-radius: 2px;
  transition: right 0.35s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { right: 0.95rem; }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-strong); place-items: center; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.3s var(--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); }

/* ---------- 7. Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 60px;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.72) 0%, rgba(5, 7, 10, 0.5) 45%, rgba(5, 7, 10, 0.18) 100%),
    linear-gradient(0deg, rgba(5, 7, 10, 0.55) 0%, rgba(5, 7, 10, 0.08) 45%, rgba(5, 7, 10, 0.22) 100%);
}
.hero-bg .img-ph { position: absolute; inset: 0; }
.hero-bg .img-ph::before, .hero-bg .img-ph::after { display: none; }

.hero-inner { max-width: 780px; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 1.1rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border-strong);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse-dot 1.6s ease-in-out infinite; }

.hero-title {
  margin-top: 1.4rem;
  font-size: clamp(3rem, 10vw, 6.4rem);
  letter-spacing: 0.01em; line-height: 0.98;
  text-transform: uppercase;
}
.hero-title .line { display: block; }
.hero-title .line-2 { color: transparent; -webkit-text-stroke: 2px var(--accent-2); }

.hero-sub { margin-top: 1.5rem; max-width: 560px; color: var(--muted); font-size: 1.08rem; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin-top: 3rem; }
.hero-meta-item { display: flex; align-items: center; gap: 0.7rem; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.hero-meta-item svg { width: 22px; height: 22px; color: var(--accent); flex: none; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--border-strong); border-radius: 999px;
}
.scroll-cue::before {
  content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px;
  margin-left: -2px; border-radius: 4px; background: var(--accent);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

/* ---- Always-dark surfaces (hero, image-label overlays, map overlay).
   These keep a fixed dark backdrop regardless of section, so their
   text uses explicit light colors rather than the --text/--muted tokens. ---- */
.hero-title .line { color: #f4f6f9; }
.hero-title .line-2 { color: transparent; }
.hero .hero-kicker { color: rgba(244, 246, 249, 0.78); border-color: rgba(255, 255, 255, 0.22); }
.hero .hero-sub { color: rgba(244, 246, 249, 0.74); }
.hero .hero-meta-item { color: rgba(244, 246, 249, 0.8); }
.hero .hero-meta-item svg { color: var(--accent-2); }
.hero .btn-outline { color: #f4f6f9; border-color: rgba(255, 255, 255, 0.4); }
.hero .btn-outline:hover { color: var(--accent-2); border-color: var(--accent-2); }
.scroll-cue { border-color: rgba(255, 255, 255, 0.35); }
.facility-label h3 { color: #f4f6f9; }
.facility-label span { color: rgba(244, 246, 249, 0.78); }
.trainer-info h3 { color: #f4f6f9; }
.map-overlay address { color: rgba(244, 246, 249, 0.88); }
.map-overlay address b { color: #ffffff; }
.hero-bg .img-ph {
  background: linear-gradient(135deg, #182236 0%, #0a0e15 70%);
  color: rgba(255, 255, 255, 0.32);
}

/* ---------- 8. Marquee strip ---------- */
.marquee {
  border-block: 1px solid var(--border);
  background: var(--bg-3);
  overflow: hidden;
  padding-block: 1.05rem;
}
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 2.6rem; padding-right: 2.6rem; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 2.6rem;
  font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text); white-space: nowrap;
}
.marquee-item .sep { color: var(--accent); font-size: 1.1rem; }
.marquee-item .sep-r { color: var(--red); font-size: 1.1rem; }

/* ---------- 9. Feature / intro cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }

.feature-card {
  position: relative; padding: 1.9rem 1.7rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), background 0.45s var(--ease);
}
.feature-card::before {
  content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-ico {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  margin-bottom: 1.2rem;
  transition: transform 0.45s var(--ease);
}
.feature-card:hover .feature-ico { transform: scale(1.1) rotate(-6deg); }
.feature-ico svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.15rem; }
.feature-card p { margin-top: 0.5rem; color: var(--muted); font-size: 0.94rem; }

/* ---------- 10. Program cards / slider ---------- */
.program-slider {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px);
  gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 4px 22px;
  scrollbar-width: none;
}
.program-slider::-webkit-scrollbar { display: none; }

.card {
  scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.card:hover { transform: translateY(-8px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }

.card-media { aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.card-media .img-ph { position: absolute; inset: 0; height: 100%; transition: transform 0.8s var(--ease); }
.card:hover .card-media .img-ph { transform: scale(1.08); }
.card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(5, 7, 10, 0.55), transparent 55%);
  pointer-events: none;
}
.card-media .card-tag { position: absolute; top: 14px; left: 14px; z-index: 2; }

.card-body { padding: 1.5rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.card-body h3 { font-size: 1.35rem; }
.card-body p { color: var(--muted); font-size: 0.93rem; }
.card-link { margin-top: auto; padding-top: 0.8rem; display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 800; font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.card-link svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.card-link:hover svg { transform: translateX(5px); }

.card-meta { display: flex; gap: 1rem; font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.card-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.card-meta svg { width: 15px; height: 15px; color: var(--accent); }

/* ---------- 11. Trainers ---------- */
.trainer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }

.trainer {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}
.trainer:hover { transform: translateY(-8px); border-color: var(--accent); }
.trainer-media { aspect-ratio: 3 / 3.6; position: relative; overflow: hidden; }
.trainer-media .img-ph { position: absolute; inset: 0; height: 100%; transition: transform 0.8s var(--ease); }
.trainer:hover .trainer-media .img-ph { transform: scale(1.07); }
.trainer-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(5, 7, 10, 0.85) 0%, transparent 55%);
  pointer-events: none;
}
.trainer-info { position: absolute; inset: auto 0 0 0; padding: 1.4rem; z-index: 2; }
.trainer-info h3 { font-size: 1.3rem; }
.trainer-role { color: var(--accent); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; }

.trainer-social {
  display: flex; gap: 0.5rem; margin-top: 0.9rem;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.45s var(--ease), opacity 0.45s var(--ease), margin 0.45s var(--ease);
}
.trainer:hover .trainer-social, .trainer:focus-within .trainer-social { max-height: 60px; opacity: 1; }
.trainer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.1); border: 1px solid var(--border-strong);
  color: #fff; transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.trainer-social a:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }
.trainer-social svg { width: 16px; height: 16px; }

/* ---------- 12. Facilities ---------- */
.facility-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }

.facility {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; border: 1px solid var(--border);
}
.facility .img-ph { position: absolute; inset: 0; height: 100%; transition: transform 0.8s var(--ease); }
.facility:hover .img-ph { transform: scale(1.08); }
.facility::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(5, 7, 10, 0.82) 0%, rgba(5, 7, 10, 0.15) 60%);
  pointer-events: none;
}
.facility-label { position: absolute; inset: auto 0 0 0; padding: 1.2rem; z-index: 2; }
.facility-label h3 { font-size: 1.15rem; }
.facility-label span { color: var(--muted); font-size: 0.85rem; }

/* ---------- 13. Stats / counters ---------- */
.stats { position: relative; overflow: hidden; background: var(--bg-2); }
.stats::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 80% 20%, var(--accent-soft), transparent 70%);
  pointer-events: none;
}
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.4rem; }
@media (min-width: 760px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat { text-align: center; padding: 1.2rem 0.6rem; }
.stat-num {
  font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1;
  color: var(--text); letter-spacing: 0.01em;
}
.stat-num em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { margin-top: 0.6rem; color: var(--muted); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- 14. Testimonials slider ---------- */
.slider { position: relative; }
.slides { display: block; }

.slide {
  display: none; animation: fade-slide 0.6s var(--ease);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 3rem);
}
.slide.active { display: block; }

.slide-quote { font-size: clamp(1.05rem, 2.4vw, 1.35rem); font-weight: 600; color: var(--text); line-height: 1.5; }
.slide-quote::before { content: "\201C"; display: block; font-family: var(--font-display); font-size: 3.4rem; line-height: 0.6; margin-bottom: 1rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.slide-author { display: flex; align-items: center; gap: 1rem; margin-top: 1.6rem; }
.slide-avatar { width: 52px; height: 52px; border-radius: 50%; flex: none; background: var(--grad); display: grid; place-items: center; color: #fff; font-weight: 800; }
.slide-author b { display: block; }
.slide-author small { color: var(--muted); }

.slider-nav { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.8rem; }
.slider-btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--border-strong); color: var(--text);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.slider-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.slider-btn svg { width: 20px; height: 20px; }
.slider-dots { display: flex; gap: 0.5rem; margin-left: 0.4rem; }
.slider-dots button { width: 9px; height: 9px; border-radius: 99px; background: var(--border-strong); transition: width 0.35s var(--ease), background 0.35s var(--ease); }
.slider-dots button.active { width: 28px; background: var(--grad); }

/* ---------- 15. Transformation / big CTA ---------- */
.transform-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .transform-grid { grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); } }

.transform-media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4 / 3; }
.transform-media .img-ph { position: absolute; inset: 0; height: 100%; }
.transform-badge {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  padding: 0.5rem 1rem; border-radius: 999px;
  background: var(--grad-red); color: #fff;
  font-weight: 800; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(255, 46, 77, 0.4);
}

.result-list { margin-top: 1.6rem; display: grid; gap: 0.9rem; }
.result-item { display: flex; gap: 0.9rem; align-items: flex-start; color: var(--muted); font-size: 0.97rem; }
.result-item svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 2px; }

/* ---------- 16. Page hero (inner pages) ---------- */
.page-hero {
  position: relative; padding: calc(var(--nav-h) + clamp(70px, 12vh, 120px)) 0 clamp(48px, 7vw, 84px);
  text-align: center; isolation: isolate; overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(700px 320px at 85% -10%, var(--accent-soft), transparent 70%),
    radial-gradient(500px 300px at 5% 110%, var(--red-soft), transparent 70%);
}
.page-hero .page-title { font-size: clamp(2.6rem, 7vw, 4.6rem); margin-top: 1rem; }
.breadcrumb { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- 17. Split feature rows (programs) ---------- */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); } .split.flip .split-media { order: 2; } }

.split-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4 / 3; position: relative; }
.split-media .img-ph { position: absolute; inset: 0; height: 100%; transition: transform 0.9s var(--ease); }
.split:hover .split-media .img-ph { transform: scale(1.05); }

.split-body h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-top: 0.6rem; }
.split-body > p { color: var(--muted); margin-top: 1rem; }
.feature-list { margin-top: 1.4rem; display: grid; gap: 0.8rem; }
.feature-list li { display: flex; gap: 0.75rem; align-items: flex-start; font-weight: 600; }
.feature-list svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 2px; }

/* program quick-fact chips */
.facts { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.fact-chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 0.95rem; border: 1px solid var(--border);
  border-radius: 999px; background: var(--surface);
  font-size: 0.8rem; font-weight: 700; color: var(--muted);
}
.fact-chip svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

/* compact program jump cards */
.jump-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.jump-card {
  display: flex; flex-direction: column; gap: 0.4rem;
  padding: 1.4rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.jump-card:hover { transform: translateY(-6px); border-color: var(--accent); background: var(--surface-2); }
.jump-card h3 { font-size: 1.12rem; }
.jump-card p { color: var(--muted); font-size: 0.88rem; }
.jump-card a { margin-top: auto; padding-top: 0.6rem; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 0.4rem; }
.jump-card a svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.jump-card a:hover svg { transform: translateX(4px); }

/* ---------- 18. Pricing ---------- */
.plans-grid { display: grid; gap: 1.5rem; align-items: stretch; }
@media (min-width: 880px) { .plans-grid { grid-template-columns: repeat(3, 1fr); } }

.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 2.2rem 1.9rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.plan:hover { transform: translateY(-8px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }

.plan-ribbon {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  padding: 0.42rem 1.2rem; border-radius: 999px;
  background: var(--grad); color: #fff;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
  box-shadow: 0 8px 22px var(--accent-glow); white-space: nowrap;
}
.plan h3 { font-size: 1.25rem; }
.plan-desc { color: var(--muted); font-size: 0.9rem; margin-top: 0.4rem; }
.plan-price { margin-top: 1.3rem; display: flex; align-items: baseline; gap: 0.35rem; }
.plan-price .cur { font-family: var(--font-body); font-weight: 800; color: var(--accent); font-size: 1.1rem; }
.plan-price .num { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.4rem); line-height: 1; }
.plan-price small { color: var(--muted); font-weight: 600; }

.plan-features { margin: 1.6rem 0 1.8rem; display: grid; gap: 0.7rem; }
.plan-features li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.93rem; color: var(--muted); }
.plan-features svg { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: 3px; }
.plan-features li.off { opacity: 0.45; }
.plan-features li.off svg { color: var(--muted); }
.plan .btn { margin-top: auto; }

.plan-popular {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface) 40%);
  box-shadow: 0 20px 50px var(--accent-glow);
}

/* ---------- 19. Contact ---------- */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; } }

.info-cards { display: grid; gap: 1rem; }
.info-card {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.4rem 1.4rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.info-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.info-ico {
  width: 48px; height: 48px; border-radius: 13px; flex: none;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.info-ico svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 1rem; }
.info-card p { color: var(--muted); font-size: 0.92rem; margin-top: 0.2rem; }
.info-card a.value-link { font-weight: 600; color: var(--text); transition: color 0.3s var(--ease); }
.info-card a.value-link:hover { color: var(--accent); }

/* hours */
.hours-card { padding: 1.8rem 1.6rem; }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.62rem; border-bottom: 1px dashed var(--border); font-size: 0.94rem; }
.hours-row:last-child { border-bottom: 0; }
.hours-row .d { color: var(--muted); font-weight: 600; }
.hours-row .t { font-weight: 700; }
.hours-row .t.now { color: var(--accent); }
.hours-note { margin-top: 1rem; font-size: 0.82rem; color: var(--muted); }

/* ---------- 20. Form ---------- */
.form-shell {
  padding: clamp(1.6rem, 4vw, 2.6rem);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.form-title { font-size: 1.7rem; }
.form-sub { color: var(--muted); font-size: 0.95rem; margin-top: 0.5rem; }

.form-row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .form-row.cols { grid-template-columns: 1fr 1fr; } }

.field { margin-top: 1.15rem; }
.field label { display: block; font-weight: 700; font-size: 0.83rem; letter-spacing: 0.04em; margin-bottom: 0.45rem; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.95rem 1.05rem;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2398a2b3' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.75; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }

.form-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; pointer-events: none; }

.form-status {
  display: none; margin-top: 1.2rem; padding: 0.95rem 1.1rem;
  border-radius: var(--radius-sm); font-weight: 600; font-size: 0.92rem;
  border: 1px solid transparent;
}
.form-status.show { display: flex; gap: 0.6rem; align-items: flex-start; animation: fade-slide 0.4s var(--ease); }
.form-status svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.form-status.success { color: #2fbf71; background: rgba(47, 191, 113, 0.1); border-color: rgba(47, 191, 113, 0.35); }
.form-status.error { color: var(--red); background: var(--red-soft); border-color: rgba(255, 46, 77, 0.35); }
.form-status.loading { color: var(--accent); background: var(--accent-soft); border-color: rgba(59, 130, 246, 0.35); }
.form-status.loading svg { animation: spin 1s linear infinite; }

.consent-note { margin-top: 1.1rem; font-size: 0.8rem; color: var(--muted); display: flex; gap: 0.5rem; align-items: flex-start; }
.consent-note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--accent); }

/* ---------- 21. Map placeholder ---------- */
.map-shell { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-shell .img-ph { aspect-ratio: 16 / 9; }
.map-overlay {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 1.4rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  background: linear-gradient(0deg, rgba(5, 7, 10, 0.9), rgba(5, 7, 10, 0.55) 70%, transparent);
}
.map-overlay address { font-style: normal; color: var(--muted); font-size: 0.9rem; }
.map-overlay address b { color: var(--text); display: block; font-size: 1rem; }

/* ---------- 22. Big CTA banner ---------- */
.cta-banner {
  position: relative; border-radius: 24px; overflow: hidden;
  padding: clamp(2.4rem, 6vw, 4.5rem) clamp(1.6rem, 5vw, 4rem);
  border: 1px solid var(--border);
  background:
    radial-gradient(600px 300px at 90% 10%, var(--accent-soft), transparent 70%),
    radial-gradient(500px 280px at 0% 100%, var(--red-soft), transparent 70%),
    var(--surface);
  text-align: center;
}
.cta-banner h2 { font-size: clamp(2rem, 5.5vw, 3.6rem); max-width: 800px; margin: 0.8rem auto 0; }
.cta-banner p { color: var(--muted); max-width: 560px; margin: 1rem auto 0; }
.cta-banner .hero-cta { justify-content: center; margin-top: 2rem; }

/* ---------- 23. Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding-top: clamp(48px, 6vw, 84px); }
.footer-grid { display: grid; gap: 2.4rem; padding-bottom: 2.6rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

.footer-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 1rem; max-width: 320px; }
.social-row { display: flex; gap: 0.6rem; margin-top: 1.3rem; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--border-strong); color: var(--muted);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.social-row a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-3px); }
.social-row svg { width: 18px; height: 18px; }

.footer-col h3 { font-size: 1rem; letter-spacing: 0.12em; margin-bottom: 1.1rem; }
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a { color: var(--muted); font-size: 0.93rem; transition: color 0.3s var(--ease), padding-left 0.3s var(--ease); }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }

.footer-contact li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--muted); font-size: 0.93rem; margin-bottom: 0.85rem; }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: 3px; }
.footer-contact a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border); padding-block: 1.3rem;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  color: var(--muted); font-size: 0.85rem;
}
.footer-bottom a:hover { color: var(--accent); }

/* ---------- 24. Floating buttons ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad); color: #fff;
  box-shadow: 0 12px 30px var(--accent-glow);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }
.to-top svg { width: 20px; height: 20px; }

.whatsapp-float {
  position: fixed; left: 20px; bottom: 20px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: #22c15e; color: #fff;
  box-shadow: 0 12px 30px rgba(34, 193, 94, 0.45);
  transition: transform 0.35s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 26px; height: 26px; }

/* ---------- 25. Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease); transition-delay: var(--d, 0ms); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-zoom { transform: scale(0.92); }
.reveal.visible { opacity: 1; transform: none; }

/* hero load-in */
.hero-inner > * { opacity: 0; animation: hero-in 0.9s var(--ease) forwards; }
.hero-inner > *:nth-child(1) { animation-delay: 0.1s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.22s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.34s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.46s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.58s; }
.hero-bg { opacity: 0; animation: hero-bg-in 1.6s var(--ease) 0.15s forwards; }

/* ---------- 26. Keyframes ---------- */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.8); } }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes hero-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-bg-in { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
@keyframes fade-slide { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- 27. Responsive ---------- */
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }

  .main-nav {
    position: fixed; top: var(--nav-h); right: 0; left: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0.4rem;
    padding: 1.4rem 1.2rem 1.8rem;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-16px); opacity: 0; visibility: hidden;
    transition: transform 0.4s var(--ease), opacity 0.4s var(--ease), visibility 0.4s;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .nav-link { display: block; padding: 0.85rem 0.6rem; font-size: 1.05rem; }
  .nav-link::after { display: none; }
  .main-nav .btn { margin-top: 1rem; }
}

@media (max-width: 560px) {
  .hero-meta { gap: 1rem; }
  .program-slider { grid-auto-columns: 82%; }
}

/* ---------- 28. Accessibility / reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; scroll-behavior: auto !important; }
  .reveal, .hero-inner > *, .hero-bg { opacity: 1; transform: none; }
  .marquee-track { animation: none; width: 100%; justify-content: center; flex-wrap: wrap; }
}
