/* ============================================================================
   OnGo / InsureOnGo — Brand Stylesheet
   ----------------------------------------------------------------------------
   Design system aligned to the OnGo logo: deep navy + yellow arc + Inter font.
   Loaded after Bootstrap 5 so it can override base utility colors.
   ============================================================================ */

:root {
  /* ── Brand colors ─────────────────────────────────────────────────────── */
  --brand-navy:        #012060;  /* logo wordmark */
  --brand-navy-deep:   #01174A;  /* gradient floor */
  --brand-navy-2:      #0A1F44;  /* body text + softer navy */
  --brand-gold:        #FFBE00;  /* yellow arc */
  --brand-gold-deep:   #E0A500;
  --brand-gold-soft:   #FFE99A;
  --brand-blue:        #1E66FF;  /* secondary CTA blue */
  --brand-blue-deep:   #1453D9;
  --brand-accent:      #4DA3FF;  /* soft accent */
  --brand-light:       #EAF3FF;  /* tinted backgrounds */
  --brand-cream:       #FFF8E1;  /* gold-tinted backgrounds */

  /* ── Neutrals ─────────────────────────────────────────────────────────── */
  --ink:               #0A1F44;
  --ink-soft:          #2F3B5A;
  --muted:             #6B7280;
  --border:            #E5E7EB;
  --bg-soft:           #F5F7FA;
  --white:             #FFFFFF;

  /* ── Status ──────────────────────────────────────────────────────────── */
  --success:           #22C55E;
  --warn:              #F59E0B;
  --error:             #EF4444;
  --whatsapp:          #25D366;

  /* ── Elevation ───────────────────────────────────────────────────────── */
  --shadow-xs: 0 1px 2px rgba(1, 32, 96, .06);
  --shadow-sm: 0 4px 12px rgba(1, 32, 96, .08);
  --shadow-md: 0 10px 30px rgba(1, 32, 96, .10);
  --shadow-lg: 0 24px 60px rgba(1, 32, 96, .16);
  --shadow-gold: 0 8px 24px rgba(255, 190, 0, .35);

  /* ── Radii ───────────────────────────────────────────────────────────── */
  --radius-sm: 10px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* ── Type ────────────────────────────────────────────────────────────── */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ============================================================================
   GLOBAL BASE
   ============================================================================ */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* Prevent any descendant element from creating horizontal page-shift.
     Industry-standard guard used by Stripe, Linear, Wise, Vercel. */
  overflow-x: hidden;
}
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  padding-top: 78px;       /* room for fixed navbar */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  /* Belt-and-braces — if any child overflows, clip rather than scroll the page. */
  overflow-x: hidden;
  /* Ensure body always fills the viewport width exactly. */
  width: 100%;
  max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--brand-navy);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.6rem); }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem); }
h3 { font-size: 1.4rem; }

a { color: var(--brand-blue); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-blue-deep); }

img { max-width: 100%; height: auto; }

::selection { background: var(--brand-gold); color: var(--brand-navy); }

/* ============================================================================
   UTILITY HELPERS
   ============================================================================ */
.text-navy   { color: var(--brand-navy) !important; }
.text-gold   { color: var(--brand-gold-deep) !important; }
.text-brand  { color: var(--brand-blue) !important; }
.text-muted-2 { color: var(--muted) !important; }
.bg-navy     { background: var(--brand-navy) !important; color: #fff; }
.bg-gold     { background: var(--brand-gold) !important; color: var(--brand-navy); }
.bg-cream    { background: var(--brand-cream) !important; }
.bg-tint     { background: var(--brand-light) !important; }
.bg-soft     { background: var(--bg-soft) !important; }

.fw-800 { font-weight: 800 !important; }
.fw-900 { font-weight: 900 !important; }

/* ============================================================================
   NAVBAR — sits over a thin gold arc that nods to the logo
   ============================================================================ */
.iog-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease, background .2s ease;
}
.iog-navbar.is-scrolled {
  background: rgba(255, 255, 255, .98);
  box-shadow: var(--shadow-sm);
}

/* Thin gold "arc" running along the top edge of the navbar */
.iog-navbar::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand-gold) 50%, transparent);
  border-radius: 0 0 999px 999px;
  opacity: .85;
}

.iog-navbar .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding-top: .25rem;
  padding-bottom: .25rem;
}
.iog-navbar .navbar-brand img {
  height: 44px;
  width: auto;
  display: block;
}
@media (max-width: 575.98px) {
  .iog-navbar .navbar-brand img { height: 36px; }
}

.iog-navbar .nav-link {
  color: var(--ink) !important;
  font-weight: 600;
  font-size: .94rem;
  padding: .55rem .85rem !important;
  border-radius: var(--radius-sm);
  transition: color .15s ease, background .15s ease;
  position: relative;
}
.iog-navbar .nav-link:hover {
  color: var(--brand-blue) !important;
  background: var(--brand-light);
}
.iog-navbar .nav-link.active {
  color: var(--brand-navy) !important;
}
.iog-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 4px;
  transform: translateX(-50%);
  width: 22px; height: 3px;
  background: var(--brand-gold);
  border-radius: 999px;
}

.iog-navbar .btn-nav-cta {
  background: var(--brand-navy);
  color: var(--white) !important;
  border: 0;
  padding: .55rem 1.1rem;
  font-weight: 700;
  font-size: .92rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  box-shadow: 0 6px 20px rgba(1, 32, 96, .22);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.iog-navbar .btn-nav-cta:hover {
  background: var(--brand-navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(1, 32, 96, .32);
}
.iog-navbar .btn-nav-wa {
  background: var(--whatsapp);
  color: var(--white) !important;
  border: 0;
  padding: .55rem 1.1rem;
  font-weight: 700;
  font-size: .92rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.iog-navbar .btn-nav-wa:hover { background: #1ebe5a; color: var(--white) !important; }

.iog-navbar .navbar-toggler {
  border-color: var(--border);
  padding: .35rem .55rem;
}
.iog-navbar .navbar-toggler:focus { box-shadow: 0 0 0 .15rem rgba(30, 102, 255, .25); }

/* ============================================================================
   BUTTONS
   ============================================================================ */
.btn-iog {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .98rem;
  padding: .85rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-decoration: none;
  line-height: 1;
}
.btn-iog-primary {
  background: var(--brand-navy);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(1, 32, 96, .25);
}
.btn-iog-primary:hover {
  background: var(--brand-navy-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(1, 32, 96, .35);
}
.btn-iog-gold {
  background: var(--brand-gold);
  color: var(--brand-navy);
  box-shadow: var(--shadow-gold);
}
.btn-iog-gold:hover {
  background: var(--brand-gold-deep);
  color: var(--brand-navy);
  transform: translateY(-2px);
}
.btn-iog-outline {
  background: transparent;
  color: var(--brand-navy);
  border: 2px solid var(--brand-navy);
}
.btn-iog-outline:hover {
  background: var(--brand-navy);
  color: var(--white);
}
.btn-iog-wa {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37, 211, 102, .35);
}
.btn-iog-wa:hover {
  background: #1ebe5a;
  color: var(--white);
  transform: translateY(-2px);
}
.btn-iog-ghost {
  background: var(--brand-light);
  color: var(--brand-navy);
}
.btn-iog-ghost:hover { background: #d8e8ff; color: var(--brand-navy); }

.btn-iog-sm { padding: .55rem 1.1rem; font-size: .88rem; }
.btn-iog-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }

/* ============================================================================
   HERO  — full-bleed navy panel with the iconic gold arc
   ============================================================================ */
.iog-hero {
  position: relative;
  background: linear-gradient(160deg, var(--brand-navy) 0%, var(--brand-navy-deep) 60%, #000829 100%);
  color: var(--white);
  padding: 5.5rem 0 6.5rem;
  overflow: hidden;
  isolation: isolate;
}
.iog-hero::before {                       /* The gold arc — signature motif */
  content: '';
  position: absolute;
  inset: -10% -5% auto -5%;
  height: 70%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 400' preserveAspectRatio='none'><path d='M -50 380 Q 500 -120 1050 380' stroke='%23FFBE00' stroke-width='6' fill='none' opacity='0.55'/><path d='M -50 320 Q 500 -180 1050 320' stroke='%23FFBE00' stroke-width='3' fill='none' opacity='0.25'/></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: -1;
}
.iog-hero::after {                        /* Soft radial glow behind text */
  content: '';
  position: absolute;
  top: 30%; left: 50%;
  width: 700px; height: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(77, 163, 255, .22), transparent 70%);
  z-index: -1;
}
.iog-hero h1 {
  color: var(--white);
  font-weight: 900;
  margin-bottom: 1rem;
}
.iog-hero .hero-lead {
  color: rgba(255, 255, 255, .82);
  font-size: 1.18rem;
  max-width: 640px;
  margin: 0 auto 2rem;
}
.iog-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(255, 190, 0, .12);
  color: var(--brand-gold);
  border: 1px solid rgba(255, 190, 0, .35);
  padding: .45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.iog-hero .hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--brand-gold);
  box-shadow: 0 0 0 4px rgba(255, 190, 0, .25);
}

.iog-hero .hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
  max-width: 720px;
  margin-left: auto; margin-right: auto;
}
.iog-hero .hero-stat {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 1.2rem;
  backdrop-filter: blur(8px);
  text-align: center;
  transition: transform .2s ease, border-color .2s ease;
}
.iog-hero .hero-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 190, 0, .55);
}
.iog-hero .hero-stat .num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--brand-gold);
  line-height: 1;
}
.iog-hero .hero-stat .num small {
  font-size: 1rem;
  color: rgba(255, 255, 255, .7);
  font-weight: 700;
  margin-left: .15rem;
}
.iog-hero .hero-stat .lbl {
  color: rgba(255, 255, 255, .75);
  font-size: .82rem;
  margin-top: .35rem;
  letter-spacing: .02em;
}

/* Compact "page header" hero variant for inner pages */
.iog-page-header {
  position: relative;
  background: linear-gradient(160deg, var(--brand-navy) 0%, var(--brand-navy-deep) 100%);
  color: var(--white);
  padding: 4rem 0 3.5rem;
  overflow: hidden;
  isolation: isolate;
}
.iog-page-header::before {
  content: '';
  position: absolute;
  inset: -20% -5% auto -5%;
  height: 80%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 400' preserveAspectRatio='none'><path d='M -50 380 Q 500 -120 1050 380' stroke='%23FFBE00' stroke-width='4' fill='none' opacity='0.45'/></svg>");
  background-size: 100% 100%;
  z-index: -1;
}
.iog-page-header h1 { color: var(--white); margin-bottom: .75rem; }
.iog-page-header .lead { color: rgba(255, 255, 255, .82); max-width: 720px; }
.iog-page-header .breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1.2rem;
}
.iog-page-header .breadcrumb a { color: rgba(255, 255, 255, .65); }
.iog-page-header .breadcrumb a:hover { color: var(--brand-gold); }
.iog-page-header .breadcrumb-item.active { color: var(--brand-gold); }
.iog-page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, .35);
  content: '/';
}

/* ============================================================================
   SECTIONS
   ============================================================================ */
.iog-section { padding: 5rem 0; }
.iog-section.tinted { background: var(--bg-soft); }
.iog-section.cream  { background: var(--brand-cream); }

.section-eyebrow {
  display: inline-block;
  color: var(--brand-blue);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .9rem;
  position: relative;
  padding-left: 34px;
}
.section-eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 2px;
  background: var(--brand-gold);
  border-radius: 999px;
}
.section-title {
  font-weight: 900;
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 720px;
}

/* ============================================================================
   CARDS
   ============================================================================ */
.iog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.iog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.iog-card .card-icon {
  width: 54px; height: 54px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--brand-light);
  color: var(--brand-navy);
  border-radius: var(--radius);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  transition: background .2s ease, color .2s ease;
}
.iog-card:hover .card-icon {
  background: var(--brand-gold);
  color: var(--brand-navy);
}
.iog-card h5 {
  margin-bottom: .5rem;
  font-weight: 800;
}
.iog-card p {
  color: var(--muted);
  margin: 0;
  font-size: .95rem;
}

/* Product card (used on products.php and homepage marketplace strip) */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.product-card .product-image {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--brand-light) 0%, #fff 100%);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-card .product-image .product-icon {
  font-size: 3rem;
  color: var(--brand-navy);
  opacity: .85;
}
.product-card .product-image::after {                /* arc accent on each product card */
  content: '';
  position: absolute;
  inset: auto -5% -55% -5%;
  height: 60%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 400' preserveAspectRatio='none'><path d='M -50 380 Q 500 -120 1050 380' stroke='%23FFBE00' stroke-width='5' fill='none' opacity='0.45'/></svg>");
  background-size: 100% 100%;
  pointer-events: none;
}
.product-card .product-body {
  padding: 1.4rem;
  display: flex; flex-direction: column;
  flex: 1 1 auto;
}
.product-card .product-cat {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brand-blue);
  margin-bottom: .4rem;
}
.product-card h6 {
  font-weight: 800;
  margin-bottom: .5rem;
  color: var(--brand-navy);
}
.product-card .product-desc {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 1rem;
  flex: 1 1 auto;
}
.product-card .product-price {
  font-weight: 800;
  color: var(--brand-navy);
  font-size: .98rem;
  margin-bottom: 1rem;
}
.product-card .product-price small {
  color: var(--muted);
  font-weight: 600;
  font-size: .8rem;
}

