/*
Theme Name: SecurePATIENT Intake
Theme URI: https://securepatientintake.com
Author: Bridgewing Inc.
Author URI: https://bridgewing.com
Description: Commercial marketing theme for SecurePATIENT Intake — HIPAA-compliant digital patient intake forms.
Version: 1.1.0
License: Proprietary
License URI: https://securepatientintake.com/terms
Text Domain: securepatient-intake
*/

/* ============================================================
   Secure Patient Intake — Commercial Site
   Bridgewing Inc.
   ============================================================ */

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

:root {
  /* Palette */
  --navy:        #0D2E28;   /* deep green-teal (was #152238) — headings + dark hero/sections */
  --navy-mid:    #123F37;   /* was #1E3454 */
  --navy-light:  #1C5A4E;   /* was #2A4A72 */
  --teal:        #006A5E;   /* SecureINTAKE app primary (was #0A7E8C) */
  --teal-light:  #17A892;   /* brighter accent — hover/hero (was #11A3B3) */
  --teal-pale:   #E4F6F1;   /* pale mint tint (was #E6F6F8) */
  --mint:        #9EEFDF;   /* SecureINTAKE app mint — hero highlight */
  --green:       #1B8A5A;   /* success/checkmarks (unchanged — harmonizes) */
  --green-light: #E8F5EE;
  --amber:       #D4880F;
  --amber-light: #FFF7E6;
  --red-soft:    #BA1A1A;   /* aligned to app error (was #C0392B) */
  --white:       #FFFFFF;
  --off-white:   #F5F7FA;
  --gray-50:     #F0F2F5;
  --gray-100:    #E1E5EB;
  --gray-200:    #C8CED8;
  --gray-400:    #8896A7;
  --gray-600:    #5A6978;
  --gray-800:    #2D3843;
  --text:        #1A1F2B;
  --text-muted:  #5A6978;

  /* Type */
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Spacing scale */
  --sp-xs: 0.25rem;
  --sp-sm: 0.5rem;
  --sp-md: 1rem;
  --sp-lg: 1.5rem;
  --sp-xl: 2.5rem;
  --sp-2xl: 4rem;
  --sp-3xl: 6rem;

  /* Layout */
  --max-w: 1200px;
  --max-w-narrow: 800px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(13,46,40,0.08);
  --shadow-md: 0 4px 16px rgba(13,46,40,0.1);
  --shadow-lg: 0 8px 32px rgba(13,46,40,0.12);
  --shadow-xl: 0 16px 48px rgba(13,46,40,0.15);
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-light); }


/* --- Typography --- */
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p + p { margin-top: var(--sp-md); }


/* --- Layout Utilities --- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-lg); }
.container--narrow { max-width: var(--max-w-narrow); }
.section { padding: var(--sp-3xl) 0; }
.section--tinted { background: var(--off-white); }
.section--dark { background: var(--navy); color: var(--white); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.8); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.mt-xl { margin-top: var(--sp-xl); }
.mt-2xl { margin-top: var(--sp-2xl); }
.mb-md { margin-bottom: var(--sp-md); }
.mb-lg { margin-bottom: var(--sp-lg); }


/* --- Grid --- */
.grid { display: grid; gap: var(--sp-xl); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 960px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}


/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.3;
}
.btn--primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn--primary:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn--secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}
.btn--secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.btn--white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn--white:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--ghost-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}
.btn--large {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}
.btn-group {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
}


/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
}
.site-logo__icon {
  width: 36px;
  height: 36px;
  background: var(--teal);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.site-logo__icon svg { width: 20px; height: 20px; }
.site-logo__text b { color: var(--teal); font-weight: inherit; }

.site-nav { display: flex; align-items: center; gap: var(--sp-xl); }
.site-nav__links { display: flex; list-style: none; gap: var(--sp-lg); }
.site-nav__links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--gray-600);
  transition: color var(--transition);
  padding: 0.25rem 0;
}
.site-nav__links a:hover { color: var(--navy); }
.site-nav__links a.active {
  color: var(--teal);
  font-weight: 700;
  border-bottom: 2px solid var(--teal);
  padding-bottom: 0.2rem;
}
.site-nav__cta { display: flex; gap: var(--sp-sm); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-sm);
  color: var(--navy);
}
.menu-toggle svg { width: 24px; height: 24px; }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    padding: var(--sp-lg);
    gap: var(--sp-lg);
  }
  .site-nav.open { display: flex; }
  .site-nav__links { flex-direction: column; gap: var(--sp-md); }
  .site-nav__cta { width: 100%; }
  .site-nav__cta .btn { width: 100%; justify-content: center; }
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  color: var(--white);
  padding: var(--sp-3xl) 0 var(--sp-2xl);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,106,94,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__content { max-width: 560px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--sp-lg);
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}
.hero__badge svg { width: 16px; height: 16px; color: var(--teal-light); }
.hero h1 { color: var(--white); margin-bottom: var(--sp-lg); }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: var(--sp-xl);
}
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Screenshot placeholder */
.screenshot-placeholder {
  background: linear-gradient(145deg, var(--navy-mid), var(--navy-light));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}
