/* ============================================
   UNITED MEDICAL IMMIGRATION EXAMS
   v2.0 — Conversion-First Architecture
   6 sections · Blue theme · ~830 words
   ============================================ */

:root {
  --navy: #1e3a5f;
  --blue: #3b7dd8;
  --blue-hover: #2d6bc4;
  --white: #ffffff;
  --beige: #f5f0eb;
  --light-blue: #e8eff6;
  --gold: #d4a44a;
  --text: #2d3748;
  --text-light: #5a6577;
  --border: rgba(30, 58, 95, 0.08);
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --max-width: 1080px;
  --color-white: #ffffff;
  --color-primary: #1e3a5f;
  --color-bg: #f8f9fa;
  --color-light-accent: #f0f4f8;
  --color-text: #2d3748;
  --color-text-light: #5a6577;
  --color-accent: #3b7dd8;
  --color-border: rgba(30, 58, 95, 0.08);
  --color-warm: #d4a44a;
  --max-width-narrow: 720px;
  --section-padding: 80px 24px;
  --section-padding-mobile: 48px 16px;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--navy);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--blue-hover);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1rem;
}

/* --- Utilities --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-heading {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 40px;
}

.icon--inline {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  stroke-width: 2;
}

.link--arrow {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.link--arrow:hover {
  color: var(--blue-hover);
  text-decoration: underline;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Buttons (Blue theme only) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn--blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn--blue:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(59, 125, 216, 0.3);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn--white:hover {
  background: #f0f4f8;
  border-color: #f0f4f8;
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn--white-on-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--blue);
}

.btn--white-on-white:hover {
  background: var(--light-blue);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--outline-white:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn--outline-blue {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn--outline-blue:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

/* ============================================
   SECTION 1: HERO — The Conversion Machine
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Cinematic fallback while video loads */
  background: linear-gradient(135deg, #0e2240 0%, #1a3a6e 50%, #162d52 100%);
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero__video-wrap.is-loaded {
  opacity: 1;
}

.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  min-width: 100%;
  height: 100vh;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

/* Left-heavy gradient: text side dark, video side visible */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(30, 58, 95, 0.90) 0%, rgba(30, 58, 95, 0.45) 100%),
    linear-gradient(160deg, rgba(180, 60, 80, 0.30) 0%, transparent 60%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 160px 24px 80px 48px;
  color: var(--white);
}

.hero__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero__content h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.12;
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.hero__sub {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  line-height: 1.7;
  opacity: 0.9;
  color: var(--white);
  margin-bottom: 32px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero__ctas .btn {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.hero__proof {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero__proof-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 1px;
}

.hero__proof-dot {
  opacity: 0.5;
}

.hero__badges {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.hero__badges img {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.hero__badges img:hover {
  transform: scale(1.1);
}

/* ============================================
   SECTION 2: TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--white);
  padding: 32px 24px 40px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.trust-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-bar__doctor {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-bar__photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
  box-shadow: var(--shadow-md);
}

.trust-bar__info {
  display: flex;
  flex-direction: column;
}

.trust-bar__info strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.3;
}

.trust-bar__info span {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.4;
}

.trust-bar__divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

.trust-bar__region {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.trust-bar__region-label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

.trust-bar__region-area {
  font-size: 0.88rem;
  color: var(--blue);
  font-weight: 600;
}

.trust-bar__region-sub {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* Floating USCIS badge — overlaps trust bar bottom */
.trust-bar__uscis-badge {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 10px 28px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
  z-index: 10;
}

.trust-bar__uscis-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.trust-bar__uscis-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.trust-bar__uscis-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  font-weight: 500;
  line-height: 1.3;
}

.trust-bar__uscis-text strong {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.3;
}

/* ============================================
   SECTION 3: SOCIAL PROOF — MARQUEE CAROUSEL
   ============================================ */
.social-proof {
  padding: 80px 0 60px;
  background: var(--beige);
  overflow: hidden;
}

/* Header */
.social-proof__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}
.social-proof__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 12px;
}
.social-proof__header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}
.social-proof__header h2 em {
  font-style: italic;
  color: var(--blue);
}
.social-proof__header p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Marquee track — full viewport width */
.marquee-track {
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

/* Slider — flex row, animated */
.marquee-slider {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}
.marquee-slider--left {
  animation: marquee-scroll-left 50s linear infinite;
}
.marquee-slider--right {
  animation: marquee-scroll-right 50s linear infinite;
}

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

/* Shared item sizing */
.marquee-item {
  flex-shrink: 0;
  height: 240px;
}

/* Portrait images */
.marquee-portrait {
  width: 220px;
  border-radius: 20px;
  overflow: hidden;
}
.marquee-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Testimonial cards */
.marquee-card {
  width: 300px;
  background: var(--white);
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.marquee-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Card header: avatar + name + stars */
.marquee-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.marquee-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}
.marquee-card__head strong {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--navy);
  display: block;
  line-height: 1.3;
}
.marquee-card__stars {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 1px;
  line-height: 1;
}
.marquee-card p {
  font-size: 0.88rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.65;
  flex: 1;
}

