/* ==========================================================================
   Development Bank of Mauritius — homepage
   Palette derived from the DBM logo: deep navy, slate blue and bronze gold.
   ========================================================================== */

:root {
  --ink: #111b2e;
  --navy: #1b2942;
  --navy-deep: #131e33;
  --slate: #5a6488;
  --gold: #b0895f;
  --gold-soft: #c9ae86;
  --gold-tint: rgba(176, 137, 95, 0.1);
  --paper: #fbfaf7;
  --paper-2: #f3f1ec;
  --white: #ffffff;
  --line: rgba(17, 27, 46, 0.1);
  --line-strong: rgba(17, 27, 46, 0.18);
  --muted: #6d6d78;
  --muted-soft: #8d8d96;

  --font-sans: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;

  --maxw: 1220px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(17, 27, 46, 0.04), 0 12px 28px -18px rgba(17, 27, 46, 0.28);
  --shadow-md: 0 30px 70px -32px rgba(17, 27, 46, 0.34);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.06;
}

h1 {
  font-size: clamp(2.6rem, 5.1vw, 4.4rem);
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.08;
}

h3 {
  font-size: clamp(1.35rem, 1.9vw, 1.7rem);
  line-height: 1.15;
}

h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

p {
  color: var(--muted);
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--navy);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(251, 250, 247, 0.95);
}

/* Institutional strip above the main bar — differs from the other designs */

.header-util {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.68);
}

.header-util-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
}

.header-util-note {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-util-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 0 0 auto;
  font-size: 0.78rem;
}

.header-util-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.25s ease;
}

.header-util-links a:first-child {
  padding-right: 22px;
}

.header-util-links a:first-child::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 14px;
  margin-top: -7px;
  background: rgba(255, 255, 255, 0.22);
}

.header-util-links a:hover {
  color: #fff;
}

.header-bar {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: auto;
  height: 36px;
}

.sector-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  flex: 0 0 auto;
}

.sector-btn {
  position: relative;
  padding: 8px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.sector-btn:hover {
  color: var(--ink);
}

.sector-btn.is-active {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(17, 27, 46, 0.7);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.9vw, 28px);
  margin-left: auto;
}

.primary-nav a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.25s ease;
}

.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.primary-nav a:hover {
  color: var(--ink);
}

.primary-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  flex: 0 0 auto;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 14px 26px -16px rgba(17, 27, 46, 0.9);
  transition: transform 0.25s ease, background 0.25s ease;
}

.header-cta:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  flex: 0 0 auto;
}

.menu-toggle-bars {
  display: grid;
  gap: 5px;
  width: 17px;
}

.menu-toggle-bars i {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded='true'] .menu-toggle-bars i:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] .menu-toggle-bars i:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.mobile-nav-links {
  display: grid;
  padding: 8px var(--gutter) 20px;
}

.mobile-nav-links a {
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 500;
}

.mobile-nav-links a:last-child {
  border-bottom: 0;
  color: var(--gold);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Buttons and links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 18px 34px -20px rgba(17, 27, 46, 0.95);
}

.btn-primary:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--gold);
  background: var(--gold-tint);
}

