/* ===== Temprano Promotions — Design System ===== */

:root {
  --sky-blue: #1CA9FE;
  --midnight-navy: #0D1B2A;
  --white: #FFFFFF;
  --victory-gold: #D4A017;
  --slate-gray: #4B5563;
  --steel-silver: #B0B7C3;
  --athletic-black: #111111;

  --gradient-signature: linear-gradient(180deg, #1CA9FE 0%, #001C5B 100%);

  --font-heading: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --container-max: 1200px;
  --container-pad: 20px;
}

@media (min-width: 768px) {
  :root { --container-pad: 40px; }
}

@media (min-width: 1200px) {
  :root { --container-pad: 56px; }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--midnight-navy);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.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;
}

/* ===== Header (Coming Soon page) ===== */

.site-header {
  background: transparent;
  position: relative;
  z-index: 10;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 20px;
}

@media (min-width: 768px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(32px, 5vw, 64px);
    padding-bottom: 14px;
  }
}

.header-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.header-countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .header-countdown-block { align-items: flex-start; text-align: left; }
}

.header-headline {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--sky-blue);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

.logo {
  height: 220px;
  width: 220px;
  padding-bottom: 6px;
}

/* ===== Social icons (used in header and footer) ===== */

.social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0 0 4px;
  flex-shrink: 0;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.social-icon:hover,
.social-icon:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.social-icon:focus-visible {
  outline: 2px solid var(--sky-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.social-icon img {
  width: 100%;
  height: 100%;
}

/* ===== Carousel ===== */

.carousel {
  position: relative;
  overflow: hidden;
  height: clamp(160px, 24vw, 220px);
  background-color: var(--midnight-navy);
}

.carousel::before {
  content: "";
  position: absolute;
  inset: -6px;
  background-image: url("../assets/images/temprano-carousel.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(12px) brightness(0.32) saturate(1.1);
  z-index: 0;
}

.carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side, rgba(13, 27, 42, 0.55), rgba(13, 27, 42, 0.15) 75%);
  z-index: 0;
}

.carousel-inner {
  position: relative;
  z-index: 1;
  height: 100%;
}

.carousel-slides {
  position: relative;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease;
}

.carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.carousel-caption {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  font-size: clamp(1.05rem, 3vw, 1.875rem);
  line-height: 1.35;
  letter-spacing: -0.005em;
  text-align: center;
  max-width: 900px;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.carousel-caption-accent {
  color: var(--sky-blue);
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-dot.is-active {
  background: var(--sky-blue);
  transform: scale(1.25);
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.carousel-dot:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .carousel-dots { bottom: 22px; gap: 10px; }
  .carousel-dot { width: 9px; height: 9px; }
}

/* ===== Hero ===== */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--midnight-navy);
  padding-top: clamp(48px, 9vh, 96px);
  padding-bottom: clamp(48px, 9vh, 96px);
  min-height: 82svh;
  display: flex;
  align-items: center;
}

/* Used on pages with a fixed .site-nav overlaying the hero, so content
   clears the nav bar instead of sitting underneath it. */
.hero-nav-offset {
  padding-top: calc(var(--nav-height) + clamp(28px, 7vh, 72px));
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 90%;
  background: radial-gradient(closest-side, rgba(28, 169, 254, 0.35), rgba(28, 169, 254, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-rays {
  position: absolute;
  top: 50%;
  right: -12%;
  width: min(120vw, 1100px);
  height: auto;
  transform: translateY(-50%);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  animation: hero-rotate 140s linear infinite;
}

@keyframes hero-rotate {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-blue);
  margin: 0 0 18px;
}

@media (min-width: 768px) {
  .eyebrow { font-size: 13px; margin-bottom: 22px; }
}

/* ===== Countdown ===== */

.countdown {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 40px);
  margin: 0 0 28px;
}

.countdown--header {
  gap: clamp(14px, 3vw, 28px);
  margin: 0;
  justify-content: center;
}

@media (min-width: 768px) {
  .countdown--header { justify-content: flex-start; }
}

.countdown-segment {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.countdown-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.countdown-value--accent {
  color: var(--victory-gold);
}

.countdown-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(0.7rem, 1.2vw, 0.8rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-silver);
  margin-top: 6px;
}

.countdown--header .countdown-value {
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  color: var(--steel-silver);
}

.countdown--header .countdown-value--accent {
  color: var(--victory-gold);
}

/* ===== Dividers ===== */

.hero-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  width: 100%;
  margin: 0 0 28px;
}

.hero-divider--copy {
  max-width: 620px;
}

@media (min-width: 768px) {
  .hero-divider { margin-bottom: 32px; }
}

.tagline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(0.8rem, 2vw, 1rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky-blue);
}

