/*
Theme Name: Practice Pilot
Theme URI: https://thepracticepilot.com
Author: Practice Pilot
Author URI: https://thepracticepilot.com
Description: AI Receptionist SaaS theme for The Practice Pilot - Never Miss Another Patient Call
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: practice-pilot
Tags: business, saas, healthcare, responsive
*/

/* =========================================================
   PRACTICE PILOT — DESIGN TOKENS
   ========================================================= */
:root {
  --navy:       #0f1f5c;
  --navy-dark:  #0a1540;
  --blue:       #2563eb;
  --blue-hover: #1d4ed8;
  --blue-light: #eff4ff;
  --teal:       #0ea5e9;
  --green:      #22c55e;
  --red:        #ef4444;
  --gray-50:    #f8f9fc;
  --gray-100:   #f1f5f9;
  --gray-200:   #e2e8f0;
  --gray-400:   #94a3b8;
  --gray-600:   #475569;
  --gray-700:   #334155;
  --gray-900:   #0f172a;
  --white:      #ffffff;

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:     0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.12);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.15);

  --font-sans:  'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --container:  1200px;
  --gutter:     24px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { line-height: 1.7; }

.text-blue  { color: var(--blue); }
.text-navy  { color: var(--navy); }
.text-gray  { color: var(--gray-600); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

/* =========================================================
   LAYOUT
   ========================================================= */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 80px; }
.section--sm { padding-block: 56px; }
.section--lg { padding-block: 112px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/* =========================================================
   COMPONENTS — BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,.35);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--gray-200);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover {
  background: var(--gray-50);
  box-shadow: var(--shadow);
}

.btn-lg { padding: 17px 36px; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-full { width: 100%; justify-content: center; }

/* =========================================================
   COMPONENTS — PILL / LABEL
   ========================================================= */
.label {
  display: inline-block;
  padding: 6px 14px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* =========================================================
   COMPONENTS — CARDS
   ========================================================= */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue);
  flex-shrink: 0;
}
.card-icon svg { width: 24px; height: 24px; }

/* Feature row card */
.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: all 0.2s ease;
}
.feature-row:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}
.feature-row__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}
.feature-row__body { flex: 1; }
.feature-row__title { font-weight: 700; color: var(--navy); font-size: 0.9375rem; margin-bottom: 2px; }
.feature-row__desc  { font-size: 0.8125rem; color: var(--gray-600); line-height: 1.5; }
.feature-row__arrow { color: var(--blue); flex-shrink: 0; }

/* =========================================================
   COMPONENTS — STAT BADGE
   ========================================================= */
.stat-badge {
  text-align: center;
  padding: 20px 24px;
}
.stat-badge__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: var(--blue);
}
.stat-badge__number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-badge__label { font-size: 0.8125rem; color: var(--gray-600); }

/* =========================================================
   COMPONENTS — SECTION HEADING
   ========================================================= */
.section-heading { max-width: 680px; }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading h2 { margin-bottom: 12px; }
.section-heading p  { color: var(--gray-600); font-size: 1.0625rem; }

/* Blue accent heading (second line) */
.accent { color: var(--blue); display: block; }

/* =========================================================
   COMPONENTS — UI MOCKUP CARDS
   ========================================================= */
