/* Public (guest) pages: home, login, register, password reset, services, catalog, FAQ, static pages.
   Design approved 2026-11-13 (mockups in public/_mockup). Colors are the site's old ones. */
:root { --blue:#4285f4; --dark:#333; --bg:#f7f7f7; --muted:#9aa1a9; --line:#eef0f3; --field:#e3e6ea; }
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; min-height:100vh; display:flex; flex-direction:column; background:var(--bg); color:var(--dark); font-family:"Exo 2",sans-serif; font-size:15px; line-height:1.5; }
a { color:inherit; text-decoration:none; }
img { max-width:100%; }
main { flex:1 0 auto; }

/* header */
.hdr { background:#fff; border-bottom:1px solid #eceef1; position:sticky; top:0; z-index:30; }
.hdr .in { max-width:1040px; margin:0 auto; padding:0 24px; height:70px; display:flex; align-items:center; gap:30px; }
.logo { position:relative; display:inline-flex; align-items:center; flex-shrink:0; padding:4px 13px 6px 2px; }
.logo .st { display:inline-block; transform:rotate(-6deg); background:var(--blue); color:#fff; font-size:22px; font-weight:800; letter-spacing:-.4px; line-height:1; border-radius:6px; padding:3px 10px 6px; transition:transform .2s; }
.logo:hover .st { transform:rotate(-3deg); }
.logo .cur { position:absolute; right:0; bottom:-1px; width:16px; height:19px; display:block; }
.hdr nav { display:flex; gap:26px; font-size:15px; margin-left:16px; color:#5f6670; }
.hdr nav a { position:relative; transition:color .15s; }
.hdr nav a:hover { color:var(--dark); }
.hdr nav a.on { color:var(--dark); font-weight:700; }
.hdr nav a.on::after { content:""; position:absolute; left:0; right:0; bottom:-7px; height:2px; border-radius:2px; background:var(--blue); }
.hdr .r { margin-left:auto; display:flex; align-items:center; gap:10px; font-size:15px; }
.hdr .ghost { padding:10px 18px; border-radius:12px; font-weight:700; transition:background .15s; }
.hdr .ghost:hover, .hdr .ghost.on { background:#f1f3f6; }
.hdr .btn { background:var(--blue); color:#fff; font-weight:700; padding:10px 22px; border-radius:12px; box-shadow:0 4px 12px rgba(66,133,244,.3); transition:transform .15s, box-shadow .15s; }
.hdr .btn:hover { transform:translateY(-1px); box-shadow:0 6px 16px rgba(66,133,244,.4); }

/* language switch */
.lng { position:relative; }
.lb { display:flex; align-items:center; gap:6px; height:40px; padding:0 10px; border:0; border-radius:12px; background:transparent; color:#5f6670; font:inherit; font-size:14px; font-weight:700; cursor:pointer; transition:background .15s; }
.lb:hover, .lng.open .lb { background:#f1f3f6; color:var(--dark); }
.lb svg { width:18px; height:18px; }
.lb .ch { width:14px; height:14px; transition:transform .2s; }
.lng.open .lb .ch { transform:rotate(180deg); }
.lm { position:absolute; right:0; top:calc(100% + 8px); min-width:170px; background:#fff; border-radius:12px; box-shadow:0 10px 30px rgba(0,0,0,.14); border:1px solid #eceef1; padding:6px; display:none; z-index:40; }
.lng.open .lm { display:block; }
.lm button { width:100%; display:flex; align-items:center; gap:10px; padding:9px 10px; border:0; border-radius:8px; background:none; font:inherit; font-size:14px; color:var(--dark); cursor:pointer; text-align:left; }
.lm button:hover { background:#f5f7fa; }
.lm button.on { font-weight:700; }
.lm img { width:18px; height:18px; border-radius:50%; object-fit:cover; }
.lm i { margin-left:auto; font-style:normal; color:var(--blue); }

/* blue band with a page title; content cards overlap it */
.band { background:var(--blue); color:#fff; text-align:center; padding:40px 24px 110px; }
.band h1 { margin:0; font-size:30px; font-weight:700; line-height:1.2; }
.band p { margin:8px 0 0; opacity:.85; font-size:15px; }
.band.short { padding-bottom:74px; }

/* notices (session alerts, statuses) */
.notice { width:calc(100% - 32px); max-width:640px; margin:16px auto 0; border-radius:12px; padding:12px 16px; font-size:14px; }
.notice.ok { background:#e7f7ee; color:#1e6b43; }
.notice.err { background:#fdecec; color:#9b2c2c; }
.notice.info { background:#eaf1fe; color:#2a4f8f; }

/* forms (login, register, password reset) */
.card { width:calc(100% - 32px); max-width:400px; margin:-70px auto 0; background:#fff; border-radius:12px; box-shadow:0 4px 18px rgba(0,0,0,.07); padding:30px 28px 26px; position:relative; }
.f { margin-bottom:12px; }
.f label { display:block; font-size:12px; color:var(--muted); margin:0 0 5px 2px; }
.f label .opt { color:#b8bec5; }
.f input { width:100%; border:1px solid var(--field); border-radius:8px; padding:12px 13px; font:inherit; font-size:15px; color:var(--dark); background:#fff; outline:none; transition:border-color .15s, box-shadow .15s; }
.f input:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(66,133,244,.15); }
.f input::placeholder { color:#b8bec5; }
.f.bad input { border-color:#e5534b; }
.f .e, .cap .e { display:block; margin:5px 2px 0; font-size:12px; color:#d64541; }
.cap { margin:16px 0; min-height:78px; }
.cap .h-captcha { display:flex; justify-content:center; }
.go { display:block; width:100%; border:0; border-radius:30px; background:var(--blue); color:#fff; font:inherit; font-size:16px; font-weight:700; padding:13px; cursor:pointer; text-align:center; transition:background .15s; }
.go:hover { background:#3576e6; }
.links { display:flex; justify-content:space-between; gap:10px; font-size:13px; margin:-4px 0 18px; }
.links a { color:var(--blue); }
.alt { text-align:center; font-size:14px; color:var(--muted); margin-top:18px; }
.alt a { color:var(--dark); font-weight:700; }
.hint { font-size:13px; color:#5f6670; background:#f5f7fa; border-radius:10px; padding:10px 12px; margin-bottom:16px; line-height:1.55; }

/* home */
.hero { background:var(--blue); color:#fff; text-align:center; padding:64px 24px 90px; }
.hero h1 { font-size:44px; font-weight:700; margin:0 0 10px; line-height:1.15; }
.hero p { font-size:16px; opacity:.85; margin:0 0 34px; }
.hero .b { display:inline-block; padding:12px 38px; border-radius:30px; font-size:15px; margin:4px 5px; }
.hero .b1 { background:#fff; color:var(--blue); font-weight:700; }
.hero .b2 { background:var(--dark); color:#fff; }
.stat { width:calc(100% - 32px); max-width:640px; margin:-44px auto 0; background:#fff; border-radius:10px; box-shadow:0 4px 18px rgba(0,0,0,.07); display:flex; position:relative; }
.stat div { flex:1; text-align:center; padding:22px 10px; font-size:12px; color:var(--muted); }
.stat div + div { border-left:1px solid #eee; }
.stat b { display:block; font-size:20px; color:var(--dark); }
.rev { width:calc(100% - 32px); max-width:860px; margin:56px auto 0; }
.rev h2 { font-size:13px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:2px; text-align:center; margin:0 0 18px; }
.rev .g { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.rev .g > div { background:#fff; border-radius:10px; padding:18px 20px; font-size:14px; line-height:1.5; box-shadow:0 1px 3px rgba(0,0,0,.04); overflow-wrap:anywhere; }
.rev .g small { display:block; margin-top:10px; font-size:12px; color:var(--muted); }
.rev a.all { display:block; width:max-content; margin:18px auto 0; font-size:14px; color:var(--blue); }

/* services, catalog */
.wrap { width:calc(100% - 32px); max-width:1000px; margin:-46px auto 0; position:relative; }
.tools { background:#fff; border-radius:12px; box-shadow:0 4px 18px rgba(0,0,0,.07); padding:14px; }
.search { display:flex; align-items:center; gap:10px; border:1px solid var(--field); border-radius:10px; padding:0 14px; height:46px; color:var(--muted); }
.search:focus-within { border-color:var(--blue); box-shadow:0 0 0 3px rgba(66,133,244,.15); }
.search svg { width:18px; height:18px; flex-shrink:0; }
.search input { flex:1; min-width:0; border:0; outline:none; font:inherit; font-size:15px; color:var(--dark); background:transparent; }
.search input::placeholder { color:#b8bec5; }
.nets { display:flex; gap:8px; margin-top:12px; overflow-x:auto; scrollbar-width:none; }
.nets::-webkit-scrollbar { display:none; }
.nets a { flex-shrink:0; display:flex; align-items:center; gap:7px; padding:6px 14px 6px 8px; border-radius:999px; background:#f1f3f6; font-size:14px; color:#4f5862; white-space:nowrap; }
.nets a.on { background:var(--blue); color:#fff; font-weight:700; }
.nets a.fav { background:#fff6e0; color:#b7791f; padding-left:14px; }
.nets a.ic { padding:6px 8px; }
.nets img { width:20px; height:20px; display:block; }
.subs { margin-top:12px; display:flex; flex-wrap:wrap; gap:6px 16px; font-size:13px; }
.subs a { color:var(--blue); }
.intro { margin-top:14px; font-size:14px; color:#5f6670; }

.cat { background:#fff; border-radius:12px; margin-top:16px; overflow:hidden; box-shadow:0 1px 3px rgba(0,0,0,.04); scroll-margin-top:86px; }
.cat h2 { margin:0; display:flex; align-items:center; gap:10px; padding:16px 20px; font-size:16px; font-weight:700; border-bottom:1px solid var(--line); }
.cat h2 small { margin-left:auto; font-size:12px; font-weight:400; color:var(--muted); white-space:nowrap; }
.cat .ico { width:28px; height:28px; display:block; flex-shrink:0; }
.row, .head { display:grid; grid-template-columns:34px 64px 1fr 150px 110px 110px 34px; align-items:center; gap:8px; padding:0 20px; }
.head { height:36px; font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:.6px; }
.head span:nth-child(n+4) { text-align:right; }
.row { min-height:52px; border-top:1px solid var(--line); font-size:14px; }
.row:hover { background:#fafbfc; }
.star { width:26px; height:26px; display:grid; place-items:center; border-radius:8px; color:#c9ced4; font-size:16px; }
.star:hover { color:#f0ad4e; }
.id { font-size:13px; color:var(--muted); font-variant-numeric:tabular-nums; }
.name { overflow-wrap:anywhere; }
.mm, .pr, .rs { text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.mm { color:#7a828c; font-size:13px; }
.pr { font-weight:700; }
.rs { color:#7a828c; }
.info { width:28px; height:28px; border:0; padding:0; border-radius:50%; display:grid; place-items:center; color:var(--blue); background:none; cursor:pointer; justify-self:end; }
.info:hover { background:#eaf1fe; }
.info svg { width:18px; height:18px; }
.meta-m { display:none; }
.empty { display:none; background:#fff; border-radius:12px; margin-top:16px; padding:30px 20px; text-align:center; color:var(--muted); }

/* description popup */
.ov { position:fixed; inset:0; background:rgba(20,28,40,.45); display:none; align-items:center; justify-content:center; padding:16px; z-index:50; }
.ov.show { display:flex; }
.modal { background:#fff; width:100%; max-width:480px; max-height:calc(100vh - 32px); overflow:auto; border-radius:16px; box-shadow:0 20px 50px rgba(0,0,0,.2); }
.mh { display:flex; align-items:center; gap:12px; padding:20px 22px 16px; }
.mh img { width:34px; height:34px; flex-shrink:0; }
.mh b { display:block; font-size:17px; line-height:1.3; }
.mh small { display:flex; flex-wrap:wrap; gap:2px 12px; color:var(--muted); font-size:12px; }
.x { margin-left:auto; width:34px; height:34px; border:0; border-radius:10px; display:grid; place-items:center; background:#f1f3f6; color:#666; font-size:20px; cursor:pointer; flex-shrink:0; }
.facts { display:grid; grid-template-columns:repeat(3,1fr); margin:0 22px; border:1px solid var(--line); border-radius:12px; }
.facts div { padding:12px 6px; text-align:center; font-size:11px; color:var(--muted); }
.facts div + div { border-left:1px solid var(--line); }
.facts b { display:block; font-size:16px; color:var(--dark); margin-bottom:2px; white-space:nowrap; }
.mb { padding:16px 22px 6px; font-size:14px; line-height:1.75; color:#555; overflow-wrap:anywhere; }
.mf { padding:14px 22px 22px; }

/* text pages (FAQ, terms, custom pages) */
.text { width:calc(100% - 32px); max-width:860px; margin:-70px auto 0; background:#fff; border-radius:12px; box-shadow:0 4px 18px rgba(0,0,0,.07); padding:32px 36px; position:relative; font-size:15px; line-height:1.7; overflow-wrap:anywhere; }
.text h1, .text h2, .text h3, .text h4 { line-height:1.3; }
.text img { height:auto; }
.text table { max-width:100%; }

/* footer */
footer { margin-top:auto; padding-top:60px; }
footer > div { background:#edeff1; color:#9aa3ad; font-size:12px; text-align:center; padding:20px 16px; line-height:1.7; }
footer a { color:#6f7780; }

@media (max-width:760px) {
  .hdr .in { height:62px; padding:0 16px; gap:12px; }
  .logo .st { font-size:20px; }
  .hdr nav, .hdr .ghost { display:none; }
  .hdr .btn { padding:9px 16px; font-size:14px; }
  .lb { padding:0 8px; } .lb span, .lb .ch { display:none; }

  .band { padding:30px 16px 104px; } .band h1 { font-size:26px; }
  .band.short { padding-bottom:66px; }
  .card { padding:26px 20px 22px; }
  .hero { padding:56px 16px 84px; } .hero h1 { font-size:30px; }
  .hero .b { padding:12px 26px; }
  .stat b { font-size:16px; }
  .rev { margin-top:40px; } .rev .g { grid-template-columns:1fr; }

  .head { display:none; }
  .row { grid-template-columns:30px 1fr auto; grid-template-areas:"star name pr" "star meta info"; row-gap:2px; padding:12px 14px; }
  .star { grid-area:star; align-self:start; }
  .name { grid-area:name; }
  .pr { grid-area:pr; }
  .id, .mm, .rs { display:none; }
  .meta-m { display:flex; flex-wrap:wrap; gap:2px 12px; grid-area:meta; font-size:12px; color:var(--muted); }
  .info { grid-area:info; width:24px; height:24px; }
  .cat h2 { padding:14px; }
  .facts b { font-size:14px; }
  .text { padding:22px 18px; }
}

/* Smooth states: hover colours fade, the language menu and dialogs appear softly. */
a, button, input, select, textarea { transition:color .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease, opacity .15s ease; }
@keyframes ozFade { from { opacity:0; } to { opacity:1; } }
@keyframes ozDrop { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }
@keyframes ozPop { from { opacity:0; transform:translateY(10px) scale(.98); } to { opacity:1; transform:none; } }
.lng.open .lm { animation:ozDrop .16s ease; }
.ov.show { animation:ozFade .18s ease; }
.ov.show .modal { animation:ozPop .22s ease; }
/* The favourite star is drawn: the "★" character sat above the middle of its button. */
.star svg { display:block; width:16px; height:16px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}

/* Home: price calculator and the e-mail call to action below the reviews. */
.hm-sec { width:calc(100% - 32px); max-width:860px; margin:64px auto 0; }
.hm-sec h2 { font-size:13px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:2px; text-align:center; margin:0 0 18px; }
.hm-calc { background:#fff; border-radius:14px; box-shadow:0 4px 18px rgba(0,0,0,.06); padding:26px; display:grid; grid-template-columns:1.35fr 1fr; gap:26px; }
.hm-chips { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
.hm-chips button { display:flex; align-items:center; gap:7px; border:1px solid var(--field); background:#fff; border-radius:999px; padding:6px 12px 6px 7px; font:inherit; font-size:14px; color:var(--dark); cursor:pointer; }
.hm-chips button:hover { border-color:#c9d7f2; }
.hm-chips button img { width:22px; height:22px; border-radius:50%; }
.hm-chips button.on { border-color:var(--blue); background:#eaf1fe; font-weight:700; }
.hm-f { margin-bottom:12px; }
.hm-f label { display:block; font-size:12px; color:var(--muted); margin:0 0 5px 2px; }
.hm-f select, .hm-f input { width:100%; border:1px solid var(--field); border-radius:8px; padding:11px 12px; font:inherit; font-size:15px; color:var(--dark); background:#fff; outline:none; }
.hm-f select:focus, .hm-f input:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(66,133,244,.15); }
.hm-f small { display:block; margin:5px 2px 0; font-size:12px; color:var(--muted); }
.hm-total { background:#f6f9ff; border-radius:12px; padding:22px; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; }
.hm-total span { font-size:13px; color:var(--muted); }
.hm-total b { display:block; font-size:38px; color:var(--dark); margin:6px 0 4px; letter-spacing:-.5px; overflow-wrap:anywhere; }
.hm-total small { font-size:12px; color:var(--muted); margin-bottom:18px; }
.hm-pill { display:inline-block; background:var(--blue); color:#fff; font-weight:700; padding:13px 38px; border-radius:30px; box-shadow:0 4px 12px rgba(66,133,244,.3); transition:transform .15s, box-shadow .15s; }
.hm-pill:hover { transform:translateY(-1px); box-shadow:0 6px 16px rgba(66,133,244,.35); }
.hm-cta { width:calc(100% - 32px); max-width:860px; margin:64px auto 56px; background:var(--blue); color:#fff; border-radius:18px; padding:34px 36px; display:grid; grid-template-columns:1fr auto; gap:28px; align-items:center; overflow:hidden; }
.hm-cta h2 { margin:0 0 6px; font-size:26px; line-height:1.2; }
.hm-cta p { margin:0 0 18px; opacity:.85; font-size:15px; }
.hm-cta form { display:flex; gap:8px; max-width:440px; }
.hm-cta input { flex:1; min-width:0; border:0; border-radius:30px; padding:13px 18px; font:inherit; font-size:15px; color:var(--dark); outline:none; }
.hm-cta input:focus { box-shadow:0 0 0 3px rgba(255,255,255,.35); }
.hm-cta button { border:0; border-radius:30px; padding:13px 26px; background:var(--dark); color:#fff; font:inherit; font-weight:700; cursor:pointer; white-space:nowrap; }
.hm-cta button:hover { background:#222; }
.hm-art { width:240px; height:auto; display:block; }
@media (max-width:760px) {
  .hm-sec { margin-top:44px; }
  .hm-calc { grid-template-columns:1fr; padding:20px; gap:18px; }
  .hm-total b { font-size:32px; }
  .hm-cta { grid-template-columns:1fr; padding:28px 20px; text-align:center; margin-top:44px; }
  .hm-cta form { flex-direction:column; margin:0 auto; }
  .hm-art { display:none; }
}

/* Own "I am not a robot" check (auth forms). */
.hc { display:flex; align-items:center; gap:12px; border:1px solid var(--field); border-radius:10px; padding:11px 12px; background:#fafbfc; }
.hc-box { position:relative; flex-shrink:0; width:26px; height:26px; border:2px solid #c9ced4; border-radius:7px; background:#fff; cursor:pointer; padding:0; display:grid; place-items:center; }
.hc-box:hover { border-color:var(--blue); }
.hc-box:focus-visible { outline:none; box-shadow:0 0 0 3px rgba(66,133,244,.25); }
.hc-tick { width:18px; height:18px; opacity:0; transform:scale(.6); transition:opacity .2s, transform .2s; }
.hc-spin { position:absolute; inset:3px; border:2px solid #dbe5f6; border-top-color:var(--blue); border-radius:50%; opacity:0; }
.hc.busy .hc-box { border-color:transparent; background:transparent; }
.hc.busy .hc-spin { opacity:1; animation:hcSpin .7s linear infinite; }
.hc.done .hc-box { background:#1e9e5a; border-color:#1e9e5a; cursor:default; }
.hc.done .hc-tick { opacity:1; transform:none; }
.hc.err { border-color:#d64541; }
.hc-text { flex:1; font-size:15px; color:var(--dark); }
.hc-mark { display:flex; flex-direction:column; align-items:center; gap:1px; font-size:10px; font-weight:700; color:#9aa1a9; letter-spacing:.3px; }
.hc-mark svg { width:20px; height:20px; color:var(--blue); }
.hc-trap { position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
@keyframes hcSpin { to { transform:rotate(360deg); } }
