/* ============================================================
   SHAHN QATAR — شحن قطر
   Workbook / step-timeline educational guide.
   Warm sand #f7f1e6 · Crimson #B91C1C · Burnt orange #C45C26
   Fonts: Amiri (AR display) · Outfit (numerals/labels) ·
          Source Sans 3 (EN body) · Noto Sans Arabic (AR body)
   RTL-first bilingual AR/EN.
   ============================================================ */

/* ── Design tokens ─────────────────────────────────────────── */
:root {
  --sand:          #f7f1e6;
  --sand-deep:     #ede4d2;
  --sand-card:     #faf6ee;
  --ink:           #1e100f;
  --ink-soft:      #5c3830;
  --ink-mute:      #9a7268;
  --crimson:       #B91C1C;
  --crimson-deep:  #991b1b;
  --orange:        #C45C26;
  --orange-light:  #f8e7d8;
  --orange-mid:    #edd4be;
  --rule:          #e2d6c0;
  --rule-2:        #d6c4a8;
  --dark:          #1e100f;
  --dark-2:        #2a1710;
  --ff-display:    "Amiri", Georgia, serif;
  --ff-latin:      "Outfit", system-ui, sans-serif;
  --ff-body:       "Noto Sans Arabic", "Source Sans 3", system-ui, sans-serif;
  --shell-max:     1180px;
  --pad-x:         clamp(1.25rem, 4vw, 2.75rem);
  --radius:        5px;
  --shadow:        0 1px 3px rgba(30,16,15,.07),
                   0 8px 24px -12px rgba(30,16,15,.18);
  --shadow-lift:   0 2px 8px rgba(30,16,15,.09),
                   0 20px 40px -18px rgba(30,16,15,.28);
}
html[lang="en"] {
  --ff-display: "Outfit", system-ui, sans-serif;
  --ff-body:    "Source Sans 3", system-ui, sans-serif;
}

/* ── Bilingual helpers ──────────────────────────────────────── */
.lang-en { display: none; }
html[lang="en"] .lang-en { display: inline; }
html[lang="en"] .lang-ar { display: none; }
.lang-en.blk { display: none; }
html[lang="en"] .lang-en.blk { display: block; }
html[lang="en"] .lang-ar.blk { display: none; }

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--sand);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--crimson); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; padding: 0; }
button { cursor: pointer; border: none; background: none; font: inherit; }
table { border-collapse: collapse; }

