/* Homepage production bundle.
   Keep editing the source homepage styles in css/home.css.
*/

/* ===== HERO ===== */
    .hero {
      position: relative;
      width: 100%;
      min-height: 85vh;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      background: #000;
    }
    .hero-media {
      position: absolute;
      top: 50%; left: 50%;
      width: 100%; height: 100%;
      transform: translate(-50%, -50%);
      object-fit: cover;
      z-index: 0;
    }
    .hero-logo-bg {
      width: clamp(240px, 46vw, 520px);
      height: auto;
      max-height: 46vh;
      object-fit: contain;
      opacity: 0.78;
      filter:
        brightness(1.12)
        drop-shadow(0 0 18px rgba(59, 120, 238, 0.22))
        drop-shadow(0 0 34px rgba(254, 229, 0, 0.1));
      pointer-events: none;
    }
    .hero--staged .hero-logo-bg {
      opacity: 0;
      animation:
        heroLogoFadeIn 2s ease-out 0.2s forwards,
        heroLogoGlow 5.6s ease-in-out 2.25s infinite;
    }
    .hero-image {
      opacity: 0.5;
    }
    .hero-video {
      opacity: 0.45;
      transition: opacity 0.35s ease;
      pointer-events: none;
    }
    .hero-video.is-ready {
      opacity: 0.45;
    }
    @keyframes heroLogoFadeIn {
      from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.96);
      }
      to {
        opacity: 0.78;
        transform: translate(-50%, -50%) scale(1);
      }
    }
    @keyframes heroLogoGlow {
      0%, 100% {
        opacity: 0.78;
        filter:
          brightness(1.12)
          drop-shadow(0 0 18px rgba(59, 120, 238, 0.22))
          drop-shadow(0 0 34px rgba(254, 229, 0, 0.1));
      }
      50% {
        opacity: 0.88;
        filter:
          brightness(1.18)
          drop-shadow(0 0 28px rgba(59, 120, 238, 0.34))
          drop-shadow(0 0 48px rgba(254, 229, 0, 0.18));
      }
    }
    .hero-overlay {
      position: absolute;
      inset: 0;
      z-index: 1;
      text-align: center;
      padding: clamp(72px, 10vh, 112px) 24px clamp(54px, 8vh, 84px);
      max-width: none;
      pointer-events: none;
    }
    .hero-overlay h1 {
      position: absolute;
      top: clamp(76px, 13vh, 132px);
      left: 50%;
      width: min(92vw, 720px);
      transform: translateX(-50%);
      font-family: 'Open Sans', Arial, sans-serif;
      font-size: clamp(28px, 6vw, 56px);
      font-weight: 800;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin: 0 0 16px 0;
      line-height: 1;
      text-shadow: 0 2px 18px rgba(0,0,0,0.85), 0 0 4px rgba(0,0,0,0.65);
    }
    .hero-headline-line {
      display: block;
    }
    .hero--staged .hero-headline-line,
    .hero--staged .hero-copy,
    .hero--staged .hero-actions {
      opacity: 0;
      transform: translateY(12px);
    }
    .hero--staged .hero-headline-line--training {
      animation: heroTextReveal 0.95s ease-out 2.25s forwards;
    }
    .hero--staged .hero-headline-line--results {
      animation: heroTextReveal 0.95s ease-out 3.05s forwards;
    }
    .hero--staged .hero-copy {
      animation: heroTextReveal 0.95s ease-out 4s forwards;
    }
    .hero--staged .hero-actions {
      animation: heroTextReveal 0.95s ease-out 4.85s forwards;
    }
    @keyframes heroTextReveal {
      from {
        opacity: 0;
        transform: translateY(12px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    .hero-title-nowrap {
      display: block;
      margin: 0 auto 0.24em;
      white-space: nowrap;
      font-size: clamp(25px, 6vw, 56px);
      text-align: center;
      line-height: 0.95;
    }
    .hero-subtitle-nowrap {
      display: block;
      margin: -0.05em auto;
      white-space: nowrap;
      font-size: clamp(20px, 4.8vw, 48px);
      text-align: center;
      line-height: 1.5;
      text-shadow: 0 2px 14px rgba(0,0,0,0.85), 0 0 3px rgba(0,0,0,0.75);
    }
    .hero-overlay p {
      font-size: clamp(15px, 2.5vw, 20px);
      color: #e0e0e0;
      background: transparent !important;
      margin: 0 0 20px 0;
      line-height: 1.5;
      text-shadow: 0 2px 14px rgba(0,0,0,0.85), 0 0 3px rgba(0,0,0,0.75);
    }
    .hero-lower {
      position: absolute;
      top: calc(50% + clamp(86px, 13vw, 150px));
      left: 50%;
      width: min(92vw, 720px);
      transform: translateX(-50%);
      pointer-events: auto;
    }
    .hero-actions {
      display: block;
    }
    .hero-cta {
      display: inline-block;
      padding: 12px 32px;
      background: #3b78ee;
      color: #fff;
      font-size: 16px;
      font-weight: 700;
      text-decoration: none;
      border-radius: 6px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      transition: background 0.2s, transform 0.15s;
    }
    .hero-cta:hover {
      background: #2a5fd4;
      transform: translateY(-2px);
    }
    .hero-sub-link {
      display: block;
      margin-top: 14px;
      color: #aaa;
      font-size: 14px;
      text-decoration: none;
    }
    .hero-sub-link:hover { color: #fff; }

    @media (max-width: 640px), (max-height: 720px) {
      .hero-logo-bg {
        width: clamp(210px, 58vw, 360px);
        max-height: 38vh;
      }
      .hero-overlay h1 {
        top: clamp(70px, 11vh, 96px);
      }
      .hero-lower {
        top: calc(50% + clamp(72px, 21vw, 122px));
      }
      .hero-overlay p {
        margin-bottom: 22px;
      }
    }

    /* ===== PROGRAMS ===== */
    .programs {
      background: #0a0a0a;
      padding: 64px 24px;
      text-align: center;
    }
    .section-title {
      font-size: clamp(20px, 4vw, 32px);
      color: #fff;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin: 0 0 12px 0;
    }
    .section-subtitle {
      color: #d7e2ff;
      background: transparent !important;
      font-size: clamp(14px, 2vw, 17px);
      margin: 0 0 40px 0;
      padding: 0;
      border-radius: 0;
    }
    .programs-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      justify-content: center;
      gap: 20px;
      max-width: 960px;
      width: min(100%, 960px);
      margin: 0 auto;
    }
    .program-card {
      box-sizing: border-box;
      min-width: 0;
      width: 100%;
      background: linear-gradient(180deg, var(--site-surface, #1f2a44) 0%, var(--site-surface-deep, #182033) 100%);
      border: 1px solid var(--site-border, #3a4f7a);
      border-radius: 10px;
      padding: 28px 20px;
      box-shadow: var(--site-card-shadow, 0 6px 18px rgba(0, 0, 0, 0.35));
      transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
    }
    .program-card:hover {
      border-color: var(--site-hover, #7eb0ff);
      box-shadow: var(--site-card-shadow-hover, 0 10px 22px rgba(0, 0, 0, 0.45));
      transform: translateY(-3px);
    }
    .program-card .icon {
      font-size: 32px;
      margin-bottom: 12px;
    }
    .program-card h3 {
      color: #f9fbff;
      font-size: 18px;
      font-weight: 700;
      margin: 0 0 8px 0;
    }
    .program-card p {
      color: #e6edff;
      background: transparent !important;
      font-size: 15px;
      line-height: 1.5;
      margin: 0;
    }

    @media (max-width: 760px) {
      .programs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 520px) {
      .programs-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    /* ===== WHY US ===== */
    .why-us {
      background: #111;
      padding: 64px 24px;
      text-align: center;
    }
    .why-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 32px;
      max-width: 900px;
      margin: 0 auto;
    }
    .why-item h3 {
      color: #fff;
      font-size: 20px;
      font-weight: 700;
      margin: 0 0 8px 0;
    }
    .why-item p {
      color: #dce6ff;
      background: transparent !important;
      font-size: 15px;
      line-height: 1.6;
      margin: 0;
      padding: 0;
      border-radius: 0;
    }
    .why-item .icon {
      font-size: 36px;
      margin-bottom: 12px;
    }

    /* ===== FAQ ===== */
    .faq-section {
      background: #0a0a0a;
      padding: 64px 24px;
      text-align: center;
    }
    .faq-container {
      max-width: 700px;
      margin: 0 auto;
      text-align: left;
    }
    .faq-container details {
      border-bottom: 1px solid #222;
    }
    .faq-container summary {
      list-style: none;
      cursor: pointer;
      padding: 20px 0;
      font-weight: 600;
      font-size: 17px;
      color: #eee;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .faq-container summary::-webkit-details-marker { display: none; }
    .faq-container summary .chevron {
      width: 10px; height: 10px;
      border-right: 2px solid #3b78ee;
      border-bottom: 2px solid #3b78ee;
      transform: rotate(45deg);
      transition: transform 0.2s;
      flex-shrink: 0;
      margin-left: 16px;
    }
    .faq-container details[open] summary .chevron {
      transform: rotate(-135deg);
    }
    .faq-container .ans {
      padding: 0 0 20px 0;
      color: #dce6ff;
      background: transparent !important;
      line-height: 1.7;
      font-size: 15px;
    }

    /* ===== FINAL CTA ===== */
    .final-cta {
      background: #111;
      padding: 64px 24px;
      text-align: center;
    }
    .final-cta h2 {
      font-size: clamp(20px, 4vw, 32px);
      color: #fff;
      font-weight: 800;
      margin: 0 0 12px 0;
    }
    .final-cta p {
      color: #dce6ff;
      background: transparent !important;
      font-size: 17px;
      margin: 0 0 28px 0;
    }
