/* =========================================================
   CARREON GYM FITNESS
   Easy-edit static website
   Palette: Black / White / Red
   ========================================================= */

:root {
  --black: #0b0b0b;
  --black-soft: #151515;
  --white: #ffffff;
  --off-white: #f3f3f3;
  --gray: #9a9a9a;
  --gray-dark: #2a2a2a;
  --red: #d71920;
  --red-dark: #a90f15;
  --max-width: 1180px;
  --radius: 8px;
  --shadow: 0 20px 50px rgba(0, 0, 0, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
}

img,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(92%, var(--max-width));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 14px;
  color: var(--white);
  background: var(--red);
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 11, 11, .96);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--red);
  color: var(--white);
  font-size: 1.25rem;
  transform: skew(-8deg);
}

.brand-text {
  font-size: .86rem;
}

.brand-text strong {
  color: var(--red);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 700;
}

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

.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--red);
}

.menu-toggle {
  display: none;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 1.45rem;
  cursor: pointer;
}

/* HERO */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;

  background:
    linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.62) 48%, rgba(0,0,0,.25) 100%),
    url("../images/gym-03.webp") center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 720px;
  right: 7%;
  top: 4%;
  border: 32px solid rgba(255,255,255,.035);
  transform: skew(-10deg);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.15)),
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,.018) 0,
      rgba(255,255,255,.018) 1px,
      transparent 1px,
      transparent 12px
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 110px 84px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--red);
}

.hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(3.5rem, 9vw, 7.8rem);
  line-height: .87;
  letter-spacing: -.055em;
  font-weight: 950;
}

.hero h1 span {
  color: var(--red);
}

.hero-copy {
  max-width: 690px;
  margin: 30px 0 0;
  color: #d5d5d5;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .055em;
  cursor: pointer;
  transition: .2s ease;
}

.btn-primary {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-outline {
  color: var(--white);
  background: transparent;
  border-color: rgba(255,255,255,.7);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  color: var(--black);
  background: var(--white);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  max-width: 760px;
  margin-top: 64px;
  border-top: 1px solid rgba(255,255,255,.18);
}

.hero-facts div {
  padding: 22px 20px 10px 0;
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  font-size: .9rem;
}

.hero-facts span {
  color: var(--gray);
  font-size: .86rem;
}

/* SECTIONS */
.section {
  padding: 95px 0;
}

.section-light {
  background: var(--white);
}

.section-dark {
  color: var(--white);
  background: var(--black);
}

.two-column {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 80px;
}

.section h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: .95;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--black);
}

.section-kicker.red {
  color: var(--red);
}

.prose {
  font-size: 1.06rem;
}

.prose p:first-child {
  margin-top: 0;
}

.note {
  padding-left: 16px;
  border-left: 4px solid var(--red);
  color: #555;
}

.section-heading {
  max-width: 820px;
}