/* ============================================================================
   VALUE STRIP / FEATURE PILLARS
   ============================================================================ */
.value-strip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-top: -3.5rem;
  position: relative;
  z-index: 2;
}
.value-strip .pillar {
  padding: 2rem 1.6rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.value-strip .pillar:last-child { border-right: 0; }
@media (max-width: 767.98px) {
  .value-strip .pillar { border-right: 0; border-bottom: 1px solid var(--border); }
  .value-strip .pillar:last-child { border-bottom: 0; }
}
.value-strip .pill-icon {
  width: 56px; height: 56px;
  background: var(--brand-light);
  color: var(--brand-navy);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
}
.value-strip .pill-icon::after {
  content: '';
  position: absolute;
  inset: -3px -8% auto -8%;
  height: 12px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'><path d='M 0 18 Q 50 -2 100 18' stroke='%23FFBE00' stroke-width='2.5' fill='none'/></svg>");
  background-size: 100% 100%;
}
.value-strip h5 { font-weight: 800; margin-bottom: .35rem; }
.value-strip p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ============================================================================
   HOW IT WORKS — numbered steps
   ============================================================================ */
.how-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem 1.6rem;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.how-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.how-step .step-num {
  position: absolute;
  top: -18px; left: 1.6rem;
  background: var(--brand-gold);
  color: var(--brand-navy);
  width: 44px; height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 1.05rem;
  box-shadow: var(--shadow-gold);
}
.how-step .step-icon {
  font-size: 1.6rem;
  color: var(--brand-navy);
  margin: .8rem 0 1rem;
}
.how-step h5 { font-weight: 800; margin-bottom: .5rem; }
.how-step p  { color: var(--muted); margin: 0; font-size: .94rem; }

/* ============================================================================
   PARTNER STRIP
   ============================================================================ */
.partner-strip {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.6rem;
}
.partner-strip .partner {
  text-align: center;
  padding: .9rem .5rem;
  color: var(--brand-navy);
  font-weight: 700;
  letter-spacing: .02em;
  border-radius: var(--radius);
  transition: background .2s ease;
}
.partner-strip .partner:hover { background: var(--brand-light); }
.partner-strip .partner small { color: var(--muted); display:block; font-weight:600; font-size:.72rem; letter-spacing: .08em; text-transform: uppercase; margin-top: .15rem;}

/* ============================================================================
   FORMS
   ============================================================================ */
.iog-form .form-label {
  font-weight: 700;
  color: var(--brand-navy);
  font-size: .9rem;
  margin-bottom: .4rem;
}
.iog-form .form-control,
.iog-form .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: .8rem 1rem;
  font-size: .95rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.iog-form .form-control:focus,
.iog-form .form-select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 .2rem rgba(30, 102, 255, .18);
}
.iog-form textarea.form-control { min-height: 140px; }

.alert-iog {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: .85rem 1rem;
  font-size: .92rem;
}
.alert-iog.alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.alert-iog.alert-error   { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-iog.alert-info    { background: var(--brand-light); border-color: #bfdbfe; color: var(--brand-navy); }

/* ============================================================================
   CTA BAND — full-bleed navy band with arc
   ============================================================================ */
.iog-cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-deep) 100%);
  color: var(--white);
  padding: 4rem 0;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.iog-cta-band::before {
  content: '';
  position: absolute;
  inset: -10% -5% auto -5%;
  height: 80%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 400' preserveAspectRatio='none'><path d='M -50 380 Q 500 -150 1050 380' stroke='%23FFBE00' stroke-width='5' fill='none' opacity='0.5'/></svg>");
  background-size: 100% 100%;
  z-index: -1;
}
.iog-cta-band h2 { color: var(--white); margin-bottom: .75rem; }
.iog-cta-band p  { color: rgba(255, 255, 255, .8); margin-bottom: 1.6rem; }

/* ============================================================================
   FAQ
   ============================================================================ */
.iog-faq .accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  margin-bottom: .75rem;
  overflow: hidden;
}
.iog-faq .accordion-button {
  font-weight: 700;
  color: var(--brand-navy);
  background: var(--white);
  border-radius: var(--radius) !important;
}
.iog-faq .accordion-button:not(.collapsed) {
  background: var(--brand-light);
  color: var(--brand-navy);
  box-shadow: none;
}
.iog-faq .accordion-button:focus { box-shadow: 0 0 0 .15rem rgba(30, 102, 255, .2); }
.iog-faq .accordion-body { color: var(--ink-soft); font-size: .96rem; }

/* ============================================================================
   FOOTER  — deep navy with arc
   ============================================================================ */
.iog-footer {
  position: relative;
  background: linear-gradient(180deg, var(--brand-navy) 0%, #00103A 100%);
  color: rgba(255, 255, 255, .78);
  font-family: var(--font-sans);
  font-size: .92rem;
  line-height: 1.7;
  margin-top: 0;
  overflow: hidden;
  isolation: isolate;
}
.iog-footer::before {
  content: '';
  position: absolute;
  inset: -10% -5% auto -5%;
  height: 55%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 400' preserveAspectRatio='none'><path d='M -50 380 Q 500 -120 1050 380' stroke='%23FFBE00' stroke-width='3' fill='none' opacity='0.22'/><path d='M -50 330 Q 500 -180 1050 330' stroke='%23FFBE00' stroke-width='2' fill='none' opacity='0.12'/></svg>");
  background-size: 100% 100%;
  pointer-events: none;
  z-index: -1;
}
.iog-footer a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  transition: color .15s ease;
}
.iog-footer a:hover { color: var(--brand-gold); }

.iog-footer .footer-top { padding: 4.5rem 0 2.5rem; }
.iog-footer h6 {
  color: var(--white);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .82rem;
  margin-bottom: 1.2rem;
}
.iog-footer ul.footer-links {
  list-style: none;
  padding: 0; margin: 0;
}
.iog-footer ul.footer-links li { margin-bottom: .55rem; }

.iog-footer .footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
}
.iog-footer .footer-brand-lockup img {
  height: 60px;
  width: auto;
}
.iog-footer .footer-tagline {
  color: rgba(255, 255, 255, .72);
  max-width: 320px;
  margin-bottom: 1.2rem;
}

.iog-footer .social-row {
  display: flex; gap: .55rem; flex-wrap: wrap;
}
.iog-footer .social-row a {
  width: 38px; height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--white);
  transition: background .15s ease, transform .15s ease, color .15s ease;
}
.iog-footer .social-row a:hover {
  background: var(--brand-gold);
  color: var(--brand-navy);
  transform: translateY(-2px);
}

.iog-footer .footer-trust {
  display: flex; gap: .8rem; flex-wrap: wrap;
  align-items: center; justify-content: flex-start;
}
.iog-footer .footer-trust .seal {
  background: rgba(255, 255, 255, .08);
  border-radius: 10px;
  padding: .5rem .8rem;
  font-size: .78rem;
  color: rgba(255, 255, 255, .8);
  display: inline-flex; align-items: center; gap: .4rem;
}
.iog-footer .footer-trust .seal i { color: var(--brand-gold); }

.iog-footer .footer-bottom {
  padding: 1.4rem 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .6);
  font-size: .82rem;
}

/* ============================================================================
   COOKIE CONSENT
   ============================================================================ */
/* ============================================================================
   COOKIE CONSENT BANNER + PREFERENCES MODAL
   Scoped with high specificity (.iog-cookie selector chain + !important on
   layout properties) so site-wide h2/button rules don't override the design.
   ============================================================================ */

/* ─── Banner — full-width bottom-anchored bar ─── */
.iog-cookie {
  position: fixed !important;
  bottom: 1rem !important;
  left: 1rem !important;
  right: 1rem !important;
  top: auto !important;
  z-index: 1040 !important;
  width: auto !important;
  max-width: 1320px !important;
  margin: 0 auto !important;     /* centre on ultra-wide screens */
  background: #fff !important;
  border: 1px solid #e6ebf3 !important;
  border-radius: 18px !important;
  box-shadow:
    0 30px 70px -22px rgba(1, 32, 96, .35),
    0 10px 24px -12px rgba(1, 32, 96, .14) !important;
  padding: 0 !important;
  display: none;          /* shown by JS when no choice on record */
  flex-direction: column !important;
  overflow: hidden !important;
  animation: iog-cookie-rise .35s cubic-bezier(.21, .9, .35, 1.05);
  font-family: inherit;
}
.iog-cookie.iog-cookie--open { display: flex !important; }

/* Gold accent strip across the top, mirrors auth pages */
.iog-cookie::before {
  content: "";
  display: block;
  flex-shrink: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-gold), #FFD75E, var(--brand-gold));
}

@keyframes iog-cookie-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Inner 3-column flex layout — title left, copy centre, actions right */
.iog-cookie-inner {
  display: flex !important;
  align-items: center !important;
  gap: 1.75rem !important;
  padding: 1.4rem 1.85rem !important;
  flex-wrap: nowrap !important;
}
/* If the markup doesn't have .iog-cookie-inner (legacy), fall back to direct children layout */
.iog-cookie > .iog-cookie-head,
.iog-cookie > .iog-cookie-body,
.iog-cookie > .iog-cookie-actions {
  /* legacy direct-child layout falls back to stacked */
}

/* Header column — title + shield icon */
.iog-cookie .iog-cookie-head {
  display: flex !important;
  align-items: center !important;
  gap: .75rem !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0;
  max-width: 280px;
}
.iog-cookie .iog-cookie-head-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--brand-navy);
  color: var(--brand-gold);
  border-radius: 10px;
  font-size: 1rem;
  line-height: 1;
}
.iog-cookie .iog-cookie-title {
  color: var(--brand-navy) !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  letter-spacing: -.01em !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-transform: none !important;
  font-family: inherit !important;
}

/* Vertical separator between sections (subtle) */
.iog-cookie .iog-cookie-head::after,
.iog-cookie .iog-cookie-body::after {
  content: "";
  display: none;  /* enabled in desktop media query below */
}

/* Body copy — fluid centre column */
.iog-cookie .iog-cookie-body {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding: 0 1.75rem !important;
  margin: 0 !important;
  border-left: 1px solid #eef2f8;
  border-right: 1px solid #eef2f8;
}
.iog-cookie .iog-cookie-body p {
  color: #44506a !important;
  font-size: .85rem !important;
  line-height: 1.55 !important;
  margin: 0 0 .55rem !important;
  font-family: inherit !important;
}
.iog-cookie .iog-cookie-body p:last-child { margin-bottom: 0 !important; }
.iog-cookie .iog-cookie-body strong { color: var(--brand-navy) !important; font-weight: 700 !important; }
.iog-cookie .iog-cookie-body a {
  color: var(--brand-blue) !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}
.iog-cookie .iog-cookie-body a:hover { color: var(--brand-navy) !important; }

