/*
 * TJ SOKOL SLOVEČ – RESPONZIVITA
 * Pouze breakpointy a preference omezeného pohybu.
 * Načítá se až po style.css.
 * Breakpointy od nejširšího k nejužšímu.
 */


/* ===== Menší notebooky: (max-width: 1100px) ===== */
@media (max-width: 1100px) {
  .container { width: min(100% - 48px, 1200px); }

  .hero-grid { gap: 12px; }

  .hero h1 { font-size: clamp(3.8rem,6vw,5.8rem); }

  .pitch-card { width: 82%; height: 460px; }

  .hero-visual { min-height: 500px; }

  .floating-top { right: -6px; }

  .floating-bottom { left: -7px; }

  .program-grid { gap: 42px; }

  .faq-grid { gap: 45px; }
}


/* ===== Notebooky a tablety: (max-width: 1000px) ===== */
@media (max-width: 1000px) {
  .program-section {
          padding: 75px 0;
      }

  .program-grid {
          grid-template-columns: minmax(0, 1fr);
          gap: 40px;
      }

  .program-copy h2 {
          font-size: clamp(3rem, 7vw, 4.5rem);
      }

  .program-art {
          display: none;
      }

  .schedule-card {
          width: 100%;
          max-width: 750px;
          margin-inline: auto;
      }

  .sponsors-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
          gap: 18px;
      }

  .sponsor-card {
          min-height: 190px;
          padding: 26px;
      }

  .parent-documents-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
          gap: 18px;
      }

  .parent-doc-card {
          min-height: 300px;
          padding: 28px;
      }

  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* ===== Tablet + mobilní navigace: (max-width: 820px) ===== */
@media (max-width: 820px) {
  .info-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
          gap: 18px;
      }

  .info-section .info-card {
          padding: 28px 25px 60px;
          min-height: 300px;
      }

  .info-section .info-symbol {
          margin-bottom: 35px;
      }

  .header-inner { height: 76px; }

  .desktop-cta { display: none; }

  .mobile-only { display: flex; }

  .menu-toggle { display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.24); color: white; background: transparent; border-radius: 12px; cursor: pointer; z-index: 60; }

  .menu-toggle span { width: 21px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }

  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(8px) rotate(45deg); }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-8px) rotate(-45deg); }

  .main-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; z-index: 55; background: var(--dark); padding: 18px 24px 30px; border-top: 1px solid rgba(255,255,255,.12); box-shadow: 0 35px 40px rgba(0,0,0,.28); flex-direction: column; align-items: stretch; gap: 0; }

  .main-nav.is-open { display: flex; }

  .main-nav > a { width: 100%; padding: 17px 5px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1.06rem; }

  .main-nav .nav-mobile-cta { justify-content: space-between; color: var(--dark); background: var(--lime); padding: 16px 18px; margin-top: 20px; border-radius: 12px; }

  .hero-grid { grid-template-columns: 1fr; gap: 8px; padding-top: 65px; }

  .hero h1 { font-size: clamp(3.8rem,9vw,6rem); }

  .hero-visual { min-height: 530px; max-width: 600px; width: 100%; margin-inline: auto; }

  .pitch-card { height: 485px; width: min(72%,385px); }

  .hero-side-label { right: 0; }

  .hero-trust { margin-top: 35px; }

  .floating-bottom { left: 2%; }

  .floating-top { right: 6%; }

  .section { padding-block: 88px; }

  .section-heading { grid-template-columns: 1fr; gap: 18px; }

  .section-heading > p { max-width: 610px; }

  .feature-card { padding: 25px; }

  .feature-grid { gap: 12px; }

  .feature-card h3 { font-size: 1.35rem; }

  .program-grid, .faq-grid { grid-template-columns: 1fr; }

  .program-art { display: none; }

  .program-copy > p { max-width: 620px; }

  .schedule-card { max-width: 690px; width: 100%; }

  .faq-aside { max-width: 560px; }

  .footer-main { grid-template-columns: 1fr 1fr; }

  .footer-main > p { order: 3; }

  .footer-nav { grid-column: 2; grid-row: 1; }

  .about-more {
          grid-template-columns: minmax(0, 1fr);
          gap: 38px;
  
          padding: 32px;
      }

  .about-lead {
          margin-top: 22px;
      }

  :root { --header-height: 77px; }

  .hero-grid { min-height: calc(100vh - var(--header-height)); min-height: calc(100dvh - var(--header-height)); }

  .main-nav { max-height: calc(100dvh - 77px); overflow-y: auto; overscroll-behavior: contain; }

}


