/**
 * TruFormulas - Clinical Design System & Theme Stylesheet
 * Medical-grade, responsive, elegant styling for Dr. Martha Susana Trujillo Frias
 */

:root {
  /* Brand Color Palette (Extracted from Official Logo) */
  --primary-navy: #1D4A6E;
  --secondary-navy: #14354F;
  --dark-surface: #0E2436;
  --accent-teal: #1D4A6E;
  --accent-cyan: #3CAE48;
  --accent-emerald: #369E44;
  --accent-emerald-light: #EBF7ED;
  --accent-gold: #F59E0B;
  
  /* Neutral Palette */
  --bg-light: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-light: #E2E8F0;
  --border-glass: rgba(255, 255, 255, 0.15);
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Shadows & Glassmorphism */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(11, 25, 44, 0.08), 0 4px 6px -4px rgba(11, 25, 44, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(11, 25, 44, 0.1), 0 8px 10px -6px rgba(11, 25, 44, 0.05);
  --shadow-glow-teal: 0 0 25px rgba(0, 180, 216, 0.35);
  --shadow-glow-emerald: 0 0 25px rgba(16, 185, 129, 0.3);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-navy);
}

p {
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Badge & Pill Styles */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
}

.badge-teal {
  background: #EBF2F7;
  color: #1D4A6E;
  border: 1px solid #D2E3EF;
}

.badge-emerald {
  background: #EBF7ED;
  color: #2B8237;
  border: 1px solid #C6E9CC;
}

.badge-navy {
  background: rgba(29, 74, 110, 0.08);
  color: #1D4A6E;
  border: 1px solid rgba(29, 74, 110, 0.15);
}

/* Primary Button Styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 0.625rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

/* Header & Primary Consultation Button -> Logo Vibrant Leaf Green */
.btn-primary {
  background: #369E44;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(54, 158, 68, 0.3);
}

.btn-primary:hover {
  background: #2B8237;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(54, 158, 68, 0.4);
}

/* B2B Action Button -> Logo Deep Petrol Navy */
.btn-navy {
  background: #1D4A6E;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(29, 74, 110, 0.25);
}

.btn-navy:hover {
  background: #14354F;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 74, 110, 0.35);
}

/* B2C Action Button -> Logo Vibrant Leaf Green */
.btn-emerald {
  background: #369E44;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(54, 158, 68, 0.3);
}