.screenshot-placeholder--light {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
}
.screenshot-placeholder__browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.screenshot-placeholder--light .screenshot-placeholder__browser-bar {
  border-bottom-color: var(--gray-100);
}
.screenshot-placeholder__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.screenshot-placeholder--light .screenshot-placeholder__dot {
  background: var(--gray-200);
}
.screenshot-placeholder__body {
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  color: rgba(255,255,255,0.3);
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-align: center;
}
.screenshot-placeholder--light .screenshot-placeholder__body {
  color: var(--gray-400);
}
.screenshot-placeholder__body svg { width: 48px; height: 48px; opacity: 0.4; }
.screenshot-placeholder__body span { max-width: 200px; }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { max-width: none; }
  .hero__badge { margin: 0 auto var(--sp-lg); }
  .btn-group { justify-content: center; }
  .hero__visual { margin-top: var(--sp-lg); }
}


/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: var(--sp-lg) 0;
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2xl);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gray-600);
}
.trust-item svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; }


/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-lg);
}
.feature-card__icon--teal { background: var(--teal-pale); color: var(--teal); }
.feature-card__icon--green { background: var(--green-light); color: var(--green); }
.feature-card__icon--amber { background: var(--amber-light); color: var(--amber); }
.feature-card__icon--navy { background: rgba(13,46,40,0.06); color: var(--navy); }
.feature-card__icon svg { width: 24px; height: 24px; }
.feature-card h3 { margin-bottom: var(--sp-sm); }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }


/* ============================================================
   SPLIT SECTIONS (text + visual)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split__content h2 { margin-bottom: var(--sp-lg); }
.split__content p { color: var(--text-muted); margin-bottom: var(--sp-md); }
.check-list { list-style: none; margin-top: var(--sp-lg); display: flex; flex-direction: column; gap: var(--sp-sm); }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  font-size: 0.95rem;
}
.check-list li svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; margin-top: 2px; }

@media (max-width: 860px) {
  .split, .split--reverse { grid-template-columns: 1fr; direction: ltr; }
}


/* ============================================================
   PRICING
   ============================================================ */
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card--featured {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg);
}
.pricing-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: var(--sp-xs);
}
.pricing-card__desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--sp-lg);
}
.pricing-card__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.75rem;
  color: var(--navy);
  line-height: 1;
}
.pricing-card__price sup {
  font-size: 1.25rem;
  font-weight: 700;
  vertical-align: super;
}
.pricing-card__period {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 0.25rem;
}
.pricing-card__divider {
  height: 1px;
  background: var(--gray-100);
  margin: var(--sp-lg) 0;
}
.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  font-size: 0.9rem;
  color: var(--gray-600);
}
.pricing-card__features li svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.pricing-card__features li.disabled { color: var(--gray-400); }
.pricing-card__features li.disabled svg { color: var(--gray-200); }
.pricing-card .btn { margin-top: var(--sp-xl); width: 100%; justify-content: center; }

.pricing-addons {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  margin-top: var(--sp-2xl);
}
.pricing-addons h3 { margin-bottom: var(--sp-lg); text-align: center; }
.addon-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.addon-table th {
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  padding: 0.75rem var(--sp-md);
  border-bottom: 2px solid var(--gray-200);
}
.addon-table td {
  padding: 0.75rem var(--sp-md);
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-600);
}
.addon-table tr:last-child td { border-bottom: none; }
.addon-table .addon-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
}


/* ============================================================
   TESTIMONIAL / SOCIAL PROOF
   ============================================================ */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
}
.testimonial-card__quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: var(--sp-lg);
  position: relative;
  padding-left: var(--sp-lg);
  border-left: 3px solid var(--teal);
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}
.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--teal);
  font-size: 0.9rem;
}
.testimonial-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}
.testimonial-card__role {
  font-size: 0.8rem;
  color: var(--text-muted);
}


/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-xl);
  text-align: center;
}
.stat__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--teal-light);
  line-height: 1;
}
.stat__label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-top: var(--sp-sm);
}
@media (max-width: 640px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}


