/* ==========================================
   BETTER WORLD REMODELING — Stylesheet
   Colors: #4A9FD4 (blue), #1E3A6E (navy)
   Fonts: Montserrat, DM Sans
   ========================================== */

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

:root {
  --blue:       #4A9FD4;
  --blue-text:  #2B7EB5;
  --blue-dark:  #3585b8;
  --navy:       #1E3A6E;
  --navy-dark:  #132748;
  --gold:       #C8A97E;
  --gold-dark:  #a88c62;
  --gray:       #8E9EAB;
  --gray-dark:  #5F7080;
  --bg:         #F5F7FA;
  --dark:       #0D1B2A;
  --white:      #ffffff;
  --text:       #1C1C1C;
  --text-muted: #666666;
  --text-light: #444444;
  --border:     #e8edf2;
  --border-light: #f0f0f0;
  --font-head:  'Montserrat', sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;
  --font-body:  'DM Sans', sans-serif;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  20px;
  --radius-full: 100px;
}

html { scroll-behavior: smooth; }

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

/* Global grain texture for depth */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── FOCUS INDICATORS ── */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.filter-btn:focus-visible,
.social-btn:focus-visible,
.service-card:focus-visible,
.portfolio-item:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.modal-close:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(74,159,212,0.1);
}

/* ── UTILITY ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(74,159,212,0.4); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(30,58,110,0.3); }

.section-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.section-title {
  font-family: var(--font-accent);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  font-style: italic;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 18px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.8;
}

/* ── NAVIGATION ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.35s ease;
}
#navbar.scrolled {
  background: var(--navy);
  padding: 18px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo {
  display: none;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  list-style: none;
}
.nav-spacer {
  list-style: none;
  overflow: hidden;
  width: 0;
  padding: 0;
  transition: width 0.3s ease, margin 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 -14px;
}
.nav-spacer-logo {
  height: 40px;
  width: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0,0,0,0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.logo-visible .nav-spacer {
  width: 48px;
  margin: 0;
}
.logo-visible .nav-spacer-logo {
  opacity: 1;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.9;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; color: var(--blue); }
.nav-cta {
  position: absolute;
  right: 24px;
}
.nav-estimate {
  opacity: 0.9;
  color: var(--white) !important;
  border: none;
  padding: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.nav-estimate:hover { opacity: 1; color: var(--blue) !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}
.hamburger span { display: block; width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(5,13,26,0.7) 0%, rgba(5,13,26,0.5) 40%, rgba(5,13,26,0.75) 100%),
    radial-gradient(ellipse 80% 50% at 70% 40%, rgba(74,159,212,0.08) 0%, transparent 60%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding-top: 100px;
  padding-bottom: 140px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74,159,212,0.15);
  border: 1px solid rgba(74,159,212,0.4);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  margin-bottom: 28px;
}
.hero-badge span {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.hero-badge i { color: var(--blue); font-size: 0.75rem; }
.hero-logo {
  height: 180px;
  filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(0,0,0,0.4)) !important;
  width: auto;
  margin: 0 auto 24px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hero-title span {
  display: block;
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  color: var(--gold);
  text-transform: none;
  letter-spacing: 0;
  margin-top: 4px;
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; justify-content: center; }
.hero-trust {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  z-index: 2;
  background: rgba(0,0,0,0.25);
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}
.trust-item i { color: var(--gold); }
.scroll-indicator {
  position: absolute;
  bottom: 80px;
  right: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
}
.scroll-indicator span { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--white); font-family: var(--font-head); writing-mode: vertical-lr; }
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, var(--blue), transparent); animation: scrollPulse 2s ease infinite; }
@keyframes scrollPulse { 0%,100%{opacity:0.3} 50%{opacity:1} }

/* ── STATS BAR ── */
#stats {
  background: var(--navy);
  padding: 0;
  position: relative;
}
#stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(74,159,212,0.06), transparent);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
}
.stat-item {
  padding: 48px 32px;
  text-align: center;
  border-right: 1px solid rgba(200,169,126,0.15);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-accent);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 600;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── SERVICES ── */
