/* Taxiyo Charity — Malta microsite */
:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --brand: #0d9488;
  --brand-dark: #0f766e;
  --accent: #f97316;
  --accent-soft: #fff7ed;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1120px;
  --font-sans: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: radial-gradient(1200px 600px at 10% -10%, rgba(13, 148, 136, 0.12), transparent),
    radial-gradient(900px 500px at 95% 0%, rgba(249, 115, 22, 0.08), transparent), var(--bg);
  min-height: 100vh;
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand);
}

:focus-visible {
  outline: 3px solid rgba(13, 148, 136, 0.45);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  padding: 0.5rem 1rem;
  background: var(--surface);
  border-radius: 8px;
  box-shadow: var(--shadow);
  z-index: 100;
}

.skip-link:focus {
  left: 0.75rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(244, 247, 251, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  display: block;
  height: 38px;
  width: auto;
}

.brand-logo--footer {
  height: 32px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  font: inherit;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(15, 23, 42, 0.06);
}

.nav-cta {
  margin-left: 0.25rem;
  padding: 0.55rem 0.95rem !important;
  background: var(--ink) !important;
  color: #fff !important;
}

.nav-cta:hover {
  background: #1e293b !important;
  color: #fff !important;
}

.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #2dd4bf);
  color: #042f2e;
  box-shadow: 0 14px 30px rgba(13, 148, 136, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.03);
  color: #022c22;
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: #cbd5e1;
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hero-card h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.stat {
  padding: 0.75rem;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  font-family: var(--font-display);
}

.stat span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.section {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.section-head {
  max-width: 60ch;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: rgba(13, 148, 136, 0.1);
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  width: fit-content;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  flex: 1;
}

.card a {
  font-weight: 700;
  text-decoration: none;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.callout {
  background: var(--accent-soft);
  border: 1px solid #ffedd5;
  border-radius: var(--radius-lg);
  padding: 1.35rem;
}

.callout h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 2.25rem 0 0.75rem;
  letter-spacing: -0.02em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 1rem;
  color: #334155;
}

.prose .intro {
  font-size: 1.15rem;
  color: var(--ink);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.65);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-content: start;
  justify-content: flex-end;
}

.footer-links a {
  font-weight: 600;
  font-size: 0.92rem;
}

.legal {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 1rem 0 0;
}

.breadcrumb a {
  font-weight: 600;
}

.page-hero {
  padding: 2.25rem 0 1rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.45rem);
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.page-hero .deck {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
  font-size: 1.08rem;
}

.article-shell {
  padding-bottom: 3rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    right: 1rem;
    top: calc(100% + 0.5rem);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.5rem;
    flex-direction: column;
    align-items: stretch;
    min-width: 220px;
    box-shadow: var(--shadow);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .header-inner {
    position: relative;
  }
}
