/* =========================================================
   APS · Asociația Popa Soare
   Brand stylesheet · v0.1.0
   ========================================================= */

:root {
  /* Brand palette */
  --navy: #142339;
  --navy-dark: #0B1428;
  --navy-light: #243758;
  --gold: #B8860B;
  --gold-soft: #C2914A;
  --gold-dark: #8A7A50;
  --crimson: #7A1F1F;
  --green: #3D5A3A;
  --earth: #5C3A1F;
  --cream: #FAF6EC;
  --cream-warm: #F5F0DE;
  --ink: #2A2A2A;
  --muted: #6B6B6B;
  --light-muted: #8A8580;
  --white: #FFFFFF;
  --border: #E5DFD0;

  /* Typography */
  --font-serif: 'Cormorant Garamond', Cambria, Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Consolas', 'Monaco', monospace;

  /* Sizing */
  --container-max: 1200px;
  --container-pad: 1.5rem;
  --section-pad: 5rem;
  --radius: 6px;
  --radius-lg: 12px;

  /* Animation */
  --transition: 0.25s ease;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--navy);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  z-index: 1000;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 1rem;
  color: var(--cream);
}

/* =========================================================
   LAYOUT
   ========================================================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

section {
  padding: var(--section-pad) 0;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-label.light {
  color: var(--gold-soft);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section-title.light {
  color: var(--cream);
}

.subsection-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 3rem 0 1.5rem;
  color: var(--navy);
}

.section-intro {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 3rem;
  max-width: 60ch;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,134,11,0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-ghost:hover {
  background: var(--navy);
  color: var(--cream);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,246,236,0.96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
}

.brand-logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--navy);
}

.brand-tag {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 1px;
  margin-top: 2px;
}

.main-nav ul {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  padding: 0.5rem 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.main-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.lang-btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  transition: all var(--transition);
}

.lang-btn.active {
  background: var(--navy);
  color: var(--cream);
}

.lang-btn:hover:not(.active) {
  background: var(--cream-warm);
  color: var(--navy);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all var(--transition);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
  padding-top: 4rem;
  padding-bottom: 5rem;
  overflow: hidden;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 2rem;
  color: var(--navy);
}

.hero-accent {
  color: var(--gold);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--ink);
  margin-bottom: 2.5rem;
  max-width: 56ch;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  max-width: 520px;
}

.trust-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--gold-dark);
  text-transform: uppercase;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.trust-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 4px 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.trust-logo-item:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20,35,57,0.08);
}

.trust-logo-item img {
  max-height: 36px;
  max-width: 130px;
  width: auto;
  object-fit: contain;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-photo {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(20,35,57,0.20);
  display: block;
}

.hero-logo-overlay {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 96px;
  height: 96px;
  background: var(--cream);
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(20,35,57,0.18);
  border: 3px solid var(--gold);
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

.about-text p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.bible-verse {
  padding: 1.5rem;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  font-size: 1rem !important;
  color: var(--navy) !important;
  margin-top: 2rem;
}

.bible-verse em {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
}

.verse-ref {
  font-size: 0.85rem;
  color: var(--gold-dark);
  font-weight: 600;
  font-style: normal;
  display: block;
}

.about-values h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--navy);
}

.values-list li {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.values-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.value-name {
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0.25rem;
  letter-spacing: 0.5px;
}

.value-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* =========================================================
   PROJECTS
   ========================================================= */
.projects {
  background: var(--cream);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(20,35,57,0.08);
}

.project-image {
  height: 180px;
  overflow: hidden;
  background: var(--cream-warm);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-body {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.project-body .project-summary {
  flex-grow: 1;
}

.project-accent {
  position: absolute;
  top: 180px;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 2;
}

.project-crimson .project-accent { background: var(--crimson); }
.project-gold .project-accent { background: var(--gold); }
.project-green .project-accent { background: var(--green); }
.project-navy .project-accent { background: var(--navy); }

.project-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.project-summary {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.project-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
}

a.project-link:hover {
  color: var(--gold-dark);
}

/* Timeline */
.timeline {
  margin-top: 1rem;
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 2.5rem;
  border-left: 2px solid var(--gold);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.timeline-photo {
  width: 180px;
  height: 130px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-warm);
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(20, 35, 57, 0.08);
}

.timeline-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.timeline-item:hover .timeline-photo img {
  transform: scale(1.04);
}

@media (max-width: 700px) {
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .timeline-photo {
    width: 100%;
    height: 200px;
  }
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--cream);
}

.timeline-date {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.timeline-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--navy);
}

