/* ==========================================================================
   MOC public site design system
   Steel navy and safety orange from the MOC logo, on concrete and sand neutrals.
   Sits on top of Bootstrap 5, which supplies the grid, collapse, dropdown and modal.
   ========================================================================== */

:root {
   --ink: #0c1c2e;
   --ink-2: #13293f;
   --steel: #2b4a66;
   --blue: #1a5596;
   --orange: #f08a24;
   --orange-dark: #d97514;
   --orange-text: #a84c08;
   --orange-on-dark: #f6a556;
   --sand: #f6f3ee;
   --concrete: #eceef1;
   --line: #dde1e6;
   --line-dark: rgba(255, 255, 255, 0.16);
   --text: #1c2733;
   --muted: #55616e;
   --on-dark: #ffffff;
   --on-dark-muted: rgba(255, 255, 255, 0.78);
   --font-sans: 'IBM Plex Sans', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
   --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
   --radius: 3px;
   --section-space: clamp(56px, 7vw, 104px);
   --header-offset: 90px;

   --bs-body-font-family: var(--font-sans);
   --bs-body-color: var(--text);
   --bs-link-color-rgb: 26, 85, 150;
   --bs-link-hover-color-rgb: 12, 28, 46;
   --bs-border-radius: var(--radius);
}

html {
   scroll-padding-top: var(--header-offset);
   scroll-behavior: smooth;
}

body {
   font-family: var(--font-sans);
   color: var(--text);
   background: #fff;
   line-height: 1.65;
   overflow-x: clip;
   -webkit-font-smoothing: antialiased;
}

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

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

h1 {
   font-size: clamp(2.1rem, 4.6vw, 3.5rem);
}

h2 {
   font-size: clamp(1.65rem, 3vw, 2.5rem);
}

h3 {
   font-size: clamp(1.25rem, 1.8vw, 1.5rem);
}

h4 {
   font-size: 1.15rem;
}

h5 {
   font-size: 1.05rem;
}

p {
   margin-bottom: 1rem;
}

p:last-child {
   margin-bottom: 0;
}

:focus-visible {
   outline: 3px solid var(--orange);
   outline-offset: 2px;
}

.is-dark :focus-visible,
.site-footer :focus-visible,
.topbar :focus-visible {
   outline-color: #fff;
}

.skip-link {
   position: absolute;
   left: 12px;
   top: -60px;
   z-index: 2000;
   padding: 10px 16px;
   background: var(--ink);
   color: #fff;
   font-weight: 600;
}

.skip-link:focus {
   top: 12px;
   color: #fff;
}

/* Wider page margins, which also contain the negative margins of Bootstrap's largest row gutter. */
.container-xl {
   --bs-gutter-x: 3rem;
}

/* Labels and section structure
   ========================================================================== */
.eyebrow {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   margin-bottom: 14px;
   color: var(--orange-text);
   font-family: var(--font-mono);
   font-size: 0.78rem;
   font-weight: 500;
   letter-spacing: 0.08em;
   text-transform: uppercase;
}

.eyebrow::before {
   content: '';
   width: 22px;
   height: 2px;
   background: var(--orange);
}

.is-dark .eyebrow {
   color: var(--orange-on-dark);
}

.section {
   padding-block: var(--section-space);
}

.section--sand {
   background: var(--sand);
}

.section--concrete {
   background: var(--concrete);
}

.section--tight {
   padding-block: clamp(36px, 4vw, 56px);
}

.is-dark {
   background: var(--ink);
   color: var(--on-dark-muted);
}

.is-dark h1,
.is-dark h2,
.is-dark h3,
.is-dark h4,
.is-dark h5,
.is-dark h6 {
   color: var(--on-dark);
}

.section-head {
   max-width: 760px;
   margin-bottom: clamp(28px, 3.5vw, 48px);
}

.section-head__text {
   margin-top: 14px;
   color: var(--muted);
   font-size: 1.06rem;
}

.is-dark .section-head__text {
   color: var(--on-dark-muted);
}

.section-head--center {
   margin-inline: auto;
   text-align: center;
}

.section-head--center .eyebrow {
   justify-content: center;
}

.section-head-row {
   display: flex;
   flex-wrap: wrap;
   align-items: flex-end;
   justify-content: space-between;
   gap: 16px 32px;
   margin-bottom: clamp(28px, 3.5vw, 48px);
}

.section-head-row .section-head {
   margin-bottom: 0;
}

.prose p {
   color: var(--muted);
   font-size: 1.04rem;
}

.is-dark .prose p {
   color: var(--on-dark-muted);
}

.lead-text {
   font-size: 1.1rem;
   color: var(--muted);
}

.text-secondary {
   color: var(--muted) !important;
}

/* Buttons and links
   ========================================================================== */
