:root {
  --bg: #0b0b0b;
  --bg-soft: #111111;
  --bg-card: #171717;
  --bg-card-2: #1a1a1a;
  --text: #ffffff;
  --text-soft: #d8d8d8;
  --text-muted: #9f9f9f;
  --accent: #de0a26;
  --accent-strong: #de0a26;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(222, 10, 38, 0.34);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --glow: 0 0 28px rgba(222, 10, 38, 0.18);
  --radius: 12px;
  --radius-sm: 10px;
  --container: 1240px;
  --nav-height: 66px;
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.68);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--nav-height);
  padding: 0.45rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: 340px;
  line-height: 1;
}

.brand img {
  display: block;
  width: 100%;
  max-width: 270px;
  height: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--text-soft);
  font-size: 0.96rem;
  font-weight: 500;
  transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--glow);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--nav-height);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.72) 34%, rgba(0, 0, 0, 0.36) 100%),
    url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 18%, rgba(222, 10, 38, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.28));
  animation: heroPulse 9s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.section-kicker {
  margin: 0 0 1.25rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero h1 {
  margin: 0;
  line-height: 0.92;
  font-size: clamp(3rem, 10vw, 6.6rem);
  font-weight: 800;
}

.hero h1 span {
  display: block;
  color: var(--text);
}

.hero h1 strong {
  display: block;
  color: var(--accent);
  font-size: 1.08em;
  font-weight: 900;
}

.hero-text,
.section-text,
.service-note,
.membership-card li,
.footer-subtitle,
.footer-right p,
.footer-bottom p {
  color: var(--text-soft);
}

.hero-text {
  max-width: 620px;
  margin: 1.5rem 0 0;
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button,
.card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform var(--transition), filter var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.button:hover,
.button:focus-visible,
.card-button:hover,
.card-button:focus-visible,
.nav-phone:hover,
.nav-phone:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.button-primary,
.card-button {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--glow);
}

.button-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.button-tertiary {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.services-section,
.membership-section,
.contact-section {
  padding: 100px 0;
}

.membership-section {
  position: relative;
  background: #0b0b0b;
  overflow: hidden;
}

.membership-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/engine.png") center center/cover no-repeat;
  opacity: 0.52;
  filter: grayscale(0.18) saturate(0.42) brightness(0.86) contrast(1.02);
  pointer-events: none;
}

.membership-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.34), rgba(8, 8, 8, 0.62)),
    linear-gradient(90deg, rgba(11, 11, 11, 0.22), rgba(11, 11, 11, 0.12)),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.03), transparent 22%);
  pointer-events: none;
}

.membership-section .container {
  position: relative;
  z-index: 1;
}

.membership-section .section-header h2,
.membership-section .section-kicker,
.membership-section .section-text {
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.section-header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-header-centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header h2,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.section-text {
  margin: 1rem 0 0;
  line-height: 1.8;
  font-size: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card,
.membership-card,
.contact-panel {
  background: linear-gradient(180deg, var(--bg-card-2), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, var(--bg-card-2), var(--bg-soft));
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card::after,
.membership-card::after,
.contact-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.08) 46%, transparent 72%);
  transform: translateX(-130%);
  transition: transform 700ms ease;
  pointer-events: none;
}

.service-card:hover,
.membership-card:hover {
  transform: translateY(-6px);
  border-color: rgba(222, 10, 38, 0.24);
  box-shadow: 0 32px 68px rgba(0, 0, 0, 0.4), var(--glow);
}

.service-card:hover::after,
.membership-card:hover::after,
.contact-panel:hover::after {
  transform: translateX(130%);
}

.service-media {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.44)),
    linear-gradient(90deg, rgba(222, 10, 38, 0.14), transparent 42%);
  pointer-events: none;
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 500ms ease, filter 500ms ease;
  filter: saturate(0.96) contrast(1.04);
}

.service-card:hover img {
  transform: scale(1.05);
  filter: saturate(1.04) contrast(1.08);
}

.service-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1.5rem 1.45rem 1.55rem;
}

