/* ============================================================
   CONTACT / BOOKING PAGE — contact.css
   Depends on: global.css tokens, components.css utilities
   ============================================================ */

/* Fixed-nav offset (same as homepage) */
body { padding-top: 90px; }


/* ── 1. BOOKING HERO ─────────────────────────────────────── */

.booking-hero {
  background-color: var(--clr-navy);
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 10vw, 6.5rem) clamp(5rem, 12vw, 9rem);
}

/* Piste diagonal stripes + dark vignette overlay */
.booking-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 80px,
      rgba(255,255,255,0.014) 80px,
      rgba(255,255,255,0.014) 82px
    ),
    linear-gradient(
      108deg,
      rgba(12,18,58,0.97) 0%,
      rgba(12,18,58,0.92) 50%,
      rgba(12,18,58,0.85) 100%
    );
  pointer-events: none;
}

/* Red vertical accent bar */
.booking-hero__blade {
  position: absolute;
  left: calc(var(--gutter) - 1px);
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--clr-red);
  opacity: 0.6;
  z-index: 1;
  overflow: hidden;
}

/* Blade flash animation on the accent bar */
@media (prefers-reduced-motion: no-preference) {
  .booking-hero__blade-flash {
    position: absolute;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.95) 50%, transparent 100%);
    animation: booking-blade-vert 8s ease-in-out 2.5s infinite;
  }

  @keyframes booking-blade-vert {
    0%, 75%   { top: 110%; opacity: 0; }
    78%       { top: 105%; opacity: 1; }
    91%       { top: -100px; opacity: 1; }
    94%, 100% { top: -100px; opacity: 0; }
  }
}

/* Diagonal bottom cut in white */
.booking-hero .hero-clip {
  background: var(--clr-white);
}

.booking-hero__inner {
  position: relative;
  z-index: 1;
}

.booking-hero__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-8), 5vw, var(--sp-14));
  align-items: center;
  margin-bottom: var(--sp-10);
}

/* Video — identical to homepage college section */
.booking-hero__top .college-video-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 60px rgba(0,0,0,0.5);
}
.booking-hero__top .college-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(244, 30, 71, 0.25);
  pointer-events: none;
}
.booking-hero__top .college-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.booking-hero__top .college-video-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  background: var(--clr-navy);
  border-top: 1px solid rgba(244, 30, 71, 0.4);
  border-left: 1px solid rgba(244, 30, 71, 0.4);
  border-radius: var(--radius-lg) 0 var(--radius-lg) 0;
  padding: var(--sp-2) var(--sp-3);
}
.booking-hero__top .cvb-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.booking-hero__top .cvb-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--clr-red);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .booking-hero__top {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
}

.booking-hero__title {
  font-size: var(--text-hero);
  color: var(--clr-white);
  line-height: 1.0;
  letter-spacing: 0.02em;
  margin-bottom: var(--sp-5);
}

.booking-hero__sub {
  font-size: var(--text-xl);
  color: var(--clr-muted);
  line-height: 1.5;
  max-width: 50ch;
  margin-bottom: var(--sp-8);
  font-weight: 400;
}

/* Trust chip pills */
.booking-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  list-style: none;
}

.booking-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-white);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  padding: 0.4em 1em;
  white-space: nowrap;
}

.booking-chip svg {
  color: var(--clr-red);
  flex-shrink: 0;
}


/* Cal embed inside hero */
.booking-hero .booking-cal__frame {
  margin-top: var(--sp-10);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 48px rgba(0,0,0,0.4);
  background: #171717;
  padding-top: 30px;
}

/* Checklist */
.booking-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.booking-check-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-base);
  color: var(--clr-black);
  line-height: 1.5;
}

.check-icon {
  color: var(--clr-red);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Divider */
.booking-divider {
  border: none;
  border-top: 1px solid var(--clr-grey-md);
  margin-block: var(--sp-8);
}

/* Testimonials */
.booking-testi__heading {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-navy);
  margin-bottom: var(--sp-5);
}

.booking-testi {
  margin-bottom: var(--sp-6);
  padding-left: var(--sp-4);
  border-left: 3px solid var(--clr-red);
}

.booking-testi p {
  font-size: var(--text-base);
  font-style: italic;
  color: #444;
  line-height: 1.7;
  margin-bottom: var(--sp-2);
  max-width: none;
}

.booking-testi__footer {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-style: normal;
}

.booking-testi__footer strong {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--clr-navy);
}

.booking-testi__footer span {
  font-size: var(--text-xs);
  color: #888;
}

/* Coach authority block */
.booking-authority {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  background: var(--clr-grey);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-6);
  margin-bottom: var(--sp-6);
}

.booking-authority__badge {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(244,30,71,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-red);
  flex-shrink: 0;
  margin-top: 2px;
}

.booking-authority__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--clr-navy);
  line-height: 1.1;
  margin-bottom: var(--sp-1);
  max-width: none;
}

.booking-authority__cred {
  font-size: var(--text-xs);
  font-weight: 600;
  color: #555;
  letter-spacing: 0.03em;
  line-height: 1.6;
  max-width: none;
}

/* Fallback contact links */
.booking-fallback {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.booking-fallback__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-navy);
  transition: color var(--transition);
}

.booking-fallback__link:hover {
  color: var(--clr-red);
}

.booking-fallback__link svg {
  color: var(--clr-red);
  flex-shrink: 0;
}

/* ── Right: Cal.com embed ── */

.booking-cal__heading {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--clr-navy);
  margin-bottom: var(--sp-5);
  letter-spacing: -0.01em;
}

.booking-cal__frame {
  border: 1px solid var(--clr-grey-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,0.1);
  background: var(--clr-navy);
}

