:root {
  --jd-blue: #3b7cdd;
  --jd-blue-dark: #2f66b8;
  --jd-ink: #1c1f26;
  --jd-muted: #5a6170;
  --jd-line: #d7e2f4;
  --jd-surface: #f3f7fc;
  --jd-white: #ffffff;
  --jd-wa: #25d366;
  --jd-wa-dark: #1ebe57;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Poppins, sans-serif;
  color: var(--jd-ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #dce9fb 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 0%, #e8f0fb 0%, transparent 50%),
    var(--jd-white);
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(59, 124, 221, 0.12);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 120px;
  height: auto;
}

.nav-back {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--jd-blue);
}

.nav-back:hover {
  color: var(--jd-blue-dark);
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 20px 28px;
  text-align: center;
}

.hero__eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jd-blue);
}

.hero h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero__lead {
  max-width: 640px;
  margin: 14px auto 0;
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 400;
  color: var(--jd-muted);
}

.hero__actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.btn--wa {
  background: var(--jd-wa);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
}

.btn--wa:hover {
  background: var(--jd-wa-dark);
}

.btn--ghost {
  background: transparent;
  color: var(--jd-blue);
  border: 1.5px solid rgba(59, 124, 221, 0.35);
}

.btn--ghost:hover {
  background: rgba(59, 124, 221, 0.06);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.pitch {
  max-width: var(--max);
  margin: 8px auto 0;
  padding: 8px 20px 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pitch article {
  padding: 18px 16px;
  border-top: 2px solid var(--jd-blue);
  background: linear-gradient(180deg, rgba(59, 124, 221, 0.06), transparent 70%);
}

.pitch h2 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 560;
  line-height: 1.3;
}

.pitch p {
  margin: 0;
  font-size: 14px;
  color: var(--jd-muted);
}

.gallery-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 20px 64px;
}

.gallery-wrap__head {
  text-align: center;
  margin-bottom: 22px;
}

.gallery-wrap__head h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 560;
}

.gallery-wrap__head p {
  margin: 8px auto 0;
  max-width: 560px;
  color: var(--jd-muted);
  font-size: 15px;
}

.gallery {
  columns: 3 280px;
  column-gap: 16px;
}

.gallery figure {
  break-inside: avoid;
  margin: 0 0 16px;
  position: relative;
  overflow: hidden;
  background: var(--jd-surface);
  border: 1px solid var(--jd-line);
  animation: rise 0.55s ease both;
}

.gallery figure:nth-child(3n) {
  animation-delay: 0.05s;
}

.gallery figure:nth-child(3n + 1) {
  animation-delay: 0.1s;
}

.gallery figure:nth-child(3n + 2) {
  animation-delay: 0.15s;
}

.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery figure:hover img {
  transform: scale(1.04);
}

.gallery figcaption {
  padding: 12px 14px 14px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--jd-muted);
}

.gallery figcaption strong {
  display: block;
  margin-bottom: 2px;
  color: var(--jd-ink);
  font-weight: 500;
  font-size: 14px;
}

.cta-band {
  background: linear-gradient(135deg, #2f66b8 0%, #3b7cdd 55%, #5a92e4 100%);
  color: #fff;
  padding: 48px 20px;
  text-align: center;
}

.cta-band__inner {
  max-width: 720px;
  margin: 0 auto;
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 600;
  line-height: 1.2;
}

.cta-band p {
  margin: 12px auto 0;
  font-size: 16px;
  opacity: 0.95;
}

.cta-band .btn--wa {
  margin-top: 22px;
}

.site-footer {
  padding: 28px 20px 40px;
  text-align: center;
  color: var(--jd-muted);
  font-size: 13px;
}

.site-footer a {
  color: var(--jd-blue);
  text-decoration: none;
  font-weight: 500;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--jd-wa);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.wa-float:hover {
  transform: translateY(-2px) scale(1.04);
  background: var(--jd-wa-dark);
}

.wa-float svg {
  width: 28px;
  height: 28px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .pitch {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery {
    columns: 2 220px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 32px;
  }

  .gallery {
    columns: 1;
  }

  .brand img {
    width: 96px;
  }

  .wa-float {
    right: 14px;
    bottom: 14px;
  }
}
