/* =====================================================
   TRES DIAS PORTUGAL — Design System v3
   Dark-first. Mobile-first. Elevation-inspired.
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---- TOKENS ---- */
/* Shared (theme-independent) tokens */
:root {
  --gold:      #C9973E;
  --gold2:     #E0B055;
  --gold-dim:  rgba(201,151,62,0.12);
  --gold-dim2: rgba(201,151,62,0.22);
  --navy:      #1B3A6B;
  --red:       #CC2200;

  --radius-sm:  6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --max-w: 1140px;
  --nav-h: 68px;
}

/* ===== DARK THEME (default) ===== */
:root,
[data-theme="dark"] {
  --bg:        #0D1117;
  --bg2:       #131B2A;
  --bg3:       #1A2438;
  --surface:   #16202E;
  --surface2:  #1E2B3C;
  --border:    rgba(255,255,255,0.08);
  --border2:   rgba(255,255,255,0.14);
  --white:     #FFFFFF;
  --text:      #E2E8F0;
  --muted:     #8896A7;

  --logo-nav:    url('/assets/img/logo-cross.svg');
  --logo-footer: url('/assets/img/logo-full.svg');

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.5);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.6);
}

/* ===== LIGHT THEME (cream + azulejo blue) ===== */
[data-theme="light"] {
  --bg:        #FBF6EC;
  --bg2:       #F3EBD9;
  --bg3:       #EFE6D0;
  --surface:   #FFFFFF;
  --surface2:  #F7F1E3;
  --border:    rgba(27,58,107,0.12);
  --border2:   rgba(27,58,107,0.22);
  --white:     #1B3A6B;
  --text:      #2C3E5C;
  --muted:     #6B7A92;

  --logo-nav:    url('/assets/img/logo-light.png');
  --logo-footer: url('/assets/img/logo-light.png');

  --shadow-sm: 0 2px 8px rgba(27,58,107,0.08);
  --shadow-md: 0 8px 24px rgba(27,58,107,0.10);
  --shadow-lg: 0 20px 48px rgba(27,58,107,0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* =====================================================
   NAVIGATION
   ===================================================== */
.site-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-logo-text {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
}

.nav-logo-text span { color: var(--gold); }

/* Nav links — desktop */
.nav-links {
  display: flex;
  align-items: center;
  gap: .1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}

.nav-links > li { position: relative; }

.nav-links a {
  display: inline-block;
  padding: .45rem .8rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a.active { background: rgba(255,255,255,.06); }

/* Dropdown */
.nav-dropdown > a::after {
  content: ' ▾';
  font-size: .65rem;
  opacity: .5;
}

.dropdown-menu {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: .5rem;
  list-style: none;
  margin: 0;
  transition: opacity .15s, visibility .15s, transform .15s;
  transform-origin: top center;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  visibility: visible;
  opacity: 1;
}

.dropdown-menu li a {
  display: block;
  padding: .6rem .9rem;
  font-size: .82rem;
  border-radius: var(--radius-sm);
  color: var(--text);
}

.dropdown-menu li a:hover {
  background: rgba(255,255,255,.06);
  color: var(--white);
}

/* Nav right */
.nav-right {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: .25rem .6rem;
  gap: 2px;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: .72rem;
  font-weight: 700;
  color: var(--muted);
  padding: .1rem .25rem;
  letter-spacing: .5px;
  transition: color .15s;
  border-radius: 3px;
}

.lang-btn:hover,
.lang-btn.lang-active { color: var(--white); }
.lang-btn.lang-active { background: rgba(255,255,255,.1); }
.lang-sep { color: var(--border2); font-size: .7rem; }

/* Login CTA */
.nav-cta {
  background: var(--gold);
  color: #0D1117 !important;
  border-radius: 20px !important;
  padding: .42rem 1.1rem !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
  transition: background .15s !important;
}

.nav-cta:hover { background: var(--gold2) !important; color: #0D1117 !important; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: .45rem .5rem;
  flex-direction: column;
  gap: 4px;
  transition: border-color .15s;
}

.hamburger:hover { border-color: var(--border2); }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; }

/* ---- MOBILE OVERLAY MENU ---- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  flex-direction: column;
  padding: var(--nav-h) 2rem 2rem;
  overflow-y: auto;
}

.mobile-menu.open { display: flex; }

.mobile-menu-links {
  list-style: none;
  padding: 2rem 0 0;
  margin: 0;
  flex: 1;
}

.mobile-menu-links li { border-bottom: 1px solid var(--border); }

.mobile-menu-links a {
  display: block;
  padding: 1rem .25rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition: color .15s;
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active { color: var(--gold); }

.mobile-menu-links .sub-link {
  font-size: 1rem;
  font-weight: 500;
  padding: .6rem .75rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

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

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 0 1rem; }
  .nav-logo img { height: 38px; }
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  padding: 7rem 1.5rem 8rem;
  text-align: center;
}

/* Subtle cross watermark in hero bg */
.hero-bg-cross {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  opacity: .025;
  pointer-events: none;
  filter: blur(2px);
}

.hero-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  border: 1px solid var(--gold-dim2);
  background: var(--gold-dim);
  padding: .3rem 1rem;
  border-radius: 20px;
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--white);
  margin: 0 0 1.25rem;
  max-width: 14ch;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.hero-badge {
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .3px;
}

.hero-badge strong { color: var(--white); }

/* Page hero (interior pages) — shorter */
.hero-page {
  padding: 5rem 1.5rem 6rem;
}

.hero-page .hero-bg-cross { width: 400px; }

/* =====================================================
   CONTAINERS
   ===================================================== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 780px; margin: 0 auto; padding: 0 1.5rem; }
.container-xs { max-width: 560px; margin: 0 auto; padding: 0 1.5rem; }

/* =====================================================
   SECTIONS
   ===================================================== */
.section { padding: 5rem 0; }
.section-dark  { background: var(--bg); }
.section-mid   { background: var(--bg2); }
.section-light { background: var(--bg3); }

.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 .75rem;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0;
}

