/* Approway — light blue high-risk payment gateway theme */

:root {
  --primary: #4a9fd4;
  --primary-dark: #2e7baf;
  --primary-light: #e8f4fc;
  --primary-soft: #b8ddf5;
  --accent: #6bb8e8;
  --dark: #0f172a;
  --dark-soft: #1e293b;
  --text: #334155;
  --text-muted: #64748b;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
  --radius: 12px;
  --radius-lg: 16px;

  /* Bootstrap theme overrides */
  --bs-primary: #4a9fd4;
  --bs-primary-rgb: 74, 159, 212;
  --bs-link-color: #2e7baf;
  --bs-link-hover-color: #4a9fd4;
  --bs-dropdown-link-active-bg: #e8f4fc;
  --bs-dropdown-link-active-color: #2e7baf;
  --bs-dropdown-link-hover-bg: #e8f4fc;
  --bs-dropdown-link-hover-color: #2e7baf;
  --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(74, 159, 212, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
}

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

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

/* Navbar */
.site-navbar {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  transition: box-shadow 0.3s ease;
}

.site-navbar.scrolled {
  box-shadow: var(--shadow);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:focus-visible {
  outline: none;
  box-shadow: none !important;
  border: none;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark) !important;
  letter-spacing: -0.02em;
}

.navbar-brand span {
  color: var(--primary);
}

.nav-link {
  color: var(--text) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-dark) !important;
}

.dropdown-menu {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
}

.dropdown-item {
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-weight: 500;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active,
.dropdown-item:active {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.dropdown-item.active {
  font-weight: 600;
}

.btn {
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #4a9fd4;
  --bs-btn-border-color: #4a9fd4;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #2e7baf;
  --bs-btn-hover-border-color: #2e7baf;
  --bs-btn-focus-shadow-rgb: 74, 159, 212;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #2e7baf;
  --bs-btn-active-border-color: #2e7baf;
  --bs-btn-active-shadow: none;
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:active,
.btn-primary.active,
.btn-primary.show,
.btn-primary:first-child:active,
:not(.btn-check) + .btn-primary:active {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  box-shadow: 0 0 0 0.25rem rgba(74, 159, 212, 0.2);
}

.btn-outline-primary {
  --bs-btn-color: #2e7baf;
  --bs-btn-border-color: #4a9fd4;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #4a9fd4;
  --bs-btn-hover-border-color: #4a9fd4;
  --bs-btn-focus-shadow-rgb: 74, 159, 212;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #2e7baf;
  --bs-btn-active-border-color: #2e7baf;
  --bs-btn-active-shadow: none;
  color: var(--primary-dark);
  border-color: var(--primary);
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:focus-visible,
.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary:first-child:active,
:not(.btn-check) + .btn-outline-primary:active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 0 0 0.25rem rgba(74, 159, 212, 0.2);
}

/* Hero */
.hero-section {
  background:
    linear-gradient(115deg, var(--dark) 0%, var(--dark-soft) 42%, #1a3348 68%, #1e3a52 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-bg-logos {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-logos::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.45) 28%, transparent 58%);
  pointer-events: none;
}

.hero-bg-logo {
  position: absolute;
  opacity: 0;
  will-change: opacity;
}

.hero-bg-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.hero-bg-logo--mastercard img {
  opacity: 0.42;
  filter: brightness(2.6) contrast(1.05);
}

.hero-bg-logo--visa img {
  filter: brightness(2.4);
  opacity: 0.55;
}

.hero-bg-logo--mastercard,
.hero-bg-logo--visa {
  transform: translateY(-50%) rotate(-18deg);
}

.hero-bg-logo--mastercard {
  width: min(820px, 74vw);
  aspect-ratio: 960 / 746;
  height: auto;
  right: -2%;
  top: 50%;
  animation: heroMastercardFade 11s ease-in-out infinite;
}

.hero-bg-logo--visa {
  width: min(1180px, 102vw);
  aspect-ratio: 3840 / 1247;
  height: auto;
  right: -20%;
  top: 50%;
  animation: heroVisaFade 11s ease-in-out infinite;
}

.hero-bg-logo--visa img {
  object-position: 34% center;
}

@keyframes heroMastercardFade {
  0% { opacity: 0; }
  6.82% { opacity: 0.38; }
  43.18% { opacity: 0.38; }
  56.82% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes heroVisaFade {
  0%, 43.18% { opacity: 0; }
  56.82% { opacity: 0.38; }
  93.18% { opacity: 0.38; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-logo--mastercard,
  .hero-bg-logo--visa {
    animation: none;
    opacity: 0.22;
  }

  .hero-bg-logo--visa {
    display: none;
  }
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, transparent 45%, rgba(74, 159, 212, 0.06) 72%, rgba(74, 159, 212, 0.1) 100%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(74, 159, 212, 0.2);
  border: 1px solid rgba(74, 159, 212, 0.4);
  color: var(--primary-soft);
  padding: 0.375rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-section h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 1.25rem;
}

.hero-section .lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-actions .btn {
  flex: 1 1 220px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item strong {
  display: block;
  font-size: 1.75rem;
  color: var(--white);
  font-weight: 800;
}

.stat-item span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: #f8fafc;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-header .eyebrow {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  margin-bottom: 0;
}

/* Feature cards */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 0.9375rem;
}

/* Industry cards */
.industry-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  transition: all 0.25s ease;
  color: inherit;
}

.industry-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  color: inherit;
}

.industry-card .icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.industry-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.industry-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* Steps */
.step-card {
  text-align: center;
  padding: 1.5rem;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 auto 1.25rem;
}

.step-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* Pricing */
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  position: relative;
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-card .volume {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.pricing-card .price-note {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.pricing-card .desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.pricing-features li {
  padding: 0.375rem 0;
  font-size: 0.875rem;
  color: var(--text);
}

.pricing-features li i {
  color: var(--primary);
  margin-right: 0.5rem;
  width: 16px;
}

/* Integrations */
.integration-group {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
}

.integration-group h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.integration-group .subtitle {
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-bottom: 1rem;
}

.integration-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.integration-tags span {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
}

/* Quote form */
.quote-section {
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--white) 100%);
}

.quote-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.quote-form-card .form-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--dark);
}

.quote-form-card .form-control,
.quote-form-card .form-select {
  border-radius: 8px;
  border-color: var(--border);
  padding: 0.625rem 0.875rem;
}

.quote-form-card .form-control:focus,
.quote-form-card .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74, 159, 212, 0.2);
}

