/*
Theme Name:   EMR Chiro Child
Theme URI:    https://emrchiro.com
Description:  EMR Chiro child theme for Divi — Clinical SaaS design system
Author:       USA Digital
Template:     Divi
Version:      1.0.0
*/

/* ================================================================
   DESIGN TOKENS
   ================================================================ */

:root {
  /* Brand Colors — from logo */
  --c-brand-blue:       #1216D5;
  --c-brand-green:      #168516;

  /* Palette */
  --c-navy:             #0A1F4E;
  --c-navy-dark:        #060E2A;
  --c-navy-mid:         #0D2860;
  --c-electric:         #1461D4;
  --c-electric-hover:   #1052B8;
  --c-electric-light:   #DBEAFE;
  --c-electric-glow:    rgba(20, 97, 212, 0.20);
  --c-emerald:          #168516;
  --c-emerald-hover:    #0F6A12;
  --c-emerald-light:    #DCFCE7;

  /* Neutrals */
  --c-blue-tint:        #F0F7FF;
  --c-blue-tint-dark:   #E1EFFE;
  --c-white:            #FAFCFF;
  --c-surface:          #FFFFFF;
  --c-text:             #1E293B;
  --c-text-light:       #334155;
  --c-muted:            #64748B;
  --c-border:           #CBD5E1;
  --c-border-light:     #E2E8F0;

  /* Typography */
  --font-heading:       'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body:          'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:          'JetBrains Mono', 'Fira Code', monospace;

  /* Type Scale */
  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   1.875rem;
  --text-4xl:   2.25rem;
  --text-5xl:   3rem;
  --text-hero:  clamp(2.5rem, 5vw, 4.5rem);
  --text-display: clamp(3rem, 6vw, 5.5rem);

  /* Line Heights */
  --leading-tight:   1.2;
  --leading-snug:    1.35;
  --leading-normal:  1.6;
  --leading-relaxed: 1.75;

  /* Letter Spacing */
  --tracking-tight:  -0.025em;
  --tracking-normal:  0;
  --tracking-wide:    0.05em;
  --tracking-widest:  0.12em;

  /* Spacing Scale */
  --s-1:   0.25rem;
  --s-2:   0.5rem;
  --s-3:   0.75rem;
  --s-4:   1rem;
  --s-5:   1.25rem;
  --s-6:   1.5rem;
  --s-8:   2rem;
  --s-10:  2.5rem;
  --s-12:  3rem;
  --s-14:  3.5rem;
  --s-16:  4rem;
  --s-20:  5rem;
  --s-24:  6rem;
  --s-28:  7rem;
  --s-32:  8rem;

  /* Section Spacing */
  --section-py:      clamp(4rem, 8vw, 7rem);
  --section-py-sm:   clamp(2.5rem, 5vw, 4rem);

  /* Border Radius */
  --radius-sm:    0.375rem;
  --radius-md:    0.5rem;
  --radius-lg:    0.75rem;
  --radius-xl:    1rem;
  --radius-2xl:   1.5rem;
  --radius-3xl:   2rem;
  --radius-full:  9999px;

  /* Shadows */
  --shadow-xs:    0 1px 2px rgba(10, 31, 78, 0.06);
  --shadow-sm:    0 1px 3px rgba(10, 31, 78, 0.08), 0 1px 2px rgba(10, 31, 78, 0.04);
  --shadow-md:    0 4px 6px rgba(10, 31, 78, 0.07), 0 2px 4px rgba(10, 31, 78, 0.04);
  --shadow-lg:    0 10px 25px rgba(10, 31, 78, 0.10), 0 4px 8px rgba(10, 31, 78, 0.05);
  --shadow-xl:    0 20px 40px rgba(10, 31, 78, 0.12), 0 8px 16px rgba(10, 31, 78, 0.06);
  --shadow-2xl:   0 40px 80px rgba(10, 31, 78, 0.16);
  --shadow-glow:  0 0 30px rgba(20, 97, 212, 0.30);
  --shadow-green: 0 0 20px rgba(22, 133, 22, 0.25);
  --shadow-card:  0 2px 8px rgba(10, 31, 78, 0.06), 0 0 0 1px rgba(10, 31, 78, 0.04);
  --shadow-card-hover: 0 12px 32px rgba(10, 31, 78, 0.12), 0 0 0 1px rgba(20, 97, 212, 0.15);

  /* Transitions */
  --ease-out:    cubic-bezier(0.0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:  150ms var(--ease-out);
  --t-base:  200ms var(--ease-out);
  --t-slow:  300ms var(--ease-in-out);

  /* Layout */
  --container-max:   1280px;
  --container-wide:  1440px;
  --container-pad:   clamp(1rem, 5vw, 3rem);

  /* Z-Index */
  --z-base:     1;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  300;
  --z-modal:    400;
  --z-toast:    500;
}


/* ================================================================
   MODERN RESET
   ================================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--c-text);
  background-color: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--c-electric);
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover {
  color: var(--c-electric-hover);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}


/* ================================================================
   TYPOGRAPHY
   ================================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--c-navy);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  color: var(--c-text-light);
  line-height: var(--leading-relaxed);
  max-width: 65ch;
}

.lead {
  font-size: var(--text-xl);
  line-height: var(--leading-normal);
  color: var(--c-text-light);
  font-weight: 400;
}

.overline {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--c-electric);
  display: inline-block;
  margin-bottom: var(--s-3);
}

.overline--green {
  color: var(--c-emerald);
}

.overline--white {
  color: var(--c-electric-light);
  opacity: 0.9;
}


/* ================================================================
   LAYOUT UTILITIES
   ================================================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--narrow {
  max-width: 800px;
}

.section {
  padding-block: var(--section-py);
}

.section--sm {
  padding-block: var(--section-py-sm);
}

.section--navy {
  background-color: var(--c-navy);
}

.section--navy-dark {
  background-color: var(--c-navy-dark);
}

.section--tint {
  background-color: var(--c-blue-tint);
}

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

.grid {
  display: grid;
  gap: var(--s-6);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.flex {
  display: flex;
  gap: var(--s-4);
}

.flex--center {
  align-items: center;
  justify-content: center;
}

.flex--between {
  align-items: center;
  justify-content: space-between;
}

.text-center { text-align: center; }
.text-left   { text-align: left; }

.mx-auto { margin-inline: auto; }


/* ================================================================
   BUTTONS
   ================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-lg);
  transition: all var(--t-base);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background: var(--c-electric);
  color: #fff;
  border-color: var(--c-electric);
  box-shadow: 0 4px 14px rgba(20, 97, 212, 0.35);
}

.btn--primary:hover {
  background: var(--c-electric-hover);
  border-color: var(--c-electric-hover);
  box-shadow: 0 6px 20px rgba(20, 97, 212, 0.45);
  transform: translateY(-1px);
  color: #fff;
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(20, 97, 212, 0.30);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.80);
  color: #fff;
  transform: translateY(-1px);
}

.btn--ghost-navy {
  background: transparent;
  color: var(--c-navy);
  border-color: var(--c-border);
}

.btn--ghost-navy:hover {
  background: var(--c-blue-tint);
  border-color: var(--c-electric);
  color: var(--c-electric);
  transform: translateY(-1px);
}

.btn--green {
  background: var(--c-emerald);
  color: #fff;
  border-color: var(--c-emerald);
  box-shadow: 0 4px 14px rgba(22, 133, 22, 0.30);
}

.btn--green:hover {
  background: var(--c-emerald-hover);
  border-color: var(--c-emerald-hover);
  box-shadow: 0 6px 20px rgba(22, 133, 22, 0.40);
  transform: translateY(-1px);
  color: #fff;
}

.btn--sm {
  font-size: var(--text-sm);
  padding: 0.625rem 1.25rem;
}

.btn--lg {
  font-size: var(--text-lg);
  padding: 1.1rem 2.25rem;
  border-radius: var(--radius-xl);
}

.btn--xl {
  font-size: var(--text-xl);
  padding: 1.25rem 2.75rem;
  border-radius: var(--radius-xl);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  align-items: center;
}

/* Arrow icon helper */
.btn svg,
.btn .arrow {
  transition: transform var(--t-fast);
}

.btn:hover svg,
.btn:hover .arrow {
  transform: translateX(3px);
}


/* ================================================================
   CARDS
   ================================================================ */

.card {
  background: var(--c-surface);
  border-radius: var(--radius-2xl);
  padding: var(--s-8);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--c-border-light);
  transition: box-shadow var(--t-slow), transform var(--t-slow);
}

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

