/* ============================================================
   EXCURSIONS MAROC — Modern Travel Agency
   Clean sans-serif. Image-forward cards. Warm Moroccan accent.
   No editorial. No magazine. A real booking site.
   ============================================================ */

:root {
  --bg: #FFFFFF;
  --bg-2: #FAF6F0;
  --bg-3: #F4ECDF;
  --ink: #1F1611;
  --ink-2: #4A3A2C;
  --mute: #7A6856;
  --faint: #A89880;
  --line: #E8DDCB;
  --line-2: #D9C9B0;
  --terracotta: #C2410C;
  --terracotta-d: #9A330A;
  --saffron: #D97706;
  --saffron-l: #FBBF24;
  --cream: #FFF8EC;
  --success: #15803D;
  --danger: #B91C1C;
  --white: #FFFFFF;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --arabic: "Noto Naskh Arabic", "Geeza Pro", "Tahoma", sans-serif;

  --max: 1200px;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(31,22,17,.05), 0 1px 3px rgba(31,22,17,.04);
  --shadow: 0 4px 12px -2px rgba(31,22,17,.08), 0 2px 6px -1px rgba(31,22,17,.04);
  --shadow-lg: 0 16px 40px -8px rgba(31,22,17,.15), 0 4px 12px -2px rgba(31,22,17,.06);
  --shadow-terracotta: 0 8px 20px -4px rgba(194,65,12,.35);

  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
html[dir="rtl"] body { font-family: var(--arabic); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; padding: 0; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.2; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--saffron); color: var(--white); }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--r-sm); font-weight: 600; font-size: 15px;
  transition: transform .15s, background .2s, box-shadow .2s, color .2s;
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--terracotta); color: var(--white); box-shadow: var(--shadow-terracotta); }
.btn-primary:hover { background: var(--terracotta-d); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #2D2018; }
.btn-ghost { background: rgba(255,255,255,.15); color: var(--white); border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.25); }
.btn-outline { background: var(--white); color: var(--ink); border: 1px solid var(--line-2); }
.btn-outline:hover { border-color: var(--terracotta); color: var(--terracotta); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); }
.logo svg { width: 32px; height: 32px; }
.logo span { color: var(--terracotta); }
html[dir="rtl"] .logo { font-weight: 700; }
.nav { display: none; align-items: center; gap: 4px; }
@media (min-width: 1024px) { .nav { display: flex; } }
.nav a { padding: 8px 14px; font-size: 15px; font-weight: 500; color: var(--ink-2); border-radius: var(--r-sm); transition: color .15s, background .15s; }
.nav a:hover, .nav a[aria-current] { color: var(--terracotta); background: var(--bg-2); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 600; }
.lang-switch a { padding: 6px 8px; color: var(--faint); border-radius: 4px; transition: color .15s; }
.lang-switch a.active { color: var(--terracotta); }
.lang-switch a:hover { color: var(--ink); }

.menu-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-sm); }
@media (min-width: 1024px) { .menu-btn { display: none; } }
.menu-btn .bars, .menu-btn .cross { display: none; }
.menu-btn .bars { display: block; }
.header:has(#menu-check:checked) .menu-btn .bars { display: none; }
.header:has(#menu-check:checked) .menu-btn .cross { display: block; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.drawer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; overflow: hidden; }
.header:has(#menu-check:checked) .drawer { grid-template-rows: 1fr; }
@media (min-width: 1024px) { .drawer { display: none; } }
.drawer-nav { display: flex; flex-direction: column; padding: 8px 20px 16px; }
.drawer-nav a { padding: 14px 0; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line); }
.drawer-nav a:last-child { border-bottom: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 600px; display: flex; align-items: center; overflow: hidden; background: var(--ink); }
@media (min-width: 768px) { .hero { min-height: 680px; } }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(31,22,17,.55) 0%, rgba(31,22,17,.4) 40%, rgba(31,22,17,.65) 100%); }
.hero-content { position: relative; z-index: 2; padding: 80px 0; color: var(--white); width: 100%; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--r-pill); background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.hero-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--saffron-l); }
.hero h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; max-width: 18ch; margin-bottom: 20px; text-shadow: 0 2px 8px rgba(0,0,0,.2); }
html[dir="rtl"] .hero h1 { font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--saffron-l); }
.hero p { font-size: clamp(17px, 2vw, 20px); line-height: 1.5; max-width: 52ch; margin-bottom: 32px; color: rgba(255,255,255,.95); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.2); }
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat strong { font-size: 24px; font-weight: 800; color: var(--white); }
html[dir="rtl"] .hero-stat strong { font-weight: 700; }
.hero-stat span { font-size: 13px; color: rgba(255,255,255,.8); }

