/* ===== CSS Variables ===== */
:root {
  --purple-dark: #6B3F8F;
  --purple: #7B4B94;
  --purple-light: #9B6DB5;
  --purple-pale: #E8D5F0;
  --lavender: #F5EEF8;
  --lavender-bg: #FDF8FF;
  --coral: #E85D5D;
  --coral-dark: #D14545;
  --yellow: #F5C542;
  --yellow-dark: #E0AD1A;
  --green: #4CAF7A;
  --text: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --footer-bg: #2D2A3E;
  --shadow: 0 4px 24px rgba(107, 63, 143, 0.12);
  --shadow-sm: 0 2px 12px rgba(107, 63, 143, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 80px;
  --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { color: var(--purple); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--purple-dark); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: inherit;
  min-width: 0;
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
}

.logo-text {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 0;
  white-space: nowrap;
}

.logo-text h1 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--purple);
  line-height: 1.2;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
  flex-wrap: nowrap;
  min-width: 0;
}

.main-nav a {
  padding: 6px 8px;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  white-space: nowrap;
  position: relative;
  letter-spacing: -0.01em;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--purple);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.site-header .container {
  max-width: 1400px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--lavender);
  border-radius: 24px;
  padding: 4px 6px;
  border: 1px solid var(--purple-pale);
}

.lang-btn {
  background: none;
  border: none;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.2s;
  font-family: var(--font);
}

.lang-btn.active {
  background: var(--purple);
  color: var(--white);
}

.lang-btn:hover:not(.active) {
  color: var(--purple);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

.btn-primary:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
  color: var(--white);
}

.btn-outline {
  background: var(--white);
  color: var(--purple);
  border-color: var(--purple);
}

.btn-outline:hover {
  background: var(--lavender);
  color: var(--purple-dark);
}

.btn-coral {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}

.btn-coral:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--purple);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--lavender);
  color: var(--purple-dark);
}

.btn-sm { padding: 8px 16px; font-size: 0.82rem; }
.btn-lg { padding: 14px 28px; font-size: 0.95rem; }

.btn-donate-header {
  padding: 10px 20px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--purple);
}

.menu-toggle svg { width: 28px; height: 28px; }

/* ===== Main content offset ===== */
main { padding-top: var(--header-h); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--lavender-bg) 0%, var(--lavender) 60%, #EDE0F5 100%);
  padding: 0;
  overflow: hidden;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: clamp(300px, 36vh, 400px);
}

.hero-content-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 24px 100px 24px 24px;
  min-width: 0;
}

.hero-content-side .container {
  width: 100%;
  max-width: 500px;
  margin: 0;
  padding: 0;
}

.hero-content-side .hero-content {
  max-width: 100%;
}

.hero-visual {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.hero-content h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.95rem);
  font-weight: 800;
  color: var(--purple-dark);
  line-height: 1.2;
  margin-bottom: 12px;
  white-space: nowrap;
}

.hero-content p {
  font-size: 0.92rem;
  color: var(--text-light);
  margin-bottom: 16px;
  max-width: 100%;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--purple);
  font-weight: 500;
}

.trust-badge svg { flex-shrink: 0; }

/* ===== Sections ===== */
.section {
  padding: 72px 0;
}

.section-urgent {
  padding-top: 56px;
  padding-bottom: 56px;
}

.section-urgent .section-title {
  margin-bottom: 32px;
}

.section-title-urgent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-title-urgent span {
  display: block;
}

.section-alt {
  background: var(--lavender-bg);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--purple-dark);
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1rem;
}

