/* ============================================================
   SWEAT440 TEST SITE — MASTER STYLESHEET
   Brand Book Compliant | StoryBrand 2.0 Framework
   ============================================================ */

/* --- CSS CUSTOM PROPERTIES (Brand Tokens) --- */
:root {
  /* Brand Colors */
  --blue-intensity: #007FAD;
  --green-energy: #00FFC2;
  --black-barbell: #0B0500;
  --gray-routine: #5D576B;
  --red-warning: #FF4D00;
  --white: #FFFFFF;

  /* Extended palette */
  --blue-dark: #0077A8;
  --blue-deeper: #005A80;
  --black-true: #000000;
  --gray-light: #F5F5F5;
  --gray-mid: #E0E0E0;
  --gray-text: #333333;

  /* Typography */
  --font-headline: 'Oswald', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --container-max: 1440px;
  --container-content: 1200px;
  --container-narrow: 800px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 50px;
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray-text);
  background-color: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: 500;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin-bottom: 1rem;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

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

.text-green { color: var(--green-energy); }
.text-blue { color: var(--blue-intensity); }
.text-positive { color: var(--blue-intensity); }
.text-white { color: var(--white); }
.text-gray { color: var(--gray-routine); }

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: var(--container-content);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: var(--container-max);
}

.section {
  padding: var(--space-2xl) 0;
}

.section--lg {
  padding: var(--space-3xl) 0;
}

/* Background variants */
.bg-blue { background-color: var(--blue-intensity); }
.bg-black { background-color: var(--black-barbell); }
.bg-white { background-color: var(--white); }
.bg-gray { background-color: var(--gray-light); }
.bg-dark-gradient {
  background: linear-gradient(135deg, var(--blue-intensity) 0%, var(--black-barbell) 100%);
}

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

.text-center { text-align: center; }

/* --- BUTTON GROUP (keeps a gap on both axes when buttons wrap to stacked on mobile) --- */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-headline);
  font-weight: 500;
  font-style: italic;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--blue-intensity);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* White CTA — for dark or blue backgrounds (hero, final CTA, stakes) */
.btn--white {
  background-color: var(--white);
  color: var(--black-barbell);
}

.btn--white:hover {
  background-color: var(--gray-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Green CTA — reserved for the "Your Plan" section only.
   Green use is stripped sitewide for now (2026-09); this rule renders
   blue-intensity so any element still classed .btn--green matches the
   rest of the site. Flip background-color back to var(--green-energy)
   (and color back to var(--black-barbell)) to bring green back later. */
.btn--green {
  background-color: var(--blue-intensity);
  color: var(--white);
}

.btn--green:hover {
  filter: brightness(0.92);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

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

.btn--outline-dark {
  background-color: transparent;
  color: var(--black-barbell);
  border: 2px solid var(--black-barbell);
}

.btn--outline-dark:hover {
  background-color: var(--black-barbell);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--blue-intensity);
  padding: 0.5rem 0;
  border-bottom: 2px solid var(--blue-intensity);
  border-radius: 0;
}

.btn--ghost:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

.btn--lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* Gated CTAs (studio-picker "select then submit" flows) start disabled
   until a valid selection is made. */
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* --- TOP UTILITY BAR --- */
.utility-bar {
  background-color: var(--black-barbell);
  text-align: center;
  padding: 0.5rem var(--space-sm);
}

.utility-bar a {
  font-family: var(--font-headline);
  font-weight: 500;
  font-style: italic;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
}

.utility-bar a:hover {
  opacity: 0.8;
}

/* --- HEADER / NAV --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--black-barbell);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem var(--space-md);
  max-width: var(--container-max);
  margin: 0 auto;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  font-family: var(--font-headline);
  font-weight: 500;
  font-style: italic;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
}

/* Logo mark — real SWEAT440 lockup, sized to the header row.
   flex-shrink/max-width overrides stop flexbox and the global
   img{max-width:100%} reset from squeezing the width while
   height stays fixed, which stretches the lockup out of ratio. */
.header__logo img {
  display: block;
  height: 28px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.header__nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--white);
  transition: width var(--transition-base);
}

.header__nav-link:hover::after,
.header__nav-link.active::after {
  width: 100%;
}

.header__cta {
  margin-left: var(--space-sm);
}

/* Mobile menu toggle */
.header__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.header__mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  transition: all var(--transition-base);
}

/* Mobile menu open state */
.header__mobile-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.header__mobile-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--blue-intensity);
}

.hero--short {
  min-height: 60vh;
}

.hero--compact {
  min-height: 45vh;
}

/* Dark variant — used for interior-page heroes waiting on a real photo */
.hero--dark {
  background-color: var(--black-barbell);
}

.hero--dark .hero__bg::after {
  background: linear-gradient(
    to right,
    rgba(11, 5, 0, 0.92) 0%,
    rgba(11, 5, 0, 0.65) 50%,
    rgba(11, 5, 0, 0.35) 100%
  );
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 127, 173, 0.9) 0%,
    rgba(0, 127, 173, 0.65) 50%,
    rgba(0, 127, 173, 0.35) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: var(--space-2xl) 0;
}

