:root {
  --bg: #f4f8fc;
  --surface: #ffffff;
  --surface-2: #edf5ff;
  --ink: #122033;
  --muted: #607089;
  --line: #d9e5f3;
  --blue: #1680e8;
  --blue-2: #4cbcff;
  --navy: #0a1a2f;
  --navy-2: #102847;
  --success: #18a57f;
  --shadow: 0 20px 50px rgba(16, 40, 71, 0.12);
  --radius: 22px;
  --radius-sm: 16px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f6fbff 0%, #eef5fb 100%);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 1rem; }
h1 { font-size: clamp(2.6rem, 5vw, 4.8rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: 1.15rem; }
.container { width: min(calc(100% - 2rem), var(--container)); margin: 0 auto; }
.section { padding: 88px 0; }
.section--dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}
.section--tint { background: linear-gradient(180deg, rgba(22,128,232,0.05), rgba(76,188,255,0.07)); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--blue);
  margin-bottom: 1rem;
}
.eyebrow--light { color: #90d7ff; }
.topline {
  background: var(--navy);
  color: rgba(255,255,255,0.82);
  font-size: 0.86rem;
}
.topline__inner {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  flex-wrap: wrap;
}
.topline a:hover { color: #fff; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,0.82);
  border-bottom: 1px solid rgba(217,229,243,0.7);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}
.brand img { width: 212px; }
.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.site-nav a {
  font-weight: 600;
  color: var(--ink);
  opacity: 0.9;
}
.site-nav a:hover { color: var(--blue); }
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  width: 42px;
  height: 42px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 8px 0;
  border-radius: 999px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(22, 128, 232, 0.25);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(22,128,232,.32); }
.btn--small { padding: 12px 18px; font-size: 0.95rem; }
.btn--ghost,
.btn--ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: rgba(18,32,51,0.14);
  box-shadow: none;
}
.btn--ghost:hover,
.btn--ghost-dark:hover { background: rgba(18,32,51,0.04); }
.btn--dark { background: var(--navy); color: #fff; box-shadow: none; }
.btn--light {
  background: #fff;
  color: var(--navy);
  box-shadow: none;
}
.btn--full { width: 100%; }
.hero {
  padding: 56px 0 54px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero__lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 720px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0;
}
.hero__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hero__highlights div {
  padding: 16px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(217,229,243,0.85);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.hero__highlights strong { display: block; margin-bottom: 6px; }
.hero__highlights span { color: var(--muted); font-size: 0.94rem; }
.hero__media {
  position: relative;
  min-height: 620px;
}
.hero-card {
  position: absolute;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  border: 1px solid rgba(217,229,243,0.88);
}
.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-card--main {
  inset: 0 60px 80px 0;
}
.hero-card--award {
  width: 46%;
  right: 0;
  bottom: 0;
}
.hero-card__caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  color: #fff;
  font-weight: 700;
  background: rgba(10, 26, 47, 0.72);
  padding: 10px 14px;
  border-radius: 999px;
  text-align: center;
}
.trustbar {
  padding: 0 0 12px;
}
.trustbar__grid {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.trustbar__grid > div {
  padding: 18px 20px;
  text-align: center;
  font-weight: 700;
}
.trustbar__grid > div + div { border-left: 1px solid var(--line); }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}
.section-head--center {
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  max-width: 860px;
}
.section-head p,
.section-head__side { color: var(--muted); max-width: 520px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.service-card img {
  width: 100%;
  aspect-ratio: 1.32 / 1;
  object-fit: cover;
}
.service-card__body { padding: 20px; }
.service-card__body p { color: var(--muted); margin-bottom: 0; }
.specialist {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 32px;
  align-items: center;
}
.specialist__text p { color: rgba(255,255,255,0.78); }
.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 28px;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #89dbff;
  font-weight: 800;
}
.specialist__stack {
  display: grid;
  gap: 18px;
}
.stack-card {
  margin: 0;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
}
.stack-card img {
  width: 160px;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
}
.stack-card figcaption { font-weight: 700; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-item {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 420px;
  object-fit: cover;
}
.gallery-item figcaption {
  padding: 14px 16px 16px;
  font-weight: 700;
}
.gallery-item--large { grid-column: span 2; grid-row: span 2; }
.gallery-item--large img { min-height: 520px; }
.gallery-item--wide { grid-column: span 2; }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}
.about-copy > p { color: var(--muted); }
.about-points {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.about-points div,
.contact-box,
.cta-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.about-points div { padding: 18px 20px; }
.about-points strong { display: block; margin-bottom: 5px; }
.about-points span { color: var(--muted); }
.contact-box { padding: 28px; position: sticky; top: 104px; }
.contact-box ul { list-style: none; padding: 0; margin: 0 0 22px; }
.contact-box li { margin-bottom: 12px; color: var(--muted); }
.contact-box strong { color: var(--ink); }
.cta-section { padding-top: 0; }
.cta-card {
  padding: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.cta-card p { color: var(--muted); max-width: 700px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.82);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.9fr;
  gap: 28px;
  padding: 56px 0 34px;
}
.footer-grid h3 { color: #fff; margin-bottom: 14px; }
.footer-grid a:hover { color: #fff; }
.footer-logo { width: 180px; margin-bottom: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 16px 0;
  font-size: 0.92rem;
}
.modal {
  width: min(720px, calc(100% - 2rem));
  border: 0;
  border-radius: 24px;
  padding: 0;
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
}
.modal::backdrop { background: rgba(3, 12, 23, 0.56); }
.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px 0;
}
.modal__body { padding: 10px 24px 24px; color: var(--muted); }
.modal__close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 1.55rem;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .hero__grid,
  .specialist,
  .about-grid,
  .cta-card { grid-template-columns: 1fr; display: grid; }
  .hero__media { min-height: 520px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 840px) {
  .topline__inner { justify-content: flex-start; }
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 18px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .nav-wrap > .btn { display: none; }
  .hero__highlights,
  .trustbar__grid,
  .services-grid,
  .gallery-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-item--large,
  .gallery-item--wide { grid-column: span 1; grid-row: span 1; }
  .gallery-item--large img { min-height: 260px; }
  .hero__media { min-height: 440px; }
  .hero-card--main { inset: 0 0 92px 0; }
  .hero-card--award { width: 58%; }
  .section { padding: 68px 0; }
  .cta-card { padding: 26px; }
  .stack-card { grid-template-columns: 1fr; }
  .stack-card img { width: 100%; height: 200px; }
}

@media (max-width: 620px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .hero__actions,
  .cta-actions { flex-direction: column; align-items: stretch; }
  .hero__media { min-height: 360px; }
  .hero-card--award { width: 68%; }
  .contact-box { position: static; }
}