/* ===== Urgent Cards ===== */
.urgent-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.urgent-card {
  border-radius: var(--radius);
  padding: 28px 24px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 200px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.urgent-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.urgent-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.urgent-card.sos { background: linear-gradient(145deg, var(--coral), var(--coral-dark)); }
.urgent-card.housing { background: linear-gradient(145deg, var(--purple), var(--purple-dark)); }
.urgent-card.legal { background: linear-gradient(145deg, var(--yellow-dark), #C99A10); color: #fff; }
.urgent-card.psych { background: linear-gradient(145deg, var(--green), #3A8F62); }

.urgent-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.urgent-card.legal .urgent-card-icon { background: rgba(255,255,255,0.2); }
.urgent-card.psych .urgent-card-icon { background: rgba(255,255,255,0.2); }

.urgent-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.urgent-card .btn {
  margin-top: auto;
  align-self: flex-start;
  background: rgba(255,255,255,0.95);
  color: inherit;
  border: none;
}

.urgent-card.sos .btn { color: var(--coral-dark); }
.urgent-card.housing .btn { color: var(--purple-dark); }
.urgent-card.legal .btn { color: #8B6914; }
.urgent-card.psych .btn { color: #2D6B47; }

/* ===== Stats Bar ===== */
.stats-bar {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
}

.stat-item .stat-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 8px;
  color: var(--purple);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--purple-dark);
  display: block;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ===== Service Cards ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--purple-pale);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: var(--purple);
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ===== Transparency & Donate (Home) ===== */
.transparency-donate-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.section-transparency-home {
  padding: 56px 0;
}

.donate-box-home {
  background: linear-gradient(135deg, var(--purple) 0%, #5E3578 55%, var(--purple-dark) 100%);
  border-radius: var(--radius);
  padding: 20px 32px;
  color: var(--white);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow);
}

.donate-box-home h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  flex-shrink: 0;
  white-space: nowrap;
}

.donate-box-text {
  font-size: 0.92rem;
  opacity: 0.92;
  line-height: 1.4;
  margin: 0;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.donate-box-home .btn {
  flex-shrink: 0;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

.transparency-box-home {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 56px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--purple-pale);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  width: 100%;
}

.transparency-box-home .confidentiality-icon {
  width: 72px;
  height: 72px;
  background: var(--lavender);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin: 0 auto 4px;
}

.transparency-box-home h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  color: var(--purple-dark);
  margin: 0;
}

.transparency-intro {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.65;
  max-width: 640px;
  margin: 0;
}

.transparency-box-home .confidentiality-points {
  width: 100%;
  max-width: 680px;
  margin: 8px auto 0;
  text-align: left;
}

.transparency-box-home .btn {
  margin-top: 8px;
}

/* ===== Dual Column (legacy) ===== */
.dual-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.transparency-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--purple-pale);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.confidentiality-icon {
  width: 56px;
  height: 56px;
  background: var(--lavender);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-bottom: 8px;
}

.confidentiality-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.confidentiality-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.5;
}

.confidentiality-points li svg {
  flex-shrink: 0;
  color: var(--purple);
  margin-top: 2px;
}

.donate-box {
  background: linear-gradient(145deg, var(--purple) 0%, #5E3578 100%);
  border-radius: var(--radius);
  padding: 16px 18px;
  color: var(--white);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.donate-box h3 { font-size: 0.95rem; font-weight: 700; margin: 0; }
.donate-box .btn { flex-shrink: 0; padding: 8px 14px; font-size: 0.8rem; }

.transparency-box h3 {
  font-size: 1.3rem;
  color: var(--purple-dark);
  margin-bottom: 12px;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.mini-stat {
  text-align: center;
  padding: 16px 8px;
  background: var(--lavender-bg);
  border-radius: var(--radius-sm);
}

.mini-stat strong {
  display: block;
  font-size: 1.4rem;
  color: var(--purple);
}

.mini-stat span {
  font-size: 0.78rem;
  color: var(--text-light);
}

.activity-list { list-style: none; }

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--lavender);
}

.activity-date {
  font-size: 0.8rem;
  color: var(--text-light);
  white-space: nowrap;
  min-width: 80px;
}

.activity-desc { flex: 1; font-size: 0.9rem; }

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.tag-purple { background: var(--purple-pale); color: var(--purple-dark); }
.tag-yellow { background: #FFF3CD; color: #856404; }
.tag-green { background: #D4EDDA; color: #155724; }

.donate-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.amount-btn {
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font);
  transition: all 0.2s;
}

.amount-btn:hover,
.amount-btn.selected {
  background: var(--white);
  color: var(--purple);
  border-color: var(--white);
}

.donate-secure {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  opacity: 0.85;
}

/* ===== Steps ===== */
.steps-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}

.step-card {
  text-align: center;
  padding: 28px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--purple-pale);
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--purple);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-weight: 700;
}

.step-card h4 {
  font-size: 1rem;
  color: var(--purple-dark);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== Testimonials ===== */
.testimonials-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.testimonials-track {
  display: flex;
  transition: transform 0.4s ease;
  gap: 24px;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--purple-pale);
  box-sizing: border-box;
}

.testimonial-quote {
  font-size: 2rem;
  color: var(--purple-pale);
  line-height: 1;
  margin-bottom: 12px;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--text);
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.6;
}

