/* OnCalla Solutions — 2026 visual refresh (color unification + typography + polish) */
/* Loaded after the compiled Tailwind bundle; overrides existing utility classes only. */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --brand-red: #C1272D;
  --brand-red-dark: #96181D;
  --brand-ink: #1E2A3A;
  --brand-ink-dark: #10161F;
  --brand-ink-tint: #EEF1F5;
  --brand-slate: #57606E;
  --brand-gold: #C9982F;
  --brand-gold-dark: #A87C22;

  /* soften the shadcn theme primary + radius to match the real brand */
  --primary: 356 66% 44%;
  --radius: .75rem;
}

html, body, button, input, textarea, select {
  font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji" !important;
}

/* Refined neutral text tones (replace generic Tailwind gray with a warmer, richer ink/slate) */
.text-gray-900 { color: var(--brand-ink) !important; }
.text-gray-800 { color: var(--brand-ink) !important; }
.text-gray-700 { color: var(--brand-slate) !important; }
.text-gray-600 { color: var(--brand-slate) !important; }

/* Arbitrary gold CTA button used site-wide */
.bg-\[\#FFAF45\] { background-color: var(--brand-gold) !important; }
.hover\:bg-yellow-600:hover { background-color: var(--brand-gold-dark) !important; }

/* Generated color-unification overrides */
.active\:bg-red-600:active{background-color:var(--brand-red-dark) !important}
.bg-blue-100{background-color:var(--brand-ink-tint) !important}
.bg-blue-200{background-color:var(--brand-ink-tint) !important}
.bg-blue-300{background-color:var(--brand-ink-tint) !important}
.bg-blue-500{background-color:var(--brand-ink) !important}
.bg-blue-600{background-color:var(--brand-ink) !important}
.bg-pink-50{background-color:var(--brand-ink-tint) !important}
.bg-purple-500{background-color:var(--brand-ink) !important}
.bg-teal-400{background-color:var(--brand-ink) !important}
.bg-violet-500{background-color:var(--brand-ink) !important}
.bg-violet-600{background-color:var(--brand-ink) !important}
.bg-yellow-500{background-color:var(--brand-gold) !important}
.border-blue-500{border-color:var(--brand-ink) !important}
.border-s-pink-600{border-inline-start-color:var(--brand-ink) !important}
.border-yellow-500{border-color:var(--brand-gold) !important}
.fill-pink-500{fill:var(--brand-ink) !important}
.focus\:ring-purple-500:focus{--tw-ring-color:var(--brand-ink)}
.from-blue-100{--tw-gradient-from:var(--brand-ink-tint)}
.from-blue-50{--tw-gradient-from:var(--brand-ink-tint)}
.from-blue-600{--tw-gradient-from:var(--brand-ink)}
.from-blue-700{--tw-gradient-from:var(--brand-ink-dark)}
.from-purple-50{--tw-gradient-from:var(--brand-ink-tint)}
.group:hover .group-hover\:text-pink-600{color:var(--brand-ink) !important}
.group:hover .group-hover\:text-purple-600{color:var(--brand-ink) !important}
.hover\:bg-blue-50:hover{background-color:var(--brand-ink-tint) !important}
.hover\:bg-purple-700:hover{background-color:var(--brand-ink-dark) !important}
.hover\:bg-red-700:hover{background-color:var(--brand-red-dark) !important}
.hover\:bg-violet-50:hover{background-color:var(--brand-ink-tint) !important}
.hover\:bg-yellow-500:hover{background-color:var(--brand-gold) !important}
.hover\:text-blue-600:hover{color:var(--brand-ink) !important}
.hover\:text-blue-700:hover{color:var(--brand-ink-dark) !important}
.hover\:text-pink-600:hover{color:var(--brand-ink) !important}
.hover\:text-pink-800:hover{color:var(--brand-ink-dark) !important}
.hover\:text-red-500:hover{color:var(--brand-red) !important}
.text-blue-100{color:var(--brand-ink-tint) !important}
.text-blue-500{color:var(--brand-ink) !important}
.text-blue-600{color:var(--brand-ink) !important}
.text-indigo-500{color:var(--brand-ink) !important}
.text-orange-600{color:var(--brand-gold-dark) !important}
.text-pink-600{color:var(--brand-ink) !important}
.text-purple-500{color:var(--brand-ink) !important}
.text-purple-600{color:var(--brand-ink) !important}
.text-red-500{color:var(--brand-red) !important}
.text-red-600{color:var(--brand-red-dark) !important}
.text-teal-600{color:var(--brand-ink) !important}
.text-teal-900{color:var(--brand-ink-dark) !important}
.text-violet-500{color:var(--brand-ink) !important}
.text-violet-600{color:var(--brand-ink) !important}
.text-violet-700{color:var(--brand-ink-dark) !important}
.text-yellow-500{color:var(--brand-gold) !important}
.to-blue-100{--tw-gradient-to:var(--brand-ink-tint)}
.to-indigo-100{--tw-gradient-to:var(--brand-ink-tint)}
.to-indigo-50{--tw-gradient-to:var(--brand-ink-tint)}
.to-indigo-700{--tw-gradient-to:var(--brand-ink-dark)}
.to-pink-50{--tw-gradient-to:var(--brand-ink-tint)}

/* Softer, more contemporary shadows */
.shadow-sm { box-shadow: 0 1px 3px 0 rgb(30 42 58 / 0.06) !important; }
.shadow, .shadow-md { box-shadow: 0 4px 12px -2px rgb(30 42 58 / 0.10), 0 2px 4px -2px rgb(30 42 58 / 0.06) !important; }
.shadow-lg { box-shadow: 0 12px 28px -6px rgb(30 42 58 / 0.14), 0 4px 8px -4px rgb(30 42 58 / 0.08) !important; }

/* Sticky AI demo bar — floats just below the header while scrolling */
.ai-demo-sticky-bar {
  position: sticky;
  top: 78px;
  z-index: 40;
}
@media (min-width: 768px) {
  .ai-demo-sticky-bar { top: 49px; }
}

/* /locations page: make the Call Center / Answering Services / AI Answering Service tabs stand out */
.locations-tab {
  background: #ffffff;
  color: var(--brand-ink);
  border: 2px solid #e2e8f0;
  border-radius: 9999px;
  font-weight: 700;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px 0 rgb(30 42 58 / 0.06);
}
.locations-tab:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}
.locations-tab[data-state="active"] {
  background: var(--brand-red);
  color: #ffffff !important;
  border-color: var(--brand-red);
  box-shadow: 0 8px 20px -4px rgba(193, 39, 45, 0.4);
}
.locations-tab[data-state="active"]:hover {
  color: #ffffff !important;
}