.ui-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 16px 20px;
  font-size: 0.8125rem;
}
.ui-card--call {
  max-width: 260px;
}
.ui-card__label {
  font-size: 0.6875rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.ui-card__name  { font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.ui-card__sub   { font-size: 0.75rem; color: var(--gray-600); margin-bottom: 12px; }
.ui-card__chat  {
  background: var(--gray-50);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.8125rem;
  color: var(--gray-700);
  margin-bottom: 10px;
  line-height: 1.5;
}
.ui-card__wave {
  height: 28px;
  background: linear-gradient(90deg, var(--blue-light) 0%, var(--blue) 50%, var(--blue-light) 100%);
  border-radius: 100px;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}
.ui-card__wave::after {
  content: '';
  position: absolute;
  inset: 3px 6px;
  background: repeating-linear-gradient(90deg, transparent, transparent 2px, var(--blue) 2px, var(--blue) 4px);
  opacity: .3;
  border-radius: 100px;
}
.ui-card__actions { display: flex; gap: 8px; }
.ui-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.ui-btn--green { background: #22c55e; color: white; }
.ui-btn--red   { background: #ef4444; color: white; }

.ui-card--booked { max-width: 220px; }
.ui-card__booked-title { font-weight: 700; color: #22c55e; margin-bottom: 10px; font-size: 0.875rem; }
.ui-card__booked-row {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; color: var(--gray-600);
  margin-bottom: 4px;
}

/* =========================================================
   COMPONENTS — CHECK LIST
   ========================================================= */
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--gray-700);
}
.check-list li::before {
  content: '';
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #dcfce7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2322c55e'%3E%3Cpath fill-rule='evenodd' d='M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: 0 1px 0 var(--gray-100);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 1;
  min-width: 0;
  max-width: 220px;
}
.site-logo__icon {
  width: 40px; height: 40px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.site-logo__text strong { display: block; font-size: 0.9375rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.site-logo__text span   { display: block; font-size: 0.6875rem; color: var(--gray-400); }

/* Primary nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.primary-nav a {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.8375rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.primary-nav a:hover,
.primary-nav a.active {
  color: var(--blue);
  background: var(--blue-light);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown__menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--gray-700);
}
.nav-dropdown__menu a:hover { background: var(--gray-50); color: var(--blue); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 200;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav__close {
  align-self: flex-end;
  padding: 8px;
  font-size: 1.5rem;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  margin-bottom: 16px;
}
.mobile-nav a {
  display: block;
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
  border-bottom: 1px solid var(--gray-100);
}
.mobile-nav a:hover { background: var(--blue-light); color: var(--blue); }

/* =========================================================
   HERO — HOME
   ========================================================= */
.hero {
  background: var(--gray-50);
  padding-block: 80px 0;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__content { padding-bottom: 80px; }
.hero__eyebrow {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero__title { margin-bottom: 20px; }
.hero__desc {
  font-size: 1.0625rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  max-width: 500px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero__trust { display: flex; flex-direction: column; gap: 8px; }
.hero__trust-row { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__visual {
  position: relative;
  align-self: end;
}
.hero__image-wrap {
  position: relative;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  background: var(--blue-light);
}
.hero__image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top center;
}
.hero__badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  padding: 12px 16px;
}
.hero__badge--ai {
  top: 40px;
  right: -20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__badge--ai .badge-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  color: white;
}
.hero__badge--ai .badge-text strong { display: block; font-size: 0.875rem; font-weight: 700; color: var(--navy); }
.hero__badge--ai .badge-text span   { font-size: 0.75rem; color: var(--gray-600); }
.hero__badge--booked {
  bottom: 60px;
  right: -20px;
  min-width: 200px;
}
.hero__badge--phone {
  top: 140px;
  left: -16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue);
  color: white;
  box-shadow: var(--shadow-lg);
}

/* Trust bar */
.trust-bar {
  background: var(--white);
  padding-block: 40px;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.trust-bar__label {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: 28px;
  font-weight: 500;
}
.trust-bar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-bar__logo {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.trust-bar__logo:hover { color: var(--navy); }
.trust-bar__logo-icon { font-size: 1.25rem; }

/* =========================================================
   SECTION — INDUSTRIES / PRACTICE TYPES
   ========================================================= */
.industry-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
}
.industry-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.industry-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.industry-card__body h3 { font-size: 1rem; margin-bottom: 4px; }
.industry-card__body p  { font-size: 0.875rem; color: var(--gray-600); margin-bottom: 10px; line-height: 1.5; }
.industry-card__link { font-size: 0.875rem; font-weight: 700; color: var(--blue); }
.industry-card__arrow { margin-left: auto; color: var(--gray-400); padding-top: 2px; }

/* =========================================================
   SECTION — HOW IT WORKS (STEPS)
   ========================================================= */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr 1fr;
  gap: 24px;
  align-items: center;
  padding-block: 32px;
  border-bottom: 1px solid var(--gray-100);
}
.step:last-child { border-bottom: none; }
.step__number {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.step__number::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + 32px);
  background: var(--gray-200);
}
.step:last-child .step__number::after { display: none; }
.step__icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  margin-bottom: 12px;
}
.step__title { font-size: 1.125rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.step__desc  { font-size: 0.9375rem; color: var(--gray-600); line-height: 1.6; }

/* =========================================================
   SECTION — FEATURES GRID
   ========================================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* =========================================================
   SECTION — PRICING
   ========================================================= */
.pricing-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--gray-100);
  border-radius: 12px;
  padding: 4px;
  width: fit-content;
  margin-inline: auto;
  margin-bottom: 48px;
}
.pricing-toggle button {
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-600);
  transition: all 0.2s;
}
.pricing-toggle button.active {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 20px;
  padding: 32px;
  position: relative;
}
.pricing-card--popular {
  border-color: var(--blue);
  transform: scale(1.02);
}
.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: .04em;
}
.pricing-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1.5rem;
}
.pricing-card__name  { font-size: 1.125rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.pricing-card__desc  { font-size: 0.875rem; color: var(--gray-600); margin-bottom: 20px; }
.pricing-card__price { margin-bottom: 24px; }
.pricing-card__price .amount {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.pricing-card__price .period { font-size: 0.875rem; color: var(--gray-400); margin-left: 4px; }
.pricing-card__features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-card__features li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.875rem; color: var(--gray-700); line-height: 1.5;
}
.pricing-card__features li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #dcfce7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2322c55e'%3E%3Cpath fill-rule='evenodd' d='M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* =========================================================
   SECTION — FAQ ACCORDION
   ========================================================= */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
}
.faq-question .faq-icon {
  font-size: 1.25rem;
  color: var(--blue);
  transition: transform .2s;
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* =========================================================
   SECTION — TESTIMONIALS
   ========================================================= */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 28px;
}
.testimonial-card__quote {
  font-size: 2rem;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 12px;
}
.testimonial-card__text {
  font-size: 0.9375rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 20px;
}
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--gray-200);
}
.testimonial-card__name  { font-weight: 700; font-size: 0.875rem; color: var(--navy); }
.testimonial-card__role  { font-size: 0.75rem; color: var(--blue); }