.card--feature {
  padding: var(--s-8) var(--s-6);
  text-align: left;
}

.card--feature .card__icon {
  width: 52px;
  height: 52px;
  background: var(--c-electric-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-5);
  color: var(--c-electric);
}

.card--feature .card__icon--green {
  background: var(--c-emerald-light);
  color: var(--c-emerald);
}

.card--feature h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--s-3);
  color: var(--c-navy);
}

.card--feature p {
  font-size: var(--text-sm);
  color: var(--c-muted);
  max-width: none;
  line-height: var(--leading-relaxed);
}

.card--pricing {
  position: relative;
  padding: var(--s-10) var(--s-8);
}

.card--pricing.is-featured {
  background: var(--c-navy);
  border-color: var(--c-electric);
  box-shadow: var(--shadow-glow);
}

.card--pricing.is-featured h3,
.card--pricing.is-featured .price,
.card--pricing.is-featured p,
.card--pricing.is-featured li {
  color: #fff;
}

.card--pricing.is-featured .price__period {
  color: rgba(255, 255, 255, 0.65);
}

.badge--featured {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-electric);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.card--testimonial {
  padding: var(--s-8);
}

.card--testimonial .stars {
  color: #FBBF24;
  font-size: var(--text-lg);
  letter-spacing: 2px;
  margin-bottom: var(--s-4);
}

