:root {
  --navy: #082852;
  --navy-2: #123f77;
  --teal: #1398a8;
  --teal-2: #33aeb8;
  --soft-teal: #eaf8fa;
  --soft-blue: #f2f8ff;
  --bg: #f8fbff;
  --ink: #12243d;
  --muted: #5d6f86;
  --line: #dbe8f4;
  --card: #ffffff;
  --shadow: 0 14px 36px rgba(8, 40, 82, 0.08);
  --radius: 18px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
strong { color: var(--navy); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219,232,244,.82);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.0;
  color: var(--navy);
  font-weight: 850;
  letter-spacing: -.04em;
  font-size: 27px;
  white-space: nowrap;
}
.logo span {
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: -.01em;
  text-align: right;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 750;
}
.nav-links a { position: relative; color: var(--ink); }
.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--navy-2), var(--teal));
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  border-radius: 10px;
  padding: 9px 11px;
  font-weight: 800;
}

.section { padding: 76px 22px; }
.container { max-width: var(--max); margin: 0 auto; }
.band { background: linear-gradient(180deg, #f8fbff 0%, #f1f7fd 100%); }
h1, h2, h3 { margin: 0 0 16px; color: var(--navy); line-height: 1.12; }
h1 { font-size: clamp(40px, 4.2vw, 58px); letter-spacing: -.048em; max-width: 780px; }
h2 { font-size: clamp(30px, 3.3vw, 44px); letter-spacing: -.035em; }
h3 { font-size: 21px; letter-spacing: -.024em; }
p { margin: 0 0 16px; color: var(--muted); }
ul { color: var(--muted); padding-left: 20px; margin: 14px 0 0; }
li { margin: 8px 0; }
.lead { font-size: 18px; color: #41546f; max-width: 760px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow { color: var(--teal); font-weight: 850; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 38%, rgba(19,152,168,.17), transparent 23%),
    linear-gradient(108deg, #fff 0%, #f6fbff 46%, #eaf6fb 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(8,40,82,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,40,82,.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 84% 46%, #000 0%, transparent 50%);
  opacity: .75;
}
.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  min-height: 560px;
  padding: 76px 22px 58px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  gap: 42px;
  align-items: center;
}
.hero .lead { max-width: 720px; }
.hero-photo-wrap {
  position: relative;
  min-height: 390px;
  border: 1px solid rgba(219,232,244,.82);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,40,82,.08), rgba(8,40,82,0) 28%, rgba(8,40,82,.12));
  pointer-events: none;
}
.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}
.actions { display: flex; gap: 16px; align-items: center; margin: 28px 0 22px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 10px;
  font-weight: 850;
  border: 1px solid var(--navy);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-secondary { background: rgba(255,255,255,.84); color: var(--navy); }
.badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.9);
  border-radius: 999px;
  color: var(--navy-2);
  font-weight: 750;
  font-size: 13px;
}
.badge svg { width: 18px; height: 18px; stroke: var(--teal); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 22px rgba(8,40,82,.045);
}
.card p:last-child { margin-bottom: 0; }
.card .icon { margin-bottom: 20px; }
.icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--soft-teal);
  color: var(--teal);
}
.icon svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill svg { fill: none; }
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-grid .card { min-height: 262px; }
.card-compact h3 { font-size: 20px; }
.card-compact p { font-size: 15.5px; }

.case-card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(110deg, #fff, #eff7ff);
  box-shadow: var(--shadow);
}
.case-image-wrap {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(219,232,244,.88);
  background: #fff;
  min-height: 220px;
}
.case-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.case-copy h3 {
  max-width: 820px;
}
.case-copy p {
  max-width: 900px;
}
.case-actions {
  margin-top: 18px;
}
.form-area {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 34px;
  align-items: start;
  padding: 34px;
  border-radius: 24px;
  background: linear-gradient(110deg, #f4f9ff, #fff);
  border: 1px solid var(--line);
}
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field label { display: block; color: var(--navy); font-size: 13px; font-weight: 800; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.field.full { grid-column: 1 / -1; }
.form-note { font-size: 13px; margin-top: 16px; }
.form-note a { color: var(--navy-2); font-weight: 800; text-decoration: underline; }
.direct-contact .item { margin-bottom: 16px; }
.direct-contact a { color: var(--navy-2); font-weight: 750; display: inline-block; margin-top: 4px; }

.page-hero {
  padding: 78px 22px;
  background:
    radial-gradient(circle at 80% 28%, rgba(19,152,168,.16), transparent 24%),
    linear-gradient(110deg, #fff 0%, #f5faff 100%);
  border-bottom: 1px solid var(--line);
}
.detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-card { padding: 32px; }
.mode-card { min-height: 205px; }
.case-full .card { padding: 36px; }
.case-full h3 { margin-top: 24px; }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.about-layout .card { min-height: 100%; }
.values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer {
  background: #082852;
  color: #fff;
  padding: 46px 22px 22px;
}
.footer a { color: #d9eff7; }
.footer p { color: #d9e7f5; margin: 0; }
.footer-main {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) .75fr .65fr;
  gap: 34px;
  padding-bottom: 36px;
  align-items: start;
}
.footer .logo { color: #fff; font-size: 30px; margin-bottom: 14px; }
.footer .logo span { color: #e3eef9; margin-top: 7px; font-size: 13px; text-align: left; }
.footer-tagline {
  white-space: nowrap;
  font-size: 14.5px;
  line-height: 1.5;
}
.footer-title { font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: #8acdd4; font-weight: 850; margin-bottom: 14px; }
.footer-links { display: grid; gap: 9px; }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 18px;
  text-align: center;
  font-size: 14px;
  color: #d9e7f5;
}
.footer-bottom a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-photo-wrap { min-height: 280px; }
  .hero-photo { min-height: 280px; }
  h1 { font-size: clamp(38px, 8vw, 56px); }
  .grid-3, .grid-4, .service-grid, .detail-grid, .about-layout, .values-grid, .form-area, .footer-main { grid-template-columns: 1fr; }
  .case-card { grid-template-columns: 1fr; }
  .case-image { height: 240px; }
  .footer-tagline { white-space: normal; }
}
@media (max-width: 720px) {
  .nav { align-items: flex-start; }
  .menu-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    left: 22px;
    right: 22px;
    top: 70px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .nav-links.open { display: flex; }
  .section, .page-hero { padding: 56px 18px; }
  .hero-inner { padding: 58px 18px 48px; }
  h1 { letter-spacing: -.04em; }
  .form-grid { grid-template-columns: 1fr; }
  .form-area { padding: 22px; }
}