.hero__tagline {
  display: inline-block;
  color: var(--white);
  font-family: var(--font-headline);
  font-weight: 500;
  font-style: italic;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-sm);
}

.hero__title {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.hero__ctas {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero__finder {
  margin-top: var(--space-lg);
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
}

.hero__finder input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 0.95rem;
}

.hero__finder input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.hero__finder input:focus {
  outline: none;
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.25);
}

.hero__finder button {
  padding: 0.75rem 1.25rem;
  background-color: var(--white);
  color: var(--black-barbell);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
}

.hero__stat {
  margin-top: var(--space-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: 0.95rem;
}

.hero__stat .material-icons {
  color: var(--white);
  font-size: 1.2rem;
}

/* --- CARDS --- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card--dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card--dark:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 127, 173, 0.1);
  margin-bottom: var(--space-md);
}

.card__icon .material-icons {
  color: var(--blue-intensity);
  font-size: 1.75rem;
}

.card__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.card__text {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
}

/* Card grid layouts */
.card-grid {
  display: grid;
  gap: var(--space-lg);
}

/* Mobile: slide 1 card at a time instead of stacking (matches the "We've
   Got You" carousel pattern). Desktop restores the 3-up grid below. */
.card-grid--3 {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: var(--space-md);
  padding: 0 0 var(--space-sm);
}

.card-grid--3::-webkit-scrollbar {
  display: none;
}

.card-grid--3 > * {
  flex: 0 0 100%;
  max-width: 100%;
  scroll-snap-align: center;
}

.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

/* --- SECTION HEADERS --- */
.section-header {
  margin-bottom: var(--space-xl);
}

.section-header__label {
  display: inline-block;
  font-family: var(--font-headline);
  font-weight: 500;
  font-style: italic;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--blue-intensity);
  margin-bottom: var(--space-sm);
}

.section-header__title {
  margin-bottom: var(--space-md);
}

.section-header__subtitle {
  max-width: 600px;
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.8;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-header__subtitle {
  margin: 0 auto;
}

/* --- STEP TIMELINE (3-Step Plan) --- */
.steps {
  display: flex;
  gap: var(--space-lg);
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  height: 3px;
  background: rgba(0, 127, 173, 0.25);
  z-index: 0;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--blue-intensity);
  color: var(--white);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.step__title {
  font-size: 1.15rem;
  margin-bottom: var(--space-xs);
}

.step__text {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.5;
}

/* --- DIAGONAL STRIPE ACCENT --- */
.stripe-accent {
  position: relative;
  overflow: hidden;
}

.stripe-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10%;
  width: 120%;
  height: 6px;
  background: repeating-linear-gradient(
    60deg,
    var(--blue-intensity),
    var(--blue-intensity) 12px,
    transparent 12px,
    transparent 24px
  );
}

/* --- ALTERNATING CONTENT ROWS --- */
.content-row {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
}

.content-row--reverse {
  flex-direction: row-reverse;
}

.content-row__media {
  flex: 1;
  min-width: 0;
}

.content-row__media img,
.content-row__media .placeholder-img {
  border-radius: var(--radius-md);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.content-row__body {
  flex: 1;
  min-width: 0;
}

.content-row__body h3 {
  margin-bottom: var(--space-sm);
}

/* --- PLACEHOLDER IMAGE --- */
.placeholder-img {
  background: linear-gradient(135deg, var(--blue-intensity) 0%, var(--blue-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-headline);
  font-style: italic;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
}

.placeholder-img--hero {
  aspect-ratio: unset;
  position: absolute;
  inset: 0;
  border-radius: 0;
}

/* --- STAT CALLOUTS --- */
.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-headline);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--blue-intensity);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat__label {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

/* --- TESTIMONIAL CAROUSEL --- */
.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-card {
  min-width: 100%;
  padding: var(--space-lg);
  text-align: center;
}

.testimonial-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--gray-mid);
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--gray-routine);
}

.testimonial-card__quote {
  font-size: 1.1rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-md);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-card__name {
  font-family: var(--font-headline);
  font-weight: 500;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.testimonial-card__role {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--space-md);
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.testimonial-dot.active {
  background-color: var(--blue-intensity);
}

/* --- PRICING CARDS --- */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all var(--transition-base);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  border-color: var(--blue-intensity);
}

.pricing-card--featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--blue-intensity);
  color: var(--white);
  font-family: var(--font-headline);
  font-weight: 500;
  font-style: italic;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-pill);
}

.pricing-card__name {
  font-family: var(--font-headline);
  font-weight: 500;
  font-style: italic;
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--blue-intensity);
  margin-bottom: var(--space-sm);
}

.pricing-card__price {
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: 2.5rem;
  color: var(--black-barbell);
  margin-bottom: var(--space-xs);
}

.pricing-card__price span {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.6;
}

.pricing-card__features {
  margin: var(--space-md) 0 var(--space-lg);
  text-align: left;
}

.pricing-card__feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--gray-light);
}

