/* =========================================================
   DDIP USA 2027 — Responsive / Media Queries
   Loaded after style.css
   ========================================================= */

@media (min-width: 992px) {
  .hero-content { gap: 26px; }
}

@media (max-width: 1399.98px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 1199.98px) {
  .pass-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 900px;
  }
  .pass-panel--sponsor { grid-column: 1 / -1; }
  .sponsor-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 52px 28px 24px;
  }
  .sponsor-card__top {
    max-width: 36rem;
  }
  .sponsor-card__list {
    margin: 16px 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 18px;
  }
  .btn-sponsor-cta {
    width: auto;
    align-self: flex-start;
    margin-top: 18px;
    max-width: none;
    white-space: nowrap;
    padding: 14px 22px;
  }

  .stat-grid { grid-template-columns: repeat(3, 1fr); gap: 22px 0; }
  .stat-item:nth-child(3)::after { display: none; }
  
  .footer .footer-widget-social {
    flex-wrap: wrap
  }
  .footer-menu ul li {
    font-size: 19px
  }
  
  .speakers .speaker-social {
    top: 88%;
    left: 35%;
   }
}

@media (max-width: 991.98px) {
  .about-visual img { height: 400px; }

  .meet-card-form { position: static; margin-top: 8px; }
  
  .venue-visual__img { height: 380px; }
  .venue-map {
    width: min(220px, 52%);
    right: 14px;
    bottom: 14px;
  }
  .venue-map__frame { height: 130px; }
  
  .stat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 0;
    margin-inline: auto;
  }
  .stat-item {
    padding: 10px 14px;
  }
  .stat-item:last-child::after { display: none; }
  .stat-num {
    font-size: clamp(2.2rem, 5.5vw, 3rem);
    margin-bottom: 6px;
  }
  .stat-label { font-size: 0.95rem; }

  .why-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
    row-gap: 28px;
  }
  .why-rail__line { display: none; }
  .why-item {
    padding: 0 12px 2px;
  }
  .why-item:last-child {
    grid-column: 1 / -1;
    max-width: 240px;
    margin-inline: auto;
  }

  .exp-accordion {
    flex-direction: column;
    height: auto;
    min-height: 0;
    gap: 12px;
  }
  .exp-panel,
  .exp-panel.is-active,
  .exp-accordion:hover .exp-panel,
  .exp-accordion:hover .exp-panel:hover {
    flex: none !important;
    min-height: 88px;
    height: 88px;
    border-color: rgba(255,255,255,0.16);
    box-shadow: 0 14px 30px rgba(12,4,32,0.3);
  }
  .exp-panel.is-active {
    height: 320px !important;
    border-color: rgba(183,255,60,0.4);
    box-shadow:
      0 24px 50px rgba(12,4,32,0.45),
      0 0 36px rgba(183,255,60,0.12);
  }
  .exp-panel__rail {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 0 22px;
    opacity: 1 !important;
    transform: none !important;
  }
  .exp-panel.is-active .exp-panel__rail {
    opacity: 0 !important;
  }
  .exp-panel__icon {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
  .exp-panel__label {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 1.08rem;
    letter-spacing: 0.08em;
    white-space: normal;
    text-align: left;
  }
  .exp-panel__accent {
    display: none;
  }
  .exp-panel__content {
    padding: 22px 22px 24px;
    max-width: none;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  .exp-panel.is-active .exp-panel__content {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  .exp-panel h3 { font-size: 1.45rem; }
  .exp-panel p { font-size: 0.94rem; }

  .pass-grid { grid-template-columns: 1fr; max-width: 520px; }
  .pass-panel--sponsor { grid-column: auto; }
  .sponsor-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 48px 22px 20px;
  }
  .sponsor-card__top,
  .sponsor-card__list,
  .btn-sponsor-cta {
    grid-area: auto;
  }
  .sponsor-card__list {
    margin: 18px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .btn-sponsor-cta {
    width: 100%;
    max-width: none;
    margin-top: 18px;
    white-space: normal;
  }
  .pass-panel--sponsor .pass-ribbon {
    left: 0;
  }

  .faq-intro { position: static; }
  .faq .accordion-body { padding-left: 22px; }

  .hero {
    min-height: 0;
    align-items: flex-start;
    padding-bottom: 48px;
  }
  .hero-lead {
    position: static;
    max-width: 560px;
    margin: 28px 0 0;
    padding: 0;
    background: none;
  }

  .footer-widget-social {
    justify-content: start
  }
}

@media (max-width: 767.98px) {
  .meet { padding: 72px 0; }
  .meet-pill { font-size: 0.88rem; padding: 12px 15px 12px 12px; }
  
  .venue { padding: 56px 0; }
  .venue-meta {
    grid-template-columns: 1fr;
    max-width: none;
  }
  .venue-visual__img { height: 320px; }
  .venue-map {
    position: static;
    width: 100%;
    margin-top: 14px;
    border-radius: 16px;
  }
  .venue-map__frame { height: 180px; }
  .venue-map__frame iframe {
    height: 210px;
    pointer-events: auto;
  }

  .experience { padding: 52px 0 56px; }
  .exp-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
  }
  .exp-panel.is-active { height: 300px; }

  .contact-cards { grid-template-columns: 1fr; }
  .contact-form-card { padding: 22px 18px 24px; }

  .section { padding: 62px 0; }
  .stat-item:last-child::after { display: none; }
  .hero { min-height: auto; padding-bottom: 64px; }
  .hero h1 { font-size: 2.6rem; }
  .footer .footer-widget-social {
    justify-content: start
  }
  .speaker-info {
    text-align: center;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 639px) {
    .speaker-info {
        align-items: center;
        text-align: center;
    }
    .speakers .mySpeakerSwiper .speaker-social {
        top: 90%;
        left: 44%;
    }
}

@media (max-width: 575.98px) {
  .about-features { grid-template-columns: 1fr; gap: 12px; }
  .about-feature { flex-direction: column; align-items: flex-start; }
  .about-visual img { height: 300px; }
  .about-glass {
    left: 14px;
    bottom: 14px;
    padding: 16px 22px 16px 16px;
  }
  
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 0;
  }
  .stat-item:last-child {
    grid-column: 1 / -1;
    max-width: 160px;
    margin-inline: auto;
  }
  .stat-item::after { display: none; }
  .stat-num {
    font-size: 2.6rem;
    margin-bottom: 4px;
  }
  .stat-item { padding: 8px 10px; }
  .stat-label { font-size: 0.88rem; }

  .why-section { padding: 56px 0; }
  .why-head { margin-bottom: 28px; gap: 10px; }
  .why-rail {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .why-item:last-child {
    grid-column: auto;
    max-width: none;
    margin-inline: 0;
  }

  .pricing-perks {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 280px;
  }
  .pricing-perks .pass-perk {
    justify-content: flex-start;
    border-right: 0 !important;
  }
  .pass-panel { padding: 46px 14px 16px; }
  .pass-tier {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
  }
  .pass-tier__price {
    grid-column: 2;
    justify-self: start;
    margin-top: 2px;
    font-size: 1.2rem;
  }

  .nav-cta { padding: 11px 14px; font-size: 0.7rem; }
  .meta-divider { display: none; }
  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .speaker-heading {
        flex-direction: column;
        margin-bottom: 0;
    }
}

@media (max-width: 400px){
    .speaker-prev, .speaker-next {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}  


@media (prefers-reduced-motion: reduce) {
  .hero-lead__line,
  .hero-word::after {
    animation: none;
  }
  .hero-word::after {
    transform: scaleX(1);
    opacity: 0.55;
  }

  .why-item {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .why-item__step { transform: scale(1); }
  .why-rail__progress { width: 100%; }

  .btn-hero-cta,
  .btn-hero-cta::before,
  .btn-hero-cta i,
  .hero-glow.g1,
  .hero-glow.g2,
  .hero-molecule {
    animation: none !important;
  }
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
