@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ── TOKENS ─────────────────────────────────────── */
:root {
  --bg:            #F9F6F0;
  --surface:       #FFFFFF;
  --text:          #1C1C1E;
  --text-2:        #48484A;
  --text-muted:    #8E8E93;
  --primary:       #1B4332;
  --primary-h:     #2D6A4F;
  --primary-lt:    #D1FAE5;
  --accent:        #C9A84C;
  --accent-lt:     #FEF9EC;
  --accent-dk:     #92400E;
  --border:        #E5E1D8;
  --border-lt:     #F0EDE6;

  --sh-sm: 0 1px 4px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
  --sh-md: 0 4px 12px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.04);
  --sh-lg: 0 8px 28px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.06);
  --sh-xl: 0 20px 60px rgba(0,0,0,.12);

  --r-xs: 6px;  --r-sm: 10px; --r-md: 16px;
  --r-lg: 24px; --r-xl: 32px; --r-full: 9999px;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease:     cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(0,0,.2,1);
  --nav-h:    72px;
  --max-w:    1200px;
}

/* ── RESET ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── TYPOGRAPHY ──────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--text);
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.875rem); }
h4 { font-size: 1.1875rem; }
p  { color: var(--text-2); font-size: 1.0625rem; line-height: 1.75; }

/* ── LAYOUT ──────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px)  { .container { padding: 0 40px; } }
@media (min-width: 1200px) { .container { padding: 0 48px; } }

.section { padding: 80px 0; }
@media (min-width: 768px) { .section { padding: 120px 0; } }

.grid-2 { display: grid; gap: 32px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.grid-3 { display: grid; gap: 24px; }
@media (min-width: 640px)  { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ── SECTION LABELS ──────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ── DIVIDER ─────────────────────────────────────── */
.divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: var(--r-full);
  margin: 20px 0;
}

/* ── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-full);
  font-size: .9375rem; font-weight: 500; letter-spacing: .01em;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 2px 8px rgba(27,67,50,.28);
}
.btn-primary:hover {
  background: var(--primary-h);
  box-shadow: 0 4px 18px rgba(27,67,50,.38);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent; color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary); color: #fff;
  transform: translateY(-1px);
}
.btn-ghost { color: var(--text-2); padding: 12px 16px; }
.btn-ghost:hover { color: var(--primary); }
.btn-white {
  background: #fff; color: var(--primary);
  box-shadow: var(--sh-sm);
}
.btn-white:hover { box-shadow: var(--sh-md); transform: translateY(-1px); }

/* ── NAV ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 24px; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
@media (min-width: 768px) { .nav-inner { padding: 0 40px; } }
.nav-logo { display: flex; flex-direction: column; gap: 1px; }
.nav-logo-name {
  font-family: var(--font-serif); font-size: 1.125rem;
  font-weight: 600; color: var(--primary); line-height: 1.2;
}
.nav-logo-sub {
  font-size: .65rem; font-weight: 500; letter-spacing: .07em;
  text-transform: uppercase; color: var(--text-muted);
}
.nav-links { display: none; align-items: center; gap: 4px; }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-link {
  font-size: .9375rem; font-weight: 500; color: var(--text-2);
  padding: 8px 12px; border-radius: var(--r-sm);
  transition: color .15s, background .15s;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary); background: var(--primary-lt);
}
.nav-cta { display: none; }
@media (min-width: 768px) { .nav-cta { display: inline-flex; } }
.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: var(--r-sm);
  transition: background .15s;
}
.hamburger:hover { background: var(--border-lt); }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all .25s var(--ease);
}
@media (min-width: 900px) { .hamburger { display: none; } }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--font-serif); font-size: 2.25rem;
  font-weight: 500; color: var(--text); padding: 8px 24px;
  transition: color .15s;
}
.mobile-menu a:hover { color: var(--primary); }

/* ── HERO ─────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; background: var(--bg);
  padding-top: var(--nav-h); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 75% 45%, rgba(27,67,50,.07) 0%, transparent 65%),
    radial-gradient(ellipse 35% 40% at 15% 85%, rgba(201,168,76,.09) 0%, transparent 55%);
  pointer-events: none;
}
.hero-ornament {
  position: absolute; right: -80px; top: 50%;
  transform: translateY(-50%);
  width: 580px; height: 580px; opacity: .032;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 800px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: var(--accent-lt); border: 1px solid rgba(201,168,76,.35);
  border-radius: var(--r-full);
  font-size: .8125rem; font-weight: 500; color: var(--accent-dk);
  margin-bottom: 28px;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent); flex-shrink: 0;
}
.hero h1 { margin-bottom: 24px; line-height: 1.08; }
.hero h1 em { font-style: italic; color: var(--primary); }
.hero-desc {
  font-size: 1.1875rem; line-height: 1.65;
  color: var(--text-2); max-width: 580px; margin-bottom: 40px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .875rem; font-weight: 500; color: var(--text-muted);
}
.trust-item svg { color: var(--accent); flex-shrink: 0; }

/* ── CARDS ───────────────────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 32px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg); border-color: var(--primary-lt);
}
.card-icon {
  width: 52px; height: 52px;
  background: var(--primary-lt); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--primary);
}
.card h4 { margin-bottom: 10px; }
.card p { font-size: .9375rem; }

/* ── ABOUT SPLIT ─────────────────────────────────── */
.about-split {
  display: grid; gap: 64px; align-items: center;
}
@media (min-width: 900px) { .about-split { grid-template-columns: 1fr 1fr; } }

