:root {
  --navy: #0B2545; --navy-2: #13315C; --teal: #1A7F9C; --teal-d: #166A85; --red: #C62828; --green: #2E7D32; --amber: #E8A317;
  --ink: #1B2430; --muted: #5B6778; --line: #DCE3EE; --bg: #F4F7FB; --card: #FFFFFF; --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-d); }
a:hover { color: var(--navy); }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* header */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .06em; font-size: 1.05rem; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand small { display: block; font-weight: 500; letter-spacing: 0; opacity: .75; font-size: .72rem; margin-top: -3px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a, .nav button.linklike { color: #DCE6F5; text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: .97rem; background: none; border: 0; cursor: pointer; font-family: inherit; }
.nav a:hover, .nav a.active, .nav button.linklike:hover { background: rgba(255,255,255,.12); color: #fff; }
.nav form { margin: 0; }
.menu-toggle { display: none; }
@media (max-width: 860px) {
  .menu-toggle { display: block; color: #fff; background: none; border: 1px solid rgba(255,255,255,.4); border-radius: 8px; padding: 6px 12px; cursor: pointer; font: inherit; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; padding: 10px 16px 16px; }
  #nav-check:checked ~ .nav { display: flex; }
}
#nav-check { position: absolute; opacity: 0; pointer-events: none; }

/* buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 700; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-d); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-outline { border-color: var(--teal); color: var(--teal-d); background: #fff; }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-danger { background: #fff; border-color: var(--red); color: var(--red); }
.btn-danger:hover { background: var(--red); color: #fff; }
.btn-small { padding: 6px 12px; font-size: .9rem; border-radius: 8px; }

/* hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #1B4A7A 100%); color: #fff; padding: 64px 0 0; overflow: hidden; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero .lead { font-size: 1.2rem; color: #D5E1F2; max-width: 58ch; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 10px; }
.hero .note { color: #B7C8E2; font-size: .92rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1.1fr; gap: 40px; align-items: center; }
.hero-shot { margin-bottom: -60px; transform: translateY(24px); }
.hero-shot img { border-radius: 12px 12px 0 0; box-shadow: 0 30px 60px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.18); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-shot { margin-bottom: -40px; } }
.trust { background: #fff; border-bottom: 1px solid var(--line); padding: 74px 0 22px; }
.trust ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.trust li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--navy); }
.trust li span { color: var(--teal); font-size: 1.3rem; line-height: 1.2; }

/* sections */
section.block { padding: 64px 0; }
section.alt { background: #fff; border-block: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 30px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-bottom: .35em; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.steps { counter-reset: n; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps .card { position: relative; padding-top: 52px; }
.steps .card::before { counter-increment: n; content: counter(n); position: absolute; top: 14px; left: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; display: grid; place-items: center; }
.shots { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.shot { margin: 0; }
.shot img { border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(11,37,69,.12); background: #fff; }
.shot figcaption { margin-top: 10px; color: var(--muted); font-size: .95rem; }
.shot figcaption b { color: var(--navy); display: block; }
.cta-band { background: var(--navy); color: #fff; text-align: center; padding: 56px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #C8D6EA; }

/* forms and pages */
.page { padding: 44px 0 70px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
form .field { margin-bottom: 16px; }
label { display: block; font-weight: 600; margin-bottom: 4px; }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=tel], input[list], select { width: 100%; padding: 11px 13px; border: 1.5px solid #B8C4D6; border-radius: 10px; font: inherit; background: #fff; color: var(--ink); }
input:focus, select:focus { outline: 3px solid rgba(26,127,156,.35); border-color: var(--teal); }
.hint { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 6px; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; border: 1px solid; }
.alert-error { background: #FDECEC; border-color: #F0B4B4; color: #8E1C1C; }
.alert-info { background: #E6F4F8; border-color: #AFD8E4; color: #0E4F63; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.two { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }
.dl { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.dl .card h3 { display: flex; align-items: center; gap: 10px; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: #E6F4F8; color: #0E4F63; }
.tag-warn { background: #FFF1D0; color: #7A4F00; }
.tag-ok { background: #E3F3E6; color: #1F5E25; }
.tag-bad { background: #FDECEC; color: #8E1C1C; }
table.data { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; font-size: .95rem; }
table.data th, table.data td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data th { background: #E8EDF6; color: var(--navy); }
.stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 24px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.stat b { display: block; font-size: 1.9rem; color: var(--navy); line-height: 1.1; }
.inline { display: inline; margin: 0; }
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); }
details.faq p { margin: 10px 0 0; color: var(--muted); }
.legal h2 { margin-top: 1.6em; font-size: 1.35rem; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }

/* footer */
.site-footer { background: #0A1D38; color: #B9C7DD; padding: 36px 0; font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.site-footer a { color: #DCE6F5; text-decoration: none; margin-right: 16px; }
.site-footer a:hover { text-decoration: underline; }
.flash { background: #E6F4F8; border-bottom: 1px solid #AFD8E4; color: #0E4F63; text-align: center; padding: 10px 16px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.cf-turnstile { margin: 4px 0 16px; min-height: 65px; }
.codes { font-family: ui-monospace, Menlo, Consolas, monospace; columns: 2; background: #F2F5FA; border-radius: 10px; padding: 14px 18px; }
.qr { max-width: 220px; border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: #fff; }
.row-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.phone { display: grid; grid-template-columns: minmax(150px, 40%) 1fr; gap: 10px; }
@media (max-width: 520px) { .phone { grid-template-columns: 1fr; } }
select {
  -webkit-appearance: none; appearance: none; width: 100%; min-height: 50px; padding: 11px 42px 11px 13px; font: inherit; color: var(--ink); cursor: pointer;
  border: 1.5px solid #B8C4D6; border-radius: 10px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%230B2545' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 15px center / 14px 9px;
}

.admin-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 22px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.admin-nav a { font-weight: 600; padding: 4px 0; }
.admin-nav a.on { color: var(--teal); border-bottom: 2px solid var(--teal); }
.banner { background: #FFF1D0; color: #5C3D00; text-align: center; padding: 10px 16px; font-weight: 600; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; align-items: center; }
.filters input[type=search] { max-width: 360px; }
.filters select { width: auto; min-height: 44px; }
.scroll-x { overflow-x: auto; }
.narrow-table { max-width: 520px; }
.narrow-table td:nth-child(2) { width: 60%; }
meter { width: 100%; height: 14px; }
textarea { width: 100%; padding: 11px 13px; border: 1.5px solid #B8C4D6; border-radius: 10px; font: inherit; background: #fff; color: var(--ink); }
input.short { max-width: 140px; display: inline-block; }
.method { margin-bottom: 16px; }
.kv th { text-align: left; padding: 4px 14px 4px 0; vertical-align: top; color: var(--muted); font-weight: 600; white-space: nowrap; }
.kv td { padding: 4px 0; }
.pager a { margin-left: 14px; }
details > summary { cursor: pointer; list-style: none; }
.check { margin-bottom: 6px; }
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 18px 0; }
.plan { text-align: center; }
.price { font-size: 2rem; font-weight: 800; color: var(--navy); margin: 6px 0 0; }
.price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.pre { white-space: pre-wrap; }