/* =========================================================
   SECTION — CTA BANNER
   ========================================================= */
.cta-banner {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-banner__icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,.1);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}
.cta-banner__text h3 { color: white; font-size: 1.375rem; margin-bottom: 6px; }
.cta-banner__text p  { color: rgba(255,255,255,.7); font-size: 0.9375rem; }

/* =========================================================
   SECTION — STATS ROW
   ========================================================= */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stats-row__item {
  background: var(--white);
  padding: 32px 24px;
  text-align: center;
}
.stats-row__number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.stats-row__label { font-size: 0.875rem; color: var(--gray-600); }

/* =========================================================
   SECTION — ABOUT HERO
   ========================================================= */
.about-hero {
  padding-block: 80px;
  background: var(--white);
}
.about-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card { text-align: center; }
.team-card__photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  object-fit: cover;
  background: var(--gray-100);
  margin-bottom: 12px;
}
.team-card__name { font-weight: 700; font-size: 0.9375rem; color: var(--navy); margin-bottom: 2px; }
.team-card__role { font-size: 0.8125rem; color: var(--gray-600); }

/* =========================================================
   SECTION — BOOK A DEMO PAGE
   ========================================================= */
.demo-page {
  padding-block: 80px;
  background: var(--gray-50);
}
.demo-page .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.demo-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.demo-form-card h2 { font-size: 1.5rem; margin-bottom: 8px; }
.demo-form-card .subtitle { color: var(--gray-600); margin-bottom: 28px; font-size: 0.9375rem; }

/* Form elements */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 600; font-size: 0.875rem; color: var(--navy); margin-bottom: 6px; }
.form-label .required { color: var(--blue); }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-size: 0.9375rem;
  color: var(--gray-700);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-control::placeholder { color: var(--gray-400); }

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

