:root {
  --bg: #eef3f8;
  --bg-elevated: #f8fbff;
  --surface: #ffffff;
  --surface-strong: #f4f8fd;
  --line: #cfdae8;
  --line-strong: #b8c8dc;
  --ink: #142033;
  --ink-soft: #42536a;
  --ink-muted: #5d7089;
  --accent: #cc1d2f;
  --accent-deep: #9f1724;
  --signal: #0b7596;
  --signal-deep: #084d63;
  --ok: #0e7a63;
  --radius-xs: 10px;
  --radius-sm: 16px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --shadow-sm: 0 12px 22px rgba(16, 28, 45, 0.08);
  --shadow-md: 0 20px 46px rgba(16, 28, 45, 0.14);
  --shadow-lg: 0 28px 70px rgba(16, 28, 45, 0.18);
  --max-width: 1200px;
  --font-head: "Sora", "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Public Sans", "Helvetica Neue", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.65;
  background:
    radial-gradient(circle at 12% -8%, rgba(11, 117, 150, 0.18), transparent 30%),
    radial-gradient(circle at 88% 0%, rgba(204, 29, 47, 0.18), transparent 32%),
    linear-gradient(180deg, #f9fcff 0%, #f2f6fb 38%, var(--bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(to right, rgba(20, 32, 51, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 32, 51, 0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  z-index: -2;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-head);
  line-height: 1.13;
  letter-spacing: -0.024em;
}

ul {
  margin: 0;
  padding-left: 1.1rem;
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -46px;
  left: 12px;
  z-index: 200;
  border: 2px solid var(--accent);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 0.42rem 0.86rem;
  font-weight: 700;
}

.skip-link:focus {
  top: 10px;
}

.container {
  width: min(var(--max-width), calc(100% - 2.4rem));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-tight {
  padding: 3.6rem 0;
}

.section-head {
  margin-bottom: 1.8rem;
  max-width: 760px;
}

.section-head h1,
.section-head h2 {
  font-size: clamp(1.75rem, 2.4vw + 1rem, 2.95rem);
}

.section-head p {
  margin-top: 0.7rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 0.62vw + 0.88rem, 1.18rem);
}

.section-head::before {
  content: "";
  display: block;
  width: 110px;
  height: 4px;
  border-radius: 999px;
  margin-bottom: 0.9rem;
  background: linear-gradient(90deg, var(--signal), var(--accent));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid transparent;
  background: rgba(250, 253, 255, 0.83);
  backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 24px rgba(12, 21, 35, 0.1);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand img {
  width: 124px;
  height: auto;
}

.brand-name {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1d2d43;
}

.mobile-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #ffffff, #eef4fb);
  color: #1b2a41;
  border-radius: 999px;
  min-height: 44px;
  padding: 0.52rem 0.9rem;
  font-weight: 700;
  font-family: var(--font-head);
}

.mobile-toggle[aria-expanded="true"] {
  background: linear-gradient(120deg, #172338, #233753);
  border-color: #172338;
  color: #fff;
}

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.32rem;
  margin: 0;
  padding: 0.38rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.88rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: #304258;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.site-nav a:hover {
  background: #eaf1f9;
  color: #1e2f45;
}

.site-nav a[aria-current="page"] {
  background: linear-gradient(120deg, var(--accent), #e33648);
  color: #fff;
}

.header-cta {
  flex-shrink: 0;
  min-height: 40px;
  padding-inline: 0.95rem;
}

.hero {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) 0 4.4rem;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  right: -9%;
  top: -26%;
  width: min(52vw, 800px);
  height: min(58vw, 700px);
  border-radius: 52% 48% 58% 42% / 44% 56% 44% 56%;
  background:
    linear-gradient(140deg, rgba(10, 22, 37, 0.5), rgba(12, 32, 49, 0.4)),
    url("../../assets/hero.webp") center / cover no-repeat;
  box-shadow: var(--shadow-lg);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  gap: 1.2rem;
  align-items: end;
}

.hero-main {
  position: relative;
  isolation: isolate;
  padding: clamp(1.2rem, 2vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.93), rgba(244, 249, 255, 0.84));
  box-shadow: var(--shadow-lg);
}

.hero-main::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--signal), var(--accent));
}

.hero-main h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  max-width: 16ch;
}

.hero-main p {
  margin-top: 0.92rem;
  color: var(--ink-soft);
  max-width: 58ch;
  font-size: clamp(1.02rem, 0.72vw + 0.88rem, 1.2rem);
}

