/* ASTHRA fixes layered on base.css (review fixes). Linked after base.css. */

/* 1. Consent note on the call-back form was white on white */
.ctabox form .note, form .note { color: #3d4a6b; font-size: 13.5px; line-height: 1.5; }
.ctabox form .note a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }

/* 2. No public placeholder text: hide photo-slot captions, hide sections that have nothing yet */
.ph .cap { display: none; }
.ach:has(#achievers-grid:empty) { display: none; }
section:has(> .wrap > #tgrid:empty) { display: none; }

/* 5. Floating contact buttons: smaller on phones, never cover the last lines of a page */
@media (max-width: 640px) {
  .float { gap: 8px; bottom: max(12px, env(safe-area-inset-bottom)); right: max(10px, env(safe-area-inset-right)); }
  .float a { width: 44px; height: 44px; }
  .float a.ig { display: none; }
  main { padding-bottom: 8px; }
  footer { padding-bottom: 96px; }
}

/* 6. Less template: sentence-case labels instead of tracked ALL CAPS */
.eyebrow { text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600; }
.slide h1.ml { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.25; }

/* 8. Bigger tap targets and readable small text */
footer ul { gap: 2px; }
footer ul a { display: inline-block; padding: 9px 0; min-height: 44px; box-sizing: border-box; }
footer ul li:not(:has(a)) { padding: 9px 0; }
.legal { font-size: 14px; }
.notif li b, .pill { font-size: 13px; }
.phone .bar small { font-size: 13px; }

/* 9. The 404 heading is now an h1 */
.head h1 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 600; }

/* ---- round 2: sample app cards instead of placeholder icons, tap sizes ---- */
.ph.samp { display: grid; place-items: center; padding: 28px; }
.ph.samp::before { opacity: .6; }
.ph .sc { position: relative; z-index: 1; width: min(290px, 100%); background: #fff; color: #0a1636; border-radius: 22px; padding: 18px 18px 16px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.5); }
.ph .sc b { display: block; font-size: 17px; }
.ph .sc small { display: block; color: #55658a; font-size: 13px; margin-bottom: 10px; }
.ph .sc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ph .sc li { padding: 9px 12px; border-radius: 12px; border: 1px solid rgba(22,52,138,.18); font-size: 14px; }
.ph .sc li.d { background: #f1f6ff; color: #55658a; text-decoration: line-through; }
.ph .sc .rg { margin-top: 12px; font-weight: 600; color: #16348a; font-size: 14px; }
.ph .sc .pb { height: 8px; border-radius: 9px; background: #dbe7ff; overflow: hidden; margin: 4px 0 10px; }
.ph .sc .pb i { display: block; height: 100%; background: #16348a; border-radius: 9px; }
.ph .sc p { margin: 6px 0 0; font-size: 14px; color: #0a1636; max-width: none; }
.ph .sc p.ok { color: #0f5c36; font-weight: 600; }
.ph .sc p.msg { background: #f1f6ff; padding: 10px 12px; border-radius: 14px 14px 14px 4px; }
@media (max-width: 820px) {
  .ph.samp { order: 2; min-height: 0; padding: 0 22px 64px; background: linear-gradient(135deg, var(--navy-deep), var(--navy)); }
  .ph.samp::before { display: none; }
  .slide .txt { padding-bottom: 22px; }
}
@media (max-width: 640px) { .float a.tel { display: none; } }
/* tap targets */
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.more { display: inline-block; padding: 10px 0; min-height: 44px; box-sizing: border-box; }
.tel { display: inline-block; padding: 10px 0; min-height: 44px; box-sizing: border-box; }
.dots button { position: relative; }
.dots button::after { content: ""; position: absolute; inset: -17px -8px; }

@media (max-width: 820px) { .arrows { display: none; } }
