:root {
  --bg-1: #0d3e82;
  --bg-2: #1f5aa8;
  --bg-3: #0a2f63;
  --panel: rgba(250, 247, 239, 0.95);
  --panel-border: rgba(255, 255, 255, 0.25);
  --blue-btn: linear-gradient(180deg, #2d86ff, #1658c8);
  --blue-btn-hover: linear-gradient(180deg, #4a98ff, #2266d9);
  --text: #ffffff;
  --dark: #10233d;
  --muted: #d8e3f6;
  --shadow: 0 16px 40px rgba(0,0,0,.22);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.18), transparent 20%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.12), transparent 16%),
    radial-gradient(circle at 50% 55%, rgba(255,255,255,.08), transparent 20%),
    linear-gradient(180deg, var(--bg-1), var(--bg-2) 48%, var(--bg-3));
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image:
    linear-gradient(transparent 96%, rgba(255,255,255,.5) 97%, transparent 98%),
    radial-gradient(circle at 12% 20%, rgba(255,255,255,.65) 0 2px, transparent 2px),
    radial-gradient(circle at 85% 28%, rgba(255,255,255,.65) 0 2px, transparent 2px),
    radial-gradient(circle at 72% 70%, rgba(255,255,255,.55) 0 2px, transparent 2px);
  background-size: 100% 18px, 100% 100%, 100% 100%, 100% 100%;
}

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

.site-header {
  padding: 20px 0 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  letter-spacing: .2px;
}

.brand-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255,255,255,.14);
  display: grid;
  place-items: center;
  font-size: 26px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}

.hero {
  padding: 30px 0 34px;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 74px);
  line-height: 1.06;
  text-shadow: 0 4px 16px rgba(0,0,0,.35);
}

.hero .subtitle {
  margin: 18px auto 0;
  font-size: clamp(22px, 3vw, 38px);
  color: #edf4ff;
  font-weight: 700;
  text-shadow: 0 3px 12px rgba(0,0,0,.35);
}

.button-layout {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(320px, 1fr);
  gap: 26px;
  align-items: start;
  margin-top: 30px;
}

.stack { display: grid; gap: 18px; }

.action-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(0,0,0,.28);
}

.action-card.light {
  background: var(--panel);
  color: var(--dark);
  border: 1px solid var(--panel-border);
}

.action-card.blue {
  background: var(--blue-btn);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}

.action-card.blue:hover { background: var(--blue-btn-hover); }

.action-left {
  display: flex;
  gap: 16px;
  align-items: center;
}

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 26px;
  background: rgba(255,255,255,.18);
  flex: 0 0 auto;
}

.light .icon-box {
  background: rgba(28, 53, 95, .08);
}

.action-title {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  line-height: 1.1;
}

.action-note {
  margin-top: 4px;
  font-size: clamp(16px, 1.8vw, 24px);
  opacity: .92;
}

.arrow {
  font-size: 42px;
  line-height: 1;
  opacity: .85;
}

.section {
  padding: 30px 0;
}

.section-title {
  text-align: center;
  font-size: clamp(32px, 4vw, 52px);
  margin: 0 0 24px;
  text-shadow: 0 3px 10px rgba(0,0,0,.3);
}

.panel {
  background: rgba(250,247,239,.97);
  color: var(--dark);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.video-grid,
.card-grid,
.gallery-grid {
  display: grid;
  gap: 22px;
}

.video-grid.two,
.card-grid.two,
.gallery-grid.three {
  grid-template-columns: repeat(2, 1fr);
}
.gallery-grid.three { grid-template-columns: repeat(3, 1fr); }

.video-card {
  background: #f8fafc;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(16,35,61,.08);
}

.video-frame {
  position: relative;
  padding-top: 56.25%;
  background: #dfe8f7;
}

.video-frame iframe, .video-frame .placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #29599f, #173d7a);
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 20px;
  font-weight: 700;
}

.card-body { padding: 18px 18px 20px; }
.card-body h3 { margin: 0 0 8px; font-size: 28px; }
.card-body p { margin: 0; font-size: 18px; line-height: 1.55; color: #31445f; }

.text-block {
  background: rgba(255,255,255,.9);
  border-radius: 18px;
  padding: 22px;
  line-height: 1.7;
  font-size: 19px;
  color: #243854;
  border: 1px solid rgba(16,35,61,.08);
}

.text-block + .text-block { margin-top: 18px; }

.gallery-item {
  background: rgba(255,255,255,.94);
  border-radius: 18px;
  overflow: hidden;
  color: var(--dark);
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
}

.gallery-image {
  aspect-ratio: 3 / 4;
  background: linear-gradient(180deg, #dfe8f7, #f4f7fb);
  display: grid;
  place-items: center;
  font-size: 52px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  padding: 16px;
  font-size: 18px;
  font-weight: 700;
}

.cta-note {
  margin-top: 18px;
  font-size: 16px;
  color: #4a5c77;
}

.site-footer {
  padding: 30px 0 40px;
  text-align: center;
  color: rgba(255,255,255,.82);
  font-size: 15px;
}

.breadcrumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  color: rgba(255,255,255,.9);
}
.breadcrumbs a { color: #fff; text-decoration: none; }

.page-intro {
  text-align: center;
  padding: 14px 0 22px;
}
.page-intro h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 60px);
  text-shadow: 0 4px 14px rgba(0,0,0,.28);
}
.page-intro p {
  margin: 12px auto 0;
  max-width: 820px;
  font-size: 22px;
  color: #edf4ff;
}

.top-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.small-btn {
  text-decoration: none;
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .button-layout,
  .video-grid.two,
  .card-grid.two,
  .gallery-grid.three {
    grid-template-columns: 1fr;
  }

  .action-title { font-size: 28px; }
  .hero { padding-top: 14px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 20px, 1180px); }
  .panel { padding: 18px; border-radius: 20px; }
  .action-card { padding: 16px; border-radius: 18px; }
  .action-title { font-size: 24px; }
  .action-note { font-size: 16px; }
  .arrow { font-size: 32px; }
  .card-body h3 { font-size: 24px; }
  .card-body p, .text-block, .gallery-caption { font-size: 17px; }
}
