/* ============================================
   CAVE GYM — Dark Forge Cinema
   Premium Fitness Website
   ============================================ */

:root {
  --black: #060606;
  --black-2: #0c0c0c;
  --black-3: #131313;
  --black-4: #1a1a1a;
  --black-5: #222;
  --red: #DC2626;
  --red-dark: #991B1B;
  --red-glow: rgba(220, 38, 38, 0.35);
  --white: #fff;
  --gray: #999;
  --gray-dark: #555;
  --gray-light: #ccc;
  --border: rgba(255,255,255,0.06);

  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Outfit', sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--gray);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* Show default cursor on touch devices */
@media (hover: none) {
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none !important; }
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--sm { max-width: 800px; }


/* ===== CUSTOM CURSOR ===== */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}

.cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(220, 38, 38, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease), height 0.4s var(--ease), border-color 0.3s;
}

body.cursor-hover .cursor {
  width: 16px;
  height: 16px;
  background: var(--white);
  mix-blend-mode: difference;
}

body.cursor-hover .cursor-follower {
  width: 60px;
  height: 60px;
  border-color: rgba(255,255,255,0.2);
}


/* ===== LOADER ===== */
.loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease 0.2s, visibility 0.6s ease 0.2s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__inner {
  display: flex;
  gap: 4px;
}

.loader__text {
  font-family: var(--font-display);
  font-size: clamp(48px, 10vw, 100px);
  color: var(--white);
  letter-spacing: 4px;
  animation: loaderPulse 1.2s ease infinite;
}

.loader__text--accent {
  color: var(--red);
  animation-delay: 0.2s;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}


/* ===== TYPOGRAPHY ===== */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 16px;
}

.heading-xl {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 90px);
  line-height: 0.95;
  color: var(--white);
  letter-spacing: 2px;
}

.heading-xl em {
  color: var(--red);
  font-style: normal;
}

.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1;
  color: var(--white);
  letter-spacing: 2px;
}

.heading-lg em {
  color: var(--red);
  font-style: normal;
}

.body-lg {
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray);
  max-width: 540px;
}

.body-lg--accent {
  color: var(--gray-light);
}

.body-lg strong {
  color: var(--white);
  font-weight: 600;
}

.red-line {
  width: 50px;
  height: 3px;
  background: var(--red);
  margin: 24px 0 28px;
  transform-origin: left;
}


