:root {
  --blue: #0d5eaf;
  --blue-hover: #0b4f94;
  --blue-deep: #083a6c;
  --navy: #061b33;
  --sky: #e7f1fb;
  --mist: #f5f8fc;
  --ink: #122033;
  --muted: #5c6b7a;
  --line: #d5e2ef;
  --white: #ffffff;
  --shadow: 0 14px 40px rgba(8, 58, 108, 0.08);
  --shadow-sm: 0 6px 20px rgba(8, 58, 108, 0.06);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 108px;
  --max: 1160px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-hover);
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--blue);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 200;
}

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

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

.section {
  padding: 92px 0;
}

.section-mist {
  background: var(--mist);
}

.section-tight {
  padding-top: 0;
}

.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-36 { margin-top: 36px; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(13, 94, 175, 0.22);
}

.btn-primary:hover {
  background: var(--blue-hover);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--blue);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(213, 226, 239, 0.8);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.logo img {
  width: auto;
  height: 75px;
}

.logo span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo small {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--ink);
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--blue);
  background: var(--sky);
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
}

.dropdown-toggle:hover,
.dropdown.is-open .dropdown-toggle,
.dropdown.is-active .dropdown-toggle {
  color: var(--blue);
  background: var(--sky);
}

.chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.dropdown.is-open .chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
}

.dropdown.is-open .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
}

.dropdown-menu a:hover {
  background: var(--sky);
  color: var(--blue);
}

.nav-cta {
  margin-left: 8px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  margin: 0 auto;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

/* Hero */
.hero {
  padding: 72px 0 40px;
  background:
    radial-gradient(circle at 0% 0%, #dceaf8 0%, transparent 42%),
    linear-gradient(180deg, var(--mist) 0%, var(--white) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 10px 0 18px;
}

.hero p {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-chip {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-chip small {
  display: block;
  color: var(--muted);
  font-weight: 500;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.split p + p {
  margin-top: 16px;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 18px;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sky);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.icon-wrap svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.product-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}

.product-intro img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
  background: #f3f7fb;
}

.tagline {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin: 8px 0 14px;
}

/* Audience */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.audience-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 210px;
  color: var(--white);
}

.audience-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.audience-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 27, 51, 0.05) 20%, rgba(6, 27, 51, 0.78) 100%);
}

.audience-card span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.audience-card.plain {
  min-height: 210px;
  background: var(--sky);
  color: var(--blue-deep);
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  padding: 18px;
}

.audience-card.plain::after {
  display: none;
}

.audience-card.plain span {
  position: static;
}

/* CTA band */
.cta-band {
  background:
    linear-gradient(135deg, #0d5eaf 0%, #083a6c 100%);
  color: var(--white);
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.cta-band p {
  max-width: 620px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.86);
}

.cta-band .btn-row {
  justify-content: center;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

.contact-card {
  background: var(--mist);
  border-radius: 24px;
  padding: 32px;
}

.contact-card h3 {
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--muted);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid rgba(13, 94, 175, 0.25);
  border-color: var(--blue);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
}

.hp {
  position: absolute;
  left: -9999px;
}

.form-status {
  grid-column: 1 / -1;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 600;
  display: none;
}

.form-status.success {
  display: block;
  background: #e8f7ee;
  color: #146c36;
}

.form-status.error {
  display: block;
  background: #fdecec;
  color: #9b1c1c;
}

/* Page hero */
.page-hero {
  padding: 72px 0 36px;
  background: linear-gradient(180deg, var(--mist), var(--white));
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.legal {
  max-width: 800px;
}

.legal h2 {
  font-size: 1.25rem;
  margin: 32px 0 10px;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal ul {
  padding-left: 20px;
}

.updated {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 8px;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  padding: 56px 0 24px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .logo {
  color: var(--white);
}

.site-footer .logo img {
  height: 73px;
}

.site-footer .logo small {
  color: rgba(255, 255, 255, 0.65);
}

.site-footer h4 {
  color: var(--white);
  margin-bottom: 14px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
  color: var(--white);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.copyright {
  padding-top: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s ease forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .product-intro,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-media img,
  .split img {
    height: 340px;
  }

  .cta-band {
    padding: 48px 24px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 96px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    flex-direction: column;
    align-items: stretch;
  }

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

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 12px;
    min-width: 0;
  }

  .nav-cta {
    margin-left: 0;
    width: 100%;
  }

  .hero {
    padding-top: 36px;
  }

  .section {
    padding: 68px 0;
  }

  .grid-3,
  .grid-2,
  .contact-form,
  .audience-grid {
    grid-template-columns: 1fr;
  }

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

  .audience-card,
  .audience-card.plain {
    min-height: 180px;
  }
}

@media (max-width: 520px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .logo img {
    height: 57px;
  }
}