.service-card h3,
.membership-card h3 {
  margin: 0;
  font-size: 1.36rem;
  letter-spacing: -0.02em;
}

.service-card h3 {
  min-height: 2.8rem;
  line-height: 1.08;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(222, 10, 38, 0.18);
  text-wrap: balance;
}

.service-listing {
  margin: 1rem 0 1.25rem;
}

.service-listing ul,
.membership-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-listing li {
  padding: 0.85rem 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.service-listing ul li:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text);
  font-weight: 700;
  line-height: 1.35;
}

.service-line > span:first-child {
  max-width: 17rem;
}

.service-price-inline {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.2rem 0.65rem;
  border: 1px solid rgba(222, 10, 38, 0.24);
  border-radius: 999px;
  background: rgba(222, 10, 38, 0.1);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(222, 10, 38, 0.12);
}

.service-detail {
  margin-top: 0.28rem;
  padding-left: 0.05rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.service-listing-single .service-line {
  align-items: flex-start;
}

.service-note {
  margin: 0 0 1.2rem;
  font-size: 0.94rem;
  line-height: 1.7;
}

.card-button {
  margin-top: auto;
  width: 100%;
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.membership-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem 1.5rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.membership-card-featured {
  border-color: var(--border-strong);
  box-shadow: var(--shadow), var(--glow);
}

.plan-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(222, 10, 38, 0.14);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.membership-price {
  margin: 1rem 0 1.2rem;
  color: var(--accent);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.membership-price span {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin-left: 0.2rem;
}

.membership-card li {
  padding: 0.58rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  line-height: 1.6;
}

.membership-card ul {
  flex: 1 1 auto;
}

.membership-card .button {
  margin-top: auto;
}

.membership-note {
  margin-top: 1.6rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(10, 10, 10, 0.86);
  box-shadow: var(--shadow);
}

.membership-note h3 {
  margin: 0 0 0.8rem;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.membership-note ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.membership-note li {
  padding: 0.45rem 0;
  color: var(--text-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.membership-note li:first-child {
  border-top: 0;
}

.contact-panel {
  padding: 3rem;
  text-align: center;
}

@keyframes heroPulse {
  0% {
    transform: scale(1);
    opacity: 0.95;
  }
  100% {
    transform: scale(1.04);
    opacity: 1;
  }
}

.contact-button {
  margin-top: 1.5rem;
  min-width: 220px;
}

.site-footer {
  padding: 2.2rem 0 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #090909;
}

.footer-top,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.footer-top {
  align-items: flex-start;
  padding-bottom: 1.25rem;
}

.footer-bottom {
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.footer-title {
  margin: 0 0 0.3rem;
  color: #fff;
  font-weight: 700;
}

.footer-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-brand img {
  display: block;
  max-width: 260px;
  width: 100%;
  height: auto;
}

.footer-subtitle,
.footer-right p,
.footer-bottom p {
  margin: 0.15rem 0;
  font-size: 0.95rem;
}

.footer-right {
  text-align: right;
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 901px) {
  .nav-shell {
    padding: 0.7rem 0;
  }
}

@media (max-width: 900px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    padding: 0.9rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(12, 12, 12, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .site-nav a {
    display: block;
    padding: 0.8rem 0.9rem;
    border-radius: 8px;
  }

  .nav-phone {
    width: 100%;
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero-text {
    max-width: 100%;
  }

  .brand {
    max-width: 250px;
  }

  .brand img {
    max-width: 220px;
  }

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

  .contact-panel {
    padding: 2rem 1.25rem;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
  }

  .footer-right {
    text-align: left;
  }
}

@media (max-width: 700px) {
  :root {
    --nav-height: 60px;
  }

  .hero {
    min-height: 100svh;
    background-position: center;
  }

  .hero-content {
    min-height: calc(100svh - var(--nav-height));
    padding: 2rem 0;
  }

  .services-section,
  .membership-section,
  .contact-section {
    padding: 84px 0;
  }

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

  .service-card img {
    height: 210px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .contact-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-hero,
  .reveal-section,
  .reveal-card,
  .reveal-plan,
  .reveal-contact {
    opacity: 1 !important;
    transform: none !important;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
