/* ============================================================
   JDMR Group — styles.css
   Strategic Special Needs Advisory
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --navy:        #0B2545;
  --navy-light:  #1a3a5c;
  --gold:        #C9A84C;
  --gold-dark:   #a88630;
  --cream:       #F7F5F0;
  --white:       #ffffff;
  --gray-100:    #f5f5f3;
  --gray-200:    #e6e4df;
  --gray-500:    #6b7280;
  --gray-700:    #374151;
  --text-dark:   #0f1923;
  --text-body:   #3d4a5c;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --container-max:    1180px;
  --section-padding:  6rem 1.5rem;
  --radius:           6px;
  --shadow:           0 4px 24px rgba(11,37,69,0.08);
  --shadow-lg:        0 16px 48px rgba(11,37,69,0.14);
  --transition:       0.22s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Container --- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; }
p  { font-size: 1rem; line-height: 1.75; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn--outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-navy:hover { background: var(--navy); color: var(--white); }

.btn--lg { padding: 1.1rem 2.25rem; font-size: 1.02rem; }

/* --- Section Labels --- */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(11,37,69,0.08);
  transition: var(--transition);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__logo img { height: 53px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.01em;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--gold); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/j-image.png');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.3;
}
.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(11,37,69,0.94) 42%, rgba(11,37,69,0.45) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 9rem 0 6rem;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
}
.hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin-bottom: 2.75rem;
  line-height: 1.8;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--cream);
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
}
.trust-item__icon { color: var(--gold); font-size: 1rem; }

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: var(--section-padding);
  background: var(--white);
}
.services__header {
  max-width: 580px;
  margin-bottom: 3.75rem;
}
.services__header h2 { margin-bottom: 1rem; }
.services__header p { color: var(--gray-500); font-size: 1.05rem; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--cream);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  position: relative;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.service-card__num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.22;
  line-height: 1;
  margin-bottom: 1rem;
}
.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.72;
}
.services__cta {
  margin-top: 3rem;
  text-align: center;
}

/* ============================================================
   WHY JDMR
   ============================================================ */
.why {
  padding: var(--section-padding);
  background: var(--navy);
}
.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why .section-label { color: var(--gold); }
.why h2 { color: var(--white); margin-bottom: 1.5rem; }
.why h2 em { font-style: normal; color: var(--gold); }
.why p { color: rgba(255,255,255,0.7); margin-bottom: 1rem; }
.why .btn { margin-top: 1.25rem; }

.why__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: var(--transition);
}
.stat-card:hover { background: rgba(255,255,255,0.09); }
.stat-card__num {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-card__label {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: var(--section-padding);
  background: var(--cream);
}
.testimonials__header {
  max-width: 560px;
  margin-bottom: 3.5rem;
}
.testimonials__header h2 { margin-bottom: 0.75rem; }
.testimonials__header p { color: var(--gray-500); }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.testimonial-card__quote {
  font-size: 0.97rem;
  color: var(--text-body);
  line-height: 1.8;
  font-style: italic;
  flex: 1;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  flex-shrink: 0;
}
.testimonial-card__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}
.testimonial-card__role {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 0.1rem;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 5.5rem 1.5rem;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}
.cta-section .section-label {
  justify-content: center;
}
.cta-section .section-label::before { display: none; }
.cta-section h2 {
  color: var(--white);
  max-width: 640px;
  margin: 0 auto 1.25rem;
}
.cta-section > .container > p {
  color: rgba(255,255,255,0.68);
  max-width: 520px;
  margin: 0 auto 2.75rem;
  font-size: 1.05rem;
}
.cta-section__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #060f1c;
  padding: 4.5rem 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer__brand img {
  height: 43px;
  width: auto;
  margin-bottom: 1.1rem;
}
.footer__brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.72;
  max-width: 280px;
}
.footer__contact {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer__contact-item {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}
.footer__contact-item strong {
  color: rgba(255,255,255,0.7);
}
.footer__col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer__links li + li { margin-top: 0.55rem; }
.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--gold); }
.footer__col p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.footer__disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.65;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
}

/* ============================================================
   PROBLEM RECOGNITION SECTION
   ============================================================ */
.problem {
  padding: var(--section-padding);
  background: var(--cream);
  border-bottom: 1px solid var(--gray-200);
}
.problem__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}
.problem__left h2 {
  margin-top: 0.5rem;
  line-height: 1.2;
}
.problem__right p {
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 1.1rem;
  font-size: 1.02rem;
}
.problem__pullquote {
  font-family: var(--font-heading);
  font-size: 1.2rem !important;
  font-style: italic;
  color: var(--navy) !important;
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
  margin: 2rem 0 !important;
  line-height: 1.6 !important;
}
.problem__right .btn { margin-top: 0.5rem; }

/* ============================================================
   MOBILE NAV — HAMBURGER
   ============================================================ */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav__toggle:hover { background: var(--gray-100); }
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root { --section-padding: 4rem 1.5rem; }
  .nav__toggle { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
  }
  .nav__links.is-open { display: flex; }
  .nav__links li a {
    display: block;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
  }
  .nav .btn--gold { display: none; }
  .nav { position: fixed; }
  .problem__inner { grid-template-columns: 1fr; gap: 2rem; }
  .services__grid { grid-template-columns: 1fr; }
  .why__stats { grid-template-columns: 1fr 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .trust-bar__inner { gap: 1.25rem; }
  .why__stats { grid-template-columns: 1fr; }
}
