/* ===========================================================
   Serac Global - UI/UX Mockup  &middot;  Variation B "Modern Trade House"
   Style guide: Mona Sans ï¿½ teal, white, black palette
   Sharper, structured, premium-corporate direction
   =========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Mona+Sans:ital,wght@0,300..800;1,300..600&display=swap');

:root {
  --teal: #098098;
  --teal-d: #098098;
  --teal-dd: #098098;
  --teal-ddd: #0a2a36;
  --teal-light: #098098;
  --teal-lighter: #098098;
  --teal-pale: #ffffff;
  --sky: #ffffff;
  --sky-light: #ffffff;
  --sand: #ffffff;
  /* warm neutral accent */
  --ink: #000000;
  --body: #000000;
  --muted: #000000;
  --line: #e1e9eb;
  --line-d: #ffffff;
  --bg: #ffffff;
  --bg-soft: #ffffff;
  --bg-tint: #ffffff;
  --radius: 15px;
  --radius-sm: 15px;
  --shadow: 0 18px 50px -24px rgba(37, 150, 190, .3);
  --shadow-sm: 0 10px 30px -18px rgba(37, 150, 190, .25);
  --wrap: 1200px;
  --font: "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}


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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.req {
  color: #d92d20
}

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

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

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.015em
}

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

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 300
}

h3 {
  font-size: 1.25rem;
  font-weight: 500
}

p {
  margin: 0 0 1rem
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 30px
}

.section {
  padding: 60px 0
}

.center {
  text-align: center
}

.lede {
  font-size: 1.12rem;
  max-width: 640px
}

.center .lede {
  margin: 0 auto
}

/* kicker with rule */
.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 22px
}

.kicker:before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--teal)
}

.center .kicker {
  justify-content: center
}

/* section heading - adjusted cleanly to the left */
.sec-head {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.sec-head .no {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--teal);
  background: var(--bg-tint);
  padding: 3px 10px;
  border-radius: 6px;
}

.sec-head .sec-num-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--teal);
  background: var(--bg-tint);
  padding: 2px 8px;
  border-radius: 6px;
  margin-right: 2px;
}

/* buttons - 15px border radius across website */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 16px 26px;
  border-radius: 15px;
  transition: .25s;
  cursor: pointer;
  border: 1.5px solid transparent
}

.btn .ar {
  transition: .25s
}

.btn:hover .ar {
  transform: translateX(4px)
}

.btn-primary {
  background: var(--teal);
  color: #fff
}

.btn-primary:hover {
  background: var(--teal-d)
}

.btn-dark {
  background: var(--ink);
  color: #fff
}

.btn-dark:hover {
  background: #000
}

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

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal)
}

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

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .4)
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, .1)
}

/* ---------- header ---------- */
.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 85;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(10, 42, 54, 0.05);
  transition: background .35s ease, backdrop-filter .35s ease, box-shadow .35s ease, border-color .35s ease;
}

/* Scrolled state: Header becomes transparent while maintaining the same appearance and styling */
.top.scrolled {
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid rgba(225, 233, 235, 0.4);
  box-shadow: none;
}



.top .nav,
.top .wrap {
  max-width: none;
  width: 100%;
  padding: 0 40px;
  box-sizing: border-box;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.brand img {
  height: 52px;
  width: auto;
  display: block;
}

/* Maintain consistent dark brand logo across both initial white and transparent scrolled states */
.brand .logo-final {
  display: none !important;
}

.brand .logo-transparent {
  display: block !important;
}

.flogo {
  height: 38px;
  width: auto;
  display: block;
  margin-bottom: 16px
}

.brand .mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -.03em
}

.brand b {
  color: var(--ink);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .03em;
  display: block;
  line-height: 1
}

.brand span {
  font-size: .58rem;
  letter-spacing: .36em;
  color: var(--muted);
  text-transform: uppercase
}

.menu {
  display: flex;
  gap: 34px;
  list-style: none
}

.menu a {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #000;
  padding: 28px 0;
  position: relative;
  transition: color .25s ease;
}

.menu>li>a {
  display: inline-flex;
  align-items: center;
  height: 80px;
  padding: 0;
}

.menu a:hover,
.menu a.active {
  color: var(--teal)
}

.menu a.active:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 17px;
  width: 100%;
  height: 2px;
  background: var(--teal);
  border-radius: 1px;
  transition: background .25s ease;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px
}

.nav-cta .btn {
  height: 46px;
  padding: 0 22px;
  font-size: .80rem;
  letter-spacing: .06em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  box-sizing: border-box;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  padding: 14px 9px;
  margin-right: -9px;
  background: none;
  border: 0;
  cursor: pointer
}

.burger span {
  width: 26px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- hero slider (full-bleed) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--teal-ddd)
}

.slides {
  position: relative;
  height: clamp(560px, 76vh, 700px)
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-top: 80px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s
}

.slide.on {
  opacity: 1;
  visibility: visible;
  z-index: 2
}

.slide>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.slide .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 42, 54, 0.72) 0%, rgba(10, 42, 54, 0.5) 55%, rgba(10, 42, 54, 0.32) 100%),
    linear-gradient(180deg, rgba(10, 42, 54, 0.6) 0%, transparent 30%, transparent 75%, rgba(10, 42, 54, 0.45) 100%);
  z-index: 2;
  pointer-events: none;
}

.slide .wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: calc(var(--wrap) - 120px);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
  margin-left: 120px !important;
}

.slide .kicker {
  color: var(--sky)
}

.slide .kicker:before {
  background: var(--sky)
}

.slide h1 {
  color: #fff;
  max-width: 900px;
  margin-bottom: 24px
}

.slide p,
.slide .slider-p {
  color: rgba(255, 255, 255, .82) !important;
  font-size: 1.18rem;
  max-width: 580px;
  font-weight: 300
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 38px;
  flex-wrap: wrap
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .38);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  transition: .25s;
  backdrop-filter: blur(4px)
}

.hero-nav:hover {
  background: #fff;
  color: var(--teal);
  border-color: var(--line)
}

.hero-nav.prev {
  left: 16px
}

.hero-nav.next {
  right: 16px
}

.hero-dots {
  position: absolute;
  left: 30px;
  bottom: 36px;
  z-index: 6;
  display: flex;
  gap: 10px
}

.hero-dots button {
  border: 0;
  padding: 0;
  width: 30px;
  height: 3px;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  transition: .25s
}

.hero-dots button.on {
  background: var(--sky)
}

/* ---------- services rows ---------- */
.srow {
  display: grid;
  grid-template-columns: 60px 1fr 1.1fr auto;
  gap: 32px;
  align-items: center;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  transition: .2s
}

.srow:last-child {
  border-bottom: 1px solid var(--line)
}

.srow:hover {
  background: var(--bg-soft)
}

.srow .n {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal)
}

.srow h3 {
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--ink)
}

.srow p {
  margin: 0;
  font-size: .98rem
}

