/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1f2937; background: #ffffff; line-height: 1.6;
  display: flex; flex-direction: column; min-height: 100vh;
}
img, svg { max-width: 100%; display: block; height: auto; }
a { color: #0E7C7B; text-decoration: underline; text-underline-offset: 2px; }
a:hover, a:focus-visible { color: #0A5E5D; }
:focus-visible { outline: 3px solid #0E7C7B; outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, .section-title, .page-header h1 { font-family: Fraunces, Georgia, serif; font-weight: 600; letter-spacing: -0.01em; }
.header-cta-btn { display: inline-flex; align-items: center; margin-left: auto; margin-right: 0.5rem; padding: 0.45rem 1rem; border-radius: 6px; background: #C7A24B; color: #0A2540; font-size: 0.85rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-cta-btn:hover { background: #b8922f; color: #0A2540; }
.header-cta-btn:focus-visible { outline: 3px solid #0A2540; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute; top: -100%; left: 0; z-index: 10000;
  background: #0E7C7B; color: #fff; padding: 0.75rem 1.5rem;
  font-weight: 600; text-decoration: none; border-radius: 0 0 4px 0;
}
.skip-link:focus { top: 0; }

/* ===== CONTAINER ===== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* ===== HEADER ===== */
.site-header { background: #ffffff; border-bottom: 1px solid #e5e7eb; position: sticky; top: 0; z-index: 1000; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.logo a { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.logo-mark { width: 34px; height: 34px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font-family: Fraunces, Georgia, serif; font-size: 1.4rem; font-weight: 600; color: #0A2540; letter-spacing: -0.02em; }
.logo a:hover { color: #0A5E5D; }
.logo .tagline { font-size: 0.75rem; font-weight: 500; color: #6b7280; letter-spacing: 0.02em; display: block; }
.header-login-btn {
  display: inline-flex; align-items: center; margin-left: auto; margin-right: 0.75rem;
  padding: 0.5rem 1rem; border-radius: 8px; background: transparent; color: #0E7C7B; border: 1.5px solid #0E7C7B;
  font-size: 0.85rem; font-weight: 600; text-decoration: none; transition: background 0.2s; white-space: nowrap;
}
.header-login-btn:hover { background: #E1F0F0; color: #0A5E5D; }
.header-login-btn:focus-visible { outline: 3px solid #38bdf8; outline-offset: 2px; }
.nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; border-radius: 4px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: #1f2937; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-toggle:focus-visible { outline: 3px solid #0E7C7B; outline-offset: 2px; }
.primary-nav { width: 100%; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.primary-nav.open { max-height: 500px; }
.primary-nav ul { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; padding: 0.75rem 0 0.25rem; border-top: 1px solid #e5e7eb; margin-top: 0.75rem; }
.primary-nav a { display: block; padding: 0.5rem 0.75rem; border-radius: 6px; color: #1f2937; text-decoration: none; font-weight: 500; transition: background 0.2s; }
.primary-nav a:hover, .primary-nav a:focus-visible { background: #f0fdfa; color: #0E7C7B; }
.primary-nav a.current { background: #f0fdfa; color: #0E7C7B; font-weight: 600; }

/* ===== PAGE HEADER ===== */
.page-header { background: #0A2540; color: #fff; padding: 3rem 0; text-align: center; }
.page-header h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.2; margin-bottom: 0.5rem; }
.page-header p { font-size: 1.05rem; color: #e2e8f0; max-width: 600px; margin: 0 auto; }

/* ===== SECTIONS ===== */
section { padding: 4rem 0; }
.section-title { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; text-align: center; margin-bottom: 0.5rem; color: #0f172a; }
.section-sub { text-align: center; color: #6b7280; max-width: 640px; margin: 0 auto 3rem; font-size: 1.05rem; }
.bg-light { background: #f8fafc; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.testimonial-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 2rem; }
.testimonial-card blockquote { font-style: italic; font-size: 1rem; color: #374151; margin-bottom: 1rem; quotes: none; }
.testimonial-card blockquote::before { content: "\201C"; }
.testimonial-card blockquote::after { content: "\201D"; }
.testimonial-author { font-weight: 600; color: #0E7C7B; }
.testimonial-role { font-size: 0.85rem; color: #6b7280; }

/* ===== BUTTON ===== */
.btn { display: inline-block; padding: 0.85rem 2rem; border-radius: 8px; font-size: 1rem; font-weight: 600; text-decoration: none; cursor: pointer; border: none; transition: background 0.2s, transform 0.15s; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid #38bdf8; outline-offset: 3px; }
.btn-teal { background: #0E7C7B; color: #fff; }
.btn-teal:hover { background: #0A5E5D; color: #fff; }

/* ===== FOOTER ===== */
.site-footer { margin-top: auto; background: #0f172a; color: #cbd5e1; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; list-style: none; padding: 1.25rem 0; font-size: 0.85rem; }
.footer-legal a { color: #94a3b8; text-decoration: none; }
.footer-legal a:hover { color: #fff; }
.footer-legal a:focus-visible { outline: 3px solid #38bdf8; outline-offset: 2px; border-radius: 2px; }
.footer-bottom { border-top: 1px solid #1e293b; padding: 1rem 0; text-align: center; font-size: 0.85rem; }
.footer-ada { background: #1e293b; color: #94a3b8; padding: 0.75rem 0; text-align: center; font-size: 0.85rem; }
.footer-ada a { color: #38bdf8; }

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .primary-nav { max-height: none !important; width: auto; overflow: visible; }
  .primary-nav ul { flex-direction: row; border-top: none; padding: 0; margin: 0; gap: 0.25rem; }
  .site-header .container { flex-wrap: nowrap; }
}
@media (min-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .page-header { padding: 4rem 0; }
}

/* ================= CONSOLIDATED HEADER NAV (v3) ================= */
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: nowrap; }
.nav-toggle { display: inline-flex; }
.primary-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  display: block; width: 100%; max-height: none; overflow: visible;
  background: #ffffff; border-bottom: 1px solid #E2E8F0; box-shadow: 0 16px 30px rgba(10,37,64,.10);
  padding: 0.5rem 0 1.25rem; z-index: 999;
  visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.primary-nav.open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
.primary-nav .nav-list { list-style: none; display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0 1.25rem; border: 0; max-height: none; width: auto; }
.primary-nav .nav-list > li { border-bottom: 1px solid #EEF2F7; position: relative; }
.primary-nav .nav-list > li > a,
.primary-nav .dropdown-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: .4rem; width: 100%;
  padding: .9rem .25rem; margin: 0; font-family: inherit; font-size: 1rem; font-weight: 500; color: #1E293B;
  background: none; border: none; border-radius: 0; cursor: pointer; text-align: left; text-decoration: none;
}
.primary-nav .nav-list > li > a:hover, .primary-nav .nav-list > li > a:focus-visible,
.primary-nav .dropdown-toggle:hover, .primary-nav .dropdown-toggle:focus-visible { color: #0E7C7B; background: none; }
.primary-nav .chev { width: 18px; height: 18px; flex-shrink: 0; transition: transform .2s; }
.primary-nav .has-dropdown.open > .dropdown-toggle .chev { transform: rotate(180deg); }
.primary-nav .dropdown { list-style: none; display: block; margin: 0; padding: 0; border: 0; max-height: 0; overflow: hidden; width: auto; transition: max-height .25s ease; }
.primary-nav .has-dropdown.open > .dropdown { max-height: 360px; }
.primary-nav .dropdown a { display: block; padding: .65rem .25rem .65rem 1.1rem; color: #475569; text-decoration: none; font-size: .95rem; font-weight: 500; }
.primary-nav .dropdown a:hover, .primary-nav .dropdown a:focus-visible { color: #0A5E5D; background: none; }
.primary-nav a.current, .primary-nav .dropdown-toggle.current { color: #0E7C7B; font-weight: 700; }
.nav-actions { display: flex; flex-direction: column; gap: .6rem; padding: 1rem 1.25rem 0; }
.nav-actions .header-login-btn, .nav-actions .header-cta-btn { width: 100%; justify-content: center; margin: 0; }

@media (min-width: 992px) {
  .nav-toggle { display: none; }
  .primary-nav {
    position: static; width: auto; max-height: none; overflow: visible; padding: 0;
    background: none; border: 0; box-shadow: none;
    visibility: visible; opacity: 1; transform: none; pointer-events: auto;
    display: flex; align-items: center; gap: 1.25rem;
  }
  .primary-nav .nav-list { flex-direction: row; align-items: center; padding: 0; gap: .15rem; }
  .primary-nav .nav-list > li { border: 0; }
  .primary-nav .nav-list > li > a, .primary-nav .dropdown-toggle { width: auto; padding: .5rem .7rem; border-radius: 8px; font-size: .92rem; }
  .primary-nav .nav-list > li > a:hover, .primary-nav .dropdown-toggle:hover { background: #E1F0F0; color: #0A5E5D; }
  .primary-nav .dropdown {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; max-height: none; overflow: visible;
    background: #ffffff; border: 1px solid #E2E8F0; border-radius: 12px; box-shadow: 0 16px 40px rgba(10,37,64,.14);
    padding: .4rem;
    visibility: hidden; opacity: 0; transform: translateY(8px); pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .primary-nav .has-dropdown:hover > .dropdown,
  .primary-nav .has-dropdown:focus-within > .dropdown,
  .primary-nav .has-dropdown.open > .dropdown { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
  .primary-nav .dropdown a { border-radius: 8px; padding: .6rem .75rem; }
  .primary-nav .dropdown a:hover, .primary-nav .dropdown a:focus-visible { background: #E1F0F0; }
  .nav-actions { flex-direction: row; align-items: center; padding: 0; gap: .6rem; }
  .nav-actions .header-login-btn, .nav-actions .header-cta-btn { width: auto; }
}

@media (min-width: 992px) {
  .primary-nav .has-dropdown > .dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 16px; }
}