.testimonial-author {
  font-size: 0.85rem;
  color: var(--purple);
  font-weight: 600;
}

.slider-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--purple-pale);
  background: var(--white);
  color: var(--purple);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.slider-btn:hover {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--lavender-bg), var(--lavender));
  padding: 48px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--purple-dark);
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.page-hero-oneline {
  max-width: none;
  white-space: nowrap;
}

/* ===== About Page ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--purple-pale);
}

.about-card h3 {
  font-size: 1.2rem;
  color: var(--purple);
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.value-item {
  text-align: center;
  padding: 24px 12px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--purple-pale);
}

.value-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  color: var(--purple);
}

.value-item span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--purple-dark);
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 48px;
  max-height: 320px;
}

.about-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* ===== Services Page ===== */
#services-list {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-list-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--purple-pale);
  margin-bottom: 0;
  align-items: flex-start;
  height: 100%;
}

.service-list-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  color: var(--purple);
  background: var(--lavender);
  border-radius: 12px;
  padding: 12px;
}

.service-list-item h3 {
  font-size: 1.1rem;
  color: var(--purple-dark);
  margin-bottom: 6px;
}

.service-list-item p {
  font-size: 0.92rem;
  color: var(--text-light);
}

/* ===== Help Page ===== */
.help-steps-vertical {
  max-width: 700px;
  margin: 0 auto 48px;
}

.help-step {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  align-items: flex-start;
}

.help-step-num {
  width: 56px;
  height: 56px;
  background: var(--purple);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
}

.help-step-content h3 {
  font-size: 1.15rem;
  color: var(--purple-dark);
  margin-bottom: 8px;
}

.help-step-content p {
  color: var(--text-light);
}

.emergency-box {
  background: linear-gradient(135deg, var(--lavender), var(--purple-pale));
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  border: 2px solid var(--purple-pale);
}

.emergency-box h3 {
  font-size: 1.4rem;
  color: var(--purple-dark);
  margin-bottom: 12px;
}

.emergency-phone {
  font-size: 2rem;
  font-weight: 800;
  color: var(--purple);
  margin: 16px 0;
}

.emergency-box p {
  color: var(--text-light);
}

/* ===== Transparency Page ===== */
.tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 24px;
  border: 2px solid var(--purple-pale);
  background: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.report-list {
  max-width: 700px;
  margin: 0 auto;
}

.report-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--purple-pale);
}

.report-item span { font-weight: 600; color: var(--purple-dark); }

.transparency-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* ===== Prevention Page ===== */
.prevention-content {
  max-width: 1100px;
  margin: 0 auto;
}

.prevention-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--purple-pale);
  margin-bottom: 32px;
}

.prevention-section h2 {
  font-size: 1.5rem;
  color: var(--purple-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--purple-pale);
}

.prevention-section h3 {
  font-size: 1.15rem;
  color: var(--purple);
  margin: 24px 0 12px;
}

.prevention-section p {
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.7;
}

.prevention-section ul {
  margin: 12px 0 12px 24px;
  color: var(--text);
}

.prevention-section li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.prevention-section .note-box {
  background: var(--lavender-bg);
  border-left: 4px solid var(--purple);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 16px;
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--lavender);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.9rem;
  color: var(--purple);
  margin-bottom: 4px;
}

