/* ============================================
   MOBILE.CSS — All media queries
   ============================================ */

/* ---- NAVBAR ---- */
@media (max-width: 768px) {
  #navbar,
  #navbar .max-w-7xl {
    max-width: 100vw;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
    overflow: hidden;
  }
  #navbar .flex.justify-between {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }
  body {
    overflow-x: hidden;
  }
}

/* ---- HERO ---- */
@media (max-width: 768px) {
  #hero {
    min-height: 100vh;
  }
  #hero .hero-content {
    padding-top: 80px;
  }
  #hero p.text-3xl {
    font-size: 2.8rem;
    line-height: 1.2;
  }
}

/* ---- HERO CTA ---- */
@media (max-width: 768px) {
  .hero-cta-row {
    flex-direction: column;
    align-items: center;
    border-radius: 20px;
    padding: 16px;
  }
  .trust-carousel-wrap {
    min-width: unset;
    width: 100%;
    text-align: center;
  }
  #trust-carousel {
    position: relative;
    text-align: center;
    width: 100%;
  }
}

/* ---- BUTTONS ---- */
@media (max-width: 768px) {
  .btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

/* ---- TYPOGRAPHY ---- */
@media (min-width: 769px) {
  h1.hero-pill {
    font-size: 0.72rem;
    line-height: 1.4;
  }
  h2 {
    font-size: 3rem;
    line-height: 1.3;
  }
  h3 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  .faq-question h3 {
    font-size: 1.125rem;
    font-weight: 500;
  }
}

@media (max-width: 768px) {
  h1.hero-pill {
    font-size: 0.6rem;
  }
  h1 {
    font-size: 1.875rem;
    line-height: 1.2;
  }
  h2 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-top: 1rem;
  }
  h3 {
    font-size: 1.25rem;
    line-height: 1.3;
  }
  p,
  li {
    font-size: 0.9375rem;
    line-height: 1.5;
  }
  .text-xl {
    font-size: 1.125rem;
  }
  .text-2xl {
    font-size: 1.25rem;
  }
  .hero-subheadline {
    font-size: 0.9rem;
  }
  .trust-item {
    font-size: 0.9rem;
  }
  .faq-item button h3 {
    font-size: 0.9rem;
  }
}

/* ---- SECTION SPACING ---- */
@media (max-width: 768px) {
  .py-20 {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  #results,
  #faq,
  #channels,
  #process {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .news-section {
    padding: 32px 24px;
  }
  .contact-section {
    padding: 32px 24px;
  }
  .mb-16 {
    margin-bottom: 24px;
  }
}

/* ---- HOW IT WORKS FRONT ---- */
@media (max-width: 768px) {
  .hiw-front-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .hiw-front-panel {
    padding: 32px 24px;
  }
  .hiw-front-col {
    text-align: center;
  }
  .hiw-front-heading {
    margin-bottom: 0;
  }
  .hiw-front-cta {
    text-align: center;
  }
}

/* ---- DESKTOP OVERRIDES ---- */
@media (min-width: 769px) {
  .hiw-front-cta {
    text-align: left;
  }
}

/* ---- HOW IT WORKS BACK PANEL ---- */
@media (max-width: 768px) {
  .hiw-back-title {
    text-align: center;
  }
  .hiw-back-panel {
    padding: 24px 16px;
  }
  .hiw-back-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .hiw-tabs-wrap {
    flex-direction: column;
    gap: 24px;
  }
  .hiw-tab-nav {
    display: none;
  }
  .hiw-step-dropdown {
    display: block;
    width: 100%;
    padding: 12px 40px 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1)
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E")
      no-repeat right 14px center;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 24px;
    -webkit-appearance: none;
    cursor: pointer;
  }
  .hiw-step-dropdown option {
    background: #363537;
    color: #ffffff;
    font-size: 0.9rem;
  }
  .hiw-tab-content {
    padding: 24px 16px;
  }
  .hiw-bullet-list {
    grid-template-columns: 1fr;
  }
}

/* ---- KEY OUTCOMES ---- */
@media (max-width: 768px) {
  .outcomes-row,
  .outcomes-row-last {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
  }
  .outcomes-row .outcomes-img {
    order: -1;
  }
  .outcomes-img {
    width: 100%;
  }
  .outcomes-img img {
    height: 220px;
    width: 100%;
  }
  .outcomes-col {
    text-align: center;
  }
  .outcomes-h3 {
    font-size: 1.4rem;
  }
}

/* ---- GUARANTEE ---- */
@media (max-width: 768px) {
  .guarantee-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- CONTACT FORM ---- */
@media (max-width: 480px) {
  .contact-card {
    padding: 28px 20px;
  }
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- NEWS / PRESS ---- */
@media (max-width: 768px) {
  .news-featured-pill {
    flex-wrap: wrap;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 24px;
  }
  .press-logo-bi {
    height: 18px;
  }
  .press-logo-usa {
    height: 18px;
  }
  .press-logo-ap {
    height: 22px;
  }
  .press-logo-yahoo {
    height: 36px;
  }
  .press-logo-mw {
    height: 22px;
  }
  .press-logo-fox {
    height: 24px;
  }
  .news-feature-card {
    grid-template-columns: 1fr;
  }
  .news-feature-image {
    padding: 24px 24px 0;
  }
  .news-feature-body {
    padding: 32px;
  }
  .news-feature-title {
    font-size: 1.3rem;
  }
  .news-section-title {
    font-size: 2rem;
  }
  .news-featured-in {
    padding: 24px;
  }
  .news-featured-in-logos {
    gap: 24px;
  }
}

/* ---- FOOTER ---- */
@media (max-width: 768px) {
  footer .grid {
    grid-template-columns: 1fr;
  }
  footer .grid > div:nth-child(2) ul {
    columns: 2;
    gap: 8px;
  }
}
