:root {
  --brand-primary: #3e3ed3;
  --brand-navy: #0c1220;
  --brand-accent: #04ded0;
  --text-main: #1d1d1d;
  --text-muted: #5a6275;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --border: #d5d9e2;
  --shadow: 0 18px 42px rgba(12, 18, 32, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Public Sans", "Segoe UI", sans-serif;
  color: var(--text-main);
  background: linear-gradient(150deg, #f3f6ff 0%, #f7fcff 50%, #eef5ff 100%);
  position: relative;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 10% 10%, rgba(62, 62, 211, 0.14), transparent 45%),
    radial-gradient(circle at 88% 20%, rgba(4, 222, 208, 0.14), transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(62, 62, 211, 0.1), transparent 42%);
}

.container {
  width: min(980px, calc(100% - 2.5rem));
  margin: 2.5rem auto;
  position: relative;
  z-index: 1;
}

.hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.2rem;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-primary);
  font-size: 0.78rem;
}

.hero h1 {
  margin: 0.55rem 0 0.85rem;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  line-height: 1.25;
  color: var(--brand-navy);
  /* max-width: 22ch; */
}

.lead {
  margin: 0;
  color: var(--text-muted);
  /* max-width: 62ch; */
  line-height: 1.6;
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.region-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0.9rem;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.region-card:hover,
.region-card:focus-within,
.region-card.active {
  transform: translateY(-4px);
  border-color: var(--brand-primary);
  box-shadow: 0 22px 42px rgba(12, 18, 32, 0.16);
}

.region-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  border: 1px solid rgba(12, 18, 32, 0.08);
}

.region-card h2 {
  margin: 1rem 0 0;
  font-size: 1.3rem;
  color: var(--brand-navy);
}

.region-card p {
  margin: 0.55rem 0 1.05rem;
  color: var(--text-muted);
  line-height: 1.58;
  min-height: 4.4rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  background: var(--brand-primary);
  color: #ffffff;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  background: #2f2fba;
  box-shadow: 0 0 0 4px rgba(62, 62, 211, 0.2);
  outline: none;
}

.about {
  margin-top: 1.35rem;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem 1.45rem;
}

.about h3 {
  margin: 0;
  color: var(--brand-navy);
  font-size: 1.05rem;
}

.about p {
  margin: 0.6rem 0 0;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 780px) {
  .container {
    width: min(680px, calc(100% - 1.25rem));
    margin: 1.25rem auto;
  }

  .hero {
    padding: 1.3rem;
    border-radius: 14px;
  }

  .region-grid {
    grid-template-columns: 1fr;
  }

  .region-card {
    border-radius: 14px;
    padding: 1.2rem;
  }

  .region-image {
    height: 200px;
  }

  .region-card p {
    min-height: unset;
  }
}
