/* =========================================================
   GlobSynk — Clean Production Stylesheet (Single Source)
   Pages: index.html, factory.html, case-studies.html, about.html,
          terms.html, privacy.html, refund-cancellation.html
   ========================================================= */

/* ---------- Theme tokens ---------- */
:root{
  --container: 1100px;
  --wide: 1200px;
  --pad-x: 24px;

  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 44px;
  --space-7: 64px;

  --radius: 16px;
  --border: 1px solid #e5e7eb;

  --text: #1f2937;
  --muted: #4b5563;

  --brand: #2563eb;
  --brand-deep: #1d4ed8;

  --bg-soft: #f8fafc;
}

/* ---------- Base / reset ---------- */
*{ box-sizing: border-box; }
html, body{ margin:0; padding:0; width:100%; }
img{ max-width:100%; height:auto; }
a{ color: inherit; }

body{
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 19px;           /* desktop base */
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ---------- Layout ---------- */
section{
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px var(--pad-x); /* reduced gaps */
}
section + section{
  border-top: 1px solid rgba(226,232,240,0.65);
}

/* ---------- Typography ---------- */
h1{
  margin: 0 0 var(--space-4);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(34px, 4vw, 54px);
}
h2{
  margin: 0 0 var(--space-4);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.015em;
  font-size: clamp(24px, 2.4vw, 34px);
}
h3{
  margin: 0 0 var(--space-2);
  line-height: 1.25;
  font-weight: 800;
  font-size: 22px;
}
p{
  margin: 0 0 var(--space-4);
  color: var(--muted);
  font-size: inherit;
}

.center-title{
  text-align: center;
  margin-bottom: var(--space-5);
}
.center-text,
.center-description,
section > p{
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* =========================================================
   UNIVERSAL HEADER
   ========================================================= */

.site-header{
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner{
  max-width: var(--wide);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-link{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  color: var(--text);
  font-weight: 800;
  font-size: 18px;
}

.brand-link img{
  height: 40px;
  width: auto;
  display:block;
}

.header-actions{
  display:flex;
  align-items:center;
  gap: 18px;
  flex-wrap: wrap;
}

.header-actions a{
  text-decoration:none;
  font-weight: 700;
  color: var(--text);
  opacity: 0.95;
  transition: opacity .15s ease;
}
.header-actions a:hover{ opacity: 0.7; }

/* =========================================================
   BUTTONS
   ========================================================= */

.cta,
.plan-btn,
button{
  background: var(--brand);
  color:#fff;
  text-decoration:none;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  display:inline-block;
  padding: 12px 18px;
  line-height: 1.1;

  box-shadow: 0 10px 22px rgba(37,99,235,0.18);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.cta:hover,
.plan-btn:hover,
button:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(37,99,235,0.22);
  filter: brightness(1.02);
}

.plan-btn{
  margin-top: auto;
  text-align:center;
  padding: 14px 16px;
  display:block;
}

.plan-btn.outline{
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
  box-shadow: none;
}

/* =========================================================
   HERO
   ========================================================= */

.hero{
  padding: 80px var(--pad-x) 56px;
  background: var(--bg-soft);
  text-align:center;
}
.hero p{
  max-width: 70ch;
  margin: 0 auto var(--space-5);
}

/* index hero image section (if used) */
.hero-image{
  padding-top: 0;
  padding-bottom: var(--space-6);
}
.hero-image img{
  display:block;
  width:100%;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 18px;
}

/* factory hero banner */
.factory-hero-wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x) var(--space-6);
}
.factory-hero-banner{
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(15,23,42,0.10);
  display:block;
}

/* =========================================================
   GRID + CARDS
   ========================================================= */

.grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
}

.card{
  border: var(--border);
  border-radius: var(--radius);
  padding: 26px;
  background:#fff;
  box-shadow: 0 10px 28px rgba(15,23,42,0.06);
}

/* pricing */
.pricing-grid{ align-items: stretch; }

.plan-card{
  border: 2px solid rgba(37,99,235,0.35);
  border-radius: 18px;
  padding: 28px;
  background:#fff;
  position: relative;

  display:flex;
  flex-direction: column;
  gap: 14px;

  box-shadow: 0 12px 34px rgba(37,99,235,0.12), 0 10px 28px rgba(15,23,42,0.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.plan-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(37,99,235,0.16), 0 10px 28px rgba(15,23,42,0.06);
  border-color: rgba(37,99,235,0.55);
}

.plan-card.popular{
  border: 2px solid rgba(37,99,235,0.65);
  box-shadow: 0 18px 50px rgba(37,99,235,0.18), 0 10px 28px rgba(15,23,42,0.06);
}

.plan-badge{
  position:absolute;
  top: -12px;
  left: 16px;
  background: var(--brand);
  color:#fff;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
}

.plan-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.plan-head h3{ margin: 0; font-size: 22px; }

.plan-tag{
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #dbeafe;
  color: #1d4ed8;
  background: #eff6ff;
}

.plan-desc{ margin: 0; color: var(--muted); }

.plan-prices{
  margin: 6px 0 0;
  border-top: 1px dashed #e5e7eb;
  padding-top: 14px;
}

.price-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 10px 0;
  border-bottom: 1px dashed #eef2f7;
  font-size: 17px;
  color: var(--text);
}
.price-row strong{ font-size: 18px; color: var(--text); }

.plan-note{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.plan-card.discount{
  background: #eff6ff;
  border: 2px dashed #93c5fd;
}
.plan-card.discount .plan-btn{
  background: var(--brand-deep);
}

/* two-up grid (discount + enterprise) */
.gs-two-up{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 640px){
  .gs-two-up{ grid-template-columns: 1fr; }
}

/* =========================================================
   WHAT SECTION (cards + trust strip)
   ========================================================= */

.gs-what{ padding-top: 40px; }

.gs-what-grid{
  margin-top: 26px;
  align-items: stretch;
}

.gs-what-card{ min-height: 160px; }

.gs-trust-strip{
  margin: 32px auto 22px;
  max-width: 980px;
  text-align: center;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(37,99,235,0.25);
  background: linear-gradient(180deg,#f8fafc,#f1f5f9);
  color: #334155;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(37,99,235,0.08);
}

.gs-center-cta{
  text-align: center;
  margin-top: 28px;
}

/* =========================================================
   HOW IT WORKS (cards)
   ========================================================= */

.how-section{ text-align:center; }
.how-grid{
  margin-top: 26px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.how-card{
  background:#fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(15,23,42,0.06);
}
.how-number{
  width: 42px;
  height: 42px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: var(--brand);
  color:#fff;
  font-weight: 900;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* =========================================================
   FORMS (contact)
   ========================================================= */

input, textarea, select{
  width: 100%;
  padding: 16px 18px;
  margin: 12px 0;
  border-radius: 14px;
  border: 1.5px solid #e5e7eb;
  background: #f9fafb;
  font-size: 17px;
  transition: all 0.2s ease;
  outline: none;
}

input:focus, textarea:focus, select:focus{
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.12);
}

textarea{ min-height: 120px; resize: vertical; }

label{
  font-weight: 700;
  display:block;
  margin-top: 18px;
  margin-bottom: 6px;
}

/* contact split (index) */
.gs-contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 28px;
}
.gs-contact-form{ max-width: 100%; }
.gs-contact-form button{ width: 100%; }
.gs-contact-right .direct-contact{ max-width: 100%; margin: 0; }

/* direct contact cards */
.direct-contact{ text-align:center; }
.direct-contact h3{ margin-bottom: 18px; }

.contact-card{
  background: var(--bg-soft);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px 22px;
  margin: 14px auto;
  max-width: 560px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.contact-card:hover{
  border-color: rgba(37,99,235,0.65);
  box-shadow: 0 8px 24px rgba(37,99,235,0.12);
}
.contact-label{
  display:block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 900;
}
.contact-card a{
  font-size: 20px;
  font-weight: 900;
  color: var(--brand);
  text-decoration: none;
  word-break: break-word;
}
.contact-card a:hover{ text-decoration: underline; }

/* =========================================================
   GOOGLE FORM EMBED (factory)
   ========================================================= */

.gform-embed{
  max-width: 980px;
  margin: 40px auto;
  width: 100%;
  background:#fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 14px 40px rgba(15,23,42,0.08);
}
.gform-embed iframe{
  width: 100%;
  height: 1100px; /* adjust if you add more questions */
  border: 0;
  display:block;
}

/* =========================================================
   HOMEPAGE SLIDER (scroll snap)
   ========================================================= */

.gs-slider-wrap{
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
}
/* ===== Slider arrows (desktop) ===== */
.gs-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 10px 26px rgba(15,23,42,0.12);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 10;
}

.gs-arrow-left{ left: -6px; }
.gs-arrow-right{ right: -6px; }

.gs-arrow svg{
  width: 18px;
  height: 18px;
  fill: #2563eb;
}

/* Mobile: hide arrows (swipe instead) */
@media (max-width: 768px){
  .gs-arrow{ display: none; }
}

.gs-slider{
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 16px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.gs-slider::-webkit-scrollbar{ height: 8px; }
.gs-slider::-webkit-scrollbar-thumb{ background: #dbeafe; border-radius: 999px; }
.gs-slider::-webkit-scrollbar-track{ background: #f8fafc; border-radius: 999px; }

.gs-slide{
  min-width: 320px;
  max-width: 360px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15,23,42,0.06);
}

.gs-slide img{
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #eef2f7;
  display:block;
  margin-bottom: 12px;
}

.gs-slide-title{
  text-align: center;
  margin: 6px 0 8px;
  font-size: 20px;
}

.gs-slide-text{
  text-align: center;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.gs-hint{
  text-align:center;
  margin-top: 10px;
  font-size: 13px;
  color: #6b7280;
}

.gs-examples-cta{
  text-align:center;
  margin-top: 22px;
}

/* =========================================================
   CASE STUDIES PAGE (filters + cards)
   ========================================================= */

.gs-filters{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 18px 0 18px;
}

.gs-filter{
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 800;
  color: #374151;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease;
}
.gs-filter:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15,23,42,0.06);
}
.gs-filter.active{
  border-color: var(--brand);
  color: var(--brand);
  background: #eff6ff;
}

.gs-example-grid{ margin-top: 10px; }

.gs-example{
  display:flex;
  flex-direction: column;
  gap: 12px;
}

.gs-example-img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #eef2f7;
  display:block;
}

.gs-example h3,
.gs-example .plan-desc{
  text-align:center;
}

.gs-mini{
  margin-top: 6px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.6;
  text-align:center;
}

/* =========================================================
   UNIVERSAL FOOTER
   ========================================================= */

.site-footer{
  width: 100%;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  padding: 22px 0;
}

.footer-inner{
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.footer-left{
  justify-self: start;
  color: #6b7280;
  font-size: 14px;
}
.footer-center{ justify-self: center; }
.footer-right{
  justify-self: end;
  font-size: 14px;
}

.footer-right a{
  text-decoration: none;
  color: #6b7280;
  font-weight: 700;
}
.footer-right a:hover{ color: #111827; }

.footer-right span{
  color:#cbd5e1;
  margin: 0 8px;
}

/* =========================================================
   MOBILE / RESPONSIVE
   ========================================================= */

@media (max-width: 900px){

  /* Header stacks vertically */
  .header-inner{
    flex-direction: column;
    align-items: center;   /* center everything */
    gap: 14px;
  }

  /* Logo centered */
  .brand-link{
    align-self: center;
  }

  /* Nav centered */
  .header-actions{
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  /* CTA spacing */
  .header-actions .cta{
    margin-top: 6px;
    padding: 12px 22px;
  }

  /* Contact section stacks */
  .gs-contact-grid{
    grid-template-columns: 1fr;
    gap: 26px;
  }

  /* Footer stacks */
  .footer-inner{
    grid-template-columns: 1fr;
    text-align:center;
  }

  .footer-left,
  .footer-center,
  .footer-right{
    justify-self:center;
  }
}

@media (max-width: 640px){
  body{
    font-size: 20px;
    line-height: 1.9;
  }

  section{
    padding: 44px 16px;
  }

  .hero{
    padding: 56px 16px 44px;
  }

  .factory-hero-banner{
    height: 220px;
    border-radius: 12px;
  }

  .gform-embed iframe{
    height: 1500px;
  }

  .contact-card{
    margin: 12px 0;
    max-width: none;
  }

  .gs-slide{
    min-width: 86vw;
    max-width: 86vw;
  }
  .gs-slide img{ height: 170px; }
}
/* ===== Force header CTA (Build My AI) to match buttons + white text ===== */
.header-actions .cta{
  background: var(--brand) !important;
  color: #fff !important;
}

.header-actions .cta:hover{
  color: #fff !important;
}/* ===== Fix header CTA color (Build My AI) ===== */
.header-actions a.cta{
  background: var(--brand);
  color: #fff !important;
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(37,99,235,0.18);
}

.header-actions a.cta:hover{
  color: #fff !important;
  background: var(--brand-deep);
}
/* ===== Footer logo sizing safety ===== */
.site-footer .brand-link img{
  height: 34px;
  width: auto;
  display: block;
}

.site-footer .brand-link{
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  color: var(--text);
}
/* =========================================================
   CLEAN FINAL FIX (SAFE)
   - Case Studies grid images fill the card (no black bars)
   - Does NOT affect homepage slider
   - Keeps mobile working
   ========================================================= */

/* CASE STUDIES page ONLY: images inside the grid cards */
.gs-example-grid .gs-example-img{
  width: 100%;
  height: 260px;              /* desktop */
  object-fit: cover;          /* fill frame = no side bars */
  object-position: center;
  border-radius: 14px;
  border: 1px solid #eef2f7;
  display: block;
  background: transparent;
  padding: 0;
}

@media (max-width: 900px){
  .gs-example-grid .gs-example-img{ height: 220px; }
}

@media (max-width: 640px){
  .gs-example-grid .gs-example-img{ height: 190px; }
}

/* HOMEPAGE slider: keep your slider sizing exactly as designed */
.gs-slider .gs-slide img{
  height: 190px;
  object-fit: cover;
}

@media (max-width: 640px){
  .gs-slider .gs-slide img{ height: 170px; }
}
/* =========================================================
   CASE STUDIES — FINAL OVERRIDE (ONLY THIS PAGE)
   Paste at VERY BOTTOM of styles.css
   ========================================================= */

.page-case-studies .gs-example-grid .gs-example-img{
  width: 100% !important;
  height: 260px !important;          /* desktop card image height */
  object-fit: cover !important;       /* fill frame */
  object-position: center !important;
  background: transparent !important; /* remove dark bars */
  padding: 0 !important;             /* remove inner padding */
  border-radius: 14px !important;
  border: 1px solid #eef2f7 !important;
  display: block !important;
}

@media (max-width: 900px){
  .page-case-studies .gs-example-grid .gs-example-img{
    height: 220px !important;
  }
}

@media (max-width: 640px){
  .page-case-studies .gs-example-grid .gs-example-img{
    height: 190px !important;
  }
}
/* =========================================================
   CASE STUDIES ONLY — force ALL card images to behave the same
   (fixes Brain + Voice mismatched frames on desktop)
   ========================================================= */

.page-case-studies .gs-example-grid img.gs-example-img{
  width: 100% !important;
  height: 260px !important;
  object-fit: cover !important;
  object-position: center !important;

  padding: 0 !important;
  background: transparent !important;

  display: block !important;
  border-radius: 14px !important;
  border: 1px solid #eef2f7 !important;
}

@media (max-width: 900px){
  .page-case-studies .gs-example-grid img.gs-example-img{
    height: 220px !important;
  }
}

@media (max-width: 640px){
  .page-case-studies .gs-example-grid img.gs-example-img{
    height: 190px !important;
  }
}
/* =========================================================
   FINAL OVERRIDE: Case Studies page grid + image sizing
   (paste at VERY END of styles.css)
   ========================================================= */

.page-case-studies .gs-example-grid{
  display: grid !important;
  gap: 32px !important;
}

/* Desktop: lock consistent columns so no card becomes “wide rectangle” */
@media (min-width: 900px){
  .page-case-studies .gs-example-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Tablet: 2 columns */
@media (min-width: 641px) and (max-width: 899px){
  .page-case-studies .gs-example-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Mobile: 1 column */
@media (max-width: 640px){
  .page-case-studies .gs-example-grid{
    grid-template-columns: 1fr !important;
  }
}

/* Images in Case Studies cards: fill frame consistently */
.page-case-studies .gs-example-grid .gs-example-img{
  width: 100% !important;
  height: 240px !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 14px !important;
  display: block !important;
  padding: 0 !important;
  background: transparent !important;
}

@media (max-width: 640px){
  .page-case-studies .gs-example-grid .gs-example-img{
    height: 200px !important;
  }
}
/* =========================================================
   GLOBSYNK CUSTOM INTAKE FORM
   ========================================================= */

.intake-form{
  max-width: 820px;
  margin: 40px auto;
  padding: 36px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(15,23,42,0.08);
}

.intake-form h3{
  margin-top: 36px;
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 800;
}

.intake-form label{
  font-weight: 700;
  display: block;
  margin-top: 18px;
  margin-bottom: 6px;
}

.intake-form input,
.intake-form select,
.intake-form textarea{
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid #e5e7eb;
  background: #f9fafb;
  font-size: 16px;
  transition: all 0.2s ease;
}

.intake-form input:focus,
.intake-form select:focus,
.intake-form textarea:focus{
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.12);
  outline: none;
}

.intake-form textarea{
  min-height: 120px;
  resize: vertical;
}

/* Checkbox styling */
.intake-form .checkbox-group{
  margin-top: 12px;
}

.intake-form .checkbox-group label{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  margin-bottom: 8px;
  cursor: pointer;
}

.intake-form input[type="checkbox"]{
  width: 18px;
  height: 18px;
  accent-color: #2563eb;
}

/* Submit button */
.intake-form button{
  margin-top: 26px;
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 17px;
  
}
/* ================================
   Optional Programs Section
   ================================ */

.optional-programs{
  margin-top: 14px;
  display: grid;
  gap: 18px;
}

.program-item{
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.program-item input[type="checkbox"]{
  margin-top: 5px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.program-text{
  line-height: 1.6;
}

.program-text small{
  display: block;
  font-size: 14px;
  color: #6b7280;
  margin-top: 6px;
}
/* =========================================================
   FACTORY FORM: Add-ons dropdown + checkbox alignment
   ========================================================= */

.gs-details{
  margin-top: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15,23,42,0.06);
  overflow: hidden;
}

.gs-summary{
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gs-summary::-webkit-details-marker{ display: none; }

.gs-summary::after{
  content: "▾";
  font-size: 18px;        /* bigger arrow */
  line-height: 1;
  color: #2563eb;
  transition: transform .15s ease;
}

.gs-details[open] .gs-summary::after{
  transform: rotate(180deg);
}

.gs-details-body{
  padding: 14px 16px 16px;
  border-top: 1px solid #eef2f7;
}

.gs-addon-group-title{
  margin: 14px 0 10px;
  font-weight: 900;
  color: #111827;
}

.gs-checklist{
  display: grid;
  gap: 10px;
}

.gs-check{
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
}

.gs-check input[type="checkbox"]{
  margin-top: 3px; /* aligns checkbox with first text line */
  width: 18px;
  height: 18px;
}

/* =========================================================
   FACTORY FORM: Phone optional + country code split
   ========================================================= */

.gs-phone-row{
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  align-items: center;
}

@media (max-width: 640px){
  .gs-phone-row{
    grid-template-columns: 1fr;
  }
}
/* ===== Legal footer line (only shows where used) ===== */
.footer-legal{
  text-align: right;
  line-height: 1.5;
  color: #6b7280;
  font-size: 13px;
}

.footer-legal strong{ color: #111827; }

.footer-legal a{
  color: #6b7280;
  text-decoration: none;
  font-weight: 700;
}

.footer-legal a:hover{ color: #111827; }

.footer-legal .sep{
  color: #cbd5e1;
  margin: 0 8px;
}

/* Mobile: center legal footer text */
@media (max-width: 900px){
  .footer-legal{ text-align: center; }
}
/* =========================================================
   FIX: Checkbox / Radio alignment (prevents huge empty gap)
   Paste at VERY BOTTOM of styles.css
   ========================================================= */

input[type="checkbox"],
input[type="radio"]{
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Make checkbox rows stay together nicely */
label:has(input[type="checkbox"]),
label:has(input[type="radio"]){
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
}

/* If your browser doesn't support :has(), this still helps */
label input[type="checkbox"],
label input[type="radio"]{
  flex: 0 0 auto;
}