.card--testimonial blockquote {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--c-text-light);
  font-style: italic;
  margin-bottom: var(--s-5);
}

.card--testimonial .author {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.card--testimonial .author__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.card--testimonial .author__name {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--c-navy);
}

.card--testimonial .author__title {
  font-size: var(--text-xs);
  color: var(--c-muted);
}


/* ================================================================
   SECTION HEADER
   ================================================================ */

.section-header {
  margin-bottom: var(--s-14);
}

.section-header--center {
  text-align: center;
}

.section-header--center p {
  margin-inline: auto;
}

.section-header h2 {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  margin-bottom: var(--s-5);
  color: var(--c-navy);
  letter-spacing: var(--tracking-tight);
}

.section-header--light h2 {
  color: #fff;
}

.section-header--light p {
  color: rgba(255, 255, 255, 0.75);
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--c-muted);
  max-width: 52ch;
  line-height: var(--leading-relaxed);
}


/* ================================================================
   HERO
   ================================================================ */

.hero {
  position: relative;
  background-color: var(--c-navy-dark);
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-block: var(--s-28) var(--s-24);
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero__bg-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 97, 212, 0.18) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.hero__bg-glow--bottom {
  top: auto;
  bottom: -300px;
  right: auto;
  left: -100px;
  background: radial-gradient(circle, rgba(22, 133, 22, 0.10) 0%, transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  background: rgba(20, 97, 212, 0.15);
  border: 1px solid rgba(20, 97, 212, 0.35);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--c-electric-light);
  margin-bottom: var(--s-6);
}

.hero__eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-electric);
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: var(--text-hero);
  color: #fff;
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--s-6);
}

.hero h1 .accent {
  background: linear-gradient(135deg, #5B9FFF 0%, #1216D5 50%, #168516 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.72);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--s-10);
  max-width: 56ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  align-items: center;
  margin-bottom: var(--s-14);
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.50);
}

.hero__trust-avatars {
  display: flex;
}

