/* __WHITEPAGE_V2__ site=cibcdigitalbusiness.co.com generated=2026-06-03 palette=deep-ocean-coral-sand */

/* === V2 — Full-Bleed Editorial | IBM Plex Sans | Atomic-Utility === */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root {
  --deep: #0B3D5C;
  --brand: #E8614D;
  --accent: #2A8C82;
  --light: #F5F0E8;
  --muted: #6B7B8D;
  --white: #FFFFFF;
  --text: #1A2A36;
  --text-light: #5A6A76;
  --border: #D5DDE5;
  --font: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 2px 12px rgba(11,61,92,0.08);
  --shadow-lg: 0 8px 32px rgba(11,61,92,0.12);
  --max-w: 1200px;
  --nav-h: 64px;
}

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

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--text); line-height: 1.65; background: var(--white); -webkit-font-smoothing: antialiased; }

/* === Atomic Utility Classes === */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flex { display: flex; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }
.txt-lg { font-size: 1.125rem; }
.txt-xl { font-size: 1.25rem; }
.txt-2xl { font-size: 1.5rem; }
.txt-3xl { font-size: 1.875rem; }
.txt-4xl { font-size: 2.25rem; }
.w-400 { font-weight: 400; }
.w-500 { font-weight: 500; }
.w-600 { font-weight: 600; }
.w-700 { font-weight: 700; }
.bg-deep { background: var(--deep); }
.bg-brand { background: var(--brand); }
.bg-accent { background: var(--accent); }
.bg-light { background: var(--light); }
.c-white { color: var(--white); }
.c-muted { color: var(--muted); }
.c-brand { color: var(--brand); }
.c-deep { color: var(--deep); }

