/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-federal-blue: #002868;
  --color-crimson: #bf0a30;
  --color-white: #ffffff;
  --color-off-white: #f5f6f8;
  --color-dark: #1a1a2e;
  --color-gray: #555;
  --color-light-gray: #ddd;
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1140px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-federal-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--color-federal-blue);
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===== HEADER ===== */
.header {
  background: var(--color-federal-blue);
  color: var(--color-white);
  padding: 0;
}

.header__top {
  background: var(--color-dark);
  padding: 0.4rem 0;
  font-size: 0.85rem;
  text-align: right;
}

.header__top .container {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}

.header__top a {
  color: var(--color-white);
}

.header__main {
  padding: 1rem 0;
}

.header__main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.header__brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
}

.header__brand a {
  color: var(--color-white);
  text-decoration: none;
}

.header__phone {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
}

.header__phone a {
  color: var(--color-white);
}

/* ===== NAV ===== */
.nav {
  background: var(--color-crimson);
}

.nav__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.nav__item {
  /* no special style */
}

.nav__link {
  display: block;
  padding: 0.65rem 1.1rem;
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background 0.2s;
}

.nav__link:hover {
  background: rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--color-federal-blue) 0%, #001845 100%);
  color: var(--color-white);
  padding: 3.5rem 0;
  text-align: center;
}

.hero__title {
  font-size: 2.5rem;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.hero__subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.hero__cta {
  display: inline-block;
  background: var(--color-crimson);
  color: var(--color-white);
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.hero__cta:hover {
  background: #960824;
  text-decoration: none;
}

/* ===== SECTION ===== */
.section {
  padding: 3rem 0;
}

.section--alt {
  background: var(--color-off-white);
}

.section__title {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.section__subtitle {
  text-align: center;
  color: var(--color-gray);
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* ===== CAPITAL GRID ===== */
.capital-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.capital-card {
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  padding: 1.25rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.capital-card:hover {
  border-color: var(--color-federal-blue);
  box-shadow: 0 2px 12px rgba(0, 40, 104, 0.12);
}

.capital-card__city {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-federal-blue);
  margin-bottom: 0.25rem;
}

.capital-card__state {
  font-size: 0.9rem;
  color: var(--color-gray);
  margin-bottom: 0.5rem;
}

.capital-card__link {
  display: inline-block;
  color: var(--color-crimson);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===== SERVICE CARDS ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  padding: 1.75rem;
  border-top: 4px solid var(--color-federal-blue);
}

.service-card__title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.service-card__text {
  color: var(--color-gray);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.service-card__link {
  color: var(--color-crimson);
  font-weight: 600;
}

/* ===== CONTENT PAGE ===== */
.content {
  padding: 3rem 0;
}

.content__header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--color-light-gray);
}

.content__title {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.content__meta {
  color: var(--color-gray);
  font-size: 0.95rem;
}

.content__body {
  max-width: 780px;
}

.content__body p {
  margin-bottom: 1.25rem;
}

.content__body h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
}

.content__body h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.6rem;
}

.content__body ul,
.content__body ol {
  margin: 0 0 1.25rem 1.5rem;
}

.content__body li {
  margin-bottom: 0.35rem;
}

/* ===== FEATURE LIST ===== */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.feature-list__item {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  border-bottom: 1px solid var(--color-off-white);
}

.feature-list__item::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-crimson);
  font-weight: 700;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-light-gray);
  padding: 1.5rem 0;
}

.faq-item__question {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-federal-blue);
  margin-bottom: 0.5rem;
}

.faq-item__answer {
  color: var(--color-gray);
  line-height: 1.7;
}

/* ===== FEES TABLE ===== */
.fees-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.fees-table th,
.fees-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-light-gray);
}

.fees-table th {
  background: var(--color-federal-blue);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
}

.fees-table tr:nth-child(even) {
  background: var(--color-off-white);
}

.fees-table td:last-child {
  font-weight: 700;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--color-crimson);
  color: var(--color-white);
  padding: 2.5rem 0;
  text-align: center;
}

.cta-banner__title {
  font-size: 1.75rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.cta-banner__text {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.cta-banner__phone {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.9rem;
}

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

.footer__heading {
  font-family: var(--font-heading);
  color: var(--color-white);
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.footer__list {
  list-style: none;
}

.footer__list li {
  margin-bottom: 0.35rem;
}

.footer__list a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer__list a:hover {
  color: var(--color-white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.8rem;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 0.75rem 0;
  font-size: 0.85rem;
  color: var(--color-gray);
}

.breadcrumb a {
  color: var(--color-federal-blue);
}

.breadcrumb__sep {
  margin: 0 0.4rem;
  color: var(--color-light-gray);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero__title {
    font-size: 1.75rem;
  }

  .section__title {
    font-size: 1.5rem;
  }

  .content__title {
    font-size: 1.6rem;
  }

  .header__main .container {
    flex-direction: column;
    text-align: center;
  }

  .nav__list {
    flex-direction: column;
  }

  .capital-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .capital-grid {
    grid-template-columns: 1fr;
  }
}