/* Action column — three buttons side-by-side on desktop */
.iog-cookie .iog-cookie-actions {
  display: flex !important;
  align-items: center !important;
  gap: .5rem !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
.iog-cookie .iog-cookie-btn {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .4rem !important;
  padding: .65rem 1.15rem !important;
  border: 1.5px solid transparent !important;
  border-radius: 999px !important;
  font-size: .85rem !important;
  font-weight: 700 !important;
  font-family: inherit !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  cursor: pointer !important;
  transition: all .15s ease !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}
.iog-cookie .iog-cookie-btn:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

.iog-cookie .iog-cookie-btn--ghost {
  background: transparent !important;
  color: #6b7691 !important;
  border-color: transparent !important;
}
.iog-cookie .iog-cookie-btn--ghost:hover {
  background: #f3f6fd !important;
  color: var(--brand-navy) !important;
  border-color: transparent !important;
}

.iog-cookie .iog-cookie-btn--outline {
  background: #fff !important;
  color: var(--brand-navy) !important;
  border-color: #d8e0ec !important;
}
.iog-cookie .iog-cookie-btn--outline:hover {
  background: #fff !important;
  border-color: var(--brand-navy) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px -4px rgba(1, 32, 96, .25);
}
.iog-cookie .iog-cookie-btn--outline i {
  color: var(--brand-gold-deep, #B45309) !important;
  font-size: .8rem !important;
}

.iog-cookie .iog-cookie-btn--primary {
  background: var(--brand-navy) !important;
  color: #fff !important;
  border-color: var(--brand-navy) !important;
}
.iog-cookie .iog-cookie-btn--primary:hover {
  background: #02153f !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -8px rgba(1, 32, 96, .45);
}

/* ─── Preferences modal ─── */
.iog-cookie-prefs {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1060 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding: 1rem !important;
  margin: 0 !important;
}
.iog-cookie-prefs[hidden] { display: none !important; }
.iog-cookie-prefs-scrim {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(1, 32, 96, .55) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: iog-cookie-fade .25s ease-out;
}
@keyframes iog-cookie-fade { from { opacity: 0; } to { opacity: 1; } }

.iog-cookie-prefs .iog-cookie-prefs-card {
  position: relative !important;
  width: 100% !important;
  max-width: 560px !important;
  max-height: calc(100vh - 2rem);
  background: #fff !important;
  border-radius: 20px 20px 0 0 !important;
  box-shadow: 0 -20px 60px -20px rgba(1, 32, 96, .5);
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  animation: iog-cookie-slide .35s cubic-bezier(.21, .9, .35, 1.05);
  font-family: inherit;
}
.iog-cookie-prefs .iog-cookie-prefs-card::before {
  content: "";
  display: block;
  flex-shrink: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-gold), #FFD75E, var(--brand-gold));
}

@media (min-width: 576px) {
  .iog-cookie-prefs { align-items: center !important; }
  .iog-cookie-prefs .iog-cookie-prefs-card { border-radius: 20px !important; }
}
@keyframes iog-cookie-slide {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.iog-cookie-prefs .iog-cookie-prefs-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: 1.5rem 1.75rem .25rem !important;
  margin: 0 !important;
}
.iog-cookie-prefs .iog-cookie-prefs-head > div { min-width: 0; }
.iog-cookie-prefs .iog-cookie-prefs-eyebrow {
  display: inline-block !important;
  font-size: .65rem !important;
  font-weight: 800 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  color: var(--brand-gold-deep, #B45309) !important;
  padding: .2rem .65rem !important;
  background: rgba(255, 190, 0, .14) !important;
  border-radius: 999px !important;
  margin-bottom: .55rem !important;
  font-family: inherit !important;
}
.iog-cookie-prefs .iog-cookie-prefs-title {
  color: var(--brand-navy) !important;
  font-weight: 800 !important;
  font-size: 1.25rem !important;
  letter-spacing: -.015em !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: inherit !important;
  text-transform: none !important;
}
.iog-cookie-prefs .iog-cookie-prefs-close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: #f7f9fc !important;
  border: 1px solid #e6ebf3 !important;
  border-radius: 10px !important;
  color: #6b7691 !important;
  font-size: .85rem !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all .15s ease;
  padding: 0 !important;
}
.iog-cookie-prefs .iog-cookie-prefs-close:hover {
  background: var(--brand-navy) !important;
  border-color: var(--brand-navy) !important;
  color: var(--brand-gold) !important;
}
.iog-cookie-prefs .iog-cookie-prefs-intro {
  color: #56627a !important;
  font-size: .88rem !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  padding: 0 1.75rem 1.15rem !important;
  font-family: inherit !important;
}

.iog-cookie-prefs .iog-cookie-prefs-list {
  flex: 1 1 auto;
  overflow-y: auto;
  display: flex !important;
  flex-direction: column !important;
  gap: .55rem !important;
  margin: 0 !important;
  padding: 0 1.75rem 1.25rem !important;
}

.iog-cookie-prefs .iog-cookie-pref {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 1rem 1.15rem !important;
  background: #f7f9fc !important;
  border: 1.5px solid #e6ebf3 !important;
  border-radius: 14px !important;
  cursor: pointer !important;
  transition: all .15s ease;
  margin: 0 !important;
}
.iog-cookie-prefs .iog-cookie-pref:hover {
  border-color: #d0d8e6 !important;
  background: #fff !important;
}
.iog-cookie-prefs .iog-cookie-pref-info { flex: 1; min-width: 0; }
.iog-cookie-prefs .iog-cookie-pref-info strong {
  display: block !important;
  color: var(--brand-navy) !important;
  font-weight: 700 !important;
  font-size: .92rem !important;
  line-height: 1.35 !important;
  margin-bottom: 3px !important;
  font-family: inherit !important;
}
.iog-cookie-prefs .iog-cookie-pref-info span {
  display: block;
  color: #6b7691 !important;
  font-size: .8rem !important;
  line-height: 1.5 !important;
}

/* Toggle switch */
.iog-cookie-prefs .iog-cookie-pref-toggle {
  position: relative;
  flex-shrink: 0;
  display: inline-flex !important;
  align-items: center;
  width: 42px;
  height: 24px;
  background: #d0d8e6;
  border-radius: 999px;
  transition: background .18s ease;
}
.iog-cookie-prefs .iog-cookie-pref-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
  transition: transform .2s cubic-bezier(.21, .9, .35, 1.05);
}
.iog-cookie-prefs .iog-cookie-pref input:checked ~ .iog-cookie-pref-toggle {
  background: var(--brand-navy);
}
.iog-cookie-prefs .iog-cookie-pref input:checked ~ .iog-cookie-pref-toggle .iog-cookie-pref-knob {
  transform: translateX(18px);
  background: var(--brand-gold);
}
.iog-cookie-prefs .iog-cookie-pref-toggle--locked {
  background: var(--brand-navy) !important;
  cursor: not-allowed;
}
.iog-cookie-prefs .iog-cookie-pref-toggle--locked .iog-cookie-pref-knob {
  transform: translateX(18px);
  background: var(--brand-gold);
}
.iog-cookie-prefs .iog-cookie-pref-toggle--locked em {
  position: absolute;
  right: calc(100% + .55rem);
  font-style: normal;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-gold-deep, #B45309);
  white-space: nowrap;
}

/* Footer tray with action buttons */
.iog-cookie-prefs .iog-cookie-prefs-foot {
  flex-shrink: 0;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .55rem !important;
  padding: 1rem 1.75rem 1.25rem !important;
  background: #f7f9fc !important;
  border-top: 1px solid #eef2f8 !important;
  margin: 0 !important;
}
.iog-cookie-prefs .iog-cookie-prefs-foot .iog-cookie-btn { flex: 1 1 220px !important; }

/* ─── Responsive ─── */
/* Tablet and below — drop the 3-column row, stack vertically */
@media (max-width: 991.98px) {
  .iog-cookie {
    bottom: .85rem !important;
    left: .85rem !important;
    right: .85rem !important;
  }
  .iog-cookie-inner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1.1rem !important;
    padding: 1.25rem 1.4rem !important;
  }
  .iog-cookie .iog-cookie-head {
    max-width: none !important;
    width: auto !important;
  }
  .iog-cookie .iog-cookie-body {
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 1px solid #eef2f8 !important;
    border-bottom: 1px solid #eef2f8 !important;
    padding: 1rem 0 !important;
  }
  .iog-cookie .iog-cookie-actions {
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
  }
}

/* Phone — compact spacing, full-width buttons */
@media (max-width: 575.98px) {
  .iog-cookie {
    bottom: .55rem !important;
    left: .55rem !important;
    right: .55rem !important;
    border-radius: 14px !important;
  }
  .iog-cookie-inner {
    padding: 1.05rem 1.15rem !important;
    gap: .9rem !important;
  }
  .iog-cookie .iog-cookie-body {
    padding: .85rem 0 !important;
  }
  .iog-cookie .iog-cookie-body p {
    font-size: .82rem !important;
    line-height: 1.5 !important;
  }
  .iog-cookie .iog-cookie-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: .45rem !important;
  }
  .iog-cookie .iog-cookie-btn {
    width: 100% !important;
    padding: .7rem 1rem !important;
  }

  .iog-cookie-prefs .iog-cookie-prefs-head { padding: 1.25rem 1.25rem .25rem !important; }
  .iog-cookie-prefs .iog-cookie-prefs-intro { padding: 0 1.25rem 1rem !important; }
  .iog-cookie-prefs .iog-cookie-prefs-list { padding: 0 1.25rem 1rem !important; }
  .iog-cookie-prefs .iog-cookie-prefs-foot { padding: .85rem 1.25rem 1rem !important; }
  .iog-cookie-prefs .iog-cookie-pref { padding: .85rem 1rem !important; gap: .85rem !important; }
  .iog-cookie-prefs .iog-cookie-pref-toggle--locked em { display: none; }
}

/* ============================================================================
   FLOATING WHATSAPP BUBBLE
   ============================================================================ */
.iog-whatsapp-bubble {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1035;
  width: 60px; height: 60px;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 999px;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 12px 28px rgba(37, 211, 102, .45);
  transition: transform .2s ease;
}
.iog-whatsapp-bubble:hover {
  color: var(--white);
  transform: scale(1.08);
}
.iog-whatsapp-bubble::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid var(--whatsapp);
  opacity: .45;
  animation: iog-pulse 2.2s ease-out infinite;
}
@keyframes iog-pulse {
  0%   { transform: scale(1);   opacity: .55; }
  100% { transform: scale(1.6); opacity: 0;   }
}

/* ============================================================================
   RESPONSIVE TWEAKS
   ============================================================================ */
@media (max-width: 991.98px) {
  body { padding-top: 70px; }
  .iog-hero { padding: 4rem 0 5rem; }
  .iog-section { padding: 3.5rem 0; }
}
@media (max-width: 575.98px) {
  .iog-hero .hero-lead { font-size: 1rem; }
  .iog-hero .hero-stat .num { font-size: 1.6rem; }
}

/* Print */
@media print {
  .iog-navbar, .iog-footer, .iog-whatsapp-bubble, .iog-cookie { display: none !important; }
  body { padding-top: 0; }
}

/* ════════════════════════════════════════════════════════════════════
   Page header — title + subtitle (used by policy, terms, claims, etc)
   ════════════════════════════════════════════════════════════════════ */
.iog-page-title {
  color: var(--white);
  font-weight: 700;
  font-size: clamp(1.85rem, 1.4rem + 1.8vw, 2.75rem);
  letter-spacing: -.01em;
  margin-bottom: .65rem;
}
.iog-page-subtitle {
  color: rgba(255, 255, 255, .82);
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: .5rem;
}

/* ════════════════════════════════════════════════════════════════════
   Policy & Terms pages
   ════════════════════════════════════════════════════════════════════ */
.iog-policy-toc {
  position: sticky;
  top: 96px;
  padding: 1.25rem 1rem 1.25rem 1.25rem;
  background: #f7f9fc;
  border: 1px solid #e6ebf3;
  border-radius: 14px;
  border-left: 4px solid var(--brand-gold);
}
.iog-policy-toc ol li { margin-bottom: .35rem; }
.iog-policy-toc a {
  color: var(--brand-navy);
  text-decoration: none;
  transition: color .15s ease;
}
.iog-policy-toc a:hover { color: var(--brand-blue); text-decoration: underline; }

.iog-policy-body h2 {
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 1.45rem;
  margin-top: 2.25rem;
  margin-bottom: .85rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid #eef2f8;
  scroll-margin-top: 96px;
}
.iog-policy-body h2:first-of-type { margin-top: 0; }
.iog-policy-body p,
.iog-policy-body li {
  color: #2a3650;
  line-height: 1.7;
  font-size: 1rem;
}
.iog-policy-body ul { padding-left: 1.25rem; margin-bottom: 1.1rem; }
.iog-policy-body ul li { margin-bottom: .45rem; }
.iog-policy-body a {
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.iog-policy-body a:hover { color: var(--brand-navy); }

/* Cookies table */
.iog-table {
  border: 1px solid #e6ebf3;
  border-radius: 12px;
  overflow: hidden;
  margin: 1rem 0 1.75rem;
}
.iog-table thead th {
  background: var(--brand-navy);
  color: var(--white);
  font-weight: 600;
  font-size: .9rem;
  border: 0;
  padding: .85rem 1rem;
}
.iog-table tbody td {
  font-size: .94rem;
  padding: .85rem 1rem;
  vertical-align: top;
  border-color: #eef2f8;
}
.iog-table tbody tr:nth-child(odd) { background: #fafbfd; }

/* ════════════════════════════════════════════════════════════════════
   404 page
   ════════════════════════════════════════════════════════════════════ */
.iog-404-page main,
.iog-404-page { background: #fff; }

.iog-404-hero {
  padding: clamp(3rem, 4vw + 1rem, 6rem) 0 4.5rem;
  background:
    radial-gradient(ellipse at top, rgba(255, 190, 0, .08), transparent 60%),
    var(--white);
  position: relative;
  overflow: hidden;
}
.iog-404-arc {
  position: relative;
  display: inline-block;
  margin-bottom: 1.25rem;
  line-height: 1;
}
.iog-404-arc svg {
  display: block;
  width: clamp(220px, 35vw, 320px);
  height: auto;
  margin: 0 auto;
}
.iog-404-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 18%;
  font-size: clamp(3.5rem, 7vw + 1rem, 6rem);
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: -.04em;
  line-height: 1;
}
.iog-404-title {
  color: var(--brand-navy);
  font-weight: 700;
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem);
  margin-bottom: .65rem;
}
.iog-404-subtitle {
  color: #56627a;
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  line-height: 1.6;
}
.iog-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.iog-404-suggest { margin-top: 1rem; }
.iog-404-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .85rem;
  max-width: 720px;
  margin: 0 auto;
}
.iog-404-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1.1rem .75rem;
  background: #f7f9fc;
  border: 1px solid #e6ebf3;
  border-radius: 12px;
  color: var(--brand-navy);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  transition: all .18s ease;
}
.iog-404-card i {
  font-size: 1.4rem;
  color: var(--brand-blue);
  transition: color .18s ease;
}
.iog-404-card:hover {
  background: var(--white);
  border-color: var(--brand-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(1, 32, 96, .08);
  color: var(--brand-navy);
}
.iog-404-card:hover i { color: var(--brand-gold); }

@media (max-width: 575px) {
  .iog-policy-toc { position: static; }
  .iog-404-actions { flex-direction: column; }
  .iog-404-actions .btn-iog-lg { width: 100%; }
}

/* ════════════════════════════════════════════════════════════════════
   HERO SPLIT (pitch left + quote card right)
   ════════════════════════════════════════════════════════════════════ */
.iog-hero-split {
  position: relative;
  padding: clamp(5rem, 7vw + 1rem, 7.5rem) 0 clamp(3.5rem, 5vw, 5.5rem);
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(255, 190, 0, .14), transparent 60%),
    radial-gradient(900px 600px at -5% 110%, rgba(30, 102, 255, .08), transparent 55%),
    linear-gradient(180deg, #f6f8fd 0%, #ffffff 70%);
  overflow: hidden;
}
.iog-hero-split::before {
  /* faint gold arc echo of the OnGo logo */
  content: "";
  position: absolute;
  inset: auto -10% -180px -10%;
  height: 320px;
  background:
    radial-gradient(ellipse at center top, rgba(255, 190, 0, .22), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.iog-hero-copy { position: relative; z-index: 1; }
.iog-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .85rem;
  background: rgba(1, 32, 96, .07);
  border: 1px solid rgba(1, 32, 96, .12);
  color: var(--brand-navy);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
}
.iog-hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 0 0 4px rgba(255, 190, 0, .25);
}
.iog-hero-copy h1 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
  line-height: 1.08;
  color: var(--brand-navy);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 1.1rem;
}
.iog-text-gold { color: var(--brand-gold); }
.iog-hero-lead {
  color: #44506a;
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 1.75rem;
}
.iog-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 1.75rem;
}
.iog-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.6rem;
  color: #56627a;
  font-size: .9rem;
}
.iog-trust-item { display: inline-flex; align-items: center; gap: .55rem; }
.iog-trust-item i { color: var(--brand-gold); font-size: 1rem; }

