/* ======================================================
ROOT VARIABLES
====================================================== */

:root {
  /* Fonts */
  --font-body: Inter, sans-serif;
  --font-heading: 'Bebas Neue', sans-serif;
  /* Brand Colors */
  --color-primary: #fff;
  --color-secondary: #999999;
  /* Base Colors */
  --color-white: #ffffff;
  --color-black: #000000;
  /* Text */
  --text-body: #ccc;
  --text-muted: #686f7550;
  /* Background */
  --bg-color: #d0ff59;
  --bg--black: #1a1d21;
}

/* ======================================================
RESET & BASE
====================================================== */

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

html {
  font-family: var(--font-body);
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: #cccccc;
  line-height: 1.6;
  font-size: 20px;
  background-color: #141414;
  text-align: left;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

svg {
  overflow: hidden;
  vertical-align: middle;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s;
}

a:not([href]):not([class]),
a:not([href]):not([class]):hover {
  color: inherit;
  text-decoration: none;
}

p {
  margin-top: 0;
  margin-bottom: 24px;
  color: #ccc;
  line-height: 32px;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--bg-color);
  outline-offset: 3px;
}

.m-0 {
  margin: 0 !important;
}

/* ======================================================
TYPOGRAPHY
====================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 400;
  letter-spacing: -1.5px;
  margin-top: 0;
  margin-bottom: 16px;
  line-height: 1.25;
}

h1 {
  font-size: 200px;
}

h2 {
  font-size: 64px;
}

h3 {
  font-size: 48px;
}

/* ======================================================
LAYOUT
====================================================== */

.container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 32px;
}

/* ======================================================
BUTTONS
====================================================== */

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--bg-color);
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 50px;
  color: #141414;
  cursor: pointer;
  transition:
    background-color 0.3s,
    color 0.3s,
    border-color 0.3s;
  line-height: 1.5;
  letter-spacing: -0.6px;
  text-align: center;
  appearance: none;
}

.btn:hover {
  background: #fff;
  color: var(--color-black);
}

.btn--white {
  background: #fff;
  color: var(--color-black);
}

.btn--white:hover {
  background-color: var(--bg-color);
  color: var(--color-black);
  border: 1px solid var(--text-muted);
}

/* ======================================================
FORMS
====================================================== */

label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

button {
  border-radius: 0;
}

input,
button,
select,
optgroup,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button:not(:disabled) {
  cursor: pointer;
}

.form-group {
  margin-bottom: 28px;
  position: relative;
}

.form-control {
  width: 100%;
  height: 44px;
  padding: 8px 0;
  background: #00000000;
  border: none;
  border-bottom: 1px solid #3d3d3d;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-body);
  appearance: none;
  border-radius: 0;
}

.form-control:focus {
  border-color: var(--bg-color);
  outline: none;
}

select.form-control {
  padding-right: 28px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23cccccc' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 12px 8px;
}

select.form-control option {
  background-color: var(--bg--black);
  color: #fff;
}

.form-control::placeholder {
  color: #ffffff8a;
}

/*Header*/

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}
.site-logo {
  max-width: 260px;
}
.header__content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.navbar ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.navbar li a {
  font-size: 20px;
  padding: 8px;
  font-weight: 600;
  line-height: 30px;
  color: var(--color-primary);
}

.navbar li a:hover {
  color: var(--bg-color);
}

.navbar__mobile-only {
  display: none;
}

/* Mobile menu button: fixed so it stays reachable while scrolling */
.nav-toggle {
  display: none;
  position: fixed;
  top: 16px;
  right: 32px;
  z-index: 12;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: #fff3;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.nav-toggle span {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.nav-toggle span:nth-child(1) {
  top: 17px;
}

.nav-toggle span:nth-child(2) {
  top: 23px;
}