.btn-moc {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 10px;
   min-height: 48px;
   padding: 10px 22px;
   border: 2px solid transparent;
   border-radius: var(--radius);
   font-size: 0.97rem;
   font-weight: 600;
   line-height: 1.25;
   text-align: center;
   text-decoration: none;
   cursor: pointer;
   transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-moc--primary {
   background: var(--orange);
   border-color: var(--orange);
   color: var(--ink);
}

.btn-moc--primary:hover {
   background: var(--orange-dark);
   border-color: var(--orange-dark);
   color: var(--ink);
}

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

.btn-moc--dark:hover {
   background: var(--steel);
   border-color: var(--steel);
   color: #fff;
}

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

.btn-moc--outline:hover {
   background: var(--ink);
   color: #fff;
}

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

.btn-moc--outline-light:hover {
   background: #fff;
   border-color: #fff;
   color: var(--ink);
}

.btn-row {
   display: flex;
   flex-wrap: wrap;
   gap: 12px;
}

.text-link {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   color: var(--blue);
   font-weight: 600;
   text-decoration: none;
   border-bottom: 1px solid currentColor;
   padding-bottom: 2px;
}

.text-link:hover {
   color: var(--ink);
}

.text-link i {
   font-size: 0.8em;
}

.is-dark .text-link {
   color: var(--orange-on-dark);
}

.is-dark .text-link:hover {
   color: #fff;
}

/* Top bar and header
   ========================================================================== */
.topbar {
   background: var(--ink);
   color: var(--on-dark-muted);
   font-size: 0.82rem;
}

.topbar__inner {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   justify-content: space-between;
   gap: 4px 24px;
   min-height: 40px;
   padding-block: 6px;
}

.topbar__group {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: 4px 20px;
}

.topbar a {
   color: var(--on-dark-muted);
   text-decoration: none;
}

.topbar a:hover {
   color: #fff;
}

.topbar i {
   color: var(--orange-on-dark);
   margin-inline-end: 6px;
}

.topbar__social a {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 30px;
   height: 30px;
}

.topbar__social i {
   margin: 0;
   color: inherit;
}

.site-header {
   position: sticky;
   top: 0;
   z-index: 1030;
   background: #fff;
   border-bottom: 1px solid var(--line);
   transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
   box-shadow: 0 6px 22px rgba(12, 28, 46, 0.09);
}

.site-header .navbar {
   padding-block: 10px;
}

.site-brand {
   display: inline-flex;
   align-items: center;
   gap: 12px;
   padding: 0;
   margin: 0;
   text-decoration: none;
}

.site-brand img {
   display: block;
   width: auto;
   height: 54px;
}

.site-brand__text {
   color: var(--ink);
   font-weight: 600;
   font-size: 1.1rem;
}

.site-nav .nav-link {
   display: flex;
   align-items: center;
   min-height: 44px;
   padding: 8px 12px !important;
   color: var(--text);
   font-size: 0.95rem;
   font-weight: 500;
   border-radius: var(--radius);
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
   color: var(--orange-text);
}

.site-nav .nav-link.active,
.site-nav .nav-link.show {
   color: var(--ink);
   box-shadow: inset 0 -2px 0 var(--orange);
   border-radius: 0;
}

.site-nav .dropdown-menu {
   min-width: 270px;
   margin-top: 8px;
   padding: 8px;
   border: 1px solid var(--line);
   border-radius: var(--radius);
   box-shadow: 0 16px 38px rgba(12, 28, 46, 0.14);
}

.site-nav .dropdown-item {
   padding: 9px 12px;
   color: var(--text);
   font-size: 0.93rem;
   border-radius: var(--radius);
   white-space: normal;
}

.site-nav .dropdown-item:hover,
.site-nav .dropdown-item:focus {
   background: var(--sand);
   color: var(--ink);
}

.site-nav .dropdown-item.active {
   background: var(--sand);
   color: var(--orange-text);
   font-weight: 600;
}

.nav-toggle {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 48px;
   height: 48px;
   padding: 0;
   background: transparent;
   border: 1px solid var(--line);
   border-radius: var(--radius);
   color: var(--ink);
   font-size: 1.2rem;
}

@media (max-width: 1199.98px) {
   .site-header .navbar-collapse {
      max-height: calc(100vh - 88px);
      overflow-y: auto;
      margin-top: 10px;
      padding-block: 10px 16px;
      border-top: 1px solid var(--line);
   }

   .site-nav .nav-link {
      min-height: 48px;
      padding-inline: 4px !important;
      font-size: 1.02rem;
   }

   .site-nav .nav-link.active,
   .site-nav .nav-link.show {
      box-shadow: none;
      color: var(--orange-text);
   }

   .site-nav .dropdown-menu {
      margin: 0 0 8px;
      border: 0;
      border-inline-start: 2px solid var(--line);
      border-radius: 0;
      box-shadow: none;
   }

   .site-nav .dropdown-item {
      padding-block: 11px;
   }

   .site-header .btn-moc {
      width: 100%;
      margin-top: 8px;
   }
}

/* Heroes
   ========================================================================== */
.home-hero {
   position: relative;
   background: var(--ink);
}

.home-hero__slide {
   position: relative;
   display: flex;
   align-items: flex-end;
   min-height: clamp(520px, 74vh, 760px);
   overflow: hidden;
}

.home-hero__image,
.page-hero__image {
   position: absolute;
   inset: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
}

.home-hero__slide::after {
   content: '';
   position: absolute;
   inset: 0;
   background: linear-gradient(90deg, rgba(12, 28, 46, 0.93) 0%, rgba(12, 28, 46, 0.72) 48%, rgba(12, 28, 46, 0.18) 100%), linear-gradient(0deg, rgba(12, 28, 46, 0.6) 0%, rgba(12, 28, 46, 0) 45%);
}

.home-hero__content {
   position: relative;
   z-index: 2;
   max-width: 780px;
   padding-block: clamp(64px, 9vw, 120px) clamp(72px, 7vw, 96px);
}

.home-hero h1 {
   color: #fff;
}

.home-hero__text {
   max-width: 640px;
   margin-top: 18px;
   margin-bottom: 28px;
   color: rgba(255, 255, 255, 0.86);
   font-size: clamp(1.02rem, 1.4vw, 1.2rem);
}

.home-hero .carousel-control-prev,
.home-hero .carousel-control-next {
   top: auto;
   bottom: 20px;
   left: auto;
   width: 46px;
   height: 46px;
   border: 1px solid rgba(255, 255, 255, 0.55);
   background: rgba(12, 28, 46, 0.55);
   opacity: 1;
}

.home-hero .carousel-control-next {
   right: max(20px, calc((100vw - 1296px) / 2));
}

.home-hero .carousel-control-prev {
   right: calc(max(20px, calc((100vw - 1296px) / 2)) + 54px);
}

.home-hero .carousel-control-prev:hover,
.home-hero .carousel-control-next:hover {
   background: var(--orange);
   border-color: var(--orange);
}

.page-hero {
   position: relative;
   overflow: hidden;
   background: var(--ink);
   color: var(--on-dark-muted);
}

.page-hero__image {
   inset: 0 0 0 auto;
   width: 58%;
}

.page-hero::after {
   content: '';
   position: absolute;
   inset: 0;
   background: linear-gradient(90deg, var(--ink) 42%, rgba(12, 28, 46, 0.72) 68%, rgba(12, 28, 46, 0.2) 100%);
}

.page-hero__content {
   position: relative;
   z-index: 2;
   max-width: 760px;
   padding-block: clamp(44px, 6vw, 84px) clamp(48px, 6.5vw, 92px);
}

.page-hero h1 {
   color: #fff;
   font-size: clamp(1.95rem, 4vw, 3.1rem);
}

.page-hero__intro {
   margin-top: 16px;
   font-size: clamp(1rem, 1.3vw, 1.14rem);
   color: rgba(255, 255, 255, 0.84);
}

.page-hero .btn-row {
   margin-top: 24px;
}

.crumbs {
   display: flex;
   flex-wrap: wrap;
   gap: 4px 10px;
   margin: 0 0 22px;
   padding: 0;
   list-style: none;
   font-size: 0.84rem;
   color: rgba(255, 255, 255, 0.72);
}

.crumbs li+li::before {
   content: '/';
   margin-inline-end: 10px;
   color: rgba(255, 255, 255, 0.45);
}

.crumbs a {
   color: rgba(255, 255, 255, 0.86);
   text-decoration: none;
}

.crumbs a:hover {
   color: #fff;
   text-decoration: underline;
}

@media (max-width: 767.98px) {
   .page-hero__image {
      width: 100%;
      opacity: 0.32;
   }

   .page-hero::after {
      background: linear-gradient(0deg, rgba(12, 28, 46, 0.5), rgba(12, 28, 46, 0.5));
   }

   .home-hero__slide::after {
      background: linear-gradient(0deg, rgba(12, 28, 46, 0.94) 10%, rgba(12, 28, 46, 0.62) 100%);
   }
}

/* Home slider (frontend/slider/index.blade.php)
   Full-screen image slides with a centred heading and intro, each on a
   translucent black panel. The heading is revealed by a sweeping block and
   the intro drops in word by word, last word first.
   ========================================================================== */
.moc-hero-section {
   position: relative;
   overflow: hidden;
   background: var(--ink);
}

.moc-hero-carousel .carousel-item {
   position: relative;
   height: calc(100vh - var(--header-offset));
   height: calc(100svh - var(--header-offset));
   min-height: 460px;
   background-color: var(--ink);
   background-position: center center;
   background-repeat: no-repeat;
   background-size: cover;
}

.moc-hero-content {
   position: absolute;
   inset: 0;
   z-index: 2;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   padding: 0 16px;
   text-align: center;
}

.moc-hero-title {
   max-width: 1083px;
   margin: 0;
   color: #fff;
   font-size: 58px;
   font-weight: 500;
   line-height: 73px;
   letter-spacing: 0;
}

.moc-hero-title__text {
   position: relative;
   display: inline-block;
   color: #fff;
   background-color: rgba(0, 0, 0, 0.35);
}

.moc-hero-title__text::after {
   content: '';
   position: absolute;
   inset: 0;
   background: #fff;
   transform: scaleX(0);
   transform-origin: left center;
   pointer-events: none;
}

.moc-hero-subtitle {
   width: 100%;
   max-width: 746px;
   margin: 23px auto 0;
   color: #fff;
   background-color: rgba(0, 0, 0, 0.35);
   font-family: Arial, Helvetica, sans-serif;
   font-size: 19px;
   line-height: 32px;
   text-align: center;
}

.moc-hero-word {
   display: inline-block;
}

/* Animations run on the active slide and on the slide fading in. */
.moc-hero-carousel .carousel-item.active .moc-hero-title__text,
.moc-hero-carousel .carousel-item-next .moc-hero-title__text,
.moc-hero-carousel .carousel-item-prev .moc-hero-title__text {
   animation: moc-hero-title-in 0.9s linear both;
}

.moc-hero-carousel .carousel-item.active .moc-hero-title__text::after,
.moc-hero-carousel .carousel-item-next .moc-hero-title__text::after,
.moc-hero-carousel .carousel-item-prev .moc-hero-title__text::after {
   animation: moc-hero-block-sweep 0.9s cubic-bezier(0.77, 0, 0.175, 1) both;
}

.moc-hero-carousel .carousel-item.active .moc-hero-subtitle,
.moc-hero-carousel .carousel-item-next .moc-hero-subtitle,
.moc-hero-carousel .carousel-item-prev .moc-hero-subtitle {
   animation: moc-hero-panel-in 0.6s ease both;
}

.moc-hero-carousel .carousel-item.active .moc-hero-word,
.moc-hero-carousel .carousel-item-next .moc-hero-word,
.moc-hero-carousel .carousel-item-prev .moc-hero-word {
   animation: moc-hero-word-in 0.6s cubic-bezier(0.77, 0, 0.175, 1) both;
   animation-delay: calc(var(--word-order, 0) / var(--word-count, 1) * 1600ms);
}

@keyframes moc-hero-block-sweep {
   0% {
      transform: scaleX(0);
      transform-origin: left center;
   }

   50% {
      transform: scaleX(1);
      transform-origin: left center;
   }

   50.01% {
      transform: scaleX(1);
      transform-origin: right center;
   }

   100% {
      transform: scaleX(0);
      transform-origin: right center;
   }
}

@keyframes moc-hero-title-in {
   0%,
   50% {
      color: transparent;
      background-color: transparent;
   }

   50.01%,
   100% {
      color: #fff;
      background-color: rgba(0, 0, 0, 0.35);
   }
}

@keyframes moc-hero-panel-in {
   from {
      background-color: transparent;
   }

   to {
      background-color: rgba(0, 0, 0, 0.35);
   }
}

@keyframes moc-hero-word-in {
   from {
      opacity: 0;
      transform: translateY(-100%);
   }

   to {
      opacity: 1;
      transform: none;
   }
}

/* Arrows stay out of sight, as in the reference design, and appear on hover.
   Touch devices change slides by swiping. */
.moc-hero-carousel .carousel-control-prev,
.moc-hero-carousel .carousel-control-next {
   top: 50%;
   bottom: auto;
   width: 48px;
   height: 48px;
   margin-top: -24px;
   background: rgba(0, 0, 0, 0.35);
   border-radius: var(--radius);
   opacity: 0;
   transition: opacity 0.3s ease, background-color 0.3s ease;
}

.moc-hero-carousel .carousel-control-prev {
   left: 30px;
}

.moc-hero-carousel .carousel-control-next {
   right: 30px;
}

.moc-hero-carousel .carousel-control-prev-icon,
.moc-hero-carousel .carousel-control-next-icon {
   width: 20px;
   height: 20px;
}

.moc-hero-carousel:hover .carousel-control-prev,
.moc-hero-carousel:hover .carousel-control-next,
.moc-hero-carousel .carousel-control-prev:focus-visible,
.moc-hero-carousel .carousel-control-next:focus-visible {
   opacity: 1;
}

.moc-hero-carousel .carousel-control-prev:hover,
.moc-hero-carousel .carousel-control-next:hover {
   background: rgba(0, 0, 0, 0.6);
}

@media (hover: none) {
   .moc-hero-carousel .carousel-control-prev,
   .moc-hero-carousel .carousel-control-next {
      display: none;
   }
}

@media (max-width: 1199.98px) {
   .moc-hero-title {
      max-width: 894px;
      font-size: 47px;
      line-height: 60px;
   }

   .moc-hero-subtitle {
      max-width: 616px;
      margin-top: 19px;
      font-size: 17px;
      line-height: 28px;
   }
}

@media (max-width: 991.98px) {
   .moc-hero-title {
      max-width: 679px;
      font-size: 35px;
      line-height: 45px;
   }

   .moc-hero-subtitle {
      max-width: 520px;
      margin-top: 16px;
      font-size: 15px;
      line-height: 25px;
   }
}

@media (max-width: 575.98px) {
   .moc-hero-carousel .carousel-item {
      min-height: 420px;
   }

   .moc-hero-title {
      font-size: 24px;
      line-height: 32px;
   }

   .moc-hero-subtitle {
      margin-top: 12px;
      font-size: 14px;
      line-height: 22px;
   }
}

@media (prefers-reduced-motion: reduce) {
   .moc-hero-carousel .carousel-item .moc-hero-title__text,
   .moc-hero-carousel .carousel-item .moc-hero-title__text::after,
   .moc-hero-carousel .carousel-item .moc-hero-subtitle,
   .moc-hero-carousel .carousel-item .moc-hero-word {
      animation: none !important;
   }
}

/* Stat strip
   ========================================================================== */
.stat-strip {
   display: grid;
   grid-template-columns: repeat(var(--stat-columns, 3), minmax(0, 1fr));
   background: #fff;
   border-bottom: 1px solid var(--line);
}

.stat-strip__item {
   padding: clamp(20px, 2.6vw, 34px) clamp(16px, 2.2vw, 32px);
   border-inline-start: 1px solid var(--line);
}

.stat-strip__item:first-child {
   border-inline-start: 0;
   padding-inline-start: 0;
}

.stat-strip__value {
   display: block;
   color: var(--ink);
   font-size: clamp(1.45rem, 2.6vw, 2.2rem);
   font-weight: 600;
   line-height: 1.1;
   letter-spacing: -0.02em;
}

.stat-strip__label {
   display: block;
   margin-top: 8px;
   color: var(--muted);
   font-size: 0.92rem;
   line-height: 1.4;
}

@media (max-width: 767.98px) {
   .stat-strip {
      grid-template-columns: repeat(2, minmax(0, 1fr));
   }

   .stat-strip__item:nth-child(odd) {
      border-inline-start: 0;
      padding-inline-start: 0;
   }

   .stat-strip__item:nth-child(n + 3) {
      border-top: 1px solid var(--line);
   }
}

/* Cards and panels
   ========================================================================== */
.tile {
   display: flex;
   flex-direction: column;
   height: 100%;
   background: #fff;
   border: 1px solid var(--line);
   border-radius: var(--radius);
   overflow: hidden;
   transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

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

.tile--link:hover {
   border-color: var(--steel);
   box-shadow: 0 12px 28px rgba(12, 28, 46, 0.09);
}

.tile__media {
   display: block;
   aspect-ratio: 16 / 10;
   background: var(--concrete);
   overflow: hidden;
}

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

.tile__body {
   display: flex;
   flex: 1 1 auto;
   flex-direction: column;
   padding: clamp(18px, 2vw, 26px);
}

.tile__meta {
   display: flex;
   flex-wrap: wrap;
   gap: 4px 14px;
   margin-bottom: 10px;
   color: var(--muted);
   font-size: 0.85rem;
}

.tile__meta i {
   color: var(--orange-text);
   margin-inline-end: 5px;
}

.tile__title {
   margin-bottom: 10px;
   font-size: 1.14rem;
}

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

.tile__title a:hover {
   color: var(--blue);
}

.tile__text {
   color: var(--muted);
   font-size: 0.96rem;
}

.tile__foot {
   margin-top: auto;
   padding-top: 16px;
}

.tag {
   display: inline-block;
   padding: 3px 9px;
   background: var(--sand);
   color: var(--ink);
   font-family: var(--font-mono);
   font-size: 0.72rem;
   font-weight: 500;
   letter-spacing: 0.03em;
   text-transform: uppercase;
}

.tag--accent {
   background: #fdefdf;
   color: #7d3a06;
}

.tile__tags {
   display: flex;
   flex-wrap: wrap;
   gap: 6px;
   margin-bottom: 12px;
}

.icon-square {
   display: inline-flex;
   flex: 0 0 auto;
   align-items: center;
   justify-content: center;
   width: 46px;
   height: 46px;
   background: var(--sand);
   color: var(--orange-text);
   font-size: 1.15rem;
}

.is-dark .icon-square {
   background: rgba(255, 255, 255, 0.08);
   color: var(--orange-on-dark);
}

.point {
   display: flex;
   gap: 16px;
}

.point__title {
   margin-bottom: 4px;
   font-size: 1.02rem;
}

.point__text {
   color: var(--muted);
   font-size: 0.95rem;
}

.is-dark .point__text {
   color: var(--on-dark-muted);
}

.tick-list {
   margin: 0;
   padding: 0;
   list-style: none;
}

.tick-list li {
   position: relative;
   padding-inline-start: 20px;
   margin-bottom: 8px;
   color: var(--muted);
   font-size: 0.95rem;
}

.tick-list li::before {
   content: '';
   position: absolute;
   inset-inline-start: 0;
   top: 0.58em;
   width: 8px;
   height: 8px;
   background: var(--orange);
}

.is-dark .tick-list li {
   color: var(--on-dark-muted);
}

.tick-list--columns {
   columns: 2;
   column-gap: 24px;
}

.tick-list--columns li {
   break-inside: avoid;
}

@media (max-width: 575.98px) {
   .tick-list--columns {
      columns: 1;
   }
}

.feature-image {
   display: block;
   width: 100%;
   aspect-ratio: 4 / 3;
   object-fit: cover;
   border-radius: var(--radius);
}

/* Sector tiles and rows */
.sector {
   display: flex;
   align-items: center;
   gap: 14px;
   height: 100%;
   padding: 18px;
   background: #fff;
   border: 1px solid var(--line);
   border-radius: var(--radius);
   font-weight: 500;
   color: var(--ink);
}

.sector i {
   color: var(--orange-text);
   font-size: 1.2rem;
   width: 24px;
   text-align: center;
}

.service-row {
   padding-block: clamp(36px, 4.5vw, 64px);
   border-top: 1px solid var(--line);
   scroll-margin-top: var(--header-offset);
}

.service-row:first-child {
   border-top: 0;
   padding-top: 0;
}

.service-row__image {
   width: 100%;
   aspect-ratio: 16 / 11;
   object-fit: cover;
   border-radius: var(--radius);
}

/* Chips and filters */
.chip-row {
   display: flex;
   flex-wrap: wrap;
   gap: 8px;
}

.chip {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   min-height: 40px;
   padding: 7px 14px;
   background: #fff;
   border: 1px solid var(--line);
   border-radius: var(--radius);
   color: var(--text);
   font-size: 0.9rem;
   font-weight: 500;
   text-decoration: none;
   cursor: pointer;
   transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.chip:hover {
   border-color: var(--ink);
   color: var(--ink);
}

.chip.active,
.chip[aria-pressed='true'] {
   background: var(--ink);
   border-color: var(--ink);
   color: #fff;
}

.chip__count {
   font-family: var(--font-mono);
   font-size: 0.75rem;
   opacity: 0.75;
}

/* Timeline */
.timeline {
   margin: 0;
   padding: 0;
   list-style: none;
   border-inline-start: 2px solid var(--line);
}

.timeline__item {
   position: relative;
   padding: 0 0 clamp(26px, 3vw, 38px) clamp(22px, 3vw, 36px);
}

.timeline__item:last-child {
   padding-bottom: 0;
}

.timeline__item::before {
   content: '';
   position: absolute;
   inset-inline-start: -7px;
   top: 6px;
   width: 12px;
   height: 12px;
   background: var(--orange);
}

.timeline__year {
   display: block;
   margin-bottom: 4px;
   color: var(--orange-text);
   font-family: var(--font-mono);
   font-size: 0.85rem;
   font-weight: 500;
}

.timeline__title {
   margin-bottom: 6px;
   font-size: 1.12rem;
}

.timeline__text {
   color: var(--muted);
}

/* Specification table */
.spec-table {
   width: 100%;
   border-collapse: collapse;
}

.spec-table th,
.spec-table td {
   padding: 14px 16px;
   border-bottom: 1px solid var(--line);
   text-align: start;
   vertical-align: top;
   font-size: 0.96rem;
}

.spec-table th {
   width: 36%;
   color: var(--muted);
   font-weight: 500;
}

.spec-table td {
   color: var(--ink);
   font-weight: 500;
   overflow-wrap: anywhere;
}

.spec-table tr:first-child th,
.spec-table tr:first-child td {
   border-top: 1px solid var(--line);
}

@media (max-width: 575.98px) {

   .spec-table th,
   .spec-table td {
      display: block;
      width: 100%;
      padding-inline: 0;
   }

   .spec-table th {
      padding-bottom: 2px;
      border-bottom: 0;
   }

   .spec-table td {
      padding-top: 0;
   }

   .spec-table tr:first-child td {
      border-top: 0;
   }
}

/* Numbered rules */
.rule-list {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 0 32px;
   margin: 0;
   padding: 0;
   list-style: none;
   counter-reset: rule;
}

.rule-list li {
   display: flex;
   gap: 14px;
   padding-block: 14px;
   border-top: 1px solid var(--line);
   counter-increment: rule;
}

.rule-list li::before {
   content: counter(rule, decimal-leading-zero);
   color: var(--orange-text);
   font-family: var(--font-mono);
   font-size: 0.85rem;
   font-weight: 500;
   line-height: 1.7;
}

.rule-list strong {
   display: block;
   color: var(--ink);
   font-weight: 600;
}

.rule-list span {
   color: var(--muted);
   font-size: 0.94rem;
}

@media (max-width: 767.98px) {
   .rule-list {
      grid-template-columns: 1fr;
   }
}

/* Quote and leader */
.leader-photo {
   display: block;
   width: 100%;
   max-width: 340px;
   aspect-ratio: 4 / 5;
   object-fit: cover;
   object-position: top;
   background: var(--ink-2);
   border-radius: var(--radius);
}

.quote-block {
   padding-inline-start: 20px;
   border-inline-start: 3px solid var(--orange);
   font-size: clamp(1.05rem, 1.5vw, 1.25rem);
   color: var(--ink);
}

.is-dark .quote-block {
   color: #fff;
}

.person-name {
   display: block;
   color: var(--ink);
   font-weight: 600;
}

.is-dark .person-name {
   color: #fff;
}

.person-role {
   color: var(--muted);
   font-size: 0.92rem;
}

.is-dark .person-role {
   color: var(--on-dark-muted);
}

/* Team */
.team-card__photo {
   display: block;
   width: 100%;
   aspect-ratio: 1 / 1;
   object-fit: cover;
   object-position: top;
   background: var(--concrete);
}

.team-card__initials {
   display: flex;
   align-items: center;
   justify-content: center;
   aspect-ratio: 1 / 1;
   background: var(--ink-2);
   color: #fff;
   font-size: 2.2rem;
   font-weight: 600;
   letter-spacing: 0.04em;
}

.team-card__role {
   color: var(--orange-text);
   font-size: 0.86rem;
   font-weight: 500;
}

/* Logos */
.logo-tile {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   gap: 8px;
   height: 100%;
   min-height: 128px;
   padding: 18px 14px;
   background: #fff;
   border: 1px solid var(--line);
   border-radius: var(--radius);
   text-align: center;
   transition: border-color 0.18s ease;
}

.logo-tile:hover {
   border-color: var(--logo-accent, var(--steel));
}

.logo-tile img {
   width: auto;
   max-width: 100%;
   height: 46px;
   object-fit: contain;
}

.logo-tile__icon {
   font-size: 1.7rem;
}

.logo-tile__name {
   color: var(--ink);
   font-size: 0.86rem;
   font-weight: 600;
   line-height: 1.3;
}

.logo-tile__sub {
   color: var(--muted);
   font-size: 0.74rem;
   line-height: 1.3;
}

/* Videos */
.video-card {
   display: flex;
   flex-direction: column;
   height: 100%;
   background: #fff;
   border: 1px solid var(--line);
   border-radius: var(--radius);
   overflow: hidden;
}

.video-thumb {
   position: relative;
   display: block;
   width: 100%;
   padding: 0;
   aspect-ratio: 16 / 9;
   background: var(--ink);
   border: 0;
   cursor: pointer;
   overflow: hidden;
}

.video-thumb img {
   display: block;
   width: 100%;
   height: 100%;
   object-fit: cover;
   opacity: 0.88;
   transition: opacity 0.18s ease;
}

.video-thumb:hover img {
   opacity: 1;
}

.video-thumb__play {
   position: absolute;
   top: 50%;
   left: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   width: 58px;
   height: 58px;
   background: var(--orange);
   color: var(--ink);
   font-size: 1.1rem;
   transform: translate(-50%, -50%);
}

.video-thumb__badge {
   position: absolute;
   top: 12px;
   left: 12px;
}

.video-feature {
   background: var(--ink);
   color: var(--on-dark-muted);
   border-radius: var(--radius);
   overflow: hidden;
}

/* On phones the video list scrolls sideways, so it does not dominate the homepage. */
@media (max-width: 767.98px) {
   .video-rail {
      flex-wrap: nowrap;
      overflow-x: auto;
      padding-bottom: 12px;
      scroll-snap-type: x proximity;
   }

   .video-rail>* {
      flex: 0 0 84%;
      scroll-snap-align: start;
   }

   .topbar__social {
      display: none !important;
   }
}

/* Closing call to action */
.cta-band {
   background: var(--ink);
   color: var(--on-dark-muted);
}

.cta-band h2 {
   color: #fff;
}

.cta-band__inner {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   justify-content: space-between;
   gap: 24px 48px;
   padding-block: clamp(44px, 5.5vw, 72px);
}

.cta-band__copy {
   flex: 1 1 480px;
   max-width: 760px;
}

.cta-band__copy p {
   margin-top: 12px;
   font-size: 1.05rem;
}

/* Forms
   ========================================================================== */
.form-panel {
   padding: clamp(20px, 3vw, 40px);
   background: #fff;
   border: 1px solid var(--line);
   border-radius: var(--radius);
}

.field {
   display: block;
}

.field__label {
   display: block;
   margin-bottom: 6px;
   color: var(--ink);
   font-size: 0.92rem;
   font-weight: 600;
}

.field__required {
   color: #b42318;
}

.field__hint {
   display: block;
   margin-top: 6px;
   color: var(--muted);
   font-size: 0.84rem;
}

.field__error {
   display: block;
   margin-top: 6px;
   color: #b42318;
   font-size: 0.86rem;
   font-weight: 500;
}

.field-control {
   display: block;
   width: 100%;
   min-height: 48px;
   padding: 10px 13px;
   background: #fff;
   border: 1px solid #8a95a2;
   border-radius: var(--radius);
   color: var(--text);
   font-size: 1rem;
}

select.field-control {
   appearance: auto;
}

textarea.field-control {
   min-height: 130px;
}

.field-control:focus {
   border-color: var(--ink);
   outline: 3px solid rgba(240, 138, 36, 0.55);
   outline-offset: 0;
}

.field-control.is-invalid {
   border-color: #b42318;
}

.form-alert {
   margin-bottom: 22px;
   padding: 14px 16px;
   background: #fef3f2;
   border: 1px solid #f3b4ae;
   border-radius: var(--radius);
   color: #7a1a12;
   font-size: 0.94rem;
}

.form-alert ul {
   margin: 6px 0 0;
   padding-inline-start: 18px;
}

.flash {
   padding-block: 14px;
   font-weight: 500;
}

.flash--success {
   background: #e9f6ee;
   color: #125c2f;
}

.flash--error {
   background: #fef3f2;
   color: #7a1a12;
}

.flash__inner {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 16px;
}

.info-panel {
   padding: clamp(20px, 2.4vw, 30px);
   background: var(--sand);
   border-radius: var(--radius);
}

.info-list {
   margin: 0;
   padding: 0;
   list-style: none;
}

.info-list li {
   padding-block: 12px;
   border-top: 1px solid var(--line);
}

.info-list li:first-child {
   border-top: 0;
   padding-top: 0;
}

.info-list small {
   display: block;
   color: var(--muted);
   font-size: 0.84rem;
}

.info-list a {
   font-weight: 600;
   overflow-wrap: anywhere;
}

.map-frame {
   display: block;
   width: 100%;
   height: clamp(300px, 40vw, 440px);
   border: 0;
}

/* Empty state */
.empty-state {
   padding: clamp(32px, 5vw, 56px);
   background: var(--sand);
   border-radius: var(--radius);
   text-align: center;
}

.empty-state p {
   color: var(--muted);
}

/* Pagination */
.pagination {
   --bs-pagination-color: var(--ink);
   --bs-pagination-active-bg: var(--ink);
   --bs-pagination-active-border-color: var(--ink);
   --bs-pagination-border-radius: var(--radius);
   --bs-pagination-hover-color: var(--ink);
   --bs-pagination-focus-box-shadow: 0 0 0 3px rgba(240, 138, 36, 0.55);
   flex-wrap: wrap;
}

/* Footer
   ========================================================================== */
.site-footer {
   background: var(--ink);
   color: var(--on-dark-muted);
   font-size: 0.94rem;
}

.site-footer__main {
   padding-block: clamp(48px, 6vw, 80px);
}

.site-footer h2 {
   margin-bottom: 16px;
   color: #fff;
   font-family: var(--font-mono);
   font-size: 0.8rem;
   font-weight: 500;
   letter-spacing: 0.08em;
   text-transform: uppercase;
}

.site-footer a {
   color: var(--on-dark-muted);
   text-decoration: none;
}

.site-footer a:hover {
   color: #fff;
   text-decoration: underline;
}

.site-footer__links {
   margin: 0;
   padding: 0;
   list-style: none;
}

.site-footer__links li {
   margin-bottom: 8px;
}

.site-footer__logo {
   display: inline-block;
   margin-bottom: 18px;
   padding: 8px;
   background: #fff;
   border-radius: var(--radius);
}

.site-footer__logo img {
   display: block;
   width: auto;
   height: 56px;
}

.site-footer__contact li {
   display: flex;
   gap: 12px;
   margin-bottom: 12px;
   overflow-wrap: anywhere;
}

.site-footer__contact i {
   flex: 0 0 auto;
   margin-top: 5px;
   color: var(--orange-on-dark);
}

.site-footer__legal {
   margin-top: 14px;
   font-size: 0.86rem;
}

.site-footer__legal span {
   display: block;
}

.site-footer__social {
   display: flex;
   gap: 8px;
   margin-top: 16px;
}

.site-footer__social a {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 40px;
   height: 40px;
   border: 1px solid var(--line-dark);
   border-radius: var(--radius);
}

.site-footer__social a:hover {
   border-color: #fff;
   text-decoration: none;
}

.site-footer__bottom {
   padding-block: 18px;
   border-top: 1px solid var(--line-dark);
   font-size: 0.85rem;
}

.site-footer__bottom-inner {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   justify-content: space-between;
   gap: 6px 24px;
}

.site-footer__bottom-links {
   display: flex;
   flex-wrap: wrap;
   gap: 6px 18px;
}

/* Floating actions */
.float-action {
   position: fixed;
   right: 18px;
   z-index: 1020;
   display: flex;
   align-items: center;
   justify-content: center;
   width: 50px;
   height: 50px;
   border: 0;
   border-radius: var(--radius);
   box-shadow: 0 8px 22px rgba(12, 28, 46, 0.25);
   cursor: pointer;
   text-decoration: none;
}

.float-action--whatsapp {
   bottom: 18px;
   background: #128c4a;
   color: #fff;
   font-size: 1.5rem;
}

.float-action--whatsapp:hover {
   background: #0e6f3a;
   color: #fff;
}

.float-action--top {
   bottom: 76px;
   background: var(--ink);
   color: #fff;
}

.float-action--top:hover {
   background: var(--steel);
}

.float-action--top[hidden] {
   display: none;
}

/* Motion: only applied to content below the fold, and only when motion is allowed. */
.reveal-pending {
   opacity: 0;
   transform: translateY(14px);
}

.reveal-in {
   opacity: 1;
   transform: none;
   transition: opacity 0.45s ease, transform 0.45s ease;
}

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

   *,
   *::before,
   *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
   }
}

@media print {

   .topbar,
   .site-header,
   .float-action,
   .cta-band,
   .site-footer {
      display: none;
   }
}