/* ===== BUTTONS ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.4s var(--ease);
}

.btn span { position: relative; z-index: 2; }

.btn--glow {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 0 30px var(--red-glow), inset 0 0 30px rgba(255,255,255,0.05);
}

.btn--glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.btn--glow:hover::before { opacity: 1; }
.btn--glow:hover { transform: translateY(-2px); box-shadow: 0 0 50px var(--red-glow); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn--ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.btn--ghost:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--ghost:hover { color: var(--black); }
.btn--ghost:hover span { color: var(--black); }

.btn--sm { padding: 12px 24px; font-size: 11px; letter-spacing: 2px; }
.btn--lg { padding: 20px 52px; font-size: 15px; }
.btn--full { width: 100%; }


/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}

.header--scrolled {
  background: rgba(6, 6, 6, 0.9);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  padding: 14px 32px;
  border-bottom: 1px solid var(--border);
}

.header__logo {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 3px;
  z-index: 101;
}

.logo-c { color: var(--red); }
.logo-g { color: var(--white); }

.header__nav {
  display: flex;
  gap: 32px;
}

.header__nav a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.3s;
}

.header__nav a:hover { color: var(--white); }

.header__cta {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 10px 24px;
  transition: background 0.3s, color 0.3s;
}

.header__cta:hover { background: var(--red); color: var(--white); }

.header__burger {
  display: none;
  flex-direction: column;
  gap: 7px;
  background: none;
  border: none;
  padding: 4px;
  z-index: 101;
}

.header__burger span {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}

.header__burger.active span:first-child { transform: translateY(8.5px) rotate(45deg); }
.header__burger.active span:last-child { transform: translateY(-8.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .header__nav, .header__cta { display: none; }
  .header__burger { display: flex; }
}


/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}

.mobile-menu.active { opacity: 1; visibility: visible; }

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
}

.mobile-menu__nav a {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 4px;
  color: var(--gray-dark);
  transition: color 0.3s, transform 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu.active .mobile-menu__nav a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu__nav a:hover { color: var(--red); }

.mobile-menu.active .mobile-menu__nav a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.active .mobile-menu__nav a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu__nav a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu__nav a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu__nav a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-menu__nav a:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-menu__nav a:nth-child(7) { transition-delay: 0.35s; }

.mobile-menu__cta {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--white);
  background: var(--red);
  padding: 16px 40px;
  opacity: 0;
  transition: opacity 0.4s 0.4s;
}

.mobile-menu.active .mobile-menu__cta { opacity: 1; }


/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}

.hero__bg-img {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  background: url('../assets/images/hero-hq.png') center/cover no-repeat;
  filter: brightness(0.4) saturate(0.85) contrast(1.1);
  image-rendering: auto;
}

.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(220,38,38,0.06) 0%, transparent 60%),
    linear-gradient(180deg, rgba(6,6,6,0.5) 0%, rgba(6,6,6,0.1) 30%, rgba(6,6,6,0.1) 70%, rgba(6,6,6,0.95) 100%);
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 24px;
}

.hero__stars {
  font-size: 16px;
  color: var(--red);
  letter-spacing: 12px;
  margin-bottom: 20px;
  text-shadow: 0 0 20px var(--red-glow);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 9vw, 120px);
  line-height: 0.9;
  color: var(--white);
  letter-spacing: 6px;
  margin-bottom: 28px;
}

.hero__line {
  display: block;
}

.hero__title em {
  font-style: normal;
  color: var(--red);
  text-shadow: 0 0 60px var(--red-glow);
}

.hero__sub {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

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

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero__scroll span {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--gray-dark);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--red), transparent);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50.1% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 1; }
}


/* ===== SECTIONS ===== */
.section {
  padding: 120px 0;
  position: relative;
}

.section--alt {
  background: var(--black-2);
}

.section-head {
  margin-bottom: 64px;
}


/* ===== REVEAL ANIMATIONS ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal-stagger].revealed > *:nth-child(1) { transition-delay: 0.05s; }
[data-reveal-stagger].revealed > *:nth-child(2) { transition-delay: 0.12s; }
[data-reveal-stagger].revealed > *:nth-child(3) { transition-delay: 0.19s; }
[data-reveal-stagger].revealed > *:nth-child(4) { transition-delay: 0.26s; }
[data-reveal-stagger].revealed > *:nth-child(5) { transition-delay: 0.33s; }
[data-reveal-stagger].revealed > *:nth-child(6) { transition-delay: 0.40s; }
[data-reveal-stagger].revealed > *:nth-child(7) { transition-delay: 0.47s; }
[data-reveal-stagger].revealed > *:nth-child(8) { transition-delay: 0.54s; }

[data-reveal-stagger].revealed > * {
  opacity: 1;
  transform: translateY(0);
}


/* ===== BRAND / MARCA ===== */
.brand {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.brand__img-wrap {
  position: relative;
}

.brand__img-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.1);
}

.brand__img-border {
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--red);
  z-index: -1;
}

.brand__text .body-lg { margin-bottom: 16px; }


/* ===== DIFERENCIAIS ===== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.diff {
  background: var(--black-2);
  padding: 40px 32px;
  transition: background 0.5s;
}

.diff:hover { background: var(--black-3); }

.diff__num {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--red);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.3;
}

.diff__title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 12px;
}

.diff p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}


/* ===== MARQUEE ===== */
.marquee {
  overflow: hidden;
  background: var(--red);
  padding: 16px 0;
}

.marquee__track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marqueeScroll 20s linear infinite;
  width: max-content;
}

.marquee__track span {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 6px;
  color: var(--white);
}

.marquee__dot {
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  margin-top: 6px;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ===== MODALIDADES HORIZONTAL SCROLL ===== */
.mod-scroll {
  padding: 0 24px 24px;
}

.mod-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 1024px) {
  .mod-track { grid-template-columns: repeat(3, 1fr); }
}

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