.nav-toggle span:nth-child(3) {
  top: 29px;
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

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

.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

html.nav-open {
  overflow: hidden;
}

/*Hero*/

.section--hero {
  position: relative;
  background: url(../images/hero.webp) no-repeat 50% / cover;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.overlay {
  background-image: linear-gradient(180deg, transparent, #141414 80%);
  pointer-events: none;
  height: 0;
  position: absolute;
  inset: auto 0% 0%;
  z-index: 1;
}

.hero__content {
  display: grid;
  justify-content: space-between;
  gap: 32px;
  grid-template-columns: 0.5fr 1fr;
  grid-auto-columns: 1fr;
  padding-top: 100px;
  padding-bottom: 100px;
  min-height: 100vh;
  min-height: 100svh;
}

.hero__left {
  display: flex;
  flex-flow: column;
  justify-content: flex-end;
  gap: 32px;
}

.hero__left p,
.hero__rating-text {
  font-size: 20px;
  color: #ccc;
}

.hero__rating {
  border-radius: 66px;
  width: max-content;
  display: flex;
  align-items: center;
  padding: 8px 20px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background-color: #fff3;
}

.hero__rating-img {
  display: flex;
  align-items: center;
}

.hero__rating-img img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: 4px solid var(--color-primary);
  border-radius: 66px;
}

.hero__rating-img img + img {
  margin-left: -20px;
}

.hero__rating-content {
  margin-left: 12px;
}

.hero__rating-stars {
  color: #ebc400;
}

.hero__right {
  display: flex;
  flex-flow: column;
  gap: 32px;
  justify-content: flex-end;
}

.heading--hero h1 {
  line-height: 0.85;
  margin: 0;
  letter-spacing: -5px;
  text-align: right;
}

.heading--hero h1 span {
  display: block;
}

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.hero__cta .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.hero__cta p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  color: #ccc;
}

/*Logos*/

.logos__content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 80px;
  gap: 48px;
}

.logos__list {
  display: flex;
  gap: 48px;
}

.logos__list img {
  height: 48px;
  filter: grayscale();
  mix-blend-mode: exclusion;
}

.logos__text {
  color: var(--color-secondary);
  font-size: 20px;
}

.section--about {
  padding: 120px 0;
}

.about__content {
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-columns: 0.25fr 1fr;
  gap: 16px;
}

.about__content p {
  font-size: 36px;
  color: #cccccc;
  line-height: 1.5;
  margin-bottom: 28px;
  letter-spacing: 1px;
}

.about__title {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-weight: 600;
}

.section--banner {
  padding-top: 120px;
}

.banner__content {
  display: flex;
  align-items: center;
  overflow: hidden;
  justify-content: start;
  gap: 32px;
}

.banner__item {
  display: flex;
}

.banner__text {
  font-size: 200px;
  color: var(--color-primary);
  font-family: var(--font-heading);
  line-height: 0.85;
  white-space: nowrap;
}

.banner__text span {
  color: #d0ff59;
}

.workout__content {
  padding: 120px 0;
}

.workout__card-list {
  display: flex;
  position: sticky;
  top: 17vh;
  flex-flow: column;
  margin-top: 80px;
  z-index: 1;
  gap: 24px;
}

.workout__card-item {
  display: flex;
  margin-left: 40%;
  flex-flow: column;
  gap: 8px;
}

.workout__card-img {
  width: 35%;
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 1;
}

/* Source photos have different ratios: crop all to one frame that fits the pinned view */
.workout__card-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  max-height: 70vh;
  object-fit: cover;
  border-radius: 8px;
}

.workout__card-content {
  display: grid;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  grid-template-rows: auto;
  grid-auto-flow: row;
  grid-template-columns: 1fr auto;
  grid-auto-columns: 1fr;
  padding-bottom: 24px;
  column-gap: 15px;
}

.workout__card-content h2 {
  font-size: 48px;
  line-height: 1.15;
  text-transform: none;
  margin-bottom: 0;
  letter-spacing: 0;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-secondary);
}

.workout__card-number {
  font-size: 64px;
  font-weight: 600;
  grid-area: span 2 / span 1 / span 2 / span 1;
}