.srow .go {
  white-space: nowrap;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal)
}

/* ---------- feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  max-width: var(--wrap);
  width: 100%;
  margin: 40px auto;
  border-radius: var(--radius);
  overflow: hidden;
}

.wrap > .split {
  max-width: 100%;
  width: 100%;
  margin: 30px 0 50px 0;
}

.split .txt {
  padding: 70px
}

.split .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 440px
}

/* ---------- Full-width Industrial Procurement Section ---------- */
.split-full {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

.split-full .txt {
  padding: 85px 60px 85px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-full .txt>* {
  max-width: none;
}

.split-full .img {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

.split-full .img img {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  display: block;
}

@media (max-width: 1260px) {
  .split-full .txt {
    padding: 70px 40px;
  }
}

@media (max-width: 940px) {
  .split-full {
    grid-template-columns: 1fr;
  }

  .split-full .txt {
    padding: 50px 24px;
  }

  .split-full .txt>* {
    max-width: 100%;
  }

  .split-full .img img {
    min-height: 320px;
  }
}

.dark {
  background: var(--teal-dd);
  color: #fff
}

.dark h2,
.dark h3 {
  color: #fff
}

.dark p {
  color: #fff
}

.dark .kicker {
  color: var(--sky)
}

.dark .kicker:before {
  background: var(--sky)
}

.linklist {
  list-style: none;
  margin: 24px 0 0
}

.linklist li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: .98rem
}

.linklist li span:last-child {
  color: var(--sky);
  font-weight: 600
}

/* ---------- Who We Are (Map Background) ---------- */
.who-we-are {
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  background-image: linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)), url('../assets/world-map-bg.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 90px 0;
}

.who-txt {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  text-align: center;
  padding: 10px 0;
}

.who-txt .kicker {
  justify-content: center;
}

.who-txt h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.who-txt p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--body);
  margin-bottom: 14px;
}

.who-txt .hero-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* ---------- Brands Section (100% Full Width Edge-to-Edge) ---------- */
.brands-sec {
  background: #ffffff;
  padding: 60px 0 68px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  width: 100%;
}

.wrap-full {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 40px;
  box-sizing: border-box;
}

.brands-sec .partners {
  width: 100%;
  max-width: 100%;
}

.brands-sec .partners h5,
.split .partners h5,
.partners h5 {
  color: var(--teal);
  font-size: .76rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.brands-sec .partners h5:before,
.split .partners h5:before,
.partners h5:before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--teal);
}

.story-txt {
  width: 100%;
  max-width: 100%;
  text-align: left;
}

.story-txt p {
  width: 100%;
  max-width: 100%;
}


.brandbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  max-width: 100%;
  margin: 0 auto;
}

.brandbar div {
  width: 160px;
  height: 70px;
  display: grid;
  place-items: center;
  background: #fff;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: .25s;
}

.brandbar div:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 150, 190, 0.1);
}

.brandbar img {
  max-width: 100%;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 640px) {
  .wrap-full {
    padding: 0 16px;
  }

  .brandbar {
    gap: 10px;
  }

  .brandbar div {
    width: calc(50% - 6px);
    height: 64px;
  }
  .wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 20px;
}


}

/* ---------- Commodity Range Section Header ---------- */
.comm-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 48px;
  gap: 0;
}

/* Kicker pill - sits above the main title */
.comm-head .comm-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 16px 0;
  padding: 6px 18px;
  border: 1.5px solid var(--teal);
  border-radius: 100px;
  background: rgba(37, 150, 190, .06);
}

.comm-head .comm-subtitle::before,
.comm-head .comm-subtitle::after {
  display: none;
}

/* Main section title */
.comm-head .comm-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 18px 0;
}

/* Thin teal rule under the title */
.comm-head .comm-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin: 14px auto 0;
}

/* Short description */
.comm-head .comm-desc {
  font-size: .98rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 360px;
  letter-spacing: 0;
}

/* ---------- commodities (Website A match) ---------- */
.comm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.comm {
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  transition: .28s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02)
}

.comm:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(37, 150, 190, 0.3)
}

.comm .ph {
  aspect-ratio: 16/10;
  background: var(--bg-tint);
  overflow: hidden
}

.comm .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s
}

.comm:hover .ph img {
  transform: scale(1.07)
}

.comm .b {
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.comm-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 4px;
  display: block;
}

.comm h4 {
  color: var(--ink);
  font-weight: 600;
  font-size: 1.08rem;
  margin: 0;
  line-height: 1.25;
}

.comm span:not(.comm-tag) {
  font-size: .86rem;
  color: var(--muted);
  margin: 0;
}

/* legacy cell fallback */
.cgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.cell {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  background: #fff
}

/* ---------- why choose (Website A match) ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px
}

.why {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 32px 26px;
  transition: .25s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02)
}

.why:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(37, 150, 190, 0.3)
}

.why .ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bg-tint);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 18px
}

.why h4 {
  color: var(--ink);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 8px
}

.why p {
  font-size: .92rem;
  color: var(--body);
  margin: 0;
  line-height: 1.6
}

/* legacy wcell fallback */
.wgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px
}

.wcell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 32px 24px
}

.wcell .n {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--teal);
  margin-bottom: 26px
}

.wcell h4 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px
}

.wcell p {
  font-size: .94rem;
  margin: 0
}

/* ---------- blog ---------- */
.bgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px
}

.bpost .ph {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--teal-dd);
  margin-bottom: 20px
}

.bpost .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s
}

.bpost:hover .ph img {
  transform: scale(1.05)
}

.bpost .meta {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px
}

.bpost h4 {
  font-size: 1.16rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px
}

/* ---------- big cta ---------- */
.cta {
  background: var(--teal);
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center
}

.cta .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  padding: 84px 30px;
  text-align: center
}

.cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .16
}

.cta h2 {
  color: #fff;
  margin-bottom: 16px
}

.cta p {
  color: #fff;
  max-width: 680px;
  margin: 0 auto 30px
}

.cta .hero-actions {
  justify-content: center;
  margin-top: 0
}

/* light CTA - used when the sections above & below are dark */
.cta.light {
  background: var(--teal);
  color: #fff;
  border-top: 0;
  border-bottom: 0
}

.cta.light h2 {
  color: #fff
}

.cta.light p {
  color: #fff
}

.cta.light .kicker {
  color: #fff !important
}

.cta .kicker,
.cta.light .kicker {
  justify-content: center;
  color: #fff !important
}

.cta .kicker:before,
.cta.light .kicker:before {
  background: #fff
}

.cta.light .btn-primary {
  background: #fff;
  color: var(--teal)
}

.cta.light .btn-primary:hover {
  background: var(--teal-ddd);
  color: #fff
}

@media (max-width: 768px) {
  .cta {
    min-height: 320px
  }

  .cta .wrap {
    padding: 60px 20px
  }
}