.timeline-item p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* =========================================================
   IMPACT (DARK)
   ========================================================= */
.impact {
  background: var(--navy);
  color: var(--cream);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.stat {
  text-align: center;
  padding: 2rem 1rem;
  border-left: 2px solid var(--gold);
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  font-size: 0.95rem;
  color: var(--cream);
  letter-spacing: 0.5px;
}

.testimonials {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(250,246,236,0.15);
}

.testimonials-title {
  text-align: center;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 3rem;
  font-weight: 500;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial {
  padding: 1.5rem;
  background: rgba(250,246,236,0.05);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  display: flex;
  flex-direction: column;
}

.testimonial-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid var(--gold);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--cream);
  font-size: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}

.testimonial cite {
  font-style: normal;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
}

/* =========================================================
   DONATE
   ========================================================= */
.donate {
  background: var(--cream);
}

.donate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 3rem;
}

.donate-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
  text-decoration: none;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

a.donate-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(20,35,57,0.12);
  border-color: var(--gold);
}

.donate-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}

.donate-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.donate-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
  color: var(--navy);
}

.donate-card-sub {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--gold-dark);
  margin-bottom: 1rem;
  font-weight: 500;
}

.donate-card-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.donate-cta {
  display: inline-block;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  margin-top: auto;
  padding: 0.25rem 0;
  border-bottom: 2px solid var(--gold);
}

button.donate-cta {
  background: none;
  border: none;
  border-bottom: 2px solid var(--gold);
  text-align: left;
  width: fit-content;
  padding: 0.25rem 0;
  cursor: pointer;
  font-family: inherit;
}

.iban-number {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  background: var(--cream);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin: 0.5rem 0 1rem;
  color: var(--navy);
  font-weight: 600;
  word-break: break-all;
}

.donate-iban {
  background: var(--cream-warm);
}

.donate-trust {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold);
  border-style: dashed;
}

.donate-trust p {
  font-size: 1rem;
  color: var(--navy);
  max-width: 70ch;
  margin: 0 auto;
  line-height: 1.6;
}

/* =========================================================
   TRANSPARENCY
   ========================================================= */
.transparency {
  background: var(--white);
}

.transparency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.transparency-block h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--navy);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.legal-info {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1.25rem;
  font-size: 0.95rem;
}

.legal-info dt {
  font-weight: 600;
  color: var(--gold-dark);
}

.legal-info dd {
  color: var(--ink);
}

.leadership-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.leadership-list li:last-child { border-bottom: none; }

.leader-name {
  display: block;
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
}

