:root {
  --bg: #f5f8fb;
  --surface: #ffffff;
  --soft: #edf3f8;
  --text: #111827;
  --muted: #5f6d7e;
  --line: #dce5ee;
  --blue: #1d4ed8;
  --blue-soft: #e8f0ff;
  --green: #0f766e;
  --shadow: 0 22px 60px rgba(15, 23, 42, .12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 248, 251, .84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--text);
  color: white;
  font-size: 14px;
  letter-spacing: .02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.nav-links a:hover { color: var(--text); }

.nav-contact {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--text);
  color: white !important;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero {
  padding: 86px 0 68px;
  background:
    radial-gradient(circle at 15% 12%, #dbeafe 0, transparent 34rem),
    radial-gradient(circle at 88% 20%, #ccfbf1 0, transparent 30rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 68px;
  align-items: center;
}

.pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 31px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  text-wrap: balance;
  font-weight: 800;
}

h1 {
  max-width: 780px;
  margin: 18px 0 22px;
  font-size: clamp(42px, 6.2vw, 72px);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin: 18px 0 14px;
  font-size: clamp(31px, 4.2vw, 50px);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.26;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 610px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  background: var(--text);
  color: white;
  box-shadow: 0 14px 34px rgba(17, 24, 39, .18);
  border: 0;
}

.secondary {
  background: white;
  color: var(--text);
  border: 1px solid var(--line);
}

.hero-photo-stack {
  position: relative;
  min-height: 560px;
}

.photo-card {
  margin: 0;
  overflow: hidden;
  border: 10px solid white;
  background: white;
  box-shadow: var(--shadow);
}

.main-photo {
  position: absolute;
  inset: 18px 52px 46px 30px;
  border-radius: var(--radius-xl);
}

.small-photo {
  position: absolute;
  width: 250px;
  height: 170px;
  border-radius: var(--radius-lg);
}

.small-photo.top {
  right: 0;
  top: 0;
}

.small-photo.bottom {
  left: 0;
  bottom: 0;
}

.section { padding: 72px 0; }

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(15, 23, 42, .07);
}

.service-card img {
  height: 190px;
}

.service-card div {
  padding: 22px;
}

.service-card p,
.case-grid p,
.contact-panel p,
.steps span {
  color: var(--muted);
}

.work {
  background: white;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 56px;
  align-items: center;
}

.work-image {
  height: 520px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.steps div {
  display: grid;
  gap: 6px;
  padding: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.steps strong {
  font-size: 18px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.case-grid article {
  min-height: 220px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.case-grid span {
  color: var(--blue);
  font-weight: 900;
}

.image-band { padding-top: 0; }

.image-band-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 18px;
}

.image-band-grid img {
  height: 310px;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 36px rgba(15, 23, 42, .08);
}

.contact { padding-top: 0; }

.contact-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 52px;
  padding: 42px;
  border-radius: var(--radius-xl);
  background: #162033;
  color: white;
}

.contact-panel .pill {
  background: rgba(255,255,255,.12);
  color: #bfdbfe;
}

.contact-panel p {
  color: #cbd5e1;
  font-size: 18px;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
}

input, select, textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  padding: 15px 16px;
  outline: none;
  background: rgba(255,255,255,.08);
  color: white;
  font: inherit;
}

select option {
  color: var(--text);
}

textarea {
  resize: vertical;
}

small {
  color: #94a3b8;
}

.footer {
  padding: 34px 0;
  background: white;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
}

@media (max-width: 1040px) {
  .hero-grid,
  .work-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .strip-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-photo-stack {
    min-height: 500px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 84px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding: 62px 0 42px;
  }

  h1 {
    font-size: 40px;
    line-height: 1.14;
    letter-spacing: 0;
  }

  h2 {
    font-size: 31px;
    line-height: 1.16;
    letter-spacing: 0;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-photo-stack {
    min-height: 430px;
  }

  .main-photo {
    inset: 34px 0 72px 0;
  }

  .small-photo {
    width: 190px;
    height: 130px;
    border-width: 7px;
  }

  .service-grid,
  .case-grid,
  .strip-grid,
  .image-band-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .work-image {
    height: 360px;
  }

  .image-band-grid img {
    height: 250px;
  }

  .contact-panel {
    padding: 24px;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

.company-details {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.16);
}

.company-details h3 {
  margin-bottom: 14px;
}

.company-details p {
  margin-bottom: 8px;
  font-size: 16px;
}

.company-address {
  color: #e2e8f0 !important;
}

.footer-company {
  display: grid;
  gap: 6px;
  text-align: right;
}

.footer-address {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 720px) {
  .footer-company {
    text-align: left;
  }
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
  max-width: 620px;
}

.result-line {
  display: block;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--blue);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.45;
}

.trust {
  padding-top: 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.trust-grid article {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: 0 12px 36px rgba(15, 23, 42, .06);
}

.trust-grid p {
  color: var(--muted);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

@media (max-width: 1040px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}