.why p {
  font-size: .92rem;
  color: var(--body);
  margin: 0;
  line-height: 1.6
}

/* legacy wcell fallback */
.wgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px
}

.wcell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 32px 24px
}

.wcell .n {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--teal);
  margin-bottom: 26px
}

.wcell h4 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px
}

.wcell p {
  font-size: .94rem;
  margin: 0
}

/* ---------- blog ---------- */
.bgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px
}

.bpost .ph {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--teal-dd);
  margin-bottom: 20px
}

.bpost .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s
}

.bpost:hover .ph img {
  transform: scale(1.05)
}

.bpost .meta {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px
}

.bpost h4 {
  font-size: 1.16rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px
}

/* ---------- big cta ---------- */
.cta {
  background: var(--teal);
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center
}

.cta .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  padding: 84px 30px;
  text-align: center
}

.cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .16
}

.cta h2 {
  color: #fff;
  margin-bottom: 16px
}

.cta p {
  color: #fff;
  max-width: 680px;
  margin: 0 auto 30px
}

.cta .hero-actions {
  justify-content: center;
  margin-top: 0
}

/* light CTA - used when the sections above & below are dark */
.cta.light {
  background: var(--teal);
  color: #fff;
  border-top: 0;
  border-bottom: 0
}

.cta.light h2 {
  color: #fff
}

.cta.light p {
  color: #fff
}

.cta.light .kicker {
  color: #fff !important
}

.cta .kicker,
.cta.light .kicker {
  justify-content: center;
  color: #fff !important
}

.cta .kicker:before,
.cta.light .kicker:before {
  background: #fff
}

.cta.light .btn-primary {
  background: #fff;
  color: var(--teal)
}

.cta.light .btn-primary:hover {
  background: var(--teal-ddd);
  color: #fff
}

@media (max-width: 768px) {
  .cta {
    min-height: 320px
  }

  .cta .wrap {
    padding: 60px 20px
  }
}

/* ---------- footer ---------- */
footer {
  background: var(--teal-ddd);
  color: #fff;
  padding: 60px 0 26px
}

.fgrid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.25fr;
  gap: 40px
}

footer h5 {
  color: #fff;
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 700
}

.fgrid > div:not(.fbrand) a {
  display: block;
  padding: 5px 0;
  font-size: .92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .85);
  transition: color .2s ease
}

.fgrid > div a:hover {
  color: #fff
}

footer a {
  color: #fff
}

.fbrand .mark {
  width: 44px;
  height: 44px;
  background: var(--teal);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px
}

.fbrand p {
  font-size: .92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .85);
  max-width: 290px;
  margin: 0 0 16px
}

.fsocial {
  display: flex;
  gap: 10px;
  margin-top: 16px
}

.fsocial a {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #fff;
  white-space: normal !important;
  line-height: 1 !important;
  text-decoration: none !important;
  transition: all .25s ease;
  box-sizing: border-box !important;
}

.fsocial a:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}

.fsocial svg {
  width: 17px !important;
  height: 17px !important;
  display: block !important;
  margin: auto !important;
  flex-shrink: 0 !important;
}

.f-contact-address {
  margin-bottom: 12px;
  line-height: 1.55;
}

.f-contact-address,
.f-contact-address * {
  color: rgba(255, 255, 255, .85) !important;
  font-size: .92rem !important;
  font-family: inherit !important;
  background-color: transparent !important;
}

.f-contact-address p {
  margin: 0 0 8px 0 !important;
  line-height: 1.55 !important;
}

.f-contact-address p:last-child {
  margin-bottom: 0 !important;
}

.f-contact-address strong,
.f-contact-address b {
  color: #fff !important;
  font-weight: 600 !important;
}

.fbottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 38px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .84rem;
  color: rgba(255, 255, 255, .7);
  flex-wrap: wrap;
  gap: 12px
}

.fbottom a {
  display: inline !important;
  padding: 0 !important;
  color: rgba(255, 255, 255, .85);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease
}

.fbottom a:hover {
  color: var(--teal) !important
}

.f-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.f-legal-links .f-dot {
  opacity: 0.45;
  font-size: 1.05rem;
  line-height: 1;
  user-select: none;
}

/* ---------- page header / breadcrumb hero ---------- */
.pagehead {
  position: relative;
  background: var(--teal-ddd);
  color: #fff;
  overflow: hidden;
  height: 400px;
  min-height: 400px;
  display: flex;
  align-items: center;
  padding-top: 80px;
  box-sizing: border-box;
}

.pagehead img,
.pagehead video,
.pagehead .breadcrumb-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}

.pagehead:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 26, 34, 0.76) 0%, rgba(8, 33, 44, 0.58) 55%, rgba(10, 42, 54, 0.38) 100%);
  z-index: 1;
}

.pagehead .breadcrumb-overlay {
  display: none;
}

.pagehead .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 30px;
  box-sizing: border-box;
  text-align: left;
}

.pagehead .kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.pagehead .kicker:before {
  content: "";
  width: 34px;
  height: 2px;
  background: #fff;
}

.pagehead h1,
.pagehead h1.breadcrumb-title {
  color: #fff;
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 350;
  line-height: 1.16;
  letter-spacing: -.015em;
  margin: 0 0 16px;
  max-width: 980px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  margin: 0;
}

.crumb,
.breadcrumb-nav .crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin: 0;
}

.crumb a,
.breadcrumb-nav .crumb a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
  text-decoration: none;
}

.crumb a:hover,
.breadcrumb-nav .crumb a:hover {
  color: #fff;
}

.crumb-sep,
.breadcrumb-nav .crumb-sep {
  opacity: 0.45;
}

.crumb .current,
.breadcrumb-nav .crumb .current {
  color: #fff;
  font-weight: 600;
}

@media (max-width: 768px) {
  .pagehead {
    height: auto;
    min-height: 380px;
    padding-top: 90px;
    padding-bottom: 36px;
  }

  .pagehead .wrap {
    padding: 0 20px;
  }

  .pagehead h1,
  .pagehead h1.breadcrumb-title {
    font-size: clamp(1.85rem, 5vw, 2.4rem);
    margin-bottom: 14px;
  }
}

/* ---------- forms ---------- */
.form {
  background: #fff;
  border-radius: 16px;
  padding: 44px;
  box-shadow: var(--shadow-sm);
}

.field {
  margin-bottom: 20px
}

.field label {
  display: block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 9px
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: .96rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.field select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 18px) center;
  background-size: 16px 16px;
  padding-right: 46px;
}

.field select:hover {
  border-color: var(--teal-lighter);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(37, 150, 190, .15);
}

.field select option {
  color: var(--ink);
  background: #fff;
  padding: 8px 12px;
}

/* Unified Phone Input Group with Country Code Dropdown */
.c-phone-group {
  display: flex;
  align-items: stretch;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;
}

.c-phone-group:hover {
  border-color: var(--teal-lighter, #b5cacf);
}

.c-phone-group:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(37, 150, 190, .15);
}

