/* Turbogrey — shared stylesheet */

:root {
  --ink: #14171b;
  --ink-soft: #4a5058;
  --line: #dde2e8;
  --paper: #ffffff;
  --steel: #f2f5f8;
  --dark: #16191e;
  --blue: #6fb0da;
  --blue-dark: #4e93c0;
  --max: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue-dark); }

h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.18rem; }

p { margin: 0 0 1rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}
.logo img { height: 30px; width: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--blue-dark); }
.nav a.active { border-bottom-color: var(--blue); color: var(--blue-dark); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 4px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: .18s ease;
}
.btn-primary { background: var(--blue); color: #10222e; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ---------- sections ---------- */
section { padding: 74px 0; }
.section-steel { background: var(--steel); }
.section-dark { background: var(--dark); color: #eef2f6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #c3ccd6; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 12px;
}
.section-dark .eyebrow { color: var(--blue); }
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 62ch; }
.section-dark .lead { color: #c3ccd6; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: #fff;
  padding: 118px 0;
  background: #0f1216;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,13,17,.96) 0%, rgba(10,13,17,.88) 45%, rgba(10,13,17,.62) 100%);
  z-index: 1;
}
.hero .wrap { position: relative; z-index: 2; }
.hero img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero h1 { color: #fff; max-width: 18ch; }
.hero p { color: #d3dbe3; max-width: 58ch; font-size: 1.12rem; }
.hero .eyebrow { color: var(--blue); }

.page-hero {
  position: relative;
  color: #fff;
  padding: 86px 0;
  background: #0f1216;
}
.page-hero img.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,13,17,.94), rgba(10,13,17,.78));
  z-index: 1;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #cdd6df; max-width: 60ch; margin: 0; }

/* ---------- grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
  border-top: 3px solid var(--blue);
}
.card > img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.section-dark .card {
  background: #1f242b;
  border-color: #2c333b;
  border-top-color: var(--blue);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}
.split > img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 6px;
}

.tick { list-style: none; padding: 0; margin: 0; }
.tick li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
}
.tick li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 12px; height: 12px;
  background: var(--blue);
  border-radius: 2px;
}

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
}
.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #10222e;
  font-weight: 800;
  margin-bottom: 12px;
}
.steps strong { display: block; margin-bottom: 4px; }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 6px;
  padding: 26px;
}
.review p { font-style: italic; color: var(--ink-soft); }
.review .stars { color: var(--blue-dark); letter-spacing: 3px; margin-bottom: 10px; }
.review .who { font-weight: 700; font-style: normal; color: var(--ink); margin: 0; }

/* ---------- cta ---------- */
.cta { background: var(--dark); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #c3ccd6; max-width: 60ch; margin: 0 auto 8px; }
.cta .btn-row { justify-content: center; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 42px; align-items: start; }
.form-field { margin-bottom: 18px; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  font-size: .97rem;
  color: var(--ink);
  background: #fff;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(111, 176, 218, .25);
}
textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--ink-soft); }
.form-status {
  padding: 14px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-weight: 600;
}
.form-status.ok { background: #e8f4fb; border: 1px solid var(--blue); color: #17394f; }
.form-status.err { background: #fdecec; border: 1px solid #e2a5a5; color: #6b2020; }
.detail-box {
  background: var(--steel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px;
  margin-bottom: 24px;
}
.detail-box h3 { margin-bottom: .5em; }
.map-frame {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 320px; border: 0; }

/* ---------- footer ---------- */
.site-footer { background: #0f1216; color: #aeb8c2; padding: 56px 0 26px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 34px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 14px; }
.site-footer a { color: #aeb8c2; text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-logo { background: #fff; padding: 10px 14px; border-radius: 4px; display: inline-block; margin-bottom: 16px; }
.footer-logo img { height: 26px; }
.footer-bottom {
  border-top: 1px solid #242a31;
  margin-top: 36px;
  padding-top: 18px;
  font-size: .85rem;
  color: #7d8894;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .steps, .reviews { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  section { padding: 54px 0; }
  .hero { padding: 84px 0; }
  .grid-2, .grid-3, .steps, .reviews, .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; width: 100%; }
  .site-header { position: relative; }
}
