/* ==========================================================================
   Clean Air: glassmorphism design system
   ========================================================================== */
:root {
  /* Brand (sampled from the Clean Air logo) */
  --blue: #0b5cad;
  --blue-rgb: 11, 92, 173;
  --blue-bright: #3d8bff;
  --red: #e3262f;
  --red-rgb: 227, 38, 47;

  /* Surfaces */
  --bg: #06122b;
  --bg-2: #0a1d42;
  --text: #f2f6ff;
  --text-muted: #b7c4df;
  --text-dim: #8f9fc2;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-bg-strong: rgba(255, 255, 255, 0.11);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
  --blur: 20px;

  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
  --header-h: 76px;
  --focus: 0 0 0 3px rgba(61, 139, 255, 0.65);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a, button, input, select, textarea { touch-action: manipulation; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3, .h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 16px; color: var(--text-muted); }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 10px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

.ico { width: 20px; height: 20px; flex: none; }

/* ---------- Arabic / Kurdish (RTL) typography ---------- */
html[lang="ar"] body, html[lang="ckb"] body,
.lang-switch [lang="ar"], .lang-switch [lang="ckb"] {
  font-family: "Noto Sans Arabic", "Inter", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}
html[lang="ar"] body, html[lang="ckb"] body { line-height: 1.75; }
html[lang="ar"] h1, html[lang="ckb"] h1,
html[lang="ar"] h2, html[lang="ckb"] h2 { line-height: 1.35; }
/* Letter-spacing breaks Arabic-script joining; keep it only on LTR runs */
html[dir="rtl"] body *:not([dir="ltr"]) { letter-spacing: 0; }
html[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--blue); color: #fff; padding: 12px 16px; border-radius: 10px;
}
.skip-link:focus { top: 16px; }