.phone-group { display: flex; gap: 0; }
.phone-prefix {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 12px;
  border: 1.5px solid var(--gray-200);
  border-right: none;
  border-radius: 10px 0 0 10px;
  font-size: 0.9375rem;
  background: var(--gray-50);
  color: var(--gray-700);
  white-space: nowrap;
  cursor: pointer;
}
.phone-group .form-control {
  border-radius: 0 10px 10px 0;
  flex: 1;
}

.form-security {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.8125rem; color: var(--gray-400);
  text-align: center; justify-content: center;
  margin-bottom: 16px;
}
.form-phone-alt { text-align: center; font-size: 0.875rem; color: var(--gray-600); margin-top: 12px; }
.form-phone-alt a { color: var(--blue); font-weight: 600; }

/* Inline testimonial */
.demo-testimonial {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 32px;
}
.demo-testimonial__text { font-size: 0.9375rem; color: var(--navy); font-style: italic; margin-bottom: 12px; line-height: 1.6; }
.demo-testimonial__author { display: flex; align-items: center; gap: 10px; }
.demo-testimonial__avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--blue); }
.demo-testimonial__name { font-weight: 700; font-size: 0.875rem; color: var(--navy); }
.demo-testimonial__role { font-size: 0.75rem; color: var(--blue); }

/* Demo stats at bottom */
.demo-stats {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  margin-top: 64px;
}
.demo-stats h3 { font-size: 1.5rem; margin-bottom: 32px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}
.footer-main {
  padding-block: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p { font-size: 0.875rem; color: var(--gray-600); margin-top: 12px; line-height: 1.6; max-width: 220px; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-social {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-600);
  font-size: 0.875rem;
  transition: all .2s;
}
.footer-social:hover { background: var(--blue); color: white; }

.footer-col h4 { font-size: 0.875rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.875rem; color: var(--gray-600); transition: color .15s; }
.footer-col ul a:hover { color: var(--blue); }

.footer-bottom {
  border-top: 1px solid var(--gray-100);
  padding-block: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--gray-400);
}

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
  background: var(--gray-50);
  padding-block: 72px;
  position: relative;
  overflow: hidden;
}
.page-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.page-hero__content { position: relative; z-index: 1; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; }
  .section { padding-block: 56px; }

  .primary-nav, .header-actions .btn { display: none; }
  .hamburger { display: flex; }

  .hero .container,
  .page-hero .container,
  .about-hero .container,
  .demo-page .container { grid-template-columns: 1fr; }

  .hero__visual { display: none; }
  .hero__content { padding-bottom: 56px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--popular { transform: scale(1); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .cta-banner { flex-direction: column; text-align: center; padding: 36px 28px; }

  .step { grid-template-columns: 48px 1fr; }
  .step__number::after { display: none; }

  .form-row { grid-template-columns: 1fr; }
  .demo-form-card { padding: 28px 20px; }

  .trust-bar__logos { gap: 24px; }

  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .6; }
}

.animate-fade-up {
  animation: fadeUp 0.5s ease forwards;
}

/* Custom logo image — constrain size, override WordPress inline styles */
.site-logo--image {
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
  max-width: 200px;
  text-decoration: none;
}
/* Target every possible element WordPress wraps the logo in */
.site-logo--image a,
.custom-logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 1;
  min-width: 0;
}
.site-logo--image img,
.site-logo--image .custom-logo,
.custom-logo-link img,
.custom-logo-link .custom-logo,
a.custom-logo-link img {
  max-height: 44px !important;
  max-width: 200px !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  object-fit: contain;
}

/* Prevent nav items from wrapping */
.primary-nav a { white-space: nowrap; }

/* Footer logo */
.footer-brand .site-logo--image,
.footer-brand .custom-logo-link { max-width: 180px; }
.footer-brand .site-logo--image img,
.footer-brand .site-logo--image .custom-logo,
.footer-brand .custom-logo-link img { max-height: 40px !important; max-width: 180px !important; }

/* WordPress alignment */
.wp-block-image { margin-block: 24px; }
.aligncenter { text-align: center; }
.alignleft  { float: left; margin-right: 24px; }
.alignright { float: right; margin-left: 24px; }

/* Screen reader */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute; width: 1px;
  word-wrap: normal !important;
}