@media (max-width: 480px) {
  .mod-track { grid-template-columns: 1fr; }
}

.mod-card {
  width: 100%;
  height: 420px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: var(--black-3);
  border: 1px solid var(--border);
  transition: border-color 0.4s, transform 0.4s var(--ease);
}

.mod-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.45) saturate(0.85);
  transition: filter 0.6s, transform 0.6s var(--ease);
}

.mod-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6,6,6,0.95) 100%);
  z-index: 1;
}

.mod-card:hover { border-color: var(--red); transform: translateY(-6px); }
.mod-card:hover .mod-card__bg { filter: brightness(0.55) saturate(1); transform: scale(1.05); }

.mod-card__cat {
  position: relative;
  z-index: 3;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--red);
  margin-bottom: 8px;
}

.mod-card h3 {
  position: relative;
  z-index: 3;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.mod-card p {
  position: relative;
  z-index: 3;
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s;
}

.mod-card:hover p { opacity: 1; transform: translateY(0); }


/* ===== GALLERY ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 0 24px;
}

.gallery__item {
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery__item--lg {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.05);
  transition: filter 0.6s, transform 0.8s var(--ease);
}

.gallery__item:hover img {
  filter: brightness(1) contrast(1.1);
  transform: scale(1.06);
}


/* ===== UNIDADES ===== */
.units {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.unit {
  background: var(--black-3);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease);
}

.unit:hover { border-color: rgba(220,38,38,0.3); transform: translateY(-4px); }

.unit__img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.unit__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) contrast(1.05);
  transition: filter 0.5s, transform 0.6s var(--ease);
}

.unit:hover .unit__img img { filter: brightness(0.95) contrast(1.1); transform: scale(1.04); }

.unit__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 6px 16px;
}

.unit__info {
  padding: 32px;
}

.unit__info h3 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.unit__info h3 em { color: var(--red); font-style: normal; }

.unit__detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 14px;
  line-height: 1.5;
}

.unit__detail svg { color: var(--red); flex-shrink: 0; margin-top: 2px; }

.unit__ctas {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}


/* ===== TESTIMONIALS ===== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.test-card {
  background: var(--black-3);
  border: 1px solid var(--border);
  padding: 36px;
  transition: border-color 0.4s, transform 0.4s var(--ease);
}

.test-card:hover { border-color: rgba(220,38,38,0.2); transform: translateY(-4px); }

.test-card__stars {
  color: var(--red);
  font-size: 14px;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.test-card p {
  font-size: 15px;
  color: var(--gray-light);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 28px;
}

.test-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.test-card__avatar {
  width: 44px;
  height: 44px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  flex-shrink: 0;
}

.test-card__author strong {
  display: block;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.test-card__author span {
  font-size: 12px;
  color: var(--gray-dark);
}


/* ===== PLANOS ===== */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}

.plan {
  background: var(--black);
  padding: 48px 36px;
  text-align: center;
  transition: background 0.4s;
  position: relative;
}

.plan:hover { background: var(--black-3); }

.plan--featured {
  background: var(--black-3);
  border-top: 3px solid var(--red);
}

.plan--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(180deg, rgba(220,38,38,0.08), transparent);
  pointer-events: none;
}

.plan__popular {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 4px 16px;
  margin-bottom: 20px;
}

.plan h3 {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--white);
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.plan__tag {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 32px;
}

.plan ul {
  text-align: left;
  margin-bottom: 36px;
}

.plan li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--gray-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}


/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
}

.faq {
  border-bottom: 1px solid var(--border);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  transition: color 0.3s;
}

.faq__q:hover { color: var(--red); }

.faq__icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--red);
  transition: transform 0.4s var(--ease);
}

.faq__icon::before {
  width: 20px; height: 1.5px;
  top: 50%; left: 0;
  transform: translateY(-50%);
}

.faq__icon::after {
  width: 1.5px; height: 20px;
  left: 50%; top: 0;
  transform: translateX(-50%);
}

.faq.active .faq__icon::after { transform: translateX(-50%) rotate(90deg); }

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}

