/* Free Resources — Zocdoc-inspired layout */

:root {
  --fr-navy: #182743;
  --fr-yellow: #ffef4b;
  --fr-yellow-hover: #ffe820;
  --fr-white: #ffffff;
  --fr-beige: #faf8f4;
  --fr-gray-50: #f7f8fa;
  --fr-gray-100: #eef0f3;
  --fr-gray-200: #e2e5ea;
  --fr-gray-500: #6b7280;
  --fr-gray-700: #374151;
  --fr-max: 1120px;
  --fr-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body.fr-page {
  margin: 0;
  background: var(--fr-white);
  color: var(--fr-navy);
  font-family: var(--fr-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.fr-main :where(h1, h2, h3, h4, p, ul) {
  margin: 0;
}

.fr-container {
  width: 100%;
  max-width: var(--fr-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* Breadcrumb */
.fr-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0;
  font-size: 14px;
  color: var(--fr-gray-500);
  border-bottom: 1px solid var(--fr-gray-200);
}

.fr-breadcrumb a {
  color: var(--fr-gray-700);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.15em;
  text-decoration-skip-ink: none;
  transition: color 0.12s ease, text-decoration-color 0.12s ease;
}

.fr-breadcrumb a:hover {
  color: var(--fr-navy);
  text-decoration-color: var(--fr-yellow);
}

.fr-breadcrumb-sep {
  color: var(--fr-gray-200);
}

.fr-breadcrumb-current {
  color: var(--fr-navy);
  font-weight: 500;
}

/* Hero */
.fr-hero {
  padding: 48px 0 56px;
  background: var(--fr-beige);
  border-bottom: 1px solid var(--fr-gray-200);
}

.fr-hero--index .fr-hero-inner {
  max-width: 720px;
}

.fr-hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

.fr-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fr-gray-500);
  margin-bottom: 12px;
}

.fr-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--fr-navy);
  margin-bottom: 16px;
}

.fr-hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: var(--fr-gray-700);
}

.fr-hero-visual {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--fr-gray-200);
  box-shadow: 0 8px 32px rgb(24 39 67 / 0.08);
  aspect-ratio: 4 / 3;
  background: var(--fr-gray-100);
}

.fr-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* States grid (index) */
.fr-states {
  padding: 56px 0 80px;
}

.fr-states h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fr-navy);
  margin-bottom: 24px;
}

.fr-states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.fr-state-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border: 1px solid var(--fr-gray-200);
  border-radius: 12px;
  background: var(--fr-white);
  color: var(--fr-navy);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.fr-state-card:hover {
  border-color: var(--fr-navy);
  background: var(--fr-gray-50);
  box-shadow: 0 4px 16px rgb(24 39 67 / 0.06);
}

/* Centers list (state pages) */
.fr-centers {
  padding: 56px 0;
}

.fr-section-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fr-navy);
  text-align: center;
  margin-bottom: 32px;
}

.fr-centers-list {
  max-width: 840px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fr-center-card {
  padding: 24px 28px;
  background: var(--fr-white);
  border: 1px solid var(--fr-gray-200);
  border-radius: 16px;
}

.fr-center-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fr-navy);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.fr-center-details {
  display: grid;
  gap: 12px;
}

.fr-detail-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: start;
}

.fr-detail-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fr-gray-500);
  padding-top: 2px;
}

.fr-detail-value {
  font-size: 15px;
  line-height: 1.5;
  color: var(--fr-gray-700);
}

.fr-main a:not(.fr-btn):not(.fr-state-card) {
  color: var(--fr-navy);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--fr-yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.18em;
  text-decoration-skip-ink: none;
  transition: text-decoration-color 0.12s ease;
}

.fr-main a:not(.fr-btn):not(.fr-state-card):hover {
  text-decoration-color: var(--fr-yellow-hover);
}

.fr-report-issue {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--fr-gray-100);
}

.fr-report-issue a {
  font-size: 13px;
  font-weight: 600;
  color: var(--fr-gray-500);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}

.fr-report-issue a:hover {
  color: var(--fr-navy);
  text-decoration-color: var(--fr-yellow);
}

.fr-empty {
  text-align: center;
  padding: 40px 24px;
  color: var(--fr-gray-700);
  background: var(--fr-gray-50);
  border: 1px solid var(--fr-gray-200);
  border-radius: 16px;
}

/* CTA */
.fr-cta {
  max-width: 840px;
  margin: 0 auto;
  padding: 32px;
  background: var(--fr-yellow);
  border-radius: 20px;
  text-align: center;
}

.fr-cta h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--fr-navy);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.fr-cta p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--fr-navy);
  margin-bottom: 24px;
  max-width: 600px;
  margin-inline: auto;
}

.fr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: var(--fr-font);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--fr-navy);
  background: var(--fr-navy);
  color: var(--fr-white);
  transition: background 0.15s ease, transform 0.15s ease;
}

.fr-btn:hover {
  background: #0f1a2e;
  transform: translateY(-1px);
  text-decoration: none;
}

/* FAQ */
.fr-faq {
  padding: 56px 0 80px;
  background: var(--fr-gray-50);
  border-top: 1px solid var(--fr-gray-200);
}

.fr-faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fr-faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--fr-gray-200);
}

.fr-faq-item:first-child {
  padding-top: 0;
}

.fr-faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fr-faq-q {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--fr-navy);
  margin-bottom: 8px;
}

.fr-faq-a {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--fr-gray-700);
}

/* Responsive */
@media (max-width: 900px) {
  .fr-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .fr-hero-visual {
    max-width: 480px;
  }
}

@media (max-width: 640px) {
  .fr-container {
    padding: 0 20px;
  }

  .fr-detail-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .fr-cta {
    padding: 24px 20px;
  }

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