/* ============================================
   DBQHelp.com — The Greene Psychology Group
   ServeBuilt | style.css
============================================ */

:root {
  --navy:       #1a2744;
  --navy-deep:  #0e1829;
  --navy-mid:   #243460;
  --gold:       #b8913a;
  --gold-light: #d4a94f;
  --gold-pale:  #f0e4c8;
  --cream:      #f9f6f0;
  --white:      #ffffff;
  --gray:       #6b7280;
  --gray-light: #9ca3af;
  --border:     #e5e7eb;
  --dark:       #111827;
  --text:       #374151;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  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; }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}

.eyebrow {
  display: inline-block;
  font-family: 'Source Serif 4', serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
section { padding: 88px 40px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.22s ease;
  border: 2px solid transparent;
  text-decoration: none;
  font-family: 'Source Serif 4', serif;
}
.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184,145,58,0.35); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,39,68,0.3); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-white:hover { background: var(--cream); transform: translateY(-2px); }

/* ===== NAV ===== */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 40px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nav-logo-mark {
  width: 38px; height: 38px; background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 700; color: white; flex-shrink: 0;
}
.nav-logo-name { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 700; color: white; }
.nav-logo-name em { color: var(--gold); font-style: normal; }
.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-menu a { color: rgba(255,255,255,0.78); font-size: 14px; transition: color 0.2s; text-decoration: none; }
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); }
.nav-cta-btn { background: var(--gold); color: white !important; padding: 9px 22px; border-radius: 3px; font-weight: 600 !important; transition: background 0.2s !important; }
.nav-cta-btn:hover { background: var(--gold-light) !important; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: all 0.25s; }
.nav-drawer { display: none; background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 24px 28px; flex-direction: column; gap: 4px; }
.nav-drawer.open { display: flex; }
.nav-drawer a { color: rgba(255,255,255,0.8); font-size: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a.drawer-cta { margin-top: 12px; background: var(--gold); color: white; text-align: center; padding: 14px; border-radius: 3px; font-weight: 600; border: none; }

/* ===== PAGE HERO ===== */
.page-hero {
  background: var(--navy);
  background-image: radial-gradient(ellipse at 75% 50%, rgba(184,145,58,0.14) 0%, transparent 55%), linear-gradient(160deg, #1a2744 0%, #0e1829 100%);
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23b8913a' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(34px, 5vw, 52px); color: white; margin-bottom: 14px; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,0.7); font-weight: 300; max-width: 560px; margin: 0 auto; }

/* ===== BREADCRUMB ===== */
.breadcrumb { background: var(--cream); border-bottom: 1px solid var(--border); padding: 11px 40px; }
.breadcrumb-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray); }
.breadcrumb-inner a { color: var(--navy); transition: color 0.2s; }
.breadcrumb-inner a:hover { color: var(--gold); }
.bc-sep { color: var(--gray-light); }

/* ===== CTA BAND ===== */
.cta-band { background: linear-gradient(135deg, var(--gold) 0%, #8b6520 100%); padding: 64px 40px; text-align: center; }
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); color: white; margin-bottom: 10px; }
.cta-band p { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 32px; font-weight: 300; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== FORM ===== */
.form-card { background: white; padding: 40px; border-radius: 6px; box-shadow: 0 4px 32px rgba(0,0,0,0.07); }
.form-card h3 { font-size: 26px; color: var(--navy); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 3px;
  font-family: 'Source Serif 4', serif; font-size: 15px; color: var(--dark); background: white;
  transition: border-color 0.2s, box-shadow 0.2s; outline: none; appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,145,58,0.12);
}
.form-group textarea { height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit {
  width: 100%; background: var(--navy); color: white; padding: 15px;
  border: none; border-radius: 3px; font-size: 15px; font-weight: 600;
  letter-spacing: 0.4px; margin-top: 6px; transition: all 0.22s;
  font-family: 'Source Serif 4', serif;
}
.form-submit:hover { background: var(--navy-mid); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,39,68,0.25); }
.form-disclaimer { font-size: 12px; color: var(--gray-light); text-align: center; margin-top: 12px; line-height: 1.5; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success-icon { font-size: 52px; margin-bottom: 14px; }
.form-success h3 { font-size: 24px; margin-bottom: 8px; color: var(--navy); }
.form-success p { color: var(--gray); font-size: 15px; line-height: 1.6; }

/* ===== FOOTER ===== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.6); }
.footer-main {
  max-width: 1100px; margin: 0 auto; padding: 56px 40px 40px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { font-size: 14px; line-height: 1.75; margin-top: 16px; max-width: 300px; color: rgba(255,255,255,0.5); }
.footer-col h4 { font-family: 'Cormorant Garamond', serif; font-size: 17px; color: white; margin-bottom: 18px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 11px; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding: 20px 40px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: var(--gold); }
.footer-disclaimer { background: rgba(0,0,0,0.2); padding: 16px 40px; font-size: 11px; color: rgba(255,255,255,0.28); text-align: center; line-height: 1.65; }

/* ===== MOBILE STICKY ===== */
.mobile-sticky { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--navy-deep); border-top: 2px solid var(--gold); padding: 10px 16px; gap: 10px; z-index: 300; }
.mobile-sticky a { flex: 1; text-align: center; padding: 13px; border-radius: 3px; font-weight: 600; font-size: 14px; text-decoration: none; font-family: 'Source Serif 4', serif; }
.ms-call { background: var(--gold); color: white; }
.ms-email { background: rgba(255,255,255,0.08); color: white; border: 1px solid rgba(255,255,255,0.25); }

/* ===== COMPONENTS ===== */
.trust-bar { background: var(--cream); border-top: 3px solid var(--gold); padding: 22px 40px; }
.trust-bar-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 20px; }
.trust-chip { display: flex; align-items: center; gap: 11px; }
.trust-chip-icon { font-size: 24px; }
.trust-chip-text strong { display: block; font-size: 14px; font-weight: 600; color: var(--navy); }
.trust-chip-text span { font-size: 12px; color: var(--gray); }

