/* ============================================================
   ATLAS INTENSIVE CARE — Shared Stylesheet
   Brand colors from logo: navy + terracotta
   Typography: Tiro Devanagari Hindi gives subtle topbar/matra
   effect on English text (the Indian-restaurant-signage feel)
   ============================================================ */

:root {
  /* Brand colors sampled from the actual logo */
  --navy: #0d2f3f;
  --navy-soft: #1a4456;
  --navy-deep: #061a24;
  --terracotta: #c25a2c;
  --terracotta-soft: #e08560;
  --terracotta-light: #f5d4c0;
  --terracotta-pale: #faebde;

  --cream: #faf6ef;
  --cream-warm: #f3ead9;
  --paper: #fdfbf6;
  --white: #ffffff;
  --ink: var(--navy);
  --ink-soft: var(--navy-soft);
  --green: #4a7c59;
  --red: #b83a30;

  --shadow: 0 8px 32px rgba(13, 47, 63, 0.08);
  --shadow-lg: 0 20px 60px rgba(13, 47, 63, 0.15);

  /* Typography pairing */
  --display: 'Fraunces', Georgia, serif;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Outfit', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ===== Top trust bar — fax displayed prominently ===== */
.trust-bar {
  background: var(--navy);
  color: var(--cream);
  padding: 10px 24px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.3px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-bar strong { color: var(--terracotta-soft); font-weight: 600; }
.trust-bar .divider { opacity: 0.3; }

/* ===== Header ===== */
header {
  background: var(--white);
  padding: 14px 32px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img {
  height: 56px;
  width: auto;
  border-radius: 6px;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: nowrap;
}
nav.main-nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}
nav.main-nav a:hover { color: var(--terracotta); }
nav.main-nav a.active { color: var(--terracotta); }
nav.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--terracotta);
}

/* ===== CTA buttons ===== */
.cta-btn {
  background: var(--navy);
  color: var(--cream);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--sans);
  white-space: nowrap;
}
.cta-btn:hover {
  background: var(--terracotta);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(194, 90, 44, 0.25);
}
.cta-btn.terracotta { background: var(--terracotta); color: var(--white); }
.cta-btn.terracotta:hover { background: var(--navy); color: var(--cream); }
.cta-btn.outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.cta-btn.outline:hover { background: var(--ink); color: var(--cream); }
.cta-btn.outline-light {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid var(--terracotta-soft);
}

/* Compact outline variant for use in nav alongside primary CTA */
.cta-btn.compact {
  padding: 10px 18px;
  font-size: 14px;
}
.cta-btn.outline.navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.cta-btn.outline.navy:hover {
  background: var(--navy);
  color: var(--cream);
}

/* Wrap multiple nav CTAs cleanly on mobile */
.main-nav .nav-cta-group {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
@media (max-width: 768px) {
  .main-nav .nav-cta-group {
    flex-wrap: wrap;
    width: 100%;
    margin-top: 8px;
  }
}

/* ===== Page hero (subpages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-warm) 100%);
  padding: 80px 32px 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--terracotta-light) 0%, transparent 70%);
  opacity: 0.4;
}
.page-hero-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.breadcrumbs {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.breadcrumbs a { color: var(--ink-soft); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--terracotta); }
.breadcrumbs span { color: var(--terracotta); }

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  max-width: 880px;
  color: var(--navy);
}
.page-hero h1 em { font-style: italic; color: var(--terracotta); }
.page-hero p.lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 720px;
  line-height: 1.6;
}

/* ===== Big home hero — leads with medical+immigration ===== */
.hero {
  position: relative;
  padding: 70px 32px 100px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-warm) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--terracotta-light) 0%, transparent 70%);
  opacity: 0.5;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13, 47, 63, 0.04) 0%, transparent 70%);
  z-index: 0;
}
.hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1.05;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 24px;
  letter-spacing: -0.015em;
}
.hero h1 em { font-style: italic; color: var(--terracotta); }