/* ── Skip link ─────────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; inset-inline-start: 1rem; z-index: 9999;
  background: var(--crimson); color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-family: var(--ff-latin); font-size: 0.85rem;
}
.skip-link:focus { top: 0; }

/* ── Shell ─────────────────────────────────────────────────── */
.shell {
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ── Scroll reveal ─────────────────────────────────────────── */
.js .rise {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: calc(var(--i, 0) * 0.09s);
}
.js .rise.lit { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rise { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── Section typography helpers ────────────────────────────── */
.section-kier {
  display: inline-block;
  font-family: var(--ff-latin);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 0.7rem;
}
.section-h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.55rem, 3.5vw, 2.35rem);
  font-weight: 700; line-height: 1.22;
  color: var(--ink); margin-bottom: 0.7rem;
}
html[lang="en"] .section-h2 { font-family: var(--ff-latin); font-weight: 800; }
.section-sub {
  font-size: clamp(0.88rem, 1.5vw, 1rem);
  color: var(--ink-soft); line-height: 1.7; max-width: 640px;
}

/* ═══════════════════════════════════════════════════════════
   UTILITY BAR
   ═══════════════════════════════════════════════════════════ */
.util-bar {
  background: var(--dark); color: rgba(247,241,230,.7);
  height: 2.2rem; display: flex; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.util-inner {
  display: flex; align-items: center;
  gap: 0.75rem; width: 100%;
}
.util-brand {
  display: flex; align-items: center; gap: 0.45rem;
  color: #fff; font-family: var(--ff-latin);
  font-weight: 600; font-size: 0.78rem; text-decoration: none;
}
.util-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); flex-shrink: 0;
  animation: dot-pulse 2.4s ease infinite;
}
@keyframes dot-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.82); }
}
.util-spacer { flex: 1; }
.lang-toggle {
  display: flex; align-items: center; gap: 0.35rem;
  color: rgba(255,255,255,.65); padding: 0.22rem 0.6rem;
  border-radius: 3px; border: 1px solid rgba(255,255,255,.15);
  font-family: var(--ff-latin); font-size: 0.7rem;
  transition: color .18s, border-color .18s;
}
.lang-toggle svg { width: 13px; height: 13px; }
.lang-toggle:hover { color: #fff; border-color: rgba(255,255,255,.45); }

/* ═══════════════════════════════════════════════════════════
   MASTHEAD NAV
   ═══════════════════════════════════════════════════════════ */
.mast {
  position: sticky; top: 0; z-index: 800;
  background: var(--sand); border-bottom: 1.5px solid var(--rule);
  transition: box-shadow .2s;
}
.mast.is-stuck { box-shadow: 0 2px 16px rgba(30,16,15,.09); }
.mast-inner {
  display: flex; align-items: center;
  height: 4rem; gap: 1.5rem;
}
.mast-logo {
  display: flex; align-items: center; gap: 0.55rem;
  text-decoration: none; flex-shrink: 0;
}
.mast-mark { width: 26px; height: 26px; color: var(--crimson); }
.mast-name {
  font-family: var(--ff-display); font-size: 1.15rem;
  font-weight: 700; color: var(--ink); line-height: 1;
}
html[lang="en"] .mast-name {
  font-family: var(--ff-latin); font-size: 1rem; font-weight: 700;
}
.mast-toggle {
  display: none; align-items: center; justify-content: center;
  width: 2.2rem; height: 2.2rem; border-radius: var(--radius);
  color: var(--ink); margin-inline-start: auto;
}
.mast-toggle svg { width: 20px; height: 20px; }
.icon-close { display: none; }
.is-open .icon-open { display: none; }
.is-open .icon-close { display: block; }
.mast-nav { margin-inline-start: auto; }
.mast-links { display: flex; align-items: center; gap: 0.2rem; }
.mast-link {
  padding: 0.32rem 0.72rem; border-radius: var(--radius);
  font-family: var(--ff-latin); font-size: 0.84rem; font-weight: 500;
  color: var(--ink-soft); text-decoration: none;
  transition: background .15s, color .15s;
}
.mast-link:hover { background: var(--sand-deep); color: var(--ink); text-decoration: none; }
.mast-cta {
  padding: 0.32rem 1rem; border-radius: var(--radius);
  font-family: var(--ff-latin); font-size: 0.84rem; font-weight: 700;
  background: var(--crimson); color: #fff; text-decoration: none;
  transition: background .15s;
}
.mast-cta:hover { background: var(--crimson-deep); text-decoration: none; }

@media (max-width: 680px) {
  .mast-toggle { display: flex; }
  .mast-nav {
    display: none; position: absolute;
    top: calc(4rem + 2.2rem); inset-inline: 0;
    background: var(--sand); border-bottom: 1.5px solid var(--rule);
    padding: 0.75rem var(--pad-x) 1.25rem;
  }
  .is-open .mast-nav { display: block; }
  .mast-links { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .mast-link, .mast-cta {
    display: block; padding: 0.65rem 0.85rem; font-size: 0.88rem;
  }
  .mast-cta { margin-top: 0.5rem; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════
   HERO — paper grain, brand-first, CTA to steps
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  background: var(--sand);
  padding-block: clamp(3.5rem,8vw,6.5rem) clamp(3rem,6vw,5rem);
  overflow: hidden;
}

/* Paper grain overlay */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  opacity: .042; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* Crimson accent rule at bottom */
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 10%, var(--crimson) 50%, transparent 90%);
  opacity: .3;
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--ff-latin); font-size: 0.72rem;
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 1.2rem;
}
.hero-eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--crimson); flex-shrink: 0;
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 700; line-height: 1.22; color: var(--ink);
  margin-bottom: 1.2rem; letter-spacing: -.01em;
}
html[lang="en"] .hero-title {
  font-family: var(--ff-latin);
  font-size: clamp(1.8rem, 4.5vw, 3rem); font-weight: 800;
}
.hero-title .accent { color: var(--crimson); font-style: italic; }
html[lang="en"] .hero-title .accent { font-style: normal; }

