:root {
  --pine-900: #173a34;
  --pine-700: #2d5f56;
  --leaf-500: #6f9f66;
  --sand-100: #f6f0e3;
  --sand-200: #e9dfcc;
  --accent-500: #d8863b;
  --text-900: #2c2a28;
  --card-bg: rgba(255, 255, 255, 0.86);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text-900);
  background:
    radial-gradient(circle at 16% 12%, rgba(111, 159, 102, 0.32), transparent 38%),
    radial-gradient(circle at 86% 16%, rgba(216, 134, 59, 0.24), transparent 32%),
    linear-gradient(165deg, var(--sand-100), #fefbf4 55%, var(--sand-200));
  display: grid;
  place-items: center;
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(24px);
  z-index: 0;
  animation: drift 9s ease-in-out infinite alternate;
}

.ambient-left {
  left: -9rem;
  top: -5rem;
  background: rgba(111, 159, 102, 0.25);
}

.ambient-right {
  right: -8rem;
  bottom: -8rem;
  background: rgba(216, 134, 59, 0.2);
  animation-delay: 1.3s;
}

.shell {
  width: min(1100px, 92vw);
  margin: 2.5rem auto;
  padding: 2.2rem;
  border-radius: 26px;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.8));
  border: 1px solid rgba(23, 58, 52, 0.15);
  box-shadow: 0 22px 52px rgba(28, 46, 42, 0.18);
}

.hero {
  text-align: center;
  margin-bottom: 1.8rem;
  animation: reveal 620ms ease-out both;
}

.brand-logo {
  width: min(280px, 58vw);
  height: auto;
  margin-bottom: 0.75rem;
}

.eyebrow {
  margin: 0;
  color: var(--pine-700);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

h1 {
  margin: 0.65rem 0 0.8rem;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.16;
  color: var(--pine-900);
}

.lead {
  margin: 0 auto;
  max-width: 700px;
  line-height: 1.6;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.lang-card {
  background: var(--card-bg);
  border: 1px solid rgba(45, 95, 86, 0.2);
  border-radius: 18px;
  padding: 1.2rem 1.1rem;
  backdrop-filter: blur(3px);
  animation: reveal 620ms ease-out both;
}

.lang-card:nth-child(2) {
  animation-delay: 120ms;
}

.lang-card:nth-child(3) {
  animation-delay: 210ms;
}

h2 {
  margin-top: 0;
  margin-bottom: 0.72rem;
  color: var(--pine-900);
  font-size: 1.22rem;
}

.lang-card p {
  margin: 0 0 0.8rem;
  line-height: 1.55;
}

.contact-row {
  margin-bottom: 0.45rem;
  font-weight: 600;
}

a {
  color: var(--accent-500);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.footer {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--pine-700);
  font-size: 0.93rem;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(14px) scale(1.03);
  }
}

@media (max-width: 940px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .shell {
    padding: 1.35rem;
    margin: 1.4rem auto;
  }
}