.btn-light {
  background: #fff;
  color: var(--navy);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -20px rgba(0, 0, 0, 0.6);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.text-link span {
  transition: transform 0.25s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--gold-soft);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(36px, 6vw, 84px) 0 clamp(48px, 6vw, 88px);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -30% 40% 40% -20%;
  background: radial-gradient(circle at 30% 30%, rgba(176, 137, 95, 0.13), transparent 62%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero-copy h1 {
  max-width: 15ch;
}

.lede {
  max-width: 46ch;
  margin-top: 22px;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.hero-card {
  position: absolute;
  left: clamp(-28px, -2vw, 0px);
  bottom: clamp(-30px, -3vw, -22px);
  width: min(310px, 78%);
  padding: 22px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
}

.hero-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

.hero-card p {
  margin-top: 8px;
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Sector switch animation */
.is-switching [data-field],
.is-switching [data-part] {
  opacity: 0;
  transform: translateY(6px);
}

[data-field],
[data-part] {
  transition: opacity 0.32s ease, transform 0.32s ease;
}

/* --------------------------------------------------------------------------
   Credentials
   -------------------------------------------------------------------------- */

.credits {
  padding-bottom: clamp(48px, 6vw, 88px);
}

.credits-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
  overflow: hidden;
}

.credit {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 36px) clamp(20px, 2.4vw, 32px);
  background: var(--white);
}

.credit::before {
  content: '';
  width: 22px;
  height: 2px;
  margin-bottom: 22px;
  border-radius: 2px;
  background: var(--gold);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.credit:hover::before {
  width: 40px;
}

.credit strong {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.1vw, 2.85rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.credit span {
  margin-top: 10px;
  font-size: 0.83rem;
  line-height: 1.5;
  color: var(--muted-soft);
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: clamp(52px, 7vw, 104px) 0;
}

.section-tint {
  background: var(--paper-2);
}

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.section-lede {
  margin-top: 18px;
  font-size: 1.02rem;
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.card-media {
  overflow: hidden;
}

.card-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .card-media img {
  transform: scale(1.04);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(22px, 2.4vw, 30px);
}

.tag {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card-body h3 {
  margin-bottom: 10px;
}

.card-body > p {
  font-size: 0.95rem;
}

.card-list {
  margin-top: 20px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.card-list li {
  position: relative;
  padding: 11px 0 11px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}

.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-soft);
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  padding-top: 26px;
  border-top: 1px solid var(--line-strong);
}

.step-num {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.step h3 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
}

.step p {
  font-size: 0.95rem;
}

/* Split feature */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
}

.split-copy h2 {
  max-width: 18ch;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 0.97rem;
  color: var(--muted);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-tint);
  box-shadow: inset 0 0 0 1px rgba(176, 137, 95, 0.35);
}

.check-list li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 9px;
  width: 5px;
  height: 2.5px;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* News */

.news-list {
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.news-list a {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s ease;
}

.news-list a:hover {
  padding-left: 10px;
}

.news-list time {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted-soft);
}

.news-title {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.news-arrow {
  justify-self: end;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.news-list a:hover .news-arrow {
  transform: translateX(4px);
}

/* Institutional cards */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.info-card h3 {
  font-size: clamp(1.3rem, 1.7vw, 1.55rem);
}

.info-card p {
  font-size: 0.94rem;
}

.info-card .text-link {
  margin-top: auto;
  padding-top: 8px;
}

/* Contact */

.contact {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 80px);
}

.contact h2 {
  color: #fff;
  max-width: 14ch;
}

.contact p {
  margin-top: 18px;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.72);
}

.contact-details {
  display: grid;
  gap: 22px;
  align-content: start;
  padding-top: 6px;
}

.contact-item {
  display: grid;
  gap: 5px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-item span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.contact-item strong,
.contact-item a {
  font-size: 1.06rem;
  font-weight: 500;
  color: #fff;
}

.contact-item a:hover {
  color: var(--gold-soft);
}

.contact-details .btn {
  justify-self: start;
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding: clamp(48px, 6vw, 78px) 0 32px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}

.footer-brand img {
  height: 40px;
  width: auto;
}

.footer-brand p {
  max-width: 38ch;
  margin-top: 18px;
  font-size: 0.9rem;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-col h4 {
  margin-bottom: 4px;
}

.footer-col a,
.footer-col span {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--muted-soft);
}

.footer-branches {
  max-width: 62ch;
  text-align: right;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .header-bar {
    min-height: 72px;
  }

  .primary-nav {
    gap: 16px;
  }

  .primary-nav a {
    font-size: 0.86rem;
  }

  .header-cta {
    padding: 10px 18px;
    font-size: 0.86rem;
  }
}

@media (max-width: 980px) {
  .primary-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .sector-switch {
    margin-left: auto;
  }

  .menu-toggle {
    margin-left: 10px;
  }

  .mobile-nav[hidden] {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero-grid,
  .split,
  .contact-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy h1,
  .split-copy h2,
  .contact h2 {
    max-width: none;
  }

  .hero-media {
    order: -1;
  }

  .hero-card {
    left: 0;
    bottom: 0;
    width: min(320px, 86%);
  }

  .card-grid,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .credits-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .news-list a {
    grid-template-columns: minmax(0, 1fr) 24px;
    grid-template-areas:
      'date arrow'
      'title title';
    gap: 8px 16px;
    align-items: start;
  }

  .news-list time {
    grid-area: date;
  }

  .news-title {
    grid-area: title;
  }

  .news-arrow {
    grid-area: arrow;
  }

  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-branches {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .header-util-links {
    display: none;
  }

  .header-util-bar {
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .card-grid,
  .info-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-card {
    position: static;
    width: 100%;
    margin-top: 16px;
  }

  .contact-details .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .brand img {
    height: 28px;
  }

  .sector-btn {
    padding: 7px 13px;
    font-size: 0.82rem;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
    margin-left: 8px;
  }

  .credit strong {
    font-size: 1.8rem;
  }
}

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
