:root {
  --bg: #F7FAFF;
  --fg: #0B0F1A;
  --muted: #64748B;
  --card: #FFFFFF;
  --border: #E2E8F0;
  --blue: #1D4ED8;
  --teal: #14B8A6;
  --navy: #0B1F3B;
  --dark: #07101F;
  --shadow: 0 10px 26px rgba(2, 8, 23, .10);
  --radius: 18px;
}
:root.dark {
  --bg: #07101F;
  --fg: #F3F6FF;
  --muted: #A8B3C7;
  --card: #0B162A;
  --border: #1F2A44;
  --shadow: 0 12px 30px rgba(0, 0, 0, .36);
}

* { box-sizing: border-box; }
html, body {
  overflow-x: hidden; height: 100%; }
body {
  overflow-x: hidden;
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: radial-gradient(900px 520px at 10% -10%, rgba(29,78,216,.14), transparent 60%),
              radial-gradient(820px 460px at 90% 0%, rgba(20,184,166,.10), transparent 55%),
              var(--bg);
  color: var(--fg);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,250,255,.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
:root.dark .topbar { background: rgba(7,16,31,.72); }

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  min-width: 200px;
}
.brand .brand-icon { width: clamp(30px, 6vw, 42px); height: clamp(30px, 6vw, 42px); flex: 0 0 auto; }
.brand .brand-full { height: clamp(26px, 4.8vw, 44px); width: auto; max-width: min(520px, 52vw); object-fit: contain; }
.brand .brand-full.dark { display: none; }
:root.dark .brand .brand-full.light { display: none; }
:root.dark .brand .brand-full.dark { display: block; }
.brand .brand-full { height: clamp(26px, 4.8vw, 44px); width: auto; max-width: min(520px, 52vw); object-fit: contain; }
.brand .brand-full.dark { display: none; }
:root.dark .brand .brand-full.light { display: none; }
:root.dark .brand .brand-full.dark { display: block; }

.menu { display: flex; gap: 10px; align-items: center; }
.menu a {
  font-weight: 850;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 12px;
}
.menu a:hover { background: rgba(29,78,216,.10); color: var(--fg); }
.menu a.active { color: var(--fg); background: rgba(29,78,216,.12); }

.actions { display: flex; gap: 10px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  font-weight: 900;
}
.btn.primary {
  border: none;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #04101F;
}
.btn.ghost {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.26);
  color: #fff;
}
.btn:hover { transform: translateY(-1px); transition: .15s; }
.icon-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  font-weight: 900;
}
.hamburger { display: none; }

.hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-bottom: 1px solid var(--border);
}
.slider {
  position: relative;
  width: 100%;
  height: min(72vh, 760px);
  min-height: 420px;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .6s ease, transform .7s ease;
}
.slide.active { opacity: 1; transform: scale(1); }
.slide img { width: 100%; height: 100%; object-fit: cover; }

.hero-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  pointer-events: none;
}
.hero-overlay .container { pointer-events: auto; }
.hero-panel { max-width: 680px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(29,78,216,.88), rgba(20,184,166,.72));
  color: #061022;
  font-weight: 950;
}
.hero-title {
  margin: 22px 0 10px;
  font-size: clamp(38px, 5vw, 74px);
  letter-spacing: -0.8px;
  font-weight: 950;
  color: #fff;
}
.hero-sub {
  margin: 0;
  font-size: 20px;
  color: #C7D2E4;
  font-weight: 650;
}
.hero-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.slider-ui {
  position: absolute;
  inset: auto 0 18px 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.dot {
  width: 12px; height: 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.18);
  cursor: pointer;
}
.dot.active {
  width: 34px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-color: transparent;
}

.section { padding: 54px 0; }
.section.after-hero { padding-top: 86px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card .p { padding: 18px 18px 20px; }

.kicker {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 950;
  font-size: 12px;
  background: rgba(29,78,216,.10);
  color: var(--fg);
  border: 1px solid var(--border);
}
.h2 {
  font-size: 34px;
  margin: 10px 0 10px;
  letter-spacing: -0.6px;
  font-weight: 950;
}
.lead {
  color: var(--muted);
  font-weight: 650;
  margin: 0;
  max-width: 74ch;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.service-item {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--card);
}
.service-item h3 { margin: 0 0 6px; font-size: 18px; font-weight: 950; }
.service-item p { margin: 0; color: var(--muted); font-weight: 650; }

.footer {
  border-top: 1px solid var(--border);
  padding: 44px 0;
  background: rgba(29,78,216,.04);
}
:root.dark .footer { background: rgba(255,255,255,.03); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.footer h4 { margin: 0 0 10px; font-weight: 950; }
.footer a { color: var(--muted); font-weight: 800; }
.footer a:hover { color: var(--fg); }

.small { color: var(--muted); font-weight: 650; font-size: 13px; }

.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.badge {
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  background: var(--card);
}

.page-hero { padding: 34px 0 22px; border-bottom: 1px solid var(--border); }
.map {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
label { font-weight: 900; font-size: 13px; }
input, textarea {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--fg);
  border-radius: 14px;
  padding: 12px 12px;
  outline: none;
  font-size: 14px;
}
textarea { min-height: 130px; resize: vertical; }

.contact-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}
.contact-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

@media (max-width: 980px) {
  .grid3 { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .contact-top, .contact-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .hide-sm { display: none !important; }
  .brand .brand-full { max-width: calc(100vw - 210px); }
  .actions { gap: 8px; }
  .btn { padding: 10px 12px; }
  .hero-panel { max-width: 520px; }

  .brand .brand-full { height: clamp(26px, 4.8vw, 44px); width: auto; max-width: min(520px, 52vw); object-fit: contain; }
  .menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 10px 14px;
    flex-direction: column;
    gap: 6px;
  }
  .menu.open { display: flex; }
  .hamburger {
    display: inline-grid;
    place-items: center;
    width: 44px; height: 44px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--card);
  }
  .slider { height: min(54vh, 540px); min-height: 360px; }
  .hero-sub { font-size: 16px; }
}

.hide-sm { display: inline-flex; }
