/* ==========================================================
   Rabindramukta Academy — government-portal theme
   Loaded after home.css / pages.css on all redesigned pages.
   Colours come only from the logo: navy #145487 and gold #CDA94C,
   with neutral greys. Plain sans-serif type, square corners, ruled panels.
   ========================================================== */
:root {
  --g-navy: #145487; --g-navy-d: #0B3558; --g-gold: #CDA94C; --g-gold-l: #F7F0DC;
  --g-ink: #1A1A1A; --g-muted: #4A5563; --g-line: #D5DAE1; --g-bg: #F1F4F8;
  --g-font: 'Noto Sans', 'Segoe UI', Arial, Helvetica, sans-serif;
  --radius-sm: 2px; --radius: 2px; --radius-pill: 2px; --shadow-sm: none; --shadow: none;
  --color-bg-alt: var(--g-bg);
}

/* ---------- Base type: one plain sans family ---------- */
.h-page, .h-page main, .h-page button, .h-page input, .h-page select, .h-page textarea { font-family: var(--g-font); }
.h-page { --h-heading: var(--g-font); --h-body: var(--g-font); color: var(--g-ink); background: #fff; }
.h-page main { font-size: 15.5px; line-height: 1.6; }
.h-page main h1, .h-page main h2, .h-page main h3, .h-page main h4 { font-family: var(--g-font) !important; letter-spacing: 0 !important; font-style: normal; }
.h-page main a:not([class]) { color: #0B4F9C; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.g-wrap, .h-container { max-width: 1240px; margin: 0 auto; padding: 0 16px; width: 100%; }
.g-section, .h-section { padding: 28px 0; }
.g-section--alt, .h-section--alt { background: var(--g-bg); border-top: 1px solid var(--g-line); border-bottom: 1px solid var(--g-line); }
.g-section--tight { padding: 22px 0; }
.g-small { font-size: 13px; color: var(--g-muted); }
.g-mt { margin-top: 12px !important; }
.g-req { color: #B91C1C; }

/* ---------- Section headings (gold rule under navy text) ---------- */
.h-eyebrow { display: block !important; font-size: 11.5px !important; font-weight: 700 !important; letter-spacing: .1em; text-transform: uppercase; color: #8A6A2F !important; margin-bottom: 4px !important; }
.h-eyebrow--light { color: #F2DDA4 !important; }
.g-heading, .h-title {
  font-size: 24px !important; font-weight: 700 !important; line-height: 1.3; color: var(--g-navy) !important;
  max-width: none; padding-bottom: 8px; margin: 0 0 18px !important; position: relative;
  border-bottom: 1px solid var(--g-line);
}
.g-heading::after, .h-title::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 64px; height: 3px; background: var(--g-gold); }
.h-title--light { color: #fff !important; border-bottom-color: rgba(255,255,255,.2); }
.h-head { max-width: none; margin: 0 0 20px; text-align: left; display: block; border: 0; padding: 0; }
.h-head .h-title { margin-bottom: 8px !important; }
.h-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--g-line); padding-bottom: 10px; }
.h-head--row > div { flex: 1; }
.h-head--row .h-title { border-bottom: 0; margin-bottom: 0 !important; }
.h-lead { font-size: 15px !important; color: var(--g-muted); margin-top: 6px !important; max-width: none; }
.h-lead--light { color: rgba(255,255,255,.85); }
.h-subtitle { font-size: 18px !important; font-weight: 700; color: var(--g-navy); margin: 24px 0 12px !important; }

/* ---------- Buttons & links ---------- */
.g-btn, .h-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 18px;
  border: 1px solid var(--g-navy); border-radius: 2px; font: 600 14px/1.2 var(--g-font); cursor: pointer;
  text-decoration: none !important; transition: background .15s;
}
.h-btn:hover { transform: none; box-shadow: none; }
.g-btn--navy, .h-btn--navy { background: var(--g-navy); color: #fff !important; }
.g-btn--navy:hover, .h-btn--navy:hover { background: var(--g-navy-d); }
.h-btn--gold { background: var(--g-gold); border-color: var(--g-gold); color: var(--g-navy-d) !important; }
.h-btn--gold:hover { background: #B8953A; }
.h-btn--outline { background: #fff; color: var(--g-navy) !important; }
.h-btn--outline:hover { background: var(--g-navy); color: #fff !important; }
.h-btn--whatsapp { background: #15803D; border-color: #15803D; color: #fff !important; }
.g-btn--block { width: 100%; }
.h-link, .g-more { font-weight: 600; font-size: 14px; color: #0B4F9C !important; text-decoration: none !important; border: 0; padding: 0; }
.h-link:hover, .g-more:hover { text-decoration: underline !important; }
.g-more::after { content: ' \00BB'; }
.g-more--pad { display: block; padding: 10px 14px; border-top: 1px solid var(--g-line); text-align: right; }

/* ---------- Forms ---------- */
.h-page label { font-size: 13.5px; font-weight: 600; color: var(--g-ink); margin: 0 0 4px; }
.h-input { min-height: 38px; padding: 7px 10px; border: 1px solid #A9B3C1; border-radius: 2px; font-size: 14.5px; background: #fff; }
.h-input:focus { border-color: var(--g-navy); box-shadow: 0 0 0 2px rgba(20, 84, 135,.2); outline: none; }

/* ---------- Panels (box with navy title bar) ---------- */
.g-panel, .h-card { background: #fff; border: 1px solid var(--g-line); border-radius: 0; box-shadow: none; }
.g-panel { display: flex; flex-direction: column; }
.g-panel__title {
  margin: 0 !important; padding: 10px 14px; background: var(--g-navy); color: #fff !important;
  font-size: 16px !important; font-weight: 700 !important; border-bottom: 3px solid var(--g-gold);
}
.g-panel__title i { color: var(--g-gold); margin-right: 6px; }
.g-panel__body { padding: 14px; flex: 1; }
.g-panel__body--flush { padding: 0; display: flex; flex-direction: column; }
.g-panel__body p + p { margin-top: 10px !important; }

/* ---------- What's new ticker ---------- */
.g-ticker { background: var(--g-gold-l); border-bottom: 1px solid #E6D6A8; font-size: 14px; }
.g-ticker__in { display: flex; align-items: stretch; min-height: 38px; }
.g-ticker__label { display: flex; align-items: center; padding: 0 14px; background: var(--g-gold); color: var(--g-navy-d); font-weight: 700; white-space: nowrap; position: relative; margin-left: -16px; }
.g-ticker__label::after { content: ''; position: absolute; right: -10px; top: 0; border: 19px solid transparent; border-left: 10px solid var(--g-gold); border-right: 0; }
.g-ticker__track { flex: 1; overflow: hidden; display: flex; align-items: center; padding-left: 20px; }
.g-ticker__list { display: flex; gap: 0; white-space: nowrap; list-style: none; margin: 0; padding: 0; animation: g-marquee 70s linear infinite; }
.g-ticker__list li { padding: 0 22px; position: relative; }
.g-ticker__list li::before { content: ''; position: absolute; left: 6px; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--g-navy); }
.g-ticker__list a { color: var(--g-navy) !important; text-decoration: none !important; font-weight: 500; }
.g-ticker__list a:hover { text-decoration: underline !important; }
.g-ticker:hover .g-ticker__list, .g-ticker:focus-within .g-ticker__list, .g-ticker.is-paused .g-ticker__list { animation-play-state: paused; }
.g-ticker__pause { border: 0; border-left: 1px solid #E6D6A8; background: none; width: 38px; color: var(--g-navy); cursor: pointer; }
@keyframes g-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Banner + call back ---------- */
.g-top { padding: 20px 0; background: #fff; }
.g-top__grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.g-banner { position: relative; border: 1px solid var(--g-line); background: var(--g-navy); }
.g-banner img { display: block; width: 100%; height: 100%; max-height: 430px; object-fit: cover; }
.g-banner__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; background: rgba(11, 53, 88, .92); border-top: 3px solid var(--g-gold); color: #fff; }
.g-banner__cap h1 { font-size: 22px !important; font-weight: 700; color: #fff; line-height: 1.3; }
.g-banner__cap p { font-size: 14px; color: #DDE3EA; margin-top: 4px !important; }
.g-callback .h-input { margin-bottom: 10px; }
.g-callback .g-btn { margin-top: 4px; }
.g-callback .g-small { margin-top: 10px !important; }

/* ---------- About / updates / links ---------- */
.g-cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.g-cols2 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; }
.g-about__fig { float: left; width: 112px; margin: 2px 14px 6px 0; }
.g-about__fig img { width: 112px; height: 140px; object-fit: cover; object-position: top; border: 1px solid var(--g-line); display: block; }
.g-about__fig figcaption { font-size: 11.5px; line-height: 1.35; color: var(--g-muted); margin-top: 4px; }
.g-about__fig strong { display: block; color: var(--g-navy); }
.g-about p { font-size: 14.5px; }
.g-about .g-more { display: inline-block; margin-top: 10px; }
.g-updates, .g-links { list-style: none; margin: 0; padding: 0; flex: 1; }
.g-updates li { padding: 9px 14px; border-bottom: 1px dotted #BFC7D2; font-size: 14px; line-height: 1.4; }
.g-updates time { display: block; font-size: 12px; color: var(--g-muted); }
.g-updates a, .g-links a { color: #0B4F9C !important; text-decoration: none !important; }
.g-updates a:hover, .g-links a:hover { text-decoration: underline !important; }
.g-links li { border-bottom: 1px solid #E6E9EE; }
.g-links a { display: block; padding: 8.5px 14px 8.5px 30px; font-size: 14px; position: relative; }
.g-links a::before { content: ''; position: absolute; left: 14px; top: 50%; margin-top: -4px; border: 4px solid transparent; border-left: 6px solid var(--g-gold); }
.g-links a:hover { background: var(--g-bg); }

/* ---------- Service tiles ---------- */
.g-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.g-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; height: 100%;
  padding: 18px 10px 14px; background: #fff; border: 1px solid var(--g-line); border-top: 3px solid var(--g-navy);
  text-decoration: none !important; transition: border-color .15s, background .15s;
}
.g-tile i { width: 52px; height: 52px; display: grid; place-items: center; font-size: 22px; color: var(--g-navy); background: var(--g-gold-l); border: 1px solid #E6D6A8; margin-bottom: 6px; }
.g-tile strong { font-size: 15px; color: var(--g-navy); }
.g-tile span { font-size: 12.5px; color: var(--g-muted); }
.g-tile:hover { border-top-color: var(--g-gold); background: #FBFCFD; }
.g-tile:hover strong { text-decoration: underline; }

/* ---------- Stats band ---------- */
.g-stats { background: var(--g-navy); border-top: 3px solid var(--g-gold); color: #fff; }
.g-stats ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); list-style: none; margin: 0; padding: 0; }
.g-stats li { padding: 18px 16px; text-align: center; }
.g-stats li + li { border-left: 1px solid rgba(255,255,255,.15); }
.g-stats strong { display: block; font-size: 26px; font-weight: 700; color: var(--g-gold); line-height: 1.2; }
.g-stats span { font-size: 13px; color: #DDE3EA; }

/* ---------- Tables & bullets ---------- */
.g-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.g-table th { background: #E7ECF2; color: var(--g-navy); text-align: left; padding: 9px 12px; border: 1px solid var(--g-line); font-weight: 700; }
.g-table td { padding: 9px 12px; border: 1px solid var(--g-line); vertical-align: top; }
.g-table td:first-child { width: 52px; text-align: center; font-weight: 700; color: var(--g-navy); }
.g-table tbody tr:nth-child(even) td { background: #F8FAFC; }
.g-panel .g-table { border-style: hidden; }
.g-bullets { list-style: none; margin: 0; padding: 0; }
.g-bullets li { position: relative; padding: 8px 0 8px 20px; border-bottom: 1px dotted #BFC7D2; font-size: 14.5px; }
.g-bullets li:last-child { border-bottom: 0; }
.g-bullets li::before { content: ''; position: absolute; left: 2px; top: 16px; width: 7px; height: 7px; background: var(--g-gold); }
.g-bullets strong { color: var(--g-navy); }

/* ---------- Logos ---------- */
.g-logos { border: 1px solid var(--g-line); background: #fff; padding: 10px 14px; }
.h-logos__item { height: 64px; }
.h-logos__item img { max-height: 54px; filter: none; opacity: 1; }

/* ---------- Team (shared component) ---------- */
.h-team-wrap { margin-top: 0; padding-top: 0; border-top: 0; }
.h-team { gap: 14px; }
.h-team__member { border-radius: 0; }
.h-team__member:hover { transform: none; box-shadow: none; border-color: var(--g-navy); }
.h-team__photo { border-bottom: 3px solid var(--g-gold); }
.h-team__info { padding: 10px 12px 12px; }
.h-team__info strong { font-family: var(--g-font) !important; font-size: 16px; }
.h-team__branch { border-radius: 0; background: var(--g-gold-l); font-size: 11px; }

/* ---------- Blog cards & jobs ---------- */
.h-blogs { gap: 18px; }
.h-blog, .b-card { border-radius: 6px !important; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.h-blog:hover, .b-card:hover { transform: translateY(-3px) !important; box-shadow: 0 12px 24px -16px rgba(11,53,88,.28) !important; border-color: var(--g-navy); }
.h-blog h3 { font-size: 16.5px !important; line-height: 1.35; }
.h-tag { color: var(--g-navy); background: var(--g-gold-l); padding: 3px 8px; border-radius: 4px; font-size: 11px; letter-spacing: .04em; }
.h-jobs ul { gap: 0; border: 1px solid var(--g-line); }
.h-jobs li a { border: 0; border-bottom: 1px solid var(--g-line); border-radius: 0; padding: 10px 14px; }
.h-jobs li:last-child a { border-bottom: 0; }

/* ---------- Social ---------- */
.s-btn { border-radius: 2px !important; }

/* ---------- Contact band ---------- */
.h-contact { background: var(--g-navy); border-top: 3px solid var(--g-gold); }
.h-form { border-top: 3px solid var(--g-gold); }
.h-form h3 { font-size: 18px !important; }
.h-contact__list i { border-radius: 0; }
.h-branches li { border-radius: 0; }

/* ---------- Inner pages ---------- */
.p-hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(205, 169, 76, 0.22), transparent 48%),
    linear-gradient(110deg, rgba(7, 34, 58, 0.94) 0%, rgba(11, 53, 88, 0.86) 55%, rgba(20, 84, 135, 0.78) 100%),
    url('../img/opt/hero-1440.webp') center / cover no-repeat !important;
  color: #fff !important;
  padding: 28px 0 26px !important;
  border-bottom: 3px solid var(--g-gold);
}
.p-hero__title { font-size: clamp(24px, 2vw + 14px, 32px) !important; font-weight: 700 !important; color: #fff !important; margin-top: 6px !important; }
.p-hero__lead { color: #DCE7F2 !important; font-size: 15.5px !important; max-width: 820px; }
.p-crumbs, .p-crumbs li, .p-crumbs span, .p-crumbs [aria-current] { color: #D6E3F0 !important; font-size: 13px; }
.p-crumbs a { color: #F7E4A6 !important; font-weight: 600; }
.p-steps li::before { border-radius: 0 !important; }
.p-faq details, .p-faq summary { border-radius: 0 !important; }
.b-cats a, .b-search input, .b-search button { border-radius: 2px !important; }
.h-chip { border-radius: 2px; }
.h-pill { border-radius: 2px; }

/* Mobile action bar & floating buttons */
.floating_btn { border-radius: 2px !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .g-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .g-top__grid, .g-cols2 { grid-template-columns: minmax(0, 1fr); }
  .g-cols3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .g-cols3 > :first-child { grid-column: 1 / -1; }
  .g-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-banner img { max-height: none; height: auto; }
  .g-banner__cap { position: static; }
}
@media (max-width: 640px) {
  .g-cols3 { grid-template-columns: minmax(0, 1fr); }
  .g-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .g-stats li + li { border-left: 0; }
  .g-stats li { border-bottom: 1px solid rgba(255,255,255,.12); }
  .g-banner__cap h1 { font-size: 19px !important; }
  .h-head--row { flex-direction: column; align-items: flex-start; padding-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .g-ticker__list { animation: none; flex-wrap: wrap; white-space: normal; }
  .g-ticker__list li[aria-hidden="true"] { display: none; }
}

/* ---------- Final consistency pass ---------- */
.h-page main :where(p, li, span, a, td, th, label, small, strong, em, blockquote, figcaption, time, h1, h2, h3, h4, input, select, textarea, button):not([class*="fa-"]) { font-family: var(--g-font) !important; }
.h-contact a, .h-contact__list a, .h-branches a { color: #F7F0DC !important; }
.h-contact__list a:hover, .h-branches a:hover { color: #fff !important; text-decoration: underline !important; }
.s-btn, .s-btn--ig { background: #fff !important; color: var(--g-navy) !important; border: 1px solid var(--g-navy) !important; }
.s-btn--fb { background: #1877F2 !important; color: #fff !important; border: 1px solid #1877F2 !important; }
.s-btn--fb:hover { background: #125ec4 !important; border-color: #125ec4 !important; color: #fff !important; }
.s-btn:hover { background: var(--g-navy) !important; color: #fff !important; }
.s-btn i { color: inherit !important; }
.h-title.p-h2 { margin-top: 30px !important; font-size: 20px !important; }
.p-pills span, .p-pills a, .p-pills li { border-radius: 2px !important; }
.p-table th { background: #E7ECF2 !important; color: var(--g-navy) !important; }
.p-table, .p-table-wrap { border-radius: 0 !important; }

/* ==========================================================
   v3 — logo palette + homepage enhancements
   Logo blue #1F6198 · deep #145487 / #0B3558 · gold #CDA94C
   ========================================================== */
:root {
  --g-blue: #1F6198; --g-navy: #145487; --g-navy-d: #0B3558; --g-gold: #CDA94C; --g-gold-l: #F7F0DC;
  --g-tint: #EEF4FA; --g-line: #D3DEEA; --g-bg: #EEF4FA; --g-link: #1A5A90;
}
.g-section--alt, .h-section--alt { background: var(--g-tint); border-color: var(--g-line); }
.g-updates a, .g-links a, .h-page main a:not([class]), .h-link, .g-more { color: var(--g-link) !important; }
.g-tile i { background: var(--g-tint); border-color: var(--g-line); color: var(--g-blue); }
.g-tile { border-top-color: var(--g-blue); }
.g-tile:hover { border-top-color: var(--g-gold); }
.g-table th { background: #E3EDF7; }
.g-table tbody tr:nth-child(even) td { background: #F7FAFD; }
.g-heading::after, .h-title::after { background: var(--g-gold); }

/* ---------- Hero ---------- */
.g-hero {
  position: relative; z-index: 1; overflow: hidden; color: #fff; padding: 52px 0 92px;
  background: #0B3558;
}
.g-hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.g-hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  opacity: 0; transform: scale(1.04);
  transition: opacity 1.1s ease, transform 6.5s ease;
  filter: saturate(1.05);
}
.g-hero__slide--office { object-position: center center; }
.g-hero__slide.is-active { opacity: 1; transform: scale(1); }
.g-hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(850px 440px at 14% 12%, rgba(20, 84, 135, 0.38), transparent 72%),
    linear-gradient(106deg, rgba(6, 27, 48, 0.92) 0%, rgba(11, 53, 88, 0.82) 52%, rgba(16, 65, 108, 0.68) 100%);
}
.g-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--g-gold); z-index: 2; }
.g-hero__mark { position: absolute; z-index: 1; right: -60px; top: 50%; width: 520px; height: auto; transform: translateY(-50%); opacity: .07; filter: grayscale(1) brightness(3); pointer-events: none; }
.g-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.g-hero__kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px !important; font-weight: 700; color: #F7E4A6 !important;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 5px 12px; background: rgba(205, 169, 76, 0.14);
  border: 1px solid rgba(205, 169, 76, 0.45); border-radius: 999px;
}
.g-hero h1 { font-size: clamp(28px, 2.3vw + 14px, 44px) !important; font-weight: 800; line-height: 1.15; color: #fff; margin: 16px 0 0 !important; max-width: 19ch; text-shadow: 0 2px 14px rgba(0, 0, 0, .28); }
.g-hero__lead { margin-top: 14px !important; font-size: 16.5px !important; line-height: 1.62; color: #EAF2FA !important; max-width: 58ch; }
.g-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.h-page main .g-hero a.g-hero__tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff !important; font-size: 12.5px; font-weight: 600;
  text-decoration: none !important; backdrop-filter: blur(4px);
  transition: background .15s, border-color .15s;
}
.h-page main .g-hero a.g-hero__tag i { color: var(--g-gold); }
.h-page main .g-hero a.g-hero__tag:hover { background: var(--g-gold); border-color: var(--g-gold); color: #0B3558 !important; }
.h-page main .g-hero a.g-hero__tag:hover i { color: #0B3558; }
.g-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.g-btn--gold { background: var(--g-gold); border-color: var(--g-gold); color: #0B3558 !important; font-weight: 700; min-height: 46px; padding: 10px 22px; }
.g-btn--gold:hover { background: #D8B862; }
.g-btn--ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.75); color: #fff !important; min-height: 46px; padding: 10px 22px; backdrop-filter: blur(4px); }
.g-btn--ghost:hover { background: #fff; color: var(--g-navy) !important; }
.g-btn--wa-hero { background: #15803D; border-color: #15803D; color: #fff !important; min-height: 46px; padding: 10px 20px; }
.g-btn--wa-hero:hover { background: #166534; }
.g-hero__facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; margin: 26px 0 0 !important; border-top: 1px solid rgba(255,255,255,.22); padding-top: 16px; }
.g-hero__facts div { padding: 0 22px; border-left: 1px solid rgba(255,255,255,.22); }
.g-hero__facts div:first-child { padding-left: 0; border-left: 0; }
.g-hero__facts dt { font-size: 24px; font-weight: 700; color: #fff; line-height: 1.1; }
.g-hero__facts dd { margin: 2px 0 0; font-size: 12.5px; color: #D6E3F0; }
.g-hero__dots { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; }
.g-hero__dot {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, 0.35); cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
.g-hero__dot.is-active { width: 26px; background: var(--g-gold); }
.g-hero .g-callback {
  border: 1px solid rgba(255, 255, 255, 0.25); border-top: 4px solid var(--g-gold);
  box-shadow: 0 22px 46px -16px rgba(0, 0, 0, .55);
  color: var(--g-ink); background: rgba(255, 255, 255, 0.98);
  border-radius: 4px; overflow: hidden;
}
.g-hero .g-callback .g-panel__title { background: #fff; color: var(--g-navy) !important; border-bottom: 1px solid var(--g-line); font-size: 18px !important; padding: 16px 18px 12px; }
.g-hero .g-callback .g-panel__title i { color: var(--g-blue); }
.g-callback__sub { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 500; color: var(--g-muted); }
.g-hero .g-callback .g-panel__body { padding: 14px 18px 18px; }
@media (prefers-reduced-motion: reduce) {
  .g-hero__slide { transition: none; transform: none; }
}

/* ---------- Quick access ---------- */
.g-quick { position: relative; z-index: 10; margin-top: -48px; }
.g-quick ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); list-style: none; margin: 0 auto; padding: 0 16px; }
.g-quick li { background: #fff; border: 1px solid var(--g-line); border-left-width: 0; box-shadow: 0 10px 24px -16px rgba(11, 53, 88, .45); }
.g-quick li:first-child { border-left-width: 1px; }
.g-quick a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 8px 16px; text-align: center; text-decoration: none !important; border-bottom: 3px solid transparent; height: 100%; }
.g-quick i { font-size: 24px; color: var(--g-blue); }
.g-quick span { font-size: 13.5px; font-weight: 700; color: var(--g-navy); line-height: 1.3; }
.g-quick a:hover { background: var(--g-tint); border-bottom-color: var(--g-gold); }
.g-quick a:hover span { text-decoration: underline; }

/* ---------- Updates badge ---------- */
.g-new { display: inline-block; margin-left: 6px; padding: 1px 6px; background: #C2704C; color: #fff; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; vertical-align: 1px; animation: g-blink 2.4s ease-in-out infinite; }
@keyframes g-blink { 50% { opacity: .55; } }
.g-updates time { display: inline; }
.g-updates li a { display: block; margin-top: 2px; }

/* ---------- Offices table ---------- */
.g-table-wrap { overflow-x: auto; border: 1px solid var(--g-line); background: #fff; }
.g-table--offices { border-style: hidden; }
.g-table--offices td:nth-child(2) { white-space: nowrap; color: var(--g-navy); }
.g-table--offices td:nth-child(4), .g-table--offices td:nth-child(5) { white-space: nowrap; }
.g-table--offices td:nth-child(3), .g-table td:nth-child(3) { white-space: normal; min-width: 210px; }
#contact .h-contact__branches-title, #contact .h-branches { display: none; }
.g-contact-hours {
  margin-top: 18px; padding: 16px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 3px solid var(--g-gold);
  border-radius: 4px;
}
.g-contact-hours h3 { font-size: 15px !important; color: #fff !important; margin-bottom: 8px !important; font-weight: 700 !important; }
.g-contact-hours h3 i { color: var(--g-gold); margin-right: 6px; }
.g-contact-hours p { font-size: 13.5px; color: #E6EEF6; margin-bottom: 4px !important; }
.g-contact-addr { color: #C6D6E6 !important; font-size: 13px !important; }

/* ---------- Stats strip in brand blue ---------- */
.g-stats { background: linear-gradient(180deg, #145487, #0B3558); }

@media (max-width: 991px) {
  .g-hero { padding: 36px 0 82px; }
  .g-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .g-hero__mark { width: 340px; right: -80px; top: 30%; }
  .g-quick ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-quick li:nth-child(4) { border-left-width: 1px; }
  .g-quick li:nth-child(n+4) { border-top-width: 0; }
}
@media (max-width: 640px) {
  .g-hero__mark { display: none; }
  .g-hero__facts { grid-template-columns: repeat(2, auto); row-gap: 14px; }
  .g-hero__facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .g-hero__actions .g-btn { flex: 1 1 100%; }
  .g-quick ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-quick li:nth-child(odd) { border-left-width: 1px; }
  .g-quick li:nth-child(n+3) { border-top-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .g-new { animation: none; } }
.h-page main .g-quick ul { margin: 0 auto !important; max-width: 1240px; }
/* Watermark: laurel-ring motif drawn in CSS (logo image has an opaque background) */
.g-hero__mark { width: 560px; height: 560px; right: -120px; opacity: 1; filter: none; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.07); box-shadow: inset 0 0 0 38px rgba(255,255,255,.025), inset 0 0 0 40px rgba(205,169,76,.12), 0 0 0 30px rgba(255,255,255,.02); }
.g-wrap, .h-container, .g-quick ul { box-sizing: border-box; }
.h-page main .g-quick ul { padding: 0 16px !important; }

/* ---------- Text on dark (blue) backgrounds: always light ---------- */
.h-page main .h-contact a:not(.h-btn), .h-page main .h-contact__list a, .h-page main .h-branches a,
.h-page main .g-hero__copy a:not(.g-btn):not(.g-hero__tag), .h-page main .g-stats a, .h-page main .g-banner__cap a { color: #F7F0DC !important; text-decoration: underline; text-underline-offset: 3px; }
.h-page main .h-contact a:not(.h-btn):hover, .h-page main .h-contact__list a:hover { color: #fff !important; }
.h-contact, .h-contact__info, .h-contact__list, .h-contact__list div { color: #E6EEF6; }
.h-contact__list strong { color: #fff !important; }
.h-contact__list i { background: rgba(205,169,76,.18) !important; color: #CDA94C !important; }

/* ---------- Contrast fixes (WCAG AA) ---------- */
/* Breadcrumb contrast fixed via inner-page hero override above */
/* Links inside white cards that sit on dark bands stay blue */
.h-page main .g-hero .g-callback a, .h-page main .h-contact .h-form a:not(.h-btn), .h-page main .h-contact .h-card a:not(.h-btn) { color: var(--g-link) !important; }
/* Buttons inside dark bands keep their own text colours */
.h-page main .h-contact .h-btn--gold, .h-page main .p-cta .h-btn--gold { color: #0B3558 !important; text-decoration: none !important; }
.h-page main .h-contact .h-btn--whatsapp, .h-page main .h-contact .h-btn--navy, .h-page main .p-cta .h-btn--whatsapp { color: #fff !important; text-decoration: none !important; }
/* Hero: brighter gold and captions on blue */
.g-hero__kicker { color: #F2DDA4 !important; border-bottom-color: rgba(232, 205, 134, .45); }
.g-hero__facts dd { color: #D6E3F0 !important; }
.g-hero__lead { color: #E8F0F8 !important; }
/* Small badges and labels */
.g-new { background: #A4512C; }
.s-post__bar--facebook, .s-post__bar--facebook a { color: #0F4FA8 !important; background: #EEF4FA !important; }
/* Legacy jobs list */
.job_day { color: #0056B3 !important; }
.job_month { color: #59626B !important; }

/* ---------- Office photo gallery ---------- */
.g-gallery__intro { margin: -6px 0 16px !important; color: var(--g-muted); font-size: 15px; }
.h-page main .g-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 180px; gap: 12px; list-style: none; margin: 0; padding: 0; }
.g-gallery__item--wide { grid-column: span 2; grid-row: span 2; }
.g-gallery__link { position: relative; display: block; height: 100%; overflow: hidden; border: 1px solid var(--g-line); background: var(--g-tint); }
.g-gallery__link img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; transition: transform .35s ease; }
.g-gallery__item--wide img { object-position: center; }
.g-gallery__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 7px 10px; background: rgba(11, 53, 88, .88); border-top: 2px solid var(--g-gold); color: #fff; font-size: 13px; font-weight: 600; }
.g-gallery__link:hover img, .g-gallery__link:focus-visible img { transform: scale(1.04); }
.g-gallery__link:focus-visible { outline: 3px solid var(--g-gold); outline-offset: 2px; }

.g-lightbox { padding: 0; border: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 94vh; overflow: visible; }
.g-lightbox::backdrop { background: rgba(8, 25, 42, .88); }
.g-lightbox figure { margin: 0; background: #0B3558; border-top: 3px solid var(--g-gold); }
.g-lightbox img { display: block; max-width: min(1100px, 94vw); max-height: calc(94vh - 52px); width: auto; height: auto; margin: 0 auto; }
.g-lightbox figcaption { padding: 12px 16px; color: #fff; font: 600 14px/1.4 var(--g-font); display: flex; justify-content: space-between; gap: 12px; }
.g-lightbox figcaption span { color: #D6E3F0; font-weight: 400; }
.g-lightbox__btn { position: absolute; width: 44px; height: 44px; border: 0; background: #fff; color: #0B3558; font-size: 18px; cursor: pointer; }
.g-lightbox__btn:hover { background: var(--g-gold); }
.g-lightbox__close { top: -14px; right: -14px; }
.g-lightbox__prev { left: -22px; top: 45%; }
.g-lightbox__next { right: -22px; top: 45%; }
@media (max-width: 991px) {
  .h-page main .g-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .g-gallery__item--wide { grid-row: span 1; }
}
@media (max-width: 640px) {
  .h-page main .g-gallery { grid-auto-rows: 170px; gap: 8px; }
  .g-gallery__item--wide { grid-column: 1 / -1; grid-row: span 1; height: auto; }
  .g-gallery__cap { font-size: 12px; padding: 5px 8px; }
  .g-lightbox__prev { left: 4px; } .g-lightbox__next { right: 4px; } .g-lightbox__close { top: 4px; right: 4px; }
}
@media (max-width: 640px) { .g-gallery__item--wide .g-gallery__link { aspect-ratio: 16 / 9; height: auto; } }
@media (max-width: 640px) {
  .h-page main .g-gallery { grid-auto-rows: auto; }
  .g-gallery__link { aspect-ratio: 1 / 1; height: auto; }
  .g-gallery__item--wide .g-gallery__link { aspect-ratio: 16 / 9; }
}
.g-lightbox:not([open]) { display: none !important; }
.g-lightbox[open] { position: fixed; inset: 0; margin: auto; width: fit-content; height: fit-content; }
