/* ── Google Fonts: Cabin ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── BankGthd local font ─────────────────────────────────────────────── */
@font-face {
  font-family: 'BankGthd';
  src: url('../fonts/BankGthd.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

/* ── Variables ───────────────────────────────────────────────────────── */
:root {
  --primary:      #0A71D7;
  --primary-dark: #0860b5;
  --amber:        #f59e0b;
  --amber-dark:   #d97706;
  --gray-900:     #111827;
  --gray-700:     #374151;
  --gray-600:     #4B5563;
  --gray-50:      #F9FAFB;
  --border-color: #E5E7EB;
  --radius-card:  0.75rem;
}

/* ── Reset / Base ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  {
  font-family: 'Cabin', Arial, sans-serif;
  color: var(--gray-900);
  background: #fff;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
.container {
  --bs-gutter-x: 4rem;
}
@media (min-width: 1200px) {
  .container {
    max-width: 1400px;
  }
}
@media (max-width: 575.98px) {
  .container {
    --bs-gutter-x: 2rem;
  }
}

/* ── Navbar ──────────────────────────────────────────────────────────── */
.navbar {
  z-index: 1030;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  min-height: 64px;
  box-shadow: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.navbar > .container { min-height: 64px; }
.navbar-brand { min-width: 0; }
.nav-link {
  font-family: 'Cabin', Arial, sans-serif;
  font-weight: 500;
  color: var(--gray-700) !important;
  transition: color 0.15s;
}
.nav-link:hover,
.nav-link.active { color: var(--primary) !important; }

/* ── Brand ───────────────────────────────────────────────────────────── */
.brand-title {
  font-family: 'BankGthd', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gray-900);
  line-height: 1.2;
  letter-spacing: 0;
}
.brand-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--amber-dark);
}
.logo-img, .footer-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn-qs-primary {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
  font-family: 'Cabin', Arial, sans-serif;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.625rem 1.5rem;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-qs-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }

