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

:root {
  /* Colors matched to Chrisman Health Group logo */
  --blue-900: #0A2342;
  --blue-800: #0D3B66;
  --blue-700: #135A9B;
  --blue-600: #1A6FC4;
  --blue-500: #2B8AE0;
  --blue-400: #4BA3F0;
  --slate-900: #0F172A;
  --slate-700: #334155;
  --slate-500: #4B5B70;
  --slate-300: #CBD5E1;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --white: #FFFFFF;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(10, 35, 66, 0.06);
  --shadow-lg: 0 12px 40px rgba(10, 35, 66, 0.08);
  --max-width: 1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--slate-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 0.95rem; font-weight: 600; }

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 12px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--blue-700);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  background: var(--blue-600);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--blue-700);
  border: 1.5px solid var(--slate-300);
}

.btn-outline:hover {
  background: var(--slate-50);
  border-color: var(--blue-700);
  color: var(--blue-700);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid #D6E8F8;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 88px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-links a:not(.btn) {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-700);
  transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
  color: var(--blue-700);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-900);
  border-radius: 2px;
  transition: 0.2s;
}

/* ===== Hero ===== */
.hero {
  padding: 100px 0 110px;
  background: #E8F1FB;
}

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

.hero-content {
  max-width: 620px;
}

.hero h1 {
  text-wrap: balance;
  margin-bottom: 20px;
  color: var(--slate-900);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--slate-500);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Rotating services in hero */
.hero-services-rotate {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-size: 0.9375rem;
}

.rotate-label {
  color: var(--slate-500);
  font-weight: 500;
  white-space: nowrap;
}

.rotate-viewport {
  height: 1.6em;
  overflow: hidden;
  position: relative;
}

.rotate-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease;
}

.rotate-track span {
  display: block;
  height: 1.6em;
  line-height: 1.6em;
  font-weight: 600;
  color: var(--blue-700);
  white-space: nowrap;
}

/* Floating service cards */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-card {
  animation: float 4s ease-in-out infinite;
}

.float-1 { animation-delay: 0s; }
.float-2 { animation-delay: 0.7s; }
.float-3 { animation-delay: 1.4s; }

.float-card:hover {
  animation-play-state: paused;
  transform: translateY(-6px);
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: 100%;
  max-width: 340px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(10, 35, 66, 0.12));
}

.section-logo {
  height: 72px;
  width: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.section-header-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header-center .section-desc {
  max-width: 540px;
}

/* ===== Insurance ticker ===== */
.ticker {
  background: var(--blue-900);
  color: #fff;
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 44s linear infinite;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  padding-right: 0;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  padding: 0 32px;
}

.ticker-item svg {
  flex-shrink: 0;
  opacity: 0.95;
}

.ticker-dot {
  opacity: 0.4;
  font-size: 1.125rem;
  padding: 0 24px !important;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

/* ===== Sections ===== */
.section {
  padding: 96px 0;
  background: #FFFFFF;
}

.section-alt {
  background: #D6E8F8;
}

.section-header {
  max-width: 600px;
  margin-bottom: 56px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-desc {
  color: var(--slate-500);
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* ===== Service Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-3px);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #E8F1FB;
  color: var(--blue-600);
  border-radius: 12px;
  margin-bottom: 20px;
}

.card h3 {
  margin-bottom: 12px;
  color: var(--slate-900);
}

.card p {
  color: var(--slate-500);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ===== PPO Plans ===== */
.ppo-block {
  margin-top: 48px;
  background: #E8F1FB;
  border-radius: 12px;
  padding: 32px 36px;
  border: 1px solid #D6E8F8;
  text-align: center;
}

.ppo-content {
  max-width: 800px;
  margin: 0 auto;
}

.ppo-content h2 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.ppo-content > p {
  color: var(--slate-500);
  font-size: 0.975rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.ppo-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 24px;
  margin-bottom: 24px;
  text-align: left;
}

.ppo-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-700);
}

.ppo-benefits li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--blue-500);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: center;
}

.about-photo-wrap {
  position: relative;
}

.about-photo {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  display: block;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--blue-600);
}

.about-photo-caption {
  margin-top: 14px;
  text-align: center;
}

.about-photo-caption strong {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--slate-900);
}

.about-photo-caption span {
  font-size: 0.875rem;
  color: var(--slate-500);
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  color: var(--slate-500);
  margin-bottom: 16px;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.about-list {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.975rem;
  font-weight: 500;
  color: var(--slate-700);
}

.about-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--blue-500);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--slate-50);
  color: var(--blue-700);
  border-radius: 10px;
  flex-shrink: 0;
}

.contact-item h4 {
  margin-bottom: 4px;
  color: var(--slate-900);
}

.contact-item a,
.contact-item p {
  color: var(--slate-500);
  font-size: 0.975rem;
}

.contact-item a:hover {
  color: var(--blue-700);
}

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--slate-900);
  background: var(--slate-50);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(10, 77, 104, 0.12);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--slate-500);
  text-align: center;
}