.quote-form-card .form-control.field-error,
.quote-form-card .form-select.field-error,
.upload-dropzone.field-error {
  border-color: #e55353 !important;
  box-shadow: none !important;
  background-image: none !important;
}

.quote-form-card .form-control.field-error:focus,
.quote-form-card .form-select.field-error:focus,
.country-combo-btn.field-error:focus {
  border-color: #e55353 !important;
  box-shadow: none !important;
}

.upload-dropzone.field-error {
  border-style: dashed;
  background: rgba(229, 83, 83, 0.04);
}

/* Country select (flags from uk-visum.dk) */
.country-combo-btn {
  position: relative;
  min-height: calc(1.5em + 1.25rem + 2px);
  padding: 0.625rem 2.25rem 0.625rem 0.875rem;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--text);
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23334155' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  background-size: 16px 12px;
}

.country-combo-btn.field-error {
  border-color: #e55353 !important;
}

.country-combo-btn:focus,
.country-combo-btn:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74, 159, 212, 0.2);
  outline: none;
}

.country-combo-flag,
.country-combo-flag-sm {
  display: block;
  flex-shrink: 0;
  width: 22px;
  height: auto;
}

.country-combo-flag-sm {
  width: 20px;
}

.country-combo-code,
.country-combo-item-code {
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
}

.country-combo-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-combo-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 1060;
  max-height: min(320px, 60vh);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.country-combo-menu-toolbar {
  flex-shrink: 0;
  padding: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.country-combo-search {
  width: 100%;
}

.country-combo-menu-scroll {
  flex: 1 1 auto;
  min-height: 0;
  max-height: min(240px, 48vh);
  overflow-y: auto;
  padding: 0.25rem 0;
}

.country-combo-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: var(--text);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.country-combo-item:hover,
.country-combo-item:focus {
  background: var(--primary-light);
  outline: none;
}

.country-combo-item-label {
  flex: 1 1 auto;
  min-width: 0;
}

/* File upload dropzones (same pattern as uk-visum.dk passport/photo uploads) */
.upload-dropzone {
  border: 2px dashed var(--primary-dark);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(74, 159, 212, 0.06) 0%, rgba(74, 159, 212, 0.02) 100%);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.upload-dropzone--active {
  border-color: var(--primary);
  border-style: solid;
  background: rgba(74, 159, 212, 0.1);
  box-shadow: 0 0 0 3px rgba(74, 159, 212, 0.2);
}

.upload-dropzone--filled {
  opacity: 0.55;
  pointer-events: none;
}

.upload-dropzone__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  min-height: 140px;
  padding: 1.25rem 1rem;
  cursor: pointer;
  text-align: center;
}