.workout__card-line {
  height: 4px;
  width: 100%;
  background: #d0ff59;
  position: absolute;
  inset: auto 0 0;
}

.heading--class {
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-columns: 1.5fr 0.75fr;
  grid-template-rows: auto;
  gap: 16px;
  place-items: end stretch;
}

.section--classes {
  padding: 120px 0;
}

.class-label {
  font-weight: 600;
  font-size: 16px;
  color: #ccc;
  margin-bottom: 16px;
  letter-spacing: 1.6px;
}

.heading__class-left h2 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -1.28px;
  font-size: 64px;
}

.class__list {
  display: flex;
  position: relative;
  margin-top: 40px;
  gap: 16px;
}

.class__card {
  display: flex;
  flex-flow: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  width: 20%;
  height: 50vh;
  border-radius: 16px;
  background-color: #181818;
}

.class__card img {
  filter: grayscale(1);
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
}

.class__card:hover img {
  filter: none;
}

.clase__card-content {
  z-index: 3;
  padding: 24px;
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: flex-end;
}

.clase__card-content h3 {
  margin-bottom: 0;
  letter-spacing: normal;
}

.class-description {
  height: 0%;
  width: 261.75px;
  overflow: hidden;
}

.class-overlay {
  background-image: linear-gradient(180deg, transparent, #141414);
  height: 30%;
  position: absolute;
  inset: auto 0% 0%;
  z-index: 1;
}

.section--trainer {
  background: #101010;
}

.trainer__content {
  position: relative;
}

.heading--trainer {
  min-height: 100vh;
  position: sticky;
  padding-right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
}

.heading--trainer h2 {
  font-size: 200px;
  text-align: center;
  font-family: var(--font-body);
  position: absolute;
  scale: 1.2;
}

.trainer__cards {
  display: grid;
  background-color: #0000;
  grid-template-rows: auto auto auto auto auto;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  align-items: start;
  padding-top: 200vh;
  padding-bottom: 100vh;
  inset: 0 0% 0%;
  position: relative;
}

.trainer__card-items {
  width: fit-content;
  max-width: 309px;
  padding: 16px;
  border-radius: 16px;
  background-color: #181818;
  box-shadow: 0 4px 16px 4px #0003;
}

.trainer__card-items img {
  max-width: 100%;
  object-fit: cover;
  border-radius: 8px;
  width: 277px;
  display: inline-block;
  aspect-ratio: 1;
}

.card-items-1 {
  grid-area: 1 / 2 / 2 / 4;
  align-self: start;
}

.card-items-2 {
  grid-area: 2 / 7 / 3 / 9;
  align-self: start;
}

.card-items-3 {
  grid-area: 3 / 1 / 4 / 3;
  align-self: start;
}

.card-items-4 {
  grid-area: 4 / 5 / 5 / 7;
  align-self: start;
}

.card-items-5 {
  grid-area: 5 / 1 / 6 / 3;
  align-self: start;
}

.trainer__name {
  margin-top: 16px;
  font-size: 20px;
  font-weight: 600;
}

.trainer__role {
  margin-top: 4px;
  color: #d0ff59;
  font-size: 14px;
  font-weight: 500;
}

.trainer__cert {
  margin-top: 4px;
  color: #ccc;
  font-size: 14px;
}

.trainer__bio {
  margin-top: 12px;
  color: #ccc;
  font-size: 14px;
  line-height: 1.5;
}

.section--testimonial {
  padding: 120px 0;
  background-color: #141414;
}

.heading--testimonial .label {
  display: block;
  margin-bottom: 16px;
}

.heading--testimonial h2 {
  font-family: var(--font-body);
  margin-bottom: 25px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1.28px;
}

.testimonial__slider-btn {
  position: absolute;
  top: 95%;
  left: 50%;
  z-index: 4;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 64px;
  background: transparent;
  color: #cccccc75;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 0.3s;
}

.testimonial__slider-next {
  left: 56%;
}

.testimonial__slider-btn:hover,
.testimonial__slider-btn:focus-visible {
  color: #fff;
}

.testimonial__item-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  grid-template-rows: auto;
}

