/* Peak Performance Training */
:root {
  --bg: #0b1220;
  --surface: #111b2e;
  --surface2: #162236;
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent2: #f97316;
  --border: rgba(148, 163, 184, 0.18);
  --radius: 14px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Space Grotesk", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.agency-back-bar {
  position: sticky;
  top: 0;
  z-index: 300;
  background: #020617;
  color: #e2e8f0;
  text-align: left;
  padding: 0.55rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(56, 189, 248, 0.35);
}

.agency-back-bar a {
  color: #38bdf8;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.agency-back-bar a:hover {
  color: #7dd3fc;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: #7dd3fc;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.pp-top {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.12), rgba(249, 115, 22, 0.12));
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  padding: 0.45rem 1rem;
}

.pp-header {
  position: sticky;
  top: 2.75rem;
  z-index: 40;
  background: rgba(11, 18, 32, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.pp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.pp-logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.pp-logo span {
  color: var(--accent);
}

.pp-nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  cursor: pointer;
}

.pp-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.35rem;
  align-items: center;
}

.pp-nav a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
}

.pp-nav a:hover,
.pp-nav a[aria-current="page"] {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #0ea5e9);
  color: #0b1220;
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-pp {
  padding: clamp(2.75rem, 7vw, 5rem) 0;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(105deg, rgba(11, 18, 32, 0.97) 0%, rgba(11, 18, 32, 0.88) 42%, rgba(11, 18, 32, 0.65) 100%),
    url("https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=2000&q=80");
  background-size: cover;
  background-position: center;
}

.hero-pp::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.2), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  position: relative;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero-pp h1 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.hero-pp p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 44ch;
  margin: 0 0 1.5rem;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.stat-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.stat-pill strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
}

.hero-pp-aside {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.hero-pp-photo {
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 28px 60px -35px rgba(0, 0, 0, 0.75);
}

.hero-pp-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-pp-photo:hover img {
  transform: scale(1.04);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
}

.pp-banner {
  margin: 0 0 2rem;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--border);
}

.pp-banner img {
  width: 100%;
  aspect-ratio: 21/9;
  max-height: 260px;
  object-fit: cover;
  display: block;
}

.pp-membership-hero-img {
  margin: 0 auto 2rem;
  max-width: 900px;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--border);
}

.pp-membership-hero-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.pp-contact-photo {
  margin-bottom: 1.25rem;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--border);
}

.pp-contact-photo img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
  display: block;
}

.hero-card h2 {
  font-family: var(--display);
  font-size: 1.05rem;
  margin: 0 0 1rem;
}

.mini-schedule {
  display: grid;
  gap: 0.5rem;
}

.mini-schedule div {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
}

.mini-schedule div:last-child {
  border-bottom: none;
}

section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.alt {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-block: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 820px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 20px 50px -25px rgba(14, 165, 233, 0.45);
}

.price-card.featured {
  border-color: rgba(249, 115, 22, 0.55);
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.25);
}

.price-card h3 {
  font-family: var(--display);
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.price-card .amount {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 1rem;
}

.price-card .amount span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.price-card ul {
  margin: 0 0 1.5rem;
  padding: 0 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}

.price-card li {
  margin-bottom: 0.45rem;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.schedule-table th,
.schedule-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.schedule-table th {
  background: var(--surface2);
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.trainer-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .trainer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trainer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  transition: border-color 0.2s ease;
}

.trainer-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
}

.trainer-avatar {
  width: 100%;
  aspect-ratio: 1;
  max-height: 220px;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.5);
}

.trainer-avatar--compact {
  max-height: 180px;
  aspect-ratio: 16/10;
}

.trainer-card h3 {
  font-family: var(--display);
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.trainer-role {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.trainer-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
  color: #cbd5e1;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(56, 189, 248, 0.35);
  outline-offset: 1px;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

.form-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.checkout-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 880px) {
  .checkout-grid {
    grid-template-columns: 1fr 320px;
    align-items: start;
  }
}

.card-ui {
  background: linear-gradient(145deg, #020617, #0f172a);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.35rem;
}

.card-ui label {
  color: #94a3b8;
}

.success {
  display: none;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: #bbf7d0;
  font-weight: 700;
  margin-bottom: 1rem;
}

.success.visible {
  display: block;
}

.pp-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.pp-footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .pp-footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.pp-footer h3 {
  font-family: var(--display);
  color: var(--text);
  font-size: 0.95rem;
  margin: 0 0 0.65rem;
}

.pp-footer a {
  color: var(--muted);
}

.pp-footer a:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .pp-nav-toggle {
    display: grid;
    place-items: center;
  }

  .pp-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 8.5rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  }

  .pp-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .pp-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .pp-nav .btn {
    width: 100%;
    justify-content: center;
  }
}