.btn-emerald:hover {
  background: #2B8237;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(54, 158, 68, 0.4);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

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

.btn-outline-navy {
  background: transparent;
  border: 1px solid #1D4A6E;
  color: #1D4A6E;
}

.btn-outline-navy:hover {
  background: #1D4A6E;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline-emerald {
  background: transparent;
  border: 1px solid #369E44;
  color: #369E44;
}

.btn-outline-emerald:hover {
  background: #369E44;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* ==========================================================================
   Navigation Bar & Responsive Header System
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo-img {
  height: 42px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo-wrap:hover .header-logo-img {
  transform: scale(1.02);
}

/* Desktop Main Navigation Links */
.desktop-nav {
  display: flex;
  align-items: center;
}

.desktop-nav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.desktop-nav a {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.35rem 0;
  transition: color var(--transition-fast);
}

.desktop-nav a:hover {
  color: #369E44;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #369E44;
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.desktop-nav a:hover::after {
  width: 100%;
}

/* Header Action Elements Wrap */
.header-actions-wrap {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-shrink: 0;
}

/* Pathway Toggle Switcher */
.pathway-pill-nav {
  display: inline-flex;
  padding: 3px;
  background: #F1F5F9;
  border-radius: 9999px;
  border: 1px solid #E2E8F0;
  gap: 2px;
}

.pathway-pill-nav button {
  border: none;
  background: transparent;
  padding: 6px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.pathway-pill-nav button.active,
.pathway-pill-nav button.active[data-target="brands"] {
  background: #1D4A6E;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(29, 74, 110, 0.25);
}

.pathway-pill-nav button.active[data-target="individuals"] {
  background: #369E44;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(54, 158, 68, 0.25);
}

/* Header Primary Consultation CTA Button */
.header-cta-btn {
  padding: 0.625rem 1.25rem !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  border-radius: 9999px !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  box-shadow: 0 3px 10px rgba(54, 158, 68, 0.25) !important;
}

.header-cta-btn .btn-text-short {
  display: none;
}

/* Mobile Hamburger Button */
.mobile-hamburger-btn {
  display: none;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  width: 42px;
  height: 42px;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  transition: all var(--transition-fast);
}

.mobile-hamburger-btn:hover {
  background: #E2E8F0;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #1D4A6E;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.mobile-hamburger-btn.active .line-1 {
  transform: translateY(6px) rotate(45deg);
}

.mobile-hamburger-btn.active .line-2 {
  opacity: 0;
}

.mobile-hamburger-btn.active .line-3 {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  display: none;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.35s ease;
}

.mobile-nav-drawer.active {
  display: block;
  animation: slideDownNav 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDownNav {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-drawer-inner {
  padding: 1.5rem;
}

.mobile-pathway-box {
  margin-bottom: 1.25rem;
}

.pathway-pill-nav.mobile-pills {
  width: 100%;
  display: flex;
}

.pathway-pill-nav.mobile-pills button {
  flex: 1;
  justify-content: center;
  padding: 8px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.mobile-nav-links a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-navy);
  background: #F8FAFC;
  transition: all var(--transition-fast);
}

.mobile-nav-links a:hover,
.mobile-nav-links a:focus {
  background: #EBF7ED;
  color: #369E44;
}

.mobile-drawer-cta {
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   Hero Section & Dual Gateway (Clinical Light & Logo Harmony)
   ========================================================================== */
.hero-gateway {
  position: relative;
  background: linear-gradient(180deg, #EDF4F9 0%, #F8FAFC 100%);
  color: var(--text-main);
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.hero-header-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-header-content h1 {
  font-size: 3.125rem;
  color: #0F2333;
  letter-spacing: -0.03em;
  margin: 1.25rem 0 1.25rem;
  line-height: 1.18;
}

.hero-header-content h1 .highlight-navy,
.hero-header-content h1 .highlight-cyan {
  color: #1D4A6E !important;
  text-shadow: none !important;
  position: relative;
}

.hero-header-content h1 .highlight-green,
.hero-header-content h1 .highlight-emerald {
  color: #369E44 !important;
  text-shadow: none !important;
  position: relative;
}

.hero-subtitle {
  font-size: 1.1875rem;
  color: #475569;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Dual Pathway Cards Grid */
.dual-gateway-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.gateway-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: 0 4px 16px -2px rgba(29, 74, 110, 0.06), 0 2px 6px -2px rgba(29, 74, 110, 0.03);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gateway-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -4px rgba(29, 74, 110, 0.12), 0 4px 10px -2px rgba(29, 74, 110, 0.04);
  border-color: #CBD5E1;
}

.gateway-card.b2b-card {
  border-top: 4px solid #1D4A6E;
}

.gateway-card.b2c-card {
  border-top: 4px solid #369E44;
}

.gateway-card-header {
  margin-bottom: 1.75rem;
}

.gateway-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.gateway-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.b2b-card .gateway-icon-box {
  background: #EBF2F7;
  color: #1D4A6E;
  border: 1px solid #D2E3EF;
}

.b2c-card .gateway-icon-box {
  background: #EBF7ED;
  color: #369E44;
  border: 1px solid #C6E9CC;
}

.gateway-card h2 {
  color: #0F2333;
  font-size: 1.65rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.dosage-format-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}

.format-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  background: #EBF2F7;
  color: #1D4A6E;
  border: 1px solid #D2E3EF;
}

.format-chip-green {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  background: #EBF7ED;
  color: #2B8237;
  border: 1px solid #C6E9CC;
}

.gateway-card p.card-desc {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
}

.gateway-features-list {
  margin: 1.75rem 0 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.gateway-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #334155;
  font-size: 0.9375rem;
}

.gateway-features-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.b2b-card .gateway-features-list li svg {
  color: #1D4A6E;
}

.b2c-card .gateway-features-list li svg {
  color: #369E44;
}

.gateway-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Authority & Credentials Section (Dr. Susana)
   ========================================================================== */
.authority-section {
  padding: 6rem 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
}

.authority-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: center;
}

.authority-profile-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.authority-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #EBF2F7;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1D4A6E;
  border: 1px solid #D2E3EF;
  margin-bottom: 1.5rem;
}

.authority-profile-card h3 {
  font-size: 2.15rem;
  margin-bottom: 0.25rem;
  color: var(--primary-navy);
}

.authority-title {
  font-size: 1rem;
  font-weight: 600;
  color: #369E44;
  margin-bottom: 1.5rem;
}

.authority-credentials-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin: 1.5rem 0 2rem;
}

.authority-credentials-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.authority-credentials-list li svg {
  color: #369E44;
  flex-shrink: 0;
}

.stats-grid-compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: #FFFFFF;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid #E2E8F0;
  text-align: center;
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-item .stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.authority-story h2 {
  font-size: 2.45rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.authority-story p {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.quote-box {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #F8FAFC;
  border-left: 4px solid #369E44;
  border-radius: 0 0.75rem 0.75rem 0;
  font-style: italic;
  color: #1E293B;
  font-size: 1rem;
}

/* ==========================================================================
   Dual-Pathway Detailed Solutions (Interactive Tabs)
   ========================================================================== */
.solutions-section {
  padding: 6rem 0;
  background: var(--bg-light);
}

.section-head-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-head-center h2 {
  font-size: 2.5rem;
  margin: 0.875rem 0 1rem;
}

.tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.pathway-tabs-bar {
  display: inline-flex;
  background: #FFFFFF;
  padding: 6px;
  border-radius: 9999px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.pathway-tab-btn {
  border: none;
  background: transparent;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.pathway-tab-btn.active[data-target="brands"] {
  background: #1D4A6E;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(29, 74, 110, 0.3);
}

.pathway-tab-btn.active[data-target="individuals"] {
  background: #369E44;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(54, 158, 68, 0.3);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.tab-pane.active {
  display: block;
}

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

.services-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}

.service-feature-card .service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.icon-teal {
  background: #EBF2F7;
  color: #1D4A6E;
  border: 1px solid #D2E3EF;
}

.icon-emerald {
  background: #EBF7ED;
  color: #369E44;
  border: 1px solid #C6E9CC;
}

.service-feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-navy);
}

.service-feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.service-feature-card .service-footer-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1D4A6E;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
}

.service-feature-card:hover .service-footer-link {
  color: #369E44;
  gap: 0.6rem;
}

/* ==========================================================================
   B2B Interactive Formulation & Manufacturing Quote Engine
   ========================================================================== */
.quote-engine-section {
  padding: 6rem 0;
  background: #F1F5F9;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.quote-engine-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 1.5rem;
  padding: 3.5rem;
  box-shadow: var(--shadow-xl);
  max-width: 1040px;
  margin: 0 auto;
}

.quote-engine-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem;
}

.quote-engine-header h2 {
  font-size: 2.35rem;
  color: var(--primary-navy);
  margin: 0.875rem 0 1rem;
}

.quote-engine-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.form-step-block {
  margin-bottom: 2.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #EDF2F7;
}

.form-step-block:last-of-type {
  border-bottom: none;
  margin-bottom: 1.5rem;
  padding-bottom: 0;
}

.step-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 1.25rem;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1D4A6E;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Format Option Cards Grid */
.format-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.format-card-option {
  position: relative;
  cursor: pointer;
  display: block;
}

.format-card-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.format-card-content {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 1rem;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all var(--transition-fast);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.format-card-option:hover .format-card-content {
  border-color: #CBD5E1;
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.format-card-option input:checked + .format-card-content {
  background: #EBF2F7;
  border-color: #1D4A6E;
  box-shadow: 0 4px 12px rgba(29, 74, 110, 0.12);
}

.format-card-option input:checked + .format-card-content .format-icon {
  background: #1D4A6E;
  color: #FFFFFF;
}

.format-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #FFFFFF;
  color: #1D4A6E;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  border: 1px solid #E2E8F0;
  transition: all var(--transition-fast);
}

.format-info h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.25rem;
}

.format-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Radio Pill Group */
.radio-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.radio-pill {
  cursor: pointer;
  position: relative;
}

.radio-pill input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-pill span {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.radio-pill:hover span {
  border-color: #CBD5E1;
  background: #FFFFFF;
}

.radio-pill input:checked + span {
  background: #1D4A6E;
  border-color: #1D4A6E;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(29, 74, 110, 0.25);
}

/* Form Inputs */
.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.quote-input-field {
  width: 100%;
  padding: 0.875rem 1.15rem;
  border-radius: 0.75rem;
  border: 1.5px solid #E2E8F0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-main);
  background: #FFFFFF;
  transition: all var(--transition-fast);
}

.quote-input-field:focus {
  outline: none;
  border-color: #1D4A6E;
  box-shadow: 0 0 0 3px rgba(29, 74, 110, 0.12);
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.quote-privacy-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-light);
}

.quote-success-box {
  background: #EBF7ED;
  border: 1.5px solid #C6E9CC;
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
  margin-top: 2rem;
  animation: fadeIn 0.4s ease;
}

.quote-success-box .success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #369E44;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.quote-success-box h3 {
  color: #2B8237;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.quote-success-box p {
  color: #334155;
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
}

.success-cta-box {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #C6E9CC;
}

/* ==========================================================================
   Live Calendly Booking Section
   ========================================================================== */
.booking-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, #1D4A6E 0%, #14354F 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.booking-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.booking-header h2 {
  font-size: 2.65rem;
  color: #FFFFFF;
  margin: 1rem 0 1rem;
}

.booking-header p {
  color: #94A3B8;
  font-size: 1.1rem;
}

.calendly-card-wrapper {
  background: #FFFFFF;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  max-width: 1040px;
  margin: 0 auto;
  min-height: 700px;
}

/* Modal Calendly Popup */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 25, 44, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #FFFFFF;
  border-radius: 1.25rem;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: #F1F5F9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 10;
  color: var(--primary-navy);
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: #E2E8F0;
  transform: rotate(90deg);
}

/* ==========================================================================
   Floating WhatsApp Live Chat Button & Widget
   ========================================================================== */
.whatsapp-floating-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

.whatsapp-trigger-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #25D366;
  color: #FFFFFF;
  padding: 0.875rem 1.35rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px -3px rgba(37, 211, 102, 0.4), 0 4px 6px -4px rgba(37, 211, 102, 0.2);
  transition: all var(--transition-bounce);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
}