/* ============================================
   SAFETY REASSURANCE BAR
   ============================================ */
.safety-bar {
  padding: 60px 24px;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.safety-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.safety-bar__icon {
  margin-bottom: 12px;
}

.safety-bar__icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--blue);
  stroke-width: 1.5;
}

.safety-bar__item h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.safety-bar__item p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* ============================================
   SECTION 4: PRICING
   ============================================ */
.pricing {
  padding: 80px 24px;
  background: var(--white);
}

.pricing__heading {
  text-align: center;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin-bottom: 8px;
}

.pricing__sub {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 40px;
}

.pricing__box {
  max-width: 640px;
  margin: 0 auto;
  background: var(--light-blue);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}

.pricing__checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
  margin-bottom: 32px;
}

.pricing__check {
  font-size: 0.95rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing__check .icon--inline {
  color: var(--blue);
}

.pricing__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.pricing__ctas .btn {
  flex: 1;
  min-width: 200px;
}

.pricing__why {
  max-width: 640px;
  margin: 28px auto 0;
  padding: 20px 24px;
  background: var(--beige);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
}

/* ============================================
   SECTION 5: HOW IT WORKS / STEPS
   ============================================ */
.steps {
  padding: 80px 24px;
  background: var(--light-blue);
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.step-card__number {
  width: 52px;
  height: 52px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 20px;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================
   SECTION 6: FAQ
   ============================================ */
.faq {
  padding: 80px 24px;
  background: var(--white);
}

.faq__inner {
  max-width: 720px;
  margin: 0 auto;
}

.faq__inner h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-item:first-of-type {
  border-top: 1px solid var(--border);
}

.faq-item summary {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-light);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin-top: 14px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
  padding-right: 40px;
}

/* ============================================
   SECTION 7: FINAL CTA
   ============================================ */
.final-cta {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 72px 24px 48px;
}

.final-cta h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-bottom: 12px;
}

.final-cta>.container>p {
  opacity: 0.85;
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

.final-cta__address {
  margin-top: 28px;
  font-size: 0.85rem;
  opacity: 0.6;
  line-height: 1.6;
}

/* Social proof coins */
.social-coins {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.social-coins__avatars {
  display: flex;
  align-items: center;
}
.social-coins__img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--navy);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.3);
  margin-left: -10px;
}
.social-coins__img:first-child {
  margin-left: 0;
}
.social-coins__label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.3px;
}
.social-coins__label strong {
  color: var(--white);
}

/* ============================================
   CTA BANNER (shared component)
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, #132d5e 0%, #1a3a6e 60%, #152f55 100%);
  padding: 80px 24px;
  text-align: center;
  color: var(--white);
}

.cta-banner__heading {
  color: var(--white);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin-bottom: 16px;
}

.cta-banner__text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 0 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 0;
}

.footer__brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.7;
  margin-bottom: 0;
}

.footer__logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  margin-bottom: 12px;
}

.footer__col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.footer__col ul li {
  padding: 3px 0;
}

.footer__col a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer__col a:hover {
  color: var(--white);
}

.footer__col p {
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.78rem;
}

.footer__bottom a:hover {
  color: var(--white);
}

.footer__bottom-links {
  display: flex;
  gap: 20px;
}

.footer__credit {
  opacity: 0.4;
}

.footer__credit a {
  color: inherit;
  text-decoration: none;
}

.footer__credit a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ============================================
   MOBILE STICKY CTA BAR
   ============================================ */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--white);
  padding: 10px 12px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  border-top: 1px solid var(--border);
  gap: 8px;
}

.mobile-sticky-cta__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 48px;
}

.mobile-sticky-cta__btn .icon {
  width: 18px;
  height: 18px;
}

.mobile-sticky-cta__btn--call {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--navy);
}

.mobile-sticky-cta__btn--book {
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
}

/* ============================================
   SOCIAL PROOF TOAST
   ============================================ */
.social-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 24px));
  z-index: 9000;
  background: #fff;
  color: var(--navy);
  padding: 14px 20px;
  border-radius: 12px;
  border: 1.5px solid var(--blue);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0s 0.4s;
  pointer-events: none;
  max-width: 320px;
}

.social-toast.is-visible {
  transform: translateX(-50%) translateY(0);
  visibility: visible;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0s 0s;
}

.social-toast__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  flex-shrink: 0;
  animation: toastPulse 2s ease-in-out infinite;
}

@keyframes toastPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.social-toast__icon {
  font-size: 1rem;
  flex-shrink: 0;
}

/* ============================================
   SUBPAGE STYLES (appointments, legal, etc.)
   ============================================ */
.page-hero {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 140px 24px 80px;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto;
}

/* Appointments */
.appt-content {
  padding: 0 24px 64px;
  padding-top: 80px;
  background: var(--beige);
}

