/* MedEase Healthcare: design system. Brand from the logo: red #E24654, teal #036F8C, navy #1E4272. */
:root {
  --red: #E24654; --red-d: #C9303F; --red-t: #FDEEF0;
  --teal: #036F8C; --teal-d: #025570; --teal-t: #E3F1F6;
  --navy: #1E4272; --ink: #0E2A3B; --muted: #4B6272; --line: #D9E5EB; --bg: #FFFFFF; --soft: #F5F9FB;
  --wa: #128C4A; --wa-d: #0D6F3A; --gold: #F5B301;
  --r: 16px; --r-s: 10px; --sh: 0 1px 2px rgba(14,42,59,.06), 0 10px 30px rgba(14,42,59,.09);
  --grad: linear-gradient(135deg, #E24654 0%, #1E4272 100%);
  --fh: "Outfit", "Segoe UI", system-ui, -apple-system, "Noto Sans", Arial, sans-serif;
  --fb: "DM Sans", "Segoe UI", system-ui, -apple-system, "Noto Sans", Arial, sans-serif;
  --bar: 66px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--fb); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 1.0625rem; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-d); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 14px; z-index: 300; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 18px; }
h1, h2, h3, h4 { font-family: var(--fh); color: var(--ink); line-height: 1.18; letter-spacing: -.012em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3.8vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.red { color: var(--red-d); } .teal { color: var(--teal); }
.eyebrow { display: inline-block; font: 600 .8rem var(--fh); letter-spacing: .12em; text-transform: uppercase; color: var(--red-d); margin-bottom: .7em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 64ch; }
.muted { color: var(--muted); }
.center { text-align: center; } .center .lead { margin-inline: auto; }

/* announcement + topbar */
.announce { background: var(--grad); color: #fff; font-size: .92rem; text-align: center; padding: 7px 14px; }
.announce a { color: #fff; font-weight: 700; }
.topbar { background: var(--ink); color: #cfe0ea; font-size: .86rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar .hide-s { }
@media (max-width: 640px) { .topbar .hide-s { display: none; } .topbar .wrap { justify-content: center; } }

/* header */
header.site { position: sticky; top: 0; z-index: 110; background: #fff; border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { height: 30px; width: auto; }
nav.main { flex: 1; display: flex; justify-content: center; min-width: 0; }
nav.main > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
nav.main > ul > li { position: relative; }
nav.main a.nl, nav.main button.nl { display: inline-flex; align-items: center; gap: 4px; padding: 10px 11px; border: 0; background: none; font: 600 .95rem var(--fh); color: var(--ink); text-decoration: none; cursor: pointer; border-radius: 10px; }
nav.main a.nl:hover, nav.main button.nl:hover, nav.main a[aria-current=page] { color: var(--red-d); background: var(--red-t); }
.mega { position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-30%); width: min(940px, 94vw); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh); padding: 20px; display: none; grid-template-columns: repeat(4, 1fr); gap: 18px 22px; z-index: 120; }
.mega.open { display: grid; }
.mega h4 { font: 700 .78rem var(--fh); text-transform: uppercase; letter-spacing: .1em; color: var(--red-d); margin: 0 0 6px; }
.mega a { display: block; padding: 4px 0; text-decoration: none; color: var(--ink); font-size: .95rem; }
.mega a:hover { color: var(--teal); text-decoration: underline; }
.mega .all { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 12px; font-weight: 700; }
.hdr-tools { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.loc-btn, .srch-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; font: 600 .9rem var(--fh); color: var(--ink); cursor: pointer; }
.loc-btn:hover, .srch-btn:hover { border-color: var(--teal); }
.burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 1060px) {
  nav.main { position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); background: #fff; transform: translateX(105%); transition: transform .25s; z-index: 200; box-shadow: -10px 0 40px rgba(0,0,0,.2); padding: 70px 16px 24px; overflow-y: auto; display: block; }
  nav.main.open { transform: none; }
  nav.main > ul { flex-direction: column; align-items: stretch; gap: 0; }
  nav.main a.nl, nav.main button.nl { width: 100%; justify-content: space-between; padding: 13px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .mega { position: static; transform: none; width: 100%; box-shadow: none; border: 0; padding: 6px 0 10px 8px; grid-template-columns: 1fr; gap: 10px; }
  .burger { display: inline-flex; margin-left: auto; }
  .hdr-tools .hide-m { display: none; }
  .hdr-tools { margin-left: auto; }
  .burger { margin-left: 0; }
}
.nav-close { display: none; }
@media (max-width: 1060px) { .nav-close { display: flex; position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border: 0; background: var(--soft); border-radius: 50%; font-size: 1.6rem; cursor: pointer; align-items: center; justify-content: center; } }
.scrim { position: fixed; inset: 0; background: rgba(14,42,59,.5); z-index: 105; display: none; }
.scrim.on { display: block; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; min-height: 48px; border-radius: 12px; background: var(--teal); color: #fff; text-decoration: none; font: 600 1rem var(--fh); border: 0; cursor: pointer; line-height: 1.2; text-align: center; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { background: var(--teal-d); color: #fff; transform: translateY(-1px); }
.btn.cta { background: var(--red-d); box-shadow: 0 8px 20px rgba(201,48,63,.28); }
.btn.cta:hover { background: #b0222f; }
.btn.wa { background: var(--wa); } .btn.wa:hover { background: var(--wa-d); }
.btn.ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); } .btn.ghost:hover { background: var(--teal-t); color: var(--navy); }
.btn.sm { padding: 9px 16px; min-height: 40px; font-size: .92rem; border-radius: 10px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.ico { width: 1.15em; height: 1.15em; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* hero */
.hero { position: relative; background: linear-gradient(180deg, #fdf3f4 0%, #eaf4f8 70%, #fff 100%); padding: 40px 0 56px; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -140px; top: -140px; width: 520px; height: 520px; border-radius: 50%; background: var(--teal); opacity: .07; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; } .hero { padding: 24px 0 36px; } }
.rating-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 8px; font: 600 .92rem var(--fh); box-shadow: var(--sh); margin-bottom: 16px; }
.rating-pill .g { width: 26px; height: 26px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; font: 700 .95rem var(--fh); color: #4285F4; border: 1px solid var(--line); }
.stars { color: var(--gold); letter-spacing: 1px; }
.searchbox { display: grid; grid-template-columns: 180px 1fr auto; background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 6px; box-shadow: var(--sh); gap: 6px; position: relative; margin: 20px 0 14px; }
.searchbox:focus-within { border-color: var(--teal); }
.searchbox select, .searchbox input { border: 0; background: transparent; font: 500 1rem var(--fb); color: var(--ink); min-height: 50px; padding: 0 12px; width: 100%; outline: none; }
.searchbox select { border-right: 1.5px solid var(--line); font-weight: 600; cursor: pointer; }
@media (max-width: 640px) { .searchbox { grid-template-columns: 1fr auto; } .searchbox select { grid-column: 1 / -1; border-right: 0; border-bottom: 1.5px solid var(--line); } }
.sugg { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh); z-index: 60; max-height: 340px; overflow-y: auto; display: none; padding: 6px; }
.sugg.open { display: block; }
.sugg a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 500; }
.sugg a:hover, .sugg a.act { background: var(--teal-t); }
.sugg small { color: var(--muted); font-weight: 400; }
.sugg .none { padding: 12px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip { display: inline-block; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px; font: 500 .92rem var(--fb); color: var(--ink); text-decoration: none; cursor: pointer; }
a.chip:hover, button.chip:hover { border-color: var(--teal); color: var(--teal); }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: min(520px, 100%); }
.hero .form-card { position: relative; z-index: 2; }

/* form card (logo watermark behind) */
.form-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: var(--sh); overflow: hidden; isolation: isolate; }
.form-card::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 240px; height: 240px; background: url("assets/logo-icon.png") center/contain no-repeat; opacity: .08; z-index: -1; transform: rotate(8deg); }
.form-card .fc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.form-card .fc-head img { width: 44px; height: 44px; }
.form-card h2, .form-card h3 { font-size: 1.4rem; margin: 0; }
.form-card .sub { color: var(--muted); font-size: .95rem; margin: 2px 0 0; }
.field { margin-bottom: 13px; }
label, legend { display: block; font: 600 .92rem var(--fh); margin-bottom: 5px; padding: 0; color: var(--ink); }
input[type=text], input[type=tel], input[type=email], input[type=number], input[type=url], input[type=password], select, textarea { width: 100%; padding: 11px 13px; min-height: 48px; font: 500 1rem var(--fb); border: 1.5px solid #A9BECA; border-radius: 12px; background: #fff; color: var(--ink); }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(3,111,140,.18); }
fieldset { border: 0; padding: 0; margin: 0 0 13px; min-width: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { display: inline-flex; align-items: center; gap: 7px; margin: 0; font: 500 .95rem var(--fb); border: 1.5px solid #A9BECA; border-radius: 11px; padding: 9px 13px; min-height: 44px; cursor: pointer; background: #fff; }
.seg label:has(input:checked) { border-color: var(--teal); background: var(--teal-t); font-weight: 700; }
.consent { display: flex; gap: 10px; align-items: flex-start; font: 400 .85rem var(--fb); color: var(--muted); line-height: 1.5; margin: 0 0 14px; }
.consent input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 12px; padding: 12px 14px; border-radius: 12px; font-size: .95rem; display: none; }
.form-status.ok { display: block; background: #E6F6EC; border: 1px solid #9AD3B0; }
.form-status.err { display: block; background: #FDECEC; border: 1px solid #E3A3A3; }
.form-note { font-size: .82rem; color: var(--muted); margin: 10px 0 0; }
.form-card .btn.cta { width: 100%; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 520px) { .grid2 { grid-template-columns: 1fr; } }

/* trust strip */
.trust { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust .ti { display: flex; align-items: center; gap: 12px; padding: 18px 14px; border-right: 1px solid var(--line); }
.trust .ti:last-child { border-right: 0; }
.trust .ti .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--red-t); color: var(--red-d); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.trust .ti:nth-child(even) .ic { background: var(--teal-t); color: var(--teal); }
.trust b { display: block; font: 700 1.05rem var(--fh); line-height: 1.2; }
.trust span.s { font-size: .86rem; color: var(--muted); line-height: 1.3; display: block; }
@media (max-width: 900px) { .trust .wrap { grid-template-columns: 1fr 1fr; } .trust .ti { border-bottom: 1px solid var(--line); } .trust .ti:nth-child(2n) { border-right: 0; } }

/* sections */
section.blk { padding: 64px 0; }
section.blk.soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 640px) { section.blk { padding: 42px 0; } }
.sec-head { max-width: 720px; margin-bottom: 30px; }
.sec-head.center { margin-inline: auto; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: transform .18s, box-shadow .18s; text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--sh); color: inherit; }
.card .art img { width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; }
.card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { margin: 0; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }
.card .more { margin-top: auto; padding-top: 10px; font: 600 .95rem var(--fh); color: var(--red-d); display: inline-flex; align-items: center; gap: 6px; }
.tcount { display: inline-block; font: 600 .78rem var(--fh); color: var(--teal); background: var(--teal-t); border-radius: 999px; padding: 3px 10px; }
.tlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.tlist a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 600; }
.tlist a:hover { border-color: var(--teal); color: var(--teal); }
.tlist small { color: var(--muted); font-weight: 500; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: thin; }
.tabs button { flex: 0 0 auto; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font: 600 .92rem var(--fh); cursor: pointer; color: var(--ink); }
.tabs button[aria-pressed=true] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* journey */
.journey { list-style: none; counter-reset: j; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.journey li { counter-increment: j; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px 18px; }
.journey li::before { content: counter(j); position: absolute; top: -12px; left: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: #fff; font: 700 .85rem var(--fh); display: flex; align-items: center; justify-content: center; }
.journey .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--teal-t); color: var(--teal); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.journey li:nth-child(odd) .ic { background: var(--red-t); color: var(--red-d); }
.journey h3 { font-size: 1.05rem; margin-bottom: .3em; }
.journey p { margin: 0; font-size: .93rem; color: var(--muted); }
.why { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.why .w { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.why .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--red-t); color: var(--red-d); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.why .w:nth-child(even) .ic { background: var(--teal-t); color: var(--teal); }
.why h3 { font-size: 1.05rem; margin: 0 0 .25em; } .why p { margin: 0; font-size: .94rem; color: var(--muted); }
.rate-card { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; background: var(--grad); color: #fff; border-radius: 22px; padding: 26px 28px; }
.rate-card .big { font: 700 3.4rem/1 var(--fh); }
.rate-card .stars { font-size: 1.3rem; }
.rate-card p { margin: 0; color: #e8eef6; }
.rate-card a { color: #fff; }
.cta-band { position: relative; background: var(--grad); color: #fff; border-radius: 26px; padding: 40px 30px; display: flex; flex-wrap: wrap; gap: 20px 30px; align-items: center; justify-content: space-between; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: url("assets/banner.svg") center/cover; opacity: .55; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin: 0 0 .2em; } .cta-band p { margin: 0; color: #e8eef6; }
.cta-band .btn.cta { background: #fff; color: var(--red-d); box-shadow: none; } .cta-band .btn.cta:hover { background: var(--red-t); }

/* videos + feedback */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.vcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.vcard .thumb { aspect-ratio: 9 / 14; background: var(--grad); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; font: 600 1rem var(--fh); padding: 18px; text-align: center; }
.vcard .thumb .play { width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.2); border: 2px solid #fff; display: flex; align-items: center; justify-content: center; }
.vcard .cap { padding: 12px 14px; font-size: .92rem; color: var(--muted); }
.vcard iframe { width: 100%; border: 0; aspect-ratio: 9 / 16; min-height: 480px; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.tcard .stars { font-size: 1.05rem; }
.tcard blockquote { margin: 8px 0 12px; font-size: 1rem; color: var(--ink); }
.tcard cite { font: 600 .92rem var(--fh); font-style: normal; color: var(--navy); }
.empty { background: #fff; border: 1.5px dashed #A9BECA; border-radius: 20px; padding: 28px; text-align: center; color: var(--muted); }
.star-pick { display: flex; gap: 6px; }
.star-pick input { position: absolute; opacity: 0; }
.star-pick label { font-size: 2rem; line-height: 1; cursor: pointer; color: #C9D6DE; margin: 0; padding: 2px; }
.star-pick label.on { color: var(--gold); }

/* calculators / tools */
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.tool { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.result { background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-top: 14px; }
.result .big { font: 700 2rem var(--fh); color: var(--navy); }
.result table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.result td { padding: 6px 0; border-bottom: 1px solid var(--line); } .result td:last-child { text-align: right; font-weight: 600; }
.range { width: 100%; accent-color: var(--red-d); min-height: 30px; }
.small { font-size: .86rem; color: var(--muted); }

/* treatment page */
.crumb { font-size: .9rem; color: var(--muted); padding: 16px 0 0; } .crumb a { color: var(--muted); }
.thero { background: linear-gradient(180deg, #fdf3f4, #eaf4f8); padding: 8px 0 38px; border-bottom: 1px solid var(--line); }
.thero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; margin-top: 12px; }
@media (max-width: 900px) { .thero-grid { grid-template-columns: minmax(0, 1fr); } }
.callbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0 0; }
.callbar .num { display: inline-flex; align-items: center; gap: 8px; font: 700 1.25rem var(--fh); color: var(--navy); text-decoration: none; padding: 10px 16px; border: 2px solid var(--navy); border-radius: 12px; background: #fff; }
.glance { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 4px 18px; margin: 18px 0; }
.glance div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.glance div:last-child { border-bottom: 0; }
.glance dt { font: 600 .95rem var(--fh); color: var(--teal); } .glance dd { margin: 0; color: var(--muted); }
@media (max-width: 520px) { .glance div { grid-template-columns: 1fr; gap: 2px; } }
.art-frame { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh); background: #fff; }
.art-frame .note { font-size: .78rem; color: var(--muted); padding: 8px 14px; border-top: 1px solid var(--line); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 42px; align-items: start; padding: 38px 0 10px; }
@media (max-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr); } }
.sidebar { position: sticky; top: 92px; display: grid; gap: 16px; }
@media (max-width: 1000px) { .sidebar { position: static; } }
article h2 { margin-top: 1.8em; scroll-margin-top: 96px; font-size: clamp(1.45rem, 3vw, 1.9rem); }
article h2:first-of-type { margin-top: 0; }
article ul, article ol { padding-left: 1.25em; margin: 0 0 1.1em; } article li { margin-bottom: .45em; }
.toc { background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 14px 20px; font-size: .95rem; margin-bottom: 28px; }
.toc strong { font-family: var(--fh); display: block; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 28px; } .toc li { margin-bottom: 3px; }
@media (max-width: 560px) { .toc ol { columns: 1; } }
.urgent { background: #FFF1F2; border: 1px solid #F4B5BB; border-left: 5px solid var(--red-d); border-radius: 14px; padding: 16px 18px; margin: 0 0 1.2em; }
.urgent h3 { color: var(--red-d); margin: 0 0 .4em; font-size: 1.05rem; } .urgent ul { margin: 0; }
.opt { border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; background: #fff; }
.opt h3 { margin: 0 0 .2em; font-size: 1.05rem; color: var(--navy); } .opt p { margin: 0; color: var(--muted); font-size: .98rem; }
.check-list { list-style: none; padding: 0 !important; }
.check-list li { padding: 10px 0 10px 32px; position: relative; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "?"; position: absolute; left: 0; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--red-t); color: var(--red-d); font: 700 .82rem var(--fh); display: flex; align-items: center; justify-content: center; }
details { border: 1.5px solid var(--line); border-radius: 14px; padding: 0 18px; margin-bottom: 10px; background: #fff; }
details[open] { border-color: var(--teal); }
summary { cursor: pointer; font: 600 1.02rem var(--fh); padding: 15px 0; }
details p { color: var(--muted); }
.notice { background: #FFF8E5; border: 1px solid #F0D98A; border-radius: 14px; padding: 14px 18px; font-size: .95rem; }
.notice.info { background: var(--teal-t); border-color: #b5d6e1; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pill { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px; font: 600 .9rem var(--fh); color: var(--navy); text-decoration: none; }
a.pill:hover { background: var(--teal-t); border-color: var(--teal); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font: 600 .85rem var(--fh); color: var(--teal); background: var(--teal-t); border-radius: 8px; padding: 4px 10px; }
.mini { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.mini h3 { font-size: 1.1rem; }
.compare { overflow-x: auto; } .compare table { border-collapse: collapse; width: 100%; min-width: 460px; } .compare th, .compare td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); }

/* footer */
footer.site { background: var(--ink); color: #c5d6e0; padding: 54px 0 100px; margin-top: 30px; font-size: .95rem; }
footer.site a { color: #cfe6f0; text-decoration: none; } footer.site a:hover { color: #fff; text-decoration: underline; }
footer.site h3 { color: #fff; font-size: 1rem; }
footer.site .logo-box { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 12px; margin-bottom: 12px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
footer.site ul { list-style: none; margin: 0; padding: 0; } footer.site li { margin-bottom: 7px; }
.legal { border-top: 1px solid #27455a; padding-top: 18px; font-size: .84rem; color: #9db4c3; }
.hashrow { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 14px 0; font-size: .85rem; color: #8fb4c8; }

/* fixed actions */
.mbar { display: none; }
@media (max-width: 800px) {
  body.has-mbar { padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom, 0px)); }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 110; background: #fff; border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -6px 20px rgba(14,42,59,.12); }
  .mbar .btn { min-height: 46px; padding: 8px 6px; font-size: .92rem; border-radius: 11px; }
}
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 100; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
body.has-mbar .fab { bottom: calc(var(--bar) + 14px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 801px) { body.has-mbar .fab { bottom: 16px; } }
.fab .f { width: 56px; height: 56px; border-radius: 50%; border: 0; display: flex; align-items: center; justify-content: center; color: #fff; cursor: pointer; box-shadow: 0 8px 22px rgba(0,0,0,.25); text-decoration: none; }
.fab .f.wa { background: var(--wa); } .fab .f.chat { background: var(--grad); width: auto; border-radius: 999px; padding: 0 20px; gap: 8px; font: 600 .98rem var(--fh); }
.fab .f .ico { width: 26px; height: 26px; } .fab .f.chat .ico { width: 22px; height: 22px; }
.toast { position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 12px; z-index: 400; max-width: calc(100vw - 32px); font-size: .94rem; box-shadow: var(--sh); }

/* popup */
.modal { position: fixed; inset: 0; z-index: 250; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(14,42,59,.58); }
.modal.open { display: flex; }
.modal .box { position: relative; width: min(480px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; border-radius: 24px; box-shadow: 0 24px 70px rgba(0,0,0,.35); animation: pop .28s ease; }
@keyframes pop { from { transform: translateY(18px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.modal .top { background: var(--grad); color: #fff; padding: 22px 24px 18px; }
.modal .top img { height: 28px; width: auto; background: #fff; border-radius: 10px; padding: 6px 10px; margin-bottom: 10px; }
.modal .top h2 { color: #fff; font-size: 1.5rem; margin: 0 0 .15em; } .modal .top p { margin: 0; color: #fde3e6; font-size: .95rem; }
.modal .body { padding: 20px 24px 24px; }
.modal .x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.2); color: #fff; font-size: 1.6rem; cursor: pointer; line-height: 1; z-index: 2; }
.modal .body .form-card { box-shadow: none; border: 0; padding: 0; overflow: visible; } .modal .body .form-card::after { display: none; }
@media (max-width: 560px) { .modal { align-items: flex-end; padding: 0; } .modal .box { border-radius: 24px 24px 0 0; max-height: 92dvh; width: 100%; } }

/* chat */
.chat-panel { position: fixed; right: 16px; bottom: 16px; z-index: 260; width: 390px; max-width: calc(100vw - 24px); height: min(620px, calc(100dvh - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 16px 50px rgba(14,42,59,.32); display: none; flex-direction: column; overflow: hidden; }
.chat-panel.open { display: flex; }
@media (max-width: 520px) { .chat-panel { inset: auto 0 0 0; width: 100%; max-width: 100%; height: min(88dvh, 680px); border-radius: 22px 22px 0 0; } }
.chat-head { background: var(--grad); color: #fff; padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.chat-head img { width: 38px; height: 38px; background: #fff; border-radius: 50%; padding: 5px; }
.chat-head .t { flex: 1; min-width: 0; } .chat-head strong { display: block; font: 700 1rem var(--fh); } .chat-head span { font-size: .78rem; color: #f3d9de; display: flex; align-items: center; gap: 6px; }
.chat-head span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5be38f; }
.chat-close { background: rgba(255,255,255,.18); border: 0; color: #fff; font-size: 1.4rem; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--soft); overscroll-behavior: contain; }
.msg { max-width: 90%; padding: 10px 14px; border-radius: 16px; font-size: .96rem; line-height: 1.5; overflow-wrap: anywhere; }
.msg.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.me { background: var(--teal); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.warn { background: #FFF1F2; border-color: #F4B5BB; }
.msg p { margin: 0 0 .5em; } .msg p:last-child { margin: 0; } .msg a { font-weight: 700; }
.qr { display: flex; flex-wrap: wrap; gap: 7px; align-self: flex-start; max-width: 100%; }
.qr .chip { font: 600 .88rem var(--fh); border-color: var(--teal); color: var(--teal-d); }
.qr .chip.wa { border-color: var(--wa); color: var(--wa-d); }
.chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: #fff; }
.chat-form input { flex: 1; min-width: 0; min-height: 44px; } .chat-form .btn { min-height: 44px; padding: 8px 18px; }
.chat-foot { font-size: .72rem; color: var(--muted); padding: 0 12px 8px; background: #fff; }
.typing { display: inline-flex; gap: 4px; align-items: center; } .typing i { width: 6px; height: 6px; border-radius: 50%; background: #8aa; animation: blink 1s infinite; } .typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }

/* landing pages */
.lp-head { background: #fff; border-bottom: 1px solid var(--line); }
.lp-head .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 10px; }
.lp-hero { background: linear-gradient(180deg, #fdf3f4, #eaf4f8); padding: 30px 0 44px; }
.lp-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: start; }
@media (max-width: 920px) { .lp-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; } .ticks li { position: relative; padding-left: 30px; margin-bottom: 9px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-t) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.4l2.3 2.3 4.7-4.9' fill='none' stroke='%23036F8C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.consent-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 270; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh); padding: 16px; max-width: 560px; margin: 0 auto; font-size: .9rem; }
.consent-banner p { margin: 0 0 12px; }

/* admin */
.adm { display: grid; grid-template-columns: 230px 1fr; gap: 24px; padding: 24px 0 60px; align-items: start; }
@media (max-width: 860px) { .adm { grid-template-columns: 1fr; } }
.adm-nav { position: sticky; top: 84px; display: grid; gap: 6px; }
@media (max-width: 860px) { .adm-nav { position: static; grid-auto-flow: column; overflow-x: auto; } }
.adm-nav button { text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 11px 14px; font: 600 .95rem var(--fh); cursor: pointer; color: var(--ink); white-space: nowrap; }
.adm-nav button[aria-current=true] { background: var(--navy); color: #fff; border-color: var(--navy); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.kpi b { display: block; font: 700 1.9rem var(--fh); color: var(--navy); line-height: 1.1; } .kpi span { font-size: .85rem; color: var(--muted); }
.tbl { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.tbl table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 720px; }
.tbl th, .tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl th { background: var(--soft); font: 600 .82rem var(--fh); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tbl select { min-height: 36px; padding: 4px 8px; font-size: .88rem; }
.bot-log { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; max-height: 360px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.bar { height: 10px; background: var(--teal-t); border-radius: 6px; overflow: hidden; } .bar i { display: block; height: 100%; background: var(--grad); }
.hide { display: none !important; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; } .js .reveal.in { opacity: 1; transform: none; }
@media print { header.site, .fab, .mbar, .modal, .chat-panel { display: none !important; } }

.mega.small { width: 290px; transform: translateX(-20%); grid-template-columns: 1fr; gap: 4px; }
@media (max-width: 1060px) { .mega.small { width: 100%; transform: none; } }
.city-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.city-opt { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 13px; font: 600 1rem var(--fh); cursor: pointer; color: var(--ink); }
.city-opt:hover { border-color: var(--teal); background: var(--teal-t); }
.spec-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.spec-chips span { font: 500 .8rem var(--fb); background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--muted); }
.hero-art-l { display: none; }
@media (min-width: 961px) { .hero-art-l { display: block; max-width: 430px; margin-top: 18px; } }
.linkbio { max-width: 460px; margin: 0 auto; padding: 28px 16px 60px; text-align: center; }
.linkbio .btn { width: 100%; margin-bottom: 12px; justify-content: flex-start; padding-left: 20px; }
.linkbio .logo-big { width: 92px; height: 92px; margin: 0 auto 10px; }
.steps4 { counter-reset: s; list-style: none; padding: 0; margin: 0 0 1em; }
.steps4 li { counter-increment: s; position: relative; padding: 10px 0 10px 44px; border-bottom: 1px solid var(--line); }
.steps4 li::before { content: counter(s); position: absolute; left: 0; top: 9px; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; font: 700 .9rem var(--fh); display: flex; align-items: center; justify-content: center; }

/* desktop header: two rows (logo + tools, then menu) so nothing overflows */
@media (min-width: 1061px) {
  header.site .wrap { flex-wrap: wrap; position: relative; row-gap: 0; min-height: 0; padding-top: 10px; padding-bottom: 0; }
  .logo { order: 1; } .hdr-tools { order: 2; margin-left: auto; }
  nav.main { order: 3; flex: 1 0 100%; justify-content: flex-start; border-top: 1px solid var(--line); margin-top: 10px; padding: 2px 0; }
  nav.main > ul > li { position: static; }
  .mega { left: 0; right: 0; width: auto; transform: none; top: 100%; }
  .mega.small { left: 130px; right: auto; width: 320px; transform: none; }
}

/* compact header on phones */
@media (max-width: 640px) {
  header.site .wrap { gap: 8px; min-height: 60px; }
  .logo img { height: 23px; }
  .loc-btn { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .loc-btn [data-city-label] { display: none; }
}