.photo-wrap { position: relative; }
.photo-block {
  width: 100%; max-width: 440px;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  background: linear-gradient(145deg, #1B4332 0%, #2D6A4F 55%, #52B788 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-xl); overflow: hidden; position: relative;
}
.photo-initials {
  font-family: var(--font-serif); font-size: 6rem;
  font-weight: 700; color: rgba(255,255,255,.2);
  user-select: none;
}
.photo-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-radius: var(--r-md); padding: 16px 20px;
  box-shadow: var(--sh-md);
}
.photo-badge-num {
  font-family: var(--font-serif); font-size: 2.25rem;
  font-weight: 700; color: var(--primary); line-height: 1;
}
.photo-badge-lbl {
  font-size: .8rem; color: var(--text-muted); margin-top: 3px;
}
.photo-ring {
  position: absolute; top: -20px; right: -20px;
  width: 110px; height: 110px; border-radius: 50%;
  background: var(--accent-lt); border: 4px solid rgba(201,168,76,.5);
  z-index: -1;
}

.creds-list { display: flex; flex-direction: column; gap: 12px; margin: 28px 0; }
.cred-item {
  display: flex; align-items: center; gap: 12px;
  font-size: .9375rem; color: var(--text-2);
}
.cred-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}

/* ── QUOTE BLOCK ─────────────────────────────────── */
.quote-block {
  padding: 32px 36px;
  border-left: 4px solid var(--accent);
  background: var(--accent-lt);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.quote-block blockquote {
  font-family: var(--font-serif); font-size: 1.1875rem;
  font-style: italic; color: var(--text); line-height: 1.6;
}
.quote-block cite {
  display: block; margin-top: 14px;
  font-size: .875rem; font-style: normal;
  font-weight: 500; color: var(--text-muted);
}

/* ── BLOG CARDS ──────────────────────────────────── */
.blog-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.blog-card-head { padding: 24px 24px 0; }
.blog-card-body { padding: 16px 24px; flex: 1; }
.blog-card-body h4 {
  font-size: 1.125rem; margin-bottom: 10px;
  font-family: var(--font-serif);
}
.blog-card-body p {
  font-size: .9375rem; margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  font-size: .875rem;
}
.tag {
  display: inline-block;
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--r-full);
}
.tag-cbt { background: var(--primary-lt); color: var(--primary); }
.tag-prayer { background: var(--accent-lt); color: var(--accent-dk); }
.tag-parent { background: #EDE9FE; color: #5B21B6; }

/* ── RESOURCES BANNER ────────────────────────────── */
.resources-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #2D6A4F 100%);
  position: relative; overflow: hidden;
}
.resources-banner::after {
  content: '';
  position: absolute; top: -40%; right: -15%;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(255,255,255,.04); pointer-events: none;
}
.resources-banner .section-label { color: rgba(255,255,255,.55); }
.resources-banner h2, .chip-list { position: relative; z-index: 1; }
.resources-banner h2 { color: #fff; }
.resources-banner > .container > p { color: rgba(255,255,255,.78); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip {
  padding: 8px 16px; border-radius: var(--r-full);
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.9); font-size: .875rem; font-weight: 500;
  transition: background .15s;
}
.chip:hover { background: rgba(255,255,255,.22); }

/* ── CONTACT ─────────────────────────────────────── */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.5fr; } }
.contact-info-row {
  display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px;
}
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--primary-lt); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.contact-lbl {
  font-size: .78rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 3px;
}
.contact-val { font-size: 1rem; font-weight: 500; color: var(--text); }
.contact-val a { color: var(--primary); transition: opacity .15s; }
.contact-val a:hover { opacity: .7; }