.pricing-card__feature:last-child {
  border-bottom: none;
}

.pricing-card__feature .material-icons {
  color: var(--blue-intensity);
  font-size: 1.25rem;
}

/* --- ACCORDION (FAQ) --- */
.accordion {}

.accordion__item {
  border-bottom: 1px solid var(--gray-mid);
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-md) 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-text);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}

.accordion__trigger .material-icons {
  color: var(--blue-intensity);
  transition: transform var(--transition-base);
  font-size: 1.5rem;
}

.accordion__item.open .accordion__trigger .material-icons {
  transform: rotate(180deg);
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.accordion__body {
  padding-bottom: var(--space-md);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-routine);
}

/* --- FORM STYLES --- */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.375rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-select option {
  background-color: var(--black-barbell);
  color: var(--white);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* --- CHECKLIST (Agreement Plan) --- */
.checklist {
  max-width: 500px;
}

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.checklist__item .material-icons {
  color: var(--white);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.checklist__text {
  font-size: 1rem;
  line-height: 1.5;
}

/* --- LOCATION CARDS --- */
.location-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--blue-intensity);
  transition: all var(--transition-base);
}

.location-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.location-card__name {
  font-family: var(--font-headline);
  font-weight: 500;
  font-style: italic;
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--blue-intensity);
  margin-bottom: var(--space-sm);
}

.location-card__detail {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--gray-routine);
}

.location-card__detail .material-icons {
  font-size: 1.1rem;
  color: var(--blue-intensity);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.location-card__badge {
  display: inline-block;
  background-color: var(--blue-intensity);
  color: var(--white);
  font-family: var(--font-headline);
  font-weight: 500;
  font-style: italic;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-sm);
}

.location-card__ctas {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--space-md);
}

/* --- FOOTER --- */
.footer {
  background-color: var(--black-barbell);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__logo {
  font-family: var(--font-headline);
  font-weight: 500;
  font-style: italic;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--blue-intensity);
  font-family: var(--font-headline);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.footer__heading {
  font-family: var(--font-headline);
  font-weight: 500;
  font-style: italic;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.footer__link {
  display: block;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--blue-intensity);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer__contact-item .material-icons {
  font-size: 1.1rem;
  color: var(--blue-intensity);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--space-md);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background-color: var(--blue-intensity);
  color: var(--white);
  border-color: var(--blue-intensity);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer__legal-links {
  display: flex;
  gap: var(--space-md);
}

.footer__legal-links a {
  color: rgba(255, 255, 255, 0.5);
}

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

/* --- SCROLL ANIMATIONS --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- RESPONSIVE: TABLET (768px) --- */
@media (max-width: 768px) {
  .header__nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--black-barbell);
    padding: var(--space-md);
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header__nav-list.open {
    display: flex;
  }

  .header__nav-link {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .header__mobile-toggle {
    display: flex;
  }

  .header__cta {
    display: none;
  }

  .hero {
    min-height: 70vh;
  }

  .hero--short {
    min-height: 50vh;
  }

  .hero__content {
    padding: var(--space-xl) 0;
  }

  .hero__finder {
    flex-direction: column;
    max-width: 100%;
  }

  .card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Slide horizontally instead of stacking (matches the "We've Got You"
     carousel pattern) so 3 steps stay reachable without long vertical
     scrolling on mobile. */
  .steps {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: var(--space-md);
    padding: 0 0 var(--space-sm);
  }

  .steps::-webkit-scrollbar {
    display: none;
  }

  .steps::before {
    display: none;
  }

  .step {
    flex: 0 0 82%;
    scroll-snap-align: center;
  }

  .content-row,
  .content-row--reverse {
    flex-direction: column;
    gap: var(--space-lg);
  }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .section--lg {
    padding: var(--space-2xl) 0;
  }
}

/* --- RESPONSIVE: MOBILE (375px) --- */
@media (max-width: 375px) {
  :root {
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 5rem;
  }

  .hero {
    min-height: 80vh;
  }

  .hero__ctas {
    flex-direction: column;
  }

  .hero__ctas .btn {
    width: 100%;
    text-align: center;
  }

  .card-grid--4,
  .card-grid--2 {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .pricing-card {
    padding: var(--space-lg);
  }

  .location-card__ctas {
    flex-direction: column;
  }

  .location-card__ctas .btn {
    width: 100%;
    text-align: center;
  }
}

/* --- RESPONSIVE: DESKTOP WIDE (1440px+) --- */
@media (min-width: 1440px) {
  .container {
    padding: 0 var(--space-xl);
  }

  .hero__content {
    max-width: 700px;
  }

  .section--lg {
    padding: var(--space-3xl) 0;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 3rem;
  }
}

/* --- PRINT STYLES --- */
@media print {
  .header, .utility-bar, .footer {
    display: none;
  }

  .hero {
    min-height: auto;
    background: none !important;
  }

  .hero__bg {
    display: none;
  }

  .hero__content {
    color: var(--black-barbell);
  }

  .section {
    padding: 1rem 0;
  }
}