/* ===== Kompaktní přihlašovací banner ===== */
@media (max-width: 760px) {
  .signup-section { padding: 35px 0 60px; }
  .signup-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    min-height: 0;
    padding: 38px 28px 20px;
    border-radius: 24px;
  }
  .signup-panel .signup-eyebrow { font-size: .65rem; }
  .signup-panel h2 { font-size: clamp(2.75rem, 9.6vw, 4.5rem); }
  .signup-content > p { margin-bottom: 26px; }
  .signup-panel .football { min-height: 230px; }
  .signup-panel .football img,
  .signup-panel .football .logo { width: 180px; }
  .signup-panel .football::before { width: 220px; }
  .signup-panel .football::after { width: 170px; }
}


/* ===== Mobily: (max-width: 600px) ===== */
@media (max-width: 600px) {
  .program-section {
          padding: 60px 0;
      }

  .program-grid {
          gap: 30px;
      }

  .program-copy h2 {
          font-size: clamp(2.7rem, 10vw, 3.7rem);
      }

  .program-copy > p {
          font-size: .97rem;
      }

  .program-note {
          margin-top: 25px;
          padding: 16px 18px;
          font-size: .83rem;
      }

  .schedule-card {
          padding: 23px 19px;
          border-radius: 22px;
      }

  .schedule-top {
          gap: 10px;
          margin-bottom: 22px;
      }

  .schedule-top h3 {
          font-size: 1.4rem;
      }

  .schedule-kicker {
          font-size: .62rem;
      }

  .schedule-icon {
          width: 45px;
          height: 45px;
          border-radius: 12px;
          font-size: 1.4rem;
      }

  .day-tabs {
          gap: 6px;
          padding: 6px;
          margin-bottom: 24px;
      }

  .day-tab {
          min-height: 42px;
          padding: 8px 4px;
          font-size: .78rem;
      }

  .timeline-item {
          grid-template-columns: minmax(0, 1fr);
          gap: 9px;
          padding: 19px 0;
      }

  .timeline-part {
          font-size: .65rem;
      }

  .timeline-item h4 {
          font-size: 1rem;
      }

  .timeline-item p {
          font-size: .85rem;
      }

  .schedule-footer span:first-child {
          font-size: .62rem;
      }

  .info-grid {
          grid-template-columns: minmax(0, 1fr);
          gap: 16px;
      }

  .info-section .info-card {
          min-height: 0;
          padding: 26px 25px 60px;
          border-radius: 20px;
      }

  .info-section .info-symbol {
          width: 60px;
          height: 60px;
          margin-bottom: 30px;
          border-radius: 16px;
      }

  .info-section .info-card h3 {
          font-size: 1.35rem;
      }

  .info-section .info-map {
          aspect-ratio: 4 / 3;
      }

  .info-important {
          margin-top: 28px;
          padding: 28px 22px;
          border-radius: 20px;
      }

  .info-important h3 {
          font-size: 1.8rem;
      }

  .info-important p {
          font-size: .95rem;
      }

  .info-important .eyebrow {
          font-size: .7rem;
          padding: 9px 14px;
      }

  html { scroll-padding-top: 74px; }

  .container { width: calc(100% - 36px); }

  .brand-mark { width: 42px; height: 42px; }

  .brand-mark svg { width: 31px; height: 31px; }

  .brand-name strong { font-size: 1rem; }

  .brand-name small { font-size: .53rem; }

  .hero-grid { padding-top: 51px; padding-bottom: 24px; }

  .hero h1 { font-size: clamp(3.25rem, 12.2vw, 4.4rem); margin-top: 24px; }

  .hero-lead { font-size: .98rem; line-height: 1.7; }

  .hero-actions { align-items: stretch; gap: 23px; flex-direction: column; margin-top: 28px; }

  .hero-actions .button { width: 100%; justify-content: space-between; }

  .hero-trust { margin-top: 34px; }

  .hero-visual { min-height: 385px; }

  .pitch-card { width: min(67%, 280px); height: 350px; border-width: 6px; border-radius: 18px; }

  .pitch-boundary { inset: 16px; }

  .pitch-midline { left: 16px; right: 16px; }

  .pitch-centercircle { width: 72px; height: 72px; }

  .pitch-box { height: 60px; }

  .pitch-box-top { top: 16px; }

  .pitch-box-bottom { bottom: 16px; }

  .pitch-spot-top { top: 56px; }

  .pitch-spot-bottom { bottom: 56px; }

  .floating-badge { padding: 9px 12px; gap: 9px; border-radius: 12px; }

  .floating-badge strong { font-size: .72rem; }

  .floating-badge small { font-size: .5rem; }

  .floating-top { top: 34px; right: 0; }

  .floating-bottom { bottom: 35px; left: 0; }

  .badge-sparkle { font-size: 1.5rem; }

  .badge-symbol { width: 31px; height: 31px; font-size: 1.1rem; }

  .hero-side-label { display: none; }

  .hero-bottom-line { font-size: .54rem; gap: 10px; }

  .word-strip-inner { justify-content: flex-start; gap: 30px; overflow-x: auto; scrollbar-width: none; padding: 16px 18px; }

  .word-strip-inner::-webkit-scrollbar { display: none; }

  .word-strip-inner > span { font-size: .9rem; gap: 20px; }

  .section { padding-block: 75px; }

  h2 { font-size: clamp(2.65rem,10vw,4rem); }

  .section-heading { margin-bottom: 30px; }

  .section-heading > p { font-size: .95rem; line-height: 1.75; }

  .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }

  .feature-card { min-height: 260px; padding: 27px; }

  .feature-card h3 { margin-top: 31px; font-size: 1.42rem; }

  .feature-card p { max-width: 100%; }

  .faq-grid { gap: 24px; }

  .site-footer { padding-top: 50px; }

  .footer-main { grid-template-columns: 1fr; gap: 27px; padding-bottom: 42px; }

  .footer-main > p { order: 0; }

  .footer-nav { grid-row: auto; grid-column: auto; justify-content: start; }

  .footer-bottom { flex-direction: column; gap: 13px; font-size: .67rem; }

  .back-to-top { right: 15px; bottom: 16px; }

  .about-lead {
          font-size: 1rem;
          line-height: 1.8;
      }

  .about-more {
          gap: 34px;
          margin-top: 22px;
          padding: 26px 22px;
          border-radius: 20px;
      }

  .about-more-item h3 {
          font-size: 1.5rem;
      }

  .about-more-item p {
          font-size: .93rem;
      }

  .about-facilities {
          grid-template-columns: minmax(0, 1fr);
          gap: 12px;
      }

  .faq-list {
          gap: 10px;
          margin-top: 25px;
      }

  .faq-section .faq-item {
          border-radius: 15px;
      }

  .faq-section .faq-item summary {
          gap: 15px;
          padding: 20px;
          font-size: .98rem;
      }

  .faq-section .faq-item summary::after {
          flex-basis: 32px;
          width: 32px;
          height: 32px;
          font-size: 1.3rem;
      }

  .faq-section .faq-answer {
          padding: 0 20px 22px;
      }

  .faq-section .faq-answer p {
          font-size: .91rem;
          line-height: 1.8;
      }

  .sponsors-grid {
          grid-template-columns: minmax(0, 1fr);
          gap: 16px;
      }

  .sponsor-card {
          min-height: 170px;
          padding: 25px;
          border-radius: 20px;
      }

  .sponsor-card img {
          max-width: 250px;
          height: 110px;
      }

  .sponsors-heading {
          margin-bottom: 30px;
      }

  .sponsors-description {
          font-size: .95rem;
      }

  .parent-documents {
          margin-top: 55px;
      }

  .parent-documents-heading h3 {
          font-size: 2.2rem;
      }

  .parent-documents-notice {
          align-items: flex-start;
          padding: 20px;
          gap: 14px;
      }

  .parent-documents-notice-icon {
          flex-basis: 36px;
          width: 36px;
          height: 36px;
      }

  .parent-documents-grid {
          grid-template-columns: minmax(0, 1fr);
          gap: 16px;
      }

  .parent-doc-card {
          min-height: 285px;
          padding: 26px;
          border-radius: 20px;
      }

  .parent-doc-card h4 {
          font-size: 1.2rem;
      }

  .signup-panel .button-dark { justify-content: space-between; max-width: 100%; }

  .hero .football { width: 91px; }
}