.section-heading > p:not(.section-kicker) {
  color: #bcbcbc;
  max-width: 700px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.card {
  min-height: 260px;
  padding: 30px;
  background: var(--black-soft);
  border: 1px solid var(--gray-dark);
  border-top: 4px solid var(--red);
}

.card-number {
  color: var(--red);
  font-weight: 900;
  letter-spacing: .1em;
}

.card h3 {
  margin: 50px 0 8px;
  font-size: 1.7rem;
  text-transform: uppercase;
}

.card p {
  margin: 0;
  color: #b5b5b5;
}

.training-disclaimer {
  margin-top: 20px;
  max-width: 860px;
  color: #777;
  font-size: .86rem;
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.hours-grid > div:first-child > p:last-child {
  max-width: 540px;
  color: #555;
}

.hours-card {
  padding: 10px 30px;
  background: var(--off-white);
  border-left: 5px solid var(--red);
  box-shadow: var(--shadow);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #d9d9d9;
}

.text-link {
  display: inline-block;
  margin: 20px 0;
  color: var(--red);
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* LOCATION */
.location-section {
  color: var(--white);
  background: #111;
}

.location-section address {
  margin-top: 22px;
  color: #c7c7c7;
  font-style: normal;
  font-size: 1.05rem;
}

.light-link {
  color: var(--white);
}

.map-frame {
  margin: 36px 0 22px;
  border: 1px solid #333;
  background: #222;
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 430px;
}

/* INQUIRY */
.inquiry-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.inquiry-grid > div > p {
  color: #555;
}

.contact-box {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid #ddd;
}

.contact-box span,
.contact-box a {
  display: block;
}

.contact-box span {
  color: #666;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.contact-box a {
  margin-top: 4px;
  font-size: 1.3rem;
  font-weight: 900;
  text-decoration: none;
}

.inquiry-form {
  padding: 32px;
  background: var(--off-white);
  border-top: 5px solid var(--red);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  font-weight: 800;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--black);
  background: var(--white);
  border: 1px solid #cfcfcf;
  border-radius: 3px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 3px solid rgba(215,25,32,.14);
  border-color: var(--red);
}

.full-width {
  width: 100%;
}

.form-note {
  margin: 12px 0 0;
  color: #777;
  font-size: .82rem;
  text-align: center;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
}

/* FOOTER */
.site-footer {
  padding: 54px 0 26px;
  color: #c7c7c7;
  background: #050505;
  border-top: 4px solid var(--red);
}

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

.site-footer p {
  margin: 8px 0 0;
}

.site-footer a {
  text-decoration: none;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid #252525;
  font-size: .85rem;
}

.powered-by {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #bdbdbd;
  font-size: .8rem;
}

.powered-by img {
  width: 34px;
  height: auto;
  display: block;
}

.powered-by strong {
  color: var(--white);
  font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 4%;
    background: var(--black);
    border-top: 1px solid #222;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid #222;
  }

  .nav-cta {
    border: 0;
  }

  .hero {
    min-height: 640px;
  }

  .hero-facts,
  .cards {
    grid-template-columns: 1fr;
  }

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

  .hero-facts div {
    border-bottom: 1px solid rgba(255,255,255,.1);
  }

  .two-column,
  .hours-grid,
  .inquiry-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 72px 0;
  }

  .brand-text {
    font-size: .72rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hours-row {
    flex-direction: column;
    gap: 4px;
  }

  .inquiry-form {
    padding: 24px 18px;
  }

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

  .powered-by {
    width: 100%;
  }
}


/* =========================================================
   SOCIAL + CONTACT DETAILS
   ========================================================= */

.location-contacts {
  margin-top: 18px;
}

.location-contacts p {
  margin: 4px 0;
  color: #c7c7c7;
}

.location-contacts .text-link {
  margin: 4px 0;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-facebook {
  color: var(--white);
  background: #1877f2;
  border-color: #1877f2;
}

.btn-facebook:hover,
.btn-facebook:focus-visible {
  background: #0f63d8;
  border-color: #0f63d8;
}

.contact-item {
  padding: 16px 0;
  border-bottom: 1px solid #ddd;
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-item span {
  display: block;
  color: #666;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.contact-item a {
  display: inline-block;
  margin-top: 4px;
  color: var(--black);
  font-size: 1.08rem;
  font-weight: 900;
  text-decoration: none;
}

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

.contact-item p {
  margin: 4px 0 0;
  color: var(--black);
}

@media (max-width: 560px) {
  .location-actions .btn {
    width: 100%;
  }
}

/* =========================================================
   RATES
   ========================================================= */

.rates-heading {
  margin-bottom: 32px;
}

.rate-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.rate-card {
  position: relative;
  padding: 32px 24px;
  background: var(--white);
  border: 2px solid #e4e4e4;
  text-align: center;
}

.rate-card h3 {
  margin: 0;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.rate-price {
  margin: 14px 0 0;
  color: var(--red);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
}

.rate-price span {
  font-size: .55em;
  vertical-align: top;
}

.rates-note {
  margin: 28px auto 0;
  max-width: 680px;
  color: #666;
  text-align: center;
}

.service-rates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.service-rate-card {
  padding: 30px;
  color: var(--white);
  background: var(--black-soft);
  border-top: 5px solid var(--red);
}

.service-rate-card h3 {
  margin: 2px 0 18px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-transform: uppercase;
}

.service-rate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.16);
}

.service-rate-row strong {
  color: var(--red);
  font-size: 1.3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.08);
  transition: transform .25s ease, border-color .25s ease;
}

.gallery-grid img:hover {
  z-index: 1;
  border-color: var(--red);
  transform: scale(1.025);
}

.gallery-grid img:nth-child(2),
.gallery-grid img:nth-child(7) {
  grid-column: span 2;
}

@media (max-width: 720px) {
  .rate-cards {
    grid-template-columns: 1fr;
  }

  .service-rates {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 170px;
  }

  .gallery-grid img:nth-child(2),
  .gallery-grid img:nth-child(7) {
    grid-column: span 2;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  .rate-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