/* ─────────────── Instant-quote card ─────────────── */
.iog-quote-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  box-shadow:
    0 30px 60px -20px rgba(1, 32, 96, .25),
    0 12px 30px -10px rgba(1, 32, 96, .12);
  padding: 1.75rem;
  border: 1px solid #eef2f8;
}
.iog-quote-card::before {
  /* subtle gold arc on top edge */
  content: "";
  position: absolute;
  top: -1px; left: 18px; right: 18px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
  border-radius: 3px;
}
.iog-quote-card h3 {
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 1.35rem;
  margin: 0 0 .35rem;
}
.iog-quote-sub {
  color: #6b7691;
  font-size: .92rem;
  margin: 0 0 1.25rem;
}
.iog-quote-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .4rem;
  margin-bottom: 1.1rem;
  background: #f4f6fb;
  padding: .3rem;
  border-radius: 12px;
}
.iog-quote-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  padding: .55rem .35rem;
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: #5a6680;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s ease;
}
.iog-quote-tab i { font-size: 1.1rem; }
.iog-quote-tab:hover { color: var(--brand-navy); }
.iog-quote-tab.active {
  background: #ffffff;
  color: var(--brand-navy);
  box-shadow: 0 2px 6px rgba(1, 32, 96, .08);
}
.iog-quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
  margin-bottom: .9rem;
}
.iog-form-label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: #44506a;
  margin-bottom: .35rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.iog-form-control,
.iog-form-select {
  display: block;
  width: 100%;
  padding: .7rem .85rem;
  font-size: .95rem;
  color: var(--brand-navy);
  background: #f7f9fc;
  border: 1.5px solid #e2e8f1;
  border-radius: 10px;
  outline: none;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.iog-form-control:focus,
.iog-form-select:focus {
  background: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(30, 102, 255, .15);
}
.btn-iog-block {
  width: 100%;
  justify-content: center;
  padding: .85rem 1rem;
  font-size: 1rem;
  margin-top: .5rem;
}
.iog-quote-foot {
  display: flex;
  align-items: center;
  gap: .45rem;
  justify-content: center;
  margin-top: .9rem;
  color: #8893a9;
  font-size: .78rem;
}
.iog-quote-foot i { color: var(--brand-gold); }

/* ════════════════════════════════════════════════════════════════════
   SLIM PARTNER STRIP
   ════════════════════════════════════════════════════════════════════ */
.iog-partner-slim {
  background: #ffffff;
  padding: 2rem 0;
  border-top: 1px solid #eef2f8;
  border-bottom: 1px solid #eef2f8;
}
.iog-partner-slim-label {
  text-align: center;
  color: #8893a9;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.iog-partner-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .65rem 1rem;
}
.iog-partner-pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .85rem .45rem .45rem;
  background: #f7f9fc;
  border: 1px solid #e6ebf3;
  border-radius: 999px;
  color: var(--brand-navy);
  font-size: .85rem;
  font-weight: 600;
}
.iog-partner-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  background: var(--brand-navy);
  color: #fff;
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 700;
}

/* ════════════════════════════════════════════════════════════════════
   COMPACT PRODUCT CARDS (10 categories with pastel tints)
   ════════════════════════════════════════════════════════════════════ */
.iog-section {
  padding: clamp(3rem, 5vw, 5rem) 0;
}
.iog-section--tinted { background: #f7f9fd; }
.iog-section--cream  { background: #fffaf0; }

.iog-section-head { max-width: 720px; margin: 0 auto 2.5rem; }
.iog-section-head h2 {
  font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.35rem);
  color: var(--brand-navy);
  font-weight: 800;
  letter-spacing: -.01em;
  margin: .25rem 0 .55rem;
}
.iog-section-head p { color: #56627a; font-size: 1.02rem; line-height: 1.6; margin: 0; }

.iog-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: .5rem;
}
.iog-eyebrow--on-dark { color: var(--brand-gold); }

.iog-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}
.iog-pcard {
  position: relative;
  background: #ffffff;
  border: 1px solid #e6ebf3;
  border-radius: 16px;
  padding: 1.4rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  transition: all .2s ease;
  overflow: hidden;
}
.iog-pcard::after {
  /* hover accent bar (uses per-category tint) */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--accent-tint, transparent);
  opacity: 0;
  transition: opacity .2s ease;
}
.iog-pcard:hover {
  border-color: #d8e0ec;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -10px rgba(1, 32, 96, .15);
}
.iog-pcard:hover::after { opacity: 1; }

.iog-pcard-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--icon-bg, #E8F0FF);
  color: var(--icon-color, #1E66FF);
  margin-bottom: .3rem;
}
.iog-pcard-icon svg { width: 24px; height: 24px; }

.iog-pcard h3 {
  color: var(--brand-navy);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -.01em;
}
.iog-pcard p {
  color: #6b7691;
  font-size: .92rem;
  line-height: 1.55;
  margin: 0;
  flex-grow: 1;
}
.iog-pcard-cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .65rem;
  color: var(--brand-navy);
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  transition: gap .15s ease, color .15s ease;
}
.iog-pcard-cta:hover {
  gap: .65rem;
  color: var(--brand-blue);
}

/* Category tints — pastel icon bg + matching brand-color icon */
.iog-pcard--motor   { --icon-bg: #E8F0FF; --icon-color: #1E66FF; --accent-tint: rgba(30,102,255,.45); }
.iog-pcard--health  { --icon-bg: #FCE7F3; --icon-color: #BE185D; --accent-tint: rgba(190,24,93,.45); }
.iog-pcard--travel  { --icon-bg: #FEF3C7; --icon-color: #B45309; --accent-tint: rgba(180,83,9,.45); }
.iog-pcard--home    { --icon-bg: #DCFCE7; --icon-color: #15803D; --accent-tint: rgba(21,128,61,.45); }
.iog-pcard--marine  { --icon-bg: #DBEAFE; --icon-color: #1E40AF; --accent-tint: rgba(30,64,175,.45); }
.iog-pcard--liab    { --icon-bg: #EDE9FE; --icon-color: #5B21B6; --accent-tint: rgba(91,33,182,.45); }
.iog-pcard--nysc    { --icon-bg: #FED7AA; --icon-color: #9A3412; --accent-tint: rgba(154,52,18,.45); }
.iog-pcard--invest  { --icon-bg: #CFFAFE; --icon-color: #0E7490; --accent-tint: rgba(14,116,144,.45); }
.iog-pcard--annuity { --icon-bg: #FEF3C7; --icon-color: #92400E; --accent-tint: rgba(146,64,14,.45); }
.iog-pcard--takaful { --icon-bg: #D1FAE5; --icon-color: #047857; --accent-tint: rgba(4,120,87,.45); }

/* ════════════════════════════════════════════════════════════════════
   WURA · CHATSURE
   ════════════════════════════════════════════════════════════════════ */
.iog-wura {
  position: relative;
  padding: clamp(3.5rem, 5vw + 1rem, 6rem) 0;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(255, 190, 0, .12), transparent 60%),
    radial-gradient(700px 400px at -5% 110%, rgba(30, 102, 255, .14), transparent 55%),
    linear-gradient(135deg, #051633 0%, var(--brand-navy) 60%, #02153f 100%);
  color: #ffffff;
  overflow: hidden;
}
.iog-wura::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
  opacity: .6;
}
.iog-wura-title {
  font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.015em;
  margin: .3rem 0 1rem;
  color: #ffffff;
}
.iog-wura-lead {
  color: rgba(255, 255, 255, .8);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 1.75rem;
}
.iog-wura-lead strong { color: var(--brand-gold); font-weight: 700; }

.iog-wura-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.iog-wura-feat {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}
.iog-wura-feat-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 190, 0, .14);
  color: var(--brand-gold);
}
.iog-wura-feat-icon svg { width: 20px; height: 20px; }
.iog-wura-feat strong {
  display: block;
  color: #ffffff;
  font-weight: 700;
  font-size: .98rem;
}
.iog-wura-feat span {
  display: block;
  color: rgba(255, 255, 255, .65);
  font-size: .85rem;
  margin-top: 1px;
}

.iog-wura-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}
.btn-iog-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .75rem 1.4rem;
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, .3);
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s ease;
}
.btn-iog-ghost-light:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}

/* ─────────────── Phone mock ─────────────── */
.iog-phone {
  position: relative;
  max-width: 340px;
  margin: 0 auto;
  background: #1a2238;
  border-radius: 32px;
  padding: 12px;
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, .55),
    0 18px 36px -12px rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .08);
}
.iog-phone::before {
  /* notch */
  content: "";
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 22px;
  background: #1a2238;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.iog-phone-screen {
  background: #e5ddd5;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 520px;
}
.iog-phone-head {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: 2.5rem 1rem 1rem;
  background: #075e54;
  color: #fff;
}
.iog-phone-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--brand-gold);
  color: var(--brand-navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}
.iog-phone-headinfo { flex-grow: 1; line-height: 1.15; }
.iog-phone-headinfo strong { display: block; font-size: .92rem; }
.iog-phone-headinfo span { font-size: .73rem; opacity: .8; }
.iog-phone-head i { opacity: .75; }

