:root {
  --bg: #f7efe3;
  --bg-soft: #fffaf1;
  --text: #172634;
  --muted: #63735f;
  --accent: #e99f4d;
  --accent-dark: #b86d26;
  --card: rgba(255, 255, 255, 0.82);
  --border: rgba(47, 57, 42, 0.12);
  --shadow: 0 24px 70px rgba(76, 53, 27, 0.18);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, #fff7df 0, transparent 32%),
    radial-gradient(circle at bottom right, #dcead9 0, transparent 30%),
    linear-gradient(135deg, var(--bg), #eef5ef);
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--border);
  border-radius: 36px;
  background: rgba(255, 250, 241, 0.72);
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(16px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(233, 159, 77, 0.16);
  filter: blur(6px);
  z-index: -1;
}

.hero::before { top: -90px; right: -80px; }
.hero::after { bottom: -120px; left: -80px; background: rgba(118, 148, 100, 0.18); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff1d8;
  color: var(--accent-dark);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.7rem, 8vw, 6.3rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.intro {
  width: min(760px, 100%);
  margin: 24px auto 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.7;
}

.image-card {
  width: min(860px, 100%);
  margin: 0 auto 34px;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  box-shadow: 0 18px 45px rgba(45, 50, 35, 0.16);
}

.image-card img {
  display: block;
  width: 100%;
  height: auto;
}

.languages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--card);
  box-shadow: 0 12px 30px rgba(50, 45, 30, 0.08);
}

.flag {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #fff;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.card h2 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

.card p {
  margin: 0 0 18px;
  color: #35414b;
  line-height: 1.65;
}

.card strong {
  color: var(--accent-dark);
}

@media (max-width: 850px) {
  .languages { grid-template-columns: 1fr; }
  .page { padding: 20px 0; }
  .hero { border-radius: 26px; }
}
