:root {
  --navy: #1b2a6b;
  --navy-dark: #111c4a;
  --blue: #2b4bb5;
  --ink: #1d2433;
  --muted: #5b6475;
  --bg: #ffffff;
  --bg-soft: #f2f4f8;
  --line: #dde2ec;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font-weight: 800; font-size: 1.5rem; letter-spacing: .08em; color: var(--navy); text-decoration: none; }
.brand small { display: block; font-size: .62rem; letter-spacing: .12em; font-weight: 600; color: var(--muted); margin-top: -4px; }
nav { display: flex; gap: 22px; }
nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
nav a:hover { color: var(--blue); }
.btn {
  display: inline-block; background: var(--navy); color: #fff; text-decoration: none;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; border: 2px solid var(--navy);
}
.btn:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }
header .btn { padding: 8px 16px; font-size: .95rem; }

/* Hero */
.hero { background: linear-gradient(180deg, #f6f7fa 0%, #e6e9f0 100%); padding: 56px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.15; margin: 0 0 16px; color: var(--navy); }
.hero p.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 24px; }
.hero .badges { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 8px; }
.hero .badges li::before { content: "✓"; color: var(--blue); font-weight: 800; margin-right: 10px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .logo { border-radius: var(--radius); box-shadow: 0 12px 40px rgba(17,28,74,.15); }

/* Sections */
section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--navy); margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 36px; max-width: 640px; }

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; font-weight: 600; display: flex; align-items: center; gap: 12px;
}
.service span { font-size: 1.5rem; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about img { border-radius: var(--radius); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; padding-left: 44px; position: relative; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .9rem;
}

/* Gallery */
.gallery { columns: 3 260px; column-gap: 14px; }
.gallery button {
  all: unset; cursor: zoom-in; display: block; margin: 0 0 14px; border-radius: var(--radius);
  overflow: hidden; break-inside: avoid; width: 100%;
}
.gallery img { width: 100%; height: auto; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.03); }
.gallery button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.lightbox {
  position: fixed; inset: 0; background: rgba(10,14,30,.92); display: none;
  align-items: center; justify-content: center; z-index: 50; padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 8px; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer;
}
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 18px; }
.card dt { font-weight: 600; color: var(--muted); }
.card dd { margin: 0; }
.card dd a { font-weight: 600; text-decoration: none; }
.card .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hours { margin: 0; padding-left: 18px; }

footer { background: var(--navy-dark); color: #c8cee0; padding: 28px 0; font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: #fff; }

/* Legal page */
.legal { padding: 56px 0; max-width: 760px; }
.legal h1 { color: var(--navy); }
.legal h2 { font-size: 1.2rem; margin-top: 32px; }

@media (max-width: 860px) {
  nav { display: none; }
  .hero .wrap, .about, .contact { grid-template-columns: 1fr; }
  .hero .logo { order: -1; }
  .services { grid-template-columns: repeat(2, 1fr); }
  section { padding: 56px 0; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .services { grid-template-columns: 1fr; }
  header .btn { display: none; }
}