.hero-ctas {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.trust-strip {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.58rem;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.44rem;
  padding: 0.4rem 0.78rem;
  border-radius: 999px;
  border: 1px solid #cdd8e6;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: #2e4058;
  font-size: 0.84rem;
  font-weight: 700;
}

.trust-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--signal), var(--accent));
}

.hero-panel {
  background: linear-gradient(160deg, #0f1f35, #142a46 60%, #1a3354 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #dce9f9;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
}

.hero-panel-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  color: #8fb4d7;
}

.hero-panel h2 {
  margin-top: 0.35rem;
  font-size: clamp(1.24rem, 1.2vw + 1rem, 1.6rem);
  color: #fff;
}

.hero-panel ul {
  margin-top: 0.72rem;
  display: grid;
  gap: 0.44rem;
  color: #d0e2f8;
}

.hero-panel-contact {
  margin-top: 0.86rem;
  padding-top: 0.82rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.92rem;
}

.hero-panel a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn {
  --btn-bg: #1b2b43;
  --btn-text: #fff;
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 45px;
  padding: 0.78rem 1.22rem;
  border: 1px solid var(--btn-border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.93rem;
  letter-spacing: 0.01em;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  --btn-bg: linear-gradient(120deg, var(--accent), #e53b4d);
  --btn-text: #fff;
  box-shadow: 0 12px 24px rgba(204, 29, 47, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 16px 28px rgba(204, 29, 47, 0.32);
}

.btn-secondary {
  --btn-bg: linear-gradient(120deg, #17273e, #274367);
  --btn-text: #fff;
  box-shadow: 0 10px 22px rgba(18, 34, 55, 0.2);
}

.btn-secondary:hover {
  --btn-bg: linear-gradient(120deg, #132033, #213955);
}

.btn-ghost {
  --btn-bg: #ffffff;
  --btn-text: #24354f;
  --btn-border: #c5d4e6;
}

.btn-ghost:hover {
  --btn-bg: #f3f8fe;
  --btn-border: #a9bfd8;
}

.cards {
  display: grid;
  gap: 1rem;
}

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

.cards.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.92));
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--signal), var(--accent));
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.card-media {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #d0ddec;
  margin-bottom: 0.9rem;
}

.card h2,
.card h3 {
  font-size: clamp(1.02rem, 0.7vw + 0.88rem, 1.35rem);
  margin-bottom: 0.34rem;
}

.card p,
.card li {
  color: var(--ink-soft);
}

.card-icon {
  width: 2.45rem;
  height: 2.45rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 0.72rem;
  background: linear-gradient(135deg, #e6f4f8, #e7edf8);
  color: #183149;
  font-weight: 800;
  font-size: 1.05rem;
}

.band {
  border-block: 1px solid #c9d7e7;
  background: linear-gradient(180deg, #edf4fb, #eaf2fb);
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #c8d5e5;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.kpi {
  background: linear-gradient(150deg, #ffffff, #f6faff);
  padding: 1.08rem;
  border-right: 1px solid #d5e0ed;
}

.kpi:last-child {
  border-right: 0;
}

.kpi strong {
  display: block;
  font-size: 1.16rem;
  font-family: var(--font-head);
}

.reference-tile {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 4px solid var(--signal);
  border-radius: var(--radius-sm);
  padding: 1rem;
  background: linear-gradient(160deg, #ffffff, #f4f9ff);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reference-tile::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(11, 117, 150, 0.2), rgba(204, 29, 47, 0));
}

.reference-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.reference-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.22rem 0.58rem;
  font-size: 0.74rem;
  font-weight: 700;
  background: #e8f0fa;
  color: #314860;
  margin-bottom: 0.55rem;
}

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

.process-step {
  position: relative;
  padding: 1rem 1rem 1rem 3rem;
  border: 1px solid #cfddec;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, #ffffff, #f6f9ff);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-number {
  position: absolute;
  left: 0.95rem;
  top: 0.95rem;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(120deg, var(--signal-deep), var(--accent));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 1.1rem;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 0.82rem;
}

.contact-item {
  border: 1px solid #cad8e8;
  border-radius: var(--radius-sm);
  padding: 1rem;
  background: linear-gradient(150deg, #ffffff, #f3f8ff);
  box-shadow: var(--shadow-sm);
}

.contact-item h2,
.contact-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.24rem;
}

.form {
  border: 1px solid #c8d7e9;
  border-radius: var(--radius-md);
  padding: 1.18rem;
  background: linear-gradient(155deg, #ffffff, #f4f9ff);
  box-shadow: var(--shadow-md);
}

.form h2 {
  font-size: 1.45rem;
}

.form-row {
  display: grid;
  gap: 0.38rem;
  margin-bottom: 0.92rem;
}

label {
  font-size: 0.92rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  font: inherit;
  border: 1px solid #c0ccdc;
  border-radius: 12px;
  padding: 0.74rem 0.78rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

input:focus,
textarea:focus {
  border-color: var(--signal);
  box-shadow: 0 0 0 4px rgba(11, 117, 150, 0.16);
  outline: none;
}

textarea {
  min-height: 136px;
  resize: vertical;
}

.input-error {
  border-color: #b91c1c;
}

.error-text {
  min-height: 1.24em;
  color: #991b1b;
  font-size: 0.82rem;
}

.success {
  min-height: 1.2em;
  margin-top: 0.55rem;
  color: var(--ok);
  font-weight: 700;
}

.form-note {
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.checkbox-row {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.checkbox-row input {
  width: auto;
  margin-top: 0.28rem;
}

.map-cta {
  margin-top: 0.95rem;
}

.page-hero {
  position: relative;
  padding: 3.6rem 0 2.8rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 86% 22%, rgba(11, 117, 150, 0.14), transparent 32%),
    radial-gradient(circle at 8% 8%, rgba(204, 29, 47, 0.16), transparent 28%),
    linear-gradient(180deg, #f9fcff, #eff5fc);
}

.callout {
  border: 1px solid #c9d9ea;
  border-radius: var(--radius-md);
  padding: clamp(1.06rem, 2.2vw, 1.5rem);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(236, 245, 255, 0.92));
  box-shadow: var(--shadow-md);
}

.callout h2 {
  font-size: clamp(1.35rem, 1.4vw + 0.9rem, 2rem);
}

.callout p {
  margin-top: 0.46rem;
  color: var(--ink-soft);
}

.callout .btn {
  margin-top: 0.95rem;
}

.section-action {
  margin-top: 1.12rem;
}

.legal {
  border: 1px solid #cad7e7;
  border-radius: var(--radius-md);
  padding: clamp(1rem, 2.3vw, 1.45rem);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(242, 248, 255, 0.92));
  box-shadow: var(--shadow-sm);
}

.legal h2 {
  margin-top: 1.6rem;
  font-size: 1.14rem;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.legal p {
  color: #314258;
}

.site-footer {
  margin-top: 4rem;
  padding: 2.5rem 0 1.2rem;
  color: #d6e4f6;
  background: linear-gradient(155deg, #101b2c, #12253d 58%, #16355a);
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--signal), var(--accent));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1.2rem;
}

.footer-grid h3 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.36rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.site-footer a {
  color: #ffb8c0;
}

.site-footer a:hover {
  color: #ffd4d9;
}

.footer-bottom {
  margin-top: 1.2rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(214, 228, 246, 0.24);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
  font-size: 0.88rem;
}

.muted {
  color: var(--ink-muted);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.52s ease, transform 0.52s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1200px) {
  .container {
    width: min(var(--max-width), calc(100% - 3.4rem));
  }

  .hero-layout {
    gap: 1.4rem;
  }
}

@media (max-width: 1080px) {
  .hero-layout,
  .contact-grid,
  .cards.cols-3,
  .kpi-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cards.cols-2 {
    grid-template-columns: 1fr;
  }

  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero::before {
    width: min(90vw, 720px);
    height: min(84vw, 620px);
    right: -18%;
    top: 4%;
    opacity: 0.96;
  }

  .hero-main {
    backdrop-filter: blur(6px);
  }

  .kpi {
    border-right: 0;
    border-bottom: 1px solid #d5e0ed;
  }

  .kpi:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 820px) {
  .mobile-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 1rem;
    right: 1rem;
    transform: translateY(-6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav ul {
    display: grid;
    gap: 0.28rem;
    padding: 0.7rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    border-color: #c8d4e4;
  }

  .site-nav a {
    width: 100%;
    border-radius: 10px;
    padding: 0.55rem 0.66rem;
  }

  .site-nav a[aria-current="page"] {
    background: #f2f6fc;
    color: #24364f;
  }

  .brand-name {
    display: none;
  }

  .section {
    padding: 4rem 0;
  }

  .section-tight {
    padding: 2.85rem 0;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .hero::before {
    right: -22%;
    top: 18%;
    width: min(115vw, 690px);
    height: min(95vw, 620px);
    opacity: 0.76;
  }

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

  .process {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(var(--max-width), calc(100% - 1.35rem));
  }

  .header-inner {
    min-height: 78px;
  }

  .brand img {
    width: 108px;
  }

  .hero-main,
  .hero-panel,
  .card,
  .form,
  .contact-item,
  .callout,
  .legal,
  .kpi {
    border-radius: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