.tagline-divider {
  color: var(--victory-gold);
  font-weight: 700;
}

@media (min-width: 768px) {
  .tagline { margin-bottom: 28px; gap: 14px; }
}

.hero-copy {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.6vw, 1.125rem);
  line-height: 1.65;
  color: var(--steel-silver);
  max-width: 620px;
  margin: 0 0 36px;
}

/* ===== Signup ===== */

.signup { max-width: 520px; }

.pre-signup-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  font-size: clamp(1.375rem, 4vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}

@media (min-width: 768px) {
  .pre-signup-heading { margin-bottom: 22px; }
}

.signup-lead {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.6;
  color: var(--steel-silver);
  margin: 0 0 20px;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 560px) {
  .signup-form { flex-direction: row; }
}

.signup-input {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--midnight-navy);
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 15px 18px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.signup-input::placeholder { color: var(--slate-gray); }

.signup-input:focus {
  border-color: var(--sky-blue);
  box-shadow: 0 0 0 4px rgba(28, 169, 254, 0.2);
}

.signup-input.is-invalid {
  border-color: var(--victory-gold);
}

.signup-button {
  flex: 0 0 auto;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--midnight-navy);
  background: var(--sky-blue);
  border: none;
  border-radius: 8px;
  padding: 15px 28px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.signup-button:hover { background: #46bbfe; }
.signup-button:active { transform: translateY(1px); }

.signup-button:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.signup-button:disabled {
  opacity: 0.7;
  cursor: default;
}

.signup-note {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--steel-silver);
  margin: 14px 2px 0;
  transition: color 0.2s ease;
}

@media (min-width: 768px) {
  .signup-note { font-size: 14px; }
}

.signup-note.is-success { color: var(--victory-gold); font-weight: 500; }
.signup-note.is-error { color: var(--white); }

/* ===== Footer ===== */

