:root {
  --ink: #162024;
  --muted: #607079;
  --paper: #fbfaf7;
  --line: rgba(22, 32, 36, 0.13);
  --shadow: 0 20px 60px rgba(20, 28, 32, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f2f0eb;
}

button,
a {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 18px;
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: #162024;
  border-radius: 7px;
  font-size: 13px;
  letter-spacing: 0;
}

#nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

#nav a {
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 10px;
  white-space: nowrap;
  background: #fff;
  font-size: 13px;
}

.gallery {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 18px 70px;
}

.gallery h1 {
  margin: 18px 0 10px;
  max-width: 900px;
  font-size: clamp(34px, 6vw, 74px);
  line-height: 0.95;
  letter-spacing: 0;
}

.gallery p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.tile {
  display: block;
  min-height: 170px;
  padding: 18px;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.tile b {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.tile span {
  color: rgba(255, 255, 255, 0.84);
}

.mockup {
  --accent: #2563eb;
  --accent-2: #0f766e;
  --dark: #111827;
  --soft: #eef2f6;
  min-height: calc(100vh - 59px);
  background: var(--paper);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 18px 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.logo-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
  font-weight: 900;
}

.site-header nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.call-btn,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 7px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 800;
}

.call-btn,
.primary-btn {
  color: #fff;
  background: var(--accent);
}

.secondary-btn {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 36px;
  align-items: center;
  max-width: 1220px;
  min-height: 630px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, white);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.93;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin: 22px 0 0;
  color: #4a5961;
  font-size: 19px;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.stat {
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stat b {
  display: block;
  margin-bottom: 4px;
  font-size: 20px;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

.visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(0, 0, 0, 0.04), rgba(255, 255, 255, 0.04)),
    var(--image),
    linear-gradient(135deg, var(--accent), var(--accent-2));
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.58));
}

.floating-panel {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  padding: 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(10px);
}

.floating-panel b {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.section {
  padding: 54px 20px;
  background: var(--soft);
}

.section-inner {
  max-width: 1220px;
  margin: 0 auto;
}

.section h2 {
  max-width: 720px;
  margin: 0 0 20px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.service {
  min-height: 180px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service .icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  place-items: center;
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
}

.service h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.service p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  max-width: 1220px;
  margin: 0 auto;
  padding: 34px 20px 70px;
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
}

.meta-note {
  max-width: 1220px;
  margin: 0 auto;
  padding: 12px 20px 24px;
  color: var(--muted);
  font-size: 13px;
}

.style-split .hero {
  grid-template-columns: 0.92fr 1.08fr;
}

.style-banner .hero {
  display: block;
  max-width: none;
  min-height: 680px;
  padding: 0;
}

.style-banner .hero-copy {
  position: relative;
  z-index: 2;
  max-width: 1220px;
  margin: 0 auto;
  padding: 120px 20px 80px;
  color: #fff;
}

.style-banner .hero-copy p {
  color: rgba(255, 255, 255, 0.86);
}

.style-banner .hero {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.22)),
    var(--image),
    linear-gradient(135deg, var(--accent), var(--accent-2));
  background-size: cover;
  background-position: center;
}

.style-banner .visual {
  display: none;
}

.style-dark {
  --paper: #0f1518;
  --soft: #182125;
  color: #f8fafc;
}

.style-dark .site-header,
.style-dark .service,
.style-dark .stat {
  color: #f8fafc;
  background: #141d21;
  border-color: rgba(255, 255, 255, 0.12);
}

.style-dark .hero p,
.style-dark .service p,
.style-dark .stat span,
.style-dark .site-header nav,
.style-dark .meta-note {
  color: rgba(248, 250, 252, 0.7);
}

@media (max-width: 850px) {
  .topbar,
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    flex-wrap: wrap;
  }

  .hero,
  .style-split .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .visual {
    min-height: 390px;
  }

  .trust-row,
  .cta-band {
    grid-template-columns: 1fr;
  }
}
