/* Base styles */
:root {
  --color-navy: #0f346c;
  --color-red: #c41f32;
  --color-white: #ffffff;
  --color-light: #f5f7fa;
  --color-text: #1f2430;
  --color-muted: #5a6270;
  --shadow-soft: 0 12px 24px rgba(15, 52, 108, 0.08);
  --max-width: 1100px;
}

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

body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: "Merriweather", Georgia, serif;
  color: var(--color-navy);
  margin-top: 0;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(90%, var(--max-width));
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-red), #e23a4e);
  color: var(--color-white);
  box-shadow: 0 10px 20px rgba(196, 31, 50, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(196, 31, 50, 0.35);
}

.btn-outline {
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background-color: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid rgba(15, 52, 108, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.375rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 72px;
  max-height: 72px;
  height: auto;
  display: block;
  object-fit: contain;
}

.brand-logo.small {
  width: 42px;
  max-height: 42px;
}

.brand-name {
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-navy);
}

.brand-tagline {
  display: block;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-muted);
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(135deg, var(--color-red), #f05c6c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  background: none;
  border: none;
  display: none;
  padding: 0.5rem;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  background: var(--color-navy);
  height: 2px;
  width: 24px;
  border-radius: 1px;
  position: relative;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-icon::before {
  top: -7px;
}

.menu-icon::after {
  top: 7px;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  padding: 6rem 0 4rem;
  background: linear-gradient(180deg, rgba(15, 52, 108, 0.08), rgba(255, 255, 255, 0));
}

.hero .container {
  display: grid;
  gap: 3rem;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.125rem;
  color: var(--color-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border-top: 6px solid var(--color-red);
}

.hero-card h2 {
  margin-bottom: 1rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-muted);
}

.hero-card li {
  margin-bottom: 0.75rem;
}

.lead-preparer {
  background: linear-gradient(180deg, rgba(15, 52, 108, 0.05), rgba(255, 255, 255, 0));
}

.lead-preparer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.lead-preparer-profile {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 52, 108, 0.08);
  max-width: 360px;
  justify-self: center;
}

.lead-preparer-profile img {
  display: block;
  width: 100%;
  height: auto;
}