.leader-role {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

.docs-list li {
  padding: 0.5rem 0;
}

.docs-list a {
  color: var(--navy);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.docs-list a:hover {
  color: var(--gold);
}

.docs-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

/* Certifications — standalone section */
.certifications-section {
  background: var(--cream-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.certifications-section .cert-grid {
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.cert-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
  text-align: center;
}

.cert-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(20,35,57,0.08);
}

.cert-logo {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  padding: 0.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.cert-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cert-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
  font-family: var(--font-sans);
  font-weight: 700;
}

.cert-card p {
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.cert-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.cert-link:hover { color: var(--navy); }

.cert-note {
  text-align: center;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px dashed var(--gold);
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.5;
  margin: 0;
}

/* =========================================================
   CONTACT (DARK)
   ========================================================= */
.contact {
  background: var(--navy);
  color: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-intro {
  color: var(--cream);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 50ch;
}

.contact-list li {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(250,246,236,0.15);
}

.contact-list li:last-child {
  border-bottom: 1px solid rgba(250,246,236,0.15);
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.contact-list a {
  color: var(--cream);
  font-size: 1.05rem;
  font-weight: 500;
}

.contact-list a:hover { color: var(--gold); }

.newsletter {
  background: rgba(250,246,236,0.05);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(250,246,236,0.15);
}

.newsletter h3 {
  font-size: 1.35rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.newsletter p {
  font-size: 0.95rem;
  color: var(--cream);
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.newsletter input {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(250,246,236,0.3);
  border-radius: var(--radius);
  background: rgba(250,246,236,0.08);
  color: var(--cream);
  font-family: inherit;
  font-size: 1rem;
}

.newsletter input::placeholder { color: rgba(250,246,236,0.5); }

.newsletter input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  background: rgba(250,246,236,0.15);
}

.newsletter .btn {
  width: 100%;
  margin-bottom: 0.75rem;
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.newsletter .btn:hover {
  background: var(--cream);
  color: var(--navy);
}

.form-note {
  font-size: 0.8rem !important;
  color: rgba(250,246,236,0.6) !important;
  margin-bottom: 0 !important;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--navy-dark);
  color: var(--cream);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.footer-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  margin-bottom: 0.5rem;
  color: var(--cream);
}

.footer-tag {
  font-size: 0.9rem;
  color: var(--gold-soft);
  font-style: italic;
  line-height: 1.4;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links h4 {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.footer-links a, .footer-links span {
  color: var(--cream);
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.5;
}

.footer-links a:hover {
  color: var(--gold);
  opacity: 1;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(250,246,236,0.15);
  text-align: center;
}

.footer-verse {
  max-width: 70ch;
  margin: 0 auto 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gold-soft);
  line-height: 1.5;
}

.footer-verse em { font-style: italic; display: block; margin-bottom: 0.5rem; }
.footer-verse .verse-ref { font-style: normal; font-family: var(--font-sans); font-size: 0.85rem; color: var(--gold); }

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(250,246,236,0.6);
}

/* =========================================================
   FLOATING DONATE
   ========================================================= */
.floating-donate {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 8px 24px rgba(184,134,11,0.4);
  z-index: 99;
  transition: all var(--transition);
}

.floating-donate:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 16px 40px rgba(184,134,11,0.5);
  color: var(--navy);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 3.5rem;
  }
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .header-actions .btn { padding: 0.6rem 1rem; font-size: 0.85rem; }
  .brand-tag { display: none; }
  .brand-logo { width: 40px; height: 40px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .floating-donate { bottom: 1rem; right: 1rem; width: 52px; height: 52px; font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .header-inner { gap: 0.75rem; }
  .lang-toggle { display: none; }
  .brand-text { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  html { scroll-behavior: auto; }
}

/* Print */
@media print {
  .site-header, .floating-donate, .newsletter, .lang-toggle { display: none; }
  body { background: white; color: black; }
}


/* =========================================================
   MAP (Leaflet) — APS brand
   ========================================================= */
.map-intro {
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
}

.aps-map {
  width: 100%;
  height: 520px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(20, 35, 57, 0.08);
  background: var(--cream-warm);
  overflow: hidden;
  margin-bottom: 1rem;
}

.map-noscript {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
  align-items: center;
  margin: 1rem 0 4rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-family: var(--font-sans);
}

.map-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  vertical-align: -1px;
  margin-right: 0.35rem;
}
.map-dot-crimson { background: var(--crimson); }
.map-dot-green   { background: var(--green); }
.map-dot-gold    { background: var(--gold); }
.map-dot-navy    { background: var(--navy); }

/* Custom pin */
.aps-pin {
  background: transparent !important;
  border: none !important;
}
.aps-pin-dot {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(20, 35, 57, 0.35);
  transition: transform var(--transition);
}
.aps-pin:hover .aps-pin-dot {
  transform: scale(1.25);
}

/* Brand-aligned popup */
.aps-popup-wrapper .leaflet-popup-content-wrapper {
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(20, 35, 57, 0.18);
  padding: 0;
}
.aps-popup-wrapper .leaflet-popup-content {
  margin: 0;
  padding: 1rem 1.1rem 1.1rem;
  font-family: var(--font-sans);
  line-height: 1.5;
  min-width: 240px;
}
.aps-popup-wrapper .leaflet-popup-tip {
  background: var(--cream);
  border: 1px solid var(--border);
}
.aps-popup-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.aps-popup-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  line-height: 1.25;
}
.aps-popup-body {
  font-size: 0.88rem;
  color: var(--ink);
  margin: 0;
}

/* Leaflet attribution restyle */
.leaflet-control-attribution {
  background: rgba(250, 246, 236, 0.85) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.7rem !important;
  color: var(--muted) !important;
}
.leaflet-control-attribution a {
  color: var(--gold-dark) !important;
}

@media (max-width: 768px) {
  .aps-map { height: 380px; }
  .map-legend { font-size: 0.8rem; }
}

/* =========================================================
   NEWSLETTER — Netlify Forms
   ========================================================= */
.newsletter .hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.newsletter-success {
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(184, 134, 11, 0.4);
  background: rgba(184, 134, 11, 0.06);
  border-radius: var(--radius-lg);
}

.newsletter-success h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.newsletter-success p {
  color: var(--cream);
  opacity: 0.9;
  line-height: 1.55;
  margin: 0;
}
