/* ============================================================
   FORMONIX POS — PAGE / SECTION STYLES
   Each section gets a DISTINCT layout (monotony killer).
   Reuses tokens + components from design-system.css
   ============================================================ */

main { padding-top: 0; }

/* ============ HERO ============ */
.hero { background: var(--grad-hero); padding-top: clamp(7rem, 14vw, 9.5rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.4rem; }
.hero h1 { margin-bottom: 1.2rem; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 46ch; margin-bottom: 1.8rem; color: var(--text-muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.hero__trust span { display: inline-flex; align-items: center; gap: .45rem; font-size: .92rem; font-weight: 600; color: var(--navy); }
.hero__trust svg { width: 1.15rem; height: 1.15rem; color: var(--wa-green-700); }
.hero__visual { position: relative; }
.hero__visual .browser { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); }
.hero__blob { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: var(--grad-accent); filter: blur(70px); opacity: .25; z-index: -1; }
.hero__blob--1 { top: -40px; right: -30px; }
.hero__blob--2 { bottom: -60px; left: -40px; background: var(--brand-blue); opacity: .18; }
.hero__chipcard { position: absolute; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); padding: .7rem .9rem; display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .85rem; color: var(--navy); }
.hero__chipcard small { display: block; font-weight: 500; color: var(--text-muted); font-size: .74rem; }
.hero__chipcard--1 { left: -18px; top: 22%; animation: floatY 5s ease-in-out infinite; }
.hero__chipcard--2 { right: -10px; bottom: 16%; animation: floatY 6.5s ease-in-out infinite; }
.hero__chipcard .icon-chip { width: 38px; height: 38px; border-radius: 10px; }
.hero__chipcard .icon-chip svg { width: 19px; height: 19px; }
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .hero__lead { margin-inline: auto; }
  .hero__badges, .hero__cta, .hero__trust { justify-content: center; }
  .hero__visual .browser { transform: none; }
  .hero__chipcard { display: none; }
}

/* ============ TRUST STRIP ============ */
.trust-strip { border-block: 1px solid var(--border); background: var(--surface); }
.trust-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-block: 1.6rem; }
.trust-strip__label { font-weight: 600; color: var(--text-muted); font-size: .95rem; max-width: 18ch; }
.trust-strip__stats { display: flex; gap: clamp(1.5rem, 5vw, 3.5rem); flex-wrap: wrap; }
.trust-strip__stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--brand-blue); line-height: 1; }
.trust-strip__stat span { font-size: .82rem; color: var(--text-muted); font-weight: 600; }
@media (max-width: 620px) { .trust-strip__inner { justify-content: center; text-align: center; } .trust-strip__label { max-width: none; } }