.hero__trust-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--c-navy-dark);
  object-fit: cover;
  margin-left: -8px;
}

.hero__trust-avatar:first-child {
  margin-left: 0;
}

.hero__trust strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}


/* ================================================================
   TRUST BAR
   ================================================================ */

.trust-bar {
  padding-block: var(--s-6);
  background: var(--c-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-10);
  flex-wrap: wrap;
}

.trust-bar__stat {
  text-align: center;
}

.trust-bar__number {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: var(--s-1);
}

.trust-bar__number .unit {
  color: var(--c-electric);
}

.trust-bar__label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.50);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  font-weight: 500;
}

.trust-bar__divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
}


/* ================================================================
   FEATURE SPLIT (image + copy)
   ================================================================ */

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
  align-items: center;
}

.feature-split--reverse {
  direction: rtl;
}

.feature-split--reverse > * {
  direction: ltr;
}

.feature-split__copy h2 {
  font-size: clamp(var(--text-3xl), 3.5vw, var(--text-4xl));
  margin-bottom: var(--s-5);
  line-height: var(--leading-snug);
}

.feature-split__copy p {
  font-size: var(--text-lg);
  margin-bottom: var(--s-6);
  color: var(--c-muted);
}

.feature-split__list {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-bottom: var(--s-8);
}

.feature-split__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: var(--text-base);
  color: var(--c-text-light);
  line-height: var(--leading-normal);
}

.feature-split__list .check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-emerald-light);
  color: var(--c-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.feature-split__image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.feature-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-split__image--screen {
  background: var(--c-navy);
  border-radius: var(--radius-2xl);
  padding: var(--s-4);
  box-shadow: var(--shadow-2xl), 0 0 0 1px rgba(255,255,255,0.06);
}


/* ================================================================
   PRICING
   ================================================================ */

.price {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--c-navy);
  line-height: 1;
  margin-bottom: var(--s-2);
}

.price__currency {
  font-size: var(--text-2xl);
  font-weight: 700;
  vertical-align: super;
}

.price__period {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-muted);
  margin-left: 2px;
}

.pricing__features {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-block: var(--s-8);
}

.pricing__feature {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--text-sm);
  color: var(--c-text-light);
}

.pricing__feature svg {
  flex-shrink: 0;
  color: var(--c-emerald);
}


/* ================================================================
   FAQ ACCORDION
   ================================================================ */

.faq {
  max-width: 720px;
  margin-inline: auto;
}

.faq__item {
  border-bottom: 1px solid var(--c-border-light);
}

.faq__item:first-child {
  border-top: 1px solid var(--c-border-light);
}

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-6) 0;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--c-navy);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color var(--t-fast);
}

.faq__question:hover {
  color: var(--c-electric);
}

.faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-blue-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-electric);
  transition: background var(--t-fast), transform var(--t-base);
}

.faq__item.is-open .faq__icon {
  background: var(--c-electric);
  color: #fff;
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow), padding var(--t-slow);
}

.faq__item.is-open .faq__answer {
  max-height: 400px;
  padding-bottom: var(--s-6);
}

.faq__answer p {
  font-size: var(--text-base);
  color: var(--c-muted);
  line-height: var(--leading-relaxed);
  max-width: none;
}


/* ================================================================
   CTA BAND
   ================================================================ */

.cta-band {
  background: linear-gradient(135deg, var(--c-navy-dark) 0%, var(--c-navy-mid) 100%);
  padding-block: var(--s-24);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-band__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 97, 212, 0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-band h2 {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  color: #fff;
  margin-bottom: var(--s-5);
}

.cta-band p {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.70);
  margin-bottom: var(--s-10);
  margin-inline: auto;
  max-width: 52ch;
}

.cta-band .btn-group {
  justify-content: center;
}


/* ================================================================
   FOOTER
   ================================================================ */

.site-footer {
  background: var(--c-navy-dark);
  color: rgba(255,255,255,0.65);
  padding-top: var(--s-20);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s-12);
  padding-bottom: var(--s-16);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col__logo {
  height: 32px;
  width: auto;
  margin-bottom: var(--s-5);
}