.contact-info-item p {
  color: var(--text-light);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.social-link:hover {
  background: var(--purple-dark);
  color: var(--white);
}

.map-placeholder {
  background: var(--lavender);
  border-radius: var(--radius);
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  border: 2px dashed var(--purple-pale);
  text-align: center;
  padding: 24px;
}

/* ===== Donate Page ===== */
.donate-page-card {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  border-radius: var(--radius);
  padding: 48px;
  color: var(--white);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.donate-page-card h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.donate-page-card p {
  opacity: 0.9;
  margin-bottom: 28px;
}

.donate-trust-badges {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.trust-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  opacity: 0.9;
}

.bank-info-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--purple-pale);
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.bank-info-box h3 {
  color: var(--purple-dark);
  margin-bottom: 16px;
}

.bank-placeholder-text {
  color: var(--text-light);
  font-style: italic;
  padding: 24px;
  background: var(--lavender-bg);
  border-radius: var(--radius-sm);
}

.how-used-section {
  background: var(--lavender-bg);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.how-used-section h3 {
  color: var(--purple-dark);
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.how-used-section p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.how-used-watermark {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 180px;
  opacity: 0.06;
}

.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

.about-text-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-text-block h3 {
  font-size: 1.2rem;
  color: var(--purple);
  margin-bottom: 12px;
}

.about-text-block p {
  color: var(--text-light);
  line-height: 1.7;
}

.about-side-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-side-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.section-compact {
  padding: 40px 0 !important;
}

.section-services-home {
  padding: 36px 0 !important;
}

.section-services-home .section-subtitle {
  margin-bottom: 24px;
}

.confidentiality-page-box {
  max-width: 960px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 56px;
  border: 1px solid var(--purple-pale);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.confidentiality-page-box .confidentiality-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin: 0 auto 20px;
}

.confidentiality-intro {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.confidentiality-page-box .confidentiality-points {
  margin-bottom: 28px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.confidentiality-page-box .btn {
  margin-top: 8px;
}

.prevention-wide .prevention-content {
  max-width: 1100px;
}

.legal-page-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-page-content h2 {
  font-size: 1.3rem;
  color: var(--purple-dark);
  margin: 28px 0 12px;
}

.legal-page-content p,
.legal-page-content li {
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 10px;
}

.legal-page-content ul {
  margin: 12px 0 12px 24px;
}

/* ===== Donate Page Enhanced ===== */
.donate-page-layout {
  width: 100%;
  max-width: 980px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 28px;
}

.donate-hero-card {
  background: linear-gradient(150deg, #8B5FA8 0%, #6B3F8F 45%, #4A2D62 100%);
  border-radius: 24px;
  padding: 56px 52px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: auto;
}

.donate-hero-card::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  top: -100px;
  right: -80px;
}

.donate-hero-card::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  bottom: -60px;
  left: -40px;
}

.donate-gift-art {
  position: absolute;
  right: 32px;
  bottom: 24px;
  width: 160px;
  height: 160px;
  opacity: 0.18;
}

.donate-hero-card h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.donate-hero-card > p {
  opacity: 0.92;
  font-size: 1.08rem;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 560px;
  position: relative;
  z-index: 1;
}

.donate-hero-card > .btn {
  position: relative;
  z-index: 1;
}

.donate-hero-card .donate-trust-badges {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
}

.donate-bank-info {
  margin-top: 40px;
  width: 100%;
  max-width: 720px;
  background: var(--white);
  color: var(--purple-dark);
  border-radius: 18px;
  padding: 32px 36px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 2;
  text-align: left;
}

.donate-bank-info-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.donate-bank-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--lavender) 0%, var(--purple-pale) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  box-shadow: 0 4px 14px rgba(107, 63, 160, 0.2);
}

.donate-bank-info h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 700;
  color: var(--purple-dark);
  margin: 0;
  letter-spacing: -0.01em;
}

.donate-bank-details {
  color: var(--text);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.65;
  padding: 22px 24px;
  background: var(--lavender-bg);
  border-radius: 14px;
  border-left: 5px solid var(--purple);
}

.donate-bank-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--purple);
}

.donate-bank-phone svg {
  flex-shrink: 0;
  color: var(--purple);
}

.donate-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}