.hero p.lead {
  font-size: 19px;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(13, 47, 63, 0.12);
}
.stat-num {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 400;
  color: var(--terracotta);
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 6px;
  display: block;
}

/* Hero feature card */
.hero-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 1px solid rgba(194, 90, 44, 0.15);
}
.hero-card .card-tag {
  position: absolute;
  top: -16px;
  right: 24px;
  background: var(--terracotta);
  color: var(--white);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 4px;
}
.hero-card h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 6px;
  color: var(--navy);
}
.hero-card .price {
  font-family: var(--display);
  font-size: 56px;
  font-weight: 400;
  color: var(--navy);
  margin: 20px 0 4px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-card .price small { font-size: 16px; color: var(--ink-soft); font-weight: 400; }
.hero-card .price-note { color: var(--ink-soft); font-size: 14px; margin-bottom: 24px; }
.hero-card ul { list-style: none; margin-bottom: 24px; }
.hero-card ul li {
  padding: 10px 0 10px 28px;
  border-bottom: 1px dashed rgba(13, 47, 63, 0.1);
  font-size: 14px;
  line-height: 1.5;
  position: relative;
}
.hero-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--terracotta);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  width: 20px;
  text-align: left;
}

/* ===== Trust strip ===== */
.trust-strip {
  background: var(--white);
  padding: 32px;
  border-top: 1px solid rgba(13, 47, 63, 0.05);
  border-bottom: 1px solid rgba(13, 47, 63, 0.05);
}
.trust-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.trust-item { display: flex; align-items: center; gap: 16px; }
.trust-icon {
  width: 48px;
  height: 48px;
  background: var(--cream-warm);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  font-size: 24px;
  flex-shrink: 0;
}
.trust-item h4 {
  font-family: var(--display);
  font-size: 16px;
  margin-bottom: 2px;
  font-weight: 400;
  color: var(--navy);
}
.trust-item p { font-size: 13px; color: var(--ink-soft); line-height: 1.4; }

/* ===== Sections ===== */
section { padding: 100px 32px; }
.container { max-width: 1280px; margin: 0 auto; }
.container-narrow { max-width: 880px; margin: 0 auto; }

.section-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--terracotta);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.015em;
  font-weight: 400;
  color: var(--navy);
}
.section-title em { font-style: italic; color: var(--terracotta); }
.section-intro {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 700px;
  margin-bottom: 64px;
  line-height: 1.6;
}

/* ===== Process steps ===== */
.process { background: var(--white); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--terracotta) 0 8px, transparent 8px 16px);
  z-index: 0;
  opacity: 0.4;
}
.step { position: relative; z-index: 1; }
.step-num {
  width: 64px;
  height: 64px;
  background: var(--cream);
  border: 2px solid var(--terracotta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 24px;
  transition: all 0.3s;
}
.step:hover .step-num {
  background: var(--terracotta);
  color: var(--white);
  transform: scale(1.05);
}
.step h4 {
  font-family: var(--display);
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 400;
  color: var(--navy);
}
.step p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

/* ===== Pricing ===== */
.pricing { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%); }
.pricing-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.pricing-main {
  background: var(--white);
  border-radius: 12px;
  padding: 48px;
  box-shadow: var(--shadow);
}
.pricing-main h3 {
  font-family: var(--display);
  font-size: 30px;
  margin-bottom: 8px;
  font-weight: 400;
  color: var(--navy);
}
.pricing-main .price-tag {
  font-family: var(--display);
  font-size: 72px;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 16px 0;
  line-height: 1;
}
.pricing-main .price-tag small { font-size: 18px; color: var(--ink-soft); font-weight: 400; }
.pricing-main hr { border: none; border-top: 1px dashed rgba(13, 47, 63, 0.15); margin: 24px 0; }
.included-list {
  list-style: none;
}
.included-list li {
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  border-bottom: 1px solid rgba(13, 47, 63, 0.08);
}
.included-list li:last-child {
  border-bottom: none;
}
.included-list li > strong,
.included-list li > span:first-child {
  flex: 1;
  min-width: 0;
  line-height: 1.5;
  font-weight: 600;
}
.included-list li > span:last-child {
  flex-shrink: 0;
  font-weight: 500;
  font-size: 14px;
  color: var(--green);
  white-space: nowrap;
  line-height: 1.5;
}
.pricing-side {
  background: var(--navy);
  color: var(--cream);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pricing-side h4 {
  font-family: var(--display);
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--terracotta-soft);
  font-weight: 400;
}
.pricing-side ul { list-style: none; margin-bottom: 24px; }
.pricing-side li { padding: 8px 0; font-size: 14px; opacity: 0.9; }
.pricing-side li::before { content: '— '; color: var(--terracotta-soft); }