.hero-lead {
  font-size: clamp(0.97rem, 2vw, 1.1rem);
  line-height: 1.8; color: var(--ink-soft);
  max-width: 600px; margin-bottom: 2rem;
}

.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.85rem; margin-bottom: 2.2rem;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.72rem 1.65rem;
  background: var(--crimson); color: #fff;
  font-family: var(--ff-latin); font-size: 0.9rem; font-weight: 700;
  border-radius: var(--radius); text-decoration: none;
  transition: background .18s, transform .18s; letter-spacing: .01em;
}
.btn-primary:hover { background: var(--crimson-deep); transform: translateY(-2px); text-decoration: none; }
.btn-arrow { font-style: normal; transition: transform .18s; }
.btn-primary:hover .btn-arrow { transform: translateX(-3px); }
html[lang="en"] .btn-primary:hover .btn-arrow { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.72rem 1.45rem; background: transparent; color: var(--ink-soft);
  font-family: var(--ff-latin); font-size: 0.9rem; font-weight: 600;
  border: 1.5px solid var(--rule-2); border-radius: var(--radius);
  text-decoration: none; transition: border-color .18s, color .18s;
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); text-decoration: none; }

.hero-badges {
  display: flex; flex-wrap: wrap; gap: 0.85rem 1.5rem;
}
.hero-badges li {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--ff-latin); font-size: 0.78rem; font-weight: 600;
  color: var(--ink-mute);
}
.hero-badges li svg { width: 14px; height: 14px; color: var(--crimson); flex-shrink: 0; }

@media (max-width: 640px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   STEPS SECTION — horizontal step timeline, animated line
   ═══════════════════════════════════════════════════════════ */
.steps-section {
  background: var(--sand-deep);
  padding-block: clamp(3.5rem,7vw,6rem);
  /* ruled notebook lines — very subtle */
  background-image:
    repeating-linear-gradient(
      transparent,
      transparent 31px,
      rgba(185,28,28,.042) 31px,
      rgba(185,28,28,.042) 32px
    );
}
.steps-head { margin-bottom: 3.25rem; }
.steps-head .section-sub { max-width: 520px; }

/* Outer wrapper holds the bg-line and the step row together */
.steps-track { position: relative; }

/* Background guide line (always visible) */
.steps-line-bg {
  position: absolute;
  top: 4rem;                         /* aligns with center of step-num */
  inset-inline-start: 12.5%;        /* center of first column in 4-col grid */
  inset-inline-end: 12.5%;
  height: 2px;
  background: var(--rule-2);
  pointer-events: none; z-index: 1;
}
/* Drawing line */
.steps-line-fill {
  position: absolute;
  inset: 0;
  background: var(--crimson);
  transform: scaleX(0);
  transform-origin: right center;   /* RTL: draw from right */
  transition: transform 1.55s cubic-bezier(.16,1,.3,1) .35s;
}
html[dir="ltr"] .steps-line-fill { transform-origin: left center; }
.steps-line-fill.is-drawing { transform: scaleX(1); }

@media (max-width: 760px) { .steps-line-bg { display: none; } }

/* Step row grid */
.steps-row {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}
@media (max-width: 760px) {
  .steps-row { grid-template-columns: 1fr; gap: 1rem; }
}

/* Step card */
.step-card {
  background: var(--sand-card);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.85rem;
  transition: box-shadow .22s, transform .22s, border-color .22s;
}
.step-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
  border-color: var(--orange);
}