.lead-preparer-profile figcaption {
  background: var(--color-white);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lead-preparer-profile figcaption strong {
  font-size: 1.1rem;
  color: var(--color-navy);
}

.lead-preparer-profile figcaption span {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.lead-preparer-copy h2 {
  margin-bottom: 1rem;
}

.lead-preparer-copy {
  display: grid;
  gap: 1rem;
  text-align: left;
}

.lead-preparer-copy ul {
  padding-left: 1.25rem;
  color: var(--color-muted);
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem;
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-intro {
  max-width: 640px;
  color: var(--color-muted);
}

.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 2rem;
}

.service-card {
  padding: 1.75rem;
  border-radius: 16px;
  background: var(--color-light);
  border: 1px solid rgba(15, 52, 108, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  background: var(--color-white);
}

.service-card > a {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.service-link:hover .learn-more,
.service-link:focus .learn-more {
  color: var(--color-red);
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--color-navy);
}

.service-card .service-meta {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-red);
}

.why-us {
  background: linear-gradient(180deg, rgba(196, 31, 50, 0.08), rgba(196, 31, 50, 0));
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.value-grid article {
  background: var(--color-white);
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid rgba(15, 52, 108, 0.12);
  box-shadow: var(--shadow-soft);
}

.cldp-info {
  background: var(--color-white);
}

.cldp-lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.cldp-lists h3 {
  margin-bottom: 0.75rem;
}

.cldp-lists ul {
  padding-left: 1.1rem;
  margin: 0;
  display: grid;
  gap: 0.65rem;
  color: var(--color-muted);
}

.cldp-citation {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.cldp-certification {
  background: linear-gradient(180deg, rgba(15, 52, 108, 0.06), rgba(15, 52, 108, 0));
}

.cldp-certification p {
  max-width: 720px;
}

.cldp-certification ul {
  margin: 2rem 0 1.5rem;
  padding-left: 1.25rem;
  color: var(--color-muted);
  display: grid;
  gap: 0.65rem;
}

.service-detail-header {
  background: linear-gradient(180deg, rgba(15, 52, 108, 0.1), rgba(255, 255, 255, 0));
  text-align: center;
  padding: 5rem 0 3rem;
}

.service-detail-header .container {
  max-width: 760px;
}

.service-detail-header h1 {
  margin-bottom: 1rem;
}

.service-detail-header p {
  color: var(--color-muted);
}

.service-documents .service-card {
  background: var(--color-white);
}

.service-pricing {
  background: linear-gradient(180deg, rgba(196, 31, 50, 0.05), rgba(255, 255, 255, 0));
}

.service-pricing p {
  max-width: 760px;
  color: var(--color-muted);
}

.service-pricing h3 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-family: "Merriweather", Georgia, serif;
  color: var(--color-navy);
}

.service-pricing h3:first-of-type {
  margin-top: 2rem;
}

.pricing-table-wrap {
  margin-top: 2.5rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 52, 108, 0.12);
  box-shadow: var(--shadow-soft);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
}

.pricing-table thead {
  background: var(--color-navy);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-table th,
.pricing-table td {
  padding: 1.25rem 1.5rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(15, 52, 108, 0.08);
}

.pricing-table tbody tr:nth-child(odd) {
  background: rgba(15, 52, 108, 0.03);
}

.pricing-table tbody th {
  font-size: 1rem;
  color: var(--color-navy);
}

.pricing-table tbody td {
  color: var(--color-muted);
}

.pricing-table tbody td:last-child {
  font-weight: 700;
  color: var(--color-red);
}

.pricing-note {
  margin-top: 1.75rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.service-process {
  background: var(--color-light);
}

.service-process .process-steps article {
  border-top-color: var(--color-red);
}

.service-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(15, 52, 108, 0.9), rgba(196, 31, 50, 0.85));
  color: var(--color-white);
}

.service-cta h2 {
  margin-bottom: 1.5rem;
}

.service-cta .btn-primary {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.process {
  background: var(--color-light);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.process-steps article {
  background: var(--color-white);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-soft);
  border-top: 6px solid var(--color-navy);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 700;
  position: absolute;
  top: -21px;
}

.testimonials {
  background: var(--color-white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.testimonial-grid figure {
  margin: 0;
  padding: 2rem;
  border-left: 6px solid var(--color-red);
  background: var(--color-light);
  border-radius: 14px;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.testimonial-grid blockquote {
  margin: 0 0 1rem;
  font-style: italic;
  color: var(--color-text);
}

.faq {
  background: linear-gradient(180deg, rgba(15, 52, 108, 0.08), rgba(15, 52, 108, 0));
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.faq details {
  padding: 1.5rem;
  border-radius: 12px;
  background: var(--color-white);
  border: 1px solid rgba(15, 52, 108, 0.12);
  transition: box-shadow 0.2s ease;
}

.faq details[open] {
  box-shadow: var(--shadow-soft);
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
}

.faq p {
  color: var(--color-muted);
  margin-top: 1rem;
}

.fees-disclosure {
  background: var(--color-light);
}

.fees-disclosure ul {
  padding-left: 1.25rem;
  color: var(--color-muted);
  display: grid;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.legal-disclaimer {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-top: 1.5rem;
}

.contact {
  background: var(--color-navy);
  color: var(--color-white);
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.contact-details a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.6);
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 16px;
  backdrop-filter: blur(4px);
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.75rem;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
}
.contact-form .honeypot {
  display: none !important;
}

.contact-form button {
  justify-self: start;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(255, 255, 255, 0.8);
}

/* Footer */
.site-footer {
  background: #060f1f;
  color: rgba(255, 255, 255, 0.8);
  padding: 2rem 0;
}

.site-footer .container {
  display: grid;
  gap: 1rem;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--color-white);
}

.footer-disclaimer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

.footer-disclaimer {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive adjustments */
@media (max-width: 860px) {
  .site-header .container {
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.125rem 0;
  }

  .brand-logo {
    width: 64px;
    max-height: 64px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-tagline {
    font-size: 0.8rem;
  }

  .site-nav ul {
    gap: 1.25rem;
  }

  .site-nav a {
    font-size: 1rem;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    width: 100%;
    order: 1;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .site-nav.open {
    max-height: 400px;
  }

  .site-nav ul {
    flex-direction: column;
    padding: 1rem 0;
    gap: 0.75rem;
  }

  .hero {
    padding-top: 5rem;
  }

  .lead-preparer-content {
    text-align: center;
    justify-items: center;
  }

  .cldp-lists {
    text-align: left;
  }

  .cldp-certification ul,
  .fees-disclosure ul {
    padding-left: 1rem;
  }

  .pricing-table-wrap {
    overflow-x: auto;
  }

  .pricing-table {
    min-width: 640px;
  }

  .site-footer .container {
    justify-items: start;
    text-align: left;
  }
}





