/* Jasmine Packers and Movers - site styles */
:root {
  --navy: #011839;
  --navy-2: #0b2a57;
  --navy-3: #16376b;
  --accent: #d12a1f;
  --accent-light: #ff7b70;
  --accent-ink: #b3201a;
  --ink: #16233a;
  --muted: #566782;
  --line: #dbe2ec;
  --paper: #f3f6fa;
  --wa: #128c4a;
  --font-head: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --font-body: "DM Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --maxw: 1180px;
  --gut: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--font-body); color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; color: var(--navy); line-height: 1.18; margin: 0 0 .6em; letter-spacing: -.02em; }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.on-dark :focus-visible, .topbar :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .85rem 1.35rem; border: 2px solid var(--accent); border-radius: 6px; background: var(--accent); color: #fff; font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: #a81b15; border-color: #a81b15; color: #fff; }
.btn--navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-3); border-color: var(--navy-3); color: #fff; }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn--wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn--wa:hover { background: #0c6a37; border-color: #0c6a37; color: #fff; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* top bar */
.topbar { background: var(--navy); color: #cdd9ec; font-size: .9rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; flex-wrap: wrap; }
.topbar ul { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar .icon { color: var(--accent-light); width: 1.05em; height: 1.05em; margin-right: .35rem; }
.topbar__loc, .topbar__mail { display: none; }
@media (min-width: 640px) { .topbar__mail { display: list-item; } }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-row { position: relative; display: flex; align-items: center; gap: 1rem; min-height: 80px; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { height: 56px; width: auto; }
.nav-toggle { margin-left: auto; display: inline-flex; align-items: center; gap: .5rem; padding: .6rem .8rem; border: 1.5px solid var(--navy); border-radius: 6px; background: #fff; color: var(--navy); font: 600 .95rem var(--font-body); cursor: pointer; }
.nav-toggle .icon { width: 1.4em; height: 1.4em; }
.nav { display: none; position: fixed; inset: 0; top: var(--header-h, 120px); background: #fff; overflow: auto; padding: 1rem var(--gut) 6rem; }
.nav.is-open { display: block; }
.nav__list > li { border-bottom: 1px solid var(--line); }
.nav__list a, .nav__list button.nav__link { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: .95rem .2rem; color: var(--navy); font: 600 1.1rem var(--font-body); text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; }
.nav__list a[aria-current="page"] { color: var(--accent-ink); }
.nav__quote { margin-top: 1.2rem; }
.sub { display: none; padding: 0 0 1rem .6rem; }
.has-sub.is-open > .sub { display: block; }
.has-sub.is-open > button .icon { transform: rotate(180deg); }
.sub a { padding: .5rem .2rem; font: 500 1rem var(--font-body); color: var(--ink); }
.sub h3 { font: 700 .95rem var(--font-head); margin: .9rem 0 .2rem; }
.sub h3 a { padding: .1rem 0; font: 700 .95rem var(--font-head); color: var(--navy); }
.sub .sub__all { color: var(--accent-ink); font-weight: 600; }

@media (min-width: 1020px) {
  .topbar__loc { display: inline; }
  .brand img { height: 68px; }
  .header-row { min-height: 92px; gap: 2rem; }
  .nav-toggle { display: none; }
  .nav { display: flex; position: static; inset: auto; padding: 0; overflow: visible; align-items: center; flex: 1; justify-content: flex-end; gap: 1.2rem; background: none; }
  .nav__list { display: flex; align-items: center; gap: .1rem; }
  .nav__list > li { border: 0; position: relative; }
  .nav__list > li.has-mega { position: static; }
  .nav__list > li > a, .nav__list > li > button.nav__link { width: auto; gap: .35rem; padding: 1.9rem .8rem; font-size: 1.02rem; box-shadow: inset 0 -4px 0 transparent; transition: box-shadow .15s, color .15s; }
  .nav__list > li:hover > a, .nav__list > li:hover > button, .nav__list > li.is-open > button { box-shadow: inset 0 -4px 0 var(--accent); }
  .nav__list a[aria-current="page"] { box-shadow: inset 0 -4px 0 var(--accent); }
  .nav__quote { margin: 0; }
  .sub { position: absolute; left: 0; top: 100%; background: #fff; border-top: 3px solid var(--accent); box-shadow: 0 20px 28px -20px rgba(1, 24, 57, .45); padding: 1rem 1.2rem 1.2rem; min-width: 270px; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }
  .has-sub:hover > button .icon, .has-sub:focus-within > button .icon { transform: rotate(180deg); }
  .sub a { padding: .42rem .3rem; }
  .sub a:hover { color: var(--accent-ink); }
  .mega { left: 0; right: 0; min-width: 0; padding: 1.6rem 1.6rem 1.8rem; border: 1px solid var(--line); border-top: 3px solid var(--accent); }
  .mega__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; }
  .mega__foot { margin-top: 1.1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
}

/* hero */
.hero { position: relative; isolation: isolate; color: #e6eefb; background: var(--navy); }
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(1, 24, 57, .84); }
.hero--plain .hero__bg img { transform: scale(1.4); }
.why .ticks li { border-top: 0; padding: .3rem 0 .3rem 1.7rem; font-size: 1rem; color: var(--muted); }
.why .ticks .icon { top: .5rem; }
.hero__grid { display: grid; gap: 2rem; padding-block: 2.6rem 2.4rem; align-items: center; }
.hero h1 { color: #fff; max-width: 15em; }
.hero__lead { font-size: 1.18rem; max-width: 36rem; color: #d6e2f5; }
.hero .btn-row { margin-top: 1.5rem; }
.crumbs { font-size: .92rem; margin: 0 0 1.1rem; color: #b9c9e4; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: #7f93b5; }
.crumbs a { color: #fff; }
.trust { border-top: 1px solid rgba(255, 255, 255, .18); background: rgba(1, 15, 38, .55); }
.trust ul { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.2rem; padding: 1rem 0; font-weight: 600; font-size: .98rem; color: #fff; }
.trust .icon { color: var(--accent-light); margin-right: .4rem; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; padding-block: 4rem 3.4rem; }
  .trust ul { display: flex; justify-content: space-between; flex-wrap: wrap; }
}

/* quote form */
.qform { background: #fff; color: var(--ink); border-radius: 10px; padding: 1.5rem; border: 1px solid var(--line); }
.qform h2, .qform .qform__title { font: 700 1.3rem/1.25 var(--font-head); color: var(--navy); margin: 0 0 .3rem; }
.qform__sub { font-size: .95rem; color: var(--muted); margin: 0 0 1rem; }
.qform__grid { display: grid; gap: .85rem; }
.qform label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: .25rem; }
.qform input, .qform select { width: 100%; height: 46px; padding: 0 .8rem; border: 1px solid #b8c4d6; border-radius: 6px; background: #fff; font: 400 1rem var(--font-body); color: var(--ink); }
.qform input:focus, .qform select:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--navy); }
.qform .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.qform [hidden] { display: none !important; }
.qthanks { text-align: center; padding: 1.2rem .5rem 1rem; outline: 0; }
.qthanks__icon { width: 64px; height: 64px; border-radius: 50%; background: #e5f5ec; color: #0b5a2f; display: grid; place-items: center; margin: 0 auto 1rem; }
.qthanks__icon .icon { width: 34px; height: 34px; stroke-width: 2.4; }
.qthanks__title { font: 700 1.5rem/1.25 var(--font-head); color: var(--navy); margin: 0 0 .5rem; letter-spacing: -.02em; }
.qthanks .btn-row { justify-content: center; margin-top: 1.2rem; }
.qthanks strong { white-space: nowrap; }
.qform__note { margin: .8rem 0 0; font-size: .85rem; color: var(--muted); }
.qform__msg { margin-top: .8rem; padding: .7rem .9rem; border-radius: 6px; font-weight: 600; display: none; }
.qform__msg.is-ok { display: block; background: #e5f5ec; color: #0b5a2f; }
.qform__msg.is-err { display: block; background: #fdeaea; color: #8a1c1c; }
@media (min-width: 560px) { .qform__grid { grid-template-columns: 1fr 1fr; } .qform__grid .full { grid-column: 1 / -1; } }

/* sections */
.section { padding: clamp(2.2rem, 4.5vw, 3.4rem) 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: #dbe6f7; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 46rem; margin-bottom: 1.5rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section--navy .section-head p { color: #b9c9e4; }
.split { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; } .split--wide { grid-template-columns: 1.2fr .8fr; } }
.prose p { max-width: 68ch; }
.prose h3 { margin-top: 1.6rem; }
.ticks li { position: relative; padding: .3rem 0 .3rem 1.9rem; }
.ticks .icon { position: absolute; left: 0; top: .55rem; color: var(--accent); }
.section--navy .ticks .icon { color: var(--accent-light); }

.photo { margin: 0; }
.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; background: var(--paper); }
.photo figcaption { font-size: .88rem; color: var(--muted); margin-top: .4rem; }
.photo-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .photo-row { grid-template-columns: 1fr 1fr; } }

/* services list */
.svc-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.svc { display: grid; grid-template-columns: 56px 1fr; gap: .2rem 1rem; padding: 1.3rem 1.4rem; background: #fff; text-decoration: none; color: inherit; align-content: start; }
.svc:hover { background: #fff5f4; }
.svc__ic { grid-row: span 2; width: 56px; height: 56px; border-radius: 8px; background: var(--navy); color: #ff8f85; display: grid; place-items: center; }
.svc__ic .icon { width: 28px; height: 28px; }
.svc h3 { margin: 0; font-size: 1.08rem; }
.svc p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (min-width: 760px) and (max-width: 1019px) {
  .svc-list { grid-template-columns: 1fr 1fr; }
  .svc-list .svc:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1020px) {
  .svc-list--3 { grid-template-columns: repeat(3, 1fr); }
  .svc-list--3 .svc:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
}

/* why */
.why { display: grid; gap: 1.8rem 2.4rem; }
.why li { border-top: 3px solid var(--navy); padding-top: 1rem; }
.why .icon { width: 30px; height: 30px; color: var(--accent-ink); margin-bottom: .4rem; }
.why h3 { margin-bottom: .3rem; }
.why p { color: var(--muted); margin: 0; }
@media (min-width: 700px) { .why { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .why { grid-template-columns: repeat(3, 1fr); } }

/* cost factors */
.factors { display: grid; gap: 0 2.5rem; border-top: 1px solid var(--line); grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.factors li { display: grid; grid-template-columns: 44px 1fr; gap: .2rem 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.factors .icon { width: 28px; height: 28px; color: var(--accent-ink); grid-row: span 2; margin-top: .15rem; }
.factors strong { font: 700 1rem var(--font-head); color: var(--navy); }
.factors span { color: var(--muted); }

/* process: a road with stops */
.steps { display: grid; gap: 1.6rem; position: relative; margin: 0; padding: 0; list-style: none; }
.step { position: relative; padding-left: 4.2rem; }
.step__n { position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 1.2rem var(--font-head); display: grid; place-items: center; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent); }
.step h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: 1rem; }
.steps::before { content: ""; position: absolute; left: 25px; top: 26px; bottom: 26px; border-left: 3px dashed var(--accent); }
@media (min-width: 980px) {
  .steps--4 { grid-template-columns: repeat(4, 1fr) !important; }
  .steps--4::before { right: 14% !important; }
  .steps { grid-template-columns: repeat(5, 1fr); gap: 1.4rem; }
  .step { padding: 4.2rem 0 0; }
  .step__n { left: 0; }
  .steps::before { left: 26px; right: 12%; top: 26px; bottom: auto; border-left: 0; border-top: 3px dashed var(--accent); }
}

/* areas */
.cities { display: grid; gap: 1.2rem; }
.city { border: 1px solid var(--line); border-radius: 10px; padding: 1.3rem; background: #fff; }
.city h3 { margin: 0 0 .2rem; }
.city h3 a { color: var(--navy); text-decoration: none; }
.city h3 a:hover { color: var(--accent-ink); }
.city > p { color: var(--muted); font-size: .98rem; margin: 0 0 .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { display: inline-block; padding: .3rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font-size: .93rem; text-decoration: none; }
a.chip:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip--plain { background: var(--paper); border-color: transparent; color: var(--muted); }
.chip--all { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
a.chip--all:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (min-width: 720px) { .cities { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .cities { grid-template-columns: repeat(3, 1fr); } }

/* faq */
.faq-wrap { display: grid; gap: 1.5rem; }
.faq-wrap .section-head { margin-bottom: 0; }
.faq-help { font-size: 1rem; }
@media (min-width: 900px) {
  .faq-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 3.5rem; align-items: start; }
  .faq-wrap .section-head { position: sticky; top: 7.5rem; }
}
.faq { max-width: none; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.1rem .2rem; font: 700 1.05rem/1.35 var(--font-head); color: var(--navy); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .15s; color: var(--accent-ink); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .faq__a { padding: 0 .2rem 1.2rem; color: var(--ink); max-width: 66ch; }

/* tips */
.tips { display: grid; gap: 1.4rem 2rem; }
.tips li { padding-left: 1rem; border-left: 4px solid var(--accent); }
.tips h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.tips p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (min-width: 760px) { .tips { grid-template-columns: 1fr 1fr; } }

/* cta band */
.cta { background: var(--navy); color: #dbe6f7; padding: 2.6rem 0; }
.cta .container { display: grid; gap: 1.2rem; align-items: center; }
.cta h2 { color: #fff; margin: 0 0 .3rem; font-size: clamp(1.4rem, 1.1rem + 1.3vw, 1.9rem); }
.cta p { margin: 0; }
@media (min-width: 900px) { .cta .container { grid-template-columns: 1fr auto; gap: 3rem; } }

/* contact */
.contact { display: grid; gap: 2rem; }
.contact dl { margin: 0; }
.contact dt { font: 700 .98rem var(--font-head); color: var(--navy); margin-top: 1.1rem; }
.contact dd { margin: .15rem 0 0; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; gap: 3rem; } }

/* footer */
.site-footer { background: #010f26; color: #b9c7dd; padding: 3.2rem 0 0; font-size: .98rem; }
.site-footer a { color: #d8e3f5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; gap: 2rem; padding-bottom: 2.4rem; }
.site-footer h2 { font: 700 1rem var(--font-head); color: #fff; margin: 0 0 .8rem; letter-spacing: .01em; }
.site-footer li { padding: .22rem 0; }
.footer__brand .logo-plate { display: inline-block; background: #fff; border-radius: 8px; padding: .5rem .8rem; line-height: 0; margin-bottom: 1rem; }
.footer__brand .logo-plate img { height: 54px; width: auto; }
.footer__contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer__contact .icon { color: var(--accent-light); margin-top: .2rem; }
.footer__areas { border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.4rem 0; }
.footer__areas p { margin: 0 0 .5rem; }
.footer__areas a { margin-right: 1rem; white-space: nowrap; display: inline-block; padding: .1rem 0; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.1rem 0 5.5rem; font-size: .9rem; display: flex; flex-wrap: wrap; gap: .4rem 2rem; justify-content: space-between; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 2.5rem; } .footer__bottom { padding-bottom: 1.4rem; } }

/* gallery: every photo in the same square tile, so rows line up; a tap opens the full photo */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
@media (max-width: 999px) {
  .gallery-grid .photo:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .gallery-grid .photo:last-child:nth-child(odd) img { aspect-ratio: 16 / 9; }
}
@media (min-width: 1000px) { .gallery-grid { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }
.gallery-grid .photo a { display: block; line-height: 0; }
.gallery-grid .photo img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 45%; cursor: zoom-in; transition: opacity .15s; }
.gallery-grid .photo a:hover img { opacity: .88; }
.lbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
.lbox::backdrop { background: rgba(1, 15, 38, .9); }
.lbox img { display: block; max-width: 92vw; max-height: 88vh; margin: 0 auto; border-radius: 6px; background: #fff; }
.lbox__close, .lbox__nav { position: fixed; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--navy); display: grid; place-items: center; cursor: pointer; z-index: 3; }
.lbox__close { top: 14px; right: 14px; }
.lbox__nav { top: 50%; transform: translateY(-50%); }
.lbox__prev { left: 12px; }
.lbox__prev .icon { transform: rotate(180deg); }
.lbox__next { right: 12px; }
.lbox__close:hover, .lbox__nav:hover { background: var(--accent); color: #fff; }

/* home: one large photo beside the intro text */
.photo--big img { aspect-ratio: 4 / 3; object-position: 50% 55%; }

/* home: strip of work photos */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
@media (min-width: 900px) { .work-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.work-grid a { display: block; line-height: 0; }
.work-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; transition: opacity .15s; }
.work-grid a:hover img { opacity: .88; }

/* quote popup */
.qpop__photo { line-height: 0; }
.qpop__photo img { width: 100%; height: 11rem; object-fit: cover; object-position: 50% 28%; }
.qpop .qform { padding-top: 1.3rem; }
.qpop { border: 0; padding: 0; border-radius: 12px; width: min(560px, 92vw); max-height: 92vh; overflow: auto; background: #fff; color: var(--ink); }
.qpop::backdrop { background: rgba(1, 24, 57, .72); }
.qpop .qform { border: 0; border-radius: 0; padding: 1.8rem 1.6rem 1.5rem; }
.qpop .qform__title { font-size: 1.45rem; padding-right: 2.5rem; }
.qpop__close { position: absolute; top: .7rem; right: .7rem; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--paper); color: var(--navy); display: grid; place-items: center; cursor: pointer; z-index: 2; }
.qpop__close:hover { background: var(--navy); color: #fff; }

/* floating call / whatsapp */
.float { position: fixed; right: 14px; bottom: 14px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.float a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(1, 24, 57, .35); text-decoration: none; }
.float .icon { width: 28px; height: 28px; }
.float__wa { background: var(--wa); color: #fff; }
.float__call { background: var(--accent); color: #fff; }

/* notes inside a split column: fit to the column, not the page */
.split .why { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* legal text and plain boxes */
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.3rem; margin: 2rem 0 .5rem; }
.legal p { max-width: 68ch; }
.legal .updated { color: var(--muted); }
.box { border-left: 4px solid var(--accent); background: var(--paper); padding: 1.2rem 1.4rem; border-radius: 0 8px 8px 0; max-width: 46rem; }
.box p:last-child { margin-bottom: 0; }
.state-title { font: 700 1rem var(--font-head); color: var(--navy); margin: 1.4rem 0 .5rem; }
.rows { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 52rem; }
.rows > div { display: grid; grid-template-columns: 1fr; gap: .15rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.rows b { font: 700 1rem var(--font-head); color: var(--navy); }
@media (min-width: 720px) { .rows > div { grid-template-columns: 1.2fr 1fr 2fr; gap: 1.5rem; } }

/* notices / 404 */
.notice { max-width: 40rem; }
.notice .btn-row { margin-top: 1.2rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