/* ===== FAQ ===== */
.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
details.faq-item {
  background: var(--cream);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
}
details.faq-item[open] { background: var(--cream-warm); box-shadow: var(--shadow); }
details.faq-item summary {
  cursor: pointer;
  padding: 24px;
  font-weight: 400;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--display);
  color: var(--navy);
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+';
  font-size: 28px;
  color: var(--terracotta);
  font-weight: 300;
  transition: transform 0.3s;
  flex-shrink: 0;
  line-height: 1;
}
details.faq-item[open] summary::after { transform: rotate(45deg); }
details.faq-item p {
  padding: 0 24px 24px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

/* ===== Locations & mailing ===== */
.locations { background: var(--cream); }
.locations-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.locations-grid.locations-3 { grid-template-columns: repeat(3, 1fr); }
.location-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--terracotta);
}
.location-card h4 {
  font-family: var(--display);
  font-size: 24px;
  margin-bottom: 8px;
  font-weight: 400;
  color: var(--navy);
}
.location-card .addr { color: var(--ink-soft); margin-bottom: 16px; line-height: 1.5; }
.location-card .hours { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.location-card .map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--terracotta);
  font-weight: 500;
  margin-top: 16px;
  font-size: 14px;
}

.mailing-notice {
  margin-top: 32px;
  background: var(--white);
  border: 1px dashed rgba(13, 47, 63, 0.25);
  border-radius: 8px;
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.mailing-notice-tag {
  flex-shrink: 0;
  background: var(--navy);
  color: var(--terracotta-soft);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}
.mailing-notice-body { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.mailing-notice-body strong { display: block; color: var(--navy); margin-bottom: 4px; font-weight: 600; }
.mailing-notice-body span {
  display: block;
  font-family: var(--display);
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 400;
}
.mailing-notice-body small { display: block; font-size: 12px; opacity: 0.75; font-style: italic; }

/* ===== Reviews — featured first review larger ===== */
.reviews { background: var(--cream-warm); }
.reviews-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 48px;
}
.review-summary {
  background: var(--white);
  border-radius: 8px;
  padding: 16px 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 16px;
}
.review-summary-stars {
  font-family: var(--display);
  font-size: 32px;
  color: var(--terracotta);
  font-weight: 400;
  line-height: 1;
}
.review-summary-text { font-size: 13px; color: var(--ink-soft); }
.review-summary-text strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
  font-family: var(--display);
  font-weight: 400;
}