.upload-dropzone__icon {
  color: var(--primary);
  line-height: 1;
}

.upload-dropzone__icon svg {
  display: block;
  margin: 0 auto;
}

.upload-dropzone__title {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 1rem;
  max-width: 22rem;
}

.upload-dropzone__hint {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.upload-dropzone__label:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 8px;
}

.upload-file-preview-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.upload-file-preview-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.875rem;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-file-preview-name i {
  color: var(--primary);
  margin-right: 0.35rem;
}

.upload-file-preview-remove {
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: rgba(33, 37, 41, 0.85);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.upload-file-preview-remove:hover,
.upload-file-preview-remove:focus-visible {
  background: #e55353;
  color: var(--white);
}

.upload-file-preview-remove span {
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 700;
}

.char-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-question i {
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
}

.cta-banner h2 {
  color: var(--white);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
}

.cta-banner .btn-light {
  font-weight: 600;
  color: var(--primary-dark);
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1a3a52 100%);
  color: var(--white);
  padding: 4rem 0 3rem;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.page-hero .breadcrumb {
  margin-bottom: 1rem;
}

.page-hero .breadcrumb-item a {
  color: var(--primary-soft);
}

.page-hero .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

/* Contact */
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
}

.contact-info-item {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-info-card i,
.contact-info-item i {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 1.5rem;
}

.site-footer h5 {
  color: var(--white);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  display: block;
  padding: 0.25rem 0;
}

.site-footer a:hover {
  color: var(--primary-soft);
}

.footer-brand {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--white) !important;
  margin-bottom: 0.75rem;
}

.footer-brand span {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Utilities */
.text-primary-custom {
  color: var(--primary) !important;
}

.bg-primary-light {
  background: var(--primary-light) !important;
}

.hidden-fields {
  display: none;
}

/* Responsive */
@media (max-width: 991.98px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .navbar-collapse {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
  }

  .navbar-nav .nav-link {
    padding: 0.625rem 0 !important;
  }

  .navbar-nav .btn-primary {
    width: 100%;
    margin-top: 0.5rem;
  }

  .hero-bg-logo--mastercard {
    width: min(620px, 92vw);
    right: -4%;
    top: 44%;
  }

  .hero-bg-logo--visa {
    width: min(860px, 98vw);
    right: -10%;
  }

  .hero-bg-logos::after {
    background: linear-gradient(to left, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.5) 32%, transparent 65%);
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    padding: 3.5rem 0 3rem;
  }

  .hero-bg-logo--mastercard {
    width: min(380px, 106vw);
    left: -5%;
    right: auto;
    top: 42%;
    transform: translateY(-50%) rotate(-12deg);
  }

  .hero-bg-logo--visa {
    width: min(720px, 165vw);
    right: -34%;
    top: 50%;
    transform: translateY(-50%) rotate(-12deg) translateX(6%);
  }

  .hero-bg-logo--mastercard img {
    opacity: 0.4;
    filter: brightness(2.8) contrast(1.05);
  }

  .hero-bg-logo--visa img {
    opacity: 0.75;
    filter: brightness(2.9);
    object-position: 34% center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    flex: none;
  }

  @keyframes heroMastercardFade {
    0% { opacity: 0; }
    6.82% { opacity: 0.28; }
    43.18% { opacity: 0.28; }
    56.82% { opacity: 0; }
    100% { opacity: 0; }
  }

  @keyframes heroVisaFade {
    0%, 43.18% { opacity: 0; }
    56.82% { opacity: 0.48; }
    93.18% { opacity: 0.48; }
    100% { opacity: 0; }
  }

  .hero-bg-logos::after {
    background: linear-gradient(to left, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.5) 46%, transparent 84%);
  }

  .section {
    padding: 3.5rem 0;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .quote-form-card {
    padding: 1.5rem;
  }

  .cta-banner {
    padding: 2rem;
  }
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1030;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus,
.back-to-top:focus-visible,
.back-to-top:active {
  background: var(--primary-dark);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 575.98px) {
  .back-to-top {
    right: 1rem;
    bottom: 1rem;
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }
}