.section-header.center p { margin: 0 auto; }

/* =====================================================
   CARDS
   ===================================================== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .2s;
}

.card:hover {
  border-color: var(--border2);
  transform: translateY(-3px);
}

.card-gold {
  border-color: var(--gold-dim2);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(201,151,62,0.07) 100%);
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 .6rem;
}

.card p {
  color: var(--muted);
  font-size: .93rem;
  flex-grow: 1;
  margin: 0;
}

.card-icon {
  font-size: 1.8rem;
  margin-bottom: .9rem;
  line-height: 1;
}

/* =====================================================
   GRIDS
   ===================================================== */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.75rem;
  border-radius: 30px;
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .2px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
  gap: .4rem;
}

.btn-primary {
  background: var(--gold);
  color: #0D1117;
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold2);
  border-color: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,151,62,.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--border2);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.3);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold-dim2);
}
.btn-ghost:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
}

.btn-lg { padding: .95rem 2.25rem; font-size: .96rem; }
.btn-sm { padding: .5rem 1.1rem; font-size: .78rem; }
.btn-full { width: 100%; }

/* =====================================================
   DIVIDERS & DECORATIONS
   ===================================================== */
.divider {
  height: 1px;
  background: var(--border);
  margin: 2.5rem 0;
}

.gold-line {
  width: 40px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: .75rem 0 1.5rem;
}

.center .gold-line { margin-left: auto; margin-right: auto; }

/* =====================================================
   SCRIPTURE
   ===================================================== */
.scripture {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
}

.scripture-ref {
  display: block;
  margin-top: .5rem;
  font-style: normal;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gold);
}

/* =====================================================
   HIGHLIGHT / CALLOUT BOX
   ===================================================== */
.callout {
  background: var(--gold-dim);
  border: 1px solid var(--gold-dim2);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  color: var(--text);
  font-size: .93rem;
}

.callout strong { color: var(--white); }
.callout.blue {
  background: rgba(27,58,107,.2);
  border-color: rgba(27,58,107,.4);
}

/* =====================================================
   WEEKEND CARDS
   ===================================================== */
.weekend-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color .2s, transform .2s;
}

.weekend-card:hover {
  border-color: var(--gold-dim2);
  transform: translateY(-3px);
}

.wc-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: .2rem .75rem;
  border-radius: 20px;
  margin-bottom: .75rem;
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid var(--gold-dim2);
}