.site-footer {
  background: var(--midnight-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 6px;
  padding-bottom: 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.footer-logo-btn {
  display: inline-flex;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.footer-logo-btn:focus-visible {
  outline: 2px solid var(--sky-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.footer-icon {
  width: 28px;
  height: 28px;
  opacity: 0.85;
  margin-bottom: 4px;
  transition: opacity 0.2s ease;
}

.footer-logo-btn:hover .footer-icon,
.footer-logo-btn:focus-visible .footer-icon,
.footer-logo-btn:hover .footer-icon-lg,
.footer-logo-btn:focus-visible .footer-icon-lg {
  opacity: 1;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-silver);
  margin: 0;
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--steel-silver);
  opacity: 0.75;
  margin: 0;
}

.footer-credit {
  color: var(--sky-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-credit:hover,
.footer-credit:focus-visible {
  color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  .hero-rays { animation: none; }
  .carousel-slide { transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ===== Coming-soon single-hero layout (used only where .is-single-hero is present) ===== */

@media (max-width: 767px) {
  body.is-single-hero { display: flex; flex-direction: column; min-height: 100svh; }
  body.is-single-hero main { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
  body.is-single-hero .hero { min-height: 0; }
}

/* ============================================================
   Site Navigation (transparent-over-hero -> solid-on-scroll)
   ============================================================ */

:root {
  --nav-height: 84px;
  --transition-base: 280ms cubic-bezier(0.4, 0, 0.2, 1);
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(28, 169, 254, 0.15);
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--transition-base), height var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.site-nav.is-scrolled,
.site-nav.is-solid-default {
  background: rgba(13, 27, 42, 0.94);
  backdrop-filter: blur(10px);
  height: 68px;
  border-bottom-color: rgba(28, 169, 254, 0.18);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 64px;
  flex-shrink: 0;
}

.nav-logo img { height: 100%; width: auto; }

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.5em 0;
  transition: color var(--transition-base), opacity var(--transition-base);
}

.nav-link:hover,
.nav-link:focus-visible { color: var(--sky-blue); }

.nav-item-dropdown { position: relative; }

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  background: none;
  border: none;
  font: inherit;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  padding: 0.5em 0;
  transition: color var(--transition-base);
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible { color: var(--sky-blue); }

/* Current-page indicator: stays on regardless of hover, and adds an
   underline so it reads as "you are here" rather than just a hover state. */
.nav-link.is-active,
.nav-dropdown-toggle.is-active {
  color: var(--sky-blue);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.nav-dropdown-toggle .chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition-base);
  margin-top: -4px;
}

.nav-item-dropdown.is-open .chevron { transform: rotate(225deg); margin-top: 4px; }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 260px;
  background: #10233a;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
}

.nav-item-dropdown.is-open .nav-dropdown-menu,
.nav-item-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.7em 1em;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background var(--transition-base), color var(--transition-base);
}

.nav-dropdown-menu a:hover { background: rgba(28, 169, 254, 0.12); color: var(--sky-blue); }

.nav-dropdown-menu .nav-dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 4px;
}

.nav-cta-wrap { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-cta.btn-primary { padding: 0.7em 1.5em; font-size: 0.88rem; }

.nav-toggle {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

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

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

/* ===== Mobile nav overlay ===== */

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--midnight-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
}

.mobile-nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-overlay .nav-link { font-size: 1.3rem; padding: 0; }

.mobile-nav-overlay .nav-item-dropdown { display: flex; flex-direction: column; align-items: center; }
.mobile-nav-overlay .nav-dropdown-toggle { font-size: 1.3rem; }

.mobile-nav-overlay .nav-dropdown-menu {
  position: static;
  transform: none;
  opacity: 1;
  visibility: visible;
  box-shadow: none;
  background: transparent;
  border: none;
  min-width: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.mobile-nav-overlay .nav-item-dropdown.is-open .nav-dropdown-menu {
  display: flex;
  transform: none;
}
.mobile-nav-overlay .nav-dropdown-menu a { font-size: 1rem; text-align: center; }
.mobile-nav-overlay .nav-dropdown-menu .nav-dropdown-divider { display: none; }

.mobile-nav-overlay { overflow-y: auto; padding: 32px 20px; }

@media (min-width: 1024px) {
  .mobile-nav-overlay { display: none !important; }
}

/* ============================================================
   Buttons (shared)
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.95em 1.9em;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base), transform 0.15s ease;
}

.btn-primary { background: var(--sky-blue); color: var(--midnight-navy); }
.btn-primary:hover { background: #46bbfe; }
.btn-primary:active { transform: translateY(1px); }

.btn-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.btn-outline:hover { border-color: var(--sky-blue); color: var(--sky-blue); }

.btn-gold { background: var(--victory-gold); color: var(--midnight-navy); }
.btn-gold:hover { background: #e6b52a; }

.btn:focus-visible { outline: 2px solid var(--sky-blue); outline-offset: 2px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.7; cursor: default; }

/* ============================================================
   Page hero (subpages)
   ============================================================ */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 56px;
  background: var(--midnight-navy);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(28, 169, 254, 0.28), rgba(28, 169, 254, 0) 70%);
  pointer-events: none;
}

.page-hero-inner { position: relative; z-index: 1; max-width: 760px; }

.page-hero h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

.page-hero-copy {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.65;
  color: var(--steel-silver);
  max-width: 640px;
  margin: 0;
}

/* ============================================================
   Section / layout utilities
   ============================================================ */

.section { padding: 72px 0; }
.section-alt { background: rgba(255, 255, 255, 0.025); }
.section-tight { padding: 48px 0; }

/* Bright White panel — a deliberate light/dark break for "clean contrast"
   and negative space per the brand doc, used on closing CTA sections. */
.section-light {
  background: var(--white);
}

.section-light .eyebrow { color: #001C5B; }
.section-light .section-header h2 { color: var(--midnight-navy); }
.section-light .section-header p { color: var(--slate-gray); }
.section-light .value-item h4 { color: var(--midnight-navy); }
.section-light .value-item p { color: var(--slate-gray); }

/* Slate Gray panel — a mid-tone break between two white sections. Dark
   enough that it keeps the standard light-on-dark text treatment (white
   heading), just with a lighter body copy than steel-silver since plain
   steel-silver falls short of AA contrast against this background. */
.section-slate { background: var(--slate-gray); }
.section-slate .eyebrow { color: var(--white); }
.section-slate .section-header p { color: rgba(255, 255, 255, 0.8); }

@media (min-width: 768px) {
  .section { padding: 104px 0; }
  .section-tight { padding: 64px 0; }
}

.section-header { max-width: 680px; margin: 0 0 48px; }
.section-header.is-centered { margin-left: auto; margin-right: auto; text-align: center; }

.section-header h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--white);
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

.section-header p {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.65;
  color: var(--steel-silver);
  margin: 0;
}

.divider-rule {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 0 40px;
}

/* ============================================================
   Cards
   ============================================================ */

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 32px;
}

.card-link { display: block; text-decoration: none; color: inherit; transition: border-color var(--transition-base), transform var(--transition-base); }
.card-link:hover { border-color: rgba(28, 169, 254, 0.4); transform: translateY(-2px); }

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--sky-blue);
  color: var(--sky-blue);
  margin-bottom: 14px;
  flex-shrink: 0;
}