.btn-qs-outline {
  background: #fff;
  color: var(--gray-700);
  border: 2px solid var(--border-color);
  font-family: 'Cabin', Arial, sans-serif;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.625rem 1.5rem;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-qs-outline:hover { background: var(--gray-50); border-color: #d1d5db; color: var(--gray-900); }
.btn-qs-primary.disabled,
.btn-qs-outline.disabled,
.btn-qs-light.disabled,
.btn-qs-outline-white.disabled {
  opacity: 0.65;
  cursor: default;
  pointer-events: none;
}

.btn-qs-light {
  background: #fff;
  color: var(--primary);
  border: none;
  font-family: 'Cabin', Arial, sans-serif;
  font-weight: 700;
  border-radius: 0.5rem;
  padding: 0.75rem 2rem;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-qs-light:hover { background: #f3f4f6; color: var(--primary); }

.btn-qs-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  font-family: 'Cabin', Arial, sans-serif;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.75rem 2rem;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-qs-outline-white:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ── Typography ──────────────────────────────────────────────────────── */
.h-hero {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--gray-900);
}
.h-section {
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}
.h-card {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}
.text-lead {
  font-size: 1.25rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.text-body-lg {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.text-muted-qs { color: var(--gray-600); }

/* ── Badge / Tag ─────────────────────────────────────────────────────── */
.tag-amber {
  background: #FEF3C7;
  color: #92400E;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  display: inline-block;
}
.tag-primary {
  background: rgba(10,113,215,0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  display: inline-block;
}
.tag-success {
  background: #D1FAE5;
  color: #065F46;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
}
.tag-amber-sm {
  background: #FEF3C7;
  color: #92400E;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
}

/* ── Cards ───────────────────────────────────────────────────────────── */
.card-qs {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.card-qs:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.card-top-bar {
  height: 0.5rem;
  background: linear-gradient(90deg, #0a71d7, #2563eb);
}
.card-top-bar + .p-4 .icon-gradient {
  background: linear-gradient(90deg, #0a71d7 0%, #2563eb 100%);
}

/* ── Icon boxes ──────────────────────────────────────────────────────── */
.icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.icon-box-lg {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.icon-gradient { background: linear-gradient(135deg, #0a71d7 0%, #f59e0b 100%); color: #fff; }
.icon-blue     { background: rgba(10,113,215,0.1); color: var(--primary); }
.icon-green    { background: rgba(34,197,94,0.1);  color: #16a34a; }
.icon-amber    { background: rgba(245,158,11,0.1); color: var(--amber); }
.icon-purple   { background: rgba(147,51,234,0.1); color: #9333ea; }
.icon-indigo   { background: rgba(99,102,241,0.1); color: #6366f1; }
.icon-red      { background: rgba(239,68,68,0.1);  color: #ef4444; }

/* ── Hero section ────────────────────────────────────────────────────── */
.hero-section {
  background: #fff;
}
.hero-gradient-card {
  background: linear-gradient(135deg, #0a71d7 0%, #f59e0b 100%);
  border-radius: 1.5rem;
  color: #fff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.hero-gradient-card.p-5 {
  padding: 2rem !important;
}
.hero-section .text-lead.mb-5 {
  margin-bottom: 1.5rem !important;
}
.hero-sib-panel {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 0.75rem;
}
.hero-sib-panel.p-4 {
  padding: 1rem !important;
}
.hero-section .d-flex.flex-column.flex-sm-row,
.section-sib-hero .d-flex.flex-column.flex-sm-row {
  align-items: flex-start;
}
@media (min-width: 576px) {
  .hero-section .d-flex.flex-column.flex-sm-row,
  .section-sib-hero .d-flex.flex-column.flex-sm-row {
    align-items: center;
  }
}

/* ── Glass card ──────────────────────────────────────────────────────── */
.glass-card {
  background: rgba(255,255,255,0.9);
  border: 1px solid #D1D5DB;
  backdrop-filter: blur(12px);
  border-radius: 1.5rem;
}
.product-media-card {
  background: transparent;
  border: 0;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  width: 100%;
}
.product-media-card-square {
  aspect-ratio: 1 / 1;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.product-media-card-benefits {
  aspect-ratio: 5 / 4;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.product-media-card-quipucore {
  aspect-ratio: 8 / 5;
  max-width: 800px;
  width: 100%;
}
.product-logo {
  display: block;
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}
.product-logo-sib {
  max-width: none;
  object-fit: cover;
}
.product-logo-benefits {
  max-width: none;
  object-fit: fill;
}
.product-logo-quipucore {
  max-width: none;
  object-fit: fill;
}

/* ── Products section ────────────────────────────────────────────────── */
.modules-bg { background: linear-gradient(135deg, #fffbeb 0%, #eff6ff 100%); }

/* ── About section ───────────────────────────────────────────────────── */
.about-card        { padding: 1.5rem; }
.about-card-blue   { background: linear-gradient(135deg, rgba(10,113,215,0.1) 0%, #eff6ff 100%); border-radius: 0.75rem; }
.about-card-amber  { background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%); border-radius: 0.75rem; }
.about-card-green  { background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%); border-radius: 0.75rem; }
.about-card-purple { background: linear-gradient(135deg, #f3e8ff 0%, #faf5ff 100%); border-radius: 0.75rem; }
.about-icon { font-size: 3rem; display: block; }
.about-icon-blue   { color: var(--primary); }
.about-icon-amber  { color: #b45309; }
.about-icon-green  { color: #16a34a; }
.about-icon-purple { color: #9333ea; }

.mission-box {
  background: linear-gradient(135deg, rgba(254,243,199,0.6) 0%, #eff6ff 100%);
  border-radius: 1rem;
  padding: 2.5rem;
}
.mission-list { list-style: disc; padding-left: 1.5rem; }
.mission-list li { margin-bottom: 0.5rem; color: var(--gray-600); }

/* ── Clients section ─────────────────────────────────────────────────── */
.clients-bg { background: linear-gradient(135deg, #eff6ff 0%, #fff 100%); }
.client-icon-wrap {
  width: 3rem; height: 3rem;
  border-radius: 0.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}
.client-icon-blue  { background: var(--primary); color: #fff; }
.client-icon-light { background: #dbeafe; color: var(--primary); }

/* ── Why us stats panel ──────────────────────────────────────────────── */
.why-us-panel {
  background: #fff;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.why-us-stat {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

/* ── CTA banners ─────────────────────────────────────────────────────── */
.cta-blue         { background: linear-gradient(90deg, #0a71d7, #2563eb); }
.cta-blue-amber   { background: linear-gradient(90deg, #0a71d7, #f59e0b); }

/* ── Dot separator in product lists ─────────────────────────────────── */
.list-dot { color: var(--primary); margin-right: 0.6rem; }

/* ── Section bg ──────────────────────────────────────────────────────── */
.section-gray { background: var(--gray-50); }
.section-sib-hero { background: linear-gradient(135deg, rgba(10,113,215,0.1) 0%, #eff6ff 100%); }
.section-qc-hero  { background: linear-gradient(135deg, #fffbeb 0%, #eff6ff 100%); }

/* ── Roadmap ─────────────────────────────────────────────────────────── */
.roadmap-dot {
  width: 3rem; height: 3rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; flex-shrink: 0;
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer-qs { background: #53565A; color: #D1D5DB; }
.footer-qs a { color: #D1D5DB; text-decoration: none; }
.footer-qs a:hover { color: #fff; }
.footer-links li { margin-bottom: 0.6rem; }
.social-link { font-size: 1.3rem; color: #D1D5DB; }
.social-link:hover { color: #fff; }

/* ── Hover shadow utility ────────────────────────────────────────────── */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

/* ── pt-nav: space under fixed navbar ───────────────────────────────── */
.pt-nav { padding-top: 4rem; }

/* ── Section padding ─────────────────────────────────────────────────── */
.section-py { padding-top: 5rem; padding-bottom: 5rem; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .section-py { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .hero-section.section-py { padding-top: 5rem; padding-bottom: 5rem; }
}
@media (max-width: 767.98px) {
  .navbar { padding-left: 1rem; padding-right: 1rem; }
  .brand-title { font-size: 1.15rem; }
  .brand-tag { font-size: 0.64rem; }
  .h-hero { font-size: 2.25rem; }
  .h-section { font-size: 1.75rem; }
}