.iog-phone-body {
  flex-grow: 1;
  padding: 1rem .75rem;
  background:
    repeating-linear-gradient(45deg, rgba(0, 0, 0, .015) 0 2px, transparent 2px 6px),
    #e5ddd5;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.iog-chat {
  position: relative;
  max-width: 78%;
  padding: .55rem .75rem .8rem;
  border-radius: 12px;
  font-size: .82rem;
  line-height: 1.45;
  color: #111b21;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .07);
}
.iog-chat.out {
  align-self: flex-end;
  background: #d9fdd3;
  border-bottom-right-radius: 4px;
}
.iog-chat.in {
  align-self: flex-start;
  background: #ffffff;
  border-bottom-left-radius: 4px;
}
.iog-chat.bot::before {
  content: "Wura · AI";
  display: block;
  font-size: .65rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 2px;
  letter-spacing: .03em;
}
.iog-chat-time {
  position: absolute;
  right: 8px; bottom: 4px;
  font-size: .62rem;
  color: #667781;
}
.iog-chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: 0 0 .15rem auto;
  justify-content: flex-end;
}
.iog-chat-quick button {
  padding: .3rem .65rem;
  background: rgba(255, 255, 255, .9);
  border: 1px solid #d0d4d8;
  border-radius: 999px;
  font-size: .73rem;
  font-weight: 600;
  color: var(--brand-navy);
  cursor: pointer;
}
.iog-chat-quick button:hover { background: #fff; }

/* ════════════════════════════════════════════════════════════════════
   MOBILE TWEAKS
   ════════════════════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .iog-hero-split { padding-top: clamp(3rem, 5vw + 1rem, 4.5rem); }
  .iog-hero-copy { text-align: center; }
  .iog-hero-copy h1 { margin-left: auto; margin-right: auto; }
  .iog-hero-lead   { margin-left: auto; margin-right: auto; }
  .iog-hero-cta    { justify-content: center; }
  .iog-hero-trust  { justify-content: center; }
}
@media (max-width: 575.98px) {
  .iog-quote-card { padding: 1.25rem; }
  .iog-quote-tabs { grid-template-columns: repeat(4, 1fr); }
  .iog-quote-tab  { font-size: .7rem; padding: .45rem .25rem; }
  .iog-quote-grid { grid-template-columns: 1fr; }
  .iog-wura-features { grid-template-columns: 1fr; }
  .iog-product-grid { grid-template-columns: 1fr 1fr; gap: .85rem; }
  .iog-pcard { padding: 1.1rem 1rem; }
  .iog-pcard-icon { width: 42px; height: 42px; border-radius: 10px; }
  .iog-pcard-icon svg { width: 20px; height: 20px; }
  .iog-pcard h3 { font-size: .98rem; }
  .iog-pcard p  { font-size: .82rem; }
  .iog-pcard-cta { font-size: .85rem; }
  .iog-phone { max-width: 290px; }
}

/* Catalogue-page extras: little category tag + price line on compact card */
.iog-pcard-cat {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--icon-color, var(--brand-blue));
  background: var(--icon-bg, #E8F0FF);
  padding: .2rem .55rem;
  border-radius: 999px;
  align-self: flex-start;
  margin-top: -.2rem;
}
.iog-pcard-price {
  font-size: .82rem;
  font-weight: 600;
  color: var(--brand-navy);
  padding: .55rem .75rem;
  background: #f7f9fc;
  border-radius: 8px;
  margin-top: .4rem;
}
/* When iog-pcard is used for products.php catalogue with FA icon */
.iog-pcard-icon .fas, .iog-pcard-icon .fa-brands { font-size: 1.25rem; line-height: 1; }

/* ════════════════════════════════════════════════════════════════════
   HELP CENTRE
   ════════════════════════════════════════════════════════════════════ */
.iog-help-hero {
  position: relative;
  padding: clamp(3.5rem, 5vw + 1rem, 6rem) 0 clamp(3rem, 4vw, 4.5rem);
  background:
    radial-gradient(900px 500px at 50% -20%, rgba(255, 190, 0, .18), transparent 60%),
    linear-gradient(135deg, #051633 0%, var(--brand-navy) 60%, #02153f 100%);
  color: #ffffff;
  overflow: hidden;
}
.iog-help-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 5%, var(--brand-gold) 30%, var(--brand-gold) 70%, transparent 95%);
}
.iog-help-hero .container { position: relative; z-index: 1; }
.iog-help-hero h1 {
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.85rem, 1.3rem + 2vw, 2.85rem);
  letter-spacing: -.02em;
  margin: 0 0 .85rem;
}
.iog-help-hero-lead {
  color: rgba(255, 255, 255, .82);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 620px;
  margin: 0 auto 2rem;
}

/* Search box */
.iog-help-search {
  position: relative;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .35);
  padding: .35rem .35rem .35rem 1.1rem;
}
.iog-help-search > i {
  color: #8893a9;
  font-size: 1rem;
  margin-right: .65rem;
}
.iog-help-search input {
  flex-grow: 1;
  border: 0;
  outline: 0;
  padding: .85rem .5rem;
  font-size: 1rem;
  background: transparent;
  color: var(--brand-navy);
}
.iog-help-search input::placeholder { color: #8893a9; }
.iog-help-search .btn-iog-primary {
  padding: .7rem 1.25rem;
  font-size: .92rem;
  border-radius: 10px;
}

/* Shortcut cards under search */
.iog-help-shortcuts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .85rem;
  max-width: 760px;
  margin: 0 auto;
}
.iog-help-shortcut {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  transition: all .18s ease;
}
.iog-help-shortcut:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 190, 0, .4);
  color: #fff;
  transform: translateY(-2px);
}
.iog-help-shortcut > i {
  font-size: 1.5rem;
  color: var(--brand-gold);
  flex-shrink: 0;
}
.iog-help-shortcut strong {
  display: block;
  font-size: .95rem;
  color: #fff;
  margin-bottom: 1px;
}
.iog-help-shortcut span {
  display: block;
  color: rgba(255, 255, 255, .65);
  font-size: .8rem;
}

/* Topic cards extras (article count meta line) */
.iog-pcard-meta {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .8rem;
  color: #8893a9;
  margin-top: .35rem;
}

/* Help-page contact card */
.iog-help-contact-card {
  background: #f7f9fc;
  border: 1px solid #e6ebf3;
  border-left: 4px solid var(--brand-gold);
  border-radius: 14px;
  padding: 1.5rem 1.4rem;
}
.iog-help-contact-card h5 {
  color: var(--brand-navy);
  font-weight: 700;
  margin: 0 0 .65rem;
  font-size: 1.05rem;
}

/* ════════════════════════════════════════════════════════════════════
   CAREERS
   ════════════════════════════════════════════════════════════════════ */
.iog-careers-pillar,
.iog-careers-benefit {
  background: #ffffff;
  border: 1px solid var(--brand-border, #e6ebf3);
  border-radius: 14px;
  padding: 1.5rem 1.35rem;
  height: 100%;
  transition: all .2s ease;
}
.iog-careers-pillar:hover,
.iog-careers-benefit:hover {
  border-color: #d8e0ec;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -10px rgba(1, 32, 96, .15);
}
.iog-careers-pillar-icon,
.iog-careers-benefit-icon {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 190, 0, .15);
  color: var(--brand-gold-2, #E6A800);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.iog-careers-benefit-icon {
  background: rgba(30, 102, 255, .12);
  color: var(--brand-blue);
}
.iog-careers-pillar h5,
.iog-careers-benefit h5 {
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 1.02rem;
  margin: 0 0 .5rem;
  letter-spacing: -.005em;
}
.iog-careers-pillar p,
.iog-careers-benefit p {
  color: #56627a;
  font-size: .92rem;
  line-height: 1.55;
  margin: 0;
}

/* ───── Roles list ───── */
.iog-roles-list { max-width: 920px; margin: 0 auto; }

.iog-roles-team { margin-bottom: 2.5rem; }
.iog-roles-team:last-child { margin-bottom: 0; }

.iog-roles-team-head {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-gold-2, #E6A800);
  padding-bottom: .55rem;
  border-bottom: 2px solid #eef2f8;
  margin-bottom: 1rem;
}

.iog-role {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.4rem;
  background: #ffffff;
  border: 1px solid var(--brand-border, #e6ebf3);
  border-radius: 12px;
  margin-bottom: .75rem;
  text-decoration: none;
  color: inherit;
  transition: all .18s ease;
}
.iog-role:hover {
  border-color: var(--brand-gold);
  transform: translateX(3px);
  box-shadow: 0 8px 20px rgba(1, 32, 96, .08);
  color: inherit;
}
.iog-role-main { flex-grow: 1; min-width: 0; }
.iog-role-main h4 {
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 1.08rem;
  margin: 0 0 .35rem;
}
.iog-role-main p {
  color: #56627a;
  font-size: .92rem;
  line-height: 1.55;
  margin: 0 0 .65rem;
}
.iog-role-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
  color: #6b7691;
}
.iog-role-meta i { color: var(--brand-gold-2, #E6A800); margin-right: .25rem; }
.iog-role-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .55rem .95rem;
  background: var(--brand-navy);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: .88rem;
  transition: background .15s ease;
}
.iog-role:hover .iog-role-cta {
  background: var(--brand-blue);
}

.iog-roles-general {
  margin-top: 2.5rem;
  padding: 1.6rem 1.5rem;
  background: #f7f9fc;
  border: 1px dashed #d0d8e6;
  border-radius: 14px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.iog-roles-general h5 {
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 .5rem;
}
.iog-roles-general p {
  color: #56627a;
  font-size: .94rem;
  line-height: 1.55;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ───── Mobile tweaks for roles ───── */
@media (max-width: 575.98px) {
  .iog-role {
    flex-direction: column;
    align-items: flex-start;
    gap: .85rem;
    padding: 1.1rem;
  }
  .iog-role-cta { align-self: stretch; justify-content: center; }
  .iog-help-search { padding: .3rem; }
  .iog-help-search input { padding: .7rem .35rem; font-size: .92rem; }
  .iog-help-search .btn-iog-primary { padding: .6rem .85rem; font-size: .85rem; }
}

/* ════════════════════════════════════════════════════════════════════
   CAREERS — Open Roles board (filter + search + list)
   ════════════════════════════════════════════════════════════════════ */
.iog-roles-board {
  max-width: 1040px;
  margin: 0 auto;
}

/* ─── Filter bar ─── */
.iog-roles-filter {
  display: grid;
  grid-template-columns: 280px 1fr 220px;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem;
  background: #ffffff;
  border: 1px solid #e6ebf3;
  border-radius: 16px;
  box-shadow: 0 4px 18px -8px rgba(1, 32, 96, .08);
  margin-bottom: 1.25rem;
}

.iog-roles-search {
  position: relative;
  display: flex;
  align-items: center;
  background: #f7f9fc;
  border: 1.5px solid #e6ebf3;
  border-radius: 10px;
  padding: 0 .85rem;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.iog-roles-search:focus-within {
  background: #fff;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(30, 102, 255, .14);
}
.iog-roles-search > i {
  color: #8893a9;
  font-size: .92rem;
  margin-right: .55rem;
}
.iog-roles-search input {
  flex-grow: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: .7rem 0;
  font-size: .95rem;
  color: var(--brand-navy);
  min-width: 0;
}
.iog-roles-search input::placeholder { color: #8893a9; }

.iog-roles-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  justify-content: center;
}
.iog-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .85rem;
  background: transparent;
  border: 1.5px solid #e6ebf3;
  border-radius: 999px;
  color: #56627a;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
}
.iog-chip:hover {
  border-color: var(--brand-navy);
  color: var(--brand-navy);
}
.iog-chip.active {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #fff;
}
.iog-chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  padding: .05rem .4rem;
  background: rgba(1, 32, 96, .08);
  color: var(--brand-navy);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
}
.iog-chip.active .iog-chip-count {
  background: rgba(255, 190, 0, .25);
  color: var(--brand-gold);
}

.iog-roles-location .iog-form-select {
  padding: .65rem .85rem;
  font-size: .9rem;
  background: #f7f9fc;
}

/* ─── Result count line ─── */
.iog-roles-count {
  font-size: .88rem;
  color: #6b7691;
  padding: 0 .25rem 1rem;
}
.iog-roles-count strong { color: var(--brand-navy); }

/* ─── The list itself ─── */
.iog-roles-board-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.iog-board-row {
  background: #fff;
  border: 1px solid #e6ebf3;
  border-radius: 14px;
  transition: all .18s ease;
  overflow: hidden;
  position: relative;
}
.iog-board-row::before {
  /* Left accent bar reveals on hover */
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 4px;
  background: var(--brand-gold);
  opacity: 0;
  transform: scaleY(0);
  transform-origin: center;
  transition: all .2s ease;
}
.iog-board-row:hover {
  border-color: #d8e0ec;
  box-shadow: 0 12px 28px -12px rgba(1, 32, 96, .15);
  transform: translateY(-1px);
}
.iog-board-row:hover::before { opacity: 1; transform: scaleY(1); }

.iog-board-row-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.35rem 1.5rem 1.35rem 1.65rem;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.iog-board-row-trigger:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: -2px;
  border-radius: 14px;
}

.iog-board-row-main { flex: 1; min-width: 0; }
.iog-board-row-title {
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -.005em;
  margin: 0 0 .3rem;
}
.iog-board-row-short {
  color: #56627a;
  font-size: .92rem;
  line-height: 1.55;
  margin: 0 0 .65rem;
  /* Clamp to two lines on desktop, one on mobile via media query */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.iog-board-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .9rem;
  font-size: .82rem;
  color: #6b7691;
}
.iog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
}
.iog-meta-item i { color: #8893a9; font-size: .78rem; }
.iog-meta-item--posted i { color: var(--brand-gold); font-size: .55rem; }

/* ─── Team-coloured chip (also used inside modal head) ─── */
.iog-team-chip {
  display: inline-flex;
  align-items: center;
  padding: .25rem .65rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.iog-team-chip--eng      { background: rgba(30, 102, 255, .12);  color: #1453d9; }
.iog-team-chip--design   { background: rgba(91, 33, 182, .12);   color: #5B21B6; }
.iog-team-chip--ops      { background: rgba(180, 83, 9, .12);    color: #B45309; }
.iog-team-chip--partners { background: rgba(21, 128, 61, .12);   color: #15803D; }
.iog-team-chip--growth   { background: rgba(190, 24, 93, .12);   color: #BE185D; }
.iog-team-chip--support  { background: rgba(14, 116, 144, .12);  color: #0E7490; }

/* ─── Row CTA on the right ─── */
.iog-board-row-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1rem;
  background: transparent;
  color: var(--brand-navy);
  border: 1.5px solid #e6ebf3;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  transition: all .18s ease;
}
.iog-board-row:hover .iog-board-row-cta {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #fff;
  padding-right: 1.15rem;
}
.iog-board-row-cta i { transition: transform .18s ease; font-size: .75rem; }
.iog-board-row:hover .iog-board-row-cta i { transform: translateX(2px); }

/* ─── Empty state ─── */
.iog-roles-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #fafbfd;
  border: 1px dashed #d0d8e6;
  border-radius: 14px;
}
.iog-roles-empty-icon {
  width: 56px; height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f0f3f9;
  color: #8893a9;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.iog-roles-empty h4 {
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 .5rem;
}
.iog-roles-empty p {
  color: #56627a;
  margin: 0;
  max-width: 460px;
  margin-inline: auto;
}

/* ════════════════════════════════════════════════════════════════════
   Role detail modal
   ════════════════════════════════════════════════════════════════════ */
.iog-role-modal .modal-content {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 50px 100px -20px rgba(1, 32, 96, .35);
}
.iog-role-modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 5;
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(1, 32, 96, .06);
  color: var(--brand-navy);
  border: 0;
  font-size: 1rem;
  cursor: pointer;
  transition: all .15s ease;
}
.iog-role-modal-close:hover {
  background: var(--brand-navy);
  color: #fff;
  transform: rotate(90deg);
}

.iog-role-modal .modal-body {
  padding: 0;
  max-height: 80vh;
}

.iog-role-detail-head {
  padding: 2rem 2.25rem 1.5rem;
  background:
    radial-gradient(600px 240px at 95% -20%, rgba(255, 190, 0, .14), transparent 60%),
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  border-bottom: 1px solid #eef2f8;
}
.iog-role-detail-head .iog-team-chip { margin-bottom: .9rem; }
.iog-role-detail-title {
  color: var(--brand-navy);
  font-weight: 800;
  font-size: clamp(1.3rem, 1rem + 1.2vw, 1.7rem);
  letter-spacing: -.015em;
  margin: 0 0 .85rem;
}
.iog-role-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1.25rem;
  font-size: .88rem;
  color: #56627a;
}
.iog-role-detail-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.iog-role-detail-meta i {
  color: var(--brand-gold-2, #E6A800);
  font-size: .78rem;
}

.iog-role-detail-body {
  padding: 1.75rem 2.25rem;
}
.iog-role-detail-body h4 {
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
  margin: 1.5rem 0 .6rem;
  padding-bottom: .35rem;
  border-bottom: 2px solid #eef2f8;
}
.iog-role-detail-body h4:first-child { margin-top: 0; }
.iog-role-detail-body p,
.iog-role-detail-body li {
  color: #2a3650;
  font-size: .95rem;
  line-height: 1.65;
}
.iog-role-detail-body p { margin: 0 0 1rem; }
.iog-role-detail-body ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}
.iog-role-detail-body ul li { margin-bottom: .4rem; }
.iog-role-detail-body a { color: var(--brand-blue); text-decoration: underline; text-underline-offset: 3px; }

.iog-role-detail-apply {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  padding: 1rem 2.25rem;
  background: #ffffff;
  border-top: 1px solid #eef2f8;
  box-shadow: 0 -8px 24px -10px rgba(1, 32, 96, .08);
}
.iog-role-detail-apply .btn-iog-primary { flex: 1 1 auto; justify-content: center; }

/* ════════════════════════════════════════════════════════════════════
   Hiring process — vertical timeline (desktop horizontal on wide screens)
   ════════════════════════════════════════════════════════════════════ */
.iog-process-timeline {
  list-style: none;
  padding: 0;
  margin: 2rem auto 0;
  max-width: 880px;
  position: relative;
  counter-reset: process;
}
/* Vertical connector line behind the markers */
.iog-process-timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 28px;
  width: 2px;
  background: repeating-linear-gradient(
    180deg,
    var(--brand-gold) 0 6px,
    transparent 6px 12px
  );
  opacity: .55;
}

.iog-process-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.4rem;
  padding: 1.1rem 0 1.6rem;
}
.iog-process-step:last-child { padding-bottom: 0; }

.iog-process-step-marker {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--brand-gold);
  box-shadow: 0 0 0 4px #fffaf0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
.iog-process-step-num {
  position: absolute;
  top: -10px;
  right: -10px;
  min-width: 26px;
  padding: 2px 7px;
  background: var(--brand-navy);
  color: var(--brand-gold);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  border-radius: 999px;
  border: 2px solid #fffaf0;
}
.iog-process-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-navy);
  font-size: 1.25rem;
}

.iog-process-step-body {
  background: #fff;
  border: 1px solid #e6ebf3;
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  transition: all .18s ease;
}
.iog-process-step:hover .iog-process-step-body {
  border-color: var(--brand-gold);
  box-shadow: 0 8px 20px -8px rgba(255, 190, 0, .25);
  transform: translateX(2px);
}
.iog-process-step-body h5 {
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 1.02rem;
  margin: 0 0 .35rem;
}
.iog-process-step-body p {
  color: #56627a;
  font-size: .92rem;
  line-height: 1.55;
  margin: 0;
}

/* ════════════════════════════════════════════════════════════════════
   Responsive
   ════════════════════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .iog-roles-filter {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "search   location"
      "chips    chips";
  }
  .iog-roles-search   { grid-area: search; }
  .iog-roles-location { grid-area: location; }
  .iog-roles-chips    { grid-area: chips; justify-content: flex-start; }
}
@media (max-width: 767.98px) {
  .iog-roles-filter {
    grid-template-columns: 1fr;
    grid-template-areas:
      "search"
      "location"
      "chips";
    padding: .85rem;
  }
  .iog-roles-chips { justify-content: flex-start; }

  .iog-board-row-trigger {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.15rem 1.15rem 1.15rem 1.3rem;
  }
  .iog-board-row-cta {
    align-self: stretch;
    justify-content: center;
    padding: .65rem 1rem;
  }
  .iog-board-row-short {
    -webkit-line-clamp: 3;
  }

  .iog-role-detail-head { padding: 1.5rem 1.35rem 1.15rem; }
  .iog-role-detail-body { padding: 1.35rem; }
  .iog-role-detail-apply { padding: .85rem 1.35rem; }
  .iog-role-detail-apply .btn-iog-primary,
  .iog-role-detail-apply .btn-iog-outline { width: 100%; justify-content: center; }
}
@media (max-width: 575.98px) {
  .iog-chip { font-size: .8rem; padding: .4rem .7rem; }
  .iog-chip-count { font-size: .68rem; min-width: 1.3rem; }
}

/* ════════════════════════════════════════════════════════════════════
   LEADERSHIP PAGES (Board + Management)
   ════════════════════════════════════════════════════════════════════ */

/* Hero stats — also reused on management page */
.iog-leadership-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
  max-width: 920px;
}
.iog-leadership-stat {
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 190, 0, .25);
  border-left: 3px solid var(--brand-gold);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}