/* Form */
.form-field { margin-bottom: 20px; }
.form-label {
  display: block; font-size: .875rem; font-weight: 500;
  color: var(--text-2); margin-bottom: 8px;
}
.form-input {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  font-size: .9375rem; color: var(--text); background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
  outline: none; appearance: none;
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,67,50,.1);
}
.form-input::placeholder { color: var(--text-muted); }
textarea.form-input { resize: vertical; min-height: 130px; }

/* ── PAGE HERO (INNER PAGES) ─────────────────────── */
.page-hero {
  background: var(--primary);
  padding: calc(var(--nav-h) + 64px) 0 64px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 90% at 85% 50%, rgba(255,255,255,.045) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .section-label { color: var(--accent); }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.125rem; max-width: 540px; }

/* ── FOOTER ──────────────────────────────────────── */
.footer {
  background: var(--text); color: rgba(255,255,255,.65);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid; gap: 48px; margin-bottom: 56px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand-name {
  font-family: var(--font-serif); font-size: 1.25rem;
  font-weight: 600; color: #fff; margin-bottom: 12px;
}
.footer-brand-desc { font-size: .875rem; line-height: 1.65; max-width: 270px; margin-bottom: 20px; }
.footer-col-head {
  font-size: .72rem; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .9375rem; color: rgba(255,255,255,.6);
  transition: color .15s;
}
.footer-links a:hover { color: rgba(255,255,255,.95); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; align-items: center;
  font-size: .875rem;
}

/* ── SERVICES PAGE ───────────────────────────────── */
.service-row {
  display: grid; gap: 40px; align-items: start;
  padding: 56px 0; border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) { .service-row { grid-template-columns: 120px 1fr; } }
.service-row:last-child { border-bottom: none; }
.service-num {
  font-family: var(--font-serif); font-size: 4.5rem;
  font-weight: 700; color: var(--border); line-height: 1; user-select: none;
}
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.service-tag {
  font-size: .8rem; font-weight: 500; color: var(--primary);
  background: var(--primary-lt); border-radius: var(--r-full);
  padding: 4px 14px;
}

/* ── RESOURCES PAGE ──────────────────────────────── */
.res-group { margin-bottom: 64px; }
.res-group-head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.res-group-head h3 { font-size: 1.375rem; }
.res-grid { display: grid; gap: 12px; }
@media (min-width: 640px)  { .res-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .res-grid { grid-template-columns: repeat(3, 1fr); } }
.res-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; background: var(--surface);
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  cursor: pointer; transition: all .22s var(--ease);
}
.res-item:hover {
  border-color: var(--primary); box-shadow: var(--sh-md);
  transform: translateX(4px);
}
.res-item-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--primary-lt); border-radius: var(--r-xs);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.res-item-name { font-weight: 500; font-size: .9375rem; color: var(--text); line-height: 1.4; }
.res-item-type {
  font-size: .7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .05em; color: var(--text-muted); margin-top: 2px;
}

/* ── ANIMATIONS ──────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(22px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }
.fade-up:nth-child(5) { transition-delay: .4s; }
.fade-up:nth-child(6) { transition-delay: .5s; }

/* ── UTILITIES ───────────────────────────────────── */
.text-center  { text-align: center; }
.text-muted   { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-sm      { font-size: .875rem; }
.text-lg      { font-size: 1.125rem; }
.font-medium  { font-weight: 500; }
.font-semibold{ font-weight: 600; }
.bg-surface   { background: var(--surface); }
.bg-bg        { background: var(--bg); }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-12{ margin-top: 48px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-12{ margin-bottom: 48px; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