.wc-tag.women {
  background: rgba(139,92,246,.12);
  color: #A78BFA;
  border-color: rgba(139,92,246,.25);
}

.weekend-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 .25rem;
}

.wc-dates {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  margin: .25rem 0 .75rem;
  letter-spacing: -.02em;
}

.wc-dates.women { color: #A78BFA; }
.wc-contact { font-size: .82rem; color: var(--muted); margin-bottom: 1rem; }
.wc-contact a { color: var(--muted); text-decoration: none; }
.wc-contact a:hover { color: var(--gold); }

/* =====================================================
   STEP NUMBERS
   ===================================================== */
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--gold-dim2);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-bottom: 1rem;
}

/* =====================================================
   STATS ROW
   ===================================================== */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  padding: 1.5rem 2.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.04em;
  line-height: 1;
}

.stat-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .3rem;
}

@media (max-width: 600px) {
  .stat-item { padding: 1.25rem 1.5rem; border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .stat-num { font-size: 2.2rem; }
}

/* =====================================================
   TESTIMONY
   ===================================================== */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--gold);
  opacity: .3;
  position: absolute;
  top: .5rem;
  left: 1.25rem;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial p {
  font-style: italic;
  color: var(--text);
  font-size: .95rem;
  margin: 0 0 .75rem;
  padding-top: 1.5rem;
}

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

/* =====================================================
   FAQ ACCORDION
   ===================================================== */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: .5rem;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: var(--surface);
  padding: 1.1rem 1.25rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .93rem;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  transition: background .15s;
  gap: 1rem;
}

.faq-q:hover { background: var(--surface2); }
.faq-q::after { content: '+'; font-size: 1.3rem; color: var(--gold); flex-shrink: 0; font-weight: 300; }
.faq-q.open { background: var(--surface2); }
.faq-q.open::after { content: '−'; }

.faq-a {
  display: none;
  padding: 0 1.25rem 1.1rem;
  color: var(--muted);
  font-size: .9rem;
  background: var(--surface2);
  border-top: 1px solid var(--border);
  line-height: 1.65;
}

.faq-a.open { display: block; }

/* =====================================================
   BELIEFS LIST
   ===================================================== */
.beliefs-list { list-style: none; padding: 0; margin: 0; }

.beliefs-list li {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

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

.belief-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-dim2);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 800;
}

.belief-text { color: var(--text); font-size: .93rem; }
.belief-ref { font-size: .78rem; color: var(--gold); margin-top: .3rem; font-style: italic; }

/* =====================================================
   GROUP CARDS (Pequenos Grupos)
   ===================================================== */
.group-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color .2s;
}

.group-card:hover { border-color: var(--border2); }

.group-status {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: .22rem .75rem;
  border-radius: 20px;
  margin-bottom: .9rem;
}

.status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-open    { color: #4ADE80; background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.2); }
.status-full    { color: #F87171; background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.2); }
.status-forming { color: var(--gold); background: var(--gold-dim); border: 1px solid var(--gold-dim2); }

.group-name { font-size: 1.1rem; font-weight: 700; color: var(--white); margin: 0 0 .3rem; }
.group-meta { font-size: .8rem; color: var(--muted); margin: 0 0 .75rem; line-height: 1.6; }
.group-desc { font-size: .88rem; color: var(--muted); margin: 0 0 1rem; }

/* =====================================================
   GIVING / PRICING
   ===================================================== */
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--gold-dim2);
  background: linear-gradient(145deg, var(--surface) 0%, rgba(201,151,62,.08) 100%);
}

.price-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: .25rem;
}

.price-num.gold { color: var(--gold); }
.price-period { font-size: .85rem; color: var(--muted); font-weight: 500; }

/* Legacy card */
.legacy-card {
  background: var(--surface);
  border: 1px solid var(--gold-dim2);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.legacy-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* =====================================================
   CONTACT
   ===================================================== */
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color .2s;
}

.contact-method:hover { border-color: var(--border2); }
.contact-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: .15rem; }
.contact-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold); margin: 0 0 .2rem; }
.contact-value { font-weight: 600; color: var(--white); margin: 0; font-size: .9rem; word-break: break-all; }
.contact-value a { color: var(--white); text-decoration: none; }
.contact-value a:hover { color: var(--gold); }