.c-country-code-span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 0 0 76px;
  width: 76px;
  padding: 0 8px 0 12px;
  background: #f8fafb;
  border-right: 1px solid var(--line);
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease, border-color 0.25s ease;
  box-sizing: border-box;
}

.c-phone-group:hover .c-country-code-span {
  border-right-color: var(--teal-lighter, #b5cacf);
}

.c-phone-group:focus-within .c-country-code-span {
  border-right-color: var(--line);
  background: #f1f6f8;
}

.c-country-code-span:hover {
  background: #edf4f6;
}

.c-cc-display {
  font-family: inherit;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  pointer-events: none;
  line-height: 1;
}

.c-country-code-span .c-select-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7b9299;
  pointer-events: none;
}

.c-country-code-span .c-select-arrow svg {
  width: 10px;
  height: 10px;
  stroke-width: 2.2;
}

.c-country-code-span select {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  cursor: pointer !important;
  -webkit-appearance: none;
  appearance: none;
  z-index: 2;
  font-size: 16px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.c-phone-input-span {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
}

.c-phone-input-span input[type="tel"] {
  width: 100% !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 14px 16px !important;
  font-family: inherit;
  font-size: .96rem;
  color: var(--ink);
  outline: none !important;
}

/* Dynamic product selection field */
.field-product {
  animation: fieldFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fieldFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.icard {
  display: flex;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--line-d)
}

.icard .ic {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, .08);
  color: var(--sky);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  flex: none;
  border-radius: 10px
}

.icard h4 {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
  margin-bottom: 4px
}

.icard p {
  margin: 0;
  color: #fff;
  font-size: 1rem
}

.icard a {
  color: #fff
}

.map {
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  height: 420px;
  background: var(--bg-soft)
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0
}

.vmgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden
}

.vm {
  background: #fff;
  padding: 48px
}

.vm .n {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--teal);
  margin-bottom: 20px
}

.vgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px
}

.vitem {
  border-top: 3px solid var(--teal);
  padding-top: 24px
}

.vitem h3 {
  margin-bottom: 8px
}

@media(max-width:1150px) {
  .fgrid {
    grid-template-columns: 1.3fr 1fr;
    gap: 40px 32px
  }
}

@media(max-width:940px) {

  .menu,
  .nav-cta .btn {
    display: none
  }

  .burger {
    display: flex
  }

  .split,
  .cgrid,
  .wgrid,
  .comm-grid,
  .why-grid,
  .who-split,
  .bgrid,
  .vmgrid,
  .vgrid {
    grid-template-columns: 1fr
  }

  .cell,
  .wcell {
    border-right: 0
  }

  .srow {
    grid-template-columns: 40px 1fr;
    gap: 12px
  }

  .srow p,
  .srow .go {
    grid-column: 2
  }

  .split .txt {
    padding: 44px 30px
  }

  .row2 {
    grid-template-columns: 1fr
  }

  .section {
    padding: 40px 0
  }

  .menu a {
    padding: 10px 0
  }
}

@media(max-width:680px) {
  .fgrid {
    grid-template-columns: 1fr;
    gap: 32px
  }
}


/* ---- get in touch ---- */
.gitouch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: start
}

.git-info>p {
  margin-bottom: 26px;
  max-width: 440px;
  font-size: 1.06rem
}

.git-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line)
}

.git-line .ic {
  width: 46px;
  height: 46px;
  background: var(--bg-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  flex: none;
  border-radius: 12px
}

.git-line b {
  display: block;
  color: var(--ink);
  font-size: .95rem
}

.git-line span {
  font-size: .88rem;
  color: var(--muted)
}

.slider-wraping {
  margin-left: 60px;
  max-width: 860px;
}

@media(max-width:940px) {
  .slider-wraping {
    margin-left: 44px;
    max-width: 100%;
  }
}

@media(max-width:640px) {
  .slider-wraping {
    margin-left: 20px;
  }
}

/* ---- mobile menu drawer ---- */
@media(max-width:940px) {
  .nav {
    position: relative
  }



  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 8px 26px 18px;
    box-shadow: 0 24px 44px -22px rgba(0, 0, 0, .3);
    border-top: 1px solid var(--line);
    z-index: 70
  }

  .menu.open {
    display: flex
  }

  .menu a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem
  }

  .gitouch {
    grid-template-columns: 1fr
  }
}

.git-line a {
  color: var(--teal);
  font-weight: 600
}

/* inline icon glyphs render crisply at every badge size */
.ic svg {
  width: 22px;
  height: 22px;
  display: block
}

.crow .ic svg,
.dline .ic svg {
  width: 24px;
  height: 24px
}

/* ===========================================================
   Header drawer  &middot;  mirrors the live site's slide-out panel
   =========================================================== */
.nav-toggle {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(37, 150, 190, .08);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
  box-sizing: border-box;
  transition: .25s;
}

.nav-toggle:hover {
  color: var(--teal);
  border-color: var(--teal)
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  display: block
}

.drawer-scrim {
  position: fixed;
  inset: 0;
  background: rgba(10, 42, 54, .55);
  opacity: 0;
  visibility: hidden;
  transition: .35s;
  z-index: 90
}

.drawer-scrim.open {
  opacity: 1;
  visibility: visible
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 88vw;
  height: 100%;
  background: var(--bg-soft);
  z-index: 100;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .4s;
  overflow-y: auto;
  padding: 36px 34px 44px;
  visibility: hidden
}

.drawer.open {
  transform: none;
  visibility: visible;
  box-shadow: -24px 0 60px -30px rgba(0, 0, 0, .5);
  transition-delay: 0s
}

.drawer-close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: .25s
}

.drawer-close:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal)
}

.drawer .dlogo {
  height: 54px;
  width: auto;
  max-width: 190px;
  margin-bottom: 34px;
  object-fit: contain
}

.drawer h4 {
  color: var(--teal);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 16px
}

.drawer>p,
.drawer>.drawer-summary {
  font-size: .94rem;
  color: var(--body);
  margin-bottom: 16px;
}

.drawer>.drawer-summary p,
.drawer>.drawer-summary div {
  margin: 0 0 8px;
  line-height: 1.5;
}

.drawer>.drawer-summary p:last-child,
.drawer>.drawer-summary div:last-child {
  margin-bottom: 0;
}

.drawer .est {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .88rem;
  color: var(--ink);
  font-weight: 600;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px
}

.dline {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px
}

.dline .ic {
  width: 46px;
  height: 46px;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 12px
}

.dline b {
  display: block;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 3px
}

.dline span,
.dline a {
  font-size: .95rem;
  color: var(--ink);
  line-height: 1.5
}

.dline a:hover {
  color: var(--teal)
}

.dsocial {
  display: flex;
  gap: 10px;
  margin-top: 30px
}

.dsocial a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
  transition: .25s
}

