:root {
  --navy: #010d35;
  --blue: #0075ff;
  --blue-2: #0b4ead;
  --orange: #fe951c;
  --ink: #06143d;
  --muted: #687795;
  --blue-soft: #eaf3ff;
  --line: rgba(7, 28, 78, 0.12);
  --shadow: 0 24px 70px rgba(1, 13, 53, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f5f8fc;
  padding-top: 90px;
  overflow-x: hidden;
}

.section-padding {
  padding: 100px 0;
}

.coaching-choice-hero {
  position: relative;
  padding: clamp(26px, 4vw, 52px) 0 clamp(32px, 5vw, 64px);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(0, 117, 255, 0.36),
      transparent 28%
    ),
    linear-gradient(135deg, #010d35 0%, #06296a 52%, #0075ff 128%);
}

.coaching-choice-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 56px;
  z-index: -1;
  background: #f5f8fc;
  clip-path: polygon(0 64%, 34% 34%, 100% 62%, 100% 100%, 0 100%);
}

.coaching-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 92%);
}

.choice-heading {
  margin-bottom: clamp(16px, 2.5vw, 28px);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--blue);
  background: #e7f1ff;
}

.choice-heading .section-kicker {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.choice-heading h1 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 4.2vw, 3.75rem);
  line-height: 1.04;
  text-wrap: balance;
  font-weight: 950;
}

.choice-heading p {
  max-width: 690px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.5;
}

.coaching-choice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(12px, 2vw, 22px);
  align-items: stretch;
}

.coaching-option {
  position: relative;
  min-height: clamp(260px, 27vw, 350px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.2);
  isolation: isolate;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.coaching-option::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(1, 13, 53, 0.05) 0%,
      rgba(1, 13, 53, 0.9) 100%
    ),
    linear-gradient(90deg, rgba(1, 13, 53, 0.58), rgba(1, 13, 53, 0.12));
}

.coaching-option::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  border: 1px solid transparent;
  pointer-events: none;
}

.option-personal::after {
  border-color: rgba(111, 220, 58, 0.92);
}

.option-group::after {
  border-color: rgba(254, 149, 28, 0.96);
}

.option-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.option-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.5s ease;
}

.option-copy {
  position: relative;
  z-index: 3;
  max-width: 560px;
  padding: clamp(16px, 2.5vw, 30px);
}

.option-copy span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 8px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.option-copy h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.65rem);
  line-height: 0.96;
  font-weight: 950;
}

.option-copy p {
  max-width: 520px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.option-copy strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--orange);
  font-weight: 900;
}

.option-group .option-copy strong {
  background: var(--blue);
}

.coaching-option:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 38px 94px rgba(0, 0, 0, 0.32);
  border-color: rgba(255, 255, 255, 0.38);
}

.coaching-option:focus-visible {
  outline: 3px solid #a7d3ff;
  outline-offset: 4px;
}

.coaching-option:hover .option-media img {
  transform: scale(1.1);
}

.team-photos-section {
  padding: 100px 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 117, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #f5f8fc 0%, #edf4fb 100%);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-heading h2 {
  margin: 14px 0 0;
  color: var(--navy);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 950;
}

.section-heading p {
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.photo-mosaic {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  grid-auto-rows: 230px;
  gap: 18px;
}

.photo-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    filter 0.45s ease;
  animation-delay: var(--photo-delay, 0ms);
}

.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.24) 42%,
    transparent 58%
  );
  opacity: 0;
  transform: translateX(-120%) skewX(-14deg);
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.75s ease;
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    transparent 32%,
    rgba(1, 13, 53, 0.78) 100%
  );
  transition: background 0.45s ease;
}

.photo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
  transform: scale(1.01);
  transition:
    transform 0.65s ease,
    filter 0.45s ease;
}

.photo-card div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  color: #fff;
  transform: translateY(8px);
  transition: transform 0.45s ease;
}

.photo-card span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.photo-card strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 950;
}

.photo-card:hover {
  transform: translateY(-10px) rotateX(1.5deg) rotateY(-1.5deg);
  box-shadow: 0 34px 90px rgba(1, 13, 53, 0.2);
  filter: saturate(1.08);
}

.photo-card:hover::before {
  opacity: 1;
  transform: translateX(120%) skewX(-14deg);
}

.photo-card:hover::after {
  background:
    linear-gradient(
      180deg,
      rgba(0, 117, 255, 0.04) 0%,
      rgba(1, 13, 53, 0.82) 100%
    ),
    linear-gradient(90deg, rgba(254, 149, 28, 0.14), transparent 58%);
}

.photo-card:hover img {
  filter: saturate(1.16) contrast(1.05);
  transform: scale(1.11);
}

.photo-card:hover div {
  transform: translateY(0);
}

.photo-card.reveal,
.photo-card.reveal-left,
.photo-card.reveal-right {
  transition-delay: var(--photo-delay, 0ms);
}