/* ---------- Section ---------- */
.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 88px 0; } }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
html[dir="rtl"] .section-head h2 { font-weight: 700; }
.section-head p { font-size: 17px; color: var(--mute); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--terracotta); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }

/* ---------- Tour cards ---------- */
.tour-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .tour-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tour-grid { grid-template-columns: repeat(3, 1fr); } }

.tour-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.tour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tour-card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.tour-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tour-card:hover .tour-card-img img { transform: scale(1.05); }
.tour-card-badges { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; flex-direction: column; gap: 6px; }
.badge-top { background: var(--terracotta); color: var(--white); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: var(--r-pill); text-transform: uppercase; letter-spacing: 0.04em; }
.badge-duration { background: rgba(255,255,255,.95); color: var(--ink); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill); backdrop-filter: blur(4px); display: inline-flex; align-items: center; gap: 4px; }
.tour-card-price-tag { position: absolute; bottom: 12px; inset-inline-end: 12px; background: var(--white); color: var(--terracotta); font-size: 16px; font-weight: 800; padding: 6px 14px; border-radius: var(--r-pill); box-shadow: var(--shadow); }
html[dir="rtl"] .tour-card-price-tag { font-weight: 700; }
.tour-card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tour-card-loc { font-size: 13px; color: var(--mute); font-weight: 500; display: flex; align-items: center; gap: 4px; }
.tour-card-name { font-size: 19px; font-weight: 700; color: var(--ink); line-height: 1.25; }
html[dir="rtl"] .tour-card-name { font-weight: 700; }
.tour-card-excerpt { font-size: 14px; color: var(--mute); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tour-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.tour-card-price { font-size: 22px; font-weight: 800; color: var(--ink); }
html[dir="rtl"] .tour-card-price { font-weight: 700; }
.tour-card-price small { font-size: 12px; font-weight: 500; color: var(--mute); }
.tour-card-cta { font-size: 14px; font-weight: 600; color: var(--terracotta); display: inline-flex; align-items: center; gap: 4px; transition: gap .2s; }
.tour-card:hover .tour-card-cta { gap: 8px; }
html[dir="rtl"] .tour-card-cta svg { transform: scaleX(-1); }

/* ---------- Destinations ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 768px) { .dest-grid { grid-template-columns: repeat(4, 1fr); } }
.dest-card { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.dest-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dest-card:hover img { transform: scale(1.08); }
.dest-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(31,22,17,.8) 0%, rgba(31,22,17,.2) 50%, transparent); }
.dest-card-info { position: absolute; bottom: 0; inset-inline: 0; padding: 16px; color: var(--white); }
.dest-card-info h3 { font-size: 18px; font-weight: 700; }
html[dir="rtl"] .dest-card-info h3 { font-weight: 700; }
.dest-card-info span { font-size: 12px; color: rgba(255,255,255,.85); }

/* ---------- Trust / Why ---------- */
.features { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { padding: 24px; background: var(--bg-2); border-radius: var(--r-lg); border: 1px solid var(--line); }
.feature-ic { width: 44px; height: 44px; border-radius: var(--r); background: var(--terracotta); color: var(--white); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
html[dir="rtl"] .feature h3 { font-weight: 700; }
.feature p { font-size: 14px; color: var(--mute); line-height: 1.5; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { text-align: center; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--terracotta); color: var(--white); font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
html[dir="rtl"] .step-num { font-weight: 700; }
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
html[dir="rtl"] .step h3 { font-weight: 700; }
.step p { font-size: 14px; color: var(--mute); line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; overflow: hidden; background: var(--white); transition: box-shadow .2s; }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary { padding: 18px 20px; font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { color: var(--terracotta); transition: transform .2s; flex-shrink: 0; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-a { padding: 0 20px 18px; font-size: 15px; color: var(--mute); line-height: 1.6; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--terracotta), var(--saffron)); color: var(--white); border-radius: var(--r-xl); padding: 48px 32px; text-align: center; }
.cta-band h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; margin-bottom: 12px; }
html[dir="rtl"] .cta-band h2 { font-weight: 700; }
.cta-band p { font-size: 17px; color: rgba(255,255,255,.95); margin-bottom: 24px; }
.cta-band .btn-primary { background: var(--ink); color: var(--white); box-shadow: var(--shadow-lg); }
.cta-band .btn-primary:hover { background: #2D2018; }

/* ---------- Tour detail ---------- */
.tour-hero { position: relative; min-height: 480px; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.tour-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.tour-hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(31,22,17,.3) 0%, rgba(31,22,17,.75) 100%); }
.tour-hero-content { position: relative; z-index: 2; padding: 100px 0 40px; color: var(--white); width: 100%; }
.tour-hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tour-hero-badges .badge-top { position: static; }
.tour-hero-badges .badge-duration { background: rgba(255,255,255,.2); color: var(--white); border: 1px solid rgba(255,255,255,.3); }
.tour-hero h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 800; max-width: 20ch; margin-bottom: 12px; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
html[dir="rtl"] .tour-hero h1 { font-weight: 700; }
.tour-hero-loc { font-size: 16px; color: rgba(255,255,255,.9); display: flex; align-items: center; gap: 6px; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 14px 0; font-size: 13px; color: var(--mute); }
.breadcrumb a { color: var(--mute); }
.breadcrumb a:hover { color: var(--terracotta); }
.breadcrumb .sep { color: var(--faint); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }
html[dir="rtl"] .breadcrumb .sep { transform: scaleX(-1); }

.tour-body { display: grid; grid-template-columns: 1fr; gap: 32px; padding: 40px 0 64px; }
@media (min-width: 1024px) { .tour-body { grid-template-columns: 1fr 360px; } }
.tour-content h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; margin: 36px 0 16px; }
html[dir="rtl"] .tour-content h2 { font-weight: 700; }
.tour-content h2:first-child { margin-top: 0; }
.tour-content > p { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin-bottom: 16px; }
.tour-content .lead { font-size: 18px; color: var(--ink); font-weight: 500; }
.tour-content ul.bullets { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.tour-content ul.bullets li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.tour-content ul.bullets li::before { content: "✓"; color: var(--success); font-weight: 700; }

.itinerary { display: flex; flex-direction: column; gap: 0; }
.itin-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.itin-day { width: 48px; height: 48px; border-radius: 50%; background: var(--bg-2); color: var(--terracotta); font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--terracotta); }
html[dir="rtl"] .itin-day { font-weight: 700; }
.itin-content h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
html[dir="rtl"] .itin-content h3 { font-weight: 700; }
.itin-content p { font-size: 14px; color: var(--mute); line-height: 1.6; }

/* Sticky booking */
.booking-aside { position: sticky; top: 88px; align-self: start; }
@media (max-width: 1023px) { .booking-aside { position: static; } }
.booking-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); }
.booking-card .price-label { font-size: 13px; color: var(--mute); }
.booking-card .price { font-size: 36px; font-weight: 800; color: var(--ink); line-height: 1; margin: 4px 0 8px; }
html[dir="rtl"] .booking-card .price { font-weight: 700; }
.booking-card .price .per { font-size: 14px; font-weight: 500; color: var(--mute); }
.booking-card .meta { font-size: 14px; color: var(--mute); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.booking-card .includes-h { font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--mute); margin: 16px 0 10px; }
.booking-card .includes-list { display: flex; flex-direction: column; gap: 8px; }
.booking-card .includes-list li { display: flex; gap: 8px; font-size: 14px; color: var(--ink-2); }
.booking-card .includes-list li::before { content: "✓"; color: var(--success); font-weight: 700; }