/* ===== Footer ===== */
.footer {
  background: var(--blue-900);
  color: var(--slate-300);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.footer-logo {
  filter: brightness(0) invert(1);
  opacity: 0.92;
  height: 110px;
  width: auto;
  object-fit: contain;
}

.btn-footer {
  background: var(--blue-500);
  color: #fff;
  margin: 4px 0 8px;
}

.btn-footer:hover {
  background: var(--blue-400);
}

.footer-copy {
  font-size: 0.875rem;
}

.footer-note {
  font-size: 0.8125rem;
  color: #94A3B8;
}

.footer-calendly {
  font-size: 0.8125rem;
  margin-top: 4px;
}

.footer-calendly a {
  color: var(--blue-400);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-calendly a:hover {
  color: #fff;
}

/* Fixed Calendly button — bottom left */
.calendly-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--blue-700);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 8px 28px rgba(10, 35, 66, 0.28);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.calendly-float:hover {
  background: var(--blue-600);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(10, 35, 66, 0.35);
}

.calendly-float svg {
  flex-shrink: 0;
}

/* ===== Responsive ===== */

/* ===== Dental / Vision / Life ===== */
.addon-header {
  text-align: center;
  max-width: 600px;
  margin: 80px auto 40px;
}
.addon-header h2 { margin-bottom: 12px; }

/* ===== How it works ===== */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--slate-500); font-size: 0.9375rem; line-height: 1.65; }
.steps-cta { text-align: center; margin-top: 44px; }

/* ===== Reviews ===== */
.review p { color: var(--slate-700); font-style: italic; margin-bottom: 14px; }
.review cite { font-style: normal; font-weight: 600; color: var(--blue-700); font-size: 0.9rem; }

/* ===== FAQ ===== */
#faq { padding: 64px 0; }
#faq .section-header { margin-bottom: 32px; }
.faq-list {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 14px;
  align-items: start;
}
.faq-item {
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 40px 12px 16px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--slate-900);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--blue-600);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { border-bottom: 1px solid var(--slate-100); }
.faq-item p { padding: 12px 16px 14px; color: var(--slate-700); font-size: 0.875rem; line-height: 1.6; }
@media (max-width: 768px) {
  .faq-list { grid-template-columns: 1fr; }
  #faq { padding: 56px 0; }
}

/* ===== Form status ===== */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin-top: 14px; font-size: 0.9375rem; text-align: center; font-weight: 500; }
.form-status.ok { color: #15803D; }
.form-status.err { color: #B91C1C; }

/* ===== Footer licensing ===== */
.footer-license { font-size: 0.8125rem; color: var(--slate-300); margin-top: 8px; }
.footer-disclaimer {
  font-size: 0.75rem;
  color: #94A3B8;
  max-width: 760px;
  line-height: 1.6;
}
.fill-me { background: #FDE68A; color: #78350F; padding: 0 4px; border-radius: 3px; }


/* ===== Calendly ===== */
.calendly-embed {
  min-width: 320px;
  max-width: 720px;
  margin: 0 auto;
  height: 620px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.calendly-fallback {
  text-align: center;
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--slate-500);
}
.calendly-fallback a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.form-book { margin-top: 12px; }
.form-book[hidden] { display: none; }
@media (max-width: 768px) {
  .calendly-embed { height: 860px; }
}


/* ===== Hero photo ===== */
.hero-photo-wrap {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 380px;
}
.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 20px;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute;
  left: -24px;
  bottom: 28px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.hero-badge strong { color: var(--slate-900); font-size: 0.9375rem; }
.hero-badge span { color: var(--blue-700); font-size: 0.8125rem; font-weight: 500; }

/* ===== Header phone ===== */
.nav-phone {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--blue-700);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-left: 28px;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--blue-600); }
@media (min-width: 1181px) {
  .nav-phone { display: inline-flex; }
}
@media (max-width: 768px) {
  .nav-phone {
    display: inline-flex;
    margin-left: auto;
    margin-right: 16px;
    width: 42px;
    height: 42px;
    justify-content: center;
    border-radius: 50%;
    background: #E8F1FB;
  }
  .nav-phone span { display: none; }
  .hero-photo-wrap { max-width: 260px; }
  .hero-badge { left: 50%; transform: translateX(-50%); bottom: -20px; white-space: nowrap; text-align: center; }
  .hero-photo-wrap { margin-bottom: 20px; }
}


/* ===== Privacy policy page ===== */
.legal-back { margin-left: auto; color: var(--blue-700); font-weight: 600; font-size: 0.9375rem; }
.legal-back:hover { color: var(--blue-600); }
.legal { padding: 64px 0 80px; }
.legal-inner { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 6px; }
.legal-date { color: var(--slate-500); font-size: 0.875rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.375rem; margin: 36px 0 12px; color: var(--slate-900); }
.legal h3 { font-size: 1.0625rem; margin: 18px 0 8px; color: var(--slate-700); }
.legal p { color: var(--slate-700); margin-bottom: 14px; line-height: 1.75; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.legal li { color: var(--slate-700); margin-bottom: 8px; line-height: 1.7; }
.legal a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.footer-links { font-size: 0.8125rem; }
.footer-links a { color: var(--slate-300); text-decoration: underline; text-underline-offset: 3px; }
.footer-links a:hover { color: #fff; }
.form-note a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .addon-header { margin-top: 56px; }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-logo {
    max-width: 220px;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-photo-wrap {
    max-width: 300px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .logo-img {
    height: 64px;
  }

  .nav {
    height: 80px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 28px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--slate-100);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    z-index: 99;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 72px 0 80px;
  }

  .section {
    padding: 72px 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 28px 24px;
  }

  .ppo-block {
    margin-top: 36px;
    padding: 28px 20px;
  }

  .ppo-benefits {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .calendly-float {
    bottom: 16px;
    left: 16px;
    padding: 12px 16px;
    font-size: 0.85rem;
  }
}
