:root {
  --ink: #241a17;
  --red: #c73725;
  --red-dark: #8f1f17;
  --orange: #f15b32;
  --gold: #ffc947;
  --cream: #fff4e4;
  --paper: rgba(255, 251, 244, 0.97);
  --line: #ead3c3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #1f1816;
  font-family: Arial, Helvetica, sans-serif;
}

.language-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 28px 16px;
}

.language-page__image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(25, 18, 16, 0.88), rgba(25, 18, 16, 0.5)),
    image-set(
      url("assets/hero-pizza.webp") type("image/webp"),
      url("assets/hero-pizza.png") type("image/png")
    );
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.language-card {
  position: relative;
  width: min(900px, 100%);
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  text-align: center;
}

.address {
  margin: 0 0 16px;
  color: var(--red-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--orange);
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 var(--ink);
}

h1 span {
  display: block;
  font-size: 1.14em;
}

.intro {
  margin: 22px 0 26px;
  font-size: 1.12rem;
  font-weight: 900;
}

.language-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.language-option {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(143, 31, 23, 0.09);
}

.language-code {
  width: 46px;
  height: 32px;
  display: grid;
  place-items: center;
  margin: auto;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

h2 {
  margin: 0;
  font-size: 1.7rem;
}

.language-option p {
  min-height: 48px;
  margin: 0;
  color: #715e55;
}

.primary-link,
.pdf-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  padding: 11px 14px;
  font-weight: 900;
  text-decoration: none;
}

.primary-link {
  background: var(--red);
  color: #fff;
}

.primary-link:hover,
.primary-link:focus {
  background: var(--red-dark);
}

.pdf-link {
  border: 1px solid var(--line);
  color: var(--red-dark);
  background: var(--cream);
}

.quick-contact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 24px;
  font-size: 0.92rem;
  font-weight: 800;
}

.quick-contact a {
  color: var(--red-dark);
}

@media (max-width: 680px) {
  .language-options {
    grid-template-columns: 1fr;
  }

  .language-option p {
    min-height: 0;
  }
}
