:root {
  --bg: #f6f7fb;
  --surface-solid: #ffffff;
  --surface-alt: #eef2f8;
  --text: #101828;
  --muted: #5b6475;
  --line: rgba(15, 23, 42, 0.10);
  --brand: #0f766e;
  --brand-strong: #134e4a;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
  --shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.10), transparent 32%),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 24%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 55%, #f8fafc 100%);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

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

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 5rem 0 3rem;
  color: #f8fafc;
  background:
    linear-gradient(135deg, #081120 0%, #0f1e35 48%, #0a4f4a 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(10px);
  opacity: 0.9;
}

.hero::before {
  width: 340px;
  height: 340px;
  left: -120px;
  top: -80px;
  background: rgba(56, 189, 248, 0.16);
}

.hero::after {
  width: 420px;
  height: 420px;
  right: -160px;
  bottom: -140px;
  background: rgba(45, 212, 191, 0.14);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(18px);
}

.hero-glow-a {
  width: 180px;
  height: 180px;
  right: 18%;
  top: 8%;
  background: rgba(96, 165, 250, 0.18);
}

.hero-glow-b {
  width: 220px;
  height: 220px;
  left: 8%;
  bottom: 8%;
  background: rgba(52, 211, 153, 0.14);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 2.2rem;
  align-items: center;
  min-height: calc(100vh - 8rem);
}

.hero-copy h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-copy h2 {
  margin-top: 0.9rem;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 500;
  color: rgba(226, 232, 240, 0.94);
}

.hero-summary {
  margin-top: 1.1rem;
  max-width: 62ch;
  font-size: 1.04rem;
  color: rgba(226, 232, 240, 0.86);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.82rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

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

.btn.primary {
  background: #f8fafc;
  color: #0f172a;
}

.btn.secondary {
  background: var(--brand);
  color: #fff;
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.metric {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.metric strong {
  display: block;
  font-size: 1.3rem;
  color: #ffffff;
}

.metric span {
  display: block;
  margin-top: 0.3rem;
  color: rgba(226, 232, 240, 0.82);
  font-size: 0.92rem;
}

.hero-card {
  padding: 1rem;
  width: min(100%, 320px);
  justify-self: end;
  border-radius: calc(var(--radius-xl) + 4px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-photo-frame {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,0.20), rgba(255,255,255,0.04));
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.14);
}

.hero-card-copy {
  padding: 1rem 0.9rem 0.4rem;
}

.card-label {
  display: inline-flex;
  margin-bottom: 0.65rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(248, 250, 252, 0.96);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-card-copy h3 {
  font-size: 1.45rem;
  line-height: 1.2;
  margin-bottom: 0.7rem;
}

.hero-card-copy p {
  color: rgba(226, 232, 240, 0.86);
}

/* NAV */
.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}

.nav-inner a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.2rem 0;
  position: relative;
}

.nav-inner a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.28rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav-inner a:hover::after,
.nav-inner a:focus-visible::after {
  transform: scaleX(1);
}

.nav-lang {
  color: var(--brand-strong);
}

/* SECTIONS */
.section {
  padding: 4.25rem 0;
}

.section.light {
  background: rgba(238, 242, 248, 0.72);
}

.section.dark {
  background: #0b1020;
  color: #f8fafc;
}

.section h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

/* GRID & CARDS */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card,
.detail-card {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.card {
  padding: 1.5rem;
}

.card h4,
.detail-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}

.card p,
.detail-card p,
.section.dark p {
  color: var(--muted);
}

.detail-card {
  padding: 1.8rem;
  margin-bottom: 1.2rem;
}

.detail-card ul {
  margin-top: 1rem;
  padding-left: 1.2rem;
}

.detail-card li {
  margin-bottom: 0.6rem;
}

.detail-card span {
  color: var(--muted);
}

.section.dark a {
  color: #8be1d8;
}

footer {
  text-align: center;
  padding: 2rem 0;
  background: #020617;
  color: #94a3b8;
}

@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-card {
    width: min(100%, 280px);
    justify-self: center;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 4rem 0 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