/* === Topbar === */
.topbar { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.topbar .logo { font-size: 1.25rem; font-weight: 700; color: var(--deep); text-decoration: none; letter-spacing: -0.02em; white-space: nowrap; }
.topbar .logo span { color: var(--brand); }
.nav-pills { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-pill { display: inline-block; padding: 8px 18px; font-size: 0.9rem; font-weight: 500; color: var(--text); text-decoration: none; border-radius: var(--radius); transition: background 0.2s, color 0.2s; white-space: nowrap; }
.nav-pill:hover { background: var(--light); color: var(--deep); }
.nav-pill.is-active { background: var(--deep); color: var(--white); }
.nav-pill--cta { background: var(--brand); color: var(--white); margin-left: 8px; }
.nav-pill--cta:hover { background: #D4523F; color: var(--white); }

/* === Masthead === */
.masthead { background: linear-gradient(135deg, var(--deep) 0%, #0A2E47 40%, #0B3D5C 100%); position: relative; overflow: hidden; padding: 80px 0 72px; text-align: center; }
.masthead::before { content: ''; position: absolute; top: -50%; right: -20%; width: 60%; height: 200%; background: radial-gradient(ellipse, rgba(232,97,77,0.15) 0%, transparent 70%); pointer-events: none; }
.masthead::after { content: ''; position: absolute; bottom: -30%; left: -15%; width: 50%; height: 150%; background: radial-gradient(ellipse, rgba(42,140,130,0.10) 0%, transparent 70%); pointer-events: none; }
.masthead .wrap { position: relative; z-index: 1; }
.masthead h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; color: var(--white); line-height: 1.2; max-width: 800px; margin: 0 auto 20px; letter-spacing: -0.02em; }
.masthead .lead { font-size: 1.15rem; color: rgba(255,255,255,0.8); max-width: 640px; margin: 0 auto 36px; line-height: 1.6; }
.masthead .cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.masthead .cta-primary { display: inline-block; padding: 14px 32px; background: var(--brand); color: var(--white); font-weight: 600; font-size: 1rem; border-radius: var(--radius); text-decoration: none; transition: background 0.2s, transform 0.15s; }
.masthead .cta-primary:hover { background: #D4523F; transform: translateY(-1px); }
.masthead .cta-ghost { display: inline-block; padding: 14px 32px; background: transparent; color: var(--white); font-weight: 600; font-size: 1rem; border-radius: var(--radius); text-decoration: none; border: 2px solid rgba(255,255,255,0.3); transition: border-color 0.2s, background 0.2s; }
.masthead .cta-ghost:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); }

/* === Masthead Sub (for inner pages) === */
.masthead--sub { padding: 48px 0 40px; }
.masthead--sub h1 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.masthead--sub .lead { display: none; }
.masthead--sub .cta-group { display: none; }

/* === Stats === */
.stats-section { padding: 48px 0; background: var(--white); border-bottom: 1px solid var(--border); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat__value { font-size: 2.25rem; font-weight: 700; color: var(--deep); line-height: 1.1; }
.stat__label { font-size: 0.875rem; color: var(--muted); margin-top: 6px; }

/* === Products Grid === */
.products-section { padding: 72px 0; background: var(--light); }
.products-section .section-title { font-size: 1.75rem; font-weight: 700; color: var(--deep); text-align: center; margin-bottom: 12px; }
.products-section .section-desc { font-size: 1rem; color: var(--muted); text-align: center; max-width: 600px; margin: 0 auto 48px; }
.product { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); transition: box-shadow 0.2s, transform 0.15s; }
.product:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.product h3 { font-size: 1.2rem; font-weight: 600; color: var(--deep); margin: 16px 0 10px; }
.product p { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; }
.product .product-link { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 0.9rem; color: var(--brand); text-decoration: none; }
.product .product-link:hover { text-decoration: underline; }
.product .product-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--light); border-radius: var(--radius); }

/* === Trust Section === */
.trust-section { padding: 48px 0; background: var(--white); }
.trust-section h2 { font-size: 1.5rem; font-weight: 700; color: var(--deep); margin-bottom: 8px; }
.trust-section .trust-lead { color: var(--muted); margin-bottom: 32px; }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.trust-item { display: flex; gap: 20px; align-items: flex-start; }
.trust-item h4 { font-weight: 600; color: var(--deep); margin-bottom: 4px; }
.trust-item p { font-size: 0.9rem; color: var(--text-light); line-height: 1.55; }
.trust-badge { flex-shrink: 0; width: 40px; height: 40px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: 0.85rem; }

/* === Testimonials === */
.quotes-section { padding: 72px 0; background: var(--white); }
.quotes-section .section-title { font-size: 1.75rem; font-weight: 700; color: var(--deep); text-align: center; margin-bottom: 48px; }
.quote--featured { background: var(--light); border-radius: var(--radius-lg); padding: 40px; margin-bottom: 32px; text-align: center; }
.quote--featured blockquote { font-size: 1.25rem; font-weight: 500; color: var(--text); line-height: 1.6; font-style: italic; max-width: 700px; margin: 0 auto 20px; }
.quote--featured cite { font-size: 0.9rem; color: var(--muted); font-style: normal; }
.quotes-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.quote--mini { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.quote--mini blockquote { font-size: 0.9rem; color: var(--text); font-style: italic; line-height: 1.5; margin-bottom: 12px; }
.quote--mini cite { font-size: 0.8rem; color: var(--muted); font-style: normal; }

/* === CTA Card === */
.cta-card { padding: 64px 0; background: linear-gradient(135deg, var(--deep), #0A2E47); text-align: center; }
.cta-card h2 { font-size: 1.75rem; color: var(--white); font-weight: 700; margin-bottom: 12px; }
.cta-card p { color: rgba(255,255,255,0.8); margin-bottom: 28px; }
.cta-card .cta-primary { display: inline-block; padding: 14px 32px; background: var(--brand); color: var(--white); font-weight: 600; border-radius: var(--radius); text-decoration: none; }

/* === FAQ (flat divs, NOT <details>) === */
.faq-section { padding: 72px 0; background: var(--light); }
.faq-section .section-title { font-size: 1.75rem; font-weight: 700; color: var(--deep); text-align: center; margin-bottom: 48px; }
.faq__item { background: var(--white); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 16px; box-shadow: var(--shadow); }
.faq__q { font-size: 1.05rem; font-weight: 600; color: var(--deep); margin-bottom: 10px; }
.faq__a { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; }

/* === Footer Wide (5-col, serves as anchor distribution) === */
.footer-wide { background: var(--deep); color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 600; color: var(--white); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 20px; }
.footer-col a { display: block; font-size: 0.875rem; color: rgba(255,255,255,0.65); text-decoration: none; padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 48px; padding: 24px 0; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* === Breadcrumbs === */
.breadcrumbs { padding: 16px 0; font-size: 0.85rem; color: var(--muted); }
.breadcrumbs a { color: var(--deep); text-decoration: none; font-weight: 500; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { color: var(--muted); }

/* === Content (prose for sub-pages) === */
.content { padding: 32px 0 72px; }
.content h2 { font-size: 1.5rem; font-weight: 700; color: var(--deep); margin: 36px 0 12px; }
.content h3 { font-size: 1.15rem; font-weight: 600; color: var(--deep); margin: 28px 0 8px; }
.content p { font-size: 1rem; color: var(--text); line-height: 1.7; margin-bottom: 16px; }
.content ul, .content ol { margin: 12px 0 20px 24px; line-height: 1.7; }
.content li { margin-bottom: 6px; }
.content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.content th { background: var(--deep); color: var(--white); padding: 12px 16px; text-align: left; font-weight: 600; font-size: 0.9rem; }
.content td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.content tr:nth-child(even) td { background: var(--light); }

/* === Related Services Block === */
.related-services { background: var(--light); padding: 48px 0; }
.related-services h3 { font-size: 1.25rem; font-weight: 700; color: var(--deep); margin-bottom: 20px; }
.related-links { display: flex; flex-wrap: wrap; gap: 12px; }
.related-links a { padding: 10px 20px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); color: var(--deep); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: border-color 0.2s, color 0.2s; }
.related-links a:hover { border-color: var(--brand); color: var(--brand); }

/* === Print / Accessibility === */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media print { .topbar, .footer-wide, .cta-card, .masthead .cta-group { display: none; } .masthead { background: none; padding: 24px 0; } .masthead h1 { color: var(--text); } }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .quotes-mini { grid-template-columns: 1fr 1fr; }
  .nav-pills { gap: 2px; }
  .nav-pill { padding: 6px 12px; font-size: 0.8rem; }
  .trust-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4, .footer-grid, .stats { grid-template-columns: 1fr; }
  .quotes-mini { grid-template-columns: 1fr; }
  .masthead h1 { font-size: 1.6rem; }
  .topbar .wrap { flex-wrap: wrap; height: auto; padding: 8px 16px; }
  .nav-pills { flex-wrap: wrap; justify-content: center; }
}