#services {
  padding: 80px 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(200,169,126,0.03) 0%, transparent 50%), var(--bg);
}
.section-header { margin-bottom: 60px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.service-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-img img { transform: scale(1.08); }
.service-body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(30,58,110,0.12); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: rgba(74,159,212,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.3s;
}
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); }
.service-icon i { font-size: 1.4rem; color: var(--blue); transition: color 0.3s; }
.service-card:hover .service-icon i { color: var(--white); }
.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.service-link {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.service-card:hover .service-link { gap: 10px; }

/* ── ABOUT ── */
#about {
  padding: 80px 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 12px;
}
.about-badge-icon { width: 44px; height: 44px; background: rgba(74,159,212,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.about-badge-icon i { color: var(--blue); font-size: 1.2rem; }
.about-badge-text strong { display: block; font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.about-badge-text span { font-size: 0.78rem; color: var(--gray-dark); font-family: var(--font-head); }
.about-list { list-style: none; margin: 28px 0; }
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
  color: var(--text-light);
}
.about-list li:last-child { border-bottom: none; }
.about-list i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.about-highlight { font-size: 1.05rem; color: var(--navy); }

/* ── COMMUNITY ── */
#community {
  padding: 80px 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(200,169,126,0.08) 0%, transparent 60%),
    linear-gradient(160deg, var(--navy), #0a1f45);
  position: relative;
  overflow: hidden;
}

/* Watermark "1.5%" behind content */
.community-watermark {
  position: absolute;
  bottom: 20px;
  right: 24px;
  font-family: var(--font-accent);
  font-size: clamp(6rem, 10vw, 8rem);
  font-weight: 600;
  font-style: italic;
  color: var(--gold);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* Intro: label + title + lead text */
.community-intro {
  position: relative;
  max-width: 560px;
  margin-bottom: 56px;
}
#community .section-title { color: var(--white); }
#community .section-label { color: var(--gold); }
#community .section-label::before { background: var(--gold); }
.community-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-top: 16px;
}
.community-lead strong {
  color: var(--gold);
  font-weight: 700;
}

/* Causes: photo cards with overlay text */
.community-causes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.cause {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
  cursor: default;
}
.cause img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cause:hover img { transform: scale(1.05); }
.cause-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.9) 0%, rgba(13,27,42,0.3) 40%, transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.cause-content h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cause-content h3 i {
  color: var(--gold);
  font-size: 0.85rem;
}
.cause-content p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* Footer: Jewmanity link centered */
.community-footer {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.jewmanity-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  transition: all 0.2s;
}
.jewmanity-link:hover { color: var(--gold); background: rgba(200,169,126,0.1); border-color: rgba(200,169,126,0.3); }
.jewmanity-logo {
  height: 28px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.jewmanity-link:hover .jewmanity-logo { opacity: 1; }

/* ── PORTFOLIO ── */
#portfolio {
  padding: 80px 0;
  background: var(--white);
}
.portfolio-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 20px;
  min-height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid #dde3ea;
  background: var(--white);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.04em;
}
.filter-btn.active, .filter-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.portfolio-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--dark);
  cursor: pointer;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.85) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s;
}
.portfolio-item { transition: transform 0.4s ease; }
.portfolio-item:hover { transform: scale(1.02); }
/* In preview mode (All), always show overlay so categories are visible */
.preview-mode .portfolio-overlay { opacity: 1; }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h3, .portfolio-overlay span {
  transform: translateY(10px);
  transition: transform 0.3s ease 0.05s, opacity 0.3s ease;
}
.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay span { transform: translateY(0); }
.portfolio-overlay h3 { font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: 1rem; }
.portfolio-overlay span { font-size: 0.8rem; color: var(--blue); font-family: var(--font-head); font-weight: 600; }
.portfolio-btn-wrap { margin-top: 48px; }