.iog-leadership-stat .num {
  color: var(--brand-gold);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.01em;
  margin-bottom: .4rem;
}
.iog-leadership-stat .lbl {
  color: rgba(255, 255, 255, .85);
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.35;
}

/* Department block on management page */
.iog-team-dept { margin-bottom: 3.5rem; }
.iog-team-dept:last-child { margin-bottom: 0; }
.iog-team-dept-head {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-navy);
  padding-bottom: .75rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #eef2f8;
  position: relative;
}
.iog-team-dept-head::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--brand-gold);
}
.iog-team-dept-head small {
  font-size: .76rem;
  font-weight: 600;
  color: #8893a9;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ─── People grid (3-up on desktop) ─── */
.iog-people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.iog-person {
  background: #fff;
  border: 1px solid #e6ebf3;
  border-radius: 16px;
  overflow: hidden;
  transition: all .22s ease;
  position: relative;
}
.iog-person::after {
  /* Gold corner accent — slides on hover */
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-top: 56px solid var(--brand-gold);
  border-left: 56px solid transparent;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.iog-person:hover {
  border-color: #d8e0ec;
  box-shadow: 0 20px 40px -18px rgba(1, 32, 96, .25);
  transform: translateY(-4px);
}
.iog-person:hover::after { opacity: 1; }

/* The chairman card gets a gold edge */
.iog-person--chairman {
  border-color: var(--brand-gold);
  box-shadow: 0 12px 28px -10px rgba(255, 190, 0, .25);
}
.iog-person--chairman::before {
  content: "Chairman";
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: .25rem .65rem;
  background: var(--brand-navy);
  color: var(--brand-gold);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
}

.iog-person-trigger {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
.iog-person-trigger:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: -3px;
  border-radius: 16px;
}

/* Portrait */
.iog-person-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 50% 30%, #142a5a 0%, var(--brand-navy) 60%, #02153f 100%);
  overflow: hidden;
}
.iog-person-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: saturate(.95) contrast(1.02);
  transition: transform .35s ease, filter .25s ease;
}
.iog-person:hover .iog-person-portrait img {
  transform: scale(1.04);
  filter: saturate(1) contrast(1.05);
}

/* Body */
.iog-person-body {
  padding: 1.25rem 1.35rem 1.35rem;
}
.iog-person-name {
  color: var(--brand-navy);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -.005em;
  margin: 0 0 .25rem;
  line-height: 1.3;
}
.iog-person-title {
  color: var(--brand-blue);
  font-size: .9rem;
  font-weight: 600;
  margin: 0 0 .15rem;
  line-height: 1.4;
}
.iog-person-creds {
  color: #8893a9;
  font-size: .8rem;
  font-weight: 500;
  margin: 0 0 .65rem;
  letter-spacing: .015em;
}
.iog-person-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin: .65rem 0;
}
.iog-person-tag {
  display: inline-block;
  padding: .18rem .55rem;
  background: #f3f6fd;
  color: #44506a;
  border: 1px solid #e6ebf3;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 600;
}
.iog-person-more {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  margin-top: .75rem;
  color: var(--brand-navy);
  font-size: .85rem;
  font-weight: 700;
  transition: gap .15s ease, color .15s ease;
}
.iog-person-more i { font-size: .75rem; transition: transform .15s ease; }
.iog-person:hover .iog-person-more {
  color: var(--brand-blue);
  gap: .45rem;
}
.iog-person:hover .iog-person-more i { transform: translateX(2px); }

/* ════════════════════════════════════════════════════════════════════
   GOVERNANCE / CULTURE BAND HELPERS (shared between board + management)
   ════════════════════════════════════════════════════════════════════ */
.iog-governance-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}
.iog-governance-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .55rem 0;
  color: #2a3650;
  font-size: .96rem;
  line-height: 1.55;
}
.iog-governance-list li i {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 190, 0, .15);
  color: var(--brand-gold-2, #E6A800);
  font-size: .85rem;
}

.iog-governance-card {
  background: #fff;
  border: 1px solid #e6ebf3;
  border-radius: 16px;
  padding: 1.75rem 1.6rem;
  border-left: 4px solid var(--brand-gold);
}
.iog-governance-card h5 {
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 .65rem;
}
.iog-governance-card p {
  color: #56627a;
  font-size: .95rem;
  line-height: 1.6;
  margin: 0;
}

/* ════════════════════════════════════════════════════════════════════
   PERSON DETAIL MODAL EXTRAS (extends .iog-role-modal patterns)
   ════════════════════════════════════════════════════════════════════ */
.iog-person-modal .iog-person-detail-head {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem 2.25rem 1.5rem;
  background:
    radial-gradient(600px 240px at 100% -20%, rgba(255, 190, 0, .14), transparent 60%),
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  border-bottom: 1px solid #eef2f8;
}
.iog-person-detail-portrait {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--brand-navy);
  border: 3px solid var(--white);
  box-shadow: 0 8px 20px -6px rgba(1, 32, 96, .25);
}
.iog-person-detail-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.iog-person-detail-meta { flex-grow: 1; min-width: 0; }
.iog-person-detail-meta h3 {
  color: var(--brand-navy);
  font-weight: 800;
  font-size: clamp(1.3rem, 1rem + 1.2vw, 1.7rem);
  letter-spacing: -.015em;
  margin: 0 0 .25rem;
}
.iog-person-detail-title {
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 .35rem;
}
.iog-person-detail-dept {
  color: #6b7691;
  font-size: .85rem;
  font-weight: 500;
  margin: 0 0 .65rem;
}
.iog-person-detail-dept i { color: var(--brand-gold-2, #E6A800); }

.iog-person-modal .iog-person-detail-body {
  padding: 1.75rem 2.25rem 2rem;
}
.iog-person-modal .iog-person-detail-body h4 {
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
  margin: 1.5rem 0 .6rem;
  padding-bottom: .35rem;
  border-bottom: 2px solid #eef2f8;
}
.iog-person-modal .iog-person-detail-body h4:first-child { margin-top: 0; }
.iog-person-modal .iog-person-detail-body p,
.iog-person-modal .iog-person-detail-body li {
  color: #2a3650;
  font-size: .95rem;
  line-height: 1.7;
}
.iog-person-modal .iog-person-detail-body ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}
.iog-person-modal .iog-person-detail-body ul li { margin-bottom: .4rem; }

/* Career timeline inside person modal */
.iog-person-timeline {
  border-left: 2px dashed rgba(255, 190, 0, .55);
  padding-left: 1.25rem;
  margin: 1rem 0 1.25rem .3rem;
}
.iog-person-timeline-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding: .55rem 0;
  position: relative;
}
.iog-person-timeline-row::before {
  content: "";
  position: absolute;
  left: -1.35rem;
  top: 1rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-gold);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--brand-gold);
}
.iog-person-timeline-years {
  font-weight: 700;
  color: var(--brand-navy);
  font-size: .88rem;
  white-space: nowrap;
}
.iog-person-timeline-role {
  color: #2a3650;
  font-size: .92rem;
  line-height: 1.55;
}