@media (max-width: 380px) {
  .signup-panel { padding: 30px 21px 18px; }
  .signup-panel h2 { font-size: clamp(2.3rem, 10vw, 2.7rem); }
  .signup-panel .button-dark { width: 100%; gap: 12px; }
}


/* ===== Velmi malé telefony: (max-width: 350px) ===== */
@media (max-width: 350px) {
  .container { width: calc(100% - 28px); }

  .hero h1 { font-size: 3rem; }

  .brand-name strong { font-size: .9rem; }

  .floating-top { right: -6px; }

  .floating-bottom { left: -9px; }
}


/* ===== Přístupnost: respektování preference méně pohybu ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .feature-card:hover, .info-section .info-card:hover,
  .sponsor-card:hover, .parent-doc-card:hover,
  .signup-panel .button-dark:hover { transform: none; }
}

/* =====================================================
   RESPONSIVITA – MENŠÍ NOTEBOOKY
===================================================== */

@media (max-width: 1100px) {

    .voucher-section {
        padding: 95px 0;
    }

    .voucher-container {
        width: min(1200px, calc(100% - 48px));
        gap: 38px;
    }

    .voucher-content h2 {
        font-size: clamp(2.5rem, 4.5vw, 4rem);
    }

    .voucher-content > p {
        font-size: 0.97rem;
    }

}

