:root {
  --navy: #0b1f33;
  --navy-2: #123b63;
  --blue: #0878d1;
  --blue-dark: #0664ae;
  --blue-soft: #eaf5ff;
  --bg: #ffffff;
  --bg-soft: #f5f9fc;
  --text: #10243e;
  --muted: #53657a;
  --border: #dde7f0;
  --orange: #f59e0b;
  --shadow: 0 10px 30px rgba(11, 31, 51, 0.08);
  --radius: 16px;
  --max: 1240px;
  --header: 78px;
  --font: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }
.kicker {
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 13px;
  margin: 0 0 10px;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; font-weight: 700; }
h1 { font-size: clamp(36px, 5vw, 58px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
.lead { color: var(--muted); font-size: 17px; max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9px;
  padding: 12px 18px;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: 0.2s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--blue); }
.btn-secondary:hover { background: var(--blue-soft); }
.btn-light { background: #fff; color: var(--navy-2); }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px rgba(11, 31, 51, 0.06);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 220px; }
.brand-logo {
  height: 52px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  flex: none;
}
.brand strong { display: block; font-size: 16px; }
.brand small { display: block; color: var(--muted); font-size: 11px; line-height: 1.3; }
.nav { display: flex; gap: 26px; font-weight: 500; color: var(--navy); }
.nav a { position: relative; padding: 6px 0; }
.nav a.active, .nav a:hover { color: var(--blue); }
.nav a.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--blue); border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border);
  background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--navy);
}
.menu-btn { display: none; }

.hero {
  background:
    radial-gradient(circle at 12% 20%, #d7ecff 0, transparent 36%),
    radial-gradient(circle at 88% 10%, #eaf5ff 0, transparent 28%),
    linear-gradient(180deg, #f7fbff, #fff);
  padding: 48px 0 28px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  display: grid; place-items: center;
}
.hero-visual img,
.split img,
.org-card img {
  width: min(100%, 520px);
  height: auto;
  max-height: 280px;
  object-fit: contain;
  border-radius: 18px;
}
.chip {
  position: absolute; background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 8px 12px; box-shadow: var(--shadow); font-weight: 600; font-size: 13px;
}
.chip span { display: block; color: var(--muted); font-weight: 500; font-size: 11px; }

.feature-strip { margin-top: -28px; position: relative; z-index: 2; }
.cards-4, .cards-2 { display: grid; gap: 16px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(11, 31, 51, 0.12); }
.icon {
  width: 42px; height: 42px; border-radius: 12px; background: var(--blue-soft);
  color: var(--blue); display: grid; place-items: center; margin-bottom: 10px;
}
.card h3 { font-size: 16px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

.service-card { padding: 0; overflow: hidden; }
.service-card img { height: 170px; width: 100%; object-fit: cover; }
.service-card div { padding: 16px 16px 18px; }
.arrow { color: var(--blue); font-weight: 700; }

.why { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: center; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}
.step { text-align: center; position: relative; }
.step b {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  margin: 0 auto 10px; background: #fff; border: 2px solid var(--blue); color: var(--blue);
}

.filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 22px 0; }
.filters button {
  border: 1px solid var(--border); background: #fff; border-radius: 999px;
  padding: 8px 14px; cursor: pointer; color: var(--navy); font-weight: 500;
}
.filters button.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.shot {
  position: relative; overflow: hidden; border-radius: 14px; border: 1px solid var(--border); padding: 0;
  cursor: pointer; background: #fff; display: flex; flex-direction: column; text-align: left;
}
.shot strong {
  display: block; padding: 10px 12px 12px; color: var(--navy); font-size: 14px; font-weight: 600;
}
.shot:hover img { transform: scale(1.06); }
.shot span {
  position: absolute; top: 0; left: 0; right: 0; height: 180px; display: grid; place-items: center;
  background: rgba(11, 31, 51, 0.45); color: #fff; opacity: 0; transition: 0.2s;
}
.shot:hover span { opacity: 1; }

.cta {
  background: linear-gradient(120deg, var(--blue), var(--navy-2));
  color: #fff; border-radius: 22px; padding: 56px 32px; text-align: center;
  position: relative; overflow: hidden;
}
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,0.08);
}
.cta::before { width: 180px; height: 180px; right: -40px; top: -50px; }
.cta::after { width: 120px; height: 120px; left: -30px; bottom: -40px; }
.cta .lead { color: rgba(255,255,255,0.88); }

.footer { background: var(--navy); color: #d5e2ee; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr 1.1fr; gap: 28px; }
.footer h3, .footer strong { color: #fff; }
.footer .brand small { color: #b7c7d6; }
.footer a { display: block; margin: 8px 0; color: #c5d4e2; }
.footer a:hover { color: #fff; }
.socials { display: flex; gap: 8px; margin-top: 12px; }
.socials a {
  width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.15); margin: 0;
}
.footer-bottom {
  margin-top: 28px; border-top: 1px solid rgba(255,255,255,0.08);
  padding: 14px 0 18px; display: flex; justify-content: space-between; gap: 12px; font-size: 13px;
}
.page-hero {
  min-height: 240px; display: grid; align-items: end;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 48px 0 36px;
}
.page-hero p { margin: 0; color: rgba(255,255,255,0.85); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.org-card img { width: 100%; max-width: none; max-height: 120px; margin: 0 auto 12px; border-radius: 0; }
.shot img { width: 100%; height: 180px; object-fit: contain; transition: transform 0.35s ease; background: #fff; }
.form { display: grid; gap: 12px; }
.form label { font-weight: 600; font-size: 14px; }
.form input, .form textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; background: #fff;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.map {
  margin-top: 18px; height: 220px; border-radius: 16px; border: 1px dashed var(--border);
  background: var(--bg-soft); display: grid; place-items: center; color: var(--muted);
}
.lightbox {
  position: fixed; inset: 0; background: rgba(8, 16, 28, 0.86); z-index: 80;
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(960px, 100%); max-height: 78vh; border-radius: 12px; }
.lightbox button {
  position: absolute; background: #fff; border: 0; border-radius: 10px; padding: 8px 12px; cursor: pointer; font-weight: 600;
}
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; top: 50%; }
.search-panel {
  display: none; position: absolute; right: 20px; top: 70px; width: min(320px, calc(100% - 40px));
  background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); padding: 12px;
}
.search-panel.open { display: block; }
.search-panel a { display: block; padding: 8px; border-radius: 8px; }
.search-panel a:hover { background: var(--blue-soft); }
.reveal { animation: rise 0.6s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.toast {
  display: none; margin-top: 10px; background: var(--blue-soft); color: var(--navy-2);
  border-radius: 10px; padding: 10px 12px;
}

@media (max-width: 1024px) {
  .cards-4, .gallery-grid, .steps, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .why, .split { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .section { padding: 72px 0; }
}
@media (max-width: 767px) {
  .nav, .header-actions .btn { display: none; }
  .menu-btn { display: grid; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: var(--header);
    background: #fff; border-bottom: 1px solid var(--border); padding: 12px 20px 18px; gap: 8px;
  }
  .cards-4, .cards-2, .gallery-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .hero-visual img, .split img { max-height: 220px; }
  .section { padding: 52px 0; }
  .footer-bottom { flex-direction: column; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
}