/* ════════════════════════════════════════════════════════════════════
   Responsive
   ════════════════════════════════════════════════════════════════════ */
@media (max-width: 767.98px) {
  .iog-people-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .iog-person-portrait { aspect-ratio: 1 / 1; }
  .iog-person-body { padding: 1rem .95rem 1.1rem; }
  .iog-person-name { font-size: .98rem; }
  .iog-person-title { font-size: .82rem; }
  .iog-person-creds { font-size: .74rem; }
  .iog-person-tag { font-size: .65rem; }
  .iog-person-more { font-size: .78rem; }

  .iog-person-modal .iog-person-detail-head {
    flex-direction: column;
    padding: 1.5rem 1.35rem 1.15rem;
    text-align: center;
  }
  .iog-person-detail-portrait {
    margin: 0 auto;
    width: 96px; height: 96px;
  }
  .iog-person-detail-meta .iog-person-tags { justify-content: center; }
  .iog-person-modal .iog-person-detail-body { padding: 1.35rem; }

  .iog-person-timeline-row {
    grid-template-columns: 1fr;
    gap: .15rem;
  }
  .iog-person-timeline-years { font-size: .8rem; }
}
@media (max-width: 575.98px) {
  .iog-people-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════════
   BLOG
   ════════════════════════════════════════════════════════════════════ */

/* Category colour tokens (apply to .iog-blog-card--{cls}, .iog-blog-cat-badge--{cls}, etc) */
.cat-product   { --bcat-bg:#E8F0FF; --bcat-fg:#1E66FF; --bcat-grad-a:#1E66FF; --bcat-grad-b:#0a2e8c; }
.cat-edu       { --bcat-bg:#FEF3C7; --bcat-fg:#B45309; --bcat-grad-a:#F59E0B; --bcat-grad-b:#92400E; }
.cat-industry  { --bcat-bg:#DBEAFE; --bcat-fg:#1E40AF; --bcat-grad-a:#3B82F6; --bcat-grad-b:#1E3A8A; }
.cat-stories   { --bcat-bg:#FCE7F3; --bcat-fg:#BE185D; --bcat-grad-a:#EC4899; --bcat-grad-b:#831843; }
.cat-guides    { --bcat-bg:#D1FAE5; --bcat-fg:#047857; --bcat-grad-a:#10B981; --bcat-grad-b:#064E3B; }
.cat-company   { --bcat-bg:#EDE9FE; --bcat-fg:#5B21B6; --bcat-grad-a:#8B5CF6; --bcat-grad-b:#4C1D95; }

/* ─── Filter bar ─── */
.iog-blog-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  padding: 1.1rem 1.4rem;
  background: #fff;
  border: 1px solid #e6ebf3;
  border-radius: 14px;
  box-shadow: 0 4px 18px -8px rgba(1, 32, 96, .06);
}
.iog-blog-filter-label {
  flex-shrink: 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8893a9;
}
.iog-blog-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
/* Re-use .iog-chip from careers, but the blog version is an <a> not a button —
   tighten link styles back to match. */
.iog-blog-chips a.iog-chip { text-decoration: none; }

/* ─── Featured (hero) post ─── */
.iog-blog-featured {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  background: #fff;
  border: 1px solid #e6ebf3;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all .25s ease;
  box-shadow: 0 10px 30px -15px rgba(1, 32, 96, .15);
}
.iog-blog-featured:hover {
  border-color: #d8e0ec;
  transform: translateY(-4px);
  box-shadow: 0 28px 50px -20px rgba(1, 32, 96, .25);
  color: inherit;
}

.iog-blog-featured-cover {
  position: relative;
  min-height: 320px;
  background: linear-gradient(135deg, var(--bcat-grad-a, var(--brand-blue)) 0%, var(--bcat-grad-b, var(--brand-navy)) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.iog-blog-featured-cover::before {
  /* Decorative gold arc echo */
  content: "";
  position: absolute;
  inset: auto -10% -60%;
  height: 160%;
  background: radial-gradient(ellipse at center top, rgba(255, 190, 0, .18), transparent 65%);
  pointer-events: none;
}
.iog-blog-featured-cover-inner {
  position: relative;
  z-index: 1;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
  backdrop-filter: blur(8px);
}

.iog-blog-featured-body {
  padding: 2.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.iog-blog-featured-body h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--brand-navy);
  margin: .65rem 0 .85rem;
  line-height: 1.2;
}
.iog-blog-featured-body p {
  color: #56627a;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.iog-blog-featured-cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--brand-navy);
  font-weight: 700;
  font-size: .92rem;
  margin-top: .85rem;
  transition: gap .15s ease;
}
.iog-blog-featured:hover .iog-blog-featured-cta {
  color: var(--brand-blue);
  gap: .55rem;
}

/* ─── Card grid ─── */
.iog-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.iog-blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e6ebf3;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all .22s ease;
}
.iog-blog-card:hover {
  border-color: #d8e0ec;
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -16px rgba(1, 32, 96, .2);
  color: inherit;
}
.iog-blog-card-cover {
  position: relative;
  height: 150px;
  background: linear-gradient(135deg, var(--bcat-grad-a, var(--brand-blue)) 0%, var(--bcat-grad-b, var(--brand-navy)) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  overflow: hidden;
}
.iog-blog-card-cover::before {
  content: "";
  position: absolute;
  inset: auto -20% -50%;
  height: 140%;
  background: radial-gradient(ellipse at center top, rgba(255, 190, 0, .14), transparent 70%);
  pointer-events: none;
}
.iog-blog-card-cover > i { position: relative; z-index: 1; }
.iog-blog-card-body {
  flex-grow: 1;
  padding: 1.25rem 1.35rem 1.35rem;
  display: flex;
  flex-direction: column;
}
.iog-blog-card-cat {
  display: inline-block;
  align-self: flex-start;
  padding: .18rem .65rem;
  background: var(--bcat-bg, #f3f6fd);
  color: var(--bcat-fg, var(--brand-blue));
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.iog-blog-card-cat--featured {
  background: rgba(255, 190, 0, .15);
  color: var(--brand-gold-2, #B45309);
}
.iog-blog-card h3 {
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.005em;
  line-height: 1.35;
  margin: 0 0 .55rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.iog-blog-card p {
  color: #56627a;
  font-size: .92rem;
  line-height: 1.55;
  margin: 0 0 1rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.iog-blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .9rem;
  padding-top: .85rem;
  border-top: 1px solid #f0f3f9;
  font-size: .78rem;
  color: #6b7691;
}
.iog-blog-card-meta i { color: #8893a9; font-size: .72rem; }

.iog-blog-byline-inline {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.iog-blog-byline-inline img {
  width: 22px; height: 22px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
}

/* ═══════════════════════ ARTICLE (post detail) ═══════════════════════ */
.iog-blog-article-hero {
  position: relative;
  padding: clamp(3rem, 4vw + 1rem, 4.5rem) 0 clamp(2.5rem, 3vw + 1rem, 3.5rem);
  background:
    radial-gradient(900px 500px at 95% -20%, rgba(255, 190, 0, .14), transparent 60%),
    linear-gradient(135deg, #051633 0%, var(--brand-navy) 60%, #02153f 100%);
  color: #fff;
  overflow: hidden;
}
.iog-blog-article-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 5%, var(--brand-gold) 30%, var(--brand-gold) 70%, transparent 95%);
}
.iog-blog-article-hero .breadcrumb a       { color: rgba(255, 255, 255, .7); }
.iog-blog-article-hero .breadcrumb-item.active { color: var(--brand-gold); }
.iog-blog-article-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .35); }

.iog-blog-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .85rem;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 190, 0, .35);
  border-radius: 999px;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 1rem;
  transition: background .15s ease;
}
.iog-blog-cat-badge:hover {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}
.iog-blog-cat-badge i { color: var(--brand-gold); }

.iog-blog-article-title {
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.85rem, 1.4rem + 2vw, 2.8rem);
  letter-spacing: -.02em;
  margin: 0 0 .85rem;
  line-height: 1.15;
  max-width: 820px;
}
.iog-blog-article-excerpt {
  color: rgba(255, 255, 255, .82);
  font-size: 1.08rem;
  line-height: 1.55;
  margin: 0 0 1.5rem;
  max-width: 820px;
}

.iog-blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  color: rgba(255, 255, 255, .8);
  font-size: .85rem;
}
.iog-blog-article-meta i { color: var(--brand-gold); margin-right: .35rem; }

.iog-blog-byline {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.iog-blog-byline img {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  border: 2px solid rgba(255, 190, 0, .4);
}
.iog-blog-byline strong {
  display: block;
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
}
.iog-blog-byline span {
  display: block;
  color: rgba(255, 255, 255, .65);
  font-size: .78rem;
}
.iog-blog-meta-sep {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, .25);
}

/* Body */
.iog-blog-article { padding: clamp(2.5rem, 4vw, 4rem) 0; background: #fff; }
.iog-blog-body {
  font-size: 1.05rem;
  line-height: 1.78;
  color: #1f2a44;
}
.iog-blog-body p,
.iog-blog-body ul,
.iog-blog-body ol {
  margin: 0 0 1.2rem;
}
.iog-blog-body h3 {
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 1.35rem;
  margin: 2rem 0 .85rem;
  letter-spacing: -.01em;
}
.iog-blog-body ul,
.iog-blog-body ol { padding-left: 1.5rem; }
.iog-blog-body li { margin-bottom: .5rem; }
.iog-blog-body strong { color: var(--brand-navy); }
.iog-blog-body em { color: #44506a; }
.iog-blog-body a {
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.iog-blog-body a:hover { color: var(--brand-navy); }
.iog-blog-body blockquote {
  border-left: 4px solid var(--brand-gold);
  padding: .5rem 0 .5rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--brand-navy);
}

/* Tags row */
.iog-blog-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #eef2f8;
}
.iog-blog-tags-label {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8893a9;
  margin-right: .25rem;
}
.iog-blog-tag {
  display: inline-block;
  padding: .25rem .7rem;
  background: #f3f6fd;
  color: var(--brand-navy);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
}

/* ─── Sticky social share rail (desktop) ─── */
.iog-blog-share {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  align-items: center;
  padding: .25rem 0;
}
.iog-blog-share-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8893a9;
  margin: 0 0 .25rem;
  writing-mode: horizontal-tb;
}
.iog-blog-share a,
.iog-blog-share button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: #fff;
  color: var(--brand-navy);
  border: 1.5px solid #e6ebf3;
  border-radius: 50%;
  text-decoration: none;
  font-size: .9rem;
  cursor: pointer;
  transition: all .15s ease;
}
.iog-blog-share a:hover,
.iog-blog-share button:hover {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: var(--brand-gold);
  transform: translateY(-2px);
}

/* Mobile share */
.iog-blog-share-mobile {
  margin-top: 2rem;
  padding: 1.15rem 1.35rem;
  background: #f7f9fc;
  border: 1px solid #e6ebf3;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.iog-blog-share-mobile > span {
  font-size: .82rem;
  font-weight: 600;
  color: #56627a;
}
.iog-blog-share-mobile > div { display: flex; gap: .5rem; }
.iog-blog-share-mobile a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: #fff;
  border: 1.5px solid #e6ebf3;
  border-radius: 50%;
  color: var(--brand-navy);
  font-size: .9rem;
  transition: all .15s ease;
}
.iog-blog-share-mobile a:hover {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: var(--brand-gold);
}

/* ─── Author card side panel ─── */
.iog-blog-author-card {
  position: sticky;
  top: 100px;
  background: #fff;
  border: 1px solid #e6ebf3;
  border-radius: 16px;
  padding: 1.5rem 1.35rem 1.35rem;
  border-left: 4px solid var(--brand-gold);
  text-align: center;
}
.iog-blog-author-card img {
  width: 88px; height: 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  margin: 0 auto .85rem;
  border: 3px solid var(--white);
  box-shadow: 0 6px 18px -6px rgba(1, 32, 96, .2);
}
.iog-blog-author-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8893a9;
  margin: 0 0 .25rem;
}
.iog-blog-author-card h5 {
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 .25rem;
}
.iog-blog-author-role {
  color: #6b7691;
  font-size: .82rem;
  margin: 0 0 1rem;
}

/* ─── Responsive ─── */
@media (max-width: 991.98px) {
  .iog-blog-featured { grid-template-columns: 1fr; }
  .iog-blog-featured-cover { min-height: 200px; }
  .iog-blog-featured-cover-inner { width: 96px; height: 96px; font-size: 2.25rem; }
  .iog-blog-featured-body { padding: 1.75rem 1.75rem 2rem; }
}
@media (max-width: 767.98px) {
  .iog-blog-filter { padding: .85rem 1rem; gap: .65rem .85rem; }
  .iog-blog-grid { grid-template-columns: 1fr; gap: 1.15rem; }
  .iog-blog-card-cover { height: 130px; }
  .iog-blog-article-meta { gap: .65rem 1rem; }
  .iog-blog-meta-sep { display: none; }
  .iog-blog-author-card { position: static; margin-top: 2rem; }
}
@media (max-width: 575.98px) {
  .iog-blog-featured-body { padding: 1.4rem; }
  .iog-blog-featured-body h2 { font-size: 1.35rem; }
}

/* ════════════════════════════════════════════════════════════════════
   FOOTER — Get in touch column (label/value channel list)
   Wider column (col-lg-4) so values sit horizontally beside icons
   without aggressive wrapping.
   ════════════════════════════════════════════════════════════════════ */
.footer-channels {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.footer-channels > li {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}

/* Gold-tinted icon tile */
.footer-channel-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 190, 0, .14);
  color: var(--brand-gold);
  font-size: .92rem;
  margin-top: 2px;
}

.footer-channel-body {
  flex-grow: 1;
  min-width: 0;
  line-height: 1.45;
}

/* Small uppercase label above the value */
.footer-channel-label {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 4px;
}

/* Value link (or plain span) */
.footer-channel-value {
  display: block;
  color: rgba(255, 255, 255, .92);
  font-size: .92rem;
  line-height: 1.45;
  text-decoration: none;
  word-break: break-word;
  transition: color .15s ease;
}
.footer-channel-value + .footer-channel-value { margin-top: 3px; }
a.footer-channel-value:hover,
a.footer-channel-value:focus-visible {
  color: var(--brand-gold);
  text-decoration: none;
}
a.footer-channel-value:focus-visible {
  outline: 1px dotted var(--brand-gold);
  outline-offset: 2px;
}

/* The <address> element renders italic by default — override that */
.footer-channel-address {
  display: block;
  margin: 0;
  font-style: normal;
  color: rgba(255, 255, 255, .82);
  font-size: .9rem;
  line-height: 1.55;
  max-width: 38ch;        /* keeps address on ~2 lines at wide widths */
}

/* ─── Responsive ─── */
@media (max-width: 991.98px) {
  .footer-channels { gap: 1rem; }
}
@media (max-width: 575.98px) {
  .footer-channel-icon { width: 34px; height: 34px; font-size: .84rem; }
  .footer-channel-value { font-size: .88rem; }
  .footer-channel-address { font-size: .85rem; max-width: none; }
}

/* ════════════════════════════════════════════════════════════════════
   Catalogue card — dual CTA (Get a quote + Learn more)
   ════════════════════════════════════════════════════════════════════ */
.iog-pcard-ctas {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  margin-top: .65rem;
}
.iog-pcard-learn {
  font-size: .82rem;
  font-weight: 600;
  color: #8893a9;
  text-decoration: none;
  padding: .3rem .6rem;
  border-radius: 8px;
  transition: all .15s ease;
  flex-shrink: 0;
}
.iog-pcard-learn:hover {
  color: var(--brand-navy);
  background: #f3f6fd;
}

/* ════════════════════════════════════════════════════════════════════
   NAVBAR — auth state + cart icon
   Tail cluster sits to the right of the centred nav links.
   ════════════════════════════════════════════════════════════════════ */
.iog-nav-tail {
  display: flex;
  align-items: center;
  gap: .65rem;
}

/* Sign-in text link */
.iog-nav-signin {
  display: inline-flex;
  align-items: center;
  padding: .55rem .85rem;
  color: var(--brand-navy);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  border-radius: 8px;
  transition: background .15s ease;
}
.iog-nav-signin:hover {
  background: #f3f6fd;
  color: var(--brand-navy);
}

/* Cart button — same height as other nav controls */
.iog-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .9rem;
  background: #fff;
  border: 1.5px solid #e6ebf3;
  border-radius: 999px;
  color: var(--brand-navy);
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
  transition: all .15s ease;
}
.iog-cart-btn:hover {
  border-color: var(--brand-navy);
  background: #fff;
  color: var(--brand-navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -6px rgba(1, 32, 96, .2);
}
.iog-cart-btn-label { font-size: .88rem; }
.iog-cart-btn > i { font-size: .95rem; color: var(--brand-navy); }

/* Compact (mobile) variant — icon only */
.iog-cart-btn--mobile {
  padding: .55rem;
  width: 40px;
  height: 40px;
  justify-content: center;
}
.iog-cart-btn--mobile .iog-cart-btn-label { display: none; }

/* Badge */
.iog-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--brand-gold);
  color: var(--brand-navy);
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: -.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 6px -2px rgba(255, 190, 0, .55);
  /* Subtle attention pulse on appear */
  animation: iog-badge-pop .25s ease-out;
}
@keyframes iog-badge-pop {
  0%   { transform: scale(.4); opacity: 0; }
  60%  { transform: scale(1.18); opacity: 1; }
  100% { transform: scale(1); }
}
.iog-cart-badge--inline {
  position: static;
  border: 0;
  margin-left: .25rem;
  box-shadow: none;
  animation: none;
}