.photo-card.reveal.active,
.photo-card.reveal-left.active,
.photo-card.reveal-right.active {
  animation: photoSettle 0.72s ease both;
  animation-delay: var(--photo-delay, 0ms);
}

.photo-card-tall {
  grid-row: span 2;
}

.photo-card-wide {
  grid-column: span 2;
}

.comments-section {
  background: #fff;
}

.comments-section .container {
  max-width: 920px;
}

.category-wrapper {
  margin: 0 0 16px;
}

.required-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.comment-form-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  text-align: left;
}

.comment-form-top h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 900;
}

.comment-form-top p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.category-pills {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.category-pill {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(1, 13, 53, 0.18);
  border-radius: 999px;
  color: #111827;
  background: #fff;
  font-weight: 850;
  font-size: 0.9rem;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
  filter: grayscale(1);
  transition:
    transform 0.22s ease,
    color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.category-pill:hover {
  color: #000;
  background: #f3f4f6;
  border-color: rgba(1, 13, 53, 0.32);
  transform: translateY(-2px);
}

.category-pill.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), #005bd0);
  box-shadow: 0 12px 24px rgba(0, 117, 255, 0.24);
  filter: grayscale(0);
}

.category-feedback {
  min-height: 22px;
  margin: 10px 0 0;
  color: #7a879d;
  font-weight: 750;
  text-align: left;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    color 0.22s ease;
}

.category-feedback.show {
  opacity: 1;
  transform: translateY(0);
}

.category-wrapper.needs-choice .category-pills {
  animation: choicePulse 0.7s ease;
}

.category-wrapper.needs-choice .category-feedback {
  color: #c76d00;
}

@keyframes choicePulse {
  0%,
  100% {
    transform: translateY(0);
  }

  35% {
    transform: translateY(-4px);
  }

  70% {
    transform: translateY(2px);
  }
}

@keyframes photoSettle {
  0% {
    filter: saturate(0.9);
    box-shadow: 0 12px 34px rgba(1, 13, 53, 0.08);
  }

  58% {
    filter: saturate(1.12);
    box-shadow: 0 30px 78px rgba(1, 13, 53, 0.18);
  }

  100% {
    filter: saturate(1);
    box-shadow: var(--shadow);
  }
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto 44px;
  padding: 22px;
  border-radius: 8px;
  background: #f8fbff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(1, 13, 53, 0.08);
}

.comment-form textarea {
  width: 100%;
  min-height: 118px;
  padding: 16px 18px;
  resize: vertical;
  border: 1px solid rgba(7, 28, 78, 0.14);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.comment-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 117, 255, 0.1);
}

.comment-form button:not(.category-pill),
#publishBtn {
  align-self: flex-end;
  min-height: 44px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-weight: 850;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.comment-form button:not(.category-pill):hover,
#publishBtn:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

.comment-card {
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(1, 13, 53, 0.07);
  animation: fadeUp 0.45s ease;
}

.comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
}

.comment-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.comment-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  color: #fff;
  font-weight: 850;
  background: linear-gradient(135deg, var(--blue), var(--orange));
}

.comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment-author {
  color: var(--navy);
  font-weight: 850;
}

.comment-date {
  color: #8b97ab;
  font-size: 0.78rem;
}

.comment-category {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 4px 11px;
  border-radius: 999px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 0.74rem;
  font-weight: 800;
}

.comment-text {
  margin: 0;
  color: #44516b;
  line-height: 1.7;
}

.comment-delete {
  margin-left: 8px;
  padding: 0;
  border: 0;
  color: #ef4444;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

#no-comments {
  padding: 34px 0;
  text-align: center;
  color: #8b97ab;
}

#auth-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(1, 13, 53, 0.68);
}

#auth-overlay.show {
  display: flex;
}

.auth-box {
  width: min(100%, 390px);
  padding: 32px;
  border-radius: 8px;
  text-align: center;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.auth-box-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 1.35rem;
}

.auth-box h4 {
  margin: 0 0 8px;
  color: var(--navy);
  font-weight: 900;
}

.auth-box p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.6;
}

.auth-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 850;
}

.auth-btn-primary {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.auth-btn-secondary {
  color: var(--ink);
  background: #fff;
}

.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal {
  transform: translateY(28px);
}

.reveal-left {
  transform: translateX(-32px);
}

.reveal-right {
  transform: translateX(32px);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0);
}

@media (max-width: 991px) {
  body {
    padding-top: 84px;
  }

  .photo-mosaic {
    grid-template-columns: 1fr 1fr;
  }

  .photo-card-tall,
  .photo-card-wide {
    grid-row: auto;
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .coaching-choice-grid {
    grid-template-columns: 1fr;
  }

  .choice-heading p {
    font-size: 1rem;
  }

  .coaching-option {
    min-height: 235px;
  }

  .photo-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .auth-actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .coaching-option,
  .option-media img {
    transition: none;
  }

  .coaching-option:hover,
  .coaching-option:hover .option-media img {
    transform: none;
  }
}
