:root {
  --bg: #141518; --surface: #1c1d21; --raised: #232429; --text: #e4e4e2; --muted: #95969c; --line: #2c2e33;
  --accent: #6a8dc1; --btn: #1a4fa0; --btn-hover: #3564ab; --radius: 6px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: 2.4rem; font-size: clamp(1.9rem, 5vw, 2.9rem); letter-spacing: -.01em; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.top { border-bottom: 1px solid var(--line); background: var(--surface); position: sticky; top: 0; z-index: 10; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { color: var(--text); font-weight: 600; font-size: 1.15rem; display: flex; align-items: center; }
.brand:hover { text-decoration: none; }
.brand img { display: block; height: 36px; width: auto; }
nav { display: flex; gap: 20px; align-items: center; font-size: .95rem; }
nav a { color: var(--muted); }
nav a:hover { color: var(--text); text-decoration: none; }
nav .nav-portal { color: var(--text); border: 1px solid var(--line); padding: 6px 12px; border-radius: var(--radius); }

.hero { padding: 80px 0 64px; padding: clamp(56px, 10vw, 110px) 0 clamp(48px, 8vw, 80px); border-bottom: 1px solid var(--line);
        background: radial-gradient(ellipse at 15% 0%, rgba(255,255,255,.04), transparent 60%); }
.hero h1 { max-width: 760px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-block; background: var(--btn); color: #fff; padding: 12px 20px; border-radius: var(--radius); font-weight: 500; border: 1px solid var(--btn); }
.btn:hover { background: var(--btn-hover); text-decoration: none; }
.btn-plain { background: transparent; color: var(--text); border-color: var(--line); }
.btn-plain:hover { background: var(--raised); }

.section { padding: 56px 0; padding: clamp(44px, 7vw, 72px) 0; border-bottom: 1px solid var(--line); }
.section:last-child { border-bottom: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.card p { margin: 0; color: var(--muted); }
.card h3 { position: relative; padding-left: 14px; }
.card h3::before { content: ""; position: absolute; left: 0; top: .3em; bottom: .3em; width: 3px; border-radius: 2px; background: var(--btn); }
.contact .card { display: flex; flex-direction: column; gap: 2px; color: var(--text); }
.contact .card span { color: var(--muted); font-size: .9rem; }
.contact .card b { font-weight: 500; overflow-wrap: anywhere; }
.card.link:hover { border-color: var(--btn); text-decoration: none; background: var(--raised); }
.contact + p { margin-top: 18px; }

.legal h2 { font-size: 1.15rem; margin-top: 1.8em; }
.legal ul { padding-left: 1.2em; }
.legal p, .legal li { color: #cfcfcc; }

.foot { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: .9rem; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }

@media (max-width: 560px) {
  nav a:not(.nav-portal) { display: none; }
  .brand img { height: 30px; }
  .btn { width: 100%; text-align: center; }
}

.chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 14px; font-size: .9rem; color: var(--muted); }
.chips li b { color: var(--text); font-weight: 600; }

.price-box { display: grid; grid-template-columns: minmax(200px, 260px) 1fr; gap: 28px; align-items: start; }
.price { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--btn); border-radius: var(--radius); padding: 22px 24px; }
.price b { display: block; font-size: 2.6rem; line-height: 1.1; font-weight: 700; }
.price span { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding: 0 0 10px 28px; color: var(--muted); }
.checks li b { color: var(--text); font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .35em; width: 6px; height: 11px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.section-tight { padding-top: 0; border-bottom: 0; }
.emergency { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px;
             border: 1px solid #5c3430; background: #2a1d1c; border-radius: var(--radius); padding: 22px 24px; }
.emergency h2 { color: #f0a49c; margin-bottom: .3em; font-size: 1.25rem; }
.emergency p { margin: 0; max-width: 640px; }
.btn-alert { background: #b5473d; border-color: #b5473d; white-space: nowrap; }
.btn-alert:hover { background: #c8564b; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.gallery a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s; }
.gallery a:hover img { transform: scale(1.03); }
.gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 8px; font-size: .85rem; color: #fff;
                background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.lightbox { display: none; position: fixed; inset: 0; z-index: 100; align-items: center; justify-content: center; padding: 48px 56px; }
.lightbox:target { display: flex; }
.lb-bg { position: absolute; inset: 0; background: rgba(8, 9, 11, .93); }
.lightbox figure { position: relative; margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 130px); width: auto; height: auto; border-radius: var(--radius); }
.lightbox figcaption { color: var(--muted); margin-top: 10px; text-align: center; }
.lb-close, .lb-nav { position: absolute; color: #fff; font-size: 2.2rem; line-height: 1; padding: 8px 14px; opacity: .75; }
.lb-close:hover, .lb-nav:hover { opacity: 1; text-decoration: none; }
.lb-close { top: 8px; right: 12px; }
.lb-nav { top: 50%; transform: translateY(-50%); font-size: 3rem; }
.lb-prev { left: 4px; }
.lb-next { right: 4px; }

@media (max-width: 720px) {
  .price-box { grid-template-columns: 1fr; gap: 18px; }
  .lightbox { padding: 48px 8px; }
  .emergency .btn-alert { width: 100%; text-align: center; }
}