/* =====================================================
   FORMS
   ===================================================== */
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .8rem; font-weight: 700; margin-bottom: .4rem; color: var(--text); letter-spacing: .2px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-md);
  font-size: .9rem;
  font-family: inherit;
  color: var(--white);
  transition: border-color .15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.alert { padding: .9rem 1.1rem; border-radius: var(--radius-md); margin-bottom: 1.1rem; font-size: .88rem; }
.alert-error   { background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.3); color: #F87171; }
.alert-success { background: rgba(74,222,128,.1);  border: 1px solid rgba(74,222,128,.3);  color: #4ADE80; }
.alert-info    { background: var(--gold-dim);      border: 1px solid var(--gold-dim2);     color: var(--gold); }

/* =====================================================
   MEMBERS / DOCS
   ===================================================== */
.doc-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: .6rem;
  transition: border-color .2s;
}

.doc-item:hover { border-color: var(--gold-dim2); }
.doc-icon { font-size: 1.3rem; flex-shrink: 0; }
.doc-title { font-weight: 600; color: var(--white); margin: 0 0 .15rem; font-size: .9rem; }
.doc-desc  { font-size: .78rem; color: var(--muted); margin: 0; }

/* =====================================================
   ADMIN TABLE
   ===================================================== */
.admin-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.admin-table th { background: var(--surface2); color: var(--muted); text-align: left; padding: .7rem 1rem; font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; border-bottom: 1px solid var(--border); }
.admin-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--border); color: var(--text); vertical-align: top; }
.admin-table tr:hover td { background: var(--surface); }

/* =====================================================
   COMING SOON
   ===================================================== */
.coming-soon {
  text-align: center;
  padding: 4rem 2rem;
  border: 2px dashed var(--border2);
  border-radius: var(--radius-xl);
}

.coming-soon .cs-icon { font-size: 3rem; margin-bottom: 1rem; }
.coming-soon h3 { font-size: 1.5rem; font-weight: 800; color: var(--white); margin: 0 0 .75rem; }
.coming-soon p { color: var(--muted); max-width: 400px; margin: 0 auto 1.75rem; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3.5rem 1.5rem 2rem;
  text-align: center;
  margin-top: 0;
}

.footer-logo { height: 56px; margin: 0 auto .75rem; }

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .3rem 1rem;
  margin: 1rem 0;
}

.footer-links a {
  font-size: .8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}

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

.footer-copy {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 1.5rem;
}

/* =====================================================
   UTILITIES
   ===================================================== */
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--muted); }
.text-white  { color: var(--white); }
.font-bold   { font-weight: 700; }

.mt-1 { margin-top: .5rem; }  .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.mt-5 { margin-top: 4rem; }
.mb-0 { margin-bottom: 0; }   .mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2.5rem; }

/* =====================================================
   RESPONSIVE UTILITIES
   ===================================================== */
@media (max-width: 600px) {
  .hero { padding: 4.5rem 1.25rem 5.5rem; }
  .hero-page { padding: 3.5rem 1.25rem 4.5rem; }
  .section { padding: 3.5rem 0; }
  .container, .container-sm, .container-xs { padding: 0 1.25rem; }
  .legacy-card { padding: 1.75rem 1.25rem; }
}


/* =====================================================
   THEME TOGGLE & THEME-AWARE LOGOS
   ===================================================== */