.appt-content__grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.appt-info {
  position: sticky;
  top: 80px;
  padding-top: 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.appt-info__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 0;
}

.mobile-br {
  display: none;
}

.appt-info__sub {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 4px;
  line-height: 1.5;
}

.appt-info__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.appt-info__badges span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  padding: 5px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

.appt-info__badges span svg {
  color: #16a34a;
  flex-shrink: 0;
}

.appt-embed {
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  padding: 0;
}

.appt-embed__widget {
  min-width: 320px;
}

.appt-embed__widget .calendly-inline-widget {
  width: 100% !important;
}

.appt-embed__widget .calendly-inline-widget iframe {
  width: 100% !important;
  border: none !important;
}

.appt-sidebar__card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.appt-sidebar__card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.appt-sidebar__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.appt-sidebar__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

.appt-sidebar__list li svg {
  width: 18px;
  height: 18px;
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 2px;
}

.appt-process {
  padding: 64px 24px 80px;
  background: var(--white);
}

.appt-process__inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.appt-process h2 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 40px;
}

.appt-process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.appt-process__step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.appt-process__step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.appt-process__step p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Legal */
.legal-content {
  padding: 140px 24px 80px;
  background: var(--beige);
}

.legal-content__inner {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content__inner h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.legal-content__updated {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

.legal-content__inner h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.legal-content__inner p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 16px;
}

.legal-content__inner ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content__inner ul li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 4px;
}

.legal-content__inner a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
  .trust-bar__inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .trust-bar__divider {
    width: 60px;
    height: 1px;
  }

  .trust-bar__region {
    align-items: center;
    text-align: center;
  }

  .marquee-item {
    height: 200px;
  }
  .marquee-card {
    width: 260px;
    padding: 18px 16px;
  }
  .marquee-portrait {
    width: 180px;
  }

  .safety-bar__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .steps__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .hero__content {
    padding: 140px 24px 60px;
  }

  .appt-content__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .appt-info {
    position: static;
    padding-top: 24px;
    gap: 12px;
  }

  .appt-process__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .social-toast {
    bottom: 20px;
  }
}

@media (max-width: 640px) {
  /* ---- MOBILE HERO REDESIGN ---- */
  /* Full-viewport hero: primary content centered, proof/badges below fold */
  .hero {
    min-height: 100svh;
    background: var(--navy);
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
  }

  .hero__video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60vh;
    bottom: auto;
  }

  .hero__video {
    height: 60vh;
    min-height: 60vh;
  }

  .hero__overlay {
    background: linear-gradient(180deg,
      rgba(30, 58, 95, 0.4) 0%,
      rgba(30, 58, 95, 0.55) 45%,
      rgba(30, 58, 95, 1) 88%
    );
  }

  .hero__content {
    position: relative;
    z-index: 2;
    padding: 0 28px 56px;
    padding-top: max(100px, 22vh);
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__eyebrow {
    font-size: 0.7rem;
    text-align: center;
    margin-bottom: 14px;
  }

  .hero__content h1 {
    font-size: 1.65rem;
    margin-bottom: 0;
    line-height: 1.2;
  }

  .hero__sub {
    margin-top: 40px;
    font-size: 0.95rem;
    margin-bottom: 32px;
    opacity: 0.85;
    line-height: 1.8;
  }

  .hero__ctas {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 14px;
  }

  .hero__ctas .btn {
    width: 100%;
    max-width: 320px;
    padding: 16px 24px;
    font-size: 0.95rem;
  }

  .hero__proof {
    font-size: 0.9rem;
    justify-content: center;
    margin-top: 32px;
  }

  .hero__badges {
    gap: 14px;
    justify-content: center;
    margin-top: 8px;
  }

  .hero__badges img {
    height: 56px;
  }

  .social-proof {
    padding: 72px 16px 48px;
  }

  .social-proof__quote {
    font-size: 1rem;
  }

  .pricing {
    padding: 48px 16px;
  }

  .pricing__box {
    padding: 28px 20px;
  }

  .pricing__ctas {
    flex-direction: column;
  }

  .pricing__ctas .btn {
    width: 100%;
  }

  .steps {
    padding: 48px 16px;
  }

  .faq {
    padding: 48px 16px;
  }

  .final-cta {
    padding: 48px 16px 36px;
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .appt-content {
    padding: 80px 12px 48px;
  }

  .appt-info {
    padding-top: 16px;
    gap: 10px;
    text-align: center;
    align-items: center;
  }

  .appt-info__heading {
    font-size: 1.35rem;
    text-align: center;
  }

  .mobile-br {
    display: block;
  }

  .appt-info .appt-sidebar__card {
    display: none;
  }

  .social-toast {
    bottom: 20px;
    max-width: none;
    width: auto;
    font-size: 0.82rem;
    padding: 10px 20px;
    border-radius: 999px;
    white-space: nowrap;
  }
}