.testimonial__card-img {
  aspect-ratio: 5 / 4;
  min-height: 450px;
}

.testimonial__card-img img {
  border-radius: 24px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.testimonial__card-content {
  display: flex;
  flex-flow: column;
  gap: 24px;
}

.testimonial__card-content p {
  font-size: 24px;
  color: #fff;
}

.testimonial__card-content .label {
  font-size: 28px;
  font-weight: 500;
}

.section--plans {
  padding: 120px 0;
}

.hrading--plans {
  text-align: center;
  display: flex;
  flex-flow: column;
  align-items: center;
}

.hrading--plans span {
  margin-bottom: 16px;
}

.hrading--plans h2 {
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 25px;
}

.hrading--plans p {
  max-width: 650px;
  margin-bottom: 16px;
}

.plans__card-item {
  margin-top: 40px;
  align-items: stretch;
}

.plans__card-content {
  padding: 48px 32px 32px 32px;
  z-index: 1;
  position: relative;
  border-radius: 24px;
  background-color: #181818;
  display: flex;
  flex-flow: column;
  height: auto;
}

.plans__slider-nav {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.plans__slider-btn {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #ffffff40;
  background: transparent;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition:
    background-color 0.3s,
    color 0.3s,
    border-color 0.3s;
}

.plans__slider-btn:hover {
  background-color: #d0ff59;
  border-color: #d0ff59;
  color: #181818;
}

.plans__slider-btn.swiper-button-disabled {
  opacity: 0.3;
  pointer-events: none;
}

.plans__slider-pagination {
  display: flex;
  gap: 8px;
  width: auto !important;
}

.plans__slider-pagination .swiper-pagination-bullet {
  margin: 0 !important;
  width: 10px;
  height: 10px;
  background: #fff;
  opacity: 0.3;
  transition:
    width 0.3s,
    opacity 0.3s;
}

.plans__slider-pagination .swiper-pagination-bullet-active {
  width: 32px;
  border-radius: 5px;
  background: #d0ff59;
  opacity: 1;
}

.plans__card-heading h3 {
  font-weight: 500;
  font-family: var(--font-body);
  margin-bottom: 12px;
  font-size: 24px;
}

.plans__card-price {
  color: #d0ff59;
  font-size: 88px;
  line-height: 1.1;
  font-weight: 600;
}

.plans__card-price--text {
  font-size: 40px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.plans__card-features {
  margin: 24px 0;
  padding: 24px 16px 16px;
  display: flex;
  flex-flow: column;
  background: #242424;
  gap: 16px;
  flex: 1;
  border-radius: 16px;
}

.card__features-heading {
  font-size: 16px;
  font-weight: 500;
}

.plans__card-features ul {
  display: flex;
  flex-flow: column;
  gap: 8px;
  padding-left: 32px;
  margin-bottom: 16px;
}

.plans__card-features li {
  font-size: 16px;
  list-style: disc;
  line-height: 1.5;
  margin-bottom: 4px;
}

.section--location {
  padding: 120px 0;
}

.plans__card-but a {
  width: 100%;
  padding: 12px 24px;
}

.location__content {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 80px;
  align-items: start;
}

.location__map {
  aspect-ratio: 4 / 5;
  max-height: 70vh;
  position: sticky;
  top: 15vh;
}

.map-container {
  position: relative;
  overflow: hidden;
  background-color: #181818;
  height: 100%;
  border-radius: 16px;
}

.map-container .map {
  position: absolute;
  overflow: hidden;
  border-radius: 8px;
  top: 12px;
  bottom: 12px;
  left: 12px;
  right: 12px;
}

.location__label,
.contect__label {
  text-transform: uppercase;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.heading--location h2 {
  margin-bottom: 25.5px;
  letter-spacing: -1.28px;
  line-height: 1.15;
  font-family: var(--font-body);
  font-weight: 600;
}

.heading--location p {
  max-width: 650px;
  margin-bottom: 16px;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0;
}

.location__list {
  margin-top: 40px;
  display: flex;
  flex-flow: column;
  gap: 16px;
}

.location__list-heading {
  display: flex;
  padding-bottom: 16px;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #3d3d3d;
}

.location-list__titel {
  font-size: 36px;
  font-weight: 500;
  transition: color 0.2s;
  flex: 1;
}

.location-list__icon {
  width: 48px;
  height: 48px;
  padding: 4px;
  background: #181818;
  color: #ffffff;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  display: flex;
  flex: none;
  position: relative;
}

.icon-span {
  width: 20px;
  height: 3px;
  border-radius: 5px;
  background: #fff;
  position: absolute;
}

.icon-span-line-2 {
  rotate: 90deg;
  height: 3px;
  border-radius: 5px;
}

.location__list-item:hover .location-list__icon {
  background: var(--bg-color);
}

.location__list-item:hover .icon-span {
  background: var(--color-black);
}

.location__list-item {
  cursor: pointer;
}

.location__list-content {
  overflow: hidden;
  height: 0;
  position: relative;
}

.location__list-inner {
  padding-top: 16px;
}

.location__list-tag {
  margin-bottom: 8px;
  color: #d0ff59;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
}

.location__list-inner p {
  max-width: 650px;
  color: #999999;
  font-size: 16px;
  line-height: 1.5;
}

.location__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.location__img.is-active {
  opacity: 1;
}

.section--instagram {
  padding: 120px 0;
  background: #101010;
  text-align: center;
}

.instagram__content {
  display: flex;
  flex-flow: column;
  align-items: center;
}

.instagram__label {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.instagram__content h2 {
  margin-bottom: 25px;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1.28px;
}

.instagram__content p {
  max-width: 650px;
  margin-bottom: 40px;
  color: #ccc;
  font-size: 20px;
  line-height: 1.5;
}

.instagram__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* Not `all`: a transition on opacity/transform fights the GSAP scroll reveal */
  transition:
    background-color 0.3s,
    color 0.3s,
    border-color 0.3s;
}

.section--contect {
  padding: 120px 0 60px 0;
  background: #181818;
}

.heading--contect {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
}

.contect__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 64px;
}

.contect__form {
  display: flex;
  flex-flow: column;
}

.form-btn {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}

.contect__links {
  display: flex;
  flex-flow: column;
}

.contact__phone,
.contact__label {
  font-weight: 500;
  color: var(--color-secondary);
}

.contect__email {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 500;
  color: #fff;
  transition:
    font-variation-settings 0.2s,
    color 0.2s;
}

.contect__email:hover,
.contact__phone:hover {
  color: var(--bg-color);
  text-decoration: underline;
}

.contect__massage {
  grid-area: span 1 / span 2 / span 1 / span 2;
  display: flex;
  justify-content: start;
  align-items: center;
  overflow: hidden;
  gap: 40px;
}

.contect__massage-img {
  z-index: 1;
  position: relative;
  overflow: hidden;
  flex: 1;
  height: 168px;
}

.contect__massage-img img {
  object-fit: cover;
  flex: 1;
  vertical-align: middle;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.contect__massage h2 {
  padding-top: 16px;
  font-size: 208px;
  margin: 0;
}

.footer__content {
  padding-top: 60px;
  padding-bottom: 16px;
  border-bottom: 1px solid #fff3;
  display: flex;
  justify-content: space-between;
}

.footer__links ul {
  display: flex;
  gap: 40px;
}

.footer__links a:hover {
  color: var(--bg-color);
}

.copyright {
  padding: 16px 0 24px 0;
}

.copyright__text {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

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

@media (max-width: 1024px) {
  h1 {
    font-size: 144px;
    line-height: 0.85;
  }
  h2 {
    font-size: 52px;
  }
  p {
    font-size: 18px;
    line-height: 1.5;
  }
  .btn--site {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .site-logo {
    position: relative;
    z-index: 12;
  }
  .navbar {
    position: fixed;
    inset: 0;
    z-index: 11;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #141414;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s,
      visibility 0.3s;
  }
  .site-header.is-open .navbar {
    opacity: 1;
    visibility: visible;
  }
  .navbar ul {
    flex-direction: column;
    gap: 16px;
  }
  .navbar li a {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 400;
    line-height: 1.1;
  }
  .navbar__mobile-only {
    display: block;
  }
  .hero__content {
    display: flex;
    flex-flow: column-reverse;
  }
  .hero__left-text {
    font-size: 18px;
    max-width: 500px;
  }
  .about__content p {
    font-size: 32px;
  }
  .banner__text {
    font-size: 144px;
  }
  .workout__card-content h2 {
    font-size: 32px;
  }
  .heading__class-left h2 {
    font-size: 52px;
  }
  .class__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .class__card {
    width: 100% !important;
  }
  /* No hover on touch: always show the description */
  .class-description {
    width: auto;
    height: auto !important;
  }
  .testimonial__card-img {
    aspect-ratio: 1;
  }
  .testimonial__card-content p {
    font-size: 20px;
  }
  .testimonial__card-content .label {
    font-size: 24px;
  }
  .contect__massage h2 {
    font-size: 144px;
  }
  .card-items-1 {
    grid-area: 1 / 1 / 2 / 4;
  }
  .card-items-2 {
    grid-area: 2 / 6 / 3 / 9;
  }
  .card-items-3 {
    grid-area: 3 / 1 / 4 / 4;
  }
  .card-items-4 {
    grid-area: 4 / 5 / 5 / 8;
  }
  .card-items-5 {
    grid-area: 5 / 1 / 6 / 4;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 112px;
  }
  p {
    font-size: 16px;
  }
  .hero__left p,
  .hero__rating-text {
    font-size: 16px;
  }
  .hero__rating-img img {
    width: 46px;
    height: 46px;
  }
  .hero__rating-stars {
    font-size: 16px;
  }
  .about__content p {
    font-size: 28px;
  }
  .workout__card-content h2 {
    font-size: 28px;
  }
  .heading__class-left h2 {
    font-size: 40px;
  }
  .heading__class-right p {
    font-size: 14px;
  }
  .heading--trainer h2 {
    font-size: 144px;
  }
  .testimonial__card-img {
    aspect-ratio: 3 / 4;
  }
  .testimonial__card-content p {
    font-size: 16px;
  }
  .logos__content {
    flex-flow: column;
    gap: 24px;
  }
  .logos__list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
  }
  .logos__list img {
    height: 32px;
  }
  .contect__content {
    display: flex;
    flex-flow: column;
  }
  .contect__massage h2 {
    font-size: 90px;
  }
  .location__content {
    display: flex;
    flex-flow: column;
    gap: 48px;
  }
  .location__map {
    position: static;
    width: 100%;
  }
  .location-list__titel {
    font-size: 28px;
  }
}

@media (max-width: 578px) {
  h1 {
    font-size: 80px;
  }
  h2 {
    font-size: 40px;
  }
  p {
    font-size: 14px;
  }
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .nav-toggle {
    right: 16px;
  }
  .navbar li a {
    font-size: 44px;
  }
  .btn {
    font-size: 14px;
  }
  /* Hero */
  .hero__cta {
    gap: 12px;
  }
  .hero__cta p {
    font-size: 12px;
    line-height: 1.5;
  }
  .hero__left {
    gap: 14px;
  }
  .hero__left p,
  .hero__rating-text {
    font-size: 14px;
  }
  .hero__rating {
    padding: 4px 12px;
  }
  /* Logos / About */
  .logos__content {
    padding-top: 20px;
    padding-bottom: 40px;
  }
  .section--about {
    padding: 80px 0;
  }
  .about__content {
    grid-template-columns: 1fr;
  }
  .about__content p {
    font-size: 24px;
  }
  /* Banner + workout cards (animations are desktop-only, see script.js) */
  .section--banner {
    padding-top: 80px;
  }
  .banner__text {
    font-size: 80px;
  }
  .workout__content {
    padding: 80px 0 0;
  }
  .workout__card-list {
    position: static;
    margin: 0;
    gap: 40px;
  }
  .workout__card-item {
    margin: 0;
    flex-flow: column-reverse;
    gap: 24px;
  }
  .workout__card-img {
    position: relative;
    width: 100%;
  }
  .workout__card-number {
    font-size: 32px;
  }
  .workout__card-content h2 {
    font-size: 24px;
    color: var(--color-white);
  }
  /* Classes */
  .section--classes {
    padding: 80px 0;
  }
  .heading--class {
    grid-template-columns: 1fr;
  }
  .heading__class-left h2 {
    font-size: 32px;
    line-height: 1.15;
    margin: 0;
  }
  .class__list {
    grid-template-columns: 1fr;
  }
  .class__card {
    height: 40vh;
    min-height: 260px;
  }
  /* Plans */
  .section--plans,
  .section--testimonial,
  .section--instagram,
  .section--location {
    padding: 60px 0;
  }
  .plans__card-content {
    padding: 32px 16px 16px;
  }
  .plans__card-price--text {
    font-size: 28px;
    overflow-wrap: anywhere;
  }
  /* Crew: simple two-column zig-zag */
  .heading--trainer h2 {
    font-size: 80px;
  }
  .trainer__cards {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    gap: 24px 12px;
  }
  .trainer__card-items {
    width: auto;
    max-width: none;
    padding: 10px;
  }
  .trainer__card-items img {
    width: 100%;
  }
  .card-items-1,
  .card-items-3,
  .card-items-5 {
    grid-column: 1;
  }
  .card-items-2,
  .card-items-4 {
    grid-column: 2;
  }
  .card-items-1 {
    grid-row: 1;
  }
  .card-items-2 {
    grid-row: 2;
  }
  .card-items-3 {
    grid-row: 3;
  }
  .card-items-4 {
    grid-row: 4;
  }
  .card-items-5 {
    grid-row: 5;
  }
  .trainer__name {
    font-size: 16px;
  }
  .trainer__role,
  .trainer__cert,
  .trainer__bio {
    font-size: 12px;
  }
  /* Testimonials */
  .testimonial__item-content {
    gap: 24px;
    grid-template-columns: 1fr;
  }
  .testimonial__card-img {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
  .testimonial__card-content {
    padding-bottom: 56px;
  }
  .testimonial__slider-btn {
    top: auto;
    bottom: 0;
    left: auto;
    right: 56px;
    width: 48px;
    height: 48px;
    font-size: 32px;
    transform: none;
  }
  .testimonial__slider-next {
    left: auto;
    right: 0;
  }
  /* Location */
  .location-list__titel {
    font-size: 22px;
  }
  .location__list-tag {
    font-size: 16px;
  }
  /* Contact + footer */
  .section--contect {
    padding: 60px 0 40px;
  }
  .contect__content {
    gap: 32px;
  }
  .contect__email {
    font-size: 28px;
    overflow-wrap: anywhere;
  }
  .contect__massage {
    gap: 16px;
  }
  .contect__massage h2 {
    font-size: 48px;
  }
  .contect__massage-img {
    height: 100px;
  }
  .site-footer {
    background-color: #000;
  }
  .footer__content {
    flex-flow: column;
    gap: 16px;
  }
  .footer__links ul {
    flex-wrap: wrap;
    gap: 8px 16px;
  }
  .footer__links li {
    font-size: 14px;
  }
}

/* Disable CSS transitions only. Never set a duration on every element:
   that turns on "transition: all" everywhere and breaks GSAP .from() tweens. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