.donate-impact-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 24px 16px;
  border: 1px solid var(--purple-pale);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.donate-impact-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.donate-impact-item svg {
  color: var(--purple);
  margin: 0 auto 10px;
}

.donate-impact-item span {
  font-size: 0.82rem;
  color: var(--text-light);
  display: block;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--lavender);
  color: var(--purple-dark);
  padding: 24px 0;
  border-top: 1px solid var(--purple-pale);
}

.footer-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--purple-pale);
}

.footer-copyright {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.55;
}

.footer-copyright .footer-social-icons {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  margin-bottom: 0;
}

.footer-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}

.footer-follow-label {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 0;
  font-weight: 500;
  white-space: nowrap;
}

.footer-social-arrow {
  color: var(--purple);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.footer-meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 8px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.footer-meta-sep {
  color: var(--text-light);
  opacity: 0.55;
  user-select: none;
}

.footer-meta-row a {
  color: var(--purple);
  font-size: 0.8rem;
}

.footer-meta-row a:hover {
  color: var(--purple-dark);
}

.footer-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-icon {
  color: var(--purple);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 2px;
}

.footer-value {
  display: block;
  font-size: 0.92rem;
  color: var(--purple-dark);
  font-weight: 700;
}

.footer-social-block { display: none; }

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 2px solid var(--purple-pale);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  transition: all 0.2s;
}

.footer-social-link:hover {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

/* legacy footer legal links — merged into footer-meta-row */
.footer-legal-links { display: none; }

.transparency-page-content {
  max-width: 900px;
  margin: 0 auto;
}

.transparency-page-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--purple-pale);
  margin-bottom: 24px;
}

.transparency-page-card h2 {
  font-size: 1.35rem;
  color: var(--purple-dark);
  margin-bottom: 16px;
}

.transparency-page-card p {
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 12px;
}

/* ===== Cookie Banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--white);
  border-top: 2px solid var(--purple-pale);
  box-shadow: 0 -4px 24px rgba(107, 63, 143, 0.15);
  padding: 16px 24px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.cookie-banner-text {
  font-size: 0.82rem;
  color: var(--text-light);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cookie-banner-text a {
  color: var(--purple);
  font-weight: 600;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-accept-box {
  margin-top: 32px;
  padding: 28px;
  background: var(--lavender-bg);
  border-radius: var(--radius);
  border: 1px solid var(--purple-pale);
  text-align: center;
}

.cookie-accept-box .cookie-page-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cookie-accept-box .btn { min-width: 160px; }

.cookie-decline-btn {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple-pale);
}

.cookie-decline-btn:hover {
  border-color: var(--purple);
  color: var(--purple-dark);
}

.cookie-accepted-msg,
.cookie-declined-msg {
  color: var(--green);
  font-weight: 600;
  margin-top: 12px;
  display: none;
}

.cookie-declined-msg { color: var(--text-light); }

.cookie-accepted-msg.show,
.cookie-declined-msg.show { display: block; }

/* legacy footer cleanup */
.footer-grid,
.footer-bottom,
.footer-col,
.footer-brand,
.footer-contact-item,
.footer-bottom-links { display: none; }

/* ===== Mobile Nav Overlay ===== */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: rgba(30, 20, 40, 0.22);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: calc(var(--header-h) + 8px);
  left: 16px;
  right: 16px;
  bottom: auto;
  max-height: min(62vh, 400px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border: 1px solid var(--purple-pale);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 999;
  padding: 8px 12px 12px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav a {
  display: block;
  padding: 10px 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--lavender);
}

.mobile-nav a:last-of-type {
  border-bottom: none;
}

.mobile-nav a.active { color: var(--purple); font-weight: 700; }

.mobile-nav .btn-donate-mobile { display: none; }