/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-group { margin-bottom: var(--sp-lg); }
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: var(--sp-xs);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,106,94,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  color: var(--white);
}
.contact-info-card h3 { color: var(--white); margin-bottom: var(--sp-lg); }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
  margin-bottom: var(--sp-lg);
}
.contact-info-item svg { width: 20px; height: 20px; color: var(--teal-light); flex-shrink: 0; margin-top: 3px; }
.contact-info-item__label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
  font-family: var(--font-display);
}
.contact-info-item__value { color: rgba(255,255,255,0.9); font-size: 0.95rem; }
.contact-info-item__value a { color: var(--teal-light); }


/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl) var(--sp-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,106,94,0.2) 0%, transparent 70%);
}
.cta-banner h2 { color: var(--white); margin-bottom: var(--sp-md); position: relative; }
.cta-banner p { color: rgba(255,255,255,0.7); margin-bottom: var(--sp-xl); position: relative; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-group { justify-content: center; position: relative; }


/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
  border-bottom: 1px solid var(--gray-100);
  padding: var(--sp-lg) 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item__answer {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding-top: var(--sp-md);
  line-height: 1.7;
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: var(--sp-2xl) 0 var(--sp-lg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-2xl);
}
.footer-brand p { margin-top: var(--sp-md); font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-lg);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-sm); }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: var(--sp-2xl);
  padding-top: var(--sp-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: var(--sp-md);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--white); }

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


/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: var(--sp-2xl) 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: var(--sp-sm); }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; }


/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-content {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: var(--sp-2xl) var(--sp-lg);
}
.legal-content h2 {
  font-size: 1.4rem;
  margin-top: var(--sp-2xl);
  margin-bottom: var(--sp-md);
}
.legal-content h3 {
  font-size: 1.1rem;
  margin-top: var(--sp-xl);
  margin-bottom: var(--sp-sm);
}
.legal-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--sp-md);
}
.legal-content ul, .legal-content ol {
  margin: var(--sp-md) 0;
  padding-left: var(--sp-lg);
  color: var(--text-muted);
  font-size: 0.95rem;
}
.legal-content li { margin-bottom: var(--sp-sm); }


/* ============================================================
   LIVE CHAT WIDGET (placeholder)
   ============================================================ */
.chat-widget {
  position: fixed;
  bottom: var(--sp-lg);
  right: var(--sp-lg);
  z-index: 200;
}
.chat-widget__trigger {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
}
.chat-widget__trigger:hover {
  background: var(--teal-light);
  transform: scale(1.05);
}
.chat-widget__trigger svg { width: 24px; height: 24px; }
.chat-widget__panel {
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 340px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.chat-widget__panel.open { display: block; }
.chat-widget__header {
  background: var(--teal);
  color: var(--white);
  padding: var(--sp-md) var(--sp-lg);
  font-family: var(--font-display);
  font-weight: 700;
}
.chat-widget__header p { color: rgba(255,255,255,0.8); font-size: 0.8rem; margin-top: 2px; }
.chat-widget__body { padding: var(--sp-lg); min-height: 200px; }
.chat-widget__body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.chat-widget__input {
  display: flex;
  border-top: 1px solid var(--gray-100);
}
.chat-widget__input input {
  flex: 1;
  border: none;
  padding: 0.75rem var(--sp-md);
  font-size: 0.9rem;
  font-family: var(--font-body);
}
.chat-widget__input input:focus { outline: none; }
.chat-widget__input button {
  background: var(--teal);
  color: var(--white);
  border: none;
  padding: 0 var(--sp-md);
  cursor: pointer;
}
.chat-widget__input button svg { width: 18px; height: 18px; }


/* ============================================================
   ABOUT PAGE
   ============================================================ */
.value-card {
  text-align: center;
  padding: var(--sp-xl);
}
.value-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-lg);
  color: var(--teal);
}
.value-card__icon svg { width: 28px; height: 28px; }
.value-card h3 { margin-bottom: var(--sp-sm); }
.value-card p { color: var(--text-muted); font-size: 0.9rem; }


/* ============================================================
   SPECIALTY GRID
   ============================================================ */
.specialty-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--gray-600);
  transition: all var(--transition);
}
.specialty-tag:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.specialty-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  justify-content: center;
}

/* --- WordPress nav active state --- */
.site-nav__links .current-menu-item > a,
.site-nav__links .current_page_item > a {
  color: var(--teal);
  font-weight: 700;
  border-bottom: 2px solid var(--teal);
  padding-bottom: 0.2rem;
}

/* --- Admin bar offset --- */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