/* Theme-swappable logos: img becomes a masked/background element */
.nav-logo .logo-img {
  height: 44px;
  width: 56px;
  background-image: var(--logo-nav);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.footer-logo-themed {
  height: 56px;
  width: 80px;
  margin: 0 auto .75rem;
  background-image: var(--logo-footer);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.hero-bg-cross-themed {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 500px; height: 500px;
  background-image: var(--logo-nav);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: .025;
  pointer-events: none;
  filter: blur(1px);
}
.hero-page .hero-bg-cross-themed { width: 400px; height: 400px; }

@media (max-width: 480px) {
  .nav-logo .logo-img { height: 38px; width: 48px; }
}

/* Theme toggle button */
.theme-toggle {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: background .15s, border-color .15s, transform .15s;
  padding: 0;
  flex-shrink: 0;
}
.theme-toggle:hover { background: var(--gold-dim); border-color: var(--gold-dim2); transform: scale(1.08); }

[data-theme="light"] .theme-toggle { background: rgba(27,58,107,.05); }
[data-theme="light"] .theme-toggle:hover { background: var(--gold-dim); }

/* The icon swaps automatically: show moon in dark, sun in light */
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: inline; }
[data-theme="light"] .theme-toggle .icon-sun  { display: inline; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Light-theme refinements for elements that assumed dark */

/* Nav + footer backgrounds follow --bg automatically, but ensure contrast */
[data-theme="light"] .site-nav { background: var(--bg); border-bottom-color: var(--border); }
[data-theme="light"] .site-footer { background: var(--bg2); }
[data-theme="light"] .nav-links a { color: var(--muted); }
[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active { color: var(--navy); }
[data-theme="light"] .nav-links a.active { background: rgba(27,58,107,.06); }

/* Hero gradient text stays navy on light */
[data-theme="light"] .hero h1 { color: var(--navy); }
[data-theme="light"] .hero h1 em { color: var(--gold); }
[data-theme="light"] .section-header h2 { color: var(--navy); }
[data-theme="light"] .nav-logo-text { color: var(--navy); }
[data-theme="light"] .nav-logo-text span { color: var(--gold); }

/* Lang/theme toggles on light */
[data-theme="light"] .lang-toggle { background: rgba(27,58,107,.05); border-color: var(--border); }
[data-theme="light"] .lang-btn { color: var(--muted); }
[data-theme="light"] .lang-btn:hover,
[data-theme="light"] .lang-btn.lang-active { color: var(--navy); }
[data-theme="light"] .lang-btn.lang-active { background: rgba(27,58,107,.08); }
[data-theme="light"] .lang-sep { color: var(--border2); }

/* Mobile menu on light */
[data-theme="light"] .mobile-menu { background: var(--bg); }
[data-theme="light"] .hamburger { border-color: var(--border2); }
[data-theme="light"] .hamburger span { background: var(--navy); }
[data-theme="light"] .mobile-menu-links a { color: var(--text); }
[data-theme="light"] .mobile-menu-links a:hover,
[data-theme="light"] .mobile-menu-links a.active { color: var(--gold); }

/* Buttons: secondary needs visible border on light */
[data-theme="light"] .btn-secondary { color: var(--navy); border-color: var(--border2); }
[data-theme="light"] .btn-secondary:hover { background: rgba(27,58,107,.06); border-color: var(--navy); }

/* Cards / surfaces use variables already, just soften card borders */
[data-theme="light"] .card,
[data-theme="light"] .weekend-card,
[data-theme="light"] .group-card,
[data-theme="light"] .price-card,
[data-theme="light"] .legacy-card,
[data-theme="light"] .testimonial,
[data-theme="light"] .contact-method,
[data-theme="light"] .doc-item,
[data-theme="light"] .faq-item { box-shadow: var(--shadow-sm); }

/* Scripture box on light */
[data-theme="light"] .scripture { background: var(--surface2); color: var(--text); }

/* FAQ answer panel on light */
[data-theme="light"] .faq-q { background: var(--surface); color: var(--text); }
[data-theme="light"] .faq-q:hover,
[data-theme="light"] .faq-q.open { background: var(--surface2); }
[data-theme="light"] .faq-a { background: var(--surface2); color: var(--muted); }

/* Stat numbers navy on light */
[data-theme="light"] .stat-num { color: var(--navy); }

/* Hero badges border on light */
[data-theme="light"] .hero-badge strong { color: var(--navy); }

/* Smooth theme transition */
body, .site-nav, .site-footer, .card, .weekend-card, .group-card,
.price-card, .legacy-card, .testimonial, .scripture, .callout,
.contact-method, .faq-q, .faq-a, .btn {
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

/* Light-theme logo is the full portrait azulejo logo — adjust proportions */
[data-theme="light"] .nav-logo .logo-img {
  width: 38px;
  height: 48px;
  background-size: contain;
}
[data-theme="light"] .nav-logo-text { display: block; color: var(--navy); }
[data-theme="light"] .nav-logo-text span { color: var(--gold); }
[data-theme="light"] .footer-logo-themed {
  width: 110px;
  height: 150px;
  background-size: contain;
}
[data-theme="light"] .hero-bg-cross-themed {
  width: 340px; height: 480px;
  opacity: .04;
}
[data-theme="light"] .hero-page .hero-bg-cross-themed { width: 260px; height: 370px; }

/* =====================================================
   PRAYER VIGIL WHEEL
   ===================================================== */
.prayer-tabs {
  display: flex;
  gap: .5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.prayer-tab {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: .7rem 1.4rem;
  border-radius: 30px;
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .18s ease;
}
.prayer-tab:hover { border-color: var(--gold-dim2); color: var(--white); }
.prayer-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #0D1117;
}

.prayer-wheel-wrap { min-height: 200px; }

.prayer-day { margin-bottom: 2rem; }
.prayer-day-label {
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}

.prayer-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .6rem;
}

.prayer-slot {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: .8rem .9rem;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', sans-serif;
  transition: all .15s ease;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.prayer-slot:hover { transform: translateY(-2px); border-color: var(--gold-dim2); box-shadow: var(--shadow-sm); }

.prayer-slot .slot-time { font-size: .92rem; font-weight: 700; color: var(--white); }
.prayer-slot .slot-status { font-size: .74rem; }

.prayer-slot.needed { border-style: dashed; border-color: var(--border2); }
.prayer-slot.needed .slot-needed { color: var(--muted); font-style: italic; }

.prayer-slot.filled { border-color: var(--gold-dim2); background: var(--gold-dim); }
.prayer-slot.filled .slot-count {
  color: var(--gold);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.prayer-slot.filled .slot-count::before { content: '🙏'; }

/* Prayer modal */
.prayer-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(3px);
}
.prayer-modal.open { display: flex; }
.prayer-modal-box {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 440px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}
.prayer-modal-close {
  position: absolute;
  top: .9rem; right: 1rem;
  background: none; border: none;
  font-size: 1.8rem; line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.prayer-modal-close:hover { color: var(--white); }

.modal-signups { margin: 1rem 0 1.5rem; }
.modal-signups-label { font-size: .82rem; color: var(--muted); margin: 0 0 .5rem; }
.signup-chip {
  display: inline-block;
  background: var(--gold-dim);
  border: 1px solid var(--gold-dim2);
  color: var(--gold);
  border-radius: 20px;
  padding: .2rem .7rem;
  font-size: .78rem;
  font-weight: 600;
  margin: 0 .3rem .3rem 0;
}

/* Inline subscribe (prayer alerts) */
.inline-subscribe {
  display: flex;
  gap: .6rem;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.inline-subscribe input {
  flex: 1;
  min-width: 140px;
  padding: .75rem 1rem;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-md);
  font-size: .9rem;
  font-family: inherit;
  color: var(--white);
}
.inline-subscribe input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-dim); }

@media (max-width: 480px) {
  .inline-subscribe { flex-direction: column; }
  .inline-subscribe input, .inline-subscribe .btn { width: 100%; }
  .prayer-slots { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}

/* =====================================================
   PRAYVINE SECTION & NUDGE
   ===================================================== */
.prayvine-section {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(201,151,62,.06) 100%);
  border: 1px solid var(--gold-dim2);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
}
.prayvine-section-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.prayvine-section h2 { margin: .5rem 0; }
.prayvine-section p { color: var(--muted); max-width: 520px; margin: 0 auto 2rem; font-size:.97rem; }
.prayvine-btn { font-size: 1rem; padding: .9rem 2.5rem; }
.prayvine-note { font-size: .78rem; color: var(--muted); margin-top: .9rem; }

/* Prayvine nudge inside the prayer modal (post-signup) */
.prayvine-nudge {
  display: flex;
  align-items: center;
  gap: .9rem;
  background: rgba(55,48,163,.1);
  border: 1px solid rgba(99,102,241,.25);
  border-radius: var(--radius-md);
  padding: .9rem 1rem;
  margin-top: .75rem;
  flex-wrap: wrap;
}
.prayvine-nudge-icon { font-size: 1.5rem; flex-shrink: 0; }
.prayvine-nudge > div { flex: 1; min-width: 120px; }
.prayvine-nudge > div strong { color: var(--white); font-size: .9rem; }
.prayvine-nudge > .btn { flex-shrink: 0; }

/* GDPR consent */
.gdpr-consent { margin-bottom: 1.25rem; }
.gdpr-label {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  cursor: pointer;
  font-size: .83rem;
  color: var(--muted);
  line-height: 1.5;
}
.gdpr-label input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: .15rem;
  accent-color: var(--gold);
  cursor: pointer;
}
.gdpr-label:hover span { color: var(--text); }

.gdpr-notice {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: .9rem 1.1rem;
}
.gdpr-notice p {
  font-size: .78rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* Light theme adjustments */
[data-theme="light"] .prayvine-section { background: var(--surface); }
[data-theme="light"] .prayvine-nudge { background: rgba(55,48,163,.05); }

/* =====================================================
   TIMEZONE BAR & SELECTOR
   ===================================================== */
.tz-bar {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.5rem;
  font-size: .82rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.tz-label strong { color: var(--text); }

.tz-change-btn {
  background: none;
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: .2rem .65rem;
  font-size: .75rem;
  font-family: 'Inter', sans-serif;
  color: var(--gold);
  cursor: pointer;
  transition: all .15s;
}
.tz-change-btn:hover { background: var(--gold-dim); border-color: var(--gold-dim2); }

.tz-selector-wrap {
  margin-top: .5rem;
  width: 100%;
}
.tz-select {
  width: 100%;
  max-width: 360px;
  padding: .55rem .9rem;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-md);
  font-size: .85rem;
  font-family: 'Inter', sans-serif;
  color: var(--white);
  cursor: pointer;
}
.tz-select:focus { outline: none; border-color: var(--gold); }

[data-theme="light"] .tz-select { color: var(--navy); }

/* Field note (below input) */
.field-note {
  font-size: .76rem;
  color: var(--gold);
  margin: .35rem 0 0;
  line-height: 1.45;
}

/* =====================================================
   PRAYER NARRATIVE BLOCK
   ===================================================== */
.prayer-narrative-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 2rem 2.25rem;
  margin-top: 2rem;
}

.prayer-narrative-block p {
  color: var(--text);
  font-size: .97rem;
  line-height: 1.85;
  margin: 0 0 1.25rem;
  font-style: italic;
}

.prayer-narrative-block p:last-child { margin-bottom: 0; }

.prayer-narrative-call {
  font-style: normal !important;
  font-weight: 700;
  font-size: 1.05rem !important;
  color: var(--white) !important;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: 1.25rem;
}

[data-theme="light"] .prayer-narrative-block {
  background: var(--surface);
  border-color: var(--border);
  border-left-color: var(--gold);
}

[data-theme="light"] .prayer-narrative-call { color: var(--navy) !important; }

/* =====================================================
   PRAYER PAGE — SCRIPTURE GRID & TAGLINE
   ===================================================== */
.prayer-tagline-block {
  text-align: center;
  margin-bottom: 2rem;
}
.prayer-tagline {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 0;
}
.tagline-accent {
  font-style: normal;
  color: var(--white); /* = #1B3A6B navy in light theme, #fff in dark theme */
}

.scripture-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.scripture-feature {
  border-left-width: 4px;
  font-size: 1rem;
}

/* =====================================================
   PRAYVINE STRONG NUDGE (post-signup modal)
   ===================================================== */
.prayvine-nudge-strong {
  margin-top: 1rem;
  background: linear-gradient(135deg, rgba(55,48,163,.15) 0%, rgba(99,102,241,.08) 100%);
  border: 2px solid rgba(99,102,241,.35);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}
.prayvine-nudge-strong-head {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: .5rem;
}
.prayvine-nudge-strong-desc {
  font-size: .83rem;
  color: var(--muted);
  margin: 0 0 1rem;
  line-height: 1.55;
}
.prayvine-nudge-strong-note {
  font-size: .73rem;
  color: var(--muted);
  margin: .3rem 0 0;
  opacity: .8;
}

[data-theme="light"] .prayvine-nudge-strong {
  background: rgba(55,48,163,.06);
  border-color: rgba(99,102,241,.2);
}
[data-theme="light"] .prayvine-nudge-strong-head { color: var(--navy); }
