/* ===== Custom Properties ===== */
:root {
  --brand-navy: #0A2D5C;
  --brand-navy-dark: #040D21;
  --brand-navy-light: #1A4A8A;
  --brand-accent: #2E86DE;
  --brand-accent-light: #54A0FF;
  --brand-gray-700: #374151;
  --brand-gray-500: #6B7280;
  --brand-gray-300: #D1D5DB;
  --brand-gray-100: #F3F4F6;
  --brand-white: #FFFFFF;
  --brand-success: #16A34A;
  --brand-error: #DC2626;
}

/* ===== Base ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--brand-gray-700);
  line-height: 1.7;
}

h1, h2, h3, .font-display {
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  line-height: 1.15;
}

/* ===== Fluid Typography ===== */
h1, .text-4xl, .text-5xl {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
}

h2, .text-3xl {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
}

h4, h5, h6 {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ===== Scroll Reveal Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 80ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 160ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 240ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 320ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }

/* ===== Section Label ===== */
.section-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ===== Header ===== */
.header-nav {
  background: transparent;
  transition: background-color 0.3s ease;
}

.header-nav .logo-white { display: block; }
.header-nav .logo-dark { display: none; }

.header-nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: #e5e7eb;
}
.header-nav.scrolled .logo-white { display: none; }
.header-nav.scrolled .logo-dark { display: block; }

.header-nav.scrolled .nav-link,
.header-nav.scrolled .nav-link[class*="text-white"] {
  color: var(--brand-gray-700);
}

.header-nav.scrolled .nav-link[class*="text-white"]:not([class*="text-white/70"]),
.header-nav.scrolled .nav-link.active-link {
  color: var(--brand-navy);
}

.header-nav.scrolled .nav-link:hover {
  color: var(--brand-navy);
}

.header-nav.scrolled #menu-btn {
  color: var(--brand-gray-500);
}

.header-nav.scrolled #menu-btn:hover {
  color: var(--brand-navy);
}

.header-nav.scrolled .mobile-menu {
  border-top-color: #e5e7eb;
}

.header-nav.scrolled .mobile-menu a {
  color: var(--brand-gray-700);
}

.header-nav.scrolled .mobile-menu a:hover {
  color: var(--brand-navy);
}

/* ===== Nav Link ===== */
.nav-link {
  position: relative;
  font-family: 'Inter', system-ui, sans-serif;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ===== Card Styles ===== */
.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(10, 45, 92, 0.12);
}

/* ===== Button ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  background: var(--brand-accent);
  color: white;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 6px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  background: #2578C9;
  box-shadow: 0 6px 20px rgba(46, 134, 222, 0.4), 0 0 40px rgba(46, 134, 222, 0.15);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  background: #25D366;
  color: white;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-whatsapp:hover {
  background: #1fba59;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 40px rgba(37, 211, 102, 0.15);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 6px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #25D366;
  color: white;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-radius 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  border-radius: 14px;
}

.whatsapp-float::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") no-repeat center / contain;
}

@media (max-width: 640px) {
  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
  }
}

/* Give footer bottom row clearance from WhatsApp button */
footer {
  padding-bottom: 4rem;
}

/* ===== Services Anchor Nav ===== */
.services-nav-link {
  transition: color 0.2s ease, border-color 0.2s ease;
}

.services-nav-link.active {
  color: var(--brand-accent);
  border-bottom-color: var(--brand-accent);
}

/* ===== Form Focus ===== */
.form-input {
  font-family: 'Inter', system-ui, sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(46, 134, 222, 0.12);
}

/* Mobile-friendly form inputs — taller touch targets */
@media (max-width: 640px) {
  .form-input {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    font-size: 1rem; /* prevents iOS zoom on focus */
  }
}

/* Select dropdown — extra right padding for chevron */
select.form-input {
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  background-size: 1rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* ===== Mobile Nav ===== */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.open {
  max-height: 300px;
}

/* ===== Form Messages ===== */
.form-success {
  background-color: #f0fdf4;
  border: 1px solid var(--brand-success);
  color: var(--brand-success);
}

.form-error {
  background-color: #fef2f2;
  border: 1px solid var(--brand-error);
  color: var(--brand-error);
}

/* ===== Smooth anchor offset ===== */
.scroll-mt-24 {
  scroll-margin-top: 6rem;
}

/* ===== Service Panels (Homepage) ===== */
.service-panels {
  display: flex;
  gap: 0;
  min-height: 200px;
}

.service-panel {
  flex: 1;
  padding: 1.75rem 1.5rem;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: flex 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.3s ease;
  border-right: 1px solid #e5e7eb;
  overflow: hidden;
}

.service-panel:last-child {
  border-right: none;
}

.service-panel::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--brand-accent);
  transform: scaleY(0);
  transition: transform 0.4s ease;
}

.service-panel:hover::before,
.service-panel.active::before {
  transform: scaleY(1);
}

.service-panel:hover,
.service-panel.active {
  flex: 2.2;
  background: rgba(10, 45, 92, 0.03);
}