.dsocial svg {
  width: 19px;
  height: 19px
}

.dsocial a:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal)
}

.dsearch {
  margin-top: 26px;
  display: flex;
  gap: 8px
}

.dsearch input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  font-family: inherit;
  font-size: .92rem
}

.dsearch input:focus {
  outline: none;
  border-color: var(--teal)
}

.dsearch button {
  padding: 0 20px;
  border: 0;
  border-radius: 15px;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  font-family: inherit;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: .25s
}

.dsearch button:hover {
  background: var(--teal-d)
}

body.drawer-open {
  overflow: hidden
}

/* ===========================================================
   Four verticals  &middot;  numbered cards with a cut-out corner
   (format taken from the live Serac Global site)
   =========================================================== */
.verticals {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 48px;
  align-items: stretch
}

.vert-intro {
  display: flex;
  flex-direction: column
}

.vert-intro .vimg {
  position: relative;
  flex: 1;
  min-height: 280px;
  overflow: hidden;
  margin-top: 32px;
  background: var(--teal-dd);
  border-radius: 15px;
}

.vslides {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
}

.vslide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease, visibility .7s ease, transform .7s ease;
  transform: scale(1.03);
}

.vslide.on {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.vslide img,
.vslide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vslider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
  padding: 5px 12px;
  background: rgba(10, 42, 54, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 20px;
}

.vslider-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all .25s ease;
}

.vslider-dots span.on {
  width: 20px;
  border-radius: 8px;
  background: #ffffff;
}

.vslider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  z-index: 10;
  opacity: 0;
  transition: opacity .25s ease, background .25s ease, transform .25s ease;
}

.vert-intro .vimg:hover .vslider-nav {
  opacity: 1;
}

.vslider-nav.prev {
  left: 12px;
}

.vslider-nav.next {
  right: 12px;
}

.vslider-nav:hover {
  background: var(--teal);
  border-color: var(--teal);
}

.fcards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 20px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.fcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 20px 32px 46px;
  border-radius: 15px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
  transition: box-shadow .3s cubic-bezier(0.16, 1, 0.3, 1), border-color .3s ease, transform .3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  height: 100%;
  box-sizing: border-box;
}

.fcard h3 {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 12px;
  min-height: 2.5em;
  display: flex;
  align-items: flex-start;
}

.fcard p {
  font-size: .94rem;
  line-height: 1.6;
  margin-bottom: 22px;
  min-height: 4.8em;
  color: var(--body);
}

.fcard .fimg {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--bg-soft);
  border-radius: 10px;
  flex-shrink: 0;
}

.fcard .fimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.fcard:hover {
  border-color: rgba(37, 150, 190, 0.4);
  box-shadow: 0 16px 36px -6px rgba(9, 128, 152, 0.18), 0 4px 14px rgba(0, 0, 0, 0.05);
  transform: translateY(-6px);
}

.fcard.dark:hover {
  border-color: rgba(94, 219, 242, 0.35);
  box-shadow: 0 16px 36px -6px rgba(9, 128, 152, 0.32), 0 8px 24px rgba(10, 42, 54, 0.35);
}

.fcard:hover .fimg img {
  transform: scale(1.06);
}

.fcard .go {
  margin-top: auto;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  transition: transform .25s ease, color .25s ease;
}

.fcard:hover .go {
  transform: translateX(4px);
}

.fcard.dark {
  background: var(--teal-dd);
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(37, 123, 137, .18);
}

.fcard.dark h3 {
  color: #fff;
}

.fcard.dark p,
.fcard.dark .fcard-desc,
.fcard.dark .fcard-desc p,
.fcard.dark div:not(.fimg):not(.fnum) {
  color: #fff;
}

.fcard.dark .go {
  color: var(--sky);
}

/* the cut-out corner carrying the vertical's number */
.fnum {
  position: absolute;
  right: -1px;
  bottom: -1px;
  line-height: 0;
  border-bottom-right-radius: 15px;
}

.fnum i {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-right-radius: 15px;
  font-style: normal;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .06em;
  color: var(--teal);
  line-height: 1;
}

.fcard.dark .fnum i {
  border-color: transparent;
  border-bottom-right-radius: 15px;
}

/* ===========================================================
   Channel-partner wall inside the procurement split
   =========================================================== */
.split .partners {
  grid-column: 1/-1;
  background: #ffffff;
  padding: 48px 70px 64px;
  border-top: 1px solid var(--line)
}

.split .partners h5 {
  color: var(--teal);
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px
}

.brandbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center
}

.brandbar div {
  width: 158px;
  height: 68px;
  display: grid;
  place-items: center;
  background: #fff;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: .25s
}

.brandbar div:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 150, 190, 0.1)
}

.brandbar img {
  max-width: 100%;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain
}

/* ===========================================================
   Contact details  &middot;  matching the live site's contact page
   =========================================================== */
.csocial {
  display: flex;
  gap: 12px;
  margin-top: 30px
}

.csocial a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .78rem;
  transition: .25s;
  border-radius: 10px
}

.csocial a:hover {
  background: #fff;
  color: var(--teal);
  border-color: var(--line)
}

.map-full {
  height: 420px;
  background: var(--bg-soft);
  border-radius: 15px;
  overflow: hidden
}

.map-full iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block
}

@media(max-width:1040px) {
  .verticals {
    grid-template-columns: 1fr;
    gap: 36px
  }

  .brandbar div {
    width: 146px;
    height: 64px
  }

  .brandbar img {
    max-height: 38px
  }
}

@media(max-width:940px) {
  .drawer {
    width: 340px;
    padding: 28px 24px 40px
  }

  .fcards {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .fcard {
    padding: 34px 26px 40px;
  }

  .fcard h3 {
    min-height: auto;
  }

  .fcard p {
    min-height: auto;
  }

  .split .partners {
    padding: 30px 20px 44px
  }

  .brandbar {
    justify-content: center
  }

  .brandbar div {
    width: calc(33.333% - 8px);
    height: 56px;
    padding: 8px 10px
  }

  .brandbar img {
    max-height: 30px
  }

  .slides {
    height: auto
  }

  .slide {
    position: relative;
    display: none;
    min-height: 520px;
    padding: 100px 0 60px
  }

  .slide.on {
    display: flex
  }

  .hero-nav {
    width: 44px;
    height: 44px
  }

  .map-full {
    height: 320px
  }
}

/* ===========================================================
   Agro Commodities Sourcing  &middot;  region tabs
   =========================================================== */
.rtabs {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  margin-bottom: 36px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03)
}

.rtab {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--body);
  background: transparent;
  padding: 16px 36px;
  transition: .25s;
  white-space: nowrap;
  border-right: 1px solid var(--line)
}

.rtab:last-child {
  border-right: 0
}

.rtab:hover {
  color: var(--teal)
}

.rtab.on {
  background: var(--teal);
  color: #fff
}

