﻿:root {
  --bg: #16110d;
  --panel: rgba(255, 247, 238, 0.88);
  --panel-strong: rgba(255, 247, 238, 0.97);
  --text: #241b14;
  --muted: #625243;
  --accent: #c96f42;
  --accent-2: #e6aa72;
  --line: rgba(36, 27, 20, 0.12);
  --shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #fff;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(14, 11, 9, 0.52), rgba(14, 11, 9, 0.18) 32%, rgba(14, 11, 9, 0.38)),
    url("header-bg.jpg") center top / cover no-repeat;
  transform: translateZ(0);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(14, 11, 9, 0.1), rgba(14, 11, 9, 0.22) 55%, rgba(14, 11, 9, 0.12));
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 56px 1fr 48px;
  gap: 8px;
  align-items: center;
  padding: 10px 12px 0;
}

.brand,
.lang,
.nav a,
.btn,
.support-card,
.news-grid a,


.brand,
.lang {
  width: 100%;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(18, 14, 10, 0.28);
  box-shadow: var(--shadow);
}

.brand img,
.lang img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.nav {
  display: grid;
  grid-template-columns: repeat(5, max-content);
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(18, 14, 10, 0.28);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow: var(--shadow);
}

.nav-cta {
  background: rgba(255, 255, 255, 0.14) !important;
}

.page {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 8px 12px 28px;
}

.panel {
  position: relative;
  margin-top: 14px;
  padding: 18px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--panel);
  color: var(--text);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero {
  min-height: 330px;
  display: flex;
  align-items: end;
  padding-bottom: 24px;
  background: linear-gradient(180deg, rgba(7, 5, 4, 0.06), rgba(7, 5, 4, 0.16));
}

.hero-copy {
  max-width: 18rem;
}

.eyebrow,
.kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-head h2,
.prayer-box h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 10vw, 3.4rem);
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.35);
}

.lead,
.section-copy,
.about-text p,
.gallery-copy p,
.prayer-box li {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.98rem;
}

.lead {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.btn {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(36, 27, 20, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.92rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
}

.section-head h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.about-grid {
  display: grid;
  gap: 16px;
}

.portrait-frame {
  margin: 14px 0;
  border-radius: 24px;
  overflow: hidden;
  background: #d8cab6;
  aspect-ratio: 1 / 1.12;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.support-card {
  min-height: 88px;
  border-radius: 20px;
  padding: 14px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow);
}

.primary-card {
  grid-column: 1 / -1;
  min-height: 98px;
  background: linear-gradient(135deg, rgba(201, 111, 66, 0.98), rgba(230, 170, 114, 0.98));
  color: #fff;
}

.support-card strong {
  font-size: 1rem;
}

.support-card span {
  font-size: 0.86rem;
  opacity: 0.88;
}

.prayer-box {
  margin-top: 14px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.prayer-box h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.prayer-box ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.prayer-box li + li {
  margin-top: 6px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.news-grid a {
  min-height: 76px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 800;
  box-shadow: var(--shadow);
}

@media (min-width: 560px) {
  .about-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
  }

  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .primary-card {
    grid-column: 1 / -1;
  }

  .news-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 420px) {
  .topbar {
    grid-template-columns: 48px 1fr 40px;
    gap: 6px;
  }

  .nav a {
    min-height: 44px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .panel {
    padding: 16px;
    border-radius: 24px;
  }
}