#my-cal-inline {
  min-height: 700px;
  width: 100%;
}


/* ── 3. CONTACT FORM + MAP ───────────────────────────────── */

.contact-reach {
  background: var(--clr-grey);
}

.contact-reach__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-10), 6vw, var(--sp-16));
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-group label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--clr-navy);
  letter-spacing: 0.02em;
}

.form-req { color: var(--clr-red); }
.form-optional { font-weight: 400; color: #888; }

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--clr-black);
  background: var(--clr-white);
  border: 1.5px solid var(--clr-grey-md);
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-4);
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clr-red);
  box-shadow: 0 0 0 3px rgba(244,30,71,0.1);
}

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

/* Map */
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-map__info {
  background: var(--clr-navy);
  padding: var(--sp-6) var(--sp-8);
  color: rgba(255,255,255,0.8);
}

.contact-map__info h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--clr-white);
  margin-bottom: var(--sp-4);
}

.contact-map__info address {
  font-style: normal;
  font-size: var(--text-sm);
  line-height: 2;
}

.contact-map__info a {
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}
.contact-map__info a:hover { color: var(--clr-red); }

.contact-map__embed { display: block; }
.contact-map__embed iframe {
  display: block;
  width: 100%;
  height: 320px;
}


/* ── 4. WHAT TO EXPECT ───────────────────────────────────── */

.booking-steps {
  background: var(--clr-grey);
}

.booking-steps .section-header {
  margin-bottom: var(--sp-12);
}

.booking-steps .section-header h2 {
  color: var(--clr-navy);
}

.booking-steps__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  counter-reset: steps;
  position: relative;
}

/* Connector line between steps */
.booking-steps__list::before {
  content: '';
  position: absolute;
  top: 2.25rem;
  left: calc(33.333% - var(--sp-3));
  right: calc(33.333% - var(--sp-3));
  height: 2px;
  background: var(--clr-grey-md);
  pointer-events: none;
}

.booking-step {
  position: relative;
  z-index: 1;
}

.booking-step__num {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  color: rgba(244,30,71,0.12);
  line-height: 1;
  display: block;
  margin-bottom: var(--sp-2);
  letter-spacing: -0.02em;
  user-select: none;
}

.booking-step__title {
  font-size: var(--text-2xl);
  color: var(--clr-navy);
  margin-bottom: var(--sp-2);
  line-height: 1.15;
}

.booking-step__desc {
  font-size: var(--text-base);
  color: #555;
  line-height: 1.65;
  max-width: 28ch;
}


/* ── 4. FAQ ──────────────────────────────────────────────── */

.booking-faq {
  background: var(--clr-white);
}

.booking-faq__heading {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--clr-navy);
  margin-bottom: var(--sp-5);
}

.booking-faq .accent-bar {
  margin-bottom: var(--sp-10);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-8) var(--sp-12);
}

.faq-item {
  border-top: 2px solid var(--clr-grey-md);
  padding-top: var(--sp-5);
}

.faq-q {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--clr-navy);
  margin-bottom: var(--sp-3);
  line-height: 1.4;
}

.faq-a {
  font-size: var(--text-base);
  color: #555;
  line-height: 1.65;
}


/* ── 5. FINAL CTA STRIP ──────────────────────────────────── */

.booking-cta-strip {
  background: var(--clr-red);
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle piste stripe overlay */
.booking-cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -12deg,
    transparent,
    transparent 60px,
    rgba(255,255,255,0.04) 60px,
    rgba(255,255,255,0.04) 62px
  );
  pointer-events: none;
}

.booking-cta-strip__inner {
  position: relative;
  z-index: 1;
}

.booking-cta-strip__heading {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  color: var(--clr-white);
  margin-bottom: var(--sp-3);
}

.booking-cta-strip__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--sp-8);
  margin-inline: auto;
  max-width: 44ch;
}

/* White button already defined in global.css / home.css as .btn-white */
/* Ensure it works if not on this page scope */
.booking-cta-strip .btn-white {
  background: var(--clr-white);
  color: var(--clr-red);
  font-weight: 700;
  border-color: transparent;
}
.booking-cta-strip .btn-white:hover {
  background: rgba(255,255,255,0.9);
  color: var(--clr-red-dk);
}


/* ── RESPONSIVE ──────────────────────────────────────────── */

/* Tablet — 768–1024px */
@media (max-width: 1024px) {
  .booking-main__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-10);
  }
}

/* Mobile — ≤768px */
@media (max-width: 768px) {
  body { padding-top: 76px; }

  /* Hero */
  .booking-hero {
    padding-block: 3rem 4.5rem;
  }
  .booking-hero__sub {
    font-size: var(--text-base);
  }
  .booking-hero__blade { display: none; }

  /* Main booking: stack to single column, cal below copy */
  .booking-main__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }

  /* Contact form + map */
  .contact-reach__grid { grid-template-columns: 1fr; gap: var(--sp-10); }
  .form-row { grid-template-columns: 1fr; }

  /* Steps: vertical */
  .booking-steps__list {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  /* Hide the horizontal connector line */
  .booking-steps__list::before {
    display: none;
  }

  .booking-step__num {
    font-size: 3.5rem;
  }

  .booking-step__desc {
    max-width: none;
  }

  /* FAQ: single column */
  .faq-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
}

/* Small mobile — ≤480px */
@media (max-width: 480px) {
  .booking-hero__chips {
    gap: var(--sp-2);
  }

  .booking-chip {
    font-size: 0.65rem;
    padding: 0.35em 0.85em;
  }

  .booking-authority {
    flex-direction: column;
    gap: var(--sp-3);
  }

  .booking-cta-strip .btn {
    width: 100%;
    justify-content: center;
    max-width: 320px;
    margin-inline: auto;
  }
}