.service-panel .panel-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 3rem;
  color: rgba(10, 45, 92, 0.08);
  line-height: 1;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.service-panel:hover .panel-number,
.service-panel.active .panel-number {
  color: rgba(46, 134, 222, 0.15);
}

.service-panel .panel-detail {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease 0.1s, max-height 0.5s ease;
}

.service-panel:hover .panel-detail,
.service-panel.active .panel-detail {
  opacity: 1;
  max-height: 200px;
}

@media (max-width: 768px) {
  .service-panels {
    flex-direction: column;
    min-height: auto;
  }
  .service-panel {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem;
  }
  .service-panel:last-child {
    border-bottom: none;
  }
  .service-panel .panel-detail {
    opacity: 1;
    max-height: 200px;
  }
  .service-panel .panel-number {
    font-size: 2.5rem;
  }
}

/* ===== Accordion ===== */
.accordion-item + .accordion-item {
  margin-top: 2px;
}

.accordion-trigger {
  cursor: pointer;
  transition: color 0.2s ease;
}

.accordion-trigger:hover {
  color: var(--brand-accent);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease;
  opacity: 0;
}

.accordion-item.active .accordion-content {
  max-height: 200px;
  opacity: 1;
}

.accordion-trigger .accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-trigger .accordion-icon {
  transform: rotate(180deg);
}

/* ===== Feature List Items (Services - Employee Benefits) ===== */
.feature-list-item {
  transition: transform 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid #e5e7eb;
  padding: 1.25rem 0;
}

.feature-list-item:last-child {
  border-bottom: none;
}

.feature-list-item:hover {
  transform: translateX(8px);
  border-color: var(--brand-accent);
}

.feature-list-item .item-number {
  font-family: 'DM Serif Display', Georgia, serif;
  color: rgba(10, 45, 92, 0.15);
  font-size: 1.125rem;
  min-width: 2rem;
}

.feature-list-item:hover .item-number {
  color: var(--brand-accent);
}

/* ===== Hover Tabs (Services - Commercial Risk) ===== */
.hover-tab-item {
  padding: 1rem 1.5rem;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease, background-color 0.3s ease;
  border-left: 3px solid transparent;
}

.hover-tab-item:hover,
.hover-tab-item.active {
  color: white;
  border-left-color: var(--brand-accent-light);
  background: rgba(255, 255, 255, 0.05);
}

.hover-tab-item:not(.active) {
  color: rgba(255, 255, 255, 0.5);
}

.tab-content-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.tab-content-panel.active {
  display: block;
  opacity: 1;
}

/* ===== Timeline (Services - Affinity) ===== */
.timeline-track {
  display: flex;
  align-items: flex-start;
  position: relative;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
}

.timeline-track::-webkit-scrollbar {
  height: 4px;
}

.timeline-track::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 2px;
}

.timeline-track::-webkit-scrollbar-thumb {
  background: var(--brand-accent);
  border-radius: 2px;
}

.timeline-node {
  flex: 0 0 auto;
  width: 220px;
  scroll-snap-align: center;
  text-align: center;
  position: relative;
  padding: 0 0.75rem;
}

.timeline-node .node-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-accent);
  margin: 0 auto 1rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(46, 134, 222, 0.15);
}

.timeline-connector {
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 1;
}

.timeline-connector-line {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    var(--brand-accent) 0,
    var(--brand-accent) 6px,
    transparent 6px,
    transparent 12px
  );
  animation: dash-move 1s linear infinite;
}

@keyframes dash-move {
  0% { background-position: 0 0; }
  100% { background-position: 12px 0; }
}

@media (min-width: 1024px) {
  .timeline-node {
    flex: 1;
    width: auto;
  }
  .timeline-track {
    overflow-x: visible;
  }
}

/* ===== Stats Counter Strip (About) ===== */
.stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 2.5rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: #e5e7eb;
}

.stat-value {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.5rem;
  color: var(--brand-navy);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .stats-strip {
    flex-direction: column;
    gap: 0;
  }
  .stat-item {
    padding: 1rem 1.5rem;
  }
  .stat-item:not(:last-child)::after {
    right: 20%;
    top: auto;
    bottom: 0;
    height: 1px;
    width: 60%;
  }
  .stat-value {
    font-size: 2rem;
  }
}

