/* ============================================
   BLESSINGS TELEHEALTH — Shared stylesheet
   ============================================ */

:root {
  --cream: #f6f1e7;
  --cream-soft: #faf6ec;
  --cream-deep: #ede4d1;
  --evergreen: #1f3a2e;
  --evergreen-mid: #2d503f;
  --evergreen-soft: #4a6a5a;
  --sage: #c5d2c0;
  --sage-pale: #e2e8dc;
  --honey: #b8924a;
  --honey-light: #d4ad65;
  --ink: #1a1610;
  --ink-soft: #4a4338;
  --line: #d9cfb8;
  --rust: #a04a2a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.serif {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--evergreen);
  color: var(--cream-soft);
  font-size: 13px;
  padding: 10px 0;
  letter-spacing: 0.02em;
}
.topbar .wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.topbar a { color: var(--cream-soft); text-decoration: none; }
.topbar a:hover { color: var(--honey-light); }
.topbar-left { display: flex; gap: 24px; align-items: center; }
.topbar-left span { display: flex; align-items: center; gap: 8px; }
.pulse {
  width: 7px; height: 7px; background: var(--honey-light); border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(212,173,101,0.7);
  animation: pulse 2.5s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(212,173,101,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(212,173,101,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,173,101,0); }
}

/* ===== NAVIGATION ===== */
nav.main {
  background: var(--cream);
  padding: 24px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
nav.main.scrolled {
  border-bottom: 1px solid var(--line);
  background: rgba(246,241,231,0.96);
  backdrop-filter: blur(10px);
}
nav.main .wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--evergreen);
}
.logo-mark {
  width: 42px; height: 42px;
  background: var(--evergreen);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--honey-light);
  flex-shrink: 0;
}
.logo-text { line-height: 1.1; }
.logo-text .name {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 22px;
  font-style: italic;
  letter-spacing: -0.02em;
}
.logo-text .tag {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--honey);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--evergreen); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--evergreen); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}
.btn-primary {
  background: var(--evergreen);
  color: var(--cream-soft);
}
.btn-primary:hover {
  background: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(31,58,46,0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--evergreen);
  border: 1.5px solid var(--evergreen);
}
.btn-ghost:hover {
  background: var(--evergreen);
  color: var(--cream-soft);
}
.btn-honey {
  background: var(--honey);
  color: var(--cream-soft);
}
.btn-honey:hover {
  background: var(--evergreen);
}
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-large { padding: 16px 30px; font-size: 15px; }

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--evergreen);
  padding: 6px;
}

/* ===== SECTIONS ===== */
section { padding: 120px 0; position: relative; }
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--honey);
  font-weight: 600;
  margin-bottom: 20px;
}
.section-eyebrow::before {
  content: '◆';
  color: var(--honey);
  font-size: 8px;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--evergreen);
  margin-bottom: 20px;
  max-width: 800px;
}
.section-title em { font-style: italic; color: var(--honey); font-weight: 300; }
.section-intro {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 620px;
  line-height: 1.6;
}

/* ===== PAGE HEADER (subpages) ===== */
.page-header {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-soft) 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(184,146,74,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 2; }
.page-header .breadcrumb {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.page-header .breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
}
.page-header .breadcrumb a:hover {
  color: var(--evergreen);
  border-bottom-color: var(--honey);
}
.page-header .breadcrumb .sep { margin: 0 12px; color: var(--honey); }
.page-header h1 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--evergreen);
  margin-bottom: 28px;
  max-width: 900px;
}
.page-header h1 em { font-style: italic; color: var(--honey); font-weight: 300; }
.page-header .lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 640px;
}

/* ===== CTA ===== */
.cta {
  padding: 100px 0;
  background: var(--cream);
}
.cta-card {
  background: var(--evergreen);
  border-radius: 32px;
  padding: 80px 64px;
  color: var(--cream-soft);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(184,146,74,0.25) 0%, transparent 60%);
}
.cta-card svg.deco {
  position: absolute;
  bottom: -40px; left: -40px;
  width: 240px;
  opacity: 0.1;
}
.cta-content { position: relative; z-index: 2; }
.cta-content h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--cream-soft);
  margin-bottom: 16px;
}
.cta-content h2 strong {
  font-style: normal;
  font-weight: 500;
  color: var(--honey-light);
}
.cta-content p {
  font-size: 17px;
  color: rgba(246,241,231,0.75);
  line-height: 1.6;
  max-width: 480px;
}
.cta-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cta-actions .btn-honey { width: 100%; justify-content: center; padding: 18px 28px; }
.cta-actions .phone-line {
  text-align: center;
  margin-top: 8px;
  color: rgba(246,241,231,0.6);
  font-size: 13px;
}
.cta-actions .phone-line a {
  display: block;
  color: var(--cream-soft);
  text-decoration: none;
  font-family: 'Fraunces', serif;
  font-size: 28px;
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.cta-actions .phone-line a:hover { color: var(--honey-light); }

/* ===== FOOTER ===== */
footer {
  background: var(--ink);
  color: var(--cream-soft);
  padding: 80px 0 32px;
}
footer .container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(246,241,231,0.1);
}
footer .logo { color: var(--cream-soft); margin-bottom: 20px; }
footer .logo-mark { background: var(--honey); color: var(--ink); }
footer .logo-text .name { color: var(--cream-soft); }
footer .logo-text .tag { color: rgba(246,241,231,0.5); }
footer .about {
  color: rgba(246,241,231,0.6);
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 24px;
}
.footer-col h5 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--honey-light);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.footer-col ul {
  list-style: none;
  display: grid;
  gap: 12px;
}
.footer-col a {
  color: rgba(246,241,231,0.65);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--honey-light); }
.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(246,241,231,0.5);
  font-size: 13px;
}
.footer-bottom .legal a { color: rgba(246,241,231,0.5); margin-left: 24px; text-decoration: none; }
.footer-bottom .legal a:hover { color: var(--honey-light); }

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FORMS ===== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--evergreen);
}
.form-group label .req { color: var(--rust); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream-soft);
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: var(--ink);
  transition: all 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--evergreen);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(184,146,74,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .cta-card { grid-template-columns: 1fr; padding: 60px 40px; gap: 40px; }
  footer .container { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .topbar-left span:first-child { display: none; }
  section { padding: 80px 0; }
  .page-header { padding: 50px 0 80px; }
  footer .container { grid-template-columns: 1fr; padding-bottom: 40px; }
  .cta-card { padding: 48px 28px; }
  .form-row { grid-template-columns: 1fr; }
  .container, nav.main .wrap, .topbar .wrap, .footer-bottom { padding-left: 20px; padding-right: 20px; }
}