/* ---------- Background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(var(--blue-rgb), 0.45), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg) 100%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.orb-1 { width: 520px; height: 520px; background: #1d6fe0; top: -140px; left: -160px; }
.orb-2 { width: 380px; height: 380px; background: var(--red); top: 38%; right: -140px; opacity: 0.28; }
.orb-3 { width: 460px; height: 460px; background: #12a3d8; bottom: -180px; left: 25%; opacity: 0.3; }
.grid-lines { position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
}

/* ---------- Glass ---------- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(14, 32, 70, 0.92); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 20px;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.2);
  font: inherit; font-weight: 600; font-size: 0.95rem; color: #fff; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
.btn-lg { min-height: 52px; padding: 14px 24px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, #1a72d6, var(--blue));
  box-shadow: 0 8px 24px rgba(var(--blue-rgb), 0.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(var(--blue-rgb), 0.6); }
.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding-block: 0; padding-inline: 18px 10px; gap: 8px;
  max-width: calc(var(--container) - 32px);
  transition: background-color 0.3s var(--ease);
}
.site-header.scrolled .header-inner { background: rgba(8, 22, 52, 0.72); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.brand-mark { width: 30px; height: 30px; color: #fff; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: 0.02em; }

.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: 10px; color: var(--text-muted); font-weight: 500; font-size: 0.95rem;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav a:not(.btn):hover, .nav a.active { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-cta { margin-inline-start: 8px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; flex: none; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); border: 1px solid var(--glass-border); border-radius: 12px; color: #fff; cursor: pointer;
}

/* Language switcher */
.lang-switch {
  display: flex; align-items: center; gap: 2px; flex: none; padding: 2px;
  margin-inline-start: 8px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--glass-border); border-radius: 12px;
}
.lang-switch .globe { width: 16px; height: 16px; color: var(--text-dim); margin-inline: 8px 4px; }
.lang-switch button {
  min-height: 44px; min-width: 44px; padding: 0 12px;
  font: inherit; font-size: 0.9rem; font-weight: 600; color: var(--text-muted);
  background: transparent; border: 0; border-radius: 10px; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-switch button:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.lang-switch button[aria-pressed="true"] {
  color: #fff; background: linear-gradient(135deg, #1a72d6, var(--blue));
  box-shadow: 0 4px 14px rgba(var(--blue-rgb), 0.5);
}
.lang-switch .short { display: none; }
@media (max-width: 1240px) {
  .lang-switch .full { display: none; }
  .lang-switch .short { display: inline; }
  .lang-switch button { padding: 0 8px; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .lang-switch { margin-inline-start: auto; }
  .nav {
    position: absolute; top: calc(100% + 8px); left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 12px;
    background: rgba(8, 22, 52, 0.9);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border); border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .nav a:not(.btn) { padding: 0 16px; font-size: 1rem; }
  .nav-cta { margin: 8px 0 0; }
  .site-header .header-inner { margin: 0 16px; width: auto; }
}
@media (max-width: 480px) {
  .header-inner { padding-inline: 12px 8px; gap: 6px; }
  .brand { gap: 8px; }
  .brand-mark { width: 26px; height: 26px; }
  .brand-name { font-size: 1rem; }
  .lang-switch .globe { display: none; }
  .lang-switch button { min-width: 42px; padding: 0 6px; }
}
@media (max-width: 374px) {
  .brand-name { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: calc(var(--header-h) + 64px) 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: #9cc4ff; margin-bottom: 16px;
}
.hero .eyebrow { padding: 8px 14px; border-radius: 999px; background: rgba(var(--blue-rgb), 0.25); border: 1px solid rgba(61,139,255,0.35); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #39d98a; box-shadow: 0 0 0 4px rgba(57,217,138,0.2); }
.grad { background: linear-gradient(90deg, #7fb6ff, #ffffff 60%, #ff8a8f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.125rem; max-width: 560px; color: var(--text-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 560px; }
.hero-stats li { padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong { font-size: 1.35rem; font-weight: 800; }
html[dir="rtl"] .hero-stats strong[dir="ltr"] { text-align: right; }
.hero-stats span { font-size: 0.85rem; color: var(--text-dim); }

.hero-visual { position: relative; }
.hero-photo { margin: 0; padding: 10px; border-radius: var(--radius-lg); transform: rotate(1.5deg); }
.hero-photo img { border-radius: 16px; aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: rgba(10, 29, 66, 0.6); }
.float-card strong { display: block; font-size: 0.95rem; }
.float-card span:not(.fc-icon) { font-size: 0.8rem; color: var(--text-muted); }
.fc-1 { inset-inline-start: -28px; bottom: 36px; }
.fc-2 { inset-inline-end: -16px; top: 28px; }
html[dir="rtl"] .hero-photo { transform: rotate(-1.5deg); }
.fc-icon, .card-icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(61,139,255,0.35), rgba(var(--blue-rgb),0.35));
  border: 1px solid rgba(61,139,255,0.4); color: #cfe2ff;
}
.fc-icon.red, .card-icon.red { background: linear-gradient(135deg, rgba(var(--red-rgb),0.35), rgba(var(--red-rgb),0.18)); border-color: rgba(var(--red-rgb),0.45); color: #ffd3d5; }

@media (max-width: 960px) {
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo, html[dir="rtl"] .hero-photo { transform: none; }
  .fc-1 { inset-inline-start: 8px; bottom: -20px; }
  .fc-2 { inset-inline-end: 8px; top: -20px; }
}
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats li:last-child { grid-column: span 2; }
  .hero-actions .btn { width: 100%; }
  .float-card { padding: 10px 12px; }
  .float-card .fc-icon { width: 36px; height: 36px; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 24px 0; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
@media (max-width: 640px) { .section { padding: 64px 0; } .section-head { margin-bottom: 32px; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-media { position: relative; }
.media-card { margin: 0; padding: 10px; border-radius: var(--radius-lg); }
.media-card img { border-radius: 16px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.badge-year { position: absolute; inset-inline-end: -16px; bottom: -24px; padding: 16px 20px; background: rgba(var(--red-rgb), 0.22); border-color: rgba(var(--red-rgb), 0.45); }
.badge-year strong { display: block; font-size: 1.2rem; }
.badge-year span { font-size: 0.85rem; color: #ffd9db; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.checks .ico { color: #39d98a; margin-top: 2px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } .badge-year { inset-inline-end: 8px; } }

/* Cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 28px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 44px rgba(0,0,0,0.35); border-color: rgba(61,139,255,0.4); }
.card .card-icon { margin-bottom: 20px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 0.95rem; }
@media (max-width: 960px) { .cards-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards-3 { grid-template-columns: 1fr; } }

/* Sectors */
.sectors { display: flex; align-items: center; gap: 24px; padding: 24px 28px; flex-wrap: wrap; }
.sectors h2 { margin: 0; }
.sectors ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; flex: 1; justify-content: flex-end; }
.sectors li { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border); font-size: 0.95rem; }
.sectors .ico { color: #9cc4ff; width: 18px; height: 18px; }
@media (max-width: 700px) { .sectors ul { justify-content: flex-start; } }

/* Projects */
/* 3 columns; the first and last cards span two so every row is full */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project { overflow: hidden; padding: 0; display: flex; flex-direction: column; transition: transform 0.3s var(--ease); }
.project.wide { grid-column: span 2; }
.project:hover { transform: translateY(-4px); }
.project img { width: 100%; height: 240px; object-fit: cover; }
.project-body { padding: 22px 24px 24px; }
.project-body h3 { font-size: 1.2rem; margin-bottom: 6px; }
.project-body p { margin: 0; }
.tag { display: inline-block; font-size: 0.78rem; font-weight: 600; color: #9cc4ff; background: rgba(var(--blue-rgb), 0.25); border: 1px solid rgba(61,139,255,0.35); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
@media (max-width: 1000px) {
  .projects { grid-template-columns: 1fr 1fr; }
  .project.wide:last-child { grid-column: auto; }
}
@media (max-width: 760px) {
  .projects { grid-template-columns: 1fr; gap: 18px; }
  .project.wide { grid-column: auto; }
  .project img { height: 210px; }
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 28px 24px; position: relative; }
.step-n { display: inline-block; font-weight: 800; font-size: 2rem; background: linear-gradient(135deg, #7fb6ff, var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.step p { margin: 0; font-size: 0.95rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; padding: 40px;
  background: linear-gradient(135deg, rgba(var(--blue-rgb), 0.35), rgba(255,255,255,0.05) 60%, rgba(var(--red-rgb), 0.18)); }
.why { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.why li { display: flex; gap: 12px; color: var(--text-muted); }
.why strong { color: var(--text); }
.why .ico { color: #9cc4ff; margin-top: 2px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 28px 20px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: start; }
.contact-info { display: grid; gap: 12px; }
.info { display: flex; align-items: center; gap: 16px; padding: 16px 18px; min-height: 76px; transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); }
a.info:hover { border-color: rgba(61,139,255,0.5); transform: translateX(3px); }
html[dir="rtl"] a.info:hover { transform: translateX(-3px); }
.info small { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); }
.info strong { display: block; font-weight: 600; overflow-wrap: anywhere; }
.info em { display: block; font-style: normal; font-size: 0.85rem; color: var(--text-dim); }
.map { padding: 6px; overflow: hidden; }
.map iframe { display: block; width: 100%; height: 240px; border: 0; border-radius: 12px; filter: saturate(0.9) contrast(1.05); }

.form { padding: 28px; }
.form h3 { font-size: 1.35rem; margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--text-dim); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--text);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18); border-radius: 12px;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23b7c4df' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-inline-end: 40px; }
html[dir="rtl"] .field select { background-position: left 12px center; }
.field select option { color: #0b1530; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-bright); background: rgba(255,255,255,0.09); box-shadow: var(--focus); }
.field.invalid input, .field.invalid textarea { border-color: #ff6b72; }
.err { margin: 6px 0 0; min-height: 0; font-size: 0.85rem; color: #ff9aa0; }
.err:empty { display: none; }
.form-note { margin: 12px 0 0; font-size: 0.85rem; color: var(--text-dim); text-align: center; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; gap: 0; } .form { padding: 20px; } }

/* Footer */
.footer { padding: 24px 0 96px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; padding: 28px; align-items: center; }
.footer-brand p { margin: 8px 0 0; font-size: 0.9rem; }
.footer-nav, .footer-contact { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.footer-nav a, .footer-contact a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--text-muted); }
.footer-nav a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact { flex-direction: column; align-items: flex-start; }
.copy { text-align: center; color: var(--text-dim); font-size: 0.85rem; margin: 20px 0 0; }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr; } }

/* WhatsApp FAB */
.fab {
  position: fixed; inset-inline-end: 16px; bottom: 16px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #1fa855; color: #fff; box-shadow: 0 10px 28px rgba(31,168,85,0.45);
  border: 1px solid rgba(255,255,255,0.25);
  transition: transform 0.2s var(--ease);
}
.fab:hover { transform: scale(1.06); }
.fab .ico { width: 28px; height: 28px; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; max-width: calc(100% - 32px);
  padding: 14px 20px; background: rgba(10, 29, 66, 0.85); font-weight: 500;
  transform: translate(-50%, 140%); opacity: 0; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
