:root {
  --ink: #1a2e28;
  --ink-soft: #3d534c;
  --paper: #f7f4ef;
  --paper-2: #efeae2;
  --sage: #4a7c6f;
  --sage-deep: #2f5a50;
  --gold: #c4a35a;
  --gold-soft: #e8d9b0;
  --sky: #7ba3b0;
  --white: #fffcf7;
  --line: rgba(26, 46, 40, 0.12);
  --shadow: 0 18px 50px rgba(26, 46, 40, 0.1);
  --radius: 4px;
  --font-display: "Fraunces", "Palatino Linotype", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 920px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(123, 163, 176, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 40% at 90% 0%, rgba(196, 163, 90, 0.18), transparent 50%),
    linear-gradient(180deg, #e9f0ec 0%, var(--paper) 28%, var(--paper-2) 100%);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  min-height: 100vh;
}

body[dir="rtl"] {
  text-align: right;
}

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

a {
  color: var(--sage-deep);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.lang-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(247, 244, 239, 0.92);
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 1rem;
}

.lang-bar__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  align-items: center;
  justify-content: flex-start;
}

.lang-bar__label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

.lang-bar__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lang-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  border-color: var(--sage);
  outline: none;
}

.lang-btn.is-active {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  color: var(--white);
}

.sheet {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem 4rem;
}

.hero {
  position: relative;
  margin: 1.25rem 0 2.5rem;
  min-height: clamp(320px, 58vw, 520px);
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 46, 40, 0.15) 0%, rgba(26, 46, 40, 0.55) 55%, rgba(26, 46, 40, 0.78) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 4vw, 3rem);
  color: var(--white);
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6.5vw, 3.8rem);
  font-weight: 560;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  max-width: 16ch;
}

.hero__lede {
  margin: 0;
  max-width: 38ch;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: rgba(255, 252, 247, 0.92);
}

.crisis-strip {
  display: grid;
  gap: 1rem;
  background: var(--sage-deep);
  color: var(--white);
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow);
}

.crisis-strip strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 550;
}

.crisis-strip a {
  color: var(--gold-soft);
  font-weight: 600;
}

.section {
  margin-bottom: 2.75rem;
}

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

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 560;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.015em;
}

.section__intro {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  max-width: 58ch;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1rem 1.2rem;
  min-height: 100%;
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  color: var(--sage-deep);
  line-height: 1.1;
  margin: 0 0 0.45rem;
}

.stat__label {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.split {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
  }
}

.figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #d7e0dc;
}

.figure img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.figure figcaption {
  padding: 0.75rem 1rem 1rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  background: var(--white);
}

.advice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.advice-list li {
  background: var(--white);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.95rem 1rem;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

body[dir="rtl"] .advice-list li {
  border-left: 1px solid var(--line);
  border-right: 3px solid var(--gold);
  border-radius: var(--radius) 0 0 var(--radius);
}

.advice-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 560;
}

.advice-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.mosaic {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .mosaic {
    grid-template-columns: 1fr 1fr;
  }
}

.mosaic .figure:first-child {
  grid-row: span 2;
}

.hotline-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hotline-tools input {
  flex: 1 1 220px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
  font: inherit;
  background: var(--white);
}

.hotline-tools a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
}

.hotline-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  max-height: 520px;
  box-shadow: var(--shadow);
}

table.hotlines {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

table.hotlines th,
table.hotlines td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: start;
}

table.hotlines th {
  position: sticky;
  top: 0;
  background: #e7eee9;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

table.hotlines tr:last-child td {
  border-bottom: none;
}

table.hotlines .phone {
  font-weight: 700;
  color: var(--sage-deep);
  white-space: nowrap;
}

.disclaimer,
.sources,
.footer {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.sources ul {
  margin: 0.5rem 0 0;
  padding-inline-start: 1.2rem;
}

.footer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.hidden {
  display: none !important;
}

@media print {
  .lang-bar {
    position: static;
  }

  .hero {
    break-inside: avoid;
  }

  .hotline-table-wrap {
    max-height: none;
    overflow: visible;
  }
}
