/* ================= HEADER ================= */
@media (max-width: 1024px) {
  .header .inner { align-items: center; }
  .hamburger { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 36px; height: 32px; padding: 0; border: 1px solid #e6edf3; border-radius: var(--radius); background: #fff; cursor: pointer; margin-left: auto; }
  .hamburger-bar { width: 20px; height: 2px; background: #16324a; border-radius: 2px; }
  .nav { display: none; }
}

@media (max-width: 1024px) {
  .drawer-backdrop[hidden] { display: none; }
}

@media (max-width: 1024px){
  .logo { width: 200px; height: 36px; margin: 10px 0; }
}

/* ================= HERO ================= */
@media (max-width: 1024px) {
  .hero { aspect-ratio: auto; min-height: auto; overflow: visible; background-color: #D5E7F3; background-image: url("images/hero-mobile.jpg"); background-repeat: no-repeat; background-size: cover; background-position: center top; padding-top: 16px; padding-bottom: 20px; }
  .hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(15,34,66,0.40) 0%, rgba(15,34,66,0.28) 40%, rgba(15,34,66,0.10) 70%, rgba(15,34,66,0) 100%); pointer-events: none; z-index: 0; }
  .hero-img { display: none; }
  .hero .inner { flex-direction: column; padding-top: 16px; gap: 16px; align-items: center; text-align: center; }
  .hero-content { max-width: 640px; }
  .hero .h1 { font-size: 36px; line-height: 1.1; margin-bottom: 10px; color: #fff; }
  .hero .sub { font-size: 18px; margin-bottom: 14px; color: #fff; }

@media (max-width: 1024px) {
  .bullets { justify-items: center; gap: 10px; margin-top: 10px; padding: 0; }
  .bullets li { justify-content: center; text-align: center; color: #fff; font-size: 17px; line-height: 1.35; }
  .bullets .check { display: none; }
}

  .form-card { width: 100%; margin-left: 0; max-width: 640px; }
}

/* ================= INFO TOP SEPARATOR ================= */
@media (max-width: 1024px) {
  .info-top { flex-direction: column; align-items: flex-start; gap: 12px; padding: 0 16px; }
  .info-title { font-size: 24px; }
  .info-ctas { width: 100%; }
}

@media (max-width: 768px) {
  .info-top { align-items: center; text-align: center; }
  .info-ctas { justify-content: center; }
}

/* ================= GREY BAND + INFO CARDS ================= */
@media (max-width: 1024px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .info-grid { grid-template-columns: 1fr; } }

/* ================= BLOG ================= */
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .blog-grid { grid-template-columns: 1fr; } }

/* ================= CARD SPACING ================= */
@media (max-width: 768px) {
  .card-body { padding: 14px; }
  .card h3 { margin: 0 0 6px; }
  .card p { margin: 0 0 8px; }
}

/* ================= STEPS ================= */
@media (max-width: 1200px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .steps .steps-columns { gap: 24px; }
}

@media (max-width: 1024px) {
  .steps .steps-q { text-align: center; }
  .steps .steps-columns { grid-template-columns: 1fr; gap: 16px; text-align: center; justify-items: center; }
  .steps .steps-columns .col p { font-size: 16px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; justify-items: center; }
  .step-card { text-align: center; }
  .step-head { justify-content: center; }
  .step-icon { width: 56px; height: 56px; }
}

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; justify-items: center; }
  .step-card { padding: 16px; }
  .steps .steps-q { font-size: 28px; }
}

/* ================= GUIDE PAGE FORM (MOBILE ONLY) ================= */
 .form-in-sidebar { display:block; }
 .form-inline-mobile { display:none; }

@media (max-width:1024px){
 .form-in-sidebar { display:none; }
 .form-inline-mobile { display:block; margin:16px 0; }
 .form-inline-mobile .sb-form{border:1px solid #d7e2ec;background:#ffffff;border-radius:6px;padding:14px;box-shadow:var(--shadow);}
 .form-inline-mobile .sb-form h3{margin:2px 0;text-align:center;}
 .form-inline-mobile .sb-form .subh{text-align:center;}
 .form-inline-mobile .sb-form .note a{text-decoration:underline;text-underline-offset:2px;color:#154b75;}
}

/* ================= GUIDE PAGE (MOBILE) ================= */
@media(max-width:1024px){
  .guide-wrap { grid-template-columns:1fr; gap:18px; padding:16px 16px 28px; }
  .guide-breadcrumb .inner { padding:8px 16px; }
}

@media (max-width: 768px){
  .guide-breadcrumb .inner{ flex-wrap: wrap; row-gap: 4px; }
  .guide-breadcrumb span,
  .guide-breadcrumb a{ font-size: 14px; }
}

@media(max-width:768px){
  .guide-inline-left, .guide-inline-right { float:none; max-width:100%; margin:8px 0; display:block; }
  .guide-article h1 { font-size:24px; }
  .guide-article h2 { font-size:18px; }
  .guides-grid { grid-template-columns:1fr; gap:18px; }
}

@media(max-width:768px){
  .guide-toc h2 { padding-bottom:8px; }
}

/* ================= GUIDE SIDEBAR (MOBILE) ================= */
@media (max-width: 1024px) {
  .guide-sidebar .sb-panel { padding: 12px; }
  .guide-sidebar .sb-h { font-size: 15px; }
  .guide-sidebar .sb-thumb { border-radius: 5px; }
  .guide-sidebar .sb-title { font-size: 15px; }
  .guide-sidebar .sb-desc { font-size: 13px; }
  .guide-sidebar .sb-form { padding: 12px; }
  .guide-sidebar .sb-form h3 { font-size: 17px; }
  .guide-sidebar .sb-form .subh { font-size: 13px; margin-bottom: 12px; }
  .guide-sidebar .sb-form .stack { gap: 10px; }
  .guide-sidebar .sb-form .input { height: 42px; font-size: 14px; }
  .guide-sidebar .sb-form .cta { height: 44px; font-size: 15px; }
  .guide-sidebar .sb-form .note a{text-decoration:underline;text-underline-offset:2px;color:#154b75;}
}

/* ================= SHARE BUTTONS (MOBILE) ================= */
@media (max-width: 768px){
  #share { margin-top:28px; }
  #share h2 { font-size:1.15rem; }
  .share-buttons { flex-direction:column; gap:10px; }
  .share-button { width:100%; text-align:center; }
}

/* ================= FOOTER ================= */
@media(max-width:1024px){
  .footer-top { grid-template-columns:1fr 1fr; }
}

@media(max-width:768px){
  .footer-top { grid-template-columns:1fr; gap:16px; }
  .footer-top .ft-links, .footer-top .ft-meta { justify-self:stretch; text-align:left; }
  .footer-bottom .inner.note { flex-direction:column; align-items:flex-start; gap:6px; }
  .footer-bottom .footer-note { margin-left:0; text-align:left; white-space:normal; max-width:none; overflow:visible; text-overflow:unset; }
}

/* ================= DISPLAY SIDEBAR DESKTOP/MOBILE ================= */
@media(max-width:1024px){.goform-desktop{display:none}.goform-mobile{display:inline}
}
