:root {
  --bg: #f3f7fb;
  --bg-soft: #fbfdff;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #edf4fb;
  --text: #102033;
  --muted: #5a7287;
  --line: #d6e3ef;
  --brand: #0d63c9;
  --brand-dark: #094d9d;
  --accent: #14b8c8;
  --accent-soft: #dff8fb;
  --shadow: 0 24px 80px rgba(18, 57, 99, 0.12);
}

* {
  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(20, 184, 200, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(13, 99, 201, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(247, 251, 255, 0.97)),
    var(--bg);
  line-height: 1.65;
}

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

img {
  max-width: 100%;
}

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

.narrow {
  width: min(920px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(243, 247, 251, 0.78);
  border-bottom: 1px solid rgba(214, 227, 239, 0.85);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand,
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand);
}

.hero {
  padding: 104px 0 72px;
}

.hero-compact {
  padding-bottom: 40px;
}

.hero-grid,
.company-grid,
.contact-grid {
  display: grid;
  gap: 32px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(360px, 0.85fr);
  align-items: center;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 5.4vw, 5.4rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.hero-text {
  max-width: 62ch;
  margin: 20px 0 0;
  font-size: 1.14rem;
  color: var(--muted);
}

.hero-logo {
  width: min(250px, 44vw);
  display: block;
  margin: 0 0 24px;
  filter: drop-shadow(0 20px 40px rgba(13, 99, 201, 0.16));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease,
    box-shadow 180ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--brand), #0a86d8);
  color: #fff;
  box-shadow: 0 14px 34px rgba(13, 99, 201, 0.28);
}

.button.primary:hover {
  background: linear-gradient(135deg, var(--brand-dark), #0d63c9);
}

.button.secondary {
  border: 1px solid rgba(13, 99, 201, 0.16);
  background: rgba(255, 255, 255, 0.84);
}

.hero-card,
.service-card,
.company-card,
.contact-form {
  background: var(--surface);
  border: 1px solid rgba(214, 227, 239, 0.95);
  box-shadow: var(--shadow);
}

.hero-card,
.company-card,
.contact-form {
  border-radius: 28px;
  padding: 30px;
}

.hero-card dl,
.company-list {
  margin: 0;
}

.hero-card div,
.company-list div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.hero-card div:last-child,
.company-list div:last-child {
  border-bottom: 0;
}

dt {
  font-weight: 800;
  color: var(--brand);
}

dd {
  margin: 6px 0 0;
  color: var(--muted);
}

.section {
  padding: 80px 0;
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(237, 244, 251, 0.86), rgba(251, 253, 255, 0.94)),
    radial-gradient(circle at right top, rgba(20, 184, 200, 0.08), transparent 24%);
}

.section-accent {
  background:
    radial-gradient(circle at top right, rgba(20, 184, 200, 0.22), transparent 24%),
    linear-gradient(180deg, rgba(11, 36, 64, 0.96), rgba(10, 24, 42, 0.98));
  color: #f8fafc;
}

.section-accent .section-label,
.section-accent .contact-note {
  color: #d9e3ea;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 24px;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.service-card p,
.contact-grid p,
.section p {
  margin: 0;
  color: var(--muted);
}

.section-accent p {
  color: rgba(248, 250, 252, 0.85);
}

.company-grid,
.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.contact-note {
  margin-top: 20px;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 18px;
  background: rgba(255, 255, 255, 0.98);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: var(--text);
}

.checkbox-field {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  font-weight: 600;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.checkbox-field a,
.footer-link {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cad9e6;
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: #fdfefe;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(13, 99, 201, 0.18);
  border-color: var(--brand);
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid rgba(214, 227, 239, 0.8);
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.policy-content {
  display: grid;
  gap: 18px;
}

.policy-content h2 {
  margin: 18px 0 0;
  font-size: 1.45rem;
}

.policy-content ul {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

.policy-date {
  margin-top: 18px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero-grid,
  .company-grid,
  .contact-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 84px;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .site-nav,
  .footer-inner {
    flex-direction: column;
  }

  .header-inner {
    justify-content: center;
    padding: 14px 0;
  }

  .footer-inner {
    justify-content: center;
    padding: 18px 0;
  }

  h1 {
    font-size: 2.45rem;
  }

  .section,
  .hero {
    padding: 64px 0;
  }
}