.mobile-bar { display: none; }
@media (max-width: 1023px) {
  .mobile-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: fixed; bottom: 0; inset-inline: 0; z-index: 100; padding: 12px 16px; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -4px 12px rgba(31,22,17,.08); }
  .mobile-bar .mbb-price { font-size: 20px; font-weight: 800; color: var(--ink); }
  html[dir="rtl"] .mobile-bar .mbb-price { font-weight: 700; }
  .mobile-bar .mbb-price small { font-size: 12px; font-weight: 500; color: var(--mute); display: block; }
  body { padding-bottom: 76px; }
}

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; font-size: 15px; color: var(--ink); background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-sm); transition: border-color .2s, box-shadow .2s; outline: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(194,65,12,.15); }
.field textarea { resize: vertical; min-height: 100px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--mute); line-height: 1.5; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--terracotta); flex-shrink: 0; }
.form-success { padding: 32px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); text-align: center; }
.form-success h3 { font-size: 22px; font-weight: 800; margin-top: 12px; }
html[dir="rtl"] .form-success h3 { font-weight: 700; }
.form-ref { font-size: 13px; color: var(--mute); margin-top: 8px; font-family: var(--mono, monospace); }
.hp-field { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.btn-spinner { display: inline-flex; }
.spin { animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--bg-2); border-radius: var(--r); border: 1px solid var(--line); }
.contact-ic { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--terracotta); color: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card .label { font-size: 12px; color: var(--mute); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.contact-card .value { font-size: 16px; font-weight: 600; color: var(--ink); }

/* ---------- 404 ---------- */
.error-page { padding: 96px 0; text-align: center; }
.error-page .code { font-size: clamp(100px, 18vw, 160px); font-weight: 800; color: var(--terracotta); line-height: 1; }
html[dir="rtl"] .error-page .code { font-weight: 700; }
.error-page h1 { font-size: clamp(24px, 3vw, 32px); margin-top: 16px; }
html[dir="rtl"] .error-page h1 { font-weight: 700; }
.error-page p { font-size: 17px; color: var(--mute); max-width: 40ch; margin: 12px auto 0; }

/* ---------- Footer ---------- */
.footer { margin-top: auto; background: var(--ink); color: rgba(255,255,255,.7); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding: 64px 0 48px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand { font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
html[dir="rtl"] .footer-brand { font-weight: 700; }
.footer-brand span { color: var(--saffron-l); }
.footer p { font-size: 14px; line-height: 1.6; max-width: 38ch; }
.footer h4 { font-size: 13px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; color: rgba(255,255,255,.7); transition: color .15s; }
.footer ul a:hover { color: var(--saffron-l); }
.footer-bottom { padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-langs { display: flex; gap: 4px; }
.footer-langs a { padding: 4px 8px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.5); border-radius: 4px; }
.footer-langs a.active { color: var(--white); background: rgba(255,255,255,.1); }
.footer-langs a:hover { color: var(--white); }

.skip-link { position: absolute; inset-inline-start: 0; top: -100px; z-index: 200; background: var(--ink); color: var(--white); padding: 12px 20px; font-size: 14px; transition: top .2s; }
.skip-link:focus { top: 0; }

.toast { position: fixed; bottom: 88px; inset-inline: 24px; z-index: 300; padding: 14px 20px; background: var(--ink); color: var(--white); font-size: 14px; max-width: 480px; border-radius: var(--r-sm); opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .3s; pointer-events: none; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { background: var(--danger); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