.card-index svg { width: 52%; height: 52%; }

.card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  font-size: 1.25rem;
  margin: 0 0 10px;
}

.card p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--steel-silver);
  margin: 0;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--sky-blue);
}

/* Cards sitting on a .section-light white panel — swap the dark-on-navy
   treatment for a light one so they stay readable and keep some definition. */
.section-light .card { background: rgba(13, 27, 42, 0.04); border-color: rgba(13, 27, 42, 0.12); }
.section-light .card h3 { color: var(--midnight-navy); }
.section-light .card p { color: var(--slate-gray); }
.section-light .card-cta { color: #001C5B; }
.section-light .hero-copy { color: var(--slate-gray); }

/* Grid layouts */

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-auto { display: grid; grid-template-columns: 1fr; gap: 24px; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   Values / stats list
   ============================================================ */

.value-list { display: grid; grid-template-columns: 1fr; gap: 20px; }

@media (min-width: 640px) {
  .value-list { grid-template-columns: repeat(2, 1fr); }
}

.value-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.value-marker {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--victory-gold);
}

.value-item h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.value-item p {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--steel-silver);
  margin: 0;
}

.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

@media (min-width: 640px) {
  .stat-row { grid-template-columns: repeat(4, 1fr); }
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 22px 20px;
  text-align: center;
}

.stat-card .stat-value {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  color: var(--sky-blue);
}

.stat-card .stat-label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel-silver);
  margin-top: 6px;
}

/* Stat cards on a .section-light white panel */
.section-light .stat-card { background: rgba(13, 27, 42, 0.04); border-color: rgba(13, 27, 42, 0.12); }
.section-light .stat-card .stat-value { color: #001C5B; }
.section-light .stat-card .stat-label { color: var(--slate-gray); }

/* ============================================================
   Placeholder / "Coming Soon" cards (Stripe-ready sections)
   ============================================================ */

.placeholder-card {
  border: 1.5px dashed rgba(176, 183, 195, 0.35);
  border-radius: 14px;
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.02);
}

.placeholder-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.placeholder-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin: 0;
}

.badge-soon {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--midnight-navy);
  background: var(--victory-gold);
  border-radius: 999px;
  padding: 3px 10px;
}

.placeholder-copy {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--steel-silver);
  margin: 0 0 18px;
  max-width: 60ch;
}

.placeholder-card .btn { opacity: 0.55; pointer-events: none; }

/* ============================================================
   Profile placeholder cards (athletes / team)
   ============================================================ */

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

.profile-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(28, 169, 254, 0.18) 0%, rgba(13, 27, 42, 0.6) 100%);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
}

.profile-photo svg { width: 38%; height: 38%; color: rgba(255, 255, 255, 0.25); }

.profile-photo-label {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-silver);
  background: rgba(13, 27, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

.profile-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  font-size: 1.05rem;
  margin: 0 0 4px;
}

.profile-meta {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--sky-blue);
  margin: 0;
}

.profile-note {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--steel-silver);
  margin: 4px 0 0;
}

/* ============================================================
   Forms (light-on-dark fields, matches admin login pattern)
   ============================================================ */

.form-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 28px 24px; }

@media (min-width: 768px) { .form-card { padding: 40px; } }

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

@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group { margin-bottom: 20px; }
.form-group:last-child { margin-bottom: 0; }

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--steel-silver);
  margin-bottom: 8px;
}

.form-group label .optional { font-weight: 400; opacity: 0.7; text-transform: none; letter-spacing: 0; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--midnight-navy);
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sky-blue);
  box-shadow: 0 0 0 4px rgba(28, 169, 254, 0.2);
}

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

.form-status {
  min-height: 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  margin: 16px 0 0;
}

.form-status.is-success { color: var(--sky-blue); }
.form-status.is-error { color: var(--victory-gold); }

/* ============================================================
   Footer (expanded, multi-column)
   ============================================================ */

/* Wider than the site's standard 1200px container — the 680px-wide
   desktop logo needs the extra room to sit alongside the nav columns
   on one row, matching the brand reference footer comp. */