/* Call Center pricing badge — state/city pages, next to the hero CTA buttons */
.pricing-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  margin-bottom: 12px;
  background: #FBF3E3;
  border: 1px solid var(--brand-gold);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-gold-dark);
}

/* Google Rating widget — homepage, below the stats bar */
.google-widget {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #E5E1D8;
  border-radius: 16px;
  padding: 14px 22px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.google-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.google-widget-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.google-widget-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.google-widget-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.google-widget-score {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-ink);
}
.google-widget-sub {
  font-size: 0.8rem;
  color: var(--brand-slate);
  font-weight: 500;
}
.grw-stars {
  position: relative;
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 2px;
}
.grw-stars-bg {
  color: #E0E0E0;
}
.grw-stars-fg {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #FBBC04;
}

/* Pricing page — Dedicated Agent $7/hr card price display */
.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 1rem;
}
.pricing-card-price-amount {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--brand-gold-dark);
  line-height: 1;
}
.pricing-card-price-unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-slate);
}
.pricing-card-price-wrap {
  margin-bottom: 1rem;
}
.pricing-card-price-wrap .pricing-card-price {
  margin-bottom: 0;
}
.pricing-card-price-label {
  margin: 0 0 2px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-slate);
}

/* ============================================================ */
/* 2026 FACELIFT — homepage + pricing page (CSS-only, additive)  */
/* ============================================================ */

/* Fix: pricing-card CTA buttons and other bg-gray-800 usage were
   rendering flat near-black instead of brand ink navy. */
.bg-gray-800 { background-color: var(--brand-ink-dark) !important; }
.bg-gray-800:hover { background-color: var(--brand-ink) !important; }