/* =====================================================
   RESPONSIVITA – TABLETY
===================================================== */

@media (max-width: 850px) {

    .voucher-section {
        padding: 85px 0;
    }

    .voucher-container {
        grid-template-columns: 1fr;
        gap: 48px;

        max-width: 700px;
    }

    .voucher-content {
        text-align: center;
    }

    .voucher-content h2 {
        font-size: clamp(2.7rem, 6vw, 4.3rem);
    }

    .voucher-content > p {
        max-width: 600px;
        margin-inline: auto;
    }

    .voucher-highlight {
        margin-inline: auto !important;
        text-align: left;
    }

    .voucher-image-wrapper {
        transform: none;
    }

    .voucher-image-wrapper:hover {
        transform: translateY(-4px);
    }

}

/* =====================================================
   RESPONSIVITA – MOBILY
===================================================== */

@media (max-width: 600px) {

    .voucher-section {
        padding: 70px 0;
    }

    .voucher-container {
        width: calc(100% - 36px);
        gap: 35px;
    }

    .voucher-label {
        font-size: 0.68rem;
        padding: 9px 15px;
    }

    .voucher-content h2 {
        font-size: clamp(2.2rem, 9vw, 3.1rem);
        letter-spacing: -0.055em;
        margin: 23px 0;
    }

    .voucher-content > p {
        font-size: 0.95rem;
        line-height: 1.75;
    }

    .voucher-content .voucher-highlight {
        margin: 25px auto 28px;
        padding: 15px 17px;
        font-size: 0.88rem;
    }

    .voucher-button {
        width: 100%;
        min-height: 58px;

        padding: 15px 22px;
        gap: 14px;
    }

    .voucher-image-wrapper {
        padding: 8px;
        border-radius: 19px;
    }

    .voucher-image {
        border-radius: 12px;
    }

}

/* Respektování omezeného pohybu */
@media (prefers-reduced-motion: reduce) {

    .voucher-button,
    .voucher-button span:last-child,
    .voucher-image-wrapper {
        transition: none;
    }

    .voucher-button:hover,
    .voucher-image-wrapper:hover {
        transform: none;
    }

}
/* TABLET */
@media (max-width: 900px) {

    .voucher-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 35px;
    }

    .voucher-image-wrapper {
        width: 100%;
        max-width: 700px;
        margin-inline: auto;
    }

}

/* MOBIL */
@media (max-width: 600px) {

    .voucher-container {
        width: calc(100% - 32px);
    }

    .voucher-image-wrapper {
        padding: 6px;
        border-radius: 16px;
    }

    .voucher-image {
        border-radius: 12px;
    }

}

