:root {
  --bg: #f4f7fb;
  --bg-soft: #ffffff;
  --bg-panel: rgba(255, 255, 255, 0.78);
  --text: #10213a;
  --muted: #627188;
  --line: rgba(16, 33, 58, 0.1);
  --accent: #134fda;
  --accent-2: #48b8ff;
  --accent-soft: rgba(19, 79, 218, 0.12);
  --shadow: 0 22px 70px rgba(23, 42, 82, 0.08);
  --radius: 26px;
  --shell: min(1180px, calc(100vw - 32px));
  --gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 12%, rgba(72, 184, 255, 0.12), transparent 28%),
    radial-gradient(circle at 84% 10%, rgba(19, 79, 218, 0.1), transparent 24%),
    linear-gradient(180deg, #fbfdff 0%, #f4f7fb 48%, #edf3fa 100%);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { border: 0; background: transparent; color: inherit; }
svg { display: block; }

.page-glow {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}
.page-glow-a {
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(72, 184, 255, 0.24), transparent 70%);
}
.page-glow-b {
  bottom: 8%;
  left: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(19, 79, 218, 0.14), transparent 72%);
}

.shell {
  width: var(--shell);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16, 33, 58, 0.06);
}
.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(17, 31, 58, 0.06);
}
.header-inner {
  width: var(--shell);
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--accent);
  background: rgba(19, 79, 218, 0.08);
  border: 1px solid rgba(19, 79, 218, 0.12);
}
.brand-mark svg {
  width: 22px;
  height: 22px;
}
.brand strong,
h1,
h2,
h3,
.footer-brand {
  font-family: Outfit, sans-serif;
}
.brand strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}
.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: lowercase;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a,
.mobile-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}
.main-nav a:hover,
.mobile-nav a:hover {
  color: var(--text);
}
.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.mobile-toggle svg {
  width: 20px;
  height: 20px;
  margin: auto;
}
.mobile-nav {
  display: none;
  width: var(--shell);
  margin: 0 auto;
  padding: 0 0 16px;
}
.mobile-nav.open {
  display: grid;
  gap: 10px;
}

.hero {
  padding: 54px 0 28px;
}
.hero-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 22px;
  align-items: stretch;
}
.hero-copy {
  padding: 60px 0 36px;
}
.eyebrow,
.mini-label {
  margin: 0 0 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 700;
}
h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}
.lead,
.section-lead,
.signal-copy,
.service-card p,
.wide-copy p,
.form-note {
  color: var(--muted);
  line-height: 1.82;
}
.lead {
  max-width: 54ch;
  margin: 22px 0 0;
  font-size: 1rem;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn.primary {
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 16px 34px rgba(19, 79, 218, 0.2);
}
.btn.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
}

.card,
.soft-card {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.hero-panel {
  display: flex;
  align-items: stretch;
}
.panel-window {
  width: 100%;
  min-height: 560px;
  border-radius: 32px;
  overflow: hidden;
}
.window-top {
  display: flex;
  gap: 8px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.window-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(16, 33, 58, 0.14);
}
.window-body {
  padding: 26px;
  display: grid;
  gap: 22px;
}
.hero-media-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 36px rgba(23, 42, 82, 0.08);
}
.hero-media-card img,
.service-photo-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.window-intro h2,
.section-head h2,
.contact-copy h2 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}
.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.compact-signals {
  gap: 14px;
}
.signal-card {
  padding: 20px;
  border-radius: 22px;
}
.signal-title {
  margin: 0 0 10px;
  font-family: Outfit, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}
.signal-wide {
  grid-column: 1 / -1;
}
.signal-quote {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(244,248,255,0.9));
}

.section {
  padding: 26px 0;
}
.section-head {
  margin-bottom: 24px;
}
.section-head h2,
.contact-copy h2 {
  max-width: 14ch;
}
.section-lead {
  max-width: 58ch;
  margin-top: 16px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  min-height: 244px;
  padding: 24px;
  border-radius: var(--radius);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(23, 42, 82, 0.11);
}
.service-card h3 {
  margin: 16px 0 10px;
  font-size: 1.16rem;
}
.service-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: var(--accent);
  background: var(--accent-soft);
}
.service-icon svg {
  width: 24px;
  height: 24px;
}
.service-wide {
  grid-column: 1 / -1;
  min-height: auto;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 18px;
  align-items: stretch;
}
.wide-copy h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}
.wide-copy p {
  margin: 0;
  max-width: 60ch;
}
.service-photo-wrap {
  overflow: hidden;
  border-radius: 22px;
  min-height: 220px;
}

.contact-shell {
  padding: 30px;
  border-radius: 34px;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 26px;
}
.contact-form {
  display: grid;
  gap: 14px;
}
.row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
label {
  display: grid;
  gap: 8px;
}
label span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  border-radius: 16px;
  padding: 0.96rem 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input::placeholder,
textarea::placeholder {
  color: #91a0b2;
}
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(19, 79, 218, 0.38);
  box-shadow: 0 0 0 4px rgba(19, 79, 218, 0.08);
}
textarea {
  resize: vertical;
  min-height: 132px;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.form-note {
  margin: 0;
  font-size: 0.92rem;
}

.site-footer {
  padding: 8px 0 26px;
}
.footer-inner {
  border-top: 1px solid rgba(16, 33, 58, 0.08);
  padding-top: 18px;
  display: flex;
  justify-content: center;
}
.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .hero-grid,
  .contact-shell,
  .service-grid,
  .signal-grid,
  .row.two {
    grid-template-columns: 1fr;
  }
  .service-wide {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding-top: 30px;
  }
  .panel-window {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .header-inner {
    min-height: 70px;
  }
  h1 {
    max-width: 12ch;
    font-size: clamp(2.6rem, 12vw, 4rem);
  }
  .window-body,
  .service-card,
  .contact-shell {
    padding: 20px;
  }
  .hero {
    padding-top: 36px;
  }
}