/* ============ MODULES (mixed grid) ============ */
.modules__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.module-card { display: flex; flex-direction: column; }
.module-card__name { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.05rem; margin: .85rem 0 .35rem; }
.module-card p { font-size: .92rem; }
/* 2 featured cards span 2 cols + richer */
.module-card--feat { grid-column: span 2; background: linear-gradient(135deg, #fff, var(--surface-tint)); border-color: rgba(4,116,186,.18); }
.module-card--feat .module-card__name { font-size: 1.25rem; }
.module-card--feat p { font-size: 1rem; }
.module-card--feat .tag { margin-top: .9rem; }
@media (max-width: 900px) { .modules__grid { grid-template-columns: repeat(2, 1fr); } .module-card--feat { grid-column: span 2; } }
@media (max-width: 560px) { .modules__grid { grid-template-columns: 1fr; } .module-card--feat { grid-column: span 1; } }

/* ============ FEATURE EXPLORER (flagship) ============ */
.fx__layout { display: grid; grid-template-columns: 330px 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.fx__pills { display: flex; flex-direction: column; gap: .5rem; position: sticky; top: 6.5rem; }
.fx__group { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin: .8rem .3rem .2rem; }
.fx__group:first-child { margin-top: 0; }
.fx-pill { display: flex; align-items: center; gap: .8rem; width: 100%; text-align: left; padding: .8rem .9rem; border-radius: 14px; border: 1px solid transparent; background: transparent; color: var(--navy); font-weight: 600; transition: all .2s var(--ease); }
.fx-pill__ic { width: 38px; height: 38px; border-radius: 10px; background: rgba(4,116,186,.10); color: var(--brand-blue); display: grid; place-items: center; flex: 0 0 auto; transition: all .2s; }
.fx-pill__ic svg { width: 19px; height: 19px; }
.fx-pill:hover { background: var(--surface); box-shadow: var(--shadow-sm); }
.fx-pill.is-active { background: var(--surface); border-color: rgba(4,116,186,.22); box-shadow: var(--shadow); }
.fx-pill.is-active .fx-pill__ic { background: var(--grad-chip); color: #fff; }
.fx__arrow { margin-left: auto; opacity: 0; transition: opacity .2s, transform .2s; color: var(--brand-blue); }
.fx-pill.is-active .fx__arrow { opacity: 1; }
.fx__stagewrap { }
.fx-pane { display: none; }
.fx-pane.is-active { display: block; animation: fxfade .4s var(--ease); }
@keyframes fxfade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.fx-stage { position: relative; }
.fx-pin { position: absolute; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-blue); color: #fff; border: 3px solid #fff; font-weight: 800; font-size: .9rem; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(4,116,186,.5); cursor: pointer; transform: translate(-50%,-50%); z-index: 3; }
.fx-pin::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--brand-blue); animation: wapulse 2.2s ease-out infinite; }
.fx-pin__tip { position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(6px); width: max-content; max-width: 230px; background: var(--navy); color: #fff; font-size: .82rem; font-weight: 500; padding: .55rem .8rem; border-radius: 10px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 5; }
.fx-pin__tip::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--navy); }
.fx-pin:hover .fx-pin__tip, .fx-pin.is-open .fx-pin__tip { opacity: 1; transform: translateX(-50%); }
.fx-points { margin-top: 1.4rem; display: grid; gap: .7rem; }
.fx-points li { display: flex; gap: .7rem; align-items: flex-start; font-size: .96rem; color: var(--text); }
.fx-num { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--grad-chip); color: #fff; font-weight: 800; font-size: .8rem; display: grid; place-items: center; }
@media (max-width: 880px) {
  .fx__layout { grid-template-columns: 1fr; }
  .fx__pills { flex-direction: row; position: static; overflow-x: auto; padding-bottom: .5rem; gap: .5rem; scrollbar-width: thin; }
  .fx__group { display: none; }
  .fx-pill { flex: 0 0 auto; width: auto; flex-direction: column; text-align: center; gap: .4rem; padding: .7rem .85rem; font-size: .8rem; min-width: 92px; }
  .fx__arrow { display: none; }
  .fx-pin { width: 26px; height: 26px; font-size: .8rem; }
}

/* ============ SPOTLIGHTS (WhatsApp / Offline) ============ */
.spot { overflow: hidden; }
.spot__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.spot--reverse .spot__visual { order: -1; }
.spot__list { display: grid; gap: 1rem; margin: 1.6rem 0; }
.spot__list li { display: flex; gap: .8rem; align-items: flex-start; }
.spot__list .icon-chip { width: 34px; height: 34px; border-radius: 9px; }
.spot__list .icon-chip svg { width: 17px; height: 17px; }
.spot__list b { color: inherit; font-family: var(--font-display); display: block; }
.spot__list p { font-size: .92rem; margin: 0; }
.section--navy .spot__list p { color: #9fb6cd; }
/* WhatsApp phone mockup */
.phone { width: min(320px, 78%); margin-inline: auto; background: #0b141a; border-radius: 34px; padding: 12px; box-shadow: var(--shadow-lg), 0 0 0 2px rgba(255,255,255,.06); }
.phone__screen { background: #e5ddd5; border-radius: 24px; overflow: hidden; min-height: 440px; display: flex; flex-direction: column; }
.phone__top { background: var(--wa-green-700); color: #fff; padding: .9rem 1rem; display: flex; align-items: center; gap: .6rem; }
.phone__top .av { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.25); display: grid; place-items: center; }
.phone__top b { font-size: .9rem; display: block; line-height: 1.2; }
.phone__top small { font-size: .72rem; opacity: .85; }
.phone__body { padding: 1rem .9rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; background-image: linear-gradient(rgba(229,221,213,.6), rgba(229,221,213,.6)); }
.bubble { background: #fff; border-radius: 12px; padding: .6rem .8rem; font-size: .82rem; color: #111; max-width: 85%; box-shadow: 0 1px 1px rgba(0,0,0,.08); position: relative; }
.bubble--out { background: #d9fdd3; align-self: flex-end; }
.bubble small { display: block; text-align: right; font-size: .62rem; color: #667; margin-top: .2rem; }
.bubble--in { animation: bubbleIn .5s var(--ease) both; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* offline toggle demo */
.offline-demo { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow); max-width: 380px; margin-inline: auto; }
.offline-demo__switch { display: flex; align-items: center; justify-content: center; gap: .8rem; margin-bottom: 1.2rem; }
.offline-demo__pill { padding: .45rem 1rem; border-radius: var(--radius-pill); font-weight: 700; font-size: .85rem; border: 1px solid var(--border); }
.offline-demo__pill.on { background: rgba(37,211,102,.12); color: var(--wa-green-700); border-color: rgba(37,211,102,.3); }
.offline-demo__pill.off { background: rgba(245,158,11,.12); color: #b45309; border-color: rgba(245,158,11,.3); }
.offline-demo__rows { display: grid; gap: .6rem; }
.offline-demo__row { display: flex; align-items: center; gap: .6rem; font-size: .9rem; padding: .55rem .7rem; background: var(--bg); border-radius: 10px; }
.offline-demo__row svg { width: 1.1rem; height: 1.1rem; color: var(--wa-green-700); flex: 0 0 auto; }
@media (max-width: 820px) { .spot__grid { grid-template-columns: 1fr; } .spot--reverse .spot__visual { order: 0; } }

/* ============ INDUSTRIES (interactive) ============ */
.ind__layout { display: grid; grid-template-columns: 360px 1fr; gap: clamp(1.5rem,3vw,2.5rem); }
.ind__list { display: flex; flex-direction: column; gap: .35rem; }
.ind-item { display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; border-radius: 14px; border: 1px solid transparent; background: transparent; text-align: left; color: var(--navy); font-weight: 700; font-family: var(--font-display); transition: all .2s var(--ease); width: 100%; }
.ind-item__ic { width: 40px; height: 40px; border-radius: 11px; background: rgba(4,116,186,.10); color: var(--brand-blue); display: grid; place-items: center; flex: 0 0 auto; }
.ind-item__ic svg { width: 20px; height: 20px; }
.ind-item:hover { background: var(--surface); box-shadow: var(--shadow-sm); }
.ind-item.is-active { background: var(--surface); box-shadow: var(--shadow); border-color: rgba(4,116,186,.2); }
.ind-item.is-active .ind-item__ic { background: var(--grad-chip); color: #fff; }
.ind__detail { background: linear-gradient(150deg, var(--navy), var(--navy-900)); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 3rem); color: #cfe0f0; display: flex; flex-direction: column; justify-content: center; min-height: 320px; position: relative; overflow: hidden; }
.ind__detail::after { content: ''; position: absolute; top: -60px; right: -60px; width: 240px; height: 240px; border-radius: 50%; background: var(--grad-accent); opacity: .18; filter: blur(40px); }
.ind-detail__ic { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: var(--accent-cyan-bright); margin-bottom: 1.2rem; }
.ind-detail__ic svg { width: 32px; height: 32px; }
.ind__detail h3 { color: #fff; font-size: clamp(1.5rem,3vw,2rem); margin-bottom: .8rem; }
.ind__detail p { color: #aec4da; font-size: 1.05rem; max-width: 44ch; }
.ind-detail__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.ind-detail__tags .tag { background: rgba(255,255,255,.1); color: #dcebfb; }
.ind-pane { display: none; } .ind-pane.is-active { display: block; animation: fxfade .4s var(--ease); }
@media (max-width: 820px) {
  .ind__layout { grid-template-columns: 1fr; }
  .ind__list { flex-direction: row; overflow-x: auto; padding-bottom: .5rem; gap: .5rem; }
  .ind-item { flex: 0 0 auto; }
}

/* ============ WHY FORMONIX (4 pillars) ============ */
.why__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--gap); }
.pillar { text-align: center; padding: clamp(1.5rem,3vw,2.2rem) 1.25rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pillar .icon-chip { margin: 0 auto 1.1rem; }
.pillar h3 { margin-bottom: .5rem; }
.pillar p { font-size: .94rem; }
@media (max-width: 900px) { .why__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .why__grid { grid-template-columns: 1fr; } }

/* ============ STATS BAND ============ */
.stats { background: var(--grad-cta); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; text-align: center; }
.stat b { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem,5vw,3.4rem); line-height: 1; display: block; background: linear-gradient(120deg,#fff,#a9e8f5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: .5rem; font-weight: 600; color: #bcd3e8; font-size: .98rem; }
.stat__div { width: 1px; background: rgba(255,255,255,.12); }
@media (max-width: 700px) { .stats__grid { grid-template-columns: repeat(2,1fr); gap: 2rem 1rem; } }

/* ============ TESTIMONIALS ============ */
.testi__track { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
.testi-card { display: flex; flex-direction: column; gap: 1rem; height: 100%; }
.testi-card__stars { color: #f5a623; display: flex; gap: .15rem; }
.testi-card__stars svg { width: 18px; height: 18px; }
.testi-card__quote { font-size: 1rem; color: var(--text); flex: 1; }
.testi-card__who { display: flex; align-items: center; gap: .8rem; }
.testi-card__av { width: 48px; height: 48px; border-radius: 50%; background: var(--grad-chip); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); flex: 0 0 auto; }
.testi-card__who b { display: block; color: var(--navy); font-family: var(--font-display); }
.testi-card__who span { font-size: .85rem; color: var(--text-muted); }
.testi__dots { display: none; }
@media (max-width: 820px) {
  .testi__track { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; padding-bottom: .5rem; scrollbar-width: none; }
  .testi__track::-webkit-scrollbar { display: none; }
  .testi-card { scroll-snap-align: center; }
}

/* ============ FAQ ============ */
.faq__layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem,4vw,3.5rem); align-items: start; }
.faq__aside { position: sticky; top: 7rem; }
.faq__aside .btn { margin-top: 1.2rem; }
@media (max-width: 820px) { .faq__layout { grid-template-columns: 1fr; } .faq__aside { position: static; } }

/* ============ FINAL CTA ============ */
.cta-band { background: var(--grad-cta); color: #fff; text-align: center; border-radius: clamp(0px, 3vw, 32px); margin-inline: clamp(0px, 3vw, 2rem); position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; inset: 0; background: radial-gradient(at 30% 0%, rgba(34,211,238,.25), transparent 55%); }
.cta-band__inner { position: relative; max-width: 720px; margin-inline: auto; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: #c9dcef; font-size: 1.15rem; margin-bottom: 2rem; }
.cta-band__btns { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ============ INNER PAGE HERO ============ */
.page-hero { background: var(--grad-hero); padding-top: clamp(7.5rem, 14vw, 10rem); text-align: center; }
.page-hero p { font-size: 1.15rem; max-width: 60ch; margin: 1rem auto 0; }
.breadcrumb { display: inline-flex; gap: .5rem; font-size: .85rem; color: var(--text-muted); margin-bottom: 1rem; }
.breadcrumb a { font-weight: 600; }

/* ============ MODULES PAGE (full catalogue) ============ */
.cat__group { margin-bottom: clamp(2.5rem,5vw,4rem); }
.cat__group-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.cat__group-head h3 { margin: 0; }
.cat__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
.cat-item { display: flex; gap: 1rem; align-items: flex-start; }
.cat-item .icon-chip { width: 44px; height: 44px; border-radius: 12px; }
.cat-item .icon-chip svg { width: 22px; height: 22px; }
.cat-item b { font-family: var(--font-display); color: var(--navy); display: block; margin-bottom: .2rem; }
.cat-item p { font-size: .9rem; margin: 0; }
a.cat-item { text-decoration: none; transition: transform .2s var(--ease); }
a.cat-item:hover { transform: translateY(-2px); }
a.cat-item:hover b { color: var(--brand-blue); }
a.cat-item:hover .icon-chip--soft { background: var(--grad-chip); color: #fff; }
@media (max-width: 860px) { .cat__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .cat__grid { grid-template-columns: 1fr; } }

/* ============ CONTACT ============ */
.contact__layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem,4vw,3rem); align-items: start; }
.contact__cards { display: grid; gap: 1rem; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; }
.contact-card .icon-chip { width: 46px; height: 46px; }
.contact-card b { font-family: var(--font-display); color: var(--navy); display: block; }
.contact-card a, .contact-card span { color: var(--text-muted); font-size: .95rem; }
.form-grid { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: .4rem; font-family: var(--font-display); }
.field input, .field textarea { width: 100%; padding: .85rem 1rem; border: 1px solid var(--border-strong); border-radius: 12px; font: inherit; background: var(--surface); transition: border .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(4,116,186,.14); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--text-muted); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-top: 1.5rem; height: 240px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 820px) { .contact__layout { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* ============ PRICING ============ */
.pricing__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); align-items: stretch; }
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card--pop { border-color: var(--brand-blue); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.price-card__flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad-chip); color: #fff; font-weight: 700; font-size: .78rem; padding: .3rem .9rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-brand); }
.price-card__name { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.2rem; }
.price-card__price { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--navy); margin: .6rem 0; }
.price-card__price span { font-size: .95rem; font-weight: 600; color: var(--text-muted); }
.price-card ul { display: grid; gap: .7rem; margin: 1.2rem 0 1.6rem; }
.price-card li { display: flex; gap: .6rem; align-items: flex-start; font-size: .94rem; color: var(--text); }
.price-card li svg { width: 1.1rem; height: 1.1rem; color: var(--wa-green-700); flex: 0 0 auto; margin-top: .15rem; }
.price-card .btn { margin-top: auto; }
@media (max-width: 880px) { .pricing__grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } .price-card--pop { transform: none; } }

/* ============ BLOG ============ */
.blog__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card__img { aspect-ratio: 16/9; background: var(--grad-chip); display: grid; place-items: center; color: #fff; }
.post-card__img svg { width: 48px; height: 48px; opacity: .9; }
.post-card__body { padding: 1.3rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.post-card__meta { font-size: .8rem; color: var(--text-muted); font-weight: 600; }
.post-card h3 { font-size: 1.1rem; }
.post-card__body .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 860px) { .blog__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .blog__grid { grid-template-columns: 1fr; } }

/* ============ MODULE PAGES ============ */
.mod-hero__pills { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: 1.4rem 0 0; }
.steps__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--gap); }
.step-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.25rem,2.5vw,1.7rem); box-shadow: var(--shadow-sm); }
.step-card__n { width: 46px; height: 46px; border-radius: 13px; background: var(--grad-chip); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; display: grid; place-items: center; box-shadow: var(--shadow-brand); margin-bottom: .9rem; }
.step-card h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.step-card p { font-size: .95rem; }
@media (max-width: 680px) { .steps__grid { grid-template-columns: 1fr; } }

.mod-feats { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
.mod-feats .card h3 { font-size: 1.05rem; margin: .8rem 0 .35rem; }
.mod-feats .card p { font-size: .92rem; }
@media (max-width: 860px) { .mod-feats { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .mod-feats { grid-template-columns: 1fr; } }

.mod-benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
@media (max-width: 760px) { .mod-benefits { grid-template-columns: 1fr; } }

.mod-related { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
.mod-related a { display: flex; align-items: center; gap: .9rem; text-decoration: none; }
.mod-related b { display: block; font-family: var(--font-display); color: var(--navy); }
.mod-related span { font-size: .84rem; color: var(--text-muted); }
@media (max-width: 720px) { .mod-related { grid-template-columns: 1fr; } }

.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }

/* custom visuals for modules without a dedicated screenshot */
.mvis { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(1.25rem,3vw,1.8rem); max-width: 440px; margin-inline: auto; }
.mvis__row { display: flex; align-items: center; gap: .7rem; padding: .7rem .85rem; border: 1px solid var(--border); border-radius: 12px; margin-bottom: .6rem; font-size: .92rem; font-weight: 600; color: var(--navy); background: var(--bg); }
.mvis__row svg { width: 1.25rem; height: 1.25rem; color: var(--brand-blue); flex: 0 0 auto; }
.mvis__row .meta { margin-left: auto; font-size: .74rem; font-weight: 700; background: var(--surface-tint); color: var(--brand-blue); padding: .2rem .6rem; border-radius: 20px; }
.mvis__row .due { margin-left: auto; font-weight: 800; color: #b45309; }
.mvis__row .paid { margin-left: auto; font-weight: 800; color: var(--wa-green-700); }
.mvis--verify { text-align: center; }
.mvis__code { font-family: var(--font-display); font-weight: 800; letter-spacing: .14em; font-size: 1.25rem; color: var(--navy); background: var(--surface-tint); border-radius: 12px; padding: .8rem; margin: .9rem 0; }
.mvis__ok { display: inline-flex; align-items: center; gap: .5rem; color: var(--wa-green-700); font-weight: 800; }
.mvis__ok svg { width: 1.4rem; height: 1.4rem; }
.mvis table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.mvis th, .mvis td { padding: .55rem .4rem; text-align: center; border-bottom: 1px solid var(--border); }
.mvis th:first-child, .mvis td:first-child { text-align: left; font-weight: 600; color: var(--navy); }
.mvis th { color: var(--text-muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; }
.mvis td svg { width: 1.05rem; height: 1.05rem; color: var(--wa-green-700); }
.mvis td .no { color: var(--border-strong); }

/* ============ WHATSAPP DEEP PAGE ============ */
.wa-stats { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.8rem; }
.wa-stat { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: .8rem 1.3rem; box-shadow: var(--shadow-sm); text-align: center; min-width: 124px; }
.wa-stat b { display: block; font-family: var(--font-display); font-size: 1.45rem; color: var(--brand-blue); line-height: 1; }
.wa-stat span { font-size: .78rem; color: var(--text-muted); font-weight: 600; }
.wa-toc { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1.6rem; }
.wa-toc a { display: inline-flex; align-items: center; gap: .4rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: .45rem .9rem; font-size: .85rem; font-weight: 600; color: var(--navy); box-shadow: var(--shadow-sm); transition: all .15s; }
.wa-toc a:hover { border-color: var(--brand-blue); color: var(--brand-blue); transform: translateY(-2px); }
.wa-toc a svg { width: 1em; height: 1em; color: var(--brand-blue); }
.fb { scroll-margin-top: 90px; }
.fb__num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: var(--grad-chip); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .85rem; margin-right: .5rem; vertical-align: middle; }
.uc-list { display: grid; gap: .6rem; margin: 1.3rem 0; }
.uc { display: flex; gap: .7rem; align-items: flex-start; background: var(--surface-tint); border-radius: 12px; padding: .7rem .9rem; font-size: .95rem; }
.section--tint .uc { background: #fff; }
.uc svg { width: 1.1rem; height: 1.1rem; color: var(--brand-blue); flex: 0 0 auto; margin-top: .15rem; }
.uc b { color: var(--navy); }
.report-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.report-chips .tag { background: rgba(4,116,186,.08); }
.mini-feats { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--gap); }
.mini-feat { display: flex; flex-direction: column; }
.mini-feat .browser { margin-bottom: 1rem; }
.mini-feat h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.mini-feat p { font-size: .94rem; }
@media (max-width: 760px) { .mini-feats { grid-template-columns: 1fr; } }
.uc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
.uc-card { display: flex; flex-direction: column; gap: .6rem; }
.uc-card .icon-chip { width: 46px; height: 46px; }
.uc-card .flow { font-size: .9rem; color: var(--text); }
.uc-card .flow b { color: var(--brand-blue); }
@media (max-width: 860px) { .uc-grid { grid-template-columns: 1fr; } }
.browser--cap img { max-height: 470px; object-fit: cover; object-position: top center; }
.browser--tall img { max-height: 600px; object-fit: cover; object-position: top center; }
.wa-band { background: linear-gradient(150deg, var(--navy), var(--navy-900)); color: #cfe0f0; border-radius: var(--radius-lg); padding: clamp(1.8rem,4vw,3rem); }
.wa-band h2 { color: #fff; }
.wa-band__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; margin-top: 1.8rem; }
.wa-band__item .icon-chip { background: rgba(255,255,255,.1); color: var(--accent-cyan-bright); margin-bottom: .7rem; }
.wa-band__item h3 { color: #fff; font-size: 1.05rem; margin-bottom: .3rem; }
.wa-band__item p { color: #9fb6cd; font-size: .9rem; }
@media (max-width: 820px) { .wa-band__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 460px) { .wa-band__grid { grid-template-columns: 1fr; } }

/* ============================================================
   MOBILE RESPONSIVENESS SAFETY + POLISH  (applies to every page)
   ============================================================ */
/* 1. Allow grid/flex children to shrink below content min-content — kills horizontal overflow on real phones */
.spot__grid > *, .fx__layout > *, .ind__layout > *, .faq__layout > *, .contact__layout > *,
.modules__grid > *, .mod-feats > *, .mod-benefits > *, .why__grid > *, .stats__grid > *,
.blog__grid > *, .cat__grid > *, .pricing__grid > *, .uc-grid > *, .mini-feats > *,
.wa-band__grid > *, .footer__grid > *, .mod-related > *, .hero__grid > *, .testi__track > * { min-width: 0; }
.browser, .spot__visual, .spot__text, .mini-feat, .card, .step-card { min-width: 0; }
.browser img { min-width: 0; }
img, svg, video, table, iframe { max-width: 100%; }
.mvis { overflow-x: auto; }

/* 2. On phones: show the FULL screenshot (no crop), tighten spacing, scale headings */
@media (max-width: 760px) {
  .browser--cap img, .browser--tall img { max-height: none; object-fit: contain; }
  :root { --section-pad: clamp(2.6rem, 9vw, 3.6rem); }
  .hero { padding-top: clamp(6rem, 22vw, 7.5rem); }
  .page-hero { padding-top: clamp(6.5rem, 22vw, 8rem); }
  h1 { font-size: clamp(1.95rem, 8.5vw, 2.7rem); }
  h2 { font-size: clamp(1.6rem, 6.5vw, 2.2rem); }
  .fb__num { width: 26px; height: 26px; font-size: .78rem; margin-right: .4rem; }
  .wa-band { padding: 1.5rem 1.2rem; }
  .cta-band { margin-inline: 0; border-radius: 20px; }
  .browser__url { font-size: .68rem; }
}
@media (max-width: 420px) {
  .wa-stat { min-width: 104px; padding: .65rem .9rem; }
  .wa-stat b { font-size: 1.2rem; }
  .hero__cta .btn, .cta-band__btns .btn { width: 100%; }
}

/* 3. Scroll-to-top button (injected by main.js) */
.to-top { position: fixed; left: clamp(1rem,3vw,1.5rem); bottom: clamp(1rem,3vw,1.5rem); z-index: 880;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border);
  background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s var(--ease), transform .3s var(--ease), color .2s, border-color .2s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--brand-blue); border-color: var(--brand-blue); transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; }
@media (prefers-reduced-motion: reduce) { .to-top { transition: opacity .2s; } }