/* ===== Mission/Vision Split Screen (About) ===== */
.split-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.split-panel {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-panel-left {
  background: linear-gradient(160deg, #040D21 0%, #0A2D5C 100%);
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
  padding-right: 4rem;
}

.split-panel-right {
  background: linear-gradient(160deg, #0E3668 0%, #1A4A8A 100%);
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  margin-left: -5%;
  padding-left: 4rem;
}

@media (max-width: 768px) {
  .split-screen {
    grid-template-columns: 1fr;
  }
  .split-panel-left,
  .split-panel-right {
    clip-path: none;
    margin-left: 0;
    padding: 3rem 1.5rem;
  }
}

/* ===== Values Grid (About) ===== */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.values-cell {
  padding: 2.5rem;
}

/* Structural divider lines via borders */
.values-cell:nth-child(1),
.values-cell:nth-child(2) {
  border-bottom: 1px solid #e5e7eb;
}

.values-cell:nth-child(1),
.values-cell:nth-child(3) {
  border-right: 1px solid #e5e7eb;
}

@media (max-width: 640px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
  .values-cell {
    padding: 1.75rem 0;
    border-right: none !important;
    border-bottom: 1px solid #e5e7eb;
  }
  .values-cell:last-child {
    border-bottom: none;
  }
}

/* ===== Contact Sidebar (borderless) ===== */
.contact-block {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid #e5e7eb;
}

.contact-block:first-child {
  border-top: none;
  padding-top: 0;
}

.contact-block-icon {
  width: 44px;
  height: 44px;
  background: rgba(10, 45, 92, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-callout {
  border-left: 3px solid var(--brand-accent);
  padding: 1.25rem 1.5rem;
  background: rgba(46, 134, 222, 0.04);
  margin-top: 1.5rem;
}

/* ===== Value Bars (Homepage Value Prop) ===== */
.value-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.value-bar:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.value-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--brand-accent);
  transition: width 0.3s ease;
}

.value-bar:hover::after {
  width: 3px;
}

.value-bar:hover {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 60px rgba(46, 134, 222, 0.06), 0 1px 0 rgba(255, 255, 255, 0.04);
}

.value-bar-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(46, 134, 222, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-accent-light);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.value-bar:hover .value-bar-icon {
  background: rgba(46, 134, 222, 0.22);
  transform: scale(1.05);
}

.value-bar-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: white;
  width: 300px;
  flex-shrink: 0;
}

.value-bar-desc {
  font-size: 0.9375rem;
  color: rgba(209, 213, 219, 0.6);
  line-height: 1.6;
  transition: color 0.3s ease;
}

.value-bar:hover .value-bar-desc {
  color: rgba(209, 213, 219, 0.85);
}

@media (max-width: 768px) {
  .value-bar {
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
  }
  .value-bar-title {
    min-width: auto;
    flex: 1;
  }
  .value-bar-desc {
    width: 100%;
    padding-left: 3.75rem;
    font-size: 0.875rem;
  }
}

/* ===== Scroll Indicator ===== */
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(8px); opacity: 1; }
}

.scroll-indicator {
  animation: scroll-bounce 2s ease-in-out infinite;
}

/* ===== Closing Statement (pull-quote accent) ===== */
.closing-statement {
  border-left: 3px solid var(--brand-accent);
  padding-left: 1.5rem;
  max-width: 48rem;
}

.closing-statement-dark {
  border-left-color: var(--brand-accent-light);
}

/* ===== Counter animation utility ===== */
.count-up {
  display: inline-block;
}

/* ===== Quote Page — Category Cards (inline row) ===== */
.quote-category-card {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.5rem;
  background: white;
  border: 1.5px solid #e5e7eb;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  white-space: nowrap;
  width: 220px;
  justify-content: center;
}

.quote-category-card:hover {
  border-color: var(--brand-accent);
  box-shadow: 0 2px 12px rgba(46, 134, 222, 0.12);
}

.quote-category-card.active {
  border-color: var(--brand-navy);
  background: var(--brand-navy);
  box-shadow: 0 4px 16px rgba(10, 45, 92, 0.2);
}

.quote-category-card.active span {
  color: white;
}

.quote-category-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(10, 45, 92, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-navy);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.quote-category-card.active .quote-category-icon {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

@media (max-width: 640px) {
  .quote-category-card {
    width: 100%;
    padding: 0.875rem 1.25rem;
  }
}

/* ===== Quote Page — Sub-type Pill Buttons ===== */
.quote-subtype-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand-gray-700);
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quote-subtype-btn:hover {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}

.quote-subtype-btn.active {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: white;
}

@media (max-width: 640px) {
  .quote-subtype-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
}

/* ===== Quote Page — Form Section ===== */
.quote-form-section {
  border-top: 1px solid #e5e7eb;
  padding-top: 2rem;
}

/* ===== Quote Page — File Upload Zone ===== */
.file-upload-zone {
  border: 2px dashed #d1d5db;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.file-upload-zone:hover,
.file-upload-zone.dragover {
  border-color: var(--brand-accent);
  background: rgba(46, 134, 222, 0.03);
}

@media (max-width: 640px) {
  .file-upload-zone {
    padding: 1.5rem 1rem;
  }
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  background: var(--brand-gray-100);
  border-radius: 6px;
  font-size: 0.8125rem;
}

.file-item-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-gray-700);
  min-width: 0;
}

.file-item-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-item-remove {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--brand-gray-500);
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
  background: none;
  border: none;
  padding: 0;
}

.file-item-remove:hover {
  color: var(--brand-error);
  background: rgba(220, 38, 38, 0.08);
}