/* Featured review (the Chinese review goes here) */
.review-featured {
  background: var(--navy);
  color: var(--cream);
  padding: 48px;
  border-radius: 12px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.review-featured::before {
  content: '"';
  position: absolute;
  top: -40px;
  left: 32px;
  font-family: var(--display);
  font-size: 240px;
  color: var(--terracotta);
  opacity: 0.15;
  line-height: 1;
  font-weight: 400;
}
.review-featured-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
}
.review-featured-tag {
  display: inline-block;
  background: var(--terracotta);
  color: var(--white);
  padding: 4px 12px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 3px;
  margin-bottom: 20px;
}
.review-featured .stars {
  color: var(--terracotta-soft);
  font-size: 22px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.review-featured-text {
  font-family: var(--display);
  font-size: 26px;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 24px;
  color: var(--cream);
  font-weight: 400;
}
.review-featured-author {
  font-size: 14px;
  color: var(--terracotta-soft);
  letter-spacing: 0.5px;
}
.review-featured-author strong {
  display: block;
  color: var(--cream);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 2px;
}

/* Standard review grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--white);
  padding: 28px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 12px;
}
.review-stars { color: var(--terracotta); font-size: 16px; letter-spacing: 1px; }
.review-google {
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.review-google::before {
  content: 'G';
  color: var(--terracotta);
  font-weight: 700;
  font-family: var(--display);
}
.review-text {
  font-family: var(--display);
  font-size: 15px;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--navy);
  flex-grow: 1;
}
.review-author {
  font-size: 13px;
  color: var(--ink-soft);
  padding-top: 16px;
  border-top: 1px solid rgba(13, 47, 63, 0.06);
}
.review-author strong { color: var(--navy); display: block; font-weight: 600; }
.review-date { opacity: 0.7; font-size: 12px; margin-top: 2px; }

.review-cta-banner {
  margin-top: 48px;
  background: var(--white);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}
.review-cta-banner p {
  margin: 0;
  font-family: var(--display);
  font-size: 20px;
  color: var(--navy);
  font-weight: 400;
}

/* ===== Live reviews widget container ===== */
.reviews-widget-container {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
  min-height: 300px;
  position: relative;
}

/* Loading state — shown while widget JS is fetching reviews */
.reviews-widget-container::before {
  content: '';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    transparent 30%,
    rgba(194, 90, 44, 0.05) 50%,
    transparent 70%
  );
  background-size: 200% 200%;
  animation: shimmer 2s ease-in-out infinite;
  border-radius: 12px;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

/* Hide loading shimmer once widget content has loaded */
.reviews-widget-container:has([data-featurable-async] > *)::before,
.reviews-widget-container:has(.featurable-loaded)::before {
  display: none;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Fallback shown if widget fails to load (no JS, network error, etc.) */
.reviews-fallback {
  text-align: center;
  padding: 64px 24px;
  color: var(--ink-soft);
}
.reviews-fallback p {
  font-family: var(--display);
  font-size: 18px;
  color: var(--navy);
}
.reviews-fallback a {
  color: var(--terracotta);
  font-weight: 600;
  border-bottom: 2px solid var(--terracotta);
}

/* Make sure widget content blends with site design */
.reviews-widget-container [data-featurable-async] {
  position: relative;
  z-index: 1;
}
.reviews-widget-container [data-featurable-async] * {
  font-family: var(--sans) !important;
}

/* ===== CTA section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(194, 90, 44, 0.15) 0%, transparent 70%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section .section-title { color: var(--cream); }
.cta-section .section-title em { color: var(--terracotta-soft); }
.cta-section p {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Service tiles ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(13, 47, 63, 0.08);
  border: 1px solid rgba(13, 47, 63, 0.08);
  border-radius: 8px;
  overflow: hidden;
}
.service-tile {
  background: var(--white);
  padding: 32px 28px;
  transition: all 0.3s;
}
.service-tile:hover { background: var(--cream-warm); transform: translateY(-2px); }
.service-tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--terracotta-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  font-size: 20px;
  margin-bottom: 16px;
}
.service-tile h4 {
  font-family: var(--display);
  font-size: 19px;
  margin-bottom: 8px;
  font-weight: 400;
  color: var(--navy);
}
.service-tile p { color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.service-tile .service-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--terracotta);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.care-models {
  background: var(--cream-warm);
  border-radius: 8px;
  padding: 40px;
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.care-model h5 {
  font-family: var(--display);
  font-size: 22px;
  margin-bottom: 8px;
  font-weight: 400;
  color: var(--navy);
}
.care-model h5 span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--terracotta);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.care-model p { color: var(--ink-soft); font-size: 14px; line-height: 1.55; }

/* ===== Two-column blocks ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 80px;
}
.two-col h3 {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.two-col h3 em { font-style: italic; color: var(--terracotta); }
.two-col p { color: var(--ink-soft); margin-bottom: 16px; line-height: 1.7; }
.two-col ul { list-style: none; margin: 16px 0; }
.two-col ul li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--ink-soft);
  line-height: 1.6;
}
.two-col ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 600;
}

/* ===== Form prep info card ===== */
.form-prep {
  background: var(--cream-warm);
  border-radius: 12px;
  padding: 48px;
  margin: 48px 0;
  border-left: 4px solid var(--terracotta);
}
.form-prep h3 {
  font-family: var(--display);
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--navy);
  font-weight: 400;
}
.form-prep p { color: var(--ink-soft); margin-bottom: 16px; line-height: 1.7; }
.form-prep .download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--cream);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  margin-top: 16px;
  transition: all 0.2s;
}
.form-prep .download-link:hover { background: var(--terracotta); }

