:root {
  --navy: #061321;
  --navy-2: #0a1d30;
  --blue: #0b8fd1;
  --cyan: #39d8ff;
  --mint: #67e7bc;
  --ink: #10253a;
  --muted: #5e7184;
  --line: #dce7ef;
  --soft: #f2f7fa;
  --white: #ffffff;
  --max: 1180px;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
::selection { color: var(--navy); background: var(--cyan); }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(220, 231, 239, .82);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px);
}
.nav { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); font-size: 1.34rem; font-weight: 820; letter-spacing: -.045em; }
.logo-mark { width: 38px; height: 38px; flex: 0 0 auto; }
.logo-city { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { position: relative; color: #40556a; font-size: .91rem; font-weight: 700; }
.nav-links a:not(.nav-mail)::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--navy); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-mail { padding: 10px 15px; border-radius: 12px; color: var(--white) !important; background: var(--navy); }
.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: calc(100svh - 82px);
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(3, 15, 28, .96) 0%, rgba(3, 15, 28, .76) 36%, rgba(3, 15, 28, .16) 68%, rgba(3, 15, 28, .08) 100%);
}
.hero-content { position: relative; z-index: 2; display: grid; min-height: calc(100svh - 82px); max-width: 600px; align-content: center; padding-block: 90px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--cyan); font-size: .82rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::before { width: 28px; height: 2px; content: ""; background: currentColor; }
.hero h1 { margin: 0; font-size: clamp(3.3rem, 6.5vw, 6.3rem); line-height: .96; letter-spacing: -.07em; }
.hero h1 span { color: var(--cyan); }
.hero-copy { max-width: 510px; margin: 26px 0 0; color: #b9c9d7; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 0 21px; border: 1px solid transparent; border-radius: 13px; font-size: .93rem; font-weight: 780; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible { outline: 3px solid rgba(57, 216, 255, .42); outline-offset: 3px; }
.button-primary { color: var(--navy); background: linear-gradient(115deg, var(--cyan), var(--mint)); }
.button-ghost { border-color: rgba(255, 255, 255, .25); color: var(--white); background: rgba(255, 255, 255, .06); }
.button-dark { color: var(--white); background: var(--navy); }

.page-hero { padding: 90px 0 72px; color: var(--white); background: radial-gradient(circle at 82% 15%, rgba(25, 143, 209, .22), transparent 27rem), var(--navy); }
.page-hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 70px; }
.page-hero h1 { max-width: 730px; margin: 0; font-size: clamp(3rem, 5.5vw, 5.4rem); line-height: .98; letter-spacing: -.065em; }
.page-hero p { max-width: 480px; margin: 0 0 7px; color: #b8c8d6; font-size: 1.06rem; }

.section { padding: 100px 0; }
.section-soft { background: var(--soft); }
.section-heading { max-width: 720px; margin-bottom: 46px; }
.section-heading h2, .story h2, .support-panel h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.05; letter-spacing: -.055em; }
.section-heading p { margin: 18px 0 0; color: var(--muted); }

.story { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; align-items: start; }
.story-copy { display: grid; gap: 20px; }
.story-copy p { margin: 0; color: var(--muted); font-size: 1.06rem; }
.promise {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(145deg, var(--navy-2), #0d304b);
}
.promise::after { position: absolute; right: -90px; bottom: -100px; width: 250px; height: 250px; border: 45px solid rgba(57, 216, 255, .08); border-radius: 50%; content: ""; }
.promise svg { width: 38px; height: 38px; margin-bottom: 48px; color: var(--cyan); fill: none; stroke: currentColor; stroke-width: 1.6; }
.promise strong { position: relative; z-index: 1; display: block; max-width: 400px; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.09; letter-spacing: -.045em; }
.promise p { position: relative; z-index: 1; margin: 18px 0 0; color: #bacbd8; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { position: relative; min-height: 250px; overflow: hidden; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.product-card:hover { border-color: #a9d7ea; transform: translateY(-6px); box-shadow: 0 22px 45px rgba(12, 40, 62, .08); }
.product-icon { display: grid; width: 56px; height: 56px; margin-bottom: 58px; place-items: center; border-radius: 16px; color: var(--blue); background: #eaf7fc; }
.product-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.product-card h2 { margin: 0; font-size: 1.34rem; letter-spacing: -.035em; }
.product-card p { margin: 10px 0 0; color: var(--muted); font-size: .92rem; }
.product-card-wide { grid-column: span 2; color: var(--white); background: linear-gradient(125deg, var(--navy), #0c3a59); }
.product-card-wide .product-icon { color: var(--cyan); background: rgba(57, 216, 255, .11); }
.product-card-wide p { color: #b6c7d5; }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.contact-card { padding: 34px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.contact-card-dark { color: var(--white); background: var(--navy); }
.contact-label { display: block; margin-bottom: 46px; color: var(--blue); font-size: .78rem; font-weight: 820; letter-spacing: .14em; text-transform: uppercase; }
.contact-card-dark .contact-label { color: var(--cyan); }
.contact-card h2 { margin: 0 0 12px; font-size: 1.6rem; letter-spacing: -.04em; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card-dark p { color: #b8c9d6; }
.contact-link { display: inline-block; margin-top: 20px; color: var(--blue); font-weight: 780; word-break: break-word; }
.contact-card-dark .contact-link { color: var(--cyan); }

.support-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 52px; border-radius: var(--radius); color: var(--white); background: linear-gradient(120deg, var(--navy), #0c3b5c); }
.support-panel p { max-width: 650px; margin: 16px 0 0; color: #b7c8d6; }

.site-footer { padding: 42px 0; border-top: 1px solid var(--line); background: var(--white); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; color: var(--muted); font-size: .88rem; }
.footer-info { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-info a:hover { color: var(--blue); }
.footer-address { max-width: 460px; }

@media (max-width: 920px) {
  .menu-button { display: grid; }
  .nav-links { position: fixed; inset: 82px 20px auto; display: none; align-items: stretch; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .98); box-shadow: 0 24px 60px rgba(8, 28, 46, .14); }
  .nav-links.open { display: grid; }
  .nav-links a { padding: 10px; }
  .nav-links a::after { display: none; }
  .nav-mail { text-align: center; }
  .page-hero-inner, .story { grid-template-columns: 1fr; gap: 30px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card-wide { grid-column: span 1; }
  .hero-image { object-position: 61% center; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 74px; }
  .nav-links { inset: 74px 14px auto; }
  .hero, .hero-content { min-height: calc(100svh - 74px); }
  .hero::after { background: linear-gradient(90deg, rgba(3, 15, 28, .97), rgba(3, 15, 28, .72) 62%, rgba(3, 15, 28, .28)); }
  .hero-image { object-position: 64% center; opacity: .82; }
  .hero-content { align-content: end; padding-block: 70px; }
  .hero h1 { font-size: clamp(3.05rem, 15vw, 4.6rem); }
  .hero-actions { flex-direction: column; }
  .page-hero { padding: 72px 0 58px; }
  .section { padding: 76px 0; }
  .product-grid, .contact-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 225px; }
  .support-panel { grid-template-columns: 1fr; padding: 36px 28px; }
  .support-panel .button { width: 100%; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