/* ─── User dropdown (signed-in state) ─── */
.iog-user-menu { position: relative; }
.iog-user-trigger {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .35rem .85rem .35rem .35rem;
  background: #fff;
  border: 1.5px solid #e6ebf3;
  border-radius: 999px;
  cursor: pointer;
  transition: all .15s ease;
}
.iog-user-trigger:hover,
.iog-user-trigger[aria-expanded="true"] {
  border-color: var(--brand-navy);
  background: #fff;
  box-shadow: 0 4px 12px -6px rgba(1, 32, 96, .2);
}
.iog-user-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-navy) 0%, #02153f 100%);
  color: var(--brand-gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .04em;
}
.iog-user-name {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--brand-navy);
  font-weight: 600;
  font-size: .9rem;
}
.iog-user-name i {
  color: #8893a9;
  font-size: .65rem;
  transition: transform .15s ease;
}
.iog-user-trigger[aria-expanded="true"] .iog-user-name i {
  transform: rotate(180deg);
}

/* Dropdown panel */
.iog-user-dropdown {
  min-width: 260px;
  padding: .5rem;
  border: 1px solid #e6ebf3;
  border-radius: 14px;
  box-shadow: 0 18px 40px -16px rgba(1, 32, 96, .22);
  margin-top: .6rem !important;
}
.iog-user-dropdown-head {
  padding: .65rem .85rem .85rem;
  border-bottom: 1px solid #eef2f8;
  margin-bottom: .35rem;
}
.iog-user-dropdown-head strong {
  display: block;
  color: var(--brand-navy);
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 2px;
}
.iog-user-dropdown-head span {
  display: block;
  color: #6b7691;
  font-size: .8rem;
  word-break: break-word;
}
.iog-user-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  padding: .65rem .85rem;
  font-size: .88rem;
  color: #44506a;
  border-radius: 8px;
  font-weight: 500;
  transition: background .12s ease, color .12s ease;
}
.iog-user-dropdown .dropdown-item:hover,
.iog-user-dropdown .dropdown-item:focus {
  background: #f3f6fd;
  color: var(--brand-navy);
}
.iog-user-dropdown .dropdown-item i {
  color: #8893a9;
  width: 18px;
}
.iog-user-dropdown .dropdown-item:hover i { color: var(--brand-navy); }
.iog-user-dropdown-signout { color: #B91C1C !important; }
.iog-user-dropdown-signout:hover { background: #FEF2F2 !important; color: #7F1D1D !important; }
.iog-user-dropdown-signout i { color: #B91C1C !important; }
.iog-user-dropdown .dropdown-divider { margin: .35rem 0; border-color: #eef2f8; }

/* ─── Responsive ─── */
@media (max-width: 991.98px) {
  .iog-nav-tail {
    flex-direction: column;
    align-items: stretch;
    gap: .5rem;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #eef2f8;
  }
  .iog-nav-tail .iog-cart-btn { display: none !important; }  /* Mobile cart lives in topbar */
  .iog-nav-tail .iog-nav-signin,
  .iog-nav-tail .btn-nav-cta { justify-content: center; text-align: center; }
  .iog-user-menu { display: flex; }
  .iog-user-trigger { width: 100%; justify-content: center; padding: .55rem; }
}

/* ============================================================================
   QUOTE PAGE — Customer context bar
   Shared by quote-motor.php, quote-travel.php, and every future quote-*.php
   page. Lives at the top of the form column to confirm who's quoting, with
   a quick path back to profile editing or sign-out.
   ============================================================================ */
.iog-quote-profile-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfd 100%);
  border: 1px solid #e6ebf3;
  border-left: 4px solid var(--brand-gold);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 20px -12px rgba(1, 32, 96, .12);
  transition: box-shadow .15s ease;
}
.iog-quote-profile-bar:hover {
  box-shadow: 0 10px 28px -14px rgba(1, 32, 96, .18);
}

/* Avatar — initials in navy circle with gold ring on hover */
.iog-quote-profile-avatar {
  position: relative;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-navy) 0%, #02153f 100%);
  color: var(--brand-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .04em;
  box-shadow: 0 4px 12px -4px rgba(1, 32, 96, .35);
}
.iog-quote-profile-avatar::after {
  /* small verified badge sitting on the avatar */
  content: "";
  position: absolute;
  right: -2px; bottom: -2px;
  width: 16px; height: 16px;
  background: #15803D url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'><path d='M13.5 4.5L6.5 11.5L2.5 7.5' stroke='%23fff' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/10px no-repeat;
  border: 2px solid #fff;
  border-radius: 50%;
}

/* Meta column — eyebrow + name + sub */
.iog-quote-profile-meta {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.3;
}
.iog-quote-profile-label {
  display: block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8893a9;
  margin-bottom: 4px;
}
.iog-quote-profile-meta strong {
  display: block;
  color: var(--brand-navy);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.005em;
  line-height: 1.25;
  margin-bottom: 2px;
}
.iog-quote-profile-sub {
  display: block;
  color: #56627a;
  font-size: .82rem;
  line-height: 1.45;
  word-break: break-word;
}

/* Actions column — Edit profile + sign-out, stacked right */
.iog-quote-profile-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .35rem;
  flex-shrink: 0;
}
.iog-quote-profile-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--brand-navy);
  text-decoration: none;
  transition: all .15s ease;
}
.iog-quote-profile-link i { font-size: .72rem; color: var(--brand-gold-deep, #B45309); }
.iog-quote-profile-link:hover {
  background: #f3f6fd;
  color: var(--brand-navy);
}
.iog-quote-profile-link:hover i { color: var(--brand-gold-deep, #B45309); }
.iog-quote-profile-link--muted {
  color: #8893a9;
  font-weight: 500;
  font-size: .76rem;
}
.iog-quote-profile-link--muted:hover {
  background: transparent;
  color: var(--brand-navy);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 575.98px) {
  .iog-quote-profile-bar {
    flex-wrap: wrap;
    padding: 1rem 1.15rem;
  }
  .iog-quote-profile-actions {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: .85rem;
    margin-top: .25rem;
    border-top: 1px dashed #eef2f8;
  }
  .iog-quote-profile-avatar { width: 44px; height: 44px; font-size: .95rem; }
}

/* ============================================================================
   INLINE LINK — Claims (hover hint + tooltip)
   ----------------------------------------------------------------------------
   Reveals a small "?" affordance and a "View Terms and Conditions" tooltip on
   hover / keyboard focus. Used in the hero T&C line and reusable anywhere an
   inline link needs a quiet explanatory cue. Markup:

     <small class="iog-hero-tnc">
       <a href="claims-terms.php" class="iog-link-claims"
          aria-label="Claims — view terms and conditions">
         <span>Claims</span>
         <i class="fas fa-circle-question iog-link-claims__hint" aria-hidden="true"></i>
         <span class="iog-link-claims__tip" role="tooltip">View Terms and Conditions</span>
       </a>
       are subject to policy terms, insurer assessment and verification requirements.
     </small>
   ============================================================================ */

/* Hero fine-print line that hosts the link */
.iog-hero-tnc {
  display: block;
  margin-top: .85rem;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.6;
}

.iog-link-claims {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .3em;
  font-weight: 700;
  color: var(--brand-navy);
  text-decoration: none;
  background-image: linear-gradient(var(--brand-blue), var(--brand-blue));
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  border-radius: 4px;
  transition: color .2s ease, background-size .35s cubic-bezier(.4, 0, .2, 1);
}
.iog-link-claims:hover,
.iog-link-claims:focus-visible {
  color: var(--brand-blue);
  background-size: 100% 2px;
  outline: none;
}
.iog-link-claims:focus-visible {
  box-shadow: 0 0 0 3px rgba(30, 102, 255, .25);
}

/* The "?" — hidden until hover/focus; its space is reserved so text never shifts */
.iog-link-claims__hint {
  font-size: .82em;
  color: var(--brand-blue);
  opacity: 0;
  transform: translateY(2px);
  transition: opacity .2s ease, transform .2s ease;
}
.iog-link-claims:hover  .iog-link-claims__hint,
.iog-link-claims:focus-visible .iog-link-claims__hint {
  opacity: 1;
  transform: translateY(0);
}

/* The tooltip bubble */
.iog-link-claims__tip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--brand-navy-2);
  color: var(--white);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
  padding: .5rem .65rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 30;
}
.iog-link-claims__tip::after {            /* little arrow pointing down */
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--brand-navy-2);
}
.iog-link-claims:hover  .iog-link-claims__tip,
.iog-link-claims:focus-visible .iog-link-claims__tip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .iog-link-claims,
  .iog-link-claims__hint,
  .iog-link-claims__tip { transition: none; }
}