.form-prep-pages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.form-page-card {
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
  border: 1px solid rgba(13, 47, 63, 0.08);
}
.form-page-card .page-num {
  font-family: var(--display);
  font-size: 36px;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 8px;
}
.form-page-card h5 {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--navy);
}
.form-page-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

.warning-callout {
  background: #fff8eb;
  border-left: 4px solid #d4a73b;
  padding: 20px 24px;
  border-radius: 4px;
  margin-top: 24px;
}
.warning-callout strong { color: var(--navy); display: block; margin-bottom: 4px; }
.warning-callout p { color: var(--ink-soft); font-size: 14px; margin: 0; line-height: 1.5; }

.info-callout {
  background: var(--terracotta-pale);
  border-left: 4px solid var(--terracotta);
  padding: 20px 24px;
  border-radius: 4px;
  margin-top: 24px;
}
.info-callout strong { color: var(--navy); display: block; margin-bottom: 4px; }
.info-callout p { color: var(--ink-soft); font-size: 14px; margin: 0; line-height: 1.5; }

/* ===== Contact form ===== */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(13, 47, 63, 0.15);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 15px;
  background: var(--white);
  transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none;
  border-color: var(--terracotta);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button {
  background: var(--navy);
  color: var(--cream);
  padding: 16px 32px;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.contact-form button:hover { background: var(--terracotta); }

.contact-info {
  background: var(--cream-warm);
  border-radius: 12px;
  padding: 40px;
}
.contact-info h3 {
  font-family: var(--display);
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--navy);
  font-weight: 400;
}
.contact-info-item { padding: 16px 0; border-bottom: 1px solid rgba(13, 47, 63, 0.08); }
.contact-info-item:last-child { border: none; }
.contact-info-item .label {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--terracotta);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-info-item .value {
  font-family: var(--display);
  font-size: 18px;
  color: var(--navy);
  font-weight: 400;
}
.contact-info-item .value a { color: var(--navy); }
.contact-info-item .value a:hover { color: var(--terracotta); }

/* ===== Footer ===== */
footer {
  background: var(--navy);
  color: var(--cream);
  padding: 64px 32px 32px;
}