/* ===== Responsive — Tablet & Phone (max 1024px) ===== */
@media (max-width: 1024px) {
  :root { --header-h: 72px; }

  .main-nav { display: none; }
  .logo-text { display: none; }

  .header-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    height: var(--header-h);
    min-height: var(--header-h);
    padding: 0;
  }

  .logo-link { flex-shrink: 0; }

  .header-actions {
    flex: 1;
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(232, 213, 240, 0.8);
  }

  .header-actions .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 1;
    grid-row: 1;
    padding: 4px;
    margin: 0;
  }

  .header-actions .menu-toggle svg { width: 24px; height: 24px; }

  .header-actions .btn-donate-header {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .header-actions .lang-switcher {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .menu-toggle { display: flex; }
  .mobile-nav { display: block; }

  /* Cookie banner — stacked */
  .cookie-banner-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .cookie-banner-actions {
    order: -1;
    justify-content: center;
    width: 100%;
  }

  .cookie-banner-text {
    white-space: normal;
    width: 100%;
    font-size: 0.8rem;
    line-height: 1.45;
  }

  /* Urgent section */
  .section-title-urgent {
    font-size: clamp(1.65rem, 5.5vw, 2.35rem);
  }

  .transparency-box-home h3 {
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  }

  .transparency-box-home .transparency-intro {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .transparency-box-home .confidentiality-points li {
    font-size: 0.84rem;
    gap: 8px;
  }

  .transparency-box-home .confidentiality-points li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .transparency-box-home .confidentiality-icon {
    width: 56px;
    height: 56px;
  }

  .transparency-box-home .confidentiality-icon svg {
    width: 26px;
    height: 26px;
  }

  .urgent-cards {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 420px;
    margin: 0 auto;
  }

  .urgent-card {
    padding: 14px 16px;
    min-height: auto;
    gap: 10px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
  }

  .urgent-card-icon {
    width: 36px;
    height: 36px;
    grid-column: 1;
    grid-row: 1;
    margin: 0;
  }

  .urgent-card-icon svg { width: 20px; height: 20px; }

  .urgent-card h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.88rem;
    margin: 0;
    align-self: center;
  }

  .urgent-card .btn {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0;
    align-self: stretch;
    width: 100%;
    justify-content: center;
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  /* Footer */
  .footer-bar {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
    text-align: center;
  }

  .footer-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 280px;
  }

  .footer-icon { margin-top: 0; }

  /* Services list — centered */
  #services-list {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }

  .service-list-item {
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 340px;
    padding: 20px 16px;
  }

  .service-list-icon { margin: 0 auto; }

  /* Contact — centered */
  .contact-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .contact-info-list { align-items: center; width: 100%; }

  .contact-info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 320px;
    margin: 0 auto;
  }

  .contact-grid .social-links {
    justify-content: center;
    margin-top: 16px;
  }

  .contact-grid h4[style] { text-align: center !important; }

  .map-placeholder {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Values carousel base (2 visible) */
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 420px;
    margin: 0 auto;
  }

  .value-item { padding: 18px 10px; }

  .value-icon { width: 40px; height: 40px; margin-bottom: 8px; }

  .value-item span { font-size: 0.82rem; }

  /* Hero & other layout */
  .hero-content h2 { white-space: normal; }

  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content-side {
    justify-content: flex-start;
    padding: 20px 0;
  }

  .hero-content-side .container {
    max-width: none;
    padding: 0 24px;
  }

  .hero-visual {
    order: -1;
    min-height: clamp(220px, 45vw, 360px);
  }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .dual-column { grid-template-columns: 1fr; }
  .transparency-box-home { padding: 40px 32px; }
  .confidentiality-page-box { padding: 40px 32px; }
  .donate-box-home { flex-wrap: wrap; justify-content: center; text-align: center; padding: 24px; }
  .donate-box-text { white-space: normal; overflow: visible; text-overflow: unset; }
  .steps-flow { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { flex: 0 0 calc(50% - 12px); }
  .about-mission-grid { grid-template-columns: 1fr; }
  .about-side-image img { height: 280px; }
  .transparency-stats { grid-template-columns: repeat(2, 1fr); }
  .donate-box { flex-direction: column; align-items: flex-start; }
  .footer-copyright { text-align: center; margin-left: 0; width: 100%; }
  .footer-meta-row { justify-content: center; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .btn-donate-header span { display: none; }
  .btn-donate-header { padding: 8px 12px !important; }
  .lang-switcher { padding: 3px 4px; }
  .lang-btn { padding: 3px 8px; font-size: 0.72rem; }

  .header-actions { padding: 5px 10px; }

  .section { padding: 48px 0; }
  .section-urgent { padding: 40px 0; }
  .section-transparency-home { padding: 40px 0; }

  #services-list { grid-template-columns: 1fr; }

  .urgent-cards { max-width: 100%; }

  .transparency-box-home { padding: 28px 18px; gap: 12px; }
  .confidentiality-page-box { padding: 32px 20px; }
  .transparency-box-home .confidentiality-icon { width: 48px; height: 48px; }
  .transparency-box-home .confidentiality-icon svg { width: 22px; height: 22px; }
  .transparency-box-home h3 { font-size: 1.05rem; }
  .transparency-box-home .transparency-intro { font-size: 0.85rem; }
  .transparency-box-home .confidentiality-points li { font-size: 0.8rem; }
  .transparency-box-home .confidentiality-points { max-width: 100%; }
  .transparency-box-home .btn { width: 100%; max-width: 360px; justify-content: center; }
  .donate-box-home { flex-direction: column; align-items: stretch; padding: 20px; gap: 12px; }
  .donate-box-home h3 { white-space: normal; }
  .donate-box-home .btn { width: 100%; justify-content: center; }
  .page-hero-oneline { white-space: normal; }

  .footer-social-row { flex-wrap: wrap; gap: 10px; }

  .services-grid { grid-template-columns: 1fr; }
  .steps-flow { grid-template-columns: 1fr; }
  .transparency-stats { grid-template-columns: 1fr; }
  .donate-page-card { padding: 32px 24px; }
  .donate-hero-card { padding: 36px 24px; }
  .donate-bank-info { padding: 24px 20px; max-width: 100%; }
  .donate-impact-grid { grid-template-columns: repeat(2, 1fr); }
  .prevention-section { padding: 24px; }
  .emergency-box { padding: 32px 24px; }
  .emergency-phone { font-size: 1.5rem; }

  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  .mobile-nav {
    left: 12px;
    right: 12px;
    max-height: min(58vh, 360px);
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .donate-trust-badges { flex-direction: column; gap: 16px; }
  .footer-bar { flex-direction: column; }
  .footer-meta-row { gap: 4px 6px; font-size: 0.74rem; }
  .footer-meta-row a { font-size: 0.74rem; }
  .hero-banner-img { border-radius: 0; }
  .urgent-card h3 { font-size: 1rem; }
  .urgent-card .btn { width: 100%; justify-content: center; }
}

/* ===== Welcome splash ===== */
.welcome-splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--lavender-bg) 0%, var(--white) 45%, var(--lavender) 100%);
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.welcome-splash--hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.welcome-splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  padding: 24px;
}

.welcome-splash-greeting {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--purple-dark);
  margin: 0;
}

.welcome-splash-heart {
  color: var(--purple);
  line-height: 0;
}

.welcome-splash-heart svg {
  width: clamp(56px, 12vw, 80px);
  height: clamp(56px, 12vw, 80px);
  animation: welcomeHeartBeat 1.3s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(107, 63, 160, 0.25));
}

.welcome-splash-name {
  font-size: clamp(1rem, 2.8vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--purple);
  margin: 0;
}

@keyframes welcomeHeartBeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.18); }
  28% { transform: scale(1); }
  42% { transform: scale(1.12); }
  70% { transform: scale(1); }
}

body.splash-active > header,
body.splash-active > main,
body.splash-active > nav.mobile-nav,
body.splash-active > #footer-mount,
body.splash-active > .cookie-banner {
  opacity: 0;
  pointer-events: none;
}

body.page-ready > header,
body.page-ready > main,
body.page-ready > nav.mobile-nav,
body.page-ready > #footer-mount {
  animation: pagePopIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes pagePopIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .welcome-splash-heart svg { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  body.page-ready > header,
  body.page-ready > main,
  body.page-ready > nav.mobile-nav,
  body.page-ready > #footer-mount { animation: none; }
}