/* Step number — pop animation */
@keyframes step-num-pop {
  0%   { transform: scale(.65); opacity: 0; }
  70%  { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}
.step-num-wrap { display: flex; flex-direction: column; }
.step-label {
  font-family: var(--ff-latin); font-size: .55rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-mute); line-height: 1; margin-bottom: .18rem;
}
.step-num {
  font-family: var(--ff-latin);
  font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800;
  line-height: 1; color: var(--crimson);
  opacity: 0; transform: scale(.65);
}
.step-card.lit .step-num {
  animation: step-num-pop .55s cubic-bezier(.34,1.56,.64,1) forwards;
  animation-delay: calc(var(--i, 0) * 0.13s + .1s);
}

.step-title {
  font-family: var(--ff-display); font-size: 1.05rem; font-weight: 700;
  line-height: 1.32; color: var(--ink);
}
html[lang="en"] .step-title { font-family: var(--ff-latin); font-size: .95rem; font-weight: 700; }

.step-desc { font-size: .85rem; color: var(--ink-soft); line-height: 1.65; }

.step-ic { color: var(--orange); opacity: .65; margin-top: auto; }
.step-ic svg { width: 26px; height: 26px; }

/* ═══════════════════════════════════════════════════════════
   PLANS TABLE — prepaid / postpaid / tourist comparison
   ═══════════════════════════════════════════════════════════ */
.plans-section {
  background: var(--sand);
  padding-block: clamp(3.5rem,7vw,6rem);
}
.plans-head { margin-bottom: 2.4rem; }

.plans-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1.5px solid var(--rule);
}
.plans-table {
  width: 100%; min-width: 540px;
}

