:root {
  --blue: #046bd2;
  --blue-dark: #045cb4;
  --blue-light: #3aa8ff;
  --ink: #111418;
  --ink-2: #2d2d2d;
  --text: #3b4149;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f0f5fa;
  --line: #dde5ee;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(17, 20, 24, .08);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--blue); margin-bottom: .6em; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; margin-top: 2rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; border-radius: 999px; padding: .7em 1.4em;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--lg { font-size: 1.05rem; padding: .85em 1.6em; }
.btn--sm { font-size: .9rem; padding: .45em 1em; }
.btn--block { width: 100%; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 3px solid var(--blue-light); outline-offset: 2px;
}

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--ink); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.header__logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { color: #e8edf3; text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--blue-light); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 8px 20px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 1.05rem; }
  .nav__call { margin-top: 16px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero */
.hero { background: radial-gradient(circle at 80% 0%, #10345c 0%, var(--ink) 55%); color: #cfd8e3; padding: 56px 0 64px; }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--blue-light); }
.lead { font-size: 1.15rem; max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 1.4rem; }
.hero__points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .95rem; }
.hero__points li::before { content: "✓"; color: var(--blue-light); font-weight: 800; margin-right: .4em; }
.hero__media img { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

@media (max-width: 900px) {
  .hero { padding: 36px 0 44px; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__cta .btn { flex: 1 1 220px; }
}

/* Sections */
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); color: #cfd8e3; }
.section--dark h2 { color: #fff; }
.section--dark .eyebrow { color: var(--blue-light); }
.section--dark .muted { color: #8f9aa8; }
.section__head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
@media (max-width: 640px) { .section { padding: 56px 0; } }

/* About + why */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; max-height: 560px; }
.why { display: grid; gap: 20px; margin-top: 28px; }
.why__item { display: flex; gap: 16px; align-items: flex-start; }
.why__item svg { flex: none; width: 48px; height: 48px; padding: 11px; border-radius: 12px; background: var(--bg-alt); fill: var(--blue); }
.why__item h3 { margin-bottom: .2em; }
.why__item p { margin: 0; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about__media { display: none; }
}

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card__body { padding: 18px 20px 20px; }
.card__body p { margin: 0; font-size: .95rem; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

.services-list {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px;
}
.services-list li { display: flex; align-items: center; gap: .6em; font-weight: 600; color: var(--ink); }
.services-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat;
}
@media (max-width: 860px) { .services-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services-list { grid-template-columns: 1fr; } }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; background: var(--bg-alt); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.stars { color: #f5a623; letter-spacing: 2px; font-size: 1.1rem; margin-bottom: 10px; }
.review blockquote { margin: 0 0 16px; color: var(--ink); font-size: 1.05rem; flex: 1; }
.review figcaption { color: var(--muted); font-size: .9rem; font-weight: 600; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* Contact form */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.contact__intro .btn { margin: 4px 0 16px; }
.form { background: #fff; color: var(--text); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 16px; color: var(--ink); width: 100%;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.form textarea { resize: vertical; }
.form [aria-invalid="true"] { border-color: #d63637; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form__status.is-ok { color: #157f3b; }
.form__status.is-error { color: #d63637; }
.form__status a { color: inherit; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } .form { padding: 22px; } }

/* Footer */
.footer { background: #0a0c0f; color: #cfd8e3; padding: 40px 0; text-align: center; }
.footer img { height: 54px; width: auto; margin: 0 auto 12px; }
.footer p { margin: .3em 0; }
.footer__phone { color: #fff; font-size: 1.4rem; font-weight: 800; text-decoration: none; }

/* Mobile sticky call bar */
.callbar { display: none; }
@media (max-width: 860px) {
  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; align-items: center; justify-content: center; gap: .5em;
    background: var(--blue); color: #fff; font-weight: 800; font-size: 1.1rem; text-decoration: none;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 20px rgba(0, 0, 0, .2);
  }
  .callbar svg { width: 1.2em; height: 1.2em; fill: currentColor; }
  body { padding-bottom: 60px; }
}
