/* =========================================================
   BGFIBank Gabon x CyberSource - Static Website
   Stack: HTML + CSS + JavaScript vanilla
   Palette: #003565 #0B477A #AAB693 #3AA2AB
   ========================================================= */

:root {
  --navy: #003565;
  --navy-2: #0B477A;
  --teal: #3AA2AB;
  --sage: #AAB693;
  --ink: #071B34;
  --text: #31465F;
  --muted: #6A7D91;
  --line: #DDE7EF;
  --soft: #F5F9FC;
  --soft-2: #EDF6F8;
  --white: #FFFFFF;
  --success: #24A26B;
  --warning: #F4A22E;
  --danger: #E85A5A;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 10px 24px rgba(0, 53, 101, .08);
  --shadow-md: 0 22px 55px rgba(0, 53, 101, .15);
  --shadow-lg: 0 34px 90px rgba(0, 53, 101, .24);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Roboto", "Segoe UI", Arial, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { background: rgba(58, 162, 171, .25); color: var(--ink); }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.main {
  background: linear-gradient(180deg, #fff 0%, #f9fcfe 100%);
}

/* -------------------- Header -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 33, 64, .88);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 38px rgba(0, 25, 50, .18);
}

.navbar {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 275px;
}

.brand-logo {
  width: 170px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
}

.brand-divider {
  width: 1px;
  height: 42px;
  background: rgba(255,255,255,.24);
}

.brand-product {
  color: var(--white);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.brand-product small {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: .78rem;
  font-weight: 500;
  margin-top: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: rgba(255,255,255,.82);
  padding: 12px 13px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  transition: all .25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,.10);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: var(--white);
  border-radius: 14px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  display: block;
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform .25s ease;
}
.menu-toggle span::before { transform: translateY(-7px); }
.menu-toggle span::after { transform: translateY(7px); }

body.menu-open .menu-toggle span { background: transparent; }
body.menu-open .menu-toggle span::before { transform: rotate(45deg); }
body.menu-open .menu-toggle span::after { transform: rotate(-45deg); }

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 850;
  letter-spacing: -.01em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #08253F;
  background: linear-gradient(135deg, #DBE5C9, var(--sage));
  box-shadow: 0 16px 36px rgba(170, 182, 147, .28);
}
.btn-primary:hover { box-shadow: 0 20px 42px rgba(170, 182, 147, .38); }
.btn-secondary {
  color: var(--white);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.35);
}
.btn-secondary:hover { background: rgba(255,255,255,.14); }
.btn-dark {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  box-shadow: 0 16px 32px rgba(0, 53, 101, .22);
}
.btn-ghost {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
}
.btn-block { width: 100%; }
.btn svg, .arrow { width: 18px; height: 18px; }

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  min-height: 760px;
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 18%, rgba(58,162,171,.36) 0 0, transparent 33%),
    linear-gradient(130deg, rgba(0,23,48,.95) 0%, rgba(0,53,101,.94) 45%, rgba(7,75,121,.88) 100%),
    url('hero-building.png') center / cover no-repeat;
}

.hero.hero-compact {
  min-height: 430px;
  display: flex;
  align-items: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -160px -180px auto;
  width: 520px;
  height: 520px;
  background: url('bgfi-star.png') center / contain no-repeat;
  opacity: .07;
  transform: rotate(5deg);
  pointer-events: none;
}

.hero-shine {
  position: absolute;
  top: 95px;
  right: 12%;
  width: 165px;
  height: 165px;
  background: url('bgfi-star.png') center / contain no-repeat;
  filter: drop-shadow(0 0 24px rgba(80,190,255,.8));
  opacity: .95;
  transform: scale(.28);
  animation: starPulse 3.8s ease-in-out infinite;
}

@keyframes starPulse {
  0%, 100% { opacity: .72; transform: scale(.22) rotate(0deg); }
  50% { opacity: 1; transform: scale(.31) rotate(3deg); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr .95fr;
  align-items: center;
  gap: 44px;
  padding: 82px 0 88px;
}

.hero-compact .hero-inner {
  grid-template-columns: 1fr;
  padding: 80px 0 72px;
  max-width: 820px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #D6EFF2;
  background: rgba(58,162,171,.16);
  border: 1px solid rgba(58,162,171,.38);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-title,
.page-title {
  margin: 22px 0 18px;
  color: var(--white);
  font-size: clamp(2.45rem, 6vw, 5.25rem);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 950;
}

.page-title { font-size: clamp(2.3rem, 5vw, 4.6rem); max-width: 890px; }
.hero-title .accent,
.page-title .accent { color: var(--teal); }
.hero-title .sage,
.page-title .sage { color: #D8E1C5; }
.hero-lead,
.page-lead {
  max-width: 650px;
  color: rgba(255,255,255,.84);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.7;
  margin: 0 0 28px;
}
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-points {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
  color: rgba(255,255,255,.86);
}
.hero-point {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 170px;
}
.hero-point .mini-icon { background: rgba(255,255,255,.12); color: #DDECCD; }

/* -------------------- Mockups -------------------- */
.hero-visual {
  position: relative;
  min-height: 525px;
  display: grid;
  place-items: center;
}

.payment-lab {
  position: relative;
  width: min(100%, 590px);
  height: 520px;
}
.dashboard-window,
.checkout-card,
.phone-card,
.invoice-card,
.code-card {
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.96);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.dashboard-window {
  position: absolute;
  right: 0;
  top: 34px;
  width: 420px;
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
}
.window-top {
  height: 32px;
  background: #F4F8FB;
  border-bottom: 1px solid #E6EEF5;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #C5D3DF; }
.dot:nth-child(1){ background:#EF6A5B; }
.dot:nth-child(2){ background:#F7C85C; }
.dot:nth-child(3){ background:#58C27D; }
.window-body { display: grid; grid-template-columns: 96px 1fr; height: calc(100% - 32px); }
.side-menu { background: #F2F7FA; border-right: 1px solid #E2EBF2; padding: 14px 10px; }
.side-menu span { display:block; height: 9px; background:#D6E2EC; border-radius: 99px; margin: 9px 0; }
.side-menu span:first-child { background: var(--navy-2); width: 82%; }
.dash-main { padding: 16px; }
.dash-title { display:flex; justify-content:space-between; align-items:center; margin-bottom: 12px; font-weight:850; color: var(--navy); }
.metrics { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.metric { padding: 10px; background:#F8FBFD; border:1px solid #E8EEF3; border-radius:12px; }
.metric b { color: var(--navy); font-size:.95rem; }
.metric small { color: var(--success); display:block; margin-top:2px; font-weight:800; }
.chart { height: 90px; margin-top: 14px; border-radius: 14px; background: linear-gradient(180deg,#F5FAFC,#fff); border:1px solid #E7EEF4; position:relative; overflow:hidden; }
.chart svg { position:absolute; inset:0; width:100%; height:100%; }

.checkout-card {
  position: absolute;
  left: 8px;
  top: 210px;
  width: 300px;
  border-radius: 22px;
  padding: 20px;
}
.card-row { display:flex; justify-content:space-between; align-items:center; gap:14px; }
.form-line { height: 42px; border: 1px solid #DDE7EF; border-radius: 10px; background:#FBFDFE; margin-top: 12px; padding: 10px; color:#73849A; font-size:.82rem; }
.pay-logos { display:flex; gap:8px; align-items:center; margin: 14px 0; }
.logo-pill { font-size:.72rem; font-weight:900; color:var(--navy); }
.mastercard { display:inline-flex; }
.mastercard::before, .mastercard::after { content:""; width:18px; height:18px; border-radius:50%; display:block; }
.mastercard::before { background:#EB001B; }
.mastercard::after { background:#F79E1B; margin-left:-8px; opacity:.88; }
.phone-card {
  position: absolute;
  right: 28px;
  bottom: 15px;
  width: 170px;
  height: 310px;
  border-radius: 28px;
  border: 8px solid #071526;
  overflow: hidden;
}
.phone-screen { height:100%; background:#fff; padding: 18px 14px; text-align:center; }
.check { width:42px; height:42px; border-radius:50%; display:inline-grid; place-items:center; background:#EAF8F1; color:var(--success); font-weight:950; margin-top: 18px; }
.phone-screen h4 { margin: 12px 0 4px; color:var(--navy); }
.phone-screen .amount { font-size:1.25rem; font-weight:950; color:var(--ink); }
.phone-screen small { display:block; color:#75879B; margin-top:10px; }

/* -------------------- Sections -------------------- */
.section { padding: 92px 0; }
.section-sm { padding: 62px 0; }
.section-top { padding-top: 112px; }
.section-muted { background: linear-gradient(180deg, #F6FAFC 0%, #fff 100%); }
.section-dark {
  background: radial-gradient(circle at top right, rgba(58,162,171,.27), transparent 38%), linear-gradient(135deg, #00284E, #003565 60%, #05243F);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section-dark::after {
  content:""; position:absolute; right:-90px; bottom:-120px; width:360px; height:360px;
  background:url('bgfi-star.png') center/contain no-repeat; opacity:.06;
}
.section-head { text-align:center; max-width: 790px; margin: 0 auto 46px; }
.section-head.left { text-align:left; margin-left:0; }
.kicker { color: var(--teal); font-size:.8rem; letter-spacing:.12em; text-transform: uppercase; font-weight:950; }
.section-title { margin: 8px 0 12px; color: var(--ink); font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.08; letter-spacing: -.045em; font-weight: 950; }
.section-dark .section-title, .section-dark .section-head p { color: var(--white); }
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -52px;
}
.trust-card {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(221,231,239,.9);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.trust-item { padding: 27px 24px; display:flex; gap:16px; align-items:flex-start; }
.trust-item + .trust-item { border-left:1px solid var(--line); }
.trust-item h3 { color: var(--navy); font-size: 1rem; margin: 0 0 4px; }
.trust-item p { margin:0; font-size:.88rem; color:var(--muted); line-height:1.45; }

.mini-icon,
.icon-bubble {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--navy);
  background: linear-gradient(135deg, rgba(58,162,171,.16), rgba(170,182,147,.18));
}
.mini-icon svg, .icon-bubble svg { width: 25px; height: 25px; }
.icon-bubble.large { width: 68px; height: 68px; border-radius: 20px; }

.grid { display:grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(58,162,171,.4); }
.card h3 { margin: 18px 0 10px; color: var(--navy); font-size: 1.28rem; letter-spacing: -.02em; }
.card p { color: var(--muted); margin:0; }
.card-link { display:inline-flex; align-items:center; gap:8px; color: var(--navy); margin-top: 20px; font-weight: 900; }
.card-link span { width: 34px; height: 34px; border-radius:50%; border:1px solid var(--line); display:grid; place-items:center; }
.card:hover .card-link span { background: var(--navy); color: var(--white); border-color: var(--navy); }

.solution-card { min-height: 290px; display:flex; flex-direction:column; justify-content:space-between; }
.solution-card .chip { margin-top: 18px; }
.chip-row { display:flex; flex-wrap:wrap; gap:8px; margin: 16px 0 0; }
.chip {
  display:inline-flex; align-items:center; gap:6px; border-radius:999px; padding:8px 11px; background:#F0F7FA; color:var(--navy-2); font-weight:850; font-size:.78rem;
}
.chip.sage { background:#F2F5EA; color:#52643D; }

.benefit-card { display:flex; gap:18px; align-items:flex-start; min-height: 178px; }
.benefit-card h3 { margin-top: 0; }
.sector-card ul,
.bullet-list { margin: 14px 0 0; padding:0; list-style:none; }
.bullet-list li { position:relative; padding-left:26px; margin:10px 0; color:var(--text); }
.bullet-list li::before { content:""; position:absolute; left:0; top:.55em; width:9px; height:9px; border-radius:50%; background:var(--teal); box-shadow:0 0 0 5px rgba(58,162,171,.14); }
.bullet-list.check li::before { content:"✓"; color:#fff; display:grid; place-items:center; width:18px; height:18px; top:.25em; font-size:.7rem; background:var(--success); box-shadow:none; }

.cta-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 36px;
  border-radius: 24px;
  background: radial-gradient(circle at 6% 50%, rgba(80,190,255,.28), transparent 14%), linear-gradient(135deg, #003565, #073A6D 62%, #0B477A);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.cta-band::before { content:""; position:absolute; left:26px; top:50%; transform:translateY(-50%); width:120px; height:120px; background:url('bgfi-star.png') center/contain no-repeat; filter: drop-shadow(0 0 14px rgba(100,200,255,.75)); opacity:.88; }
.cta-band > * { position: relative; z-index:1; }
.cta-band h2 { margin:0 0 7px; font-size: clamp(1.55rem, 3vw, 2.35rem); letter-spacing: -.035em; }
.cta-band p { margin:0; color: rgba(255,255,255,.8); }
.cta-text { padding-left: 108px; }
.cta-actions { display:flex; align-items:center; gap:14px; flex-wrap:wrap; justify-content:flex-end; }
.phone-link { color: rgba(255,255,255,.9); font-weight:850; display:inline-flex; align-items:center; gap:8px; }

/* -------------------- Solutions page -------------------- */
.solution-detail {
  display:grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 54px;
  align-items:center;
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}
.solution-detail.reverse { grid-template-columns: 1.05fr .95fr; }
.solution-detail.reverse .solution-copy { order: 2; }
.solution-detail.reverse .solution-preview { order: 1; }
.solution-copy h2 { color: var(--navy); font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing:-.04em; margin: 18px 0 14px; }
.solution-copy p { color: var(--muted); font-size: 1.05rem; }
.feature-cols { display:grid; grid-template-columns: repeat(2,1fr); gap:20px; margin-top: 24px; }
.feature-col h4 { color: var(--ink); margin:0 0 10px; }
.stats-row { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:24px; }
.stat-mini { background:var(--white); border:1px solid var(--line); border-radius:18px; padding:16px; box-shadow:var(--shadow-sm); }
.stat-mini b { display:block; color:var(--navy); font-size:1.35rem; }
.stat-mini small { color:var(--muted); }
.solution-preview { position:relative; min-height: 360px; display:grid; place-items:center; }
.device-stack { position:relative; width:100%; height:360px; }
.laptop {
  position:absolute; left:0; right:0; margin:auto; top:30px; width:min(94%, 520px); height:280px; background:#0B1320; border-radius:20px 20px 12px 12px; padding:12px 12px 0; box-shadow:var(--shadow-lg);
}
.laptop-screen { height:235px; background:#fff; border-radius:12px; overflow:hidden; padding:18px; }
.laptop-base { position:absolute; left:9%; right:9%; bottom:-14px; height:18px; border-radius:0 0 28px 28px; background:linear-gradient(180deg,#DCE4EA,#AAB9C7); }
.mobile-ui { position:absolute; right:24px; top:86px; width:145px; height:265px; border:7px solid #091523; border-radius:28px; background:#fff; box-shadow:var(--shadow-md); overflow:hidden; }
.message-bubble { background:#EAF7F0; border-radius:14px; padding:12px; color:#1F4A34; font-size:.78rem; line-height:1.35; margin:18px 10px; }
.invoice-card { width:min(92%, 470px); border-radius:22px; padding:24px; }
.invoice-row { display:flex; justify-content:space-between; padding:13px 0; border-bottom:1px solid var(--line); }
.nfc-card { width:250px; height:150px; border-radius:22px; background:linear-gradient(135deg,#003565,#0B477A); color:white; padding:20px; position:absolute; left:40px; top:160px; box-shadow:var(--shadow-lg); }
.nfc-phone { position:absolute; right:90px; top:25px; width:170px; height:320px; border:8px solid #0A1624; border-radius:30px; background:#fff; box-shadow:var(--shadow-lg); padding:22px 14px; text-align:center; }
.nfc-symbol { font-size: 2.4rem; color: var(--navy); margin: 28px 0 18px; }
.backoffice-grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:34px; align-items:center; }
.dark-card { background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16); color:var(--white); border-radius:22px; padding:24px; }
.dark-card p { color:rgba(255,255,255,.72); }
.code-card { background:#061A31; color:#C7E7FF; border-radius:22px; padding:22px; overflow:auto; box-shadow:none; border-color:rgba(255,255,255,.14); }
.code-card pre { margin:0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size:.84rem; line-height:1.7; white-space:pre-wrap; }

/* -------------------- Pricing page -------------------- */
.pricing-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.price-card { padding:32px; border-radius:24px; background:#fff; border:1px solid var(--line); box-shadow:var(--shadow-sm); position:relative; overflow:hidden; }
.price-card.featured { border-color:rgba(58,162,171,.55); box-shadow:var(--shadow-md); }
.price-card::after { content:""; position:absolute; right:-60px; top:-60px; width:180px; height:180px; border-radius:50%; background:rgba(58,162,171,.08); }
.price-card h3 { color:var(--navy); margin: 18px 0 10px; }
.price { font-size: clamp(2rem, 4vw, 3.2rem); line-height:1; color:var(--navy); font-weight:950; letter-spacing:-.06em; margin:16px 0 12px; }
.price span { font-size:1rem; letter-spacing:0; color:var(--muted); }
.notice-strip { display:flex; align-items:center; justify-content:space-between; gap:20px; background:#F2F7FA; border:1px solid var(--line); border-radius:18px; padding:18px 22px; margin-top:24px; }
.compare-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:22px; background:#fff; box-shadow:var(--shadow-sm); }
.compare-table { width:100%; border-collapse: collapse; min-width: 860px; }
.compare-table th, .compare-table td { padding:18px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
.compare-table th { background:#F6FAFC; color:var(--navy); font-weight:950; }
.compare-table tr:last-child td { border-bottom:0; }
.rating { color:#0B477A; letter-spacing:2px; }
.calculator {
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items:stretch;
}
.calc-panel { background:#fff; border:1px solid var(--line); border-radius:24px; padding:28px; box-shadow:var(--shadow-sm); }
.range-row { margin:18px 0; }
.range-row label { display:flex; justify-content:space-between; color:var(--ink); font-weight:850; }
.range-row input { width:100%; accent-color: var(--teal); }
.calc-results { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.result-box { border-radius:18px; background:#F6FAFC; border:1px solid var(--line); padding:18px; }
.result-box b { color:var(--navy); display:block; font-size:1.5rem; }
.testimonial { background:linear-gradient(135deg,#F7FAF2,#fff); border:1px solid var(--line); border-radius:24px; padding:30px; box-shadow:var(--shadow-sm); }
.logo-cloud { display:flex; flex-wrap:wrap; gap:14px; align-items:center; }
.logo-cloud span { background:#fff; border:1px solid var(--line); border-radius:999px; padding:11px 16px; color:var(--navy); font-weight:900; }

/* -------------------- Contact page -------------------- */
.contact-layout { display:grid; grid-template-columns:1.1fr .9fr; gap:28px; align-items:start; margin-top:-100px; position:relative; z-index:2; }
.form-card, .side-card { background:#fff; border:1px solid var(--line); border-radius:26px; box-shadow:var(--shadow-md); padding:32px; }
.form-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.field { display:flex; flex-direction:column; gap:7px; }
.field.full { grid-column:1/-1; }
.field label { color:var(--ink); font-weight:850; font-size:.92rem; }
.field input, .field select, .field textarea {
  width:100%; border:1px solid #D9E4EC; border-radius:14px; padding:13px 14px; background:#FBFDFE; outline:none; transition:border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize:vertical; min-height:130px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color:var(--teal); box-shadow:0 0 0 4px rgba(58,162,171,.12); }
.consent { display:flex; gap:12px; align-items:flex-start; font-size:.9rem; color:var(--muted); }
.consent input { margin-top:4px; accent-color:var(--navy); }
.error-message { color:var(--danger); font-size:.83rem; min-height:18px; }
.side-list { display:grid; gap:16px; }
.side-list .benefit-card { border:1px solid var(--line); border-radius:18px; padding:18px; min-height:auto; }
.contact-info { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.info-card { background:#fff; border:1px solid var(--line); border-radius:20px; padding:22px; box-shadow:var(--shadow-sm); }
.info-card h4 { margin:12px 0 4px; color:var(--navy); }
.process { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; counter-reset:steps; }
.step-card { position:relative; background:#fff; border:1px solid var(--line); border-radius:22px; padding:26px; text-align:center; box-shadow:var(--shadow-sm); }
.step-card::before { counter-increment:steps; content: counter(steps); position:absolute; left:18px; top:18px; width:32px; height:32px; display:grid; place-items:center; border-radius:50%; background:var(--sage); color:#fff; font-weight:950; }
.step-card h3 { color:var(--navy); margin:18px 0 8px; }
.faq-list { display:grid; grid-template-columns:repeat(2,1fr); gap:14px 20px; }
.faq-item { background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; box-shadow:var(--shadow-sm); }
.faq-button { width:100%; display:flex; justify-content:space-between; align-items:center; background:transparent; border:0; padding:18px 20px; color:var(--navy); font-weight:900; text-align:left; }
.faq-button .plus { width:28px; height:28px; border-radius:50%; display:grid; place-items:center; border:1px solid var(--line); flex:0 0 auto; }
.faq-panel { max-height:0; overflow:hidden; transition:max-height .25s ease; }
.faq-panel p { margin:0; padding:0 20px 18px; color:var(--muted); }
.faq-item.open .faq-panel { max-height:160px; }
.faq-item.open .plus { background:var(--navy); color:white; }
.faq-item.open .plus::before { content:"−"; }
.faq-item:not(.open) .plus::before { content:"+"; }

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 3000;
  background: #071B34;
  color: white;
  padding: 16px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .25s ease, transform .25s ease;
  max-width: 360px;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* -------------------- Footer -------------------- */
.site-footer {
  background: radial-gradient(circle at right bottom, rgba(58,162,171,.16), transparent 28%), linear-gradient(135deg, #001B35, #003565);
  color: rgba(255,255,255,.78);
  padding: 58px 0 22px;
}
.footer-grid { display:grid; grid-template-columns:1.25fr repeat(4, .75fr); gap:36px; }
.footer-logo { width: 180px; height: 62px; object-fit:contain; object-position:left center; margin-bottom:16px; }
.footer-brand p { margin:0 0 18px; max-width:290px; }
.socials { display:flex; gap:10px; }
.socials a { width:34px; height:34px; border-radius:50%; display:grid; place-items:center; border:1px solid rgba(255,255,255,.2); color:#fff; font-weight:900; }
.footer-col h4 { color:#fff; margin:0 0 16px; font-size:.88rem; letter-spacing:.08em; text-transform:uppercase; }
.footer-col a, .footer-col span { display:block; margin:9px 0; color:rgba(255,255,255,.74); font-size:.94rem; }
.footer-col a:hover { color:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); margin-top:38px; padding-top:18px; display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; font-size:.86rem; }
.footer-bottom nav { display:flex; gap:18px; }

/* -------------------- Utilities -------------------- */
.split { display:grid; grid-template-columns:1fr 1fr; gap:34px; align-items:center; }
.text-white { color:#fff !important; }
.text-muted { color:var(--muted); }
.mb-0 { margin-bottom:0 !important; }
.mt-3 { margin-top:24px; }
.mt-4 { margin-top:36px; }
.center { text-align:center; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.reveal { opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity:1; transform: translateY(0); }

/* -------------------- Responsive -------------------- */
@media (max-width: 1100px) {
  .brand { min-width:auto; }
  .brand-logo { width:145px; }
  .nav-link { padding:10px 9px; font-size:.88rem; }
  .hero-inner { grid-template-columns:1fr; }
  .hero-visual { min-height:480px; }
  .trust-card, .grid-4, .contact-info, .process { grid-template-columns: repeat(2, 1fr); }
  .pricing-cards { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .contact-layout { grid-template-columns:1fr; margin-top:-70px; }
}

@media (max-width: 880px) {
  .navbar { height:74px; }
  .brand-product, .brand-divider { display:none; }
  .menu-toggle { display:flex; }
  .nav-menu {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(0, 33, 64, .98);
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding: 12px 20px 22px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .28s ease, opacity .22s ease;
  }
  body.menu-open .nav-menu { max-height: 420px; opacity:1; }
  .nav-link { display:block; border-radius:12px; padding:13px 14px; }
  .nav-actions .btn { display:none; }
  .hero { min-height: auto; }
  .hero-title, .page-title { letter-spacing:-.045em; }
  .payment-lab { transform: scale(.92); transform-origin: center top; }
  .trust-strip { margin-top: 0; padding-top: 30px; }
  .trust-card, .grid-3, .grid-4, .grid-2, .split, .calculator, .backoffice-grid, .faq-list { grid-template-columns:1fr; }
  .trust-item + .trust-item { border-left:0; border-top:1px solid var(--line); }
  .cta-band { grid-template-columns:1fr; }
  .cta-actions { justify-content:flex-start; }
  .solution-detail, .solution-detail.reverse { grid-template-columns:1fr; gap:30px; }
  .solution-detail.reverse .solution-copy, .solution-detail.reverse .solution-preview { order:initial; }
  .feature-cols, .stats-row, .calc-results { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
}

@media (max-width: 620px) {
  .container { width:min(100% - 28px, var(--container)); }
  .section { padding:68px 0; }
  .hero-inner { padding:56px 0 62px; }
  .hero-actions, .hero-points { align-items:stretch; flex-direction:column; }
  .btn { width:100%; }
  .payment-lab { height: 450px; transform: none; }
  .dashboard-window { width: 100%; right:0; top:10px; }
  .checkout-card { left:0; top:245px; width: 245px; }
  .phone-card { right:0; bottom:0; width: 132px; height:250px; border-width:6px; }
  .trust-card, .contact-info, .process { grid-template-columns:1fr; }
  .form-grid { grid-template-columns:1fr; }
  .cta-text { padding-left:0; padding-top:100px; }
  .cta-band::before { left:28px; top:38px; transform:none; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; }
  .footer-bottom nav { flex-wrap:wrap; }
  .notice-strip { flex-direction:column; align-items:flex-start; }
  .nfc-card { left:0; width:220px; }
  .nfc-phone { right:0; }
}