/* Header */
.plans-table thead tr { background: var(--dark); color: #fff; }
.plans-table thead th {
  padding: .95rem 1.1rem; text-align: start;
  font-family: var(--ff-latin); font-weight: 700; font-size: .78rem;
  letter-spacing: .04em;
  border-inline-end: 1px solid rgba(255,255,255,.09);
  vertical-align: middle;
}
.plans-table thead th:last-child { border-inline-end: none; }
.tbl-feat { width: 29%; }
.tbl-pre { color: var(--orange-light); }
.tbl-post { color: #d4ecff; }
.tbl-tourist { color: #d6f0e6; }

.tbl-type-icon {
  display: inline-block; vertical-align: middle;
  margin-inline-end: .4rem;
}
.tbl-type-icon svg { width: 15px; height: 15px; display: inline; }

/* Body */
.plans-table tbody tr {
  border-bottom: 1px solid var(--rule);
  transition: background .14s;
}
.plans-table tbody tr:last-child { border-bottom: none; }
.plans-table tbody th {
  padding: .8rem 1.1rem; text-align: start;
  font-family: var(--ff-latin); font-size: .8rem; font-weight: 600;
  color: var(--ink-soft); background: var(--sand-deep);
  border-inline-end: 1px solid var(--rule);
}
.plans-table tbody td {
  padding: .8rem 1.1rem; vertical-align: middle;
  font-size: .875rem; color: var(--ink);
  background: var(--sand-card);
  border-inline-end: 1px solid var(--rule); line-height: 1.5;
}
.plans-table tbody td:last-child { border-inline-end: none; }
.plans-table tbody tr:nth-child(even) td { background: var(--sand); }

/* Row hover — warm highlight */
.plans-table tbody tr:hover th,
.plans-table tbody tr:hover td { background: var(--orange-light) !important; }

.plans-note {
  display: flex; align-items: flex-start; gap: .6rem;
  margin-top: 1.2rem; font-size: .8rem; color: var(--ink-mute); line-height: 1.6;
}
.plans-note svg { flex-shrink: 0; width: 15px; height: 15px; margin-top: .15rem; color: var(--orange); }
.plans-note a { color: var(--crimson); }

/* ═══════════════════════════════════════════════════════════
   ARTICLES SECTION
   ═══════════════════════════════════════════════════════════ */
.articles-section {
  background: var(--sand-deep);
  padding-block: clamp(3.5rem,7vw,6rem);
}
.articles-head { margin-bottom: 2.4rem; }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
@media (max-width: 900px) { .articles-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .articles-grid { grid-template-columns: 1fr; } }

/* 5th card: full-width, centered on ≥3-col layout */
.article-card:nth-child(5):last-child {
  grid-column: 1 / -1;
  max-width: 400px;
  margin-inline: auto;
}
@media (max-width: 900px) {
  .article-card:nth-child(5):last-child { grid-column: unset; max-width: unset; margin-inline: unset; }
}

.article-card {
  background: var(--sand-card);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.article-card:hover {
  box-shadow: var(--shadow-lift); transform: translateY(-4px);
  border-color: var(--orange); text-decoration: none;
}
.ac-thumb {
  background: var(--sand-deep);
  border-bottom: 1.5px solid var(--rule); overflow: hidden;
}
.ac-thumb svg { width: 100%; height: auto; display: block; }
.ac-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.ac-kier {
  font-family: var(--ff-latin); font-size: .63rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--orange);
}
.ac-title {
  font-family: var(--ff-display); font-size: .98rem; font-weight: 700;
  line-height: 1.35; color: var(--ink); flex: 1;
}
html[lang="en"] .ac-title { font-family: var(--ff-latin); font-size: .9rem; font-weight: 700; }
.ac-meta {
  font-family: var(--ff-latin); font-size: .74rem;
  font-weight: 600; color: var(--crimson); margin-top: .2rem;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT SECTION (dark panel)
   ═══════════════════════════════════════════════════════════ */
.contact-section {
  background: var(--dark); color: var(--sand);
  padding-block: clamp(3.5rem,7vw,6rem);
}
.contact-section .section-kier { color: var(--orange); }
.contact-section .section-h2 { color: #fff; }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start;
}
@media (max-width: 720px) { .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; } }

.contact-lead {
  color: rgba(247,241,230,.7); font-size: .93rem;
  line-height: 1.75; margin-top: .7rem; margin-bottom: 1.85rem;
}
.contact-lines { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-lines li { display: flex; align-items: flex-start; gap: .8rem; }
.cl-ic {
  width: 34px; height: 34px; flex-shrink: 0;
  background: rgba(255,255,255,.07); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.cl-ic svg { width: 15px; height: 15px; color: var(--orange); }
.cl-text { display: flex; flex-direction: column; gap: .12rem; }
.cl-key {
  font-family: var(--ff-latin); font-size: .66rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: rgba(247,241,230,.45);
}
.cl-val { font-family: var(--ff-latin); font-size: .88rem; color: rgba(247,241,230,.85); }
a.cl-val { color: var(--orange-light); }
a.cl-val:hover { color: var(--orange); text-decoration: underline; }

.disclaimer-box {
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 1.7rem;
}
.disclaimer-title {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--ff-latin); font-size: .97rem; font-weight: 700;
  color: #fff; margin-bottom: .85rem;
}
.disclaimer-title svg { width: 17px; height: 17px; color: var(--orange); flex-shrink: 0; }
.disclaimer-box p {
  font-size: .86rem; color: rgba(247,241,230,.68);
  line-height: 1.7; margin-bottom: 1.2rem;
}
.disclaimer-box strong { color: rgba(247,241,230,.9); }
.disclaimer-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--ff-latin); font-size: .78rem; font-weight: 600;
  color: var(--orange); text-decoration: none;
}
.disclaimer-link:hover { text-decoration: underline; }
.disclaimer-link svg { flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.foot {
  background: var(--dark-2); color: rgba(247,241,230,.6);
  padding-block: clamp(2.5rem,5vw,4rem) 2rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.foot-inner {
  display: grid; grid-template-columns: 1.3fr 2fr; gap: 3rem;
}
@media (max-width: 700px) { .foot-inner { grid-template-columns: 1fr; gap: 2rem; } }

.foot-logo {
  display: inline-flex; align-items: center; gap: .55rem;
  text-decoration: none;
  font-family: var(--ff-display); font-size: 1.1rem;
  font-weight: 700; color: rgba(247,241,230,.9);
  margin-bottom: .7rem;
}
html[lang="en"] .foot-logo { font-family: var(--ff-latin); font-size: .95rem; }
.foot-logo svg { width: 22px; height: 22px; flex-shrink: 0; }
.foot-tagline { font-size: .75rem; color: rgba(247,241,230,.38); line-height: 1.5; }

.foot-nav {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem;
}
@media (max-width: 480px) { .foot-nav { grid-template-columns: repeat(2,1fr); } }
.foot-col-head {
  display: block; font-family: var(--ff-latin); font-size: .62rem;
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(247,241,230,.38); margin-bottom: .7rem;
}
.foot-col ul { display: flex; flex-direction: column; gap: .3rem; }
.foot-col a {
  font-size: .8rem; color: rgba(247,241,230,.6);
  text-decoration: none; transition: color .14s;
}
.foot-col a:hover { color: rgba(247,241,230,.95); }

.foot-bottom {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem;
  padding-top: 1.5rem; margin-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.07);
  font-family: var(--ff-latin); font-size: .73rem;
}
.foot-copy { color: rgba(247,241,230,.35); }
.foot-cra { color: var(--orange); text-decoration: none; font-size: .7rem; font-weight: 600; }
.foot-cra:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════
   COOKIE CONSENT
   ═══════════════════════════════════════════════════════════ */
.consent-bar {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 2000;
  background: var(--dark); border-top: 2px solid var(--crimson);
  padding: .9rem var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem;
  transform: translateY(100%); transition: transform .35s ease;
  box-shadow: 0 -4px 24px rgba(0,0,0,.28);
}
.consent-bar.shown { transform: translateY(0); }
.consent-text { font-size: .8rem; color: rgba(247,241,230,.72); line-height: 1.5; }
.consent-text a { color: var(--orange); }
.consent-btns { display: flex; gap: .5rem; align-items: center; }
.consent-ok {
  padding: .38rem 1rem; background: var(--crimson); color: #fff;
  border-radius: var(--radius); font-family: var(--ff-latin);
  font-size: .76rem; font-weight: 700; transition: background .14s;
}
.consent-ok:hover { background: var(--crimson-deep); }
.consent-no {
  padding: .38rem .8rem; color: rgba(247,241,230,.5);
  font-family: var(--ff-latin); font-size: .74rem;
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  transition: color .14s;
}
.consent-no:hover { color: rgba(247,241,230,.9); }

/* ═══════════════════════════════════════════════════════════
   ARTICLE PAGE LAYOUT
   ═══════════════════════════════════════════════════════════ */
.article-header {
  background: var(--dark); color: #fff;
  padding-block: clamp(2.5rem,5vw,4.5rem);
}
.article-header-inner { max-width: 760px; margin-inline: auto; }
.article-kier {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--ff-latin); font-size: .68rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1rem;
}
.article-kier-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.article-h1 {
  font-family: var(--ff-display);
  font-size: clamp(1.65rem,4vw,2.65rem);
  font-weight: 700; line-height: 1.22; color: #fff; margin-bottom: 1rem;
}
html[lang="en"] .article-h1 { font-family: var(--ff-latin); font-weight: 800; }
.article-meta-row {
  display: flex; align-items: center; gap: 1.25rem;
  flex-wrap: wrap; font-family: var(--ff-latin);
  font-size: .76rem; color: rgba(247,241,230,.5);
}
.article-meta-row a { color: rgba(247,241,230,.5); text-decoration: none; }
.article-meta-row a:hover { color: var(--orange); }
.article-meta-sep { opacity: .3; }

.article-body-wrap {
  max-width: 760px; margin-inline: auto;
  padding: clamp(2rem,4vw,3.5rem) var(--pad-x);
}
.article-body {
  font-size: clamp(.94rem,1.5vw,1.04rem);
  line-height: 1.8; color: var(--ink);
}
.article-body h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.25rem,2.5vw,1.65rem);
  font-weight: 700; color: var(--ink);
  margin-top: 2.5rem; margin-bottom: .8rem;
  padding-bottom: .45rem;
  border-bottom: 2px solid var(--rule);
}
html[lang="en"] .article-body h2 { font-family: var(--ff-latin); font-weight: 800; }
.article-body h3 {
  font-family: var(--ff-display); font-size: 1.07rem;
  font-weight: 700; color: var(--ink);
  margin-top: 1.7rem; margin-bottom: .55rem;
}
html[lang="en"] .article-body h3 { font-family: var(--ff-latin); }
.article-body p { margin-bottom: 1rem; }
.article-body ul, .article-body ol {
  list-style: disc; padding-inline-start: 1.5rem; margin-bottom: 1rem;
}
.article-body li { margin-bottom: .3rem; }
.article-body strong { font-weight: 700; color: var(--ink); }
.article-body a { color: var(--crimson); }
.article-body a:hover { text-decoration: underline; }

