:root {
  --background: #0b0f1c;
  --foreground: #eef4f8;
  --surface: #151b2e;
  --accent: #4fd8ef;
  --accent-foreground: #0b0f1c;
  --muted: #9aa8c0;
  --cool: #8fa0bd;
  --quiet: #6d7c96;
  --glass: rgba(238, 244, 248, 0.05);
  --glass-strong: rgba(17, 23, 40, 0.72);
  --glass-line: rgba(238, 244, 248, 0.13);
  --header: rgba(11, 15, 28, 0.72);
  --font-display: "Unbounded", sans-serif;
  --font-sans: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
svg { width: 100%; height: 100%; }
svg[viewBox="0 0 24 24"] { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.shell { margin: 0 auto; width: 100%; max-width: 80rem; padding-left: 1.25rem; padding-right: 1.25rem; }
.section-pad { padding-top: 6rem; padding-bottom: 6rem; }
.section-border { border-top: 1px solid var(--glass-line); }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .75rem; }
.logo-mark {
  position: relative; display: grid; place-items: center; overflow: hidden;
  width: 3rem; height: 3rem; flex: none;
  border: 1px solid var(--glass-line); border-radius: .75rem; background: var(--surface);
  color: var(--foreground);
  animation: logo-pulse 1.05s cubic-bezier(.2,.8,.2,1) both;
}
.logo-mark--sm { width: 2.5rem; height: 2.5rem; }
.logo-mark svg { width: 66%; height: 66%; }
.mark-accent { color: var(--accent); }
.mark-light { color: var(--foreground); opacity: .9; }
.logo-sweep {
  position: absolute; top: 0; bottom: 0; width: 33%;
  background: linear-gradient(90deg, transparent, rgba(79, 216, 239, .42), transparent);
  animation: logo-sweep 2.2s ease-in-out .8s both;
}
.logo-text strong { display: block; font-family: var(--font-display); font-size: .875rem; font-weight: 700; line-height: 1; }
.logo-text em { display: block; margin-top: .3rem; font-style: normal; font-size: .5625rem; text-transform: uppercase; letter-spacing: .32em; color: var(--cool); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  border-bottom: 1px solid var(--glass-line);
  background: var(--header); backdrop-filter: blur(18px);
}
.header-inner { display: flex; height: 5rem; align-items: center; justify-content: space-between; }
.logo-link { transition: opacity .2s ease; }
.logo-link:hover { opacity: .8; }
.nav-desktop { display: none; align-items: center; gap: 2rem; font-size: .875rem; color: var(--muted); }
.nav-link { position: relative; transition: color .2s ease; }
.nav-link:hover { color: var(--accent); }
.nav-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.5rem; height: 1px; background: var(--accent); transition: right .25s ease; }
.nav-link:hover::after { right: 0; }
.header-cta {
  display: none; border: 1px solid rgba(79, 216, 239, .45); border-radius: 999px;
  padding: .625rem 1.25rem; font-size: .875rem; font-weight: 600; color: var(--accent);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.header-cta:hover { background: var(--accent); color: var(--accent-foreground); transform: translateY(-1px); }
.menu-toggle {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; padding: .6rem;
  border: 1px solid var(--glass-line); border-radius: 999px; background: none; color: inherit; cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-mobile { border-top: 1px solid var(--glass-line); background: rgba(11, 15, 28, .95); backdrop-filter: blur(18px); padding: 1.25rem 0; }
.nav-mobile-inner { display: flex; flex-direction: column; gap: 1rem; font-size: .875rem; }

/* ---------- hero ---------- */
.hero {
  position: relative; display: flex; align-items: center; overflow: hidden;
  min-height: min(92svh, 980px); padding-top: 5rem;
  background:
    radial-gradient(circle at 78% 26%, rgba(58, 130, 190, .28), transparent 27%),
    linear-gradient(145deg, var(--surface), var(--background) 65%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(var(--glass-line) 1px, transparent 1px), linear-gradient(90deg, var(--glass-line) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: linear-gradient(to right, transparent, black);
  mask-image: linear-gradient(to right, transparent, black);
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,11,22,.98) 0%, rgba(10,14,26,.9) 48%, rgba(10,14,26,.5) 100%); }
.hero-panels { position: absolute; inset: 0; pointer-events: none; }
.glass-panel {
  position: absolute; display: block;
  border: 1px solid var(--glass-line); border-radius: 1.5rem;
  background: linear-gradient(145deg, var(--glass), transparent);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 28px 80px rgba(4,6,14,.35);
}
.panel-1 { right: -5rem; top: 3rem; width: 280px; height: 580px; transform: rotate(38deg); }
.panel-2 { right: 7rem; top: 13rem; width: 210px; height: 430px; transform: rotate(38deg); display: none; }
.panel-3 { right: 26rem; top: 8rem; width: 150px; height: 360px; transform: rotate(38deg); display: none; }

.hero-content { position: relative; z-index: 10; padding-top: 5rem; padding-bottom: 5rem; }
.badge {
  display: inline-flex; align-items: center; gap: .5rem; margin: 2.5rem 0 0;
  border: 1px solid var(--glass-line); border-radius: 999px; background: var(--glass);
  padding: .5rem 1rem; font-size: .6875rem; text-transform: uppercase; letter-spacing: .25em;
  color: var(--cool); backdrop-filter: blur(10px);
}
.badge .dot { width: .375rem; height: .375rem; border-radius: 999px; background: var(--accent); }
.hero h1 {
  margin: 1.75rem 0 0; max-width: 56rem;
  font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1.08;
}
.text-gradient { background: linear-gradient(90deg, var(--accent), var(--foreground)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 1.75rem 0 0; max-width: 42rem; color: var(--muted); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }

.cta-primary, .cta-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  border-radius: 999px; padding: .9rem 1.5rem; font-size: .875rem; font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}
.cta-primary { background: var(--accent); color: var(--accent-foreground); box-shadow: 0 12px 36px rgba(79,216,239,.16); }
.cta-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(79,216,239,.25); }
.cta-secondary { border: 1px solid var(--glass-line); background: var(--glass); font-weight: 600; }
.cta-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.arrow, .check, .building { width: 1.05rem; height: 1.05rem; flex: none; }
.cta-primary:hover .arrow { transform: translateX(4px); }
.arrow { transition: transform .2s ease; }

.hero-strip {
  list-style: none; display: grid; gap: 1px; margin: 3.5rem 0 0; padding: 0; max-width: 48rem;
  overflow: hidden; border: 1px solid var(--glass-line); border-radius: 1rem;
  background: var(--glass-line); backdrop-filter: blur(18px);
}
.hero-strip li { display: flex; align-items: center; gap: .75rem; background: var(--glass-strong); padding: 1.25rem; font-size: .875rem; }
.hero-strip .check { color: var(--accent); }

/* ---------- sections ---------- */
.eyebrow { margin: 0; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .22em; color: var(--accent); }
.section-title { margin: 1rem 0 0; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 700; line-height: 1.12; }
.section-head { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.section-note { max-width: 28rem; margin: 0; color: var(--muted); }

.cards { display: grid; gap: 1.25rem; margin-top: 3.5rem; }
.service-card {
  min-height: 250px; border: 1px solid var(--glass-line); border-radius: 1rem;
  background: var(--glass); padding: 1.75rem;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(79,216,239,.45); background: rgba(238,244,248,.075); }
.service-card-top { display: flex; align-items: center; justify-content: space-between; }
.service-number {
  display: grid; place-items: center; width: 3rem; height: 3rem;
  border: 1px solid var(--glass-line); border-radius: .75rem; background: var(--surface);
  color: var(--accent); font-family: var(--font-display); font-size: .8rem; font-weight: 700;
}
.service-card .arrow { width: 1.2rem; height: 1.2rem; color: var(--quiet); transition: transform .2s ease, color .2s ease; }
.service-card:hover .arrow { transform: translateX(4px); color: var(--accent); }
.service-card h3 { margin: 1.75rem 0 0; font-size: 1.25rem; font-weight: 600; }
.service-card p { margin: .75rem 0 0; font-size: .875rem; line-height: 1.7; color: var(--muted); }

.process-section { padding-bottom: 6rem; }
.process-panel {
  position: relative; overflow: hidden; margin: 0 auto; max-width: 80rem;
  border-top: 1px solid var(--glass-line); border-bottom: 1px solid var(--glass-line);
  padding: 4rem 1.25rem; background: linear-gradient(135deg, var(--surface), var(--background));
}
.process-glow { position: absolute; right: -7rem; top: -7rem; width: 24rem; height: 24rem; border-radius: 999px; background: rgba(79,216,239,.12); filter: blur(80px); }
.process-panel .eyebrow, .process-title, .steps { position: relative; }
.process-title { max-width: 48rem; }
.steps { display: grid; gap: 1.25rem; margin-top: 3rem; }
.step-block {
  min-height: 190px; border: 1px solid var(--glass-line); border-radius: .9rem;
  background: var(--glass); padding: 1.5rem; backdrop-filter: blur(12px);
  transition: transform .25s ease, border-color .25s ease;
}
.step-block:hover { transform: translateY(-4px); border-color: rgba(79,216,239,.35); }
.step-block .step-num { margin: 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.step-block h3 { margin: 1rem 0 0; font-size: 1rem; font-weight: 600; }
.step-block p { margin: .5rem 0 0; font-size: .875rem; line-height: 1.7; color: var(--muted); }

.about-grid { display: grid; gap: 3.5rem; }
.about-text { margin: 1.75rem 0 0; max-width: 42rem; font-size: 1.125rem; line-height: 1.75; color: var(--muted); }
.address-panel {
  border: 1px solid var(--glass-line); border-radius: 1rem; padding: 2rem;
  background: linear-gradient(145deg, var(--glass), transparent); backdrop-filter: blur(16px);
}
.building { width: 1.7rem; height: 1.7rem; color: var(--accent); }
.panel-label { margin: 2rem 0 0; font-size: .75rem; text-transform: uppercase; letter-spacing: .23em; color: var(--cool); }
.address-panel address { margin-top: 1rem; font-family: var(--font-display); font-size: 1.25rem; font-style: normal; line-height: 1.7; }

.contacts-section { padding: 5rem 1.25rem; }
.contact-panel {
  margin: 0 auto; max-width: 80rem; padding: 2rem;
  border: 1px solid rgba(79,216,239,.28); border-radius: 1.25rem;
  background: linear-gradient(120deg, var(--surface), #16304a);
  box-shadow: 0 30px 90px rgba(4,6,14,.35);
}
.contact-inner { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 2.5rem; }
.contact-title { margin: 1rem 0 0; max-width: 48rem; font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; line-height: 1.2; }
.contact-address { margin: 1.25rem 0 0; max-width: 36rem; color: var(--muted); }

.footer-inner { display: flex; flex-direction: column; gap: 1.25rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.footer-note { margin: 0; font-size: .75rem; color: var(--quiet); }

/* ---------- animations ---------- */
@keyframes logo-pulse { 0% { opacity: 0; transform: translateY(16px) scale(.88) rotate(-4deg); } 65% { opacity: 1; transform: translateY(-2px) scale(1.03); } 100% { opacity: 1; transform: none; } }
@keyframes logo-sweep { 0% { transform: translateX(-180%); } 100% { transform: translateX(280%); } }
@keyframes float-a { 0%,100% { transform: translate(0,0) rotate(38deg); } 50% { transform: translate(22px,-18px) rotate(38deg); } }
@keyframes float-b { 0%,100% { transform: translate(0,0) rotate(38deg); } 50% { transform: translate(-24px,20px) rotate(38deg); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.float-a { animation: float-a 12s ease-in-out infinite; }
.float-b { animation: float-b 15s ease-in-out infinite; }
.rise { opacity: 0; animation: rise-in .85s cubic-bezier(.2,.8,.2,1) both; }
.rise-1 { animation-delay: .18s; } .rise-2 { animation-delay: .32s; } .rise-3 { animation-delay: .48s; }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (min-width: 420px) { .hero h1 { font-size: 2.25rem; } }
@media (min-width: 640px) {
  .shell { padding-left: 2rem; padding-right: 2rem; }
  .section-pad { padding-top: 8rem; padding-bottom: 8rem; }
  .hero h1 { font-size: 3.75rem; line-height: 1.02; }
  .lead { font-size: 1.125rem; }
  .hero-strip { grid-template-columns: repeat(3, 1fr); }
  .panel-2 { display: block; }
  .process-panel { padding: 5rem 3.5rem; }
  .contact-panel { padding: 3.5rem; }
  .contact-title { font-size: 3rem; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 768px) {
  .nav-desktop, .header-cta { display: inline-flex; }
  .menu-toggle, .nav-mobile { display: none !important; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 5.8rem; }
  .panel-3 { display: block; }
  .process-panel { border: 1px solid var(--glass-line); border-radius: 1.5rem; }
  .about-grid { grid-template-columns: 7fr 5fr; align-items: start; }
  .section-head { flex-direction: row; align-items: flex-end; }
  .contact-inner { flex-direction: row; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