.rpanel {
  display: none;
  grid-template-columns: 1fr 1.3fr;
  align-items: center;
  gap: 54px;
}

.rpanel.on {
  display: grid;
}

.rtext {
  text-align: left;
}

.rtext h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 18px 0;
  line-height: 1.4;
}

.rtext p {
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--body);
  font-weight: 300;
  margin: 0;
  max-width: 580px;
}

.rmap {
  display: grid;
  place-items: center;
  width: 100%
}

.rmap img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(37, 150, 190, .12))
}

@media(max-width:940px) {
  .rtabs {
    display: flex;
    width: 100%
  }

  .rtab {
    flex: 1;
    min-width: 0;
    padding: 14px 6px;
    font-size: .75rem;
    line-height: 1.3;
    letter-spacing: .06em;
    white-space: normal
  }

  .rpanel.on {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .rtext h4 {
    font-size: 1.05rem;
    margin-bottom: 12px;
  }

  .rmap img {
    max-height: 240px;
  }
}

/* ===========================================================
   Services dropdown  &middot;  mirrors the live site's menu tree
   =========================================================== */
.menu>li {
  position: relative
}

.menu .caret {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  transition: .25s
}

.menu .has-sub:hover>a .caret {
  transform: rotate(180deg)
}

.menu .caret2 {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  transition: .25s
}

/* hover bridge: lets the pointer travel from the nav item down into the panel */
.menu .has-sub:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 6px
}

.sub,
.sub2 {
  position: absolute;
  list-style: none;
  min-width: 282px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px -20px rgba(10, 42, 54, .45);
  padding: 6px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .22s;
  z-index: 80;
  pointer-events: none;
}

.sub {
  top: calc(100% + 3px);
  left: -18px;
}

.menu .has-sub:hover>.sub {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.sub li {
  position: relative;
}

.menu .has-sub2 {
  position: relative;
}

/* Hover bridge between parent dropdown and child submenu */
.menu .has-sub2:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -10px;
  width: 16px;
  z-index: 85;
}

.menu .sub a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #000;
  white-space: nowrap;
}

.menu .sub a .menu-link-label {
  flex: 1;
  min-width: 0;
}

.menu .sub a .menu-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: .56rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}

.menu .sub a:hover {
  color: #fff;
  background: var(--teal);
}

.menu .sub a:hover .menu-detail-btn {
  background: #fff;
  color: var(--teal);
}

.menu .sub a:after {
  display: none;
}

/* Rounded 12px corners on first/last items so hover highlight curves with the menu container */
.menu .sub>li:first-child>a,
.menu .sub2>li:first-child>a {
  border-top-left-radius: 11px;
  border-top-right-radius: 11px;
}

.menu .sub>li:last-child>a,
.menu .sub2>li:last-child>a {
  border-bottom-left-radius: 11px;
  border-bottom-right-radius: 11px;
}

.sub2 {
  top: -7px;
  left: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.menu .has-sub2:hover>.sub2 {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  display: block;
}

@media (max-width: 767px) {
  h2 {
    font-size: 20px;
    font-weight: 500;
    padding-bottom: 20px;
  }
}

@media(max-width:940px) {
  .slide .wrap {
    margin-left: 0px !important;
  }

  .menu>li {
    position: static;
  }

  .menu .has-sub:after {
    display: none
  }

  .sub,
  .sub2 {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    min-width: 0;
    background: transparent;
    border: 0;
    border-left: 2px solid var(--line);
    box-shadow: none;
    padding: 2px 0 6px 16px;
    margin: 0 0 8px
  }

  .menu .has-sub.open>.sub,
  .menu .has-sub2.open>.sub2 {
    display: block
  }

  .menu .sub a {
    padding: 11px 0;
    border-bottom: 0;
    font-size: .68rem;
    white-space: normal
  }

  .menu .caret {
    float: right;
    padding: 2px 6px
  }

  .menu .caret2 {
    margin-left: 8px
  }

  .menu>li>a {
    display: block;
    height: auto
  }

  .menu .has-sub.open>a .caret {
    transform: rotate(180deg)
  }

  .menu .caret2 {
    transform: rotate(90deg)
  }

  .menu .has-sub2.open>a .caret2 {
    transform: rotate(-90deg)
  }
}

.menu .caret svg {
  width: 11px;
  height: 11px;
  display: block
}

.menu .caret2 svg {
  width: 14px;
  height: 14px;
  display: block
}

/* ==========================================================================
   Services Page - Service Cards / Boxes & Compact Split Cards
   ========================================================================== */

/* Top Service Boxes Grid - 1 Column Layout */
.svc-box-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.svc-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 24px 32px;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 28px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  text-decoration: none;
  position: relative;
}

.svc-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -6px rgba(9, 128, 152, 0.18), 0 4px 14px rgba(0, 0, 0, 0.05);
  border-color: rgba(37, 150, 190, 0.4);
}

.svc-box-top {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.svc-box-num {
  display: inline-block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.02em;
}

.svc-box-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--bg-tint);
  padding: 3px 11px;
  border-radius: 999px;
}

.svc-box-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.svc-box h3 {
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
}

.svc-box p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.svc-box-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  white-space: nowrap;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--bg-tint);
  transition: background 0.2s, color 0.2s;
}

.svc-box-link .ar {
  display: inline-block;
  transition: transform 0.25s ease;
}

.svc-box:hover .svc-box-link {
  background: var(--teal);
  color: #fff;
}

.svc-box:hover .svc-box-link .ar {
  transform: translateX(4px);
}

@media (max-width: 860px) {
  .svc-box {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: flex-start;
    padding: 22px 20px;
  }

  .svc-box-link {
    align-self: flex-start;
  }
}

/* Last 3 Service Cards (Reduced Height Split Cards with inline-flex / inline-block) */
.split.svc-split-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  max-width: var(--wrap);
  margin: 26px auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--line);
  min-height: 250px;
  max-height: 280px;
}

.split.svc-split-card .txt {
  padding: 26px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.split.svc-split-card .txt h2 {
  font-size: 1.52rem;
  line-height: 1.25;
  margin: 6px 0 10px;
  font-weight: 500;
}

.split.svc-split-card .txt p {
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 14px;
  color: var(--muted);
}

.split.svc-split-card .txt.dark {
  background: var(--teal-d);
}

.split.svc-split-card .txt.dark h2 {
  color: #fff;
}

.split.svc-split-card .txt.dark p {
  color: #fff;
}

.split.svc-split-card .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.split.svc-split-card .svc-num-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--bg-tint);
  color: var(--teal);
}

.split.svc-split-card .txt.dark .svc-num-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.split.svc-split-card .hero-actions {
  display: inline-flex;
  align-items: center;
  margin-top: 2px;
}

.split.svc-split-card .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  font-size: 0.86rem;
  border-radius: 8px;
}

.split.svc-split-card .btn .ar {
  display: inline-block;
  transition: transform 0.2s ease;
}