.faq__a p {
  padding-bottom: 22px;
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}


/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.footer__glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(220,38,38,0.1), transparent 70%);
  pointer-events: none;
}

.footer__cta {
  text-align: center;
  padding: 100px 0 80px;
}

.footer__cta .heading-xl { margin-bottom: 36px; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.footer__tagline {
  color: var(--gray-dark);
  font-size: 14px;
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  color: var(--gray-dark);
  transition: color 0.3s;
}

.footer__social a:hover { color: var(--red); }

.footer__col h4 {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer__col a,
.footer__col p {
  display: block;
  font-size: 13px;
  color: var(--gray-dark);
  line-height: 1.6;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.footer__col a:hover { color: var(--red); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 12px;
  color: var(--gray-dark);
}

.footer-dev {
  margin-top: 6px;
  font-size: 11px;
}

.footer-dev a {
  color: var(--gray-dark);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-dev a:hover {
  color: var(--red);
}


/* ===== WHATSAPP FLOAT ===== */
.wpp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 98;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  animation: wppPulse 2s ease infinite;
  transition: transform 0.3s;
}

.wpp-float:hover { transform: scale(1.1); }

@keyframes wppPulse {
  0% { box-shadow: 0 4px 20px rgba(37,211,102,0.3), 0 0 0 0 rgba(37,211,102,0.4); }
  70% { box-shadow: 0 4px 20px rgba(37,211,102,0.3), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 4px 20px rgba(37,211,102,0.3), 0 0 0 0 rgba(37,211,102,0); }
}


/* ===== GRAIN OVERLAY ===== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}


/* ===== HOVER GUARD — desktop only ===== */
@media (hover: hover) {
  .diff:hover { background: var(--black-3); }
  .unit:hover { border-color: rgba(220,38,38,0.3); transform: translateY(-4px); }
  .unit:hover .unit__img img { filter: brightness(0.95) contrast(1.1); transform: scale(1.04); }
  .test-card:hover { border-color: rgba(220,38,38,0.2); transform: translateY(-4px); }
  .plan:hover { background: var(--black-3); }
  .mod-card:hover { border-color: var(--red); transform: translateY(-6px); }
  .mod-card:hover .mod-card__bg { filter: brightness(0.55) saturate(1); transform: scale(1.05); }
  .mod-card:hover p { opacity: 1; transform: translateY(0); }
  .gallery__item:hover img { filter: brightness(1) contrast(1.1); transform: scale(1.06); }
  .btn--glow:hover { transform: translateY(-2px); box-shadow: 0 0 50px var(--red-glow); }
  .btn--glow:hover::before { opacity: 1; }
  .btn--ghost:hover::before { transform: scaleX(1); transform-origin: left; }
  .btn--ghost:hover { color: var(--black); }
  .btn--ghost:hover span { color: var(--black); }
  .faq__q:hover { color: var(--red); }
  .header__nav a:hover { color: var(--white); }
  .header__cta:hover { background: var(--red); color: var(--white); }
  .footer__social a:hover { color: var(--red); }
  .footer__col a:hover { color: var(--red); }
  .mobile-menu__nav a:hover { color: var(--red); }
}

/* ===== TOUCH — reset sticky hovers + active feedback ===== */
@media (hover: none) {
  /* Reset all sticky hover states on touch */
  .diff:hover,
  .plan:hover { background: inherit; }
  .unit:hover,
  .test-card:hover,
  .mod-card:hover { transform: none; border-color: var(--border); }
  .mod-card:hover .mod-card__bg { filter: brightness(0.45) saturate(0.85); transform: none; }
  .gallery__item:hover img { filter: brightness(0.85) contrast(1.05); transform: none; }
  .unit:hover .unit__img img { filter: brightness(0.8) contrast(1.05); transform: none; }
  .btn--glow:hover { transform: none; box-shadow: 0 0 30px var(--red-glow); }
  .btn--ghost:hover { color: var(--white); }
  .btn--ghost:hover::before { transform: scaleX(0); }
  .btn--ghost:hover span { color: var(--white); }
  .wpp-float:hover { transform: none; }

  /* Active states for tap feedback */
  .btn--glow:active { transform: scale(0.97); opacity: 0.9; }
  .btn--ghost:active { background: rgba(255,255,255,0.08); }
  .mod-card:active { border-color: var(--red); transform: scale(0.98); }
  .faq__q:active { color: var(--red); }
  .wpp-float:active { transform: scale(0.92); }
  .unit:active { border-color: rgba(220,38,38,0.3); }
  .test-card:active { border-color: rgba(220,38,38,0.2); }

  /* Show descriptions always on touch since no hover */
  .mod-card p { opacity: 1; transform: translateY(0); }
}


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

/* Tablet */
@media (max-width: 1024px) {
  .brand { grid-template-columns: 1fr; gap: 48px; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .units { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; gap: 1px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--lg { grid-column: span 2; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* Small tablet / large phone */
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }
  .diff-grid { grid-template-columns: 1fr; }
  .diff { padding: 28px 20px; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 320px; }
  .unit__ctas { flex-direction: column; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--lg { grid-column: span 2; aspect-ratio: 2/1; }
  .mod-card { height: 300px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__cta { padding: 64px 0 56px; }
  .marquee__track span { font-size: clamp(14px, 3vw, 18px); letter-spacing: 4px; }
  .marquee__track { gap: 24px; }
}

/* Phone */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .header { padding: 14px 16px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }

  .hero__stars { font-size: 14px; letter-spacing: 8px; }
  .hero__title { letter-spacing: 3px; margin-bottom: 20px; }
  .hero__sub { font-size: 14px; margin-bottom: 32px; }

  .gallery { grid-template-columns: 1fr; }
  .gallery__item--lg { grid-column: span 1; aspect-ratio: 16/9; }
  .gallery__item { aspect-ratio: 16/10; }

  .mod-card { height: 280px; padding: 20px; }
  .mod-card h3 { font-size: 22px; }

  .diff { padding: 24px 16px; }
  .diff__num { font-size: 36px; }
  .diff__title { font-size: 13px; }

  .unit__info { padding: 20px; }
  .unit__info h3 { font-size: 22px; }

  .test-card { padding: 24px; }

  .plan { padding: 32px 20px; }
  .plan h3 { font-size: 28px; }

  .footer__cta { padding: 48px 0 40px; }
  .footer__logo { font-size: clamp(22px, 6vw, 32px); }
  .footer__grid { gap: 24px; padding: 40px 0; }

  .wpp-float { bottom: 16px; right: 16px; width: 52px; height: 52px; }

  .mobile-menu__nav a { font-size: clamp(26px, 7vw, 36px); }
}

/* Small phone (iPhone SE, older Android) */
@media (max-width: 375px) {
  .container { padding: 0 12px; }
  .header { padding: 12px; }
  .section { padding: 48px 0; }

  .hero__title { letter-spacing: 2px; }
  .hero__sub { font-size: 13px; }
  .hero__actions .btn { padding: 14px 24px; font-size: 12px; }

  .heading-lg { letter-spacing: 1px; }
  .body-lg { font-size: 15px; line-height: 1.7; }

  .mod-card { height: 260px; padding: 16px; }
  .mod-card h3 { font-size: 20px; }

  .gallery__item { aspect-ratio: 4/3; }

  .btn--sm { padding: 10px 16px; font-size: 10px; }

  .unit__ctas .btn { font-size: 10px; }
}

/* Landscape phone */
@media (orientation: landscape) and (max-height: 500px) {
  .hero { min-height: 100vh; }
  .hero__title { font-size: clamp(28px, 6vw, 60px); }
  .hero__sub { display: none; }
  .hero__scroll { display: none; }
  .section { padding: 48px 0; }

  .mobile-menu { overflow-y: auto; }
  .mobile-menu__nav a { font-size: 24px; }
}

/* Burger tap target fix */
.header__burger {
  min-width: 44px;
  min-height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .header__nav, .header__cta { display: none; }
  .header__burger { display: flex; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1; transform: none; }
  .loader { display: none; }
  body::after { display: none; }
}