/* ── BEFORE & AFTER ── */
#before-after {
  padding: 80px 0;
  background: var(--navy);
  color: var(--white);
}
#before-after .section-title { color: var(--white); }
#before-after .section-label { color: var(--gold); }
#before-after .section-label::before { background: var(--gold); }
#before-after .section-sub { color: rgba(255,255,255,0.6); }
.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.ba-pair {
  text-align: center;
}
.ba-pair > .ba-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 8px;
}
.ba-pair > .ba-card:first-child { margin-bottom: 8px; }
.ba-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.ba-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,0.7);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  z-index: 1;
}
.ba-label-after {
  background: var(--gold);
  color: var(--dark);
}
.ba-caption {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-top: 12px;
}

/* ── TESTIMONIALS ── */
#testimonials {
  padding: 80px 0;
  background: var(--white);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(30,58,110,0.1);
}
.stars { color: #F59E0B; margin-bottom: 16px; font-size: 0.85rem; letter-spacing: 2px; }
.testimonial-text { font-size: 0.95rem; color: var(--text-light); line-height: 1.7; margin-bottom: 24px; font-style: italic; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--white);
  font-size: 0.9rem;
}
.author-info strong { display: block; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.author-info span { font-size: 0.8rem; color: var(--gray); }
.quote-mark {
  position: absolute;
  top: 24px; right: 28px;
  font-size: 4rem;
  font-family: var(--font-accent);
  color: var(--gold);
  opacity: 0.18;
  line-height: 1;
}

/* ── FAQ ── */
#faq {
  padding: 80px 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(200,169,126,0.03) 0%, transparent 50%), var(--bg);
}
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.active { border-color: var(--gold); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  text-align: left;
  gap: 16px;
}
.faq-question i {
  color: var(--blue);
  font-size: 0.8rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ── PARTNERS ── */
#partners {
  padding: 80px 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(200,169,126,0.03) 0%, transparent 50%), var(--bg);
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.partner-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.partner-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.partner-icon {
  width: 52px;
  height: 52px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--white);
  font-size: 1.2rem;
}
.partner-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.partner-type {
  font-size: 0.9rem;
  color: var(--blue-text);
  font-weight: 600;
  margin-bottom: 12px;
}
.partner-address {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.partner-address a {
  color: var(--text-muted);
  text-decoration: none;
}
.partner-address a:hover {
  color: var(--blue);
}
.partner-hours {
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 6px;
}

/* ── GIVING RIBBON ── */
.giving-ribbon {
  background: var(--gold);
  padding: 28px 0;
}
.giving-ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}
.giving-ribbon-stat {
  font-family: var(--font-accent);
  font-size: 2.8rem;
  font-weight: 600;
  font-style: italic;
  color: var(--navy);
  line-height: 1;
  flex-shrink: 0;
}
.giving-ribbon-text {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--navy);
  opacity: 0.85;
}

/* ── CTA BANNER ── */
#cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, #0a1f45 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta-banner::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(74,159,212,0.15) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.cta-content { position: relative; z-index: 1; }
.cta-content .section-label { justify-content: center; }
.cta-content .section-label::before { background: var(--gold); }
.cta-content .section-title { color: var(--white); margin-bottom: 16px; }
.cta-content p { color: rgba(255,255,255,0.7); margin-bottom: 40px; font-size: 1.05rem; }
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-head);
  font-size: 0.85rem;
  margin-top: 24px;
}
.cta-phone i { color: var(--blue); }
.cta-phone a { color: var(--white); font-weight: 700; }