.footer-col__tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.50);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--s-6);
  max-width: 28ch;
}

.footer-col__contact {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.footer-col__contact a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.60);
  transition: color var(--t-fast);
}

.footer-col__contact a:hover {
  color: var(--c-electric-light);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--s-5);
  color: #fff;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.footer-col ul a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  transition: color var(--t-fast);
}

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

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--s-6);
  flex-wrap: wrap;
  gap: var(--s-4);
}

.site-footer__copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}

.site-footer__legal {
  display: flex;
  gap: var(--s-6);
}

.site-footer__legal a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  transition: color var(--t-fast);
}

.site-footer__legal a:hover {
  color: rgba(255,255,255,0.70);
}


/* ================================================================
   BADGE / PILL
   ================================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.badge--blue {
  background: var(--c-electric-light);
  color: var(--c-electric);
}

.badge--green {
  background: var(--c-emerald-light);
  color: var(--c-emerald);
}

.badge--navy {
  background: rgba(20, 97, 212, 0.15);
  color: var(--c-electric-light);
  border: 1px solid rgba(20, 97, 212, 0.25);
}


/* ================================================================
   ICONS (inline SVG helpers)
   ================================================================ */

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}

.icon-box--blue {
  background: var(--c-electric-light);
  color: var(--c-electric);
}

.icon-box--green {
  background: var(--c-emerald-light);
  color: var(--c-emerald);
}

.icon-box--navy {
  background: rgba(255,255,255,0.10);
  color: var(--c-electric-light);
}


/* ================================================================
   DIVIDER / SEPARATOR
   ================================================================ */

.wave-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
}


/* ================================================================
   FORMS
   ================================================================ */

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-text);
  font-family: var(--font-heading);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  color: var(--c-text);
  background: var(--c-surface);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--c-electric);
  box-shadow: 0 0 0 3px var(--c-electric-glow);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--c-muted);
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--c-muted);
}

.form-error {
  font-size: var(--text-xs);
  color: #EF4444;
}


/* ================================================================
   ANIMATIONS
   ================================================================ */

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s var(--ease-out) both;
}

.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }


/* ================================================================
   RESPONSIVE — TABLET (max 1024px)
   ================================================================ */

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

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-split {
    grid-template-columns: 1fr;
    gap: var(--s-10);
  }

  .feature-split--reverse {
    direction: ltr;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-10);
  }

}


/* ================================================================
   RESPONSIVE — MOBILE (max 640px)
   ================================================================ */

@media (max-width: 640px) {
  :root {
    --section-py: clamp(3rem, 10vw, 5rem);
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 100svh;
    padding-top: calc(72px + var(--s-10));
    padding-bottom: var(--s-12);
    align-items: flex-start;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    text-align: center;
    justify-content: center;
  }

  .trust-bar__inner {
    gap: var(--s-6);
  }

  .trust-bar__divider {
    display: none;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    text-align: center;
    justify-content: center;
  }

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

  .site-footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .card {
    padding: var(--s-6);
  }

  .section-header h2 {
    font-size: var(--text-3xl);
  }

}


/* ================================================================
   WORDPRESS BLOCK OVERRIDES
   ================================================================ */

/* Strip Gutenberg default block padding/margin interference */
.wp-block-group,
.wp-block-columns,
.wp-block-column {
  all: revert;
}

/* Prevent WP adding random margin to blocks inside our sections */
.emrc-section .wp-block-group > *:first-child { margin-top: 0; }
.emrc-section .wp-block-group > *:last-child  { margin-bottom: 0; }

/* Divi parent reset overrides */
#page-container {
  padding-top: 0 !important;
}

body.et_fixed_nav #page-container {
  padding-top: 0 !important;
}

/* Override Divi's default fonts with ours */
body, p, li, span, div, input, textarea, select {
  font-family: var(--font-body) !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading) !important;
}