@media (min-width: 1200px) {
  .site-footer .container { max-width: 1400px; }
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 36px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 640px) {
  .footer-links { flex-direction: row; flex-wrap: wrap; gap: 40px 56px; }
}

@media (min-width: 768px) {
  .footer-grid { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; }
}

/* secondary-white.png is a horizontal wordmark lockup (~2.93:1, cropped
   tight to its artwork bounds) that already includes the "Early Identify
   | Develop | Future Elite" tagline. Sized in three tiers to match the
   TP-Footer-Example reference (680x232 at desktop), scaling down in step
   with the rest of the footer at tablet/mobile so it doesn't overwhelm
   the newsletter form and link columns next to it. */
.footer-brand-col .footer-icon-lg { width: auto; height: 90px; margin-bottom: 26px; opacity: 0.9; }

@media (min-width: 768px) {
  .footer-brand-col .footer-icon-lg { height: 150px; }
}

@media (min-width: 1200px) {
  .footer-brand-col .footer-icon-lg { height: 232px; }
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 23px;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }

.footer-col a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--steel-silver);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-col a:hover { color: var(--sky-blue); }

.footer-newsletter p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--steel-silver);
  margin: 0 0 18px;
  max-width: 400px;
}

.footer-newsletter .signup-note { margin-top: 4px; }

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom-bar { flex-direction: row; justify-content: space-between; text-align: left; }
}

.footer-social-row { display: flex; align-items: center; gap: 10px; }

/* Center all footer content on mobile — logo, newsletter form, link
   columns, and bottom bar — instead of the desktop's left/space-between
   alignment, which reads awkwardly once everything stacks. text-align
   handles the inline-flex logo button and link text; align-items keeps
   the .footer-col blocks themselves from stretching edge-to-edge. */
@media (max-width: 767px) {
  .footer-grid { text-align: center; }
  .footer-links { align-items: center; }
}

/* ============================================================
   Home page specifics
   ============================================================ */

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.section-cta-row { margin-top: 28px; text-align: center; }

.about-preview-grid { align-items: center; gap: 48px; }

.about-preview-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--white);
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

.about-preview-copy { margin-bottom: 24px; }
.about-preview-card-copy { margin-bottom: 16px; }

.section-light .about-preview-heading { color: var(--midnight-navy); }

.cta-section .container { text-align: center; }
.cta-section .section-header { margin-bottom: 28px; }

/* ============================================================
   About page specifics
   ============================================================ */

.grid-align-start { align-items: start; }

.card-copy-lg { margin: 0; color: var(--white); font-size: 1.05rem; line-height: 1.65; }
.card-copy-spaced { margin-bottom: 16px; }

.card-sublabel {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--steel-silver);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-list {
  margin: 0;
  padding-left: 18px;
  color: var(--steel-silver);
  font-size: 0.92rem;
  line-height: 1.9;
}

/* ============================================================
   Services page specifics
   ============================================================ */

.service-pillar { scroll-margin-top: var(--nav-height); }

.service-pillar-grid { gap: 20px; }

@media (min-width: 640px) {
  .service-pillar-grid { grid-template-columns: 110px 1fr; gap: 32px; }
}

.service-pillar-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(64px, 8vw, 88px);
  height: clamp(64px, 8vw, 88px);
  border-radius: 50%;
  border: 2px solid var(--sky-blue);
  color: var(--sky-blue);
  margin-bottom: 0;
  flex-shrink: 0;
}

.service-pillar-index svg { width: 50%; height: 50%; }

.service-pillar-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--white);
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

.service-pillar-copy { max-width: 640px; }

/* ============================================================
   Inquiry page specifics
   ============================================================ */

.inquiry-section { padding-top: 0; }
.inquiry-form-card { max-width: 720px; margin: 0 auto; }

.inquiry-form-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 24px;
}

/* ============================================================
   Section-level "Coming Soon" placeholder
   (shared by /athletes/, /team/, /blog/ until each is built out)
   ============================================================ */

.page-hero-inner.is-centered {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.coming-soon-logo {
  width: 72px;
  height: 72px;
  margin: 0 0 20px;
  opacity: 0.9;
}

.page-hero-inner.is-centered .badge-soon { margin-bottom: 18px; }

.page-hero-inner.is-centered .page-hero-copy {
  margin-left: auto;
  margin-right: auto;
}

.coming-soon-actions { justify-content: center; margin-top: 8px; }