/* ── FOOTER ── */
footer {
  background: #080f1a;
  padding: 60px 0 0;
  border-top: 2px solid var(--gold);
}
.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  align-items: start;
  text-align: center;
}
.footer-brand {
  text-align: center;
  padding: 40px 0 0;
}
.footer-logo img { height: 52px; width: auto; margin: 0 auto 16px; }
.footer-desc { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.7; max-width: 400px; margin: 0 auto; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; justify-content: center; }
.social-btn {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: all 0.2s;
}
.social-btn:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }
footer h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; justify-content: center; margin-bottom: 12px; font-size: 0.88rem; color: rgba(255,255,255,0.65); }
.footer-contact-item i { color: var(--blue); margin-top: 3px; flex-shrink: 0; font-size: 0.85rem; }
.footer-cta { margin-top: 16px; font-size: 0.78rem; padding: 10px 20px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid rgba(200,169,126,0.15);
  margin-top: 8px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.footer-license { font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.site-version { font-size: 0.65rem; color: rgba(255,255,255,0.35); font-family: var(--font-head); letter-spacing: 0.05em; }

/* ── LEAD FORM MODAL ── */
#modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,15,26,0.8);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(4px);
}
#modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 520px;
  width: 100%;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s;
}
#modal-overlay.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gray);
  transition: background 0.2s;
}
.modal-close:hover { background: #e0e6ee; }
.modal h3 {
  font-family: var(--font-accent);
  font-size: 1.8rem;
  font-weight: 600;
  font-style: italic;
  color: var(--navy);
  margin-bottom: 6px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gold);
}
.modal p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 28px; margin-top: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-family: var(--font-head); font-size: 0.75rem; font-weight: 700; color: var(--navy); letter-spacing: 0.04em; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid #dde3ea;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,169,126,0.12); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-submit { width: 100%; padding: 14px; font-size: 0.9rem; }

/* ── RESPONSIVE ── */
@media (max-width: 968px) {
  /* Mobile nav for tablet */
  .nav-links { display: none; position: static; transform: none; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--navy);
    padding: 24px; gap: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    text-align: center; z-index: 100;
  }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-logo { display: block; position: static; transform: none; }
  .nav-logo img { height: 40px !important; filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0,0,0,0.4)) !important; opacity: 1 !important; pointer-events: auto !important; }
  .nav-inner { display: flex; justify-content: space-between; }
  .nav-spacer { display: none; }
  .hero-logo { height: 140px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image-wrap { max-width: 300px; margin: 0 auto 32px; }
  .about-content { text-align: center; }
  .about-list { text-align: left; display: inline-block; }
  .community-causes { grid-template-columns: 1fr 1fr; }
  .community-watermark { display: none; }
  .community-footer { flex-direction: column; align-items: flex-start; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 600px; }
  .footer-columns { grid-template-columns: 1fr 1fr 1fr; text-align: center; gap: 32px; }
  .footer-social { justify-content: center; }
  .footer-contact-item { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-links { align-items: center; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .ba-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .jewmanity-link { justify-content: center; }
  .partners-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 640px) {
  .section-header { text-align: center; }
  .section-header .section-sub { margin-left: auto; margin-right: auto; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { text-align: center; }
  .service-body { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .service-icon { margin-left: auto; margin-right: auto; }
  .service-link { justify-content: center; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-columns { grid-template-columns: 1fr; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-trust { display: none; }
  .modal { padding: 32px 24px; }
  .about-image-wrap { display: block !important; max-width: 250px; margin: 0 auto 24px; }
  .about-content .btn { width: 100%; }
  .community-causes { grid-template-columns: 1fr; }
  .community-footer { align-items: center; }
  .faq-question { font-size: 0.9rem; }
  .cta-btns { flex-direction: column; align-items: center; }
  .footer-links { padding: 0; }
  .portfolio-btn-wrap { text-align: center; }
  .portfolio-filter { justify-content: center; }
  .partners-grid { grid-template-columns: 1fr; }
  .footer-desc { text-align: center; max-width: 100%; margin-left: auto; margin-right: auto; }
  .footer-contact-item { justify-content: center; }
  .footer-cta { width: 100%; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-line { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