.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.feature-card { padding: 34px; border: 1px solid var(--border); border-radius: 6px; border-top: 3px solid var(--gold); transition: all 0.25s; }
.feature-card:hover { box-shadow: 0 10px 36px rgba(0,0,0,0.08); transform: translateY(-3px); }
.feature-card-icon { font-size: 34px; margin-bottom: 14px; }
.feature-card h3 { font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.feature-card p { font-size: 15px; color: var(--gray); line-height: 1.7; }

.process-strip { background: var(--navy); padding: 80px 40px; }
.process-strip .eyebrow { color: var(--gold-light); }
.process-strip h2 { color: white; margin-bottom: 10px; }
.process-strip > .wrap > p { color: rgba(255,255,255,0.6); margin-bottom: 48px; font-size: 17px; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 34px; left: 12%; right: 12%; height: 1px; background: rgba(184,145,58,0.35); }
.ps-item { padding: 28px 20px; text-align: center; position: relative; z-index: 1; }
.ps-num { width: 68px; height: 68px; background: rgba(184,145,58,0.12); border: 2px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 700; color: var(--gold); }
.ps-item h3 { font-size: 17px; color: white; margin-bottom: 8px; font-family: 'Cormorant Garamond', serif; }
.ps-item p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; }

.bio-block { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; padding: 60px 0; border-bottom: 1px solid var(--border); }
.bio-block:last-child { border-bottom: none; }
.bio-block.flip { direction: rtl; }
.bio-block.flip > * { direction: ltr; }
.bio-portrait-placeholder { width: 100%; aspect-ratio: 3/4; background: linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 100%); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 90px; color: rgba(255,255,255,0.12); position: relative; }
.bio-portrait-placeholder::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--gold); }
.bio-nametag { margin-top: 14px; padding: 14px 18px; background: white; border: 1px solid var(--border); border-left: 4px solid var(--gold); }
.bio-nametag strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 18px; color: var(--navy); }
.bio-nametag span { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: var(--gold); }
.bio-content h2 { font-size: clamp(28px, 3.5vw, 38px); margin-bottom: 6px; }
.bio-content .bio-role { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; color: var(--gold); margin-bottom: 24px; }
.bio-content p { font-size: 16px; color: var(--text); line-height: 1.8; margin-bottom: 16px; }
.bio-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.bio-tag { padding: 6px 14px; background: var(--cream); border: 1px solid var(--border); border-radius: 20px; font-size: 12px; font-weight: 600; color: var(--navy); }

.faq-list { background: var(--cream); border-radius: 6px; overflow: hidden; border: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q { width: 100%; background: none; border: none; padding: 22px 28px; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 700; color: var(--navy); transition: background 0.18s; }
.faq-q:hover { background: rgba(184,145,58,0.06); }
.faq-chevron { font-size: 18px; color: var(--gold); transition: transform 0.25s; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.25s; padding: 0 28px; font-size: 15px; color: var(--text); line-height: 1.75; }
.faq-item.open .faq-a { max-height: 400px; padding: 0 28px 22px; }

.contact-method-list { display: flex; flex-direction: column; gap: 20px; }
.contact-method { display: flex; align-items: center; gap: 16px; }
.cm-icon { width: 50px; height: 50px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.cm-text strong { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px; color: var(--navy); margin-bottom: 2px; }
.cm-text a, .cm-text span { font-size: 16px; color: var(--gold); font-weight: 600; }
.cm-text a:hover { color: var(--gold-light); }

.rating-rows { display: flex; flex-direction: column; gap: 11px; margin-top: 16px; }
.rating-row { display: flex; align-items: center; gap: 12px; }
.rating-pct { font-weight: 700; color: var(--navy); font-size: 14px; min-width: 44px; }
.rating-bg { flex: 1; height: 8px; background: #e5e7eb; border-radius: 4px; overflow: hidden; }
.rating-fill { height: 100%; background: var(--gold); border-radius: 4px; }
.rating-label { font-size: 12px; color: var(--gray); min-width: 110px; text-align: right; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.fade-up { animation: fadeUp 0.6s ease forwards; }
.fade-up-2 { animation: fadeUp 0.6s 0.15s ease both; }
.fade-up-3 { animation: fadeUp 0.6s 0.3s ease both; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  section { padding: 60px 24px; }
  .wrap { padding-left: 24px; padding-right: 24px; }
  .footer-main { padding: 40px 24px; grid-template-columns: 1fr 1fr; }
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .bio-block, .bio-block.flip { grid-template-columns: 1fr; direction: ltr; }
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-sticky { display: flex; }
  body { padding-bottom: 68px; }
}
@media (max-width: 640px) {
  .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .footer-main { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .trust-bar-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .page-hero { padding: 52px 24px; }
  .breadcrumb { padding: 10px 24px; }
}