.whatsapp-trigger-btn:hover {
  transform: scale(1.05) translateY(-2px);
  background: #20BD5A;
  box-shadow: 0 15px 30px -3px rgba(37, 211, 102, 0.5);
}

.pulse-indicator {
  position: relative;
  width: 10px;
  height: 10px;
  background: #FFFFFF;
  border-radius: 50%;
}

.pulse-indicator::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: pulseBeacon 1.8s infinite;
}

@keyframes pulseBeacon {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-card-popup {
  display: none;
  position: absolute;
  bottom: 4.5rem;
  right: 0;
  width: 330px;
  background: #FFFFFF;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
  animation: modalPop 0.25s ease-out;
}

.whatsapp-card-popup.active {
  display: block;
}

.whatsapp-popup-header {
  background: #075E54;
  color: #FFFFFF;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.whatsapp-avatar {
  width: 44px;
  height: 44px;
  background: #128C7E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: 2px solid #FFFFFF;
}

.whatsapp-header-text h4 {
  color: #FFFFFF;
  font-size: 1rem;
  line-height: 1.2;
}

.whatsapp-header-text span {
  font-size: 0.75rem;
  color: #D1FAE5;
}

.whatsapp-popup-body {
  padding: 1.25rem;
  background: #ECE5DD;
}

.whatsapp-chat-bubble {
  background: #FFFFFF;
  padding: 0.875rem;
  border-radius: 0.75rem 0.75rem 0.75rem 0;
  font-size: 0.875rem;
  color: #1F2937;
  line-height: 1.45;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}

.whatsapp-send-action {
  display: block;
  text-align: center;
  background: #25D366;
  color: #FFFFFF;
  padding: 0.75rem;
  border-radius: 0.625rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.whatsapp-send-action:hover {
  background: #20BD5A;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #081220;
  color: #94A3B8;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand h3 {
  color: #FFFFFF;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: #64748B;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-links h4 {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: #369E44;
}

.footer-disclaimer-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.fda-disclaimer {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #64748B;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #475569;
}

/* ==========================================================================
   Comprehensive Responsive System (Mobile, Tablet, Desktop)
   ========================================================================== */

/* Tablet & Smaller Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .desktop-nav {
    display: none !important;
  }
  .desktop-only {
    display: none !important;
  }
  .mobile-hamburger-btn {
    display: flex !important;
  }
  .header-cta-btn .btn-text-full {
    display: none !important;
  }
  .header-cta-btn .btn-text-short {
    display: inline !important;
  }
  .dual-gateway-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .authority-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .services-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .format-options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  .header-container {
    height: 64px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .header-logo-img {
    height: 34px;
    max-width: 160px;
  }
  .header-actions-wrap {
    gap: 0.5rem;
  }
  .header-cta-btn {
    padding: 0.45rem 0.85rem !important;
    font-size: 0.8125rem !important;
  }
  .header-cta-btn svg {
    width: 14px;
    height: 14px;
  }
  .mobile-hamburger-btn {
    width: 38px;
    height: 38px;
  }
  .hamburger-line {
    width: 18px;
  }

  /* Hero Section Mobile */
  .hero-gateway {
    padding: 3rem 0 3.5rem;
  }
  .hero-header-content {
    margin-bottom: 2.25rem;
  }
  .hero-header-content h1 {
    font-size: 1.95rem;
    line-height: 1.22;
    margin: 1rem 0;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  /* Gateway Cards Mobile */
  .gateway-card {
    padding: 1.75rem 1.25rem;
    border-radius: 1rem;
  }
  .gateway-card h2 {
    font-size: 1.35rem;
  }
  .gateway-card p.card-desc {
    font-size: 0.875rem;
  }
  .gateway-actions {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  .gateway-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1.25rem;
  }

  /* Authority Section Mobile */
  .authority-section {
    padding: 3.5rem 0;
  }
  .authority-profile-card {
    padding: 2rem 1.25rem;
  }
  .authority-profile-card h3 {
    font-size: 1.65rem;
  }
  .authority-story h2 {
    font-size: 1.85rem;
  }
  .stats-grid-compact {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* Solutions Tabs Mobile */
  .solutions-section {
    padding: 3.5rem 0;
  }
  .section-head-center h2 {
    font-size: 1.85rem;
  }
  .pathway-tabs-bar {
    width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    padding: 4px;
  }
  .pathway-tab-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
  .services-grid-4 {
    grid-template-columns: 1fr;
  }
  .service-feature-card {
    padding: 1.5rem;
  }

  /* Quote Engine Mobile */
  .quote-engine-section {
    padding: 3.5rem 0;
  }
  .quote-engine-card {
    padding: 1.75rem 1rem;
    border-radius: 1rem;
  }
  .quote-engine-header h2 {
    font-size: 1.65rem;
  }
  .format-options-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .radio-pill-group {
    flex-direction: column;
  }
  .radio-pill span {
    width: 100%;
    text-align: center;
    padding: 0.65rem 1rem;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .form-submit-row {
    flex-direction: column;
    align-items: stretch;
  }
  .form-submit-row .btn {
    width: 100%;
    justify-content: center;
  }

  /* Booking & Footer Mobile */
  .booking-section {
    padding: 3.5rem 0;
  }
  .booking-header h2 {
    font-size: 1.85rem;
  }
  .calendly-card-wrapper {
    padding: 0.5rem;
    min-height: 550px;
  }
  .site-footer {
    padding: 3.5rem 0 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  /* Floating WhatsApp on Mobile */
  .whatsapp-floating-widget {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .whatsapp-trigger-btn span {
    display: none;
  }
  .whatsapp-trigger-btn {
    padding: 0.875rem;
    border-radius: 50%;
  }
  .whatsapp-card-popup {
    width: calc(100vw - 2.5rem);
    right: 0;
  }
}

/* Small Screens (<= 480px) */
@media (max-width: 480px) {
  .header-cta-btn {
    display: none !important;
  }
  .header-logo-img {
    height: 32px;
    max-width: 150px;
  }
  .hero-header-content h1 {
    font-size: 1.75rem;
  }
}
