:root {
  --bg: #05080a;
  --panel: #0c1418;
  --line: #1d2c33;
  --ice: #d9f6ff;
  --blue: #3d8bff;
  --leaf: #41d37a;
  --muted: #9bb2bb;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  background: var(--bg);
  color: var(--ice);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
  padding-bottom: 64px;
}
h1, h2, h3, .btn, nav a, .dock a { font-family: Oswald, Impact, sans-serif; text-transform: uppercase; letter-spacing: .04em; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--leaf); color: #04140a; padding: 8px 14px; z-index: 20; }
.skip:focus { left: 8px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(5, 8, 10, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.bar { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; padding-bottom: 10px; gap: 12px; }
.brand { display: flex; gap: 12px; align-items: center; font-family: Oswald, sans-serif; font-size: 1.2rem; text-decoration: none; text-transform: uppercase; }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
nav { display: flex; gap: 20px; align-items: center; }
nav a { text-decoration: none; font-size: .95rem; }
nav a:hover { color: var(--leaf); }
nav .call { color: var(--leaf); font-weight: 700; }

/* hero */
.hero { text-align: center; padding: 48px 0 72px; background: radial-gradient(ellipse at 50% 0%, #11324a 0%, var(--bg) 65%); }
.hero .logo { width: min(300px, 70vw); height: auto; margin: 0 auto; border-radius: 50%; box-shadow: 0 0 60px rgba(61, 139, 255, .45); }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.05; margin: 28px 0 12px; }
.hero h1 span { color: var(--leaf); }
.lead { color: var(--muted); max-width: 560px; margin: 0 auto 28px; font-size: 1.1rem; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.actions.left { justify-content: flex-start; margin: 18px 0 28px; }
.btn { display: inline-block; padding: 14px 28px; border-radius: 6px; text-decoration: none; font-weight: 700; font-size: 1.05rem; border: 2px solid transparent; cursor: pointer; }
.btn.primary { background: var(--leaf); color: #04140a; }
.btn.primary:hover { background: #5fe595; }
.btn.text { background: var(--blue); color: #04101f; }
.btn.text:hover { background: #6aa7ff; }
.btn.ghost { border-color: var(--blue); color: var(--ice); background: transparent; }
.btn.ghost:hover { background: rgba(61, 139, 255, .15); }

/* sections */
section { padding: 60px 0; }
h2 { font-size: 2rem; color: var(--leaf); margin-bottom: 24px; }
h3.sub { font-size: 1.4rem; margin: 40px 0 16px; color: var(--ice); }
.muted { color: var(--muted); }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.card h3 { margin-bottom: 8px; font-size: 1.25rem; }
.card p { color: var(--muted); }

.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.gallery figure, .ba figure { overflow: hidden; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery .wide { grid-column: 1 / -1; }
.gallery .wide img { aspect-ratio: 16 / 7; object-position: center 30%; }
.ba { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.ba img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ba figcaption { padding: 8px 14px; font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .06em; color: var(--leaf); }

#about p { margin-bottom: 16px; font-size: 1.08rem; }
.towns { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; }
.towns li { border: 1px solid var(--blue); border-radius: 999px; padding: 6px 18px; color: var(--ice); }

/* form */
form { margin-top: 8px; }
.field { margin-bottom: 16px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
.opt { color: var(--muted); font-weight: 400; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 6px; border: 1px solid #2b4350;
  background: var(--panel); color: var(--ice); font: inherit;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(61, 139, 255, .35); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
#send:disabled { opacity: .6; cursor: wait; }
#form-status { margin-top: 14px; font-weight: 600; }
#form-status.ok { color: var(--leaf); }
#form-status.err { color: #ff8a80; }
.fine { color: var(--muted); font-size: .85rem; margin-top: 10px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 36px 0; text-align: center; color: var(--muted); font-size: .92rem; }
footer p { margin-top: 10px; }
.social { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.social a { color: var(--ice); }
.license-no { color: var(--ice); font-weight: 600; }
.license-note { font-size: .78rem; max-width: 560px; margin: 4px auto 0; }
.areas { margin-top: 14px; color: var(--muted); font-style: italic; }

/* mobile quick-contact bar */
.dock { display: none; }
@media (max-width: 720px) {
  nav a:not(.call) { display: none; }
  .ba { grid-template-columns: 1fr 1fr; }
  .dock {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    background: #0a1216; border-top: 1px solid var(--line);
  }
  .dock a { text-align: center; padding: 16px 8px; text-decoration: none; font-weight: 700; color: var(--ice); }
  .dock a:first-child { background: var(--leaf); color: #04140a; }
  .dock a:nth-child(2) { background: var(--blue); color: #04101f; }
}
@media (min-width: 721px) { body { padding-bottom: 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
