:root {
  --bg: #f4f9ff;
  --surface: rgba(255, 255, 255, 0.84);
  --primary: #0b4db8;
  --primary-deep: #08337a;
  --primary-soft: #d9e9ff;
  --text: #10213d;
  --muted: #5e7296;
  --border: rgba(11, 77, 184, 0.12);
  --shadow: 0 20px 60px rgba(8, 51, 122, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(78, 145, 255, 0.18), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 52%, #eef5ff 100%);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.section-band {
  background: linear-gradient(180deg, rgba(216, 233, 255, 0.36), rgba(255, 255, 255, 0));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(16, 33, 61, 0.06);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #4f97ff);
  box-shadow: 0 12px 30px rgba(11, 77, 184, 0.3);
  font-weight: 800;
  flex-shrink: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 0.96rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-link,
.dropdown-toggle {
  color: var(--muted);
  font-weight: 700;
  padding: 0.35rem 0;
}

.nav-link.active,
.dropdown-toggle.active {
  color: var(--primary);
}

.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 0;
  min-width: 220px;
  display: grid;
  gap: 0.25rem;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 700;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  color: var(--primary);
  background: rgba(11, 77, 184, 0.08);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(16, 33, 61, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #3e8cff);
  box-shadow: 0 16px 34px rgba(11, 77, 184, 0.24);
}

.button-secondary,
.button-ghost {
  color: var(--primary);
  background: rgba(11, 77, 184, 0.08);
}

.hero,
.page-hero {
  padding: 5.5rem 0 4rem;
}

.hero-grid,
.split-layout,
.contact-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.hero-grid {
  gap: 2.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.72);
}

h1,
h2,
h3 {
  margin-top: 0;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.panel h2,
.cta-banner h2,
.flow-copy h2 {
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(3rem, 7vw, 5.2rem);
  max-width: 12ch;
}

.page-hero h1 {
  max-width: 14ch;
}

.hero-text,
.section-heading p,
.service-card p,
.panel p,
.flow-copy p,
.site-footer p,
.footer-column a,
.footer-column li {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-text {
  max-width: 58ch;
  margin: 1.5rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1.8rem;
}

.trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-points li {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(11, 77, 184, 0.08);
  color: var(--primary-deep);
  font-weight: 700;
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.hero-card,
.service-card,
.contact-card,
.panel,
.cta-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.5rem;
}

.hero-card-main {
  min-height: 280px;
  padding: 2rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(225, 239, 255, 0.94)),
    var(--surface);
}

.hero-card-main span,
.hero-card-metric span,
.hero-card-accent span {
  color: var(--muted);
}

.hero-card-main h2 {
  font-size: 2rem;
  line-height: 1.1;
  margin: 1rem 0;
}

.hero-card-accent,
.panel-dark {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
}

.hero-card-accent span,
.panel-dark p {
  color: rgba(255, 255, 255, 0.82);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.4rem;
}

.section-heading h2,
.panel h2,
.cta-banner h2,
.flow-copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.contact-card,
.panel,
.cta-banner {
  padding: 1.7rem;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
}

.service-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.25rem;
}

.text-link {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--primary);
  font-weight: 800;
}

.flow-copy {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.contact-panel {
  align-self: stretch;
}

.contact-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.contact-list a,
.contact-list span {
  color: var(--primary-deep);
  font-weight: 700;
}

.contact-card {
  display: grid;
  gap: 1rem;
}

.contact-card label {
  display: grid;
  gap: 0.55rem;
  color: var(--text);
  font-weight: 700;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(16, 33, 61, 0.12);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
}

.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
  outline: 2px solid rgba(62, 140, 255, 0.25);
  border-color: rgba(62, 140, 255, 0.4);
}

.site-footer {
  padding: 2rem 0 1.4rem;
  background: #09172f;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-brand p,
.footer-column ul {
  margin: 0;
}

.footer-column h3 {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.footer-column ul {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.footer-column a,
.footer-column li,
.footer-brand p {
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.92rem;
}

@media (max-width: 1100px) {
  .hero-grid,
  .split-layout,
  .contact-grid,
  .detail-grid,
  .service-grid,
  .service-grid-three,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-hero h1 {
    max-width: 100%;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-shell {
    position: fixed;
    inset: 5.3rem 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .nav-shell.open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    margin-top: 0.6rem;
    box-shadow: none;
  }

  .nav-bar > .button {
    display: none;
  }
}

@media (max-width: 720px) {
  .section,
  .hero,
  .page-hero {
    padding: 4.5rem 0;
  }

  .hero-actions,
  .trust-points {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .brand-copy strong {
    font-size: 0.9rem;
  }
}