.article-disclaimer {
  background: var(--sand-deep); border-radius: var(--radius);
  border: 1.5px solid var(--rule);
  padding: 1.2rem 1.4rem; margin-top: 2.5rem;
  font-size: .82rem; color: var(--ink-soft); line-height: 1.65;
}
.article-disclaimer strong { color: var(--ink); }

.article-back {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--ff-latin); font-size: .8rem; font-weight: 600;
  color: var(--crimson); text-decoration: none;
  margin-top: 2rem; transition: gap .18s;
}
.article-back:hover { text-decoration: underline; gap: .65rem; }

/* ═══════════════════════════════════════════════════════════
   STANDALONE PAGE (About, Contact, Legal)
   ═══════════════════════════════════════════════════════════ */
.page-header {
  background: var(--dark); color: #fff;
  padding-block: clamp(2.5rem,5vw,4rem);
}
.page-header-inner {
  max-width: 900px; margin-inline: auto; padding-inline: var(--pad-x);
}
.page-kier {
  display: inline-block; font-family: var(--ff-latin);
  font-size: .68rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange); margin-bottom: .6rem;
}
.page-h1 {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem,4vw,2.4rem);
  font-weight: 700; color: #fff; margin-top: .4rem;
}
html[lang="en"] .page-h1 { font-family: var(--ff-latin); font-weight: 800; }
.page-lead {
  font-size: .95rem; color: rgba(247,241,230,.62);
  margin-top: .7rem; line-height: 1.7; max-width: 580px;
}
.page-body-wrap {
  max-width: 900px; margin-inline: auto;
  padding: clamp(2.5rem,5vw,4rem) var(--pad-x);
}
.page-body {
  font-size: clamp(.88rem,1.5vw,.99rem);
  line-height: 1.8; color: var(--ink);
}
.page-body h2 {
  font-family: var(--ff-display); font-size: clamp(1.2rem,2.5vw,1.55rem);
  font-weight: 700; color: var(--ink);
  margin-top: 2.2rem; margin-bottom: .7rem;
}
html[lang="en"] .page-body h2 { font-family: var(--ff-latin); font-weight: 800; }
.page-body p { margin-bottom: 1rem; }
.page-body ul { list-style: disc; padding-inline-start: 1.5rem; margin-bottom: 1rem; }
.page-body li { margin-bottom: .3rem; }
.page-body a { color: var(--crimson); }
.page-body strong { color: var(--ink); font-weight: 700; }

/* contact page grid */
.contact-page-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: start;
}
@media (max-width: 680px) { .contact-page-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* Light-background overrides for contact-lines (used outside dark panels) */
.page-body-wrap .cl-ic { background: var(--sand-deep); }
.page-body-wrap .cl-key { color: var(--ink-mute); }
.page-body-wrap .cl-val { color: var(--ink); }
.page-body-wrap a.cl-val { color: var(--crimson); }
.page-body-wrap a.cl-val:hover { color: var(--crimson-deep); }