.split.svc-split-card .btn:hover .ar {
  transform: translateX(3px);
}

.split.svc-split-card .img {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 250px;
}

.split.svc-split-card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 250px;
  max-height: 280px;
  display: block;
}

@media (max-width: 900px) {
  .split.svc-split-card {
    grid-template-columns: 1fr;
    max-height: none;
    margin: 20px auto;
    padding:20px;
  }

  .split.svc-split-card .img img {
    min-height: 200px;
    max-height: 220px;
  }

  .split.svc-split-card .txt {
    padding: 24px 20px;
  }
}

/* Preserve multi-line paragraphs & whitespace from CMS textareas */
.fgrid > div:not(.fbrand) a,
.drawer > p,
.dline span,
.dline a {
  white-space: pre-line;
}

/* ===========================================================
   UNIVERSAL WYSIWYG / TEXT EDITOR PARITY
   Ensures headings, bold, underline, lists, colors & tables
   from Summernote match exactly on the frontend across all pages.
   =========================================================== */
.rich-text h1, .service-rich-sections h1, .service-detail-description h1, .article-body h1, .legal-rich-content h1, .rich-mission-desc h1, .abt-vision-text h1, .csr-story-desc h1,
.rich-text h2, .service-rich-sections h2, .service-detail-description h2, .article-body h2, .legal-rich-content h2, .rich-mission-desc h2, .abt-vision-text h2, .csr-story-desc h2,
.rich-text h3, .service-rich-sections h3, .service-detail-description h3, .article-body h3, .legal-rich-content h3, .rich-mission-desc h3, .abt-vision-text h3, .csr-story-desc h3,
.rich-text h4, .service-rich-sections h4, .service-detail-description h4, .article-body h4, .legal-rich-content h4, .rich-mission-desc h4, .abt-vision-text h4, .csr-story-desc h4,
.rich-text h5, .service-rich-sections h5, .service-detail-description h5, .article-body h5, .legal-rich-content h5, .rich-mission-desc h5, .abt-vision-text h5, .csr-story-desc h5,
.rich-text h6, .service-rich-sections h6, .service-detail-description h6, .article-body h6, .legal-rich-content h6, .rich-mission-desc h6, .abt-vision-text h6, .csr-story-desc h6 {
  font-weight: 700 !important;
  color: var(--teal-ddd, #002e3b);
  line-height: 1.35;
  margin-top: 1.3em;
  margin-bottom: 0.5em;
  letter-spacing: normal;
}

.rich-text h1, .service-rich-sections h1, .service-detail-description h1, .article-body h1, .legal-rich-content h1 { font-size: 1.85rem; }
.rich-text h2, .service-rich-sections h2, .service-detail-description h2, .article-body h2, .legal-rich-content h2 { font-size: 1.5rem; }
.rich-text h3, .service-rich-sections h3, .service-detail-description h3, .article-body h3, .legal-rich-content h3 { font-size: 1.3rem; }
.rich-text h4, .service-rich-sections h4, .service-detail-description h4, .article-body h4, .legal-rich-content h4 { font-size: 1.15rem; }
.rich-text h5, .service-rich-sections h5, .service-detail-description h5, .article-body h5, .legal-rich-content h5 { font-size: 1.05rem; }
.rich-text h6, .service-rich-sections h6, .service-detail-description h6, .article-body h6, .legal-rich-content h6 { font-size: 0.95rem; }

.rich-text h1:first-child, .rich-text h2:first-child, .rich-text h3:first-child, .rich-text h4:first-child, .rich-text h5:first-child, .rich-text h6:first-child,
.service-rich-sections h1:first-child, .service-rich-sections h2:first-child, .service-rich-sections h3:first-child, .service-rich-sections h4:first-child,
.service-detail-description h1:first-child, .service-detail-description h2:first-child, .service-detail-description h3:first-child, .service-detail-description h4:first-child,
.article-body h1:first-child, .article-body h2:first-child, .article-body h3:first-child, .article-body h4:first-child,
.legal-rich-content h1:first-child, .legal-rich-content h2:first-child, .legal-rich-content h3:first-child, .legal-rich-content h4:first-child {
  margin-top: 0;
}

.rich-text strong, .rich-text b,
.service-rich-sections strong, .service-rich-sections b,
.service-detail-description strong, .service-detail-description b,
.article-body strong, .article-body b,
.legal-rich-content strong, .legal-rich-content b,
.rich-mission-desc strong, .rich-mission-desc b,
.abt-vision-text strong, .abt-vision-text b,
.csr-lead-text strong, .csr-lead-text b,
.csr-story-desc strong, .csr-story-desc b {
  font-weight: 700 !important;
}

.rich-text em, .rich-text i,
.service-rich-sections em, .service-rich-sections i,
.service-detail-description em, .service-detail-description i,
.article-body em, .article-body i {
  font-style: italic !important;
}

.rich-text u,
.service-rich-sections u,
.service-detail-description u,
.article-body u,
.legal-rich-content u {
  text-decoration: underline !important;
}

.rich-text s, .rich-text strike, .rich-text del,
.service-rich-sections s, .service-rich-sections strike, .service-rich-sections del,
.service-detail-description s, .service-detail-description strike, .service-detail-description del,
.article-body s, .article-body strike, .article-body del {
  text-decoration: line-through !important;
}

.rich-text ul,
.service-rich-sections ul,
.service-detail-description ul,
.article-body ul,
.legal-rich-content ul {
  list-style: disc !important;
  margin: 0 0 1.25rem !important;
  padding-left: 1.75rem !important;
}

.rich-text ol,
.service-rich-sections ol,
.service-detail-description ol,
.article-body ol,
.legal-rich-content ol {
  list-style: decimal !important;
  margin: 0 0 1.25rem !important;
  padding-left: 1.75rem !important;
}

.rich-text li,
.service-rich-sections li,
.service-detail-description li,
.article-body li,
.legal-rich-content li {
  margin-bottom: 0.45rem !important;
  line-height: 1.65 !important;
}

.rich-text p,
.service-rich-sections p,
.service-detail-description p,
.article-body p,
.legal-rich-content p {
  margin: 0 0 1rem;
  line-height: 1.75;
}

.rich-text p:last-child,
.service-rich-sections p:last-child,
.service-detail-description p:last-child,
.article-body p:last-child,
.legal-rich-content p:last-child {
  margin-bottom: 0;
}

.rich-text mark,
.service-rich-sections mark,
.service-detail-description mark,
.article-body mark {
  background-color: #ffeb3b;
  color: #000;
  padding: 0.1em 0.35em;
  border-radius: 3px;
}

.rich-text blockquote,
.service-rich-sections blockquote,
.service-detail-description blockquote,
.article-body blockquote {
  border-left: 4px solid var(--teal, #098098);
  padding: 8px 16px;
  margin: 1.25rem 0;
  background: rgba(9, 128, 152, 0.04);
  font-style: italic;
  color: #334155;
  border-radius: 0 8px 8px 0;
}

.rich-text table,
.service-rich-sections table,
.service-detail-description table,
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
}

.rich-text th, .rich-text td,
.service-rich-sections th, .service-rich-sections td,
.service-detail-description th, .service-detail-description td,
.article-body th, .article-body td {
  border: 1px solid var(--line, #e1e9eb);
  padding: 10px 14px;
}

.rich-text th,
.service-rich-sections th,
.service-detail-description th,
.article-body th {
  background: #f8fafb;
  font-weight: 700 !important;
}

/* ===========================================================
   UNIVERSAL MOBILE SIDEBAR DRAWER MENU
   Applied across all pages for consistent hamburger behavior
   =========================================================== */
.menu-header,
.menu-footer,
.menu-scrim {
  display: none;
}

@media (max-width: 940px) {
  /* Scrim backdrop for mobile menu */
  .menu-scrim {
    position: fixed;
    inset: 0;
    background: rgba(10, 42, 54, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 990;
    display: block;
  }

  .menu-scrim.open,
  body.menu-open .menu-scrim {
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Prevent background page scrolling when menu drawer is open */
  body.menu-open {
    overflow: hidden !important;
  }

  /* Elevate header above scrim so .menu is not trapped under scrim */
  .top.menu-open,
  .top:has(.menu.open) {
    z-index: 1000 !important;
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    pointer-events: none !important;
  }

  /* Hide the top navbar brand & cta buttons while drawer is open */
  .top.menu-open .nav > .brand,
  .top.menu-open .nav-cta,
  .top:has(.menu.open) .nav > .brand,
  .top:has(.menu.open) .nav-cta {
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.2s ease;
  }

  /* Convert .menu into off-canvas sidebar drawer across all pages */
  .menu {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: 330px !important;
    max-width: 86vw !important;
    height: 100% !important;
    height: 100dvh !important;
    background: #ffffff !important;
    z-index: 1001 !important;
    transform: translateX(100%) !important;
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.38s ease !important;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.28) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 24px 24px 36px !important;
    border-top: none !important;
    visibility: hidden;
    pointer-events: auto !important;
  }

  .menu.open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Header inside sidebar */
  .menu-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--line);
    width: 100%;
  }

  .menu-brand img {
    height: 38px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    display: block;
  }

  .menu-close {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f4f8fa;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    color: var(--ink);
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    flex-shrink: 0;
    pointer-events: auto !important;
  }

  .menu-close:hover {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
  }

  /* Menu items in sidebar */
  .menu > li {
    width: 100%;
    list-style: none;
  }

  .menu > li > a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 13px 4px !important;
    border-bottom: 1px solid var(--line) !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    color: var(--ink) !important;
    text-transform: uppercase !important;
    transition: color 0.2s ease;
    height: auto !important;
  }

  .menu > li > a:hover,
  .menu > li > a.active {
    color: var(--teal) !important;
  }

  /* Remove desktop active underline from sidebar links */
  .menu a.active:after,
  .menu a:after {
    display: none !important;
    content: none !important;
  }

  .menu > li > a.active {
    font-weight: 700 !important;
  }

  .menu .caret {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.04);
  }

  .menu .caret svg {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
  }

  .menu .has-sub.open > a .caret svg {
    transform: rotate(180deg);
  }

    /* Sidebar footer */
  .menu-footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px;
    margin-top: auto;
    padding-top: 24px;
    padding-bottom: 24px;
    width: 100%;
  }

  .menu-footer .btn,
  .menu-footer .btn-primary,
  .menu-footer a.btn,
  .menu-footer a.btn:link,
  .menu-footer a.btn:visited {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 13px 20px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em !important;
    color: #ffffff !important;
    background: var(--teal, #098098) !important;
    border: none !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 14px rgba(9, 128, 152, 0.25) !important;
  }

  .menu-footer .btn:hover,
  .menu-footer .btn-primary:hover,
  .menu-footer a.btn:hover,
  .menu-footer .btn:focus,
  .menu-footer .btn-primary:focus,
  .menu-footer a.btn:focus {
    color: #ffffff !important;
    background: var(--teal-d, #076d82) !important;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(9, 128, 152, 0.35) !important;
  }

  .menu-footer .btn:active,
  .menu-footer .btn-primary:active,
  .menu-footer a.btn:active {
    color: #ffffff !important;
    background: var(--teal-dd, #065a6b) !important;
    transform: scale(0.98) !important;
    text-decoration: none !important;
  }

  .menu-footer .btn .ar,
  .menu-footer .btn-primary .ar,
  .menu-footer a.btn .ar {
    color: #ffffff !important;
    display: inline-block !important;
    transition: transform 0.2s ease !important;
  }

  .menu-footer .btn:hover .ar,
  .menu-footer .btn-primary:hover .ar,
  .menu-footer a.btn:hover .ar {
    color: #ffffff !important;
    transform: translateX(4px) !important;
  }

  .menu-contact-quick {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 6px;
  }

  .menu-contact-quick a {
    font-size: 0.84rem;
    color: var(--muted);
    text-decoration: none;
    text-transform: none !important;
    transition: color 0.2s ease;
    word-break: break-all;
  }

  .menu-contact-quick a:hover {
    color: var(--teal);
  }
}


/* ===========================================================
   MOBILE RESPONSIVENESS FIXES (audit 16 Oct 2026)
   =========================================================== */
/* Let the phone number input shrink so form grids fit small screens */
.c-phone-group input[type="tel"] {
  min-width: 0;
  flex: 1 1 auto;
  width: 100%;
}

/* Breadcrumb pill wraps instead of being clipped on 320px screens */
.breadcrumb-nav,
.breadcrumb-nav .crumb {
  max-width: 100%;
  flex-wrap: wrap;
}

/* Larger tap areas for small inline links, without changing the layout */
.breadcrumb-nav .crumb a {
  display: inline-block;
  padding: 10px 4px;
  margin: -10px -4px;
}

.fbottom .f-legal-links a {
  display: inline-block !important;
  padding: 10px 4px !important;
  margin: -10px -4px;
}

/* Invisible 24px+ hit areas for the hero dots and inline contact links */
.hero-dots button {
  position: relative;
}

.hero-dots button::after {
  content: "";
  position: absolute;
  inset: -8px -4px;
}

footer a[href^="mailto:"],
footer a[href^="tel:"],
.c-link-bold {
  display: inline-block;
  padding: 10px 0;
  margin: -10px 0;
}

@media (max-width: 940px) {
  /* Home renders the scrim inside the header, which ignores pointer events while the menu is open */
  .top.menu-open .menu-scrim,
  .top:has(.menu.open) .menu-scrim {
    pointer-events: auto !important;
  }

  /* 16px inputs stop iOS Safari zooming in on focus */
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  select,
  textarea {
    font-size: 16px !important;
  }
}
