/* ============================================================
   HOT — House of Transformation | Equipment page demo
   Static site for Cloudflare Pages
   ============================================================ */

:root {
  --bg: #050506;
  --bg-soft: #0b0b0c;
  --card: #0d0d0e;
  --text: #f7f6f3;
  --muted: #a8a7a3;
  --muted-2: #75746f;
  --accent: #ff6a1a;
  --accent-2: #ff8a3d;
  --line: rgba(255, 255, 255, 0.08);
  --line-accent: rgba(255, 106, 26, 0.35);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Roboto, "Roboto Fallback", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

/* ---------- Shared type ---------- */
.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.flame {
  background: linear-gradient(95deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(8, 8, 9, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}

.brand img {
  width: 112px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.desktop-nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active { color: var(--text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.icon-btn:hover {
  border-color: var(--line-accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.icon-btn svg { width: 20px; height: 20px; }

.join-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #08080a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.join-btn:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 106, 26, 0.25);
}

.menu-btn { display: none; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 99;
  width: min(360px, 88vw);
  padding: 120px 32px 40px;
  background: #0a0a0b;
  border-left: 1px solid var(--line);
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.mobile-menu nav a:hover { color: var(--accent); }

.mobile-join {
  display: block;
  padding: 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #08080a;
  text-align: center;
  font-weight: 900;
  letter-spacing: 0.12em;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 780px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 190px 0 60px;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/assets/gym/gym-4.jpg") center 42% / cover no-repeat;
  filter: saturate(0.85);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.94) 0%, rgba(5, 5, 6, 0.7) 45%, rgba(5, 5, 6, 0.5) 100%),
    linear-gradient(0deg, var(--bg) 1%, rgba(5, 5, 6, 0.55) 32%, rgba(5, 5, 6, 0.3) 100%);
}

.hero-content { width: min(100% - 48px, var(--container)); }

.hero h1 {
  max-width: 980px;
  font-size: clamp(2.8rem, 6.9vw, 6.1rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero-copy {
  max-width: 760px;
  margin: 30px 0 0;
  color: #c9c8c4;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.7;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 90px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border: 1px solid var(--line-accent);
  border-radius: 999px;
  color: #deddd8;
  background: rgba(255, 255, 255, 0.015);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tag:hover { background: rgba(255, 106, 26, 0.1); border-color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }

.section-head { max-width: 760px; margin-bottom: 56px; }

.section-head h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.035em;
}

.section-sub {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.section-note {
  max-width: 840px;
  margin: 50px auto 0;
  color: var(--muted-2);
  font-size: 15px;
  text-align: center;
}

.section-note strong { color: #cfcec9; font-weight: 700; }

/* ---------- Equipment grid ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.equip-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.equip-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-accent);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.equip-media {
  display: grid;
  place-items: center;
  height: 360px;
  padding: 40px;
  background: #e9e8e5;
}

.equip-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.equip-info { padding: 28px 32px 34px; }

.equip-info h3 {
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -0.01em;
}

.equip-info p {
  margin: 10px 0 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

/* ---------- Brands ---------- */
.brands { border-top: 1px solid var(--line); }

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.brand-card {
  display: grid;
  place-items: center;
  min-height: 160px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-soft);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.brand-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-accent);
  background: #101011;
}

.brand-card img {
  max-width: 78%;
  max-height: 64px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.9);
  opacity: 0.85;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.brand-card:hover img { filter: grayscale(0) brightness(1.2); opacity: 1; }

/* ---------- Gallery ---------- */
.gallery { border-top: 1px solid var(--line); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 1 / 1;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-grid figure:hover img { transform: scale(1.06); }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: 130px 0 140px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.cta-glow {
  position: absolute;
  left: 50%;
  bottom: -260px;
  width: 900px;
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 106, 26, 0.16) 0%, rgba(255, 106, 26, 0.04) 45%, transparent 70%);
  pointer-events: none;
}

.cta-inner { position: relative; }

.cta h2 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: -0.04em;
}

.cta p {
  max-width: 620px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 38px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  height: 54px;
  padding: 0 32px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-3px); }

.btn-primary { background: var(--accent); color: #08080a; }
.btn-primary:hover { background: var(--accent-2); }

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-accent);
  background: #030303;
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 80px;
  padding-bottom: 70px;
}

.footer-logo { width: 140px; height: auto; }

.footer-tagline {
  margin: 22px 0 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.footer-desc {
  max-width: 440px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.footer-contact { margin-top: 38px; }

.footer-contact h4,
.footer-links h4 {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.footer-contact a,
.footer-hours {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.footer-contact a:hover { color: var(--accent); }

.footer-contact svg,
.footer-hours svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--accent);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li { margin-bottom: 10px; }

.footer-links li a {
  color: var(--muted);
  font-size: 15px;
  transition: color 0.2s ease;
}

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

.social-row { display: flex; gap: 10px; }

.social-row a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-row a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.social-row svg { width: 19px; height: 19px; }

.social p {
  margin: 22px 0 0;
  color: var(--muted-2);
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 0 30px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.footer-bottom p { margin: 0; color: var(--muted-2); }
.footer-bottom p:last-child { color: var(--accent); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 34px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg { width: 30px; height: 30px; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .menu-btn { display: grid; }
  .join-btn { padding: 0 20px; }
}

@media (max-width: 860px) {
  .hero { min-height: 700px; padding-top: 170px; }
  .hero-tags { margin-top: 60px; }
  .equip-media { height: 300px; padding: 30px; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid figure:last-child { grid-column: span 2; aspect-ratio: 2 / 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 620px) {
  .container, .hero-content { width: min(100% - 32px, var(--container)); }
  .header-inner { min-height: 72px; }
  .brand img { width: 92px; }
  .icon-btn { width: 40px; height: 40px; }
  .join-btn { height: 40px; padding: 0 14px; font-size: 10px; }
  .header-actions { gap: 8px; }
  .phone-btn { display: none; }
  .hero { min-height: 660px; padding: 150px 0 50px; }
  .hero-tags { margin-top: 50px; }
  .tag { padding: 9px 14px; font-size: 10px; }
  .section { padding: 72px 0; }
  .grid-2, .brand-grid, .gallery-grid { grid-template-columns: 1fr; gap: 18px; }
  .gallery-grid figure:last-child { grid-column: auto; aspect-ratio: 1 / 1; }
  .equip-media { height: 280px; }
  .equip-info { padding: 24px 24px 28px; }
  .cta { padding: 90px 0 100px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 30px; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