/* Primary buttons: subtle gradient + real lift on hover instead of a flat fill */
.bg-primary {
  background-image: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%) !important;
  box-shadow: 0 4px 14px -2px rgba(193, 39, 45, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.bg-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -4px rgba(193, 39, 45, 0.42);
  filter: brightness(1.04);
}
.bg-primary:active {
  transform: translateY(0);
}

/* Gold phone-number pill in the header: match the same lift treatment */
.bg-\[\#FFAF45\] {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 4px 14px -2px rgba(201, 152, 47, 0.35);
}
.bg-\[\#FFAF45\]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -4px rgba(201, 152, 47, 0.42);
}

/* ---- Homepage hero ---- */
.hero-background {
  position: relative;
}
.hero-background .grid.grid-cols-1.lg\:grid-cols-2.min-h-\[90vh\] {
  position: relative;
}
/* Soft brand-colored wash behind the hero content, sitting behind the
   existing illustration — bridges the illustration's cool blue tones
   into the warm red/gold palette used everywhere else on the page. */
.hero-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(201, 152, 47, 0.10), transparent 70%),
    radial-gradient(ellipse 55% 45% at 10% 80%, rgba(193, 39, 45, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Eyebrow + heading rhythm */
h1.text-primary.font-semibold.uppercase {
  letter-spacing: 0.08em;
}

/* ---- Stats bar (Years of Service / Employees / etc.) ---- */
.flex.md\:flex-col.md\:w-48.md\:py-6.items-center.space-x-4.md\:space-x-0.bg-white.p-4.rounded-lg.shadow-md {
  border-top: 3px solid var(--brand-gold);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.flex.md\:flex-col.md\:w-48.md\:py-6.items-center.space-x-4.md\:space-x-0.bg-white.p-4.rounded-lg.shadow-md:hover {
  border-top-color: var(--brand-red);
}

/* ---- Service cards ("Bilingual Call Answering", etc.) ---- */
.bg-white.shadow.p-10.h-\[500px\] {
  border-radius: 1rem;
  border-top: 3px solid transparent;
  background-image: linear-gradient(white, white), linear-gradient(135deg, var(--brand-gold), var(--brand-red));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.bg-white.shadow.p-10.h-\[500px\]:hover {
  transform: translateY(-4px);
}

/* ---- Testimonial section wrapper ---- */
.bg-slate-50.flex.justify-center.items-center.pb-20 {
  background: linear-gradient(180deg, #FAFAF8 0%, #F3F1EB 100%);
}
.bg-slate-50.flex.justify-center.items-center.pb-20 .rounded-xl.border.bg-card {
  box-shadow: 0 8px 24px -8px rgba(30, 42, 58, 0.12) !important;
  border-radius: 1.25rem !important;
}

/* ---- Pricing page cards ---- */
.relative.p-8.rounded-lg.shadow-lg.border.w-\[300px\] {
  border-radius: 1.25rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.relative.p-8.rounded-lg.shadow-lg.border.w-\[300px\]:hover {
  transform: translateY(-6px);
}
/* Featured "Best Value" card: richer background + stronger glow */
.relative.p-8.rounded-lg.shadow-lg.border.w-\[300px\].border-primary {
  background: linear-gradient(160deg, #FFF8ED 0%, var(--brand-ink-tint) 100%);
  box-shadow: 0 16px 36px -10px rgba(193, 39, 45, 0.22);
}
.relative.p-8.rounded-lg.shadow-lg.border.w-\[300px\].border-primary:hover {
  box-shadow: 0 22px 44px -10px rgba(193, 39, 45, 0.28);
}
/* Regular plan cards: subtle lift shadow on hover */
.relative.p-8.rounded-lg.shadow-lg.border.w-\[300px\].border-gray-300 {
  box-shadow: 0 4px 16px -4px rgba(30, 42, 58, 0.10);
}
.relative.p-8.rounded-lg.shadow-lg.border.w-\[300px\].border-gray-300:hover {
  border-color: var(--brand-gold);
  box-shadow: 0 14px 32px -8px rgba(30, 42, 58, 0.16);
}

/* ---- Real team photos: homepage hero + testimonials ---- */
/* A framed team photo strip below the hero content, and another
   above the customer-testimonial carousel. Pure CSS (generated
   content on existing elements) — no JS bundle changes. */
.hero-background .grid.grid-cols-1.lg\:grid-cols-2.min-h-\[90vh\] {
  position: relative;
}
.hero-background .grid.grid-cols-1.lg\:grid-cols-2.min-h-\[90vh\]::after {
  content: "Our team, out celebrating together \2014  every February";
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 640px;
  height: 220px;
  margin: 32px auto 40px;
  padding-bottom: 16px;
  border-radius: 20px;
  border: 4px solid #fff;
  box-shadow: 0 16px 40px -12px rgba(30, 42, 58, 0.28);
  background-image: linear-gradient(to top, rgba(16, 22, 31, 0.65), transparent 55%), url('/images/Team/team-group-1.jpg');
  background-size: cover;
  background-position: center 22%;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}
.bg-slate-50.flex.justify-center.items-center.pb-20::before {
  content: "The OnCalla team, out celebrating together";
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 520px;
  height: 260px;
  margin: 0 auto 32px;
  padding-bottom: 16px;
  border-radius: 20px;
  border: 4px solid #fff;
  box-shadow: 0 16px 40px -12px rgba(30, 42, 58, 0.28);
  background-image: linear-gradient(to top, rgba(16, 22, 31, 0.65), transparent 55%), url('/images/Team/team-group-2.jpg');
  background-size: cover;
  background-position: center 30%;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
@media (max-width: 640px) {
  .hero-background .grid.grid-cols-1.lg\:grid-cols-2.min-h-\[90vh\]::after,
  .bg-slate-50.flex.justify-center.items-center.pb-20::before {
    height: 180px;
    font-size: 0.85rem;
  }
}

/* Real team photos, round 2 — bracketing the "Trusted By 5,000+ Businesses" strip (homepage + pricing page) */
.bg-slate-50.min-h-\[35vh\] {
  position: relative;
}
.bg-slate-50.min-h-\[35vh\]::before {
  content: "Real people behind every call \2014  celebrating together";
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 520px;
  height: 220px;
  margin: 0 auto 28px;
  padding-bottom: 16px;
  border-radius: 20px;
  border: 4px solid #fff;
  box-shadow: 0 16px 40px -12px rgba(30, 42, 58, 0.28);
  background-image: linear-gradient(to top, rgba(16, 22, 31, 0.65), transparent 55%), url('/images/Team/team-candid-1.jpg');
  background-size: cover;
  background-position: center top;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.bg-slate-50.min-h-\[35vh\]::after {
  content: "The OnCalla team, off the clock";
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 520px;
  height: 220px;
  margin: 28px auto 0;
  padding-bottom: 16px;
  border-radius: 20px;
  border: 4px solid #fff;
  box-shadow: 0 16px 40px -12px rgba(30, 42, 58, 0.28);
  background-image: linear-gradient(to top, rgba(16, 22, 31, 0.65), transparent 55%), url('/images/Team/team-candid-2.jpg');
  background-size: cover;
  background-position: center top;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
@media (max-width: 640px) {
  .bg-slate-50.min-h-\[35vh\]::before,
  .bg-slate-50.min-h-\[35vh\]::after {
    height: 180px;
    font-size: 0.85rem;
  }
}

/* ---- Modern numbered step sections ("Building Your Perfect Team", "Getting X Set Up", etc.) ---- */
.step-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.step-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #EDEDED;
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 16px -6px rgba(30, 42, 58, 0.10);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -10px rgba(30, 42, 58, 0.18);
  border-color: var(--brand-gold);
}
.step-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.25rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-gold) 100%);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: 0 6px 16px -4px rgba(193, 39, 45, 0.4);
  transition: transform 0.22s ease;
}
.step-card:hover .step-badge {
  transform: scale(1.1);
}
.step-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--brand-ink);
  margin-bottom: 0.5rem;
}
.step-card-text {
  font-size: 0.9rem;
  color: var(--brand-slate);
  line-height: 1.6;
}

/* Location page hero (city + state pages): h-[100vh] + flex-col-reverse makes content taller than
   one screen overflow UPWARD on mobile (column-reverse flips overflow direction), bleeding behind
   the sticky nav and covering the logo. Let the hero grow to fit its content instead. */
@media (max-width: 1023px) {
  .flex-col-reverse.h-\[100vh\].mt-20 {
    height: auto;
    min-height: 100vh;
  }
}