/* Big contact callout right above footer */
.contact-callout {
  background: var(--navy-deep);
  padding: 48px 32px;
  border-bottom: 1px solid rgba(194, 90, 44, 0.2);
}
.contact-callout-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.contact-callout-item {
  text-align: center;
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(194, 90, 44, 0.2);
  transition: all 0.3s;
}
.contact-callout-item:hover {
  background: rgba(194, 90, 44, 0.08);
  transform: translateY(-2px);
}
.contact-callout-label {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--terracotta-soft);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}
.contact-callout-number {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--cream);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-decoration: none;
  display: block;
  line-height: 1.1;
  margin-bottom: 8px;
}
.contact-callout-number:hover { color: var(--terracotta-soft); }
.contact-callout-sub {
  font-size: 13px;
  color: var(--cream);
  opacity: 0.7;
  letter-spacing: 0.5px;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
footer h5 {
  font-family: var(--display);
  font-size: 17px;
  color: var(--terracotta-soft);
  margin-bottom: 16px;
  font-weight: 400;
}
footer ul { list-style: none; }
footer li { padding: 6px 0; }
footer a {
  color: var(--cream);
  opacity: 0.7;
  font-size: 14px;
  transition: opacity 0.2s;
}
footer a:hover { opacity: 1; color: var(--terracotta-soft); }
footer p { font-size: 14px; opacity: 0.7; line-height: 1.6; }
footer .footer-logo {
  background: var(--cream);
  border-radius: 12px;
  padding: 16px 20px;
  display: inline-block;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
footer .footer-logo img {
  height: 56px;
  display: block;
  filter: none;
}
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 16px;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  nav.main-nav { gap: 18px; }
  nav.main-nav a { font-size: 13px; }
}
@media (max-width: 968px) {
  .hero-grid, .pricing-grid, .trust-strip-inner, .process-steps, .reviews-grid,
  .faq-grid, .footer-grid, .locations-grid, .locations-grid.locations-3,
  .services-grid, .care-models, .two-col, .contact-grid, .form-prep-pages,
  .reviews-header, .contact-callout-inner {
    grid-template-columns: 1fr;
  }
  .process-steps::before { display: none; }
  nav.main-nav { display: none; }
  .hero, .page-hero { padding: 60px 24px 60px; }
  section { padding: 64px 24px; }
  .pricing-main, .pricing-side, .form-prep, .contact-info { padding: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .mailing-notice { flex-direction: column; gap: 12px; }
  .review-cta-banner { flex-direction: column; align-items: flex-start; }
  .review-featured { padding: 32px; }
  .review-featured-text { font-size: 20px; }
  header { padding: 12px 20px; }
  .logo img { height: 44px; }
}

/* ===== About page — portrait + military badge ===== */
.about-hero {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-warm) 100%);
  padding: 80px 32px 60px;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--terracotta-light) 0%, transparent 70%);
  opacity: 0.4;
}
.about-hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.about-portrait { position: relative; }
.about-portrait img {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(13, 47, 63, 0.18);
  display: block;
  margin-left: auto;
}
.about-portrait-fallback {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  margin-left: auto;
  background: linear-gradient(135deg, var(--cream-warm) 0%, var(--terracotta-light) 100%);
  border-radius: 16px;
  border: 2px dashed rgba(13, 47, 63, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-style: italic;
  text-align: center;
  padding: 32px;
  font-size: 14px;
  box-shadow: 0 20px 50px rgba(13, 47, 63, 0.08);
}

@media (max-width: 968px) {
  .about-hero-grid { grid-template-columns: 1fr; }
  .about-portrait img, .about-portrait-fallback { margin: 0 auto; }
}

/* ===== FAQ — expanded styles for topic groups and language tags ===== */
.faq-topic-group {
  margin-bottom: 48px;
}
.faq-topic-group:last-child {
  margin-bottom: 0;
}
.faq-topic-label {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  color: var(--terracotta);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--terracotta-light);
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq-topic-label::before {
  content: '';
  width: 6px;
  height: 24px;
  background: var(--terracotta);
  border-radius: 3px;
}

.faq-item summary {
  flex-wrap: wrap;
}
.faq-lang-tags {
  display: inline-flex;
  gap: 6px;
  margin-left: auto;
  padding-left: 8px;
  flex-shrink: 0;
}
.faq-lang-tag {
  background: rgba(194, 90, 44, 0.12);
  color: var(--terracotta);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.2;
}
.faq-lang-tag[data-lang="es"] { background: rgba(194, 90, 44, 0.12); color: var(--terracotta); }
.faq-lang-tag[data-lang="hi"] { background: rgba(13, 47, 63, 0.08); color: var(--navy); }
.faq-lang-tag[data-lang="pa"] { background: rgba(74, 124, 89, 0.15); color: var(--green); }
.faq-lang-tag[data-lang="zh"] { background: rgba(184, 58, 48, 0.12); color: var(--red); }
.faq-lang-tag[data-lang="vi"] { background: rgba(201, 169, 97, 0.18); color: #8a6f2c; }

@media (max-width: 700px) {
  .faq-lang-tags { width: 100%; margin-left: 0; padding-left: 0; margin-top: 8px; }
  .faq-item summary { gap: 8px; }
}

/* Smooth fade in */
.fade-in { opacity: 0; transform: translateY(20px); animation: fadeIn 0.8s ease-out forwards; }
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ===== Multilingual greeting banner (immigration page) ===== */
.lang-greeting {
  background: var(--cream-warm);
  padding: 18px 24px;
  text-align: center;
  border-bottom: 1px solid rgba(13, 47, 63, 0.08);
}.lang-greeting-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.4;
}
.lang-greeting-label {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-right: 4px;
}
.lang-greeting-phrase {
  font-family: var(--display);
  font-weight: 400;
  white-space: nowrap;
}
.lang-greeting-phrase[lang="pa"] {
  font-family: 'Noto Sans Gurmukhi', var(--display);
}
.lang-greeting-phrase[lang="zh"] {
  font-family: 'Noto Sans SC', var(--display);
}
.lang-greeting-phrase[lang="vi"] {
  /* Outfit handles Vietnamese diacritics well */
  font-family: 'Outfit', var(--sans);
  font-weight: 500;
}
.lang-greeting-phrase + .lang-greeting-phrase::before {
  content: '·';
  color: var(--terracotta);
  margin-right: 24px;
  margin-left: 0;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .lang-greeting { padding: 14px 16px; }
  .lang-greeting-inner { font-size: 14px; gap: 8px 16px; }
  .lang-greeting-phrase + .lang-greeting-phrase::before { margin-right: 16px; }
}

/* ===== Office photo sections ===== */
.photo-feature {
  background: var(--cream);
  padding: 80px 32px;
  position: relative;
}
.photo-feature .container {
  max-width: 1280px;
  margin: 0 auto;
}
.photo-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.photo-feature-grid.reverse {
  grid-template-columns: 1fr 1fr;
}
.photo-feature-grid.reverse .photo-feature-img {
  order: 2;
}
.photo-feature-grid.reverse .photo-feature-text {
  order: 1;
}

.photo-feature-img {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.photo-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder shown until real photo is uploaded */
.photo-placeholder {
  background: linear-gradient(135deg, var(--cream-warm) 0%, var(--terracotta-light) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  height: 100%;
  border: 2px dashed rgba(13, 47, 63, 0.2);
  position: relative;
}
.photo-placeholder-icon {
  font-size: 64px;
  color: var(--terracotta);
  margin-bottom: 16px;
  opacity: 0.6;
}
.photo-placeholder-label {
  font-family: var(--display);
  font-size: 22px;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 8px;
}
.photo-placeholder-hint {
  font-size: 13px;
  color: var(--ink-soft);
  font-style: italic;
  max-width: 280px;
  line-height: 1.5;
}

.photo-feature-text h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.photo-feature-text h2 em { font-style: italic; color: var(--terracotta); }
.photo-feature-text p {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Three-photo gallery row */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.photo-gallery .photo-feature-img {
  aspect-ratio: 1 / 1;
}
.photo-gallery .photo-placeholder-icon { font-size: 40px; }
.photo-gallery .photo-placeholder-label { font-size: 16px; }
.photo-gallery .photo-placeholder-hint { font-size: 12px; }

@media (max-width: 968px) {
  .photo-feature-grid, .photo-feature-grid.reverse, .photo-gallery {
    grid-template-columns: 1fr;
  }
  .photo-feature-grid.reverse .photo-feature-img { order: 0; }
  .photo-feature-grid.reverse .photo-feature-text { order: 1; }
  .photo-feature { padding: 48px 24px; }
}
