/* Generated by scripts/build-css.mjs. Edit the site-*.css source files. */
@font-face {
  font-family: "Realtime Text Rounded";
  src: url("assets/fonts/realtime-text-rounded-font/realtimetextroundedtest-light.otf")
    format("opentype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Realtime Text Rounded";
  src: url("assets/fonts/realtime-text-rounded-font/realtimetextroundedtest-regular.otf")
    format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Realtime Text Rounded";
  src: url("assets/fonts/realtime-text-rounded-font/realtimetextroundedtest-semibold.otf")
    format("opentype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Realtime Text Rounded";
  src: url("assets/fonts/realtime-text-rounded-font/realtimetextroundedtest-bold.otf")
    format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Realtime Text Rounded";
  src: url("assets/fonts/realtime-text-rounded-font/realtimetextroundedtest-black.otf")
    format("opentype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

/* =========================================================
   01. DESIGN TOKENS
   ========================================================= */

:root {
  --color-text: #444444;
  --color-text-muted: #777777;
  --color-text-light: #bebebe;
  --color-line: #d1d1d1;
  --color-surface: #ffffff;
  --color-surface-soft: #f8fafc;
  --color-dark: #151515;
  --color-red: #8F2237;
  --color-orange: #f9980b;

  /* Backward-compatible aliases used by older pages. */
  --ink: var(--color-text);
  --muted: var(--color-text-light);
  --line: var(--color-line);
  --surface: var(--color-surface);
  --teal: var(--color-dark);
  --deep: var(--color-dark);
  --green: var(--color-red);
  --green2: var(--color-orange);
  --white: #ffffff;
  --service-title-color: var(--color-text);

  --max: 1060px;
  --shadow: 0 18px 50px rgba(17, 18, 19, 0.1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 64px;
  --header-logo-height: 40px;
  --layout-wide: 1500px;
  --color-red-hover: #b90703;
  --font-display: "Realtime Text Rounded", Arial, sans-serif;
  --font-body: "Realtime Text Rounded", Arial, sans-serif;
}

/* =========================================================
   02. RESET AND GLOBALS
   ========================================================= */

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

html {
  max-width: 100%;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  overflow-x: clip;
}

body {
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
  color: var(--color-text);
  background: var(--color-surface);
  font-family: var(--font-body);
  line-height: 1.65;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-font {
  font-family: var(--font-display);
}

.btn,
.menu a,
button,
input,
textarea,
select {
  font-family: var(--font-body);
}

/* Realtime Text Rounded is used consistently for content and display text. */
body
  :where(
    p,
    li,
    a,
    span,
    small,
    strong,
    label,
    button,
    input,
    textarea,
    select
  ) {
  font-family: var(--font-body) !important;
}

body :where(h1, h2, h3, h4, h5, h6),
body :where(h1, h2, h3, h4, h5, h6) * {
  font-family: var(--font-display) !important;
}

/* The complete navigation system uses the brand font on desktop and mobile. */
total-header,
total-header *,
.site-header,
.site-header *,
.utility,
.utility *,
.menu,
.menu * {
  font-family: var(--font-display) !important;
}

.container {
  width: min(calc(100% - 120px), var(--max));
  margin-inline: auto;
}

.content {
  max-width: 860px;
}

.muted-light {
  color: var(--color-text-light);
}

/* Custom elements must participate in normal document flow. */
total-header,
total-footer,
total-page-hero,
total-client-strip,
total-service-grid,
total-gallery-grid,
total-contact-details,
total-principles,
total-homepage,
total-video-showcase,
total-video-hero {
  display: block;
}

total-header:not(:defined),
total-footer:not(:defined),
total-page-hero:not(:defined),
total-client-strip:not(:defined),
total-service-grid:not(:defined),
total-gallery-grid:not(:defined),
total-contact-details:not(:defined),
total-principles:not(:defined),
total-homepage:not(:defined),
total-video-showcase:not(:defined),
total-video-hero:not(:defined) {
  min-height: 1px;
  visibility: hidden;
}

total-homepage:not(:defined) {
  min-height: 100vh;
}

total-video-hero:not(:defined) {
  min-height: calc(82vh - 109px);
}

total-header:not(:defined) {
  min-height: 112px;
}

total-footer:not(:defined) {
  min-height: 380px;
}

/* =========================================================
   03. SHARED UTILITIES
   ========================================================= */

.bg-gray,
.section.bg-gray {
  color: #ffffff !important;
  background: var(--color-text) !important;
}

.bg-gray h1,
.bg-gray h2,
.bg-gray h3,
.bg-gray h4,
.section.bg-gray h1,
.section.bg-gray h2,
.section.bg-gray h3,
.section.bg-gray h4 {
  color: #ffffff;
}

.bg-gray p,
.bg-gray .muted,
.section.bg-gray p {
  color: var(--color-text-light);
}

.bg-dark,
.section.bg-dark {
  color: #ffffff !important;
  background: var(--color-dark) !important;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 26px;
  height: 2px;
  background: currentColor;
}

.lead-copy > strong:first-child {
  color: var(--color-red);
}

.accent-text {
  color: var(--color-orange);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 21px;
  color: #ffffff;
  background: var(--color-red);
  border: 0;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.28s var(--ease-out),
    background-color 0.28s var(--ease-standard),
    color 0.28s var(--ease-standard),
    box-shadow 0.28s var(--ease-out);
}

.btn:hover {
  color: var(--color-text);
  background: var(--color-orange);
  box-shadow: 0 10px 24px rgba(217, 8, 3, 0.25);
  transform: translateY(-2px);
}

.btn.outline {
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.link,
.menu a:hover,
.menu a.active {
  color: var(--color-red);
}

.link {
  font-size: 14px;
  font-weight: 800;
}

/* =========================================================
   04. LEGACY HEADER AND NAVIGATION
   Kept for pages that do not use <total-header>.
   ========================================================= */

.utility {
  color: var(--color-text-light);
  background: var(--color-dark);
  font-size: 12px;
}

.utility .container {
  display: flex;
  justify-content: space-between;
  padding-block: 7px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--color-line);
  backdrop-filter: blur(10px);
  transition:
    box-shadow 0.35s var(--ease-standard),
    border-color 0.35s var(--ease-standard);
}

.nav {
  display: flex;
  align-items: center;
  gap: 38px;
  height: 78px;
}

.logo img {
  width: 166px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.menu a {
  font-size: 14px;
  font-weight: 700;
}

.menu > a:not(.btn) {
  transition:
    color 0.25s var(--ease-standard),
    background-color 0.25s var(--ease-standard);
}

.hamb {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  font-size: 26px;
}

/* =========================================================
   05. REUSABLE PUBLIC HEADER
   ========================================================= */

total-header {
  --header-scroll-progress: 0;

  position: sticky;
  top: -36px;
  z-index: 100;
  background: #ffffff;
}

total-header .header-container {
  width: min(calc(100% - 120px), var(--max));
  max-width: none;
  margin-inline: auto;
  padding: 0;
}

total-header .header-utility {
  height: 36px;
  color: var(--color-text);
  background: #ffffff;
  border-top: 4px solid rgba(217, 8, 3, 0.12);
  border-bottom: 1px solid var(--color-line);
}

total-header .header-utility .header-container {
  display: flex;
  justify-content: flex-end;
  height: 31px;
}

total-header .header-utility span {
  display: flex;
  align-items: center;
  height: 31px;
  padding-inline: 20px;
  border-left: 1px solid var(--color-line);
  font-size: 12px;
  white-space: nowrap;
}

total-header .header-shell {
  position: relative;
  height: 76px;
  background: #ffffff;
  border-bottom: 1px solid var(--color-red);
  box-shadow: 0 5px 16px rgba(68, 68, 68, 0.06);
}

total-header .header-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 110;
  width: 100%;
  height: 4px;
  background: var(--color-red);
  transform: scaleX(var(--header-scroll-progress));
  transform-origin: left center;
  transition: transform 0.08s linear;
  pointer-events: none;
}

total-header .header-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 76px;
}

total-header .header-logo {
  z-index: 2;
  display: flex;
  flex: 0 0 232px;
  align-items: center;
  justify-content: flex-start;
  width: 232px;
  height: 76px;
  padding: 0;
  background: transparent;
  border: 0;
}

total-header .header-logo img {
  width: 220px;
  height: auto;
  max-width: 100%;
  margin: 0;
  object-fit: contain;
}

total-header .header-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  width: auto;
  height: 76px;
  margin-left: auto;
}

total-header .header-menu > a {
  position: relative;
  display: flex;
  align-items: center;
  height: 76px;
  padding-inline: 25px;
  color: var(--color-text);
  font:
    700 14px/1 "Realtime Text Rounded",
    Arial,
    sans-serif;
  white-space: nowrap;
}

total-header .header-menu > a:hover,
total-header .header-menu > a.active {
  color: var(--color-red);
  background: #ffffff;
}

total-header .header-menu > a::after {
  content: "";
  position: absolute;
  right: 25%;
  bottom: 0;
  left: 25%;
  height: 3px;
  background: var(--color-orange);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

total-header .header-menu > a:hover::after,
total-header .header-menu > a.active::after {
  transform: scaleX(1);
}

total-header .header-hamb {
  display: none;
  margin-left: auto;
  color: var(--color-text);
  background: none;
  border: 0;
  font-size: 26px;
}

/* =========================================================
   06. SECTIONS AND COMMON LAYOUTS
   ========================================================= */

.section {
  padding-block: 108px;
}

.section.soft {
  background: var(--color-surface);
}

/* The current brand treatment reserves dark backgrounds for the footer. */
.section.dark {
  color: var(--color-text);
  background: #ffffff;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.section.dark .section-head p,
.section.dark .muted-light {
  color: var(--color-text);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 45px;
}

.section-head h2,
.split h2,
.page-hero h1 {
  margin: 12px 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.section-head p {
  max-width: 540px;
  color: var(--color-text-light);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 78px;
}

.photo-stack {
  position: relative;
}

.photo-stack > img,
.split > img {
  transition:
    transform 0.8s var(--ease-out),
    filter 0.5s var(--ease-standard);
}

.photo-stack > img {
  width: 90%;
  height: 520px;
  object-fit: cover;
  border-radius: 6px;
}

.photo-stack > img:hover,
.split > img:hover {
  transform: scale(1.025);
}

.photo-stack .badge {
  position: absolute;
  right: 0;
  bottom: 32px;
  width: 190px;
  padding: 20px;
  color: var(--color-text);
  background: #ffffff;
  border-left: 3px solid var(--color-orange);
  box-shadow: 0 10px 24px rgba(21, 21, 21, 0.2);
  font-weight: 800;
}

.photo-stack .badge--logo {
  display: grid;
  place-items: center;
}

.photo-stack .badge--logo img {
  width: 100%;
  max-width: 150px;
  height: auto;
}

.photo-stack .badge span {
  font:
    700 9px/1.3 "Realtime Text Rounded",
    Arial,
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.88;
}

.photo-stack .badge strong {
  color: var(--color-text);
  font:
    800 20px/1.1 "Realtime Text Rounded",
    Arial,
    sans-serif;
  letter-spacing: -0.02em;
}

.check-list {
  display: grid;
  gap: 15px;
  margin: 28px 0 34px;
}

.check {
  display: flex;
  gap: 12px;
  font-weight: 700;
}

.check::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--color-red);
  background: #ffffff;
  border-radius: 50%;
}

.lead-copy {
  max-width: 590px;
  margin: 0;
  color: var(--color-text);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.75;
}

.about-intro .brand-copy {
  color: var(--color-text);
  font-weight: 700;
}

.client-strip {
  border-bottom: 1px solid var(--color-line);
}

.client-row {
  display: grid;
  grid-template-columns: 140px repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 26px;
  padding-block: 25px;
}

.client-row span {
  color: var(--color-text-light);
  font-size: 12px;
  font-weight: 700;
}

.client-row img {
  max-width: 100px;
  max-height: 34px;
  margin-inline: auto;
  opacity: 0.55;
  filter: grayscale(1);
  transition:
    transform 0.35s var(--ease-out),
    opacity 0.3s var(--ease-standard),
    filter 0.3s var(--ease-standard);
}

.client-row img:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-3px);
}

/* =========================================================
   07. LEGACY CARDS, GALLERY, FORMS, TRACKING AND CTA
   ========================================================= */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card,
.service-detail-card {
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    border-color 0.3s var(--ease-standard),
    opacity 0.3s var(--ease-standard);
}

.service-card {
  min-height: 245px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: 14px;
}

.service-card:hover {
  border-color: var(--color-line);
  box-shadow: 0 20px 42px rgba(68, 68, 68, 0.12);
  transform: translateY(-7px);
}

.service-card img {
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  object-fit: contain;
}

.service-card h3 {
  margin: 0 0 9px;
  font-size: 20px;
}

.service-card p {
  margin: 0 0 18px;
  color: var(--color-text-light);
  font-size: 14px;
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--color-line);
}

.band-card {
  padding: 34px;
  color: var(--color-text);
  background: #ffffff;
  border-radius: 14px;
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    border-color 0.3s var(--ease-standard),
    opacity 0.3s var(--ease-standard);
}

.band-card:hover {
  box-shadow: 0 20px 42px rgba(68, 68, 68, 0.12);
  transform: translateY(-7px);
}

.band-card small {
  color: var(--color-red);
}

.band-card h3 {
  margin: 8px 0;
  font-size: 25px;
}

.band-card ul {
  padding-left: 18px;
  color: var(--color-text);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--color-dark);
  border-radius: 14px;
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    border-color 0.3s var(--ease-standard),
    opacity 0.3s var(--ease-standard);
}

.gallery-grid figure:hover {
  box-shadow: 0 16px 30px rgba(68, 68, 68, 0.14);
  transform: translateY(-5px);
}

.gallery-grid img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  transition: 0.3s;
}

.gallery-grid figure:hover img {
  opacity: 0.75;
  transform: scale(1.04);
}

.gallery-grid figcaption {
  position: absolute;
  bottom: 0;
  padding: 20px;
  color: #ffffff;
  font-weight: 700;
}

.certs {
  display: flex;
  align-items: center;
  gap: 40px;
}

.certs img {
  max-height: 112px;
}

.cta {
  padding-block: 65px;
  color: var(--color-text);
  background: #ffffff;
  border-top: 6px solid var(--color-orange);
  border-bottom: 1px solid var(--color-line);
}

.cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta h2 {
  margin: 0;
  font-size: 36px;
}

.cta p {
  margin: 8px 0 0;
}

.cta .btn {
  color: #ffffff;
  background: var(--color-red);
}

.cta .btn:hover {
  color: var(--color-text);
  background: var(--color-orange);
}

.form-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 55px;
}

.form-card {
  padding: 36px;
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: 14px;
}

.contact-map {
  width: 100%;
  min-height: 640px;
  overflow: hidden;
  background: var(--color-surface-soft);
  border: 1px solid var(--color-line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.contact-map .leaflet-popup-content-wrapper,
.contact-map .leaflet-popup-tip {
  color: var(--color-text);
  background: var(--color-surface);
}

.contact-map .leaflet-popup-content-wrapper {
  cursor: pointer;
}

.contact-map .leaflet-popup-content {
  margin: 14px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
}

.contact-map-popup {
  display: grid;
  gap: 3px;
}

.contact-map-popup span {
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 700;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 19px;
}

.field label {
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field textarea,
.tracking-row input {
  width: 100%;
  padding: 13px;
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
}

.contact-card {
  padding: 34px;
  color: var(--color-text);
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: 10px;
}

.contact-card a {
  color: var(--color-red);
}

.tracking-box {
  position: relative;
  max-width: 760px;
  margin: -42px auto 0;
  padding: 34px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.tracking-row {
  display: flex;
}

.tracking-row input {
  flex: 1;
}

.prose h2 {
  margin-top: 42px;
  font-family: var(--font-display);
  font-size: 28px;
}

.prose li {
  margin-block: 10px;
}

.whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #ffffff;
  background: var(--color-red);
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  font-size: 25px;
  font-weight: 900;
  animation: whatsapp-pulse 3s infinite ease-in-out;
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}

.whatsapp:hover {
  box-shadow: 0 12px 30px rgba(217, 8, 3, 0.5);
  transform: scale(1.12);
}

@keyframes whatsapp-pulse {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 14px 32px rgba(217, 8, 3, 0.45);
    transform: scale(1.06);
  }
}

/* =========================================================
   08. PAGE HEROES
   ========================================================= */

.page-hero {
  padding-block: 95px;
  color: var(--color-text);
  background: #ffffff;
  border-bottom: 1px solid var(--color-line);
}

.page-hero p {
  max-width: 680px;
  color: var(--color-text);
}

.services-page total-page-hero .page-hero {
  color: #ffffff;
  background: var(--color-text);
  border-bottom: 0;
}

.services-page total-page-hero .page-hero h1 {
  color: #ffffff;
}

.services-page total-page-hero .page-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.page-hero--editorial {
  padding: 76px 0 48px;
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid var(--color-line);
}

.page-hero--editorial .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.page-hero--editorial h1 {
  max-width: 760px;
  margin: 0;
  color: var(--color-black);
  font-size: clamp(58px, 8vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.page-hero--editorial h1::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 10px;
  background: var(--color-orange);
}

.page-hero--centered {
  padding-block: 58px;
  text-align: center;
  background: #ffffff;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.page-hero--centered h1 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-hero--centered h1::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin: 18px auto 0;
  background: var(--color-red);
}

.page-hero--brand-band {
  padding-block: 74px;
  background: var(--color-surface-soft);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.page-hero--brand-band .container {
  display: flex;
  justify-content: flex-start;
}

.page-hero--brand-band h1 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.045em;
  text-align: left;
}

/* =========================================================
   09. REUSABLE FOOTER
   ========================================================= */

.footer {
  padding: 70px 0 25px;
  color: var(--color-text-light);
  background: var(--color-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 70px;
}

.footer img {
  width: 170px;
  filter: brightness(0) invert(1);
}

.footer h3 {
  color: #ffffff;
  font-size: 15px;
}

.footer a {
  display: block;
  margin-block: 8px;
}

.copyright {
  margin-top: 45px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
}

.social-icon--instagram {
  position: relative;
  width: 21px;
  height: 21px;
  border: 2px solid currentColor;
  border-radius: 6px;
}

.social-icon--instagram::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.social-icon--instagram::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 3px;
  height: 3px;
  background: currentColor;
  border-radius: 50%;
}

.social-icon--youtube {
  position: relative;
  width: 24px;
  height: 17px;
  background: currentColor;
  border-radius: 5px;
}

.social-icon--youtube::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 10px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid var(--color-dark);
}

.footer-social > .footer-brand-logo {
  width: 280px;
  max-width: 100%;
  margin-bottom: 24px;
  filter: none;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer .social-link {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease;
}

.footer .social-icon-image {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer .social-link:hover {
  color: var(--color-dark);
  background: var(--color-orange);
  border-color: var(--color-orange);
  transform: translateY(-2px);
}

.footer .social-link:hover .social-icon-image {
  filter: brightness(0);
}

.footer .social-link:hover .social-icon--youtube::before {
  border-left-color: var(--color-orange);
}

.footer .footer-asperindo {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer .footer-asperindo img {
  width: 190px;
  max-width: 100%;
  opacity: 0.9;
  filter: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.footer .footer-asperindo:hover img {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-certification-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 17px 0 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer .footer-certification-logos > img {
  width: 112px;
  height: 80px;
  object-fit: contain;
  background: #ffffff;
  filter: none;
}

.footer .footer-certification-logos > a {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.footer .footer-certification-logos > a img {
  width: 48px;
  height: 76px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: transform 0.25s ease;
}

.footer .footer-certification-logos > a:hover img {
  transform: translateY(-2px);
}

.certificate-rows {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.footer .certificate-row {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 11px 0;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer .certificate-row:last-child {
  border-bottom: 0;
}

.footer .certificate-row strong {
  font:
    700 13px/1.3 "Realtime Text Rounded",
    Arial,
    sans-serif;
}

.footer .certificate-row small {
  color: var(--color-text-light);
  font:
    400 10px/1.5 "Realtime Text Rounded",
    Arial,
    sans-serif;
}

total-footer {
  width: 100%;
}

total-footer .total-footer-shell {
  width: 100%;
  margin: 0;
  padding: 70px 0 25px;
  color: var(--color-text-light);
  background: var(--color-dark);
  font:
    400 13px/1.65 "Realtime Text Rounded",
    Arial,
    sans-serif;
  text-align: left;
}

total-footer .total-footer-container {
  width: min(calc(100% - 120px), var(--max));
  max-width: none;
  margin-inline: auto;
  padding: 0;
}

total-footer .total-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  align-items: start;
  gap: 70px;
  width: 100%;
  margin: 0;
  padding: 0;
}

total-footer h3 {
  margin: 0 0 16px;
  padding: 0;
  color: #ffffff;
  font:
    700 15px/1.35 "Realtime Text Rounded",
    Arial,
    sans-serif;
}

total-footer p {
  margin: 8px 0;
  padding: 0;
  color: var(--color-text-light);
  font:
    400 13px/1.65 "Realtime Text Rounded",
    Arial,
    sans-serif;
}

total-footer a {
  color: inherit;
}

total-footer .footer-brand-logo {
  width: 280px;
  max-width: 100%;
  height: auto;
  margin: 0 0 24px;
  padding: 0;
  filter: none;
}

total-footer .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

total-footer .social-link {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 0;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease;
}

total-footer .social-icon-image {
  width: 22px;
  height: 22px;
  margin: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

total-footer .social-link:hover {
  color: var(--color-dark);
  background: var(--color-orange);
  border-color: var(--color-orange);
  transform: translateY(-2px);
}

total-footer .social-link:hover .social-icon-image {
  filter: brightness(0);
}

total-footer .social-link:hover .social-icon--youtube::before {
  border-left-color: var(--color-orange);
}

total-footer .footer-asperindo {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 28px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

total-footer .footer-asperindo img {
  width: 190px;
  max-width: 100%;
  height: auto;
  margin: 0;
  opacity: 0.9;
  filter: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

total-footer .footer-asperindo:hover img {
  opacity: 1;
  transform: translateY(-2px);
}

total-footer .footer-certification-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 17px 0 8px;
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

total-footer .footer-certification-logos > img {
  width: 112px;
  height: 80px;
  margin: 0;
  object-fit: contain;
  background: #ffffff;
  filter: none;
}

total-footer .footer-certification-logos > a {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

total-footer .footer-certification-logos > a img {
  width: 48px;
  height: 76px;
  margin: 0;
  object-fit: contain;
  /* The source SVG is black; invert it only inside the dark footer. */
  filter: brightness(0) invert(1) !important;
  transition: transform 0.25s ease;
}

total-footer .footer-certification-logos > a:hover img {
  transform: translateY(-2px);
}

total-footer .certificate-rows {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
}

total-footer .certificate-row {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 11px 0;
  color: #ffffff;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

total-footer .certificate-row:last-child {
  border-bottom: 0;
}

total-footer .certificate-row strong {
  color: #ffffff;
  font:
    700 13px/1.3 "Realtime Text Rounded",
    Arial,
    sans-serif;
}

total-footer .certificate-row small {
  color: var(--color-text-light);
  font:
    400 10px/1.5 "Realtime Text Rounded",
    Arial,
    sans-serif;
}

total-footer .total-footer-office > a {
  display: block;
  margin: 8px 0;
  color: var(--color-text-light);
  font:
    400 13px/1.65 "Realtime Text Rounded",
    Arial,
    sans-serif;
}

total-footer .total-footer-office > a:hover {
  color: var(--color-orange);
}

total-footer .total-footer-copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  margin: 45px 0 0;
  padding: 22px 0 0;
  color: var(--color-text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font:
    400 12px/1.5 "Realtime Text Rounded",
    Arial,
    sans-serif;
}

total-footer .footer-legal-links a {
  color: var(--color-text-light);
  transition: color 0.2s ease;
}

total-footer .footer-legal-links a:hover {
  color: var(--color-orange);
}

/* =========================================================
   10. HOMEPAGE VIDEO HERO
   ========================================================= */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: calc(82vh - 109px);
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(
      90deg,
      rgba(68, 68, 68, 0.88) 0%,
      rgba(68, 68, 68, 0.58) 48%,
      rgba(68, 68, 68, 0.08) 78%
    ),
    url("assets/images/slider/slide2.webp") center / cover no-repeat;
}

.hero:not(.hero-video-only)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(68, 68, 68, 0.9) 0%,
    rgba(68, 68, 68, 0.6) 48%,
    rgba(68, 68, 68, 0.16) 78%
  );
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-copy {
  width: min(100%, 760px);
  max-width: 760px;
  padding-block: 72px;
}

.hero .eyebrow {
  justify-content: center;
  color: var(--color-orange);
}

.hero h1,
.hero .hero-copy h1 {
  margin: 16px 0 18px;
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero p,
.hero .trust {
  color: #ffffff;
}

.hero .hero-copy p {
  max-width: 560px;
  margin-inline: auto;
}

.hero .actions {
  justify-content: center;
  margin-top: 28px;
}

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

.trust {
  margin-top: 42px;
  padding-top: 22px;
  color: var(--color-text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 14px;
}

.hero-copy > * {
  opacity: 1;
  transform: none;
  animation: none;
}

.hero-video-only {
  width: 100%;
  height: auto;
  min-height: 0;
  margin: -56px 0 0;
  padding: 0;
  aspect-ratio: 16 / 9;
  background: var(--color-dark);
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--color-dark) url("assets/images/slider/slide2.webp") center /
    cover no-repeat;
  pointer-events: none;
}

.hero-video iframe,
.hero-local-video,
.hero-slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  filter: brightness(0.62);
  pointer-events: none;
}

.hero-slide-image {
  animation: none;
}

.hero-slide-image[hidden],
.hero-local-video[hidden],
.hero-video iframe[hidden] {
  display: none;
}

.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(8, 52, 78, 0.22);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-video-only::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 12, 14, 0.22) 0%,
    rgba(10, 12, 14, 0.38) 52%,
    rgba(10, 12, 14, 0.64) 100%
  );
  pointer-events: none;
}

.hero-video-only::before {
  content: "Strategic Parts Management\A and Express Distribution";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: min(calc(100% - 40px), 540px);
  color: #ffffff;
  font:
    800 clamp(18px, 2.35vw, 32px) / 1.15 "Realtime Text Rounded",
    Arial,
    sans-serif;
  letter-spacing: -0.015em;
  text-align: center;
  white-space: pre-line;
  text-shadow: 0 4px 24px rgba(21, 21, 21, 0.72);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@keyframes hero-media-enter {
  from {
    opacity: 0.25;
    transform: scale(1.015);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll indicator — tengah bawah */
.hero-scroll-arrow {
  position: absolute;
  top: auto;
  right: auto;
  bottom: 24px;
  left: 50%;
  z-index: 4;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;

  width: max-content;
  height: 42px;
  padding: 0;

  color: #ffffff;
  background: transparent;
  border: 0;
  opacity: 0.9;

  transform: translateX(-50%);
  animation: none;
}

.hero-scroll-arrow span {
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-scroll-arrow svg {
  width: 20px;
  height: 20px;
}

.hero-scroll-arrow:hover {
  color: var(--color-orange);
  opacity: 1;
}

.hero-scroll-arrow:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 4px;
}

.hero-video-controls {
  position: absolute;
  right: 90px;
  bottom: 24px;
  left: auto;
  z-index: 4;

  display: flex;
  align-items: center;
  gap: 8px;

  width: max-content;
  transform: none;
}

.hero-video-arrow {
  appearance: none;
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  padding: 0;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  border: 0;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  transition:
    color 0.25s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

.hero-video-arrow svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.hero-video-arrow:hover {
  color: var(--color-orange);
  transform: scale(1.12);
}

.hero-video-arrow:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

.hero-video-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-video-dot {
  appearance: none;
  flex: none;
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgba(255, 255, 255, 0.5);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition:
    width 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease;
}

.hero-video-dot:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.15);
}

.hero-video-dot.active {
  width: 24px;
  background: var(--color-orange);
}

@keyframes hero-scroll-float {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(7px);
  }
}

/* =========================================================
   11. VIDEO SHOWCASE
   ========================================================= */

.video-showcase {
  background: #ffffff;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.video-item {
  margin: 0;
  overflow: hidden;
  background: var(--color-dark);
  border: 1px solid var(--color-line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(68, 68, 68, 0.1);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    border-color 0.35s var(--ease-standard);
}

.video-item:hover {
  border-color: var(--color-orange);
  box-shadow: 0 18px 42px rgba(68, 68, 68, 0.16);
  transform: translateY(-5px);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================================
   12. ABOUT AND PRINCIPLES
   ========================================================= */

.about-intro {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 8vw, 118px);
  background:
    linear-gradient(90deg, rgba(217, 8, 3, 0.035) 0, rgba(217, 8, 3, 0) 38%),
    #ffffff;
}

.about-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: max(18px, calc((100vw - var(--max)) / 2));
  width: 72px;
  height: 4px;
  background: var(--color-red);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
}

.about-intro-copy {
  max-width: 610px;
}

.about-intro .lead-copy {
  max-width: 570px;
  margin-top: 22px;
  color: #626262;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.7;
}

.about-intro .lead-copy strong:first-child {
  color: var(--color-text);
}

.about-intro-rule {
  width: 100%;
  max-width: 570px;
  height: 1px;
  margin: 30px 0 20px;
  background: var(--color-line);
}

.about-intro-note {
  max-width: 510px;
  margin: 0;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.55;
  text-transform: uppercase;
}

.about-intro-visual {
  position: relative;
  min-width: 0;
  padding: 0 24px 24px 0;
}

.about-intro-visual::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 72%;
  height: 68%;
  background: var(--color-orange);
}

.about-intro-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.about-intro-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  min-width: 150px;
  padding: 20px 24px;
  color: #ffffff;
  background: var(--color-red);
  box-shadow: 0 16px 34px rgba(68, 68, 68, 0.18);
}

.about-intro-badge span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.about-intro-badge strong {
  margin-top: 5px;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

@media (max-width: 900px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
  }

  .about-intro-copy {
    max-width: 700px;
  }

  .about-intro-visual {
    width: min(100%, 700px);
  }

  body.gallery-page .section.gallery-section {
    padding-top: 50px !important;
    padding-bottom: 65px !important;
  }
}

@media (max-width: 600px) {
  .about-intro {
    padding-block: 58px 68px;
  }

  .about-intro-grid {
    gap: 40px;
  }

  .about-intro .lead-copy {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.65;
  }

  .about-intro-note {
    font-size: 12px;
  }

  .about-intro-visual {
    padding: 0 14px 14px 0;
  }

  .about-intro-badge {
    min-width: 118px;
    padding: 15px 18px;
  }

  .about-intro-badge strong {
    font-size: 25px;
  }

  body.gallery-page .section.gallery-section {
    padding-top: 40px !important;
    padding-bottom: 54px !important;
  }
}

.split-media {
  width: 100%;
  border-radius: 6px;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.split-media-compact {
  width: 94%;
  max-width: 580px;
  justify-self: center;
}

.split-media-small {
  width: 82%;
  max-width: 500px;
  justify-self: center;
}

.photo-stack > img[src$="site-img25-new.webp"] {
  width: 100%;
  height: auto;
  background: #ffffff;
  object-fit: contain;
  object-position: center;
  aspect-ratio: 2000 / 1333;
}

.photo-stack:has(> img[src$="site-img25-new.webp"]) .badge {
  top: auto;
  right: 10px;
  bottom: 22px;
  left: auto;
  width: 240px;
  max-width: calc(100% - 20px);
  padding: 11px 12px;
}

.principles-showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  padding-block: 90px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(235, 35, 41, 0.16),
      transparent 30%
    ),
    radial-gradient(
      circle at 88% 82%,
      rgba(249, 152, 11, 0.1),
      transparent 28%
    ),
    linear-gradient(135deg, #18191b 0%, #101113 52%, #171719 100%);
}

.principles-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 20%,
    #000 80%,
    transparent
  );
  pointer-events: none;
}

.principles-showcase::after {
  content: "";
  position: absolute;
  top: 0;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(249, 152, 11, 0.55),
    rgba(235, 35, 41, 0.55),
    transparent
  );
  pointer-events: none;
}

.principles-showcase .container {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.principles-heading {
  margin: 0 auto 64px;
  text-align: center;
}

.principles-heading > span {
  color: var(--color-orange);
  font:
    700 14px/1 "Realtime Text Rounded",
    Arial,
    sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.principles-heading h2 {
  margin: 10px 0 0;
  color: #ffffff;
  font:
    800 clamp(38px, 5vw, 64px) / 1.08 "Realtime Text Rounded",
    Arial,
    sans-serif;
  letter-spacing: -0.04em;
}

.principles-list {
  display: flex;
  align-items: flex-start;
  gap: clamp(34px, 5vw, 76px);
}

.principle-item {
  display: flex;
  flex: 1;
  align-items: flex-start;
  gap: 22px;
  min-width: 0;
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    border-color 0.3s var(--ease-standard),
    opacity 0.3s var(--ease-standard);
}

.principle-number {
  flex: none;
  color: var(--color-orange);
  font:
    800 42px/1 "Realtime Text Rounded",
    Arial,
    sans-serif;
  letter-spacing: -0.06em;
}

.principle-item h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font:
    800 24px/1.2 "Realtime Text Rounded",
    Arial,
    sans-serif;
}

.principle-item p {
  margin: 0;
  color: var(--color-text-light);
  font-size: 14px;
  line-height: 1.8;
}

/* =========================================================
   13. VALUE PROPOSITION
   ========================================================= */

.value-prop-section {
  padding-block: 90px;
  background: #ffffff;
}

.value-prop-section .section-head {
  justify-content: center;
  margin-bottom: 44px;
  text-align: center;
}

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

.value-prop-section .section-head h2 {
  margin-bottom: 0;
  color: var(--color-dark);
}

.value-prop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.value-prop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 320px;
  margin: 0;
  padding: 30px 26px;
  overflow: hidden;
  background: #ffffff;
  border: 0;
  border-right: 1px solid var(--color-line);
  border-radius: 0;
  box-shadow: none;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.value-prop-card:last-child {
  border-right: 0;
}

.value-prop-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--color-orange);
  transition: width 0.35s ease;
}

.value-prop-card:hover {
  z-index: 2;
  background: #fafafa;
  box-shadow: 0 18px 38px rgba(21, 21, 21, 0.09);
  transform: translateY(-5px);
}

.value-prop-card:hover::before {
  width: 100%;
}

.value-prop-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-bottom: 42px;
}

.value-prop-number {
  color: var(--color-orange);
  font:
    800 12px/1 "Realtime Text Rounded",
    Arial,
    sans-serif;
  letter-spacing: 0.08em;
}

.value-prop-label {
  color: #888888;
  font:
    700 9px/1 "Realtime Text Rounded",
    Arial,
    sans-serif;
  letter-spacing: 0.12em;
  text-align: right;
  text-transform: uppercase;
}

.value-prop-highlight {
  display: block;
  margin: 0 0 12px;
  color: var(--color-red);
  font:
    800 12px/1.3 "Realtime Text Rounded",
    Arial,
    sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.value-prop-card h3 {
  margin: 0 0 14px;
  padding: 0;
  color: var(--color-dark);
  font:
    800 20px/1.3 "Realtime Text Rounded",
    Arial,
    sans-serif;
  letter-spacing: -0.025em;
}

.value-prop-card p {
  margin: 0;
  padding: 0;
  color: #666666;
  font:
    400 13px/1.75 "Realtime Text Rounded",
    Arial,
    sans-serif;
}

/* =========================================================
   14. COMPANY MILESTONES
   ========================================================= */

.milestone-chart-section {
  padding-block: 90px;
  overflow: hidden;
  background: var(--color-surface-soft);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.milestone-chart-section .section-head {
  justify-content: center;
  margin-bottom: 50px;
  text-align: center;
}

.milestone-chart-section .eyebrow {
  justify-content: center;
}

.milestone-chart-section .section-head h2 {
  margin-bottom: 0;
  color: var(--color-dark);
}

.milestone-chart-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-block: 60px;
}

.milestone-pill-badge {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: 42px;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(21, 21, 21, 0.1);
  font:
    800 10px/1.2 "Realtime Text Rounded",
    Arial,
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.milestone-pill-badge.badge-start {
  color: #ffffff;
  background: var(--color-dark);
  border: 2px solid var(--color-orange);
}

.milestone-pill-badge.badge-end {
  color: var(--color-dark);
  background: var(--color-orange);
  border: 2px solid var(--color-orange);
}

.milestone-chart-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  align-items: center;
  flex: 1;
  gap: 18px;
  min-width: 0;
  margin: 0;
  padding-inline: 10px;
}

.milestone-chart-track::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  z-index: 0;
  border-top: 3px dashed #cbd5e1;
  transform: translateY(-50%);
}

.milestone-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.milestone-node.node-up {
  flex-direction: column-reverse;
  margin-bottom: 160px;
}

.milestone-node.node-down {
  margin-top: 160px;
}

.node-circle {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  color: var(--color-dark);
  background: #ffffff;
  border: 4px solid var(--color-orange);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(21, 21, 21, 0.12);
  font:
    800 15px/1 "Realtime Text Rounded",
    Arial,
    sans-serif;
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.milestone-node:hover .node-circle {
  color: #ffffff;
  background: var(--color-orange);
  border-color: var(--color-dark);
  transform: scale(1.12);
}

.node-stem {
  flex: none;
  width: 3px;
  height: 44px;
  background: var(--color-orange);
}

.node-card {
  width: 100%;
  min-height: 175px;
  padding: 20px 16px;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(21, 21, 21, 0.06);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.milestone-node:hover .node-card {
  border-color: var(--color-orange);
  box-shadow: 0 16px 36px rgba(21, 21, 21, 0.12);
  transform: translateY(-4px);
}

.node-year {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--color-red);
  font:
    800 12px/1.2 "Realtime Text Rounded",
    Arial,
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.node-card h4 {
  margin: 0 0 9px;
  color: var(--color-dark);
  font:
    800 15px/1.35 "Realtime Text Rounded",
    Arial,
    sans-serif;
}

.node-card p {
  margin: 0;
  color: #666666;
  font:
    400 12px/1.6 "Realtime Text Rounded",
    Arial,
    sans-serif;
}

/* =========================================================
   15. CLIENT MARQUEE
   ========================================================= */

.project-experience {
  overflow: hidden;
  padding-block: 100px;
  color: #ffffff;
  background: var(--color-text);
}

.project-heading {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}

.project-heading .eyebrow {
  justify-content: center;
  color: var(--color-orange);
}

.project-heading h2 {
  margin: 14px 0;
  color: var(--color-orange);
  font:
    800 clamp(34px, 4vw, 54px) / 1.1 "Realtime Text Rounded",
    Arial,
    sans-serif;
}

.project-heading p {
  margin: 0;
  color: var(--color-text-light);
}

.partner-marquee {
  width: calc(100% - 96px);
  max-width: 1440px;
  margin-inline: auto;
  overflow: hidden;
  padding-block: 6px;
  mask-image: linear-gradient(
    90deg,
    transparent,
    var(--color-dark) 8%,
    var(--color-dark) 92%,
    transparent
  );
}

.partner-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.partner-set {
  display: flex;
  gap: 8px;
  padding-right: 8px;
}

.move-left .partner-track {
  animation: partners-left 16s linear infinite;
}

.move-right .partner-track {
  animation: partners-right 18s linear infinite;
}

.move-left.move-slow .partner-track {
  animation-duration: 20s;
}

.partner-marquee:hover .partner-track {
  animation-play-state: paused;
}

.partner-marquee + .partner-marquee {
  margin-top: 2px;
}

.project-experience > .partner-marquee:nth-of-type(2),
.project-experience > .partner-marquee:nth-of-type(4) {
  width: calc(100% - 160px);
  max-width: 1320px;
}

.partner-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 230px;
  height: 125px;
  padding: 20px 34px;
  color: var(--color-text);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition:
    transform 0.35s var(--ease-out),
    border-color 0.35s var(--ease-standard),
    box-shadow 0.35s var(--ease-out);
}

.partner-tile:hover {
  border: 0;
  box-shadow: none;
  transform: scale(1.06);
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.partner-logo img {
  max-width: 190px;
  max-height: 72px;
  object-fit: contain;
  opacity: 0.9;
  filter: brightness(0) invert(1);
  transition:
    filter 0.35s var(--ease-standard),
    opacity 0.35s var(--ease-standard),
    transform 0.35s var(--ease-out);
}

.partner-tile:hover .partner-logo img {
  opacity: 1;
  filter: none;
}

.partner-logo.has-variant {
  position: relative;
}

.partner-logo.has-variant img {
  position: absolute;
  inset: 0;
  margin: auto;
}

.partner-logo .logo-mono {
  opacity: 1;
  filter: none;
}

.partner-logo .logo-color {
  opacity: 0;
  filter: none;
}

.partner-tile:hover .logo-mono {
  opacity: 0;
}

.partner-tile:hover .logo-color {
  opacity: 1;
}

.partner-logo strong {
  color: #ffffff;
  font-size: 18px;
  opacity: 0.82;
}

.partner-tile:hover .partner-logo strong {
  color: var(--color-orange);
  opacity: 1;
}

.partner-copy span {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--color-red);
  font:
    700 11px/1 "Realtime Text Rounded",
    Arial,
    sans-serif;
}

.partner-copy h3 {
  margin: 0 0 7px;
  font-size: 14px;
}

.partner-copy p {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
}

@keyframes partners-left {
  to {
    transform: translateX(-50%);
  }
}

@keyframes partners-right {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

/* =========================================================
   16. HOMEPAGE SERVICE COLLECTION
   ========================================================= */

.source-section-head {
  margin-bottom: 26px;
}

total-service-grid.service-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

total-service-grid .service-group {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  padding-block: 12px;
  border-top: 2px solid var(--color-orange);
}

total-service-grid .service-group:last-child {
  border-bottom: 2px solid var(--color-orange);
}

total-service-grid .service-group-heading {
  display: grid;
  grid-template-columns: auto 40px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 4px;
}

total-service-grid .service-group-number {
  align-self: start;
  color: var(--color-orange);
  font:
    800 11px/1 "Realtime Text Rounded",
    Arial,
    sans-serif;
  letter-spacing: 0.08em;
}

total-service-grid .service-group-heading img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

total-service-grid .service-group-heading h3 {
  margin: 0;
  color: var(--color-text);
  font:
    800 17px/1.25 "Realtime Text Rounded",
    Arial,
    sans-serif;
}

total-service-grid .service-group-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

total-service-grid .service-item {
  padding: 16px;
  background: rgba(249, 152, 11, 0.04);
  border-radius: 8px;
  transition:
    background-color 0.28s var(--ease-standard),
    transform 0.28s var(--ease-out);
}

total-service-grid .service-item:hover {
  background: rgba(249, 152, 11, 0.12);
  transform: translateY(-2px);
}

total-service-grid .service-item h4 {
  margin: 0 0 6px;
  color: var(--color-text);
  font:
    700 15px/1.35 "Realtime Text Rounded",
    Arial,
    sans-serif;
}

total-service-grid .service-item p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.65;
}

/* =========================================================
   17. HOMEPAGE CERTIFICATION
   ========================================================= */

.certification-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 80px;
}

.certification-intro h2 {
  margin: 12px 0 26px;
  font:
    800 clamp(36px, 4vw, 52px) / 1.1 "Realtime Text Rounded",
    Arial,
    sans-serif;
}

.certification-logos {
  display: flex;
  align-items: center;
  gap: 30px;
}

.certification-logos > img {
  width: 210px;
  height: auto;
  mix-blend-mode: multiply;
}

.certification-logos > a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.certification-logos > a img {
  width: 66px;
  height: 100px;
  object-fit: contain;
  filter: none;
  transition: transform 0.3s var(--ease-out);
}

.certification-logos > a:hover img {
  transform: translateY(-3px);
}

.certification-list {
  border-top: 1px solid var(--color-line);
}

.certification-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  min-height: 112px;
  padding-block: 20px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-line);
  transition:
    padding-left 0.3s var(--ease-out),
    color 0.3s ease;
}

.certification-item:hover {
  padding-left: 10px;
  color: var(--color-red);
}

.certification-index {
  color: var(--color-orange);
  font:
    800 12px/1 "Realtime Text Rounded",
    Arial,
    sans-serif;
  letter-spacing: 0.08em;
}

.certification-item h3 {
  margin: 0 0 5px;
  font:
    700 20px/1.3 "Realtime Text Rounded",
    Arial,
    sans-serif;
}

.certification-item p {
  margin: 0;
  color: var(--color-text);
  font-size: 13px;
}

/* =========================================================
   18. GALLERY ZIG-ZAG
   ========================================================= */

.gallery-zigzag-list {
  display: flex;
  flex-direction: column;
  gap: 120px;
  padding: 40px 0 80px;
}

.gallery-zigzag-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.gallery-zigzag-row.is-reverse {
  grid-template-columns: 1.1fr 1fr;
}

.gallery-zigzag-row.is-reverse .gallery-zigzag-text {
  grid-column: 2;
}

.gallery-zigzag-row.is-reverse .gallery-zigzag-media {
  grid-row: 1;
  grid-column: 1;
}

.gallery-zigzag-tag {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--color-red);
  font:
    700 13px/1 "Realtime Text Rounded",
    Arial,
    sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-zigzag-text h2 {
  margin: 0 0 18px;
  color: var(--color-dark);
  font:
    800 clamp(32px, 3.8vw, 48px) / 1.12 "Realtime Text Rounded",
    Arial,
    sans-serif;
  letter-spacing: -0.035em;
}

.gallery-zigzag-text p {
  max-width: 520px;
  margin: 0;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.75;
}

.gallery-zigzag-media {
  position: relative;
}

.gallery-card-frame {
  position: relative;
  overflow: hidden;
  background: var(--color-dark);
  border: 1px solid rgba(209, 209, 209, 0.6);
  border-radius: 6px;
  box-shadow: 0 24px 50px rgba(17, 18, 19, 0.14);
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}

.gallery-card-frame:hover {
  box-shadow: 0 32px 64px rgba(17, 18, 19, 0.22);
  transform: translateY(-8px) scale(1.01);
}

.gallery-card-frame img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.gallery-card-frame:hover img {
  transform: scale(1.05);
}

.gallery-card-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 20px 24px;
  color: #ffffff;
  background: linear-gradient(
    0deg,
    rgba(21, 21, 21, 0.85) 0%,
    transparent 100%
  );
  font:
    700 13px/1 "Realtime Text Rounded",
    Arial,
    sans-serif;
  letter-spacing: 0.05em;
}

/* =========================================================
   GALLERY COLLECTION CAROUSELS
   One independent carousel for each activity collection.
========================================================= */

.gallery-collections {
  display: grid;
  gap: clamp(84px, 10vw, 140px);
  padding: 20px 0 70px;
}

.gallery-collection {
  min-width: 0;
}

.gallery-collection-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 34px;
}

.gallery-collection-head h2 {
  margin: 0;
  color: var(--color-dark);
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.gallery-collection-head p {
  max-width: 650px;
  margin: 14px 0 0;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.gallery-carousel-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-carousel-count {
  min-width: 34px;
  margin-right: 6px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.gallery-carousel-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  color: #ffffff;
  background: var(--color-dark);
  border: 1px solid var(--color-dark);
  border-radius: 50%;
  cursor: pointer;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s var(--ease-out),
    opacity 0.25s ease;
}

.gallery-carousel-button span {
  font-size: 20px;
  line-height: 1;
}

.gallery-carousel-button:hover:not(:disabled),
.gallery-carousel-button:focus-visible:not(:disabled) {
  color: #ffffff;
  background: var(--color-red);
  border-color: var(--color-red);
  transform: translateY(-2px);
}

.gallery-carousel-button:focus-visible {
  outline: 3px solid rgba(235, 35, 41, 0.22);
  outline-offset: 3px;
}

.gallery-carousel-button:disabled {
  cursor: default;
  opacity: 0.28;
}

.gallery-carousel-viewport {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.gallery-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.gallery-carousel-viewport:focus-visible {
  outline: 3px solid rgba(235, 35, 41, 0.18);
  outline-offset: 5px;
}

.gallery-carousel-track {
  display: flex;
  column-gap: clamp(14px, 2vw, 24px);
  width: max-content;
}

.gallery-carousel-slide {
  position: relative;
  flex: 0 0 min(72vw, 520px);
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: var(--color-dark);
  scroll-snap-align: start;
}

.gallery-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.4s ease;
}

.gallery-carousel-slide:hover img {
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.035);
}

.gallery-carousel-slide figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 42px 22px 18px;
  color: #ffffff;
  background: linear-gradient(transparent, rgba(10, 10, 11, 0.78));
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-carousel-slide figcaption span:first-child {
  color: var(--color-orange);
}

@media (max-width: 720px) {
  .gallery-collections {
    gap: 76px;
    padding-bottom: 30px;
  }

  .gallery-collection-head {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 24px;
  }

  .gallery-carousel-controls {
    justify-content: flex-end;
  }

  .gallery-carousel-count {
    margin-right: auto;
  }

  .gallery-carousel-button {
    width: 44px;
    height: 44px;
  }

  .gallery-carousel-slide {
    flex-basis: min(84vw, 420px);
  }
}

/* Final gallery showcase: tabbed, centered cover-flow presentation. */
.gallery-showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0 clamp(120px, 36vw, 168px) clamp(20px, 3vw, 36px);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.gallery-showcase::before {
  content: none;
  display: none;
}

.gallery-showcase-head {
  max-width: none;
  margin: 0;
  padding-inline: 0;
  text-align: left;
}

.gallery-showcase-head h2 {
  margin: 0;
  color: var(--color-dark);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
}

.gallery-category-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin: 30px 0 16px;
  padding-inline: 0;
}

.gallery-category-tab {
  min-height: 36px;
  padding: 8px 16px;
  color: var(--color-text);
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s var(--ease-out);
}

.gallery-category-tab:hover,
.gallery-category-tab:focus-visible {
  color: var(--color-red);
  border-color: rgba(143, 34, 55, 0.48);
  outline: 0;
  transform: translateY(-1px);
}

.gallery-category-tab.is-active {
  color: #ffffff;
  background: #8f2237;
  border-color: #8f2237;
}

.gallery-showcase-stage {
  position: relative;
}

.gallery-project-panel[hidden] {
  display: none !important;
}

.gallery-collection-description {
  min-height: 24px;
  margin: 0 0 12px;
  padding-inline: 0;
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
}

.gallery-showcase .gallery-carousel-viewport {
  width: 100%;
  overflow-x: auto;
  padding-block: 28px 34px;
  scroll-snap-type: x mandatory;
}

.gallery-showcase .gallery-carousel-track {
  --gallery-slide-width: min(58vw, 480px);

  align-items: center;
  column-gap: 0;
  width: max-content;
  padding-inline: calc((min(100vw, 1060px) - var(--gallery-slide-width)) / 2);
}

.gallery-showcase .gallery-carousel-slide {
  flex: 0 0 var(--gallery-slide-width);
  aspect-ratio: 4 / 3;
  margin-inline: -34px;
  overflow: hidden;
  border: 5px solid #ffffff;
  border-radius: 13px;
  box-shadow: 0 16px 38px rgba(15, 17, 22, 0.2);
  cursor: pointer;
  opacity: 0.58;
  scroll-snap-align: center;
  transform: scale(0.78);
  transition:
    opacity 0.45s ease,
    transform 0.55s var(--ease-out),
    box-shadow 0.45s ease;
}

.gallery-showcase .gallery-carousel-slide.is-active {
  z-index: 3;
  cursor: default;
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 24px 54px rgba(15, 17, 22, 0.28);
}

.gallery-showcase .gallery-carousel-slide img,
.gallery-showcase .gallery-carousel-slide:hover img {
  filter: none;
  transform: none;
}

.gallery-showcase .gallery-carousel-slide figcaption {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-showcase .gallery-carousel-slide.is-active figcaption {
  opacity: 1;
}

.gallery-showcase .gallery-carousel-controls {
  justify-content: center;
  gap: 12px;
  margin-top: 2px;
}

.gallery-carousel-position {
  min-width: 68px;
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
}

.gallery-showcase .gallery-carousel-button {
  width: 38px;
  height: 38px;
  color: var(--color-dark);
  background: #ffffff;
  border-color: var(--color-line);
}

.gallery-showcase .gallery-carousel-button span {
  font-size: 17px;
}

@media (max-width: 720px) {
  .gallery-showcase {
    margin-inline: 0;
    border-radius: 0;
  }

  .gallery-category-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .gallery-category-tabs::-webkit-scrollbar {
    display: none;
  }

  .gallery-category-tab {
    flex: 0 0 auto;
  }

  .gallery-showcase .gallery-carousel-track {
    --gallery-slide-width: min(78vw, 390px);

    padding-inline: calc((100vw - 72px - var(--gallery-slide-width)) / 2);
  }

  .gallery-showcase .gallery-carousel-slide {
    margin-inline: -16px;
    border-width: 4px;
    border-radius: 10px;
  }
}

/* Editorial work index: project selector on the left, visuals on the right. */
.gallery-work-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  min-height: 650px;
  /* border-top: 1px solid var(--color-line); */
  border-bottom: 1px solid var(--color-line);
}

.gallery-work-navigation {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  align-self: start;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 650px;
  padding:
    clamp(48px, 7vw, 84px)
    clamp(34px, 5vw, 68px)
    clamp(44px, 6vw, 72px)
    0;
  /* border-right: 1px solid var(--color-line); */
}

.gallery-work-navigation .gallery-showcase-head h2 {
  max-width: 360px;
  font-size: clamp(58px, 7vw, 92px);
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.gallery-project-selector-label {
  display: block;
  margin-top: clamp(64px, 10vw, 130px);
  margin-bottom: 16px;
  color: var(--color-text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery-work-navigation .gallery-category-tabs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  overflow: visible;
}

.gallery-work-navigation .gallery-category-tab {
  position: relative;
  min-height: 0;
  padding: 8px 0 8px 24px;
  color: #a2a5a9;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 13px;
  text-align: left;
}

.gallery-work-navigation .gallery-category-tab::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
  transition: width 0.3s var(--ease-out);
}

.gallery-work-navigation .gallery-category-tab:hover,
.gallery-work-navigation .gallery-category-tab:focus-visible,
.gallery-work-navigation .gallery-category-tab.is-active {
  color: #8f2237;
  background: transparent;
  border: 0;
  transform: none;
}

.gallery-work-navigation .gallery-category-tab.is-active::before {
  width: 17px;
}

.gallery-work-layout .gallery-showcase-stage {
  min-width: 0;
  padding: clamp(42px, 6vw, 72px) 0 clamp(36px, 5vw, 60px) clamp(28px, 4vw, 54px);
}

.gallery-work-layout .gallery-collection-description {
  max-width: 520px;
  min-height: 48px;
  margin-bottom: 18px;
  font-size: 13px;
}

.gallery-work-layout .gallery-carousel-viewport {
  padding-block: 12px 30px;
}

.gallery-work-layout .gallery-carousel-track {
  --gallery-slide-width: min(48vw, 510px);

  padding-inline: calc((min(64vw, 680px) - var(--gallery-slide-width)) / 2);
}

.gallery-work-layout .gallery-carousel-slide {
  margin-inline: -24px;
}

.gallery-work-layout .gallery-carousel-controls {
  justify-content: flex-start;
  padding-left: clamp(0px, 2vw, 18px);
}

.gallery-project-grid {
  overflow: hidden;
  border: 1px solid var(--color-line);
}

.gallery-project-item {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.gallery-project-meta,
.gallery-project-photo {
  aspect-ratio: 4 / 3;
}

.gallery-project-meta {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: clamp(14px, 2vw, 24px);
  color: var(--color-dark);
  background: #f1f3f5;
  border-bottom: 1px solid var(--color-line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-project-number {
  position: absolute;
  top: clamp(12px, 2vw, 22px);
  right: clamp(14px, 2vw, 24px);
  color: rgba(21, 21, 21, 0.17);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
}

.gallery-project-photo {
  margin: 0;
  overflow: hidden;
  background: var(--color-dark);
  border-bottom: 1px solid var(--color-line);
}

.gallery-project-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.4s ease;
}

.gallery-project-item:hover .gallery-project-photo img {
  filter: saturate(1.04) contrast(1.03);
  transform: scale(1.035);
}

.gallery-project-item.is-reverse .gallery-project-photo {
  grid-column: 1;
  grid-row: 1;
}

.gallery-project-item.is-reverse .gallery-project-meta {
  grid-column: 2;
  grid-row: 1;
}

.gallery-project-item:last-child .gallery-project-meta,
.gallery-project-item:last-child .gallery-project-photo {
  border-bottom: 0;
}

@media (max-width: 800px) {
  .gallery-work-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .gallery-work-navigation {
    position: static;
    min-height: 0;
    padding: 44px 0 28px;
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
  }

  .gallery-work-navigation .gallery-showcase-head h2 {
    font-size: clamp(54px, 16vw, 76px);
  }

  .gallery-project-selector-label {
    margin-top: 40px;
    margin-bottom: 12px;
  }

  .gallery-work-navigation .gallery-category-tabs {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .gallery-work-navigation .gallery-category-tab {
    flex: 0 0 auto;
    padding: 6px 0 6px 18px;
    white-space: nowrap;
  }

  .gallery-work-layout .gallery-showcase-stage {
    padding: 34px 0 34px;
  }

  .gallery-work-layout .gallery-carousel-track {
    --gallery-slide-width: min(78vw, 430px);

    padding-inline: calc((100vw - 48px - var(--gallery-slide-width)) / 2);
  }

  .gallery-work-layout .gallery-carousel-slide {
    margin-inline: -14px;
  }

  .gallery-work-layout .gallery-carousel-controls {
    justify-content: center;
    padding-left: 0;
  }

  .gallery-project-meta {
    padding: 12px;
    font-size: 9px;
  }

  .gallery-project-number {
    top: 10px;
    right: 12px;
    font-size: clamp(32px, 12vw, 48px);
  }
}

/* =========================================================
   19. SERVICES PAGE VIEWER
   ========================================================= */

.svc-tab-section {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--color-text);
  background: #ffffff;
}

.svc-layout {
  --svc-left-space: max(24px, calc((100vw - var(--max)) / 2));

  display: grid;
  grid-template-columns: minmax(360px, 430px) minmax(0, 1fr);
  align-items: stretch;
  gap: 48px;
  width: calc(100% - var(--svc-left-space));
  min-height: 520px;
  margin: 0 0 0 var(--svc-left-space);
  padding: 0;
}

.svc-content {
  align-self: stretch;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  min-height: 520px;
  margin: 0;
  padding: 42px 0;
}

.svc-category-meta {
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 32px;
  margin: 0;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.svc-category-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  color: var(--color-orange);
  font:
    800 11px/1.3 "Realtime Text Rounded",
    Arial,
    sans-serif;
  letter-spacing: 0.12em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.svc-category-name::before {
  content: "";
  display: block;
  flex: none;
  width: 24px;
  height: 2px;
  background: var(--color-orange);
}

.svc-progress {
  flex: none;
  color: rgba(0, 0, 0, 0.52);
  font:
    700 11px/1 "Realtime Text Rounded",
    Arial,
    sans-serif;
  letter-spacing: 0.1em;
}

.svc-service-row {
  align-self: center;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 18px;
  width: 100%;
  margin: 0;
  padding: 28px 0;
}

.svc-service-copy {
  min-width: 0;
  text-align: center;
}

.svc-name-header {
  margin: 0 0 16px;
  padding: 0;
  color: var(--service-title-color, var(--color-dark));
  background: transparent;
  border: 0;
  font:
    800 clamp(28px, 3vw, 42px) / 1.1 "Realtime Text Rounded",
    Arial,
    sans-serif;
  letter-spacing: -0.04em;
  text-align: center;
}

.svc-viewer-overlay {
  position: static;
  margin: 0;
  padding: 0;
  background: transparent;
}

.svc-viewer-overlay p {
  max-width: 420px;
  margin: 0 auto;
  padding: 0;
  color: rgba(0, 0, 0, 0.76);
  font:
    400 14px/1.7 "Realtime Text Rounded",
    Arial,
    sans-serif;
  text-align: center;
}

.svc-nav-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--color-text);
  background: transparent;
  border: 1px solid rgba(68, 68, 68, 0.22);
  border-radius: 50%;
  cursor: pointer;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.svc-nav-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.svc-nav-btn:hover {
  color: #ffffff;
  background: var(--color-orange);
  border-color: var(--color-orange);
  transform: translateY(-2px);
}

.svc-nav-btn:active {
  transform: scale(0.94);
}

.svc-nav-btn:focus-visible {
  outline: 3px solid rgba(249, 152, 11, 0.35);
  outline-offset: 3px;
}

.svc-photo-viewer {
  position: relative;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  min-height: 520px;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  opacity: 1;
  transform: none;
  transition: none;
}

.svc-photo-viewer.is-loaded {
  opacity: 1;
  transform: none;
}

.svc-photo-viewer.svc-no-img {
  background: rgba(255, 255, 255, 0.06);
}

.svc-photo-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #2f2f2f;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.24);
}

.svc-photo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  z-index: 2;
  width: 118px;
  height: 92px;
  background: #ffffff url("assets/images/logo-hd.webp") center / 92px auto
    no-repeat;
  border-radius: 0 0 50px 50px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

#svcPhoto {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: center;
  transform: none;
  transition: transform 0.6s ease;
}

.svc-photo-card:hover #svcPhoto {
  transform: scale(1.025);
}

/* =========================================================
   20. REVEAL ANIMATIONS
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
}

.reveal.from-left {
  transform: translateX(-42px);
}

.reveal.from-right {
  transform: translateX(42px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.reveal-group > .reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.reveal-group > .reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.reveal-group > .reveal:nth-child(4) {
  transition-delay: 0.24s;
}

.reveal-group > .reveal:nth-child(5) {
  transition-delay: 0.32s;
}

.reveal-group > .reveal:nth-child(6) {
  transition-delay: 0.4s;
}

.reveal-group > .reveal:nth-child(n + 7) {
  transition-delay: 0.48s;
}

/* =========================================================
   21. RESPONSIVE — LAPTOP
   ========================================================= */

@media (max-width: 1180px) and (min-width: 901px) {
  total-header .header-nav {
    gap: 10px;
  }

  total-header .header-logo {
    flex-basis: 176px;
    width: 176px;
  }

  total-header .header-logo img {
    width: 166px;
  }

  total-header .header-menu > a {
    padding-inline: 14px;
    font-size: 12px;
  }

  .milestone-chart-wrapper {
    gap: 12px;
  }

  .milestone-pill-badge {
    padding: 10px 14px;
    font-size: 9px;
  }

  .milestone-chart-track {
    grid-template-columns: repeat(3, minmax(145px, 1fr));
    gap: 12px;
  }

  .node-card {
    min-height: 190px;
    padding: 18px 13px;
  }

  .node-card h4 {
    font-size: 14px;
  }

  .node-card p {
    font-size: 11px;
  }
}

@media (min-width: 901px) {
  .svc-tab-section,
  .svc-layout,
  .svc-content,
  .svc-photo-viewer,
  .svc-photo-card {
    min-height: calc(100vh - 112px);
    min-height: calc(100dvh - 112px);
  }
}

@media (max-width: 1024px) and (min-width: 901px) {
  .svc-layout {
    --svc-left-space: 0px;

    grid-template-columns: minmax(380px, 46%) minmax(0, 54%);
    gap: 0;
    width: 100%;
    margin: 0;
  }

  .svc-content {
    padding: 36px 32px;
  }
}

/* =========================================================
   22. RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 960px) {
  .gallery-zigzag-list {
    gap: 70px;
    padding: 20px 0 50px;
  }

  .gallery-zigzag-row,
  .gallery-zigzag-row.is-reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .gallery-zigzag-row.is-reverse .gallery-zigzag-text,
  .gallery-zigzag-row.is-reverse .gallery-zigzag-media {
    grid-row: auto;
    grid-column: auto;
  }

  .gallery-card-frame img {
    height: 300px;
  }

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

  .value-prop-card {
    min-height: 290px;
  }

  .value-prop-card:nth-child(2) {
    border-right: 0;
  }

  .value-prop-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--color-line);
  }

  .milestone-chart-section {
    padding-block: 72px;
  }

  .milestone-chart-section .section-head {
    margin-bottom: 38px;
  }

  .milestone-chart-wrapper {
    flex-direction: column;
    gap: 24px;
    max-width: 580px;
    padding: 0;
  }

  .milestone-pill-badge {
    min-width: 240px;
  }

  .milestone-chart-track {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    margin: 0;
    padding: 12px 0;
  }

  .milestone-chart-track::before {
    top: 0;
    right: auto;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 100%;
    border-top: 0;
    border-left: 3px dashed #cbd5e1;
    transform: translateX(-50%);
  }

  .milestone-node,
  .milestone-node.node-up,
  .milestone-node.node-down {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin: 0;
  }

  .node-stem {
    height: 25px;
  }

  .node-card {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 48px), var(--max));
  }

  .utility {
    display: none;
  }

  .nav {
    height: 68px;
  }

  .menu {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 22px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .menu.open {
    display: grid;
  }

  .hamb {
    display: block;
  }

  total-header {
    top: 0;
    border-top: 3px solid rgba(217, 8, 3, 0.16);
  }

  total-header .header-shell::before {
    top: -3px;
  }

  total-header .header-container {
    width: calc(100% - 32px);
  }

  total-header .header-utility {
    display: none;
  }

  total-header .header-shell,
  total-header .header-nav {
    height: 68px;
  }

  total-header .header-nav {
    gap: 12px;
  }

  total-header .header-logo {
    flex: 0 0 174px;
    width: 174px;
    height: 68px;
  }

  total-header .header-logo img {
    width: 170px;
  }

  total-header .header-hamb {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-left: auto;
    padding: 0;
    color: var(--color-text);
    background: transparent;
    border: 1px solid rgba(68, 68, 68, 0.24);
    font-size: 0;
    line-height: 1;
    cursor: pointer;
    border: 0;
  }

  total-header .header-hamb::before {
    content: "☰";
    font-size: 23px;
  }

  total-header .header-hamb[aria-expanded="true"]::before {
    content: "×";
    font-size: 30px;
    font-weight: 300;
  }

  total-header .header-menu {
    position: absolute;
    top: 68px;
    right: -16px;
    left: -16px;
    display: none;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    justify-items: stretch;
    gap: 0;
    width: auto;
    height: auto;
    max-height: calc(100vh - 72px);
    margin: 0;
    padding: 8px 16px 14px;
    overflow-y: auto;
    background: #ffffff;
    border-top: 1px solid var(--color-line);
    box-shadow: 0 18px 36px rgba(21, 21, 21, 0.14);
  }

  total-header .header-menu.open {
    display: grid;
  }

  total-header .header-menu > a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 52px;
    margin: 0;
    padding-inline: 8px;
    color: var(--color-text);
    border-bottom: 1px solid rgba(209, 209, 209, 0.72);
    font-size: 13px;
  }

  total-header .header-menu > a:last-child {
    border-bottom: 0;
  }

  total-header .header-menu > a::after {
    right: auto;
    bottom: 8px;
    left: 8px;
    width: 34px;
    height: 2px;
  }

  .section {
    padding-block: 75px;
  }

  .hero:not(.hero-video-only) {
    min-height: 70vh;
  }

  .client-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .client-row span {
    grid-column: 1 / -1;
  }

  .split,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .photo-stack > img {
    height: 380px;
  }

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

  .band-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  total-footer .total-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 52px;
  }

  total-footer .total-footer-office {
    grid-column: 1 / -1;
  }

  .hero-video-only {
    container-type: size;
    width: 100%;
    height: clamp(500px, 70svh, 580px);
    min-height: 500px;
    margin: 0;
    padding: 0;
    aspect-ratio: auto;
  }

  .hero-video iframe {
    top: 50%;
    left: 50%;
    width: max(100cqw, 177.78cqh);
    height: max(56.25cqw, 100cqh);
    transform: translate(-50%, -50%);
  }

  .hero-slide-image {
    object-position: center;
  }

  .hero-video-only::before {
    top: 43%;
    width: calc(100% - 48px);
    font-size: clamp(23px, 6.4vw, 29px);
    line-height: 1.16;
    letter-spacing: -0.025em;
  }

  .hero-scroll-arrow {
    top: 61%;
    width: 38px;
    height: 38px;
    opacity: 1;
  }

  .hero-scroll-arrow svg {
    width: 21px;
    height: 21px;
  }

  .hero-video-controls {
    bottom: 24px;
    gap: 5px;
  }

  .hero-video-arrow {
    width: 30px;
    height: 30px;
  }

  .hero-video-arrow svg {
    width: 18px;
    height: 18px;
  }

  .hero-video-dots {
    gap: 6px;
  }

  .hero-video-dot {
    width: 6px;
    height: 6px;
  }

  .hero-video-dot.active {
    width: 20px;
  }

  .split-media-compact {
    width: min(92%, 560px);
  }

  .split-media-small {
    width: min(88%, 500px);
  }

  .principles-showcase {
    padding-block: 65px;
  }

  .principles-heading {
    margin-bottom: 46px;
  }

  .principles-list {
    flex-direction: column;
    gap: 34px;
    max-width: 680px;
    margin-inline: auto;
  }

  .principle-item {
    width: 100%;
  }

  total-service-grid.service-grid {
    gap: 26px;
  }

  total-service-grid .service-group {
    display: block;
    padding-top: 0;
    border-top: 3px solid var(--color-orange);
    border-bottom: 0;
  }

  total-service-grid .service-group:last-child {
    border-bottom: 3px solid var(--color-orange);
  }

  total-service-grid .service-group-heading {
    padding: 15px 4px;
  }

  total-service-grid .service-group-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .svc-layout {
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    min-height: 0;
    margin: 0;
  }

  .svc-content {
    grid-template-rows: auto minmax(220px, 1fr);
    width: 100%;
    min-height: 360px;
    padding: 32px 24px;
  }

  .svc-category-meta {
    margin: 0;
  }

  .svc-service-row {
    align-self: center;
    margin: 0;
    padding: 28px 0;
  }

  .svc-photo-viewer {
    align-self: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    aspect-ratio: 16 / 9;
  }

  .svc-photo-card {
    width: 100%;
    height: 100%;
    min-height: 0;
    box-shadow: none;
  }

  #svcPhoto {
    width: 100%;
    height: 100%;
  }
}

/* =========================================================
   23. RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 760px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .video-showcase .section-head {
    margin-bottom: 28px;
  }

  .certification-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .certification-logos {
    gap: 22px;
  }

  .certification-logos > img {
    width: 240px;
  }

  .certification-logos > a img {
    width: 54px;
    height: 82px;
  }

  .certification-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    min-height: 100px;
  }

  .certification-item h3 {
    font-size: 17px;
  }

  .certification-item p {
    font-size: 11px;
  }
}

@media (max-width: 650px) {
  .project-experience {
    width: 100%;
    max-width: 100%;
    padding-block: 64px;
    overflow: hidden;
  }

  .project-heading {
    width: 100%;
    margin-bottom: 34px;
    padding-inline: 24px;
  }

  .project-experience > .partner-marquee,
  .project-experience > .partner-marquee:nth-of-type(2),
  .project-experience > .partner-marquee:nth-of-type(4) {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding: 3px 20px;
    mask-image: linear-gradient(
      90deg,
      transparent,
      var(--color-dark) 5%,
      var(--color-dark) 95%,
      transparent
    );
  }

  .partner-set {
    gap: 6px;
    padding-right: 6px;
  }

  .partner-tile {
    width: 160px;
    height: 88px;
    padding: 8px 10px;
  }

  .partner-logo img {
    max-width: 138px;
    max-height: 56px;
  }

  .partner-logo strong {
    font-size: 14px;
  }

  .partner-marquee + .partner-marquee {
    margin-top: 0;
  }

  .move-left .partner-track {
    animation-duration: 13s;
  }

  .move-right .partner-track {
    animation-duration: 15s;
  }

  .move-left.move-slow .partner-track {
    animation-duration: 17s;
  }

  .svc-content {
    grid-template-rows: auto minmax(210px, 1fr);
    min-height: 320px;
    padding: 26px 16px;
  }

  .svc-category-meta {
    gap: 12px;
    min-height: 28px;
    margin: 0;
    padding-bottom: 10px;
  }

  .svc-category-name {
    gap: 7px;
    font-size: 9px;
    letter-spacing: 0.06em;
  }

  .svc-category-name::before {
    width: 16px;
  }

  .svc-progress {
    font-size: 9px;
  }

  .svc-service-row {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 8px;
    margin: 0;
    padding: 22px 0 12px;
  }

  .svc-nav-btn {
    width: 40px;
    height: 40px;
  }

  .svc-nav-btn svg {
    width: 18px;
    height: 18px;
  }

  .svc-name-header {
    margin-bottom: 10px;
    font-size: clamp(23px, 7vw, 30px);
    line-height: 1.15;
  }

  .svc-viewer-overlay p {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.6;
  }

  .svc-photo-viewer {
    aspect-ratio: 4 / 3;
  }

  .svc-photo-card::before {
    left: 12px;
    width: 88px;
    height: 70px;
    background-size: 68px auto;
    border-radius: 0 0 38px 38px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 36px), var(--max));
  }

  .hero-copy {
    padding-block: 65px;
  }

  .hero h1,
  .hero .hero-copy h1 {
    font-size: 42px;
  }

  .hero .actions {
    width: 100%;
  }

  .section {
    padding-block: 58px;
  }

  .section-head {
    display: block;
  }

  .actions,
  .cta .container {
    flex-direction: column;
    align-items: stretch;
  }

  .service-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 240px;
  }

  .gallery-card-frame img {
    height: 240px;
  }

  .gallery-zigzag-text h2 {
    font-size: 28px;
  }

  .photo-stack > img {
    width: 100%;
    height: 320px;
  }

  .photo-stack .badge,
  .photo-stack:has(> img[src$="site-img25-new.webp"]) .badge {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    padding: 14px 16px;
    text-align: center;
    border-top: 3px solid var(--color-orange);
    border-left: 0;
  }

  .photo-stack .badge strong {
    font-size: 21px;
  }

  .tracking-row {
    display: grid;
  }

  .page-hero {
    padding-block: 70px;
  }

  .page-hero--editorial {
    padding: 54px 0 38px;
  }

  .page-hero--editorial h1 {
    font-size: 58px;
  }

  .page-hero--editorial h1::after {
    width: 8px;
    height: 8px;
    margin-left: 7px;
  }

  .page-hero--centered {
    padding-block: 44px;
  }

  .page-hero--centered h1 {
    font-size: 28px;
    letter-spacing: 0.11em;
  }

  .page-hero--brand-band {
    padding-block: 52px;
  }

  .page-hero--brand-band h1 {
    font-size: 44px;
  }

  .page-hero--brand-band h1::before {
    width: 30px;
    height: 4px;
    margin-right: 12px;
    margin-bottom: 9px;
  }

  total-footer .total-footer-shell {
    padding: 54px 0 22px;
  }

  total-footer .total-footer-container {
    width: calc(100% - 28px);
  }

  total-footer .total-footer-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  total-footer .total-footer-office {
    grid-column: auto;
  }

  total-footer .total-footer-copyright {
    margin-top: 36px;
  }

  .principles-showcase {
    padding-block: 50px;
  }

  .principles-heading h2 {
    font-size: 36px;
  }

  .principle-item {
    gap: 16px;
  }

  .principle-number {
    font-size: 32px;
  }

  .principle-item h3 {
    font-size: 21px;
  }

  .principle-item p {
    font-size: 13px;
  }

  total-service-grid .service-group-items {
    grid-template-columns: 1fr;
  }

  total-service-grid .service-item {
    padding: 14px;
  }

  .value-prop-section {
    padding-block: 58px;
  }

  .value-prop-section .section-head {
    margin-bottom: 30px;
  }

  .value-prop-grid {
    grid-template-columns: 1fr;
  }

  .value-prop-card {
    min-height: 0;
    padding: 26px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
  }

  .value-prop-card:last-child {
    border-bottom: 0;
  }

  .value-prop-top {
    margin-bottom: 28px;
  }

  .value-prop-card h3 {
    font-size: 19px;
  }

  .value-prop-card p {
    font-size: 13px;
    line-height: 1.65;
  }

  .milestone-chart-section {
    padding-block: 58px;
  }

  .milestone-chart-section .section-head {
    margin-bottom: 30px;
  }

  .milestone-chart-wrapper {
    gap: 20px;
  }

  .milestone-chart-track {
    gap: 24px;
  }

  .milestone-node,
  .milestone-node.node-up,
  .milestone-node.node-down {
    max-width: calc(100% - 24px);
  }

  .node-circle {
    width: 42px;
    height: 42px;
    border-width: 3px;
    font-size: 14px;
  }

  .node-stem {
    height: 22px;
  }

  .node-card {
    padding: 18px 16px;
  }

  .node-card h4 {
    font-size: 14px;
  }

  .node-card p {
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  total-header .header-container {
    width: calc(100% - 24px);
  }

  total-header .header-logo {
    flex-basis: 158px;
    width: 158px;
  }

  total-header .header-logo img {
    width: 154px;
  }

  total-header .header-hamb {
    width: 38px;
    height: 38px;
  }

  .hero-video-only {
    height: 510px;
    min-height: 510px;
  }

  .hero-video-only::before {
    top: 42%;
    width: calc(100% - 38px);
    font-size: 22px;
  }

  .hero-scroll-arrow {
    top: 60%;
  }

  .hero-video-controls {
    bottom: 22px;
  }

  .hero-video-dots {
    gap: 5px;
  }

  .hero-video-dot.active {
    width: 18px;
  }
}

@media (max-width: 400px) {
  .svc-content {
    min-height: 300px;
    padding: 22px 14px;
  }

  .svc-service-row {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 6px;
  }

  .svc-nav-btn {
    width: 36px;
    height: 36px;
  }

  .svc-nav-btn svg {
    width: 17px;
    height: 17px;
  }

  .svc-name-header {
    font-size: 22px;
  }

  .svc-viewer-overlay p {
    font-size: 12px;
  }

  .svc-photo-viewer {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  .hero-video-only {
    height: calc(100svh - 68px);
    min-height: 350px;
  }

  .hero-video-only::before {
    top: 42%;
    font-size: clamp(20px, 4vw, 27px);
  }

  .hero-scroll-arrow {
    top: auto;
    bottom: 20px;
  }

  .hero-video-controls {
    right: 24px;
    bottom: 20px;
    left: auto;
    transform: none;
  }
}

/* =========================================================
   24. REDUCED MOTION
   ========================================================= */

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

  .hero-copy > *,
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .service-card,
  .band-card,
  .gallery-grid figure,
  .client-row img,
  .split > img,
  .photo-stack > img,
  .btn,
  .whatsapp,
  .video-item,
  .value-prop-card,
  .value-prop-card::before,
  .node-circle,
  .node-card,
  .svc-nav-btn,
  #svcPhoto,
  .hero-scroll-arrow,
  .hero-video-arrow,
  .hero-video-dot {
    transition: none;
    animation: none;
  }

  .partner-track {
    animation: none !important;
  }

  .partner-marquee {
    overflow-x: auto;
    mask-image: none;
  }

  .partner-set[aria-hidden="true"] {
    display: none;
  }

  .hero-slide-image {
    animation: none;
  }

  .service-card:hover,
  .band-card:hover,
  .gallery-grid figure:hover,
  .split > img:hover,
  .photo-stack > img:hover,
  .whatsapp:hover,
  .video-item:hover,
  .value-prop-card:hover,
  .milestone-node:hover .node-circle,
  .milestone-node:hover .node-card,
  .svc-photo-card:hover #svcPhoto {
    transform: none;
  }
}

/* =========================================================
   FINAL HERO LEGACY CLEANUP
   ========================================================= */

.hero-video-only::before {
  content: none !important;
  display: none !important;
}

/* Pastikan konten baru tampil di atas video dan overlay. */
.hero-video-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(calc(100% - 120px), 1320px);
  min-height: calc(100dvh - 112px);
  margin: 0 auto;
  padding: 64px 0 150px;
}

.hero-video-title {
  display: flex;
  flex-direction: column;
  max-width: 840px;
  margin: 0;
  color: #ffffff;
  font:
    800 clamp(48px, 5.5vw, 78px) / 1 "Realtime Text Rounded",
    Arial,
    sans-serif;
  letter-spacing: -0.055em;
}

.hero-video-title span {
  display: block;
}

.hero-video-title-accent {
  color: #f9980b;
}

.hero-video-description {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font:
    400 17px/1.7 "Realtime Text Rounded",
    Arial,
    sans-serif;
}

.hero-video-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}

.hero-video-primary,
.hero-video-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 25px;
  font:
    700 13px/1.2 "Realtime Text Rounded",
    Arial,
    sans-serif;
  border-radius: 50px;
}

.hero-video-primary {
  color: #ffffff;
  background: #d90803;
  border: 1px solid #d90803;
}

.hero-video-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.hero-video-stats {
  position: absolute;
  right: 0;
  bottom: 32px;
  left: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 210px));
  gap: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-video-stat {
  display: grid;
  gap: 5px;
}

.hero-video-stat strong {
  color: #f9980b;
  font:
    800 30px/1 "Realtime Text Rounded",
    Arial,
    sans-serif;
}

.hero-video-stat span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}

@media (max-width: 900px) {
  .hero-video-content {
    width: calc(100% - 48px);
    min-height: calc(100svh - 68px);
    padding: 58px 0 135px;
  }

  .hero-video-title {
    font-size: clamp(40px, 8vw, 60px);
  }

  .hero-video-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .hero-scroll-arrow {
    top: auto;
    bottom: 20px;
  }

  .hero-video-controls {
    right: 24px;
    bottom: 20px;
    left: auto;
    transform: none;
  }
}

@media (max-width: 600px) {
  .hero-video-content {
    justify-content: flex-start;
    width: calc(100% - 36px);
    min-height: calc(100svh - 68px);
    padding: 54px 0 135px;
  }

  .hero-video-title {
    font-size: clamp(34px, 10vw, 44px);
  }

  .hero-video-description {
    margin-top: 20px;
    font-size: 14px;
  }

  .hero-video-actions {
    gap: 9px;
    margin-top: 24px;
  }

  .hero-video-primary,
  .hero-video-secondary {
    flex: 1;
    min-height: 45px;
    padding: 10px;
    font-size: 11px;
  }

  .hero-video-stats {
    bottom: 24px;
    gap: 8px;
    padding-top: 16px;
    padding-right: 55px;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-video-stat strong {
    font-size: 21px;
  }

  .hero-video-stat span {
    font-size: 9px;
    line-height: 1.3;
  }

  .hero-scroll-arrow {
    display: none;
  }

  .hero-video-controls {
    right: 16px;
    bottom: 16px;
  }
}

/* Layar yang sangat pendek */
@media (min-width: 901px) and (max-height: 720px) {
  .hero-video-content {
    padding-top: 20px !important;
    padding-bottom: 105px !important;
  }

  .hero-video-title {
    font-size: clamp(38px, 4.5vw, 54px) !important;
  }

  total-video-hero .hero-scroll-arrow {
    bottom: 58px !important;
  }

  total-video-hero .hero-video-controls {
    bottom: 62px !important;
  }
}

/* === HERO FINAL RESPONSIVE START === */

/* =========================================================
   HERO FRAME
   ========================================================= */

total-video-hero {
  display: block;
  width: 100%;
  max-width: none;
}

total-video-hero .hero-video-only {
  position: relative !important;
  isolation: isolate;

  container-type: size;

  width: 100% !important;
  max-width: none !important;

  height: calc(100vh - 112px) !important;
  height: calc(100dvh - 112px) !important;
  min-height: 560px !important;

  margin: 0 !important;
  padding: 0 !important;

  overflow: hidden !important;

  background: #ffffff;
}

/* Matikan headline lama dari pseudo-element. */
total-video-hero .hero-video-only::before {
  content: none !important;
  display: none !important;
}

/* =========================================================
   VIDEO CONTAINER
   ========================================================= */

total-video-hero .hero-video {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0;

  width: 100% !important;
  height: 100% !important;

  overflow: hidden !important;

  background: #151515 url("assets/images/slider/slide2.webp") center / cover
    no-repeat;
}

/* =========================================================
   YOUTUBE FULL-COVER
   Jangan digabung dengan .hero-slide-image
   ========================================================= */

total-video-hero .hero-video iframe {
  position: absolute !important;

  inset: auto !important;
  top: 50% !important;
  left: 50% !important;

  width: max(100cqw, 177.78cqh) !important;

  height: max(56.25cqw, 100cqh) !important;

  max-width: none !important;
  max-height: none !important;

  border: 0;

  filter: brightness(0.6);

  transform: translate(-50%, -50%) !important;

  pointer-events: none;
}

/* =========================================================
   IMAGE SLIDES
   ========================================================= */

total-video-hero .hero-local-video,
total-video-hero .hero-slide-image {
  position: absolute !important;
  inset: 0 !important;

  width: 100% !important;
  height: 100% !important;

  object-fit: cover !important;
  object-position: center !important;

  filter: brightness(0.6);

  pointer-events: none;
}

/* =========================================================
   OVERLAY
   ========================================================= */

total-video-hero .hero-video::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 1;

  background: rgba(8, 52, 78, 0.12);

  mix-blend-mode: multiply;

  pointer-events: none;
}

total-video-hero .hero-video-only::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 2;

  background: linear-gradient(
    90deg,
    rgba(10, 12, 14, 0.78) 0%,
    rgba(10, 12, 14, 0.58) 42%,
    rgba(10, 12, 14, 0.22) 75%,
    rgba(10, 12, 14, 0.12) 100%
  );

  pointer-events: none;
}

/* =========================================================
   HERO CONTENT
   ========================================================= */

total-video-hero .hero-video-content {
  position: relative;
  z-index: 3;

  display: flex;
  flex-direction: column;
  justify-content: center;

  width: min(calc(100% - 96px), 1480px);

  height: 100%;
  min-height: 0 !important;

  margin: 0 auto;

  padding: clamp(36px, 6vh, 72px) 0 110px !important;
}

total-video-hero .hero-video-eyebrow {
  margin-bottom: 18px;
}

total-video-hero .hero-video-title {
  max-width: 800px;

  font-size: clamp(44px, 4.6vw, 72px) !important;

  line-height: 1.01 !important;
}

total-video-hero .hero-video-actions {
  margin-top: 28px;
}

/* =========================================================
   BOTTOM NAVIGATION
   ========================================================= */

total-video-hero .hero-scroll-arrow {
  position: absolute !important;

  top: auto !important;
  right: auto !important;
  bottom: 22px !important;
  left: 50% !important;
  z-index: 4;

  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;

  width: max-content;
  height: 44px;

  transform: translateX(-50%) !important;

  animation: none !important;
}

total-video-hero .hero-video-controls {
  position: absolute !important;

  top: auto !important;
  right: 30px !important;
  bottom: 26px !important;
  left: auto !important;
  z-index: 4;

  display: flex !important;
  align-items: center;
  gap: 7px;

  width: max-content;

  transform: none !important;
}

/* =========================================================
   SMALL DESKTOP / 1024PX
   ========================================================= */

@media (min-width: 901px) and (max-width: 1100px) {
  total-video-hero .hero-video-content {
    width: calc(100% - 64px);

    padding: 30px 0 95px !important;
  }

  total-video-hero .hero-video-eyebrow {
    margin-bottom: 14px;

    font-size: 10px;
  }

  total-video-hero .hero-video-title {
    max-width: 680px;

    font-size: clamp(42px, 5.2vw, 56px) !important;
  }

  total-video-hero .hero-video-actions {
    margin-top: 22px;
  }

  total-video-hero .hero-scroll-arrow {
    bottom: 16px !important;
  }

  total-video-hero .hero-video-controls {
    right: 22px !important;
    bottom: 20px !important;
  }
}

/* =========================================================
   SHORT DESKTOP
   ========================================================= */

@media (min-width: 901px) and (max-height: 720px) {
  total-video-hero .hero-video-only {
    min-height: 500px !important;
  }

  total-video-hero .hero-video-content {
    padding: 22px 0 86px !important;
  }

  total-video-hero .hero-video-eyebrow {
    margin-bottom: 11px;
  }

  total-video-hero .hero-video-title {
    font-size: clamp(38px, 4.4vw, 54px) !important;
  }

  total-video-hero .hero-video-actions {
    margin-top: 18px;
  }

  total-video-hero .hero-scroll-arrow {
    bottom: 12px !important;
  }

  total-video-hero .hero-video-controls {
    bottom: 16px !important;
  }
}

/* =========================================================
   TABLET AND MOBILE
   ========================================================= */

@media (max-width: 900px) {
  total-video-hero .hero-video-only {
    height: calc(100svh - 68px) !important;
    min-height: 520px !important;
  }

  total-video-hero .hero-video-only::after {
    background: linear-gradient(
      180deg,
      rgba(10, 12, 14, 0.22) 0%,
      rgba(10, 12, 14, 0.48) 52%,
      rgba(10, 12, 14, 0.82) 100%
    );
  }

  total-video-hero .hero-video-content {
    width: calc(100% - 40px);

    padding: 46px 0 92px !important;
  }

  total-video-hero .hero-video-title {
    font-size: clamp(36px, 8vw, 52px) !important;
  }

  total-video-hero .hero-scroll-arrow {
    display: none !important;
  }

  total-video-hero .hero-video-controls {
    right: 16px !important;
    bottom: 16px !important;
  }
}

@media (max-width: 600px) {
  total-video-hero .hero-video-content {
    width: calc(100% - 32px);

    padding: 38px 0 76px !important;
  }

  total-video-hero .hero-video-title {
    font-size: clamp(33px, 10vw, 43px) !important;
  }
}

/* === HERO FINAL RESPONSIVE END === */

/* =========================================================
   MOBILE LANDSCAPE — COMPACT HERO
   ========================================================= */

@media (max-width: 900px) and (orientation: landscape) {
  /* Header dibuat lebih pendek */
  total-header .header-shell,
  total-header .header-nav {
    height: 56px !important;
  }

  total-header .header-logo {
    flex: 0 0 160px !important;
    width: 160px !important;
    height: 56px !important;
  }

  total-header .header-logo img {
    width: 154px !important;
  }

  total-header .header-hamb {
    width: 38px !important;
    height: 38px !important;
  }

  total-header .header-menu {
    top: 56px !important;
    max-height: calc(100svh - 56px) !important;
  }

  /* Hero mengikuti sisa tinggi layar */
  total-video-hero .hero-video-only {
    height: calc(100svh - 56px) !important;
    min-height: 300px !important;
  }

  /* Konten dipadatkan */
  total-video-hero .hero-video-content {
    justify-content: center !important;

    width: calc(100% - 48px) !important;
    height: 100% !important;
    min-height: 0 !important;

    padding: 18px 0 58px !important;
  }

  total-video-hero .hero-video-eyebrow {
    margin-bottom: 10px !important;

    font-size: 8px !important;
    letter-spacing: 0.1em !important;
  }

  total-video-hero .hero-video-eyebrow::before {
    width: 20px !important;
  }

  total-video-hero .hero-video-title {
    max-width: 560px !important;

    margin: 0 !important;

    font-size: clamp(28px, 6.2vw, 38px) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.045em !important;
  }

  total-video-hero .hero-video-actions {
    margin-top: 14px !important;
  }

  total-video-hero .hero-video-primary {
    min-height: 38px !important;
    padding: 8px 17px !important;

    font-size: 10px !important;
  }

  /* Scroll disembunyikan karena tinggi layar terbatas */
  total-video-hero .hero-scroll-arrow {
    display: none !important;
  }

  /* Slider tetap terlihat di kanan bawah */
  total-video-hero .hero-video-controls {
    display: flex !important;

    top: auto !important;
    right: 16px !important;
    bottom: 12px !important;
    left: auto !important;

    transform: none !important;
  }

  total-video-hero .hero-video-arrow {
    width: 26px !important;
    height: 26px !important;
  }

  total-video-hero .hero-video-arrow svg {
    width: 16px !important;
    height: 16px !important;
  }

  total-video-hero .hero-video-dots {
    gap: 5px !important;
  }

  total-video-hero .hero-video-dot {
    width: 6px !important;
    height: 6px !important;
  }

  total-video-hero .hero-video-dot.active {
    width: 17px !important;
  }
}

/* =========================================================
   HERO ALIGNMENT — SAME LINE AS HEADER
   ========================================================= */

@media (min-width: 901px) {
  total-video-hero .hero-video-content {
    width: min(calc(100% - 120px), var(--max)) !important;

    margin-inline: auto !important;
  }
}

/* Keep the sticky mobile header opaque above GPU-composited hero/video layers. */
@media (max-width: 900px) {
  total-header {
    isolation: isolate;
    background-color: #ffffff !important;
  }

  total-header .header-shell,
  total-header .header-container,
  total-header .header-nav {
    background-color: #ffffff !important;
    background-image: none !important;
  }

  body.mobile-menu-open total-header {
    position: fixed !important;
    inset: 0 0 auto !important;
    width: 100% !important;
    height: var(--header-height) !important;
  }

  /* Tablet dan mobile mengikuti lebar header masing-masing */
  total-video-hero .hero-video-content {
    width: calc(100% - 28px) !important;
    margin-inline: auto !important;
  }
}

/* Mobile landscape tetap compact, tetapi sejajar dengan header */
@media (max-width: 900px) and (orientation: landscape) {
  total-video-hero .hero-video-content {
    width: calc(100% - 28px) !important;
    margin-inline: auto !important;
  }
}

/* =========================================================
   SCROLL BUTTON — BOUNCE ANIMATION
   ========================================================= */

total-video-hero .hero-scroll-arrow {
  animation: hero-scroll-bounce 1.45s infinite !important;
  transform-origin: center bottom;
}

@keyframes hero-scroll-bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0) scaleY(1);
  }

  40% {
    transform: translateX(-50%) translateY(-11px) scaleY(1.03);
  }

  60% {
    transform: translateX(-50%) translateY(-5px) scaleY(1.01);
  }
}

/* =========================================================
   SCROLL INDICATOR — CONTINUOUS BOUNCE
   ========================================================= */

total-video-hero .hero-scroll-arrow {
  animation: scroll-indicator-bounce 1.25s ease-in-out infinite !important;
  will-change: transform;
}

@keyframes scroll-indicator-bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  45% {
    transform: translateX(-50%) translateY(9px);
  }

  65% {
    transform: translateX(-50%) translateY(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  total-video-hero .hero-scroll-arrow {
    animation: none !important;
  }
}

/* =========================================================
   FINAL SCROLL INDICATOR — VISIBLE CONTINUOUS BOUNCE
   ========================================================= */

total-video-hero .hero-scroll-arrow {
  transform: translateX(-50%) !important;
  translate: 0 0;

  animation: hero-scroll-indicator-bounce 1.15s
    cubic-bezier(0.28, 0.84, 0.42, 1) infinite !important;

  will-change: translate;
}

total-video-hero .hero-scroll-arrow svg {
  animation: none !important;
}

@keyframes hero-scroll-indicator-bounce {
  0%,
  20%,
  100% {
    translate: 0 0;
  }

  45% {
    translate: 0 10px;
  }

  60% {
    translate: 0 2px;
  }

  75% {
    translate: 0 7px;
  }

  88% {
    translate: 0 0;
  }
}

/* Hero secondary E-Tracking button */
total-video-hero .hero-video-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 50px;
  padding: 12px 25px;

  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(255, 255, 255, 0.72);

  font:
    700 13px/1.2 "Realtime Text Rounded",
    Arial,
    sans-serif;

  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

total-video-hero .hero-video-secondary:hover {
  color: #151515;
  background: #ffffff;
  border-color: #ffffff;

  transform: translateY(-2px);
}

@media (max-width: 600px) {
  total-video-hero .hero-video-actions {
    display: flex;
    align-items: stretch;
    gap: 10px;
  }

  total-video-hero .hero-video-primary,
  total-video-hero .hero-video-secondary {
    flex: 1;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 10px;
  }
}

/* =========================================================
   CONTACT LOCATIONS
   ========================================================= */

.contact-locations {
  display: grid;
  gap: 0;

  padding: 34px;

  background: #ffffff;
  border: 1px solid var(--color-line);
}

.contact-locations-head {
  margin-bottom: 8px;
}

.contact-eyebrow {
  display: block;

  margin-bottom: 8px;

  color: var(--color-orange);

  font:
    700 10px/1.3 "Realtime Text Rounded",
    Arial,
    sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-locations-head h2 {
  margin: 0;

  color: var(--color-text);

  font:
    800 26px/1.2 "Realtime Text Rounded",
    Arial,
    sans-serif;
  letter-spacing: -0.03em;
}

.contact-location-group-title {
  margin: 24px 0 0;
  padding: 0 0 10px;

  color: var(--color-red);

  font:
    800 11px/1.3 "Realtime Text Rounded",
    Arial,
    sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-location-group + .contact-location-group {
  margin-top: 18px;
  border-top: 1px solid var(--color-line);
}

.office-location {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px;

  padding: 24px 0;

  border-bottom: 1px solid var(--color-line);
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.office-location:hover {
  background: rgba(217, 8, 3, 0.04);
}

.office-location:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 4px;
}

.office-number {
  padding-top: 5px;

  color: var(--color-orange);

  font:
    800 11px/1 "Realtime Text Rounded",
    Arial,
    sans-serif;
  letter-spacing: 0.08em;
}

.office-location h3 {
  margin: 0 0 8px;

  color: var(--color-text);

  font:
    700 15px/1.35 "Realtime Text Rounded",
    Arial,
    sans-serif;
}

.office-location p {
  margin: 0;

  color: #777777;

  font-size: 12px;
  line-height: 1.7;
}

.contact-direct {
  display: grid;
  gap: 5px;

  padding-top: 24px;
}

.contact-direct a {
  width: max-content;
  max-width: 100%;

  color: var(--color-red);

  font-size: 13px;
  font-weight: 700;
}

.contact-direct a:hover {
  color: var(--color-orange);
}
/* =========================================================
   MOBILE — KEEP SCROLL INDICATOR VISIBLE
   ========================================================= */

@media (max-width: 900px) {
  total-video-hero .hero-scroll-arrow {
    display: flex !important;

    position: absolute !important;
    top: auto !important;
    right: auto !important;
    bottom: 16px !important;
    left: 50% !important;

    z-index: 4;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    transform: translateX(-50%) !important;

    animation: hero-scroll-indicator-bounce 1.15s
      cubic-bezier(0.28, 0.84, 0.42, 1) infinite !important;
  }
}

/* Landscape mobile juga tetap tampil */
@media (max-width: 900px) and (orientation: landscape) {
  total-video-hero .hero-scroll-arrow {
    display: flex !important;
    bottom: 10px !important;
  }
}

/* =========================================================
   HERO MEDIA — BRIGHTER
   ========================================================= */

/* Terangkan video YouTube dan image slider */
total-video-hero .hero-video iframe,
total-video-hero .hero-slide-image {
  filter: brightness(0.82) !important;
}

/* Kurangi tint biru */
total-video-hero .hero-video::after {
  background: rgba(8, 52, 78, 0.06) !important;
}

/* Kurangi overlay gelap */
total-video-hero .hero-video-only::after {
  background: linear-gradient(
    90deg,
    rgba(10, 12, 14, 0.6) 0%,
    rgba(10, 12, 14, 0.38) 42%,
    rgba(10, 12, 14, 0.14) 75%,
    rgba(10, 12, 14, 0.06) 100%
  ) !important;
}

/* =========================================================
   HEADER UTILITY — FINAL CLEAN
   ========================================================= */

total-header .header-utility {
  background: #ffffff !important;
  border-top: 4px solid rgba(217, 8, 3, 0.12) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: none !important;
}

total-header .header-utility .header-container {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;

  /* tetap mengikuti container header utama */
  width: min(calc(100% - 120px), var(--max)) !important;
  margin-inline: auto !important;
  padding: 0 !important;
}

total-header .header-utility span {
  position: relative;
  display: flex !important;
  align-items: center !important;

  height: 31px;

  padding: 0 !important;

  color: rgba(31, 31, 31, 0.68);

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* titik orange lokasi */
total-header .header-utility span:first-child::before {
  content: "●";
  margin-right: 10px;

  color: var(--color-orange);
  font-size: 10px;
}

/* separator lokasi | kontak */
total-header .header-utility span + span {
  margin-left: 28px !important;
}

total-header .header-utility span + span::before {
  content: "";

  position: absolute;
  top: 50%;
  left: -14px;

  width: 1px;
  height: 16px;

  background: rgba(0, 0, 0, 0.16);

  transform: translateY(-50%);
}

/*
  CONTACT punya padding-right 25px.
  Utility dibuat sama supaya ujung email
  lurus dengan ujung tulisan CONTACT.
*/
total-header .header-utility span:last-child {
  padding-right: 25px !important;
  color: rgba(31, 31, 31, 0.78);
}

/* LEGAL PAGE START
========================================================= */

.legal-hero {
  padding: 70px 0 58px;
  background: #ffffff;
  border-bottom: 1px solid var(--color-line);
}

.legal-hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.legal-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--color-red);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.14em;
}

.legal-hero h1 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.legal-hero p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 24px;
}

.language-switcher {
  display: flex;
  flex: none;
  gap: 4px;
  padding: 4px;
  background: #f3f3f3;
  border-radius: 8px;
}

.lang-btn {
  padding: 9px 15px;
  color: var(--color-text-muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.lang-btn:hover {
  color: var(--color-red);
}

.lang-btn.active {
  color: #ffffff;
  background: var(--color-red);
}

.lang-btn.active:hover {
  color: #ffffff;
}

.legal-section {
  padding: 70px 0 90px;
}

.legal-container {
  max-width: 920px;
}

.legal-block {
  padding: 0 0 64px;
}

.legal-block + .legal-block {
  padding-top: 64px;
  border-top: 1px solid var(--color-line);
}

.legal-section-label {
  display: flex;
  gap: 14px;
  margin-bottom: 15px;
  color: var(--color-red);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-block h2 {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--color-text);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.legal-block > p {
  margin: 0 0 30px;
  color: var(--color-text);
  font-size: 14px;
  line-height: 26px;
}

.legal-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: legal;
}

.legal-list > li {
  position: relative;
  min-height: 42px;
  margin: 0;
  padding: 20px 0 20px 58px;
  color: var(--color-text);
  border-top: 1px solid var(--color-line);
  font-size: 14px;
  line-height: 26px;
  counter-increment: legal;
}

.legal-list > li:last-child {
  border-bottom: 1px solid var(--color-line);
}

.legal-list > li::before {
  content: counter(legal, decimal-leading-zero);
  position: absolute;
  top: 20px;
  left: 0;
  color: var(--color-red);
  font-size: 12px;
  font-weight: 700;
}

.legal-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-text);
  font-weight: 700;
}

@media (max-width: 768px) {
  .legal-hero {
    padding: 48px 0 42px;
  }

  .legal-hero-inner {
    display: block;
  }

  .legal-hero h1 {
    font-size: 36px;
  }

  .legal-hero p {
    font-size: 14px;
  }

  .language-switcher {
    width: max-content;
    margin-top: 28px;
  }

  .legal-section {
    padding: 50px 0 65px;
  }

  .legal-block {
    padding-bottom: 48px;
  }

  .legal-block + .legal-block {
    padding-top: 48px;
  }

  .legal-block h2 {
    font-size: 23px;
  }

  .legal-list > li {
    padding-left: 44px;
  }
}

/* LEGAL PAGE END */

/* =========================================================
   LEGAL PAGE — FINAL ALIGNMENT FIX
   ========================================================= */

/* Hero dan content pakai garis container yang sama dengan header */
.legal-hero > .container,
.legal-section > .container {
  width: min(calc(100% - 120px), var(--max, 1060px)) !important;
  max-width: none !important;

  margin-left: auto !important;
  margin-right: auto !important;

  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Jangan center container legal menjadi 920px */
.legal-container {
  max-width: none !important;
}

/* Batasi panjang bacaan, tapi tetap mulai dari kiri yang sama */
.legal-block {
  width: 100%;
  max-width: 920px;
  margin-left: 0;
  margin-right: 0;
}

/* Responsive = sama seperti header */
@media (max-width: 900px) {
  .legal-hero > .container,
  .legal-section > .container {
    width: calc(100% - 32px) !important;
  }
}

@media (max-width: 420px) {
  .legal-hero > .container,
  .legal-section > .container {
    width: calc(100% - 24px) !important;
  }
}

/* =========================================================
   GLOBAL LANGUAGE SWITCHER
   ========================================================= */

.header-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 22px;
  padding-left: 18px;
  border-left: 1px solid var(--color-line);
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

.header-language-switcher button {
  padding: 3px 4px;
  color: var(--color-text-muted);
  background: transparent;
  border: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.header-language-switcher button:hover,
.header-language-switcher button.active {
  color: var(--color-red);
}

.header-language-switcher span {
  height: auto !important;
  padding: 0 !important;
  color: var(--color-line) !important;
  border: 0 !important;
}

.header-language-switcher span::before,
.header-language-switcher span::after {
  content: none !important;
}

.header-language-mobile {
  display: none;
}

@media (max-width: 900px) {
  .header-language-mobile {
    display: block;
    padding: 12px 0 2px;
  }

  .header-language-mobile .header-language-switcher {
    display: inline-flex;
    margin: 0;
    padding: 0;
    border-left: 0;
  }
}

/* =========================================================
   HEADER — CLEAN RESPONSIVE LAYOUT
   ========================================================= */

/* =========================
   DESKTOP > 1440px
   gutter 150px
   ========================= */

@media (min-width: 1441px) {
  total-header .header-container,
  total-header .header-utility .header-container {
    width: 100% !important;
    max-width: none !important;
    margin-inline: auto !important;

    padding-left: 150px !important;
    padding-right: 150px !important;
  }
}

/* =========================
   DESKTOP 1201 - 1440px
   gutter 80px
   ========================= */

@media (min-width: 1201px) and (max-width: 1440px) {
  total-header .header-container,
  total-header .header-utility .header-container {
    width: 100% !important;
    max-width: none !important;
    margin-inline: auto !important;

    padding-left: 80px !important;
    padding-right: 80px !important;
  }
}

/* =========================
   LAPTOP 901 - 1200px
   gutter 40px
   ========================= */

@media (min-width: 901px) and (max-width: 1200px) {
  total-header .header-container,
  total-header .header-utility .header-container {
    width: 100% !important;
    max-width: none !important;
    margin-inline: auto !important;

    padding-left: 40px !important;
    padding-right: 40px !important;
  }
}

/* =========================================================
   DESKTOP SPACING — CONSISTENT FOOTER RHYTHM
   Keep the three footer columns visually balanced on wide
   screens. The previous 1.3 / .8 / 1 ratio left an oversized
   void before the certification column.
========================================================= */

@media (min-width: 1201px) {
  total-footer .total-footer-shell {
    padding-block: clamp(56px, 4.5vw, 72px) 28px;
  }

  total-footer .total-footer-grid {
    grid-template-columns:
      minmax(0, 0.9fr)
      minmax(360px, 1.1fr)
      minmax(0, 0.9fr);
    column-gap: clamp(48px, 4vw, 72px);
  }

  total-footer .footer-social,
  total-footer .footer-certified,
  total-footer .total-footer-office {
    min-width: 0;
  }

  total-footer .total-footer-copyright {
    margin-top: clamp(40px, 3.5vw, 52px);
    padding-top: 24px;
  }
}

/* Align footer gutters with the public header and page content. */
@media (min-width: 1201px) {
  total-footer .total-footer-container {
    width: min(calc(100% - 160px), var(--layout-wide)) !important;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  total-footer .total-footer-container {
    width: calc(100% - 48px) !important;
  }
}

@media (max-width: 900px) {
  total-footer .total-footer-container {
    width: calc(100% - 32px) !important;
  }
}

@media (max-width: 420px) {
  total-footer .total-footer-container {
    width: calc(100% - 24px) !important;
  }
}

total-footer .certificate-row small {
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  total-footer .certificate-row small {
    font-size: 14px;
  }
}

/* =========================
   DESKTOP HEADER
   ========================= */

@media (min-width: 901px) {
  total-header .header-shell {
    height: 76px !important;

    /* shell full width */
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  total-header .header-utility {
    height: 36px !important;
  }

  total-header .header-utility .header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    height: 31px !important;
  }

  /* Logo | Menu */
  total-header .header-nav {
    display: grid !important;
    grid-template-columns: 240px minmax(0, 1fr) !important;
    align-items: center !important;

    column-gap: 48px !important;
    height: 76px !important;
  }

  /* Logo */
  total-header .header-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 240px !important;
    height: 76px !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  total-header .header-logo img {
    width: 220px !important;
    max-width: 220px !important;
    height: auto !important;
  }

  /* Menu */
  total-header .header-menu {
    display: flex !important;
    align-items: center !important;

    /* gap visual rata */
    justify-content: space-between !important;

    width: 100% !important;
    min-width: 0 !important;
    height: 76px !important;

    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
  }

  total-header .header-menu > a {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 auto !important;

    width: auto !important;
    height: 76px !important;

    margin: 0 !important;

    /* jangan ganggu space-between */
    padding-left: 0 !important;
    padding-right: 0 !important;

    white-space: nowrap !important;
  }

  /* underline pas sepanjang text */
  total-header .header-menu > a::after {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }

  /* language mobile tidak ikut desktop */
  total-header .header-language-mobile {
    display: none !important;
  }

  /* right edge CONTACT dan EN */
  total-header .header-language-switcher {
    margin-right: 0 !important;
  }

  total-header .header-language-switcher button:last-of-type {
    padding-right: 0 !important;
  }

  total-header .header-menu > a:last-of-type {
    margin-right: 0 !important;
    padding-right: 0 !important;
  }
}

/* =========================
   LAPTOP NAV
   ========================= */

@media (min-width: 901px) and (max-width: 1200px) {
  total-header .header-nav {
    grid-template-columns: 185px minmax(0, 1fr) !important;
    column-gap: 28px !important;
  }

  total-header .header-logo {
    width: 185px !important;
  }

  total-header .header-logo img {
    width: 180px !important;
    max-width: 180px !important;
  }

  total-header .header-menu > a {
    font-size: 12px !important;
  }
}

/* =========================
   TABLET / MOBILE
   16px kiri kanan
   ========================= */

@media (max-width: 900px) {
  total-header .header-shell {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  total-header .header-container {
    width: calc(100% - 32px) !important;
    max-width: none !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* =========================================================
   GLOBAL PAGE LOADER
   First visit / reload / asset version change
========================================================= */

#global-page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
}

html:not(.is-reload) #global-page-loader {
  display: none !important;
}

.global-page-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

#global-page-loader img {
  width: 240px;
  max-width: 60vw;
  height: auto;
  opacity: 0;
  transform: scale(0.5);
  transform-origin: center;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.25));
}

.global-page-loader-inner.is-logo-ready #global-page-loader-logo {
  animation: globalLogoEnter 0.65s ease-out forwards;
}

.global-page-loader-inner.is-logo-settled #global-page-loader-logo {
  opacity: 1 !important;
  transform: scale(1) !important;
  animation: none !important;
}

.global-page-loader-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(0, 0, 0, 0.14);
  border-top-color: var(--color-red);
  border-radius: 50%;
  animation: globalLoaderSpin 0.75s linear infinite;
}

#global-page-loader.is-hiding {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

@keyframes globalLogoEnter {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes globalLoaderSpin {
  to {
    transform: rotate(360deg);
  }
}

/* =========================================================
   FINAL PUBLIC HEADER
   Shared by HOME / ABOUT / SERVICES / TRACKING / TERMS / CONTACT
========================================================= */

total-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  width: 100% !important;
  background: var(--color-surface) !important;
}

total-header .header-utility {
  display: none !important;
}

total-header .header-shell {
  position: relative !important;
  height: var(--header-height) !important;
  background: var(--color-surface) !important;
  border: 0 !important;
  box-shadow: 0 2px 8px rgba(21, 21, 21, 0.08) !important;
}

total-header .header-shell::before {
  display: none !important;
}

total-header .header-shell::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  display: block;
  height: 2px;
  background: var(--color-text);
  pointer-events: none;
}

total-header .header-nav,
total-header .header-logo,
total-header .header-menu {
  height: var(--header-height) !important;
}

total-header .header-nav {
  background: var(--color-surface) !important;
}

total-header .header-logo,
total-header .header-logo img {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

total-header .header-logo img {
  width: auto !important;
  max-width: 200px !important;
  height: var(--header-logo-height) !important;
  filter: none !important;
}

total-header .header-menu > a {
  height: var(--header-height) !important;
  color: var(--color-text) !important;
  background: transparent !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

total-header .header-menu > a:hover,
total-header .header-menu > a.active {
  color: var(--color-red) !important;
  background: transparent !important;
}

total-header .header-menu > a::after {
  display: none !important;
}

@media (min-width: 901px) {
  total-header .header-container {
    width: min(calc(100% - 160px), var(--layout-wide)) !important;
    max-width: none !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    background: var(--color-surface) !important;
  }

  total-header .header-nav {
    grid-template-columns: 220px minmax(0, 1fr) !important;
    column-gap: 32px !important;
  }

  total-header .header-menu {
    justify-content: flex-end !important;
    gap: 6px !important;
  }

  total-header .header-menu > a {
    width: auto !important;
    padding-inline: 14px !important;
  }

  total-header .header-menu > a:last-of-type {
    height: 42px !important;
    margin-left: 18px !important;
    padding-inline: 22px !important;
    color: #ffffff !important;
    background: var(--color-red) !important;
    border: 1px solid var(--color-red) !important;
  }

  total-header .header-menu > a:last-of-type:hover {
    color: #ffffff !important;
    background: var(--color-red-hover) !important;
    border-color: var(--color-red-hover) !important;
  }
}

@media (max-width: 900px) {
  total-header .header-container {
    width: calc(100% - 32px) !important;
    margin-inline: auto !important;
    padding: 0 !important;
    background: var(--color-surface) !important;
  }
}

@media (max-width: 420px) {
  total-header .header-container {
    width: calc(100% - 24px) !important;
  }
}

/* =========================================================
   HOMEPAGE HERO — FINAL
========================================================= */

.home-page total-video-hero .hero-video-only {
  position: relative !important;
  isolation: isolate;
  height: calc(100vh - var(--header-height)) !important;
  height: calc(100dvh - var(--header-height)) !important;
  min-height: 0 !important;
}

.home-page total-video-hero .hero-video-content {
  justify-content: flex-end !important;
  padding: 120px 0 150px !important;
}

.home-page total-video-hero .hero-video-title {
  max-width: 980px !important;
  margin: 0 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  filter: none !important;
  font-size: clamp(54px, 6vw, 92px) !important;
  font-weight: 700 !important;
  line-height: 0.98 !important;
  letter-spacing: -0.035em !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.home-page total-video-hero .hero-video-title > span:first-child {
  display: block;
  color: var(--color-red) !important;
  -webkit-text-fill-color: var(--color-red) !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22) !important;
}

.home-page total-video-hero .hero-video-title-accent {
  display: block;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.home-page total-video-hero .hero-video-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px !important;
}

.home-page total-video-hero .hero-video-primary,
.home-page total-video-hero .hero-video-secondary {
  min-height: 48px !important;
  padding: 12px 24px !important;
  border-radius: 0 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  opacity: 1 !important;
}

.home-page total-video-hero .hero-video-primary,
.home-page total-video-hero .hero-video-primary span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.home-page total-video-hero .hero-video-primary {
  background: var(--color-red) !important;
  border: 1px solid var(--color-red) !important;
}

.home-page total-video-hero .hero-video-secondary,
.home-page total-video-hero .hero-video-secondary span {
  color: var(--color-dark) !important;
  -webkit-text-fill-color: var(--color-dark) !important;
}

.home-page total-video-hero .hero-video-secondary {
  background: var(--color-orange) !important;
  border: 1px solid var(--color-orange) !important;
}

.home-page total-video-hero .hero-video-primary:hover,
.home-page total-video-hero .hero-video-secondary:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.home-page total-video-hero .hero-video iframe,
.home-page total-video-hero .hero-local-video,
.home-page total-video-hero .hero-slide-image {
  filter: brightness(0.82) !important;
}

.home-page total-video-hero .hero-video::after {
  background: rgba(0, 0, 0, 0.08) !important;
  mix-blend-mode: normal !important;
}

.home-page total-video-hero .hero-video-only::after {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.34) 0%,
    rgba(0, 0, 0, 0.22) 42%,
    rgba(0, 0, 0, 0.1) 75%,
    rgba(0, 0, 0, 0.04) 100%
  ) !important;
}

.home-page total-video-hero .hero-service-nav {
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  z-index: 5 !important;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(calc(100% - 120px), var(--max));
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  transform: translateX(-50%) !important;
}

.home-page total-video-hero .hero-service-nav > a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 20px 18px 22px 0;
  color: #ffffff;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.home-page total-video-hero .hero-service-nav > a + a {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.home-page total-video-hero .hero-service-nav > a::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-orange);
  transition: width 0.3s ease;
}

.home-page total-video-hero .hero-service-nav > a:hover,
.home-page total-video-hero .hero-service-nav > a:focus-visible,
.home-page total-video-hero .hero-service-nav > a:active {
  opacity: 1;
  transform: translateY(-2px);
}

.home-page total-video-hero .hero-service-nav > a:hover::before,
.home-page total-video-hero .hero-service-nav > a:focus-visible::before,
.home-page total-video-hero .hero-service-nav > a:active::before {
  width: 100%;
}

.home-page total-video-hero .hero-service-number {
  flex: 0 0 auto;
  color: var(--color-red) !important;
  font-size: 11px;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
}

.home-page total-video-hero .hero-service-nav strong {
  overflow: hidden;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700 !important;
  line-height: 1.15;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 0.25s ease;
}

.home-page total-video-hero .hero-service-nav > a:hover strong,
.home-page total-video-hero .hero-service-nav > a:focus-visible strong,
.home-page total-video-hero .hero-service-nav > a:active strong {
  color: var(--color-orange);
}

.home-page total-video-hero .hero-scroll-arrow,
.home-page total-video-hero .hero-video-controls {
  display: none !important;
}

@media (min-width: 901px) {
  .home-page total-video-hero .hero-video-content,
  .home-page total-video-hero .hero-service-nav {
    width: min(calc(100% - 160px), var(--layout-wide)) !important;
  }

  .home-page total-video-hero .hero-video-content {
    margin-inline: auto !important;
    min-height: 100% !important;
    padding-top: clamp(40px, 7vh, 90px) !important;
    padding-bottom: 112px !important;
  }

  .home-page total-video-hero .hero-video-title {
    max-width: 1050px !important;
    font-size: clamp(48px, 4.2vw, 72px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.025em !important;
  }
}

@media (max-width: 900px) {
  .home-page total-video-hero .hero-video-only {
    height: calc(100svh - var(--header-height)) !important;
    min-height: 0 !important;
  }

  .home-page total-video-hero .hero-video-content {
    min-height: 100% !important;
    padding: 42px 0 100px !important;
  }

  .home-page total-video-hero .hero-video-title {
    max-width: 760px !important;
    font-size: clamp(46px, 9vw, 70px) !important;
  }

  .home-page total-video-hero .hero-service-nav {
    width: calc(100% - 28px) !important;
  }

  .home-page total-video-hero .hero-service-nav > a {
    gap: 8px;
    padding: 16px 10px 18px 0;
  }

  .home-page total-video-hero .hero-service-nav > a + a {
    padding-left: 12px;
  }

  .home-page total-video-hero .hero-service-nav strong {
    font-size: 15px;
  }

  .home-page total-video-hero .hero-service-number {
    font-size: clamp(10px, 1.35vw, 12px);
  }
}

@media (max-width: 600px) {
  .home-page total-video-hero .hero-video-content {
    padding: 30px 0 94px !important;
  }

  .home-page total-video-hero .hero-video-title {
    max-width: 100% !important;
    font-size: clamp(38px, 11vw, 54px) !important;
    line-height: 1 !important;
  }

  .home-page total-video-hero .hero-video-actions {
    align-items: stretch;
    gap: 10px;
  }

  .home-page total-video-hero .hero-video-primary,
  .home-page total-video-hero .hero-video-secondary {
    min-height: 44px !important;
    padding: 10px 14px !important;
    font-size: 10px !important;
  }

  .home-page total-video-hero .hero-service-nav > a {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .home-page total-video-hero .hero-service-nav strong {
    white-space: normal;
  }
}

/* =========================================================
   HOMEPAGE CONTENT — CLEAN CORPORATE
========================================================= */

.home-page total-homepage main > .section:first-of-type {
  padding: clamp(80px, 9vw, 140px) 0 !important;
  background: var(--color-surface) !important;
}

.home-page total-homepage main > .section:first-of-type .split {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr) !important;
  align-items: center !important;
  gap: clamp(48px, 7vw, 110px) !important;
}

.home-page total-homepage .photo-stack {
  position: relative;
  width: 100%;
}

.home-page total-homepage .photo-stack > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0 !important;
}

.home-page total-homepage .photo-stack::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 82px;
  height: 5px;
  background: var(--color-red);
}

.home-page total-homepage .photo-stack .badge {
  position: absolute !important;
  right: -22px !important;
  bottom: -22px !important;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px !important;
  min-height: 86px !important;
  padding: 18px 22px !important;
  background: var(--color-surface) !important;
  border: 0 !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.1) !important;
}

.home-page total-homepage .photo-stack .badge img {
  width: 100% !important;
  height: auto !important;
}

.home-page
  total-homepage
  main
  > .section:first-of-type
  .split
  > div:last-child {
  position: relative;
  padding-top: 30px;
}

.home-page
  total-homepage
  main
  > .section:first-of-type
  .split
  > div:last-child::before {
  content: "TOTAL LOGISTICS";
  display: block;
  margin-bottom: 18px;
  color: var(--color-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.home-page total-homepage main > .section:first-of-type h2 {
  max-width: 620px;
  margin: 0 0 28px !important;
  color: var(--color-dark) !important;
  font-size: clamp(42px, 4.2vw, 68px) !important;
  font-weight: 700 !important;
  line-height: 0.98 !important;
  letter-spacing: -0.035em !important;
}

.home-page total-homepage main > .section:first-of-type p {
  max-width: 650px;
  margin: 0 !important;
  color: var(--color-text-muted) !important;
  font-size: 17px !important;
  line-height: 1.8 !important;
}

@media (max-width: 900px) {
  .home-page total-homepage main > .section:first-of-type .split {
    grid-template-columns: 1fr !important;
  }

  .home-page total-homepage .photo-stack .badge {
    right: 16px !important;
    bottom: -18px !important;
    width: 150px !important;
  }

  .home-page
    total-homepage
    main
    > .section:first-of-type
    .split
    > div:last-child {
    padding-top: 16px;
  }
}

@media (max-width: 600px) {
  .home-page total-homepage main > .section:first-of-type {
    padding: 72px 0 !important;
  }
}

/* =========================================================
   HOMEPAGE CERTIFICATION — EDITORIAL
========================================================= */

.home-page total-homepage .certification-section {
  padding: clamp(90px, 10vw, 150px) 0 !important;
  background: var(--color-surface) !important;
}

.home-page total-homepage .certification-layout {
  display: grid !important;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr) !important;
  align-items: start !important;
  gap: clamp(72px, 9vw, 150px) !important;
}

.home-page total-homepage .certification-intro .eyebrow {
  margin-bottom: 16px !important;
  color: var(--color-red) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase;
}

.home-page total-homepage .certification-intro h2 {
  max-width: 440px;
  margin: 0 0 42px !important;
  color: var(--color-dark) !important;
  font-size: clamp(46px, 4.8vw, 76px) !important;
  font-weight: 700 !important;
  line-height: 0.96 !important;
  letter-spacing: -0.04em !important;
}

.home-page total-homepage .certification-logos {
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
}

.home-page total-homepage .certification-logos img {
  width: auto !important;
  max-height: 68px !important;
  object-fit: contain;
}

.home-page total-homepage .certification-list {
  display: grid !important;
  gap: 0 !important;
  border-top: 1px solid var(--color-line) !important;
}

.home-page total-homepage .certification-item {
  position: relative;
  display: grid !important;
  grid-template-columns: 62px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 18px !important;
  min-height: 118px;
  padding: 28px 0 !important;
  color: inherit !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--color-line) !important;
  text-decoration: none !important;
}

.home-page total-homepage .certification-item::after {
  content: none !important;
  display: none !important;
}

.home-page total-homepage .certification-item:hover {
  padding-left: 0 !important;
  background: transparent !important;
}

.home-page total-homepage .certification-index {
  align-self: start;
  padding-top: 5px;
  color: var(--color-red) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
}

.home-page total-homepage .certification-item h3 {
  margin: 0 0 7px !important;
  color: var(--color-dark) !important;
  font-size: clamp(22px, 2vw, 30px) !important;
  line-height: 1.1 !important;
  transition: color 0.25s ease;
}

.home-page total-homepage .certification-item:hover h3 {
  color: var(--color-red) !important;
}

.home-page total-homepage .certification-item p {
  margin: 0 !important;
  color: var(--color-text-muted) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

@media (max-width: 900px) {
  .home-page total-homepage .certification-layout {
    grid-template-columns: 1fr !important;
    gap: 50px !important;
  }
}

@media (max-width: 600px) {
  .home-page total-homepage .certification-section {
    padding: 72px 0 !important;
  }

  .home-page total-homepage .certification-item {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    gap: 10px !important;
    min-height: 100px;
  }
}

/* =========================================================
   HOMEPAGE — SERVICES SUMMARY
========================================================= */

.home-page total-homepage .home-services-summary {
  padding: clamp(88px, 8vw, 124px) 0;
  background: #ffffff;
}

.home-page total-homepage .home-services-summary > .container {
  width: min(calc(100% - 120px), var(--max));
  max-width: var(--max);
  padding-inline: 0;
}

.home-page total-homepage .home-services-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: clamp(36px, 6vw, 100px);
  margin-bottom: clamp(38px, 4vw, 58px);
}

.home-page total-homepage .home-services-heading > div > span {
  display: block;
  margin-bottom: 14px;
  color: var(--color-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-page total-homepage .home-services-heading h2 {
  max-width: 820px;
  margin: 0;
  color: var(--color-text);
  font-size: clamp(40px, 4.6vw, 68px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.home-page total-homepage .home-services-heading > p {
  max-width: 480px;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.75;
}

.home-page total-homepage .home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 24px);
}

.home-page total-homepage .home-service-card {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: clamp(390px, 34vw, 500px);
  overflow: hidden;
  color: #ffffff;
  background: #151618;
  outline: 0;
  transition:
    transform 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out);
}

.home-page total-homepage .home-service-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 90% 8%, rgba(235, 35, 41, 0.22), transparent 35%),
    linear-gradient(145deg, #1d1e21, #111214);
  transition: transform 0.65s var(--ease-out), filter 0.4s ease;
}

.home-page total-homepage .home-service-card:nth-child(2) .home-service-overlay {
  background:
    radial-gradient(circle at 88% 10%, rgba(249, 152, 11, 0.2), transparent 34%),
    linear-gradient(145deg, #1d1e21, #111214);
}

.home-page total-homepage .home-service-card:nth-child(3) .home-service-overlay {
  background:
    radial-gradient(circle at 88% 10%, rgba(235, 35, 41, 0.15), transparent 28%),
    radial-gradient(circle at 12% 90%, rgba(249, 152, 11, 0.12), transparent 32%),
    linear-gradient(145deg, #1d1e21, #111214);
}

.home-page total-homepage .home-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  height: 3px;
  background: linear-gradient(90deg, var(--color-red), var(--color-orange));
  transform: scaleX(0.22);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.home-page total-homepage .home-service-card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: clamp(20px, 2.5vw, 38px);
  z-index: 1;
  width: clamp(110px, 12vw, 180px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: transform 0.55s var(--ease-out), border-color 0.4s ease;
}

.home-page total-homepage .home-service-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 3;
  padding: clamp(24px, 3vw, 42px);
}

.home-page total-homepage .home-service-number {
  position: absolute;
  top: clamp(22px, 2.5vw, 36px);
  left: clamp(24px, 3vw, 42px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.home-page total-homepage .home-service-content > strong {
  display: block;
  max-width: 390px;
  color: #ffffff;
  font-size: clamp(25px, 2.2vw, 36px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.home-page total-homepage .home-service-description {
  display: block;
  max-width: 390px;
  max-height: 100px;
  margin-top: 14px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.78;
  transform: none;
  transition: opacity 0.35s ease;
}

.home-page total-homepage .home-service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page total-homepage .home-service-link .icon-arrow-up-right {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--color-orange);
  transition: transform 0.3s var(--ease-out);
}

.home-page total-homepage .home-service-card:hover,
.home-page total-homepage .home-service-card:focus-visible {
  box-shadow: 0 24px 56px rgba(12, 13, 14, 0.22);
  transform: translateY(-8px);
}

.home-page total-homepage .home-service-card:hover::before,
.home-page total-homepage .home-service-card:focus-visible::before {
  transform: scaleX(1);
}

.home-page total-homepage .home-service-card:hover::after,
.home-page total-homepage .home-service-card:focus-visible::after {
  border-color: rgba(249, 152, 11, 0.22);
  transform: translateY(-50%) scale(1.12);
}

.home-page total-homepage .home-service-card:hover .home-service-overlay,
.home-page total-homepage .home-service-card:focus-visible .home-service-overlay {
  filter: brightness(1.12);
  transform: scale(1.025);
}

.home-page total-homepage .home-service-card:hover .home-service-description,
.home-page total-homepage .home-service-card:focus-visible .home-service-description {
  opacity: 1;
}

.home-page total-homepage .home-service-card:hover .home-service-link .icon-arrow-up-right,
.home-page total-homepage .home-service-card:focus-visible .home-service-link .icon-arrow-up-right {
  transform: translate(3px, -3px);
}

.home-page total-homepage .home-service-card:focus-visible {
  box-shadow: 0 0 0 4px rgba(235, 35, 41, 0.28);
}

@media (max-width: 1100px) {
  .home-page total-homepage .home-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page total-homepage .home-service-card:last-child {
    grid-column: 1 / -1;
    min-height: 440px;
  }
}

@media (max-width: 900px) {
  .home-page total-homepage .home-services-summary > .container {
    width: min(calc(100% - 48px), var(--max));
  }
}

@media (max-width: 720px) {
  .home-page total-homepage .home-services-summary {
    padding: 72px 0;
  }

  .home-page total-homepage .home-services-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-page total-homepage .home-services-heading h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .home-page total-homepage .home-services-grid {
    grid-template-columns: 1fr;
  }

  .home-page total-homepage .home-service-card,
  .home-page total-homepage .home-service-card:last-child {
    grid-column: auto;
    min-height: 430px;
  }

  .home-page total-homepage .home-service-description {
    max-height: 100px;
    margin-top: 12px;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 600px) {
  .home-page total-homepage .home-services-summary > .container {
    width: min(calc(100% - 36px), var(--max));
  }
}

/* Final text-only treatment: intentionally no imagery or decorative card art. */
.home-page total-homepage .home-services-grid {
  gap: 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.home-page total-homepage .home-service-card {
  min-height: 340px;
  overflow: visible;
  color: var(--color-dark);
  background: transparent;
  border-right: 1px solid var(--color-line);
  box-shadow: none;
  transition: background-color 0.35s ease;
}

.home-page total-homepage .home-service-card:last-child {
  border-right: 0;
}

.home-page total-homepage .home-service-card::before,
.home-page total-homepage .home-service-card::after {
  content: none;
  display: none;
}

.home-page total-homepage .home-service-content {
  position: static;
  display: flex;
  min-height: 340px;
  padding: clamp(28px, 3vw, 46px);
}

.home-page total-homepage .home-service-number {
  position: static;
  display: block;
  margin-bottom: auto;
  color: var(--color-red);
  font-size: 12px;
}

.home-page total-homepage .home-service-content > strong {
  color: var(--color-dark);
  font-size: clamp(25px, 2.1vw, 34px);
}

.home-page total-homepage .home-service-description {
  color: var(--color-text-muted);
  opacity: 1;
}

.home-page total-homepage .home-service-link {
  color: var(--color-dark);
  border-top-color: var(--color-line);
}

.home-page total-homepage .home-service-card:hover,
.home-page total-homepage .home-service-card:focus-visible {
  background: var(--color-surface-soft);
  box-shadow: none;
  transform: none;
}

.home-page total-homepage .home-service-card:hover .home-service-content > strong,
.home-page total-homepage .home-service-card:focus-visible .home-service-content > strong {
  color: var(--color-red);
}

@media (max-width: 1100px) {
  .home-page total-homepage .home-service-card:nth-child(2) {
    border-right: 0;
  }

  .home-page total-homepage .home-service-card:last-child {
    min-height: 300px;
    border-top: 1px solid var(--color-line);
  }

  .home-page total-homepage .home-service-card:last-child .home-service-content {
    min-height: 300px;
  }
}

@media (max-width: 720px) {
  .home-page total-homepage .home-services-grid {
    border-bottom: 0;
  }

  .home-page total-homepage .home-service-card,
  .home-page total-homepage .home-service-card:nth-child(2),
  .home-page total-homepage .home-service-card:last-child {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
  }

  .home-page total-homepage .home-service-content,
  .home-page total-homepage .home-service-card:last-child .home-service-content {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-content: start;
    column-gap: 14px;
    min-height: 0;
    padding: 28px 0;
  }

  .home-page total-homepage .home-service-number {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    margin: 0;
  }

  .home-page total-homepage .home-service-content > strong {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    font-size: clamp(23px, 7vw, 30px);
  }

  .home-page total-homepage .home-service-description,
  .home-page total-homepage .home-service-link {
    grid-column: 2;
  }

  .home-page total-homepage .home-service-description {
    margin-top: 12px;
  }

  .home-page total-homepage .home-service-link {
    margin-top: 18px;
    padding-top: 14px;
  }
}

/* =========================================================
   HOMEPAGE — OUR CLIENTS
   Marquee animation is intentionally inherited unchanged.
========================================================= */

.home-page total-homepage .project-experience {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(90px, 9vw, 130px) 0 !important;
  color: #ffffff !important;
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(235, 35, 41, 0.16),
      transparent 30%
    ),
    radial-gradient(
      circle at 88% 82%,
      rgba(249, 152, 11, 0.1),
      transparent 28%
    ),
    linear-gradient(135deg, #18191b 0%, #101113 52%, #171719 100%) !important;
}

.home-page total-homepage .project-experience::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 20%,
    #000 80%,
    transparent
  );
  pointer-events: none;
}

.home-page total-homepage .project-experience::after {
  content: "";
  position: absolute;
  top: 0;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(249, 152, 11, 0.55),
    rgba(235, 35, 41, 0.55),
    transparent
  );
  pointer-events: none;
}

.home-page total-homepage .project-heading,
.home-page total-homepage .project-experience > .partner-marquee {
  position: relative;
  z-index: 1;
}

.home-page total-homepage .project-heading {
  display: block !important;
  max-width: 780px !important;
  margin: 0 auto 54px !important;
  text-align: center !important;
}

.home-page total-homepage .project-heading::before {
  content: "TRUSTED BY" !important;
  display: block;
  margin-bottom: 14px;
  color: var(--color-orange) !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.home-page total-homepage .project-heading h2 {
  max-width: 760px;
  margin: 0 auto !important;
  color: #ffffff !important;
  font-size: clamp(40px, 4.5vw, 62px) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: -0.04em !important;
  text-align: center !important;
}

.home-page total-homepage .project-heading h2::after {
  content: none !important;
  display: none !important;
}

.home-page total-homepage .partner-logo:not(.has-variant) img {
  opacity: 0.9 !important;
  filter: brightness(0) invert(1) !important;
}

.home-page
  total-homepage
  .partner-tile:hover
  .partner-logo:not(.has-variant)
  img {
  opacity: 1 !important;
  filter: none !important;
}

.home-page total-homepage .partner-logo.has-variant .logo-mono {
  opacity: 1 !important;
  filter: none !important;
}

.home-page total-homepage .partner-logo.has-variant .logo-color {
  opacity: 0 !important;
  filter: none !important;
}

.home-page
  total-homepage
  .partner-tile:hover
  .partner-logo.has-variant
  .logo-mono {
  opacity: 0 !important;
}

.home-page
  total-homepage
  .partner-tile:hover
  .partner-logo.has-variant
  .logo-color {
  opacity: 1 !important;
  filter: none !important;
}

/* =========================================================
   HEADER — SERVICES MEGA MENU
========================================================= */

@media (min-width: 901px) {
  total-header .header-service-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: var(--header-height);
  }

  total-header .header-service-dropdown > a {
    display: flex;
    align-items: center;
    gap: 7px;
    height: var(--header-height);
    padding-inline: 14px;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
  }

  total-header .header-service-dropdown > a:hover,
  total-header .header-service-dropdown > a.active {
    color: var(--color-red);
  }

  total-header .header-service-dropdown > a::after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.22s ease;
  }

  total-header .header-service-dropdown:hover > a::after,
  total-header .header-service-dropdown:focus-within > a::after {
    transform: rotate(225deg) translate(-1px, -1px);
  }

  total-header .header-service-submenu.header-service-mega {
    position: fixed !important;
    top: var(--header-height) !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 500 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100vw !important;
    padding: 10px !important;
    background: var(--color-surface) !important;
    border: 0 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.1) !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition:
      opacity 0.22s ease,
      visibility 0.22s ease,
      transform 0.22s ease;
  }

  total-header .header-service-dropdown:hover .header-service-mega,
  total-header .header-service-dropdown:focus-within .header-service-mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  total-header .header-service-card {
    position: relative !important;
    display: block !important;
    height: clamp(260px, 28vw, 380px) !important;
    padding: 0 !important;
    overflow: hidden;
    background: var(--color-dark) !important;
    border-radius: 10px;
  }

  total-header .header-service-card > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
  }

  total-header .header-service-card-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.08) 20%,
      rgba(0, 0, 0, 0.18) 55%,
      rgba(0, 0, 0, 0.72) 100%
    );
    transition: background 0.35s ease;
  }

  total-header .header-service-card-content {
    position: absolute;
    right: 28px;
    bottom: 26px;
    left: 28px;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    gap: 14px;
  }

  total-header .header-service-card-content span {
    flex: 0 0 auto;
    padding-bottom: 5px;
    color: var(--color-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
  }

  total-header .header-service-card-content strong {
    color: #ffffff !important;
    font-size: clamp(20px, 1.7vw, 30px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.02em;
  }

  total-header .header-service-card:hover > img {
    transform: scale(1.045);
  }

  total-header .header-service-card:hover .header-service-card-shade {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.03) 15%,
      rgba(0, 0, 0, 0.12) 52%,
      rgba(0, 0, 0, 0.62) 100%
    );
  }
}

@media (max-width: 900px) {
  total-header .header-service-dropdown {
    width: 100%;
  }

  total-header .header-service-dropdown > a {
    display: flex;
    width: 100%;
  }

  total-header .header-service-submenu.header-service-mega {
    display: grid;
    padding-left: 18px;
  }

  total-header .header-service-card {
    display: block;
    padding: 9px 12px;
  }

  total-header .header-service-card > img,
  total-header .header-service-card-shade,
  total-header .header-service-card-content span {
    display: none;
  }

  total-header .header-service-card-content {
    position: static;
  }

  total-header .header-service-card-content strong {
    color: var(--color-text-muted);
    font-size: 12px;
    font-weight: 400;
  }

  total-header .header-service-card:hover .header-service-card-content strong {
    color: var(--color-red);
  }
}

/* =========================================================
   SERVICES — CATEGORY DETAIL
   ?category=0 / 1 / 2
========================================================= */

.services-page.is-category-detail .svc-tab-section,
.services-page.is-category-detail .svc-tab-section + .section {
  display: none !important;
}

.svc-category-detail,
.svc-detail-intro,
.svc-detail-list {
  background: var(--color-surface);
}

.svc-detail-hero {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 420px;
  overflow: hidden;
  background: var(--color-surface) !important;
}

.svc-detail-hero-image {
  position: absolute;
  inset: 0 !important;
  display: block !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-page .svc-detail-hero-image {
  object-position: var(--hero-position, center) !important;
  transform: none !important;
}

.services-page .svc-detail-hero-image[alt="Time Critical Services"] {
  object-position: 72% 28% !important;
}

.svc-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent !important;
  opacity: 0 !important;
}

.svc-detail-hero-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: min(calc(100% - 160px), var(--layout-wide));
  margin-inline: auto;
  padding-bottom: 48px;
  color: #ffffff;
}

.svc-detail-hero-content > span {
  display: block;
  margin-bottom: 12px;
  color: var(--color-orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.svc-detail-hero-content h1 {
  max-width: 900px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.45);
}

.svc-detail-intro {
  padding: clamp(80px, 9vw, 140px) 0;
}

.svc-detail-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: start;
  gap: clamp(70px, 10vw, 170px);
}

.svc-detail-eyebrow {
  display: block;
  margin-bottom: 20px;
  color: var(--color-red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.svc-detail-intro h2 {
  max-width: 760px;
  margin: 0;
  color: var(--service-title-color, var(--color-dark));
  font-size: clamp(44px, 4.8vw, 72px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.svc-detail-intro p {
  margin: 72px 0 0;
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.8;
}

.svc-detail-list {
  padding: 20px 0 clamp(100px, 10vw, 160px);
}

.svc-detail-list > .container {
  display: grid;
  gap: clamp(70px, 9vw, 140px);
}

.svc-detail-item {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(50px, 7vw, 110px);
}

.svc-detail-copy {
  padding: clamp(20px, 4vw, 60px);
}

.svc-detail-number {
  display: block;
  margin-bottom: 24px;
  color: var(--color-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.svc-detail-copy h2 {
  max-width: 620px;
  margin: 0 0 24px;
  color: var(--service-title-color, var(--color-dark));
  font-size: clamp(34px, 3.4vw, 52px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.svc-detail-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.8;
}

.svc-detail-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f1f1f1;
}

.svc-detail-media::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 72px;
  height: 5px;
  background: var(--color-red);
}

.svc-detail-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.svc-detail-item:hover .svc-detail-media img {
  transform: scale(1.025);
}

.svc-detail-item.is-reverse .svc-detail-copy {
  order: 2;
}

.svc-detail-item.is-reverse .svc-detail-media {
  order: 1;
}

@media (max-width: 900px) {
  .svc-detail-hero {
    height: 48svh;
    min-height: 380px;
  }

  .svc-detail-hero-content {
    width: calc(100% - 40px);
    padding-bottom: 32px;
  }

  .svc-detail-intro-grid,
  .svc-detail-item {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .svc-detail-intro p {
    margin-top: 0;
  }

  .svc-detail-item.is-reverse .svc-detail-copy,
  .svc-detail-item.is-reverse .svc-detail-media {
    order: initial;
  }

  .svc-detail-copy {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    column-gap: 14px;
    padding: 0;
  }

  .svc-detail-number {
    margin-bottom: 0;
  }

  .svc-detail-copy h2 {
    margin-bottom: 0;
  }

  .svc-detail-copy p {
    grid-column: 1 / -1;
    margin-top: 20px;
  }
}

@media (max-width: 600px) {
  .svc-detail-hero {
    min-height: 340px;
  }

  .svc-detail-hero-content {
    width: calc(100% - 32px);
    padding-bottom: 26px;
  }

  .svc-detail-hero-content h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .svc-detail-intro {
    padding: 70px 0;
  }

  .svc-detail-list {
    padding-bottom: 90px;
  }

  .svc-detail-list > .container {
    gap: 80px;
  }
}

/* =========================================================
   RESPONSIVE TYPOGRAPHY SCALE
   Realtime Text Rounded for content and display text
========================================================= */

:root {
  --text-body: clamp(1rem, 0.18vw + 0.965rem, 1.0625rem);
  --text-lead: clamp(1.0625rem, 0.35vw + 1rem, 1.25rem);
  --text-ui: clamp(0.875rem, 0.12vw + 0.85rem, 0.9375rem);
  --text-small: clamp(0.8125rem, 0.1vw + 0.79rem, 0.875rem);
}

body {
  font-size: var(--text-body);
  font-weight: 600;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main p,
main li,
total-homepage p,
total-homepage li {
  font-size: var(--text-body) !important;
  font-weight: 600 !important;
  line-height: 1.65;
}

h1,
h2 {
  font-weight: 900 !important;
}

h3,
h4,
h5,
h6,
strong,
b {
  font-weight: 700 !important;
}

.lead-copy,
.section-head > p,
.section-head > div > p {
  font-size: var(--text-lead) !important;
  line-height: 1.65;
}

.eyebrow,
main small,
.total-footer-shell small {
  font-size: var(--text-small);
}

.btn,
button,
input,
textarea,
select {
  font-size: var(--text-ui);
  font-weight: 600;
}

input,
textarea,
select {
  line-height: 1.5;
}

total-header .header-menu > a,
total-header .header-service-dropdown > .header-service-trigger {
  font-size: 14px !important;
  font-weight: 700 !important;
}

.total-footer-shell p,
.total-footer-shell a {
  font-size: var(--text-small);
  font-weight: 600;
  line-height: 1.6;
}

@media (max-width: 900px) {
  :root {
    --text-body: 1rem;
    --text-lead: 1.0625rem;
    --text-ui: 1rem;
    --text-small: 0.875rem;
  }

  .contact-map {
    min-height: 460px;
  }

  total-header .header-menu > a,
  total-header .header-service-dropdown > .header-service-trigger {
    font-size: 15px !important;
  }
}

@media (max-width: 600px) {
  body {
    line-height: 1.6;
  }

  .contact-map {
    min-height: 380px;
    border-radius: 10px;
  }

  main p,
  main li,
  total-homepage p,
  total-homepage li {
    line-height: 1.62;
  }

  h1 {
    font-size: clamp(2.25rem, 10vw, 3.25rem);
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  h3 {
    font-size: clamp(1.25rem, 5.5vw, 1.75rem);
  }
}

/* =========================================================
   CONTACT MODAL
========================================================= */

body.contact-modal-open {
  overflow: hidden;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
}

.contact-modal.is-preparing,
.contact-modal.is-open,
.contact-modal.is-closing {
  display: flex;
}

.contact-modal-panel {
  position: relative;
  isolation: isolate;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  background: var(--color-surface);
  border-radius: 0;
  box-shadow: none;
}

.contact-modal.is-preparing .contact-modal-panel {
  transform: translateY(100%);
}

.contact-modal.is-open .contact-modal-panel {
  animation: contactModalSlideUp 0.52s ease-out both;
}

.contact-modal.is-closing .contact-modal-panel {
  animation: contactModalSlideDown 0.46s ease-in both;
}

@keyframes contactModalSlideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes contactModalSlideDown {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-modal.is-open .contact-modal-panel,
  .contact-modal.is-closing .contact-modal-panel {
    animation-duration: 0.01ms !important;
  }
}

.contact-card-modal-close {
  display: none;
}

.contact-modal-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100vw !important;
  max-width: none !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  border: 0;
}

html.contact-modal-page,
html.contact-modal-page body {
  height: 100%;
  overflow: hidden;
}

html.contact-modal-page total-header,
html.contact-modal-page total-footer {
  display: none !important;
}

html.contact-modal-page main,
html.contact-modal-page main > .section,
html.contact-modal-page .form-layout {
  height: 100dvh !important;
  min-height: 0;
}

html.contact-modal-page main > .section {
  box-sizing: border-box;
  padding: 22px;
}

html.contact-modal-page .form-layout {
  width: 100%;
  max-width: none;
  height: calc(100dvh - 44px) !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
  gap: 22px;
}

html.contact-modal-page .contact-map {
  min-height: 0;
  height: calc(100dvh - 44px) !important;
}

html.contact-modal-page total-contact-details,
html.contact-modal-page .contact-card {
  min-height: 0;
  height: calc(100dvh - 44px) !important;
}

html.contact-modal-page .contact-card {
  position: relative;
  overflow: auto;
  padding: 24px;
}

html.contact-modal-page .contact-card-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 48px !important;
  min-width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  background: var(--color-red) !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  font-size: 32px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

html.contact-modal-page .contact-card-modal-close:hover {
  background: var(--color-red-hover) !important;
  transform: none !important;
}

html.contact-modal-page .contact-card-modal-close::before,
html.contact-modal-page .contact-card-modal-close::after {
  display: none !important;
  content: none !important;
}

html.contact-modal-page .contact-locations-head {
  padding-right: 60px;
}

@media (max-width: 700px) {
  .contact-modal {
    padding: 0;
  }

  .contact-modal-panel {
    width: 100%;
    height: 100dvh;
    border-radius: 0;
  }

  html.contact-modal-page main > .section {
    padding: 14px;
  }

  html.contact-modal-page,
  html.contact-modal-page body {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  html.contact-modal-page main,
  html.contact-modal-page main > .section {
    height: auto !important;
    min-height: 100dvh;
  }

  html.contact-modal-page .form-layout {
    height: auto !important;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
  }

  html.contact-modal-page total-contact-details {
    order: 1;
  }

  html.contact-modal-page .contact-map {
    order: 2;
  }

  html.contact-modal-page total-contact-details,
  html.contact-modal-page .contact-card {
    height: auto !important;
    min-height: 0;
    overflow: visible;
  }

  html.contact-modal-page .contact-map {
    height: 420px !important;
    min-height: 420px;
  }
}

/* Mobile navigation must escape the fixed-height header container. */
body.mobile-menu-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  total-header .header-menu,
  total-header .header-menu.open {
    position: fixed !important;
    top: var(--header-height) !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 1000 !important;
    width: 100vw !important;
    height: calc(100dvh - var(--header-height)) !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 10px 20px calc(24px + env(safe-area-inset-bottom)) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    background: #ffffff !important;
    opacity: 1 !important;
    box-shadow: none !important;
  }

  total-header .header-menu {
    display: none !important;
  }

  total-header .header-menu.open {
    display: grid !important;
    align-content: start !important;
  }
}

/* Larger, more legible typography on phone-sized screens. */
@media (max-width: 600px) {
  :root {
    --text-body: 1.0625rem;
    --text-lead: 1.1875rem;
    --text-ui: 1rem;
    --text-small: 0.9375rem;
  }

  total-header .header-menu > a,
  total-header .header-service-dropdown > .header-service-trigger {
    font-size: 17px !important;
  }

  total-header .header-service-card-content strong {
    font-size: 15px !important;
    line-height: 1.35;
  }

  .home-page total-video-hero .hero-video-primary,
  .home-page total-video-hero .hero-video-secondary {
    font-size: 13px !important;
  }

  .home-page total-video-hero .hero-service-nav strong {
    font-size: 13px !important;
    line-height: 1.25;
  }

  .home-page total-video-hero .hero-service-number {
    font-size: 11px !important;
  }

  .field label,
  .contact-map .leaflet-popup-content {
    font-size: 15px;
  }

  /* Fluid hero composition from 320px through 600px. */
  .home-page total-video-hero .hero-video-content {
    justify-content: flex-end !important;
    width: calc(100% - clamp(28px, 8vw, 44px)) !important;
    min-height: 100% !important;
    padding-top: clamp(20px, 5vh, 42px) !important;
    padding-bottom: clamp(96px, 16vh, 120px) !important;
  }

  .home-page total-video-hero .hero-video-title {
    font-size: clamp(30px, 8.8vw, 48px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.025em !important;
  }

  .home-page total-video-hero .hero-video-actions {
    gap: clamp(7px, 2vw, 10px) !important;
    margin-top: clamp(16px, 4vh, 24px) !important;
  }

  .home-page total-video-hero .hero-video-primary,
  .home-page total-video-hero .hero-video-secondary {
    min-width: 0 !important;
    min-height: clamp(40px, 11vw, 46px) !important;
    padding: 9px clamp(6px, 2.5vw, 14px) !important;
    font-size: clamp(10px, 2.8vw, 13px) !important;
    letter-spacing: 0.055em !important;
  }

  .home-page total-video-hero .hero-service-nav {
    width: calc(100% - clamp(20px, 6vw, 32px)) !important;
  }

  .home-page total-video-hero .hero-service-nav > a {
    min-width: 0 !important;
    padding: clamp(11px, 3vw, 16px) clamp(4px, 1.5vw, 10px)
      clamp(12px, 3.5vw, 18px) !important;
  }

  .home-page total-video-hero .hero-service-nav > a + a {
    padding-left: clamp(7px, 2vw, 12px) !important;
  }

  .home-page total-video-hero .hero-service-nav strong {
    display: block;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    font-size: clamp(13px, calc(11.8px + 0.333vw), 13.8px) !important;
    line-height: 1.3 !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .home-page total-video-hero .hero-service-number {
    display: none !important;
  }
}

/* Final desktop language switcher override. */
@media (min-width: 901px) {
  total-header .header-language-mobile {
    display: flex !important;
    flex: 0 0 auto;
    align-items: center;
    height: var(--header-height);
    margin-left: 12px;
    padding: 0 !important;
  }

  total-header .header-language-mobile .header-language-switcher {
    display: inline-flex !important;
    margin: 0 !important;
    padding-left: 14px !important;
    border-left: 1px solid var(--color-line) !important;
  }

  total-header .header-language-mobile .header-language-switcher button {
    padding: 6px 4px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
  }
}

/* Keep the desktop navigation clear before the mobile breakpoint. */
@media (min-width: 901px) and (max-width: 1200px) {
  total-header .header-container {
    width: calc(100% - 48px) !important;
  }

  total-header .header-nav {
    grid-template-columns: 168px minmax(0, 1fr) !important;
    column-gap: 16px !important;
  }

  total-header .header-logo {
    width: 168px !important;
  }

  total-header .header-logo img {
    max-width: 164px !important;
    height: auto !important;
  }

  total-header .header-menu {
    gap: 2px !important;
  }

  total-header .header-menu > a,
  total-header .header-service-dropdown > .header-service-trigger {
    padding-inline: 8px !important;
    font-size: 12px !important;
  }

  total-header .header-menu > a:last-of-type {
    margin-left: 6px !important;
    padding-inline: 14px !important;
  }

  total-header .header-language-mobile {
    margin-left: 5px !important;
  }

  total-header .header-language-mobile .header-language-switcher {
    gap: 3px !important;
    padding-left: 8px !important;
  }

  total-header .header-language-mobile .header-language-switcher button {
    padding-inline: 2px !important;
    font-size: 12px !important;
  }
}

/* Keep the hero headline readable across bright and dark video frames. */
.home-page total-video-hero .hero-video-only::after {
  background: linear-gradient(
    90deg,
    rgba(5, 6, 7, 0.72) 0%,
    rgba(5, 6, 7, 0.54) 34%,
    rgba(5, 6, 7, 0.24) 62%,
    rgba(5, 6, 7, 0.06) 100%
  ) !important;
}

.home-page total-video-hero .hero-video-title,
.home-page total-video-hero .hero-video-title-accent {
  text-shadow:
    0 2px 3px rgba(0, 0, 0, 0.78),
    0 8px 30px rgba(0, 0, 0, 0.64) !important;
}

.home-page total-video-hero .hero-video-title > span:first-child {
  color: #8F2237 !important;
  -webkit-text-fill-color: #8F2237 !important;
  text-shadow:
    0 0 2px rgba(255, 255, 255, 0.2),
    0 0 4px rgba(255, 255, 255, 0.08),
    0 2px 3px rgba(0, 0, 0, 0.78),
    0 8px 26px rgba(0, 0, 0, 0.66) !important;
}

/* =========================================================
   GALLERY — FINAL RESPONSIVE LAYOUT
   Uses the same outer gutter rhythm as Terms & Conditions.
========================================================= */

.gallery-page main > .section {
  padding: 70px 0 90px !important;
}

.gallery-page total-gallery-grid {
  display: block;
  width: min(calc(100% - 120px), var(--max, 1060px));
  margin-inline: auto;
}

.gallery-page .gallery-showcase {
  width: 100%;
  margin: 0;
  padding: 0 !important;
  overflow: visible;
}

.gallery-page .gallery-work-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  min-height: 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.gallery-page .gallery-work-navigation {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  align-self: start;
  min-width: 0;
  min-height: 0;
  padding: clamp(48px, 6vw, 72px) clamp(34px, 4vw, 52px) clamp(48px, 6vw, 72px) 0;
  border-right: 1px solid var(--color-line);
}

.gallery-page .gallery-work-navigation .gallery-showcase-head h2 {
  max-width: 330px;
  margin: 0;
  color: var(--color-text);
  font-size: clamp(58px, 6.4vw, 82px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.gallery-page .gallery-project-selector-label {
  margin-top: clamp(52px, 7vw, 82px);
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.gallery-page .gallery-work-navigation .gallery-category-tabs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.gallery-page .gallery-work-navigation .gallery-category-tab {
  width: 100%;
  padding: 9px 0 9px 24px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.gallery-page .gallery-work-layout .gallery-showcase-stage {
  min-width: 0;
  padding: clamp(48px, 6vw, 72px) 0 clamp(48px, 6vw, 72px) clamp(32px, 4vw, 52px);
}

.gallery-page .gallery-work-layout .gallery-collection-description {
  width: 100%;
  max-width: 560px;
  min-height: 0;
  margin: 0 0 28px;
  color: var(--color-text-muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}

.gallery-page .gallery-project-grid {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--color-line);
}

.gallery-page .gallery-project-item {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-page .gallery-project-meta,
.gallery-page .gallery-project-photo {
  min-width: 0;
  aspect-ratio: 4 / 3;
}

.gallery-page .gallery-project-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .gallery-page main > .section {
    padding: 50px 0 65px !important;
  }

  .gallery-page total-gallery-grid {
    width: calc(100% - 32px);
  }

  .gallery-page .gallery-work-layout {
    grid-template-columns: 1fr;
  }

  .gallery-page .gallery-work-navigation {
    position: static;
    padding: 0 0 32px;
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
  }

  .gallery-page .gallery-work-navigation .gallery-showcase-head h2 {
    max-width: none;
    font-size: clamp(50px, 10vw, 70px);
    line-height: 0.95;
  }

  .gallery-page .gallery-project-selector-label {
    margin-top: 32px;
    margin-bottom: 10px;
  }

  .gallery-page .gallery-work-navigation .gallery-category-tabs {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
    overflow: visible;
    padding-bottom: 0;
  }

  .gallery-page .gallery-work-navigation .gallery-category-tab {
    width: 100%;
    padding: 7px 0 7px 18px;
    white-space: normal;
  }

  .gallery-page .gallery-work-layout .gallery-showcase-stage {
    padding: 32px 0 0;
  }

  .gallery-page .gallery-work-layout .gallery-collection-description {
    margin-bottom: 22px;
  }
}

@media (max-width: 600px) {
  .gallery-page main > .section {
    padding: 42px 0 54px !important;
  }

  .gallery-page .gallery-work-navigation .gallery-showcase-head h2 {
    font-size: clamp(44px, 14vw, 60px);
  }

  .gallery-page .gallery-project-selector-label {
    margin-top: 26px;
  }

  .gallery-page .gallery-work-navigation .gallery-category-tabs {
    gap: 16px;
  }

  .gallery-page .gallery-work-layout .gallery-showcase-stage {
    padding-top: 26px;
  }

  .gallery-page .gallery-project-meta {
    padding: 11px;
    font-size: 9px;
  }

  .gallery-page .gallery-project-number {
    top: 10px;
    right: 11px;
    font-size: clamp(30px, 12vw, 46px);
  }
}

@media (max-width: 420px) {
  .gallery-page total-gallery-grid {
    width: calc(100% - 24px);
  }

  .gallery-page .gallery-project-selector-label,
  .gallery-page .gallery-work-navigation .gallery-category-tab,
  .gallery-page .gallery-work-layout .gallery-collection-description {
    font-size: 14px;
  }
}
body.gallery-page .section.gallery-section {
  padding-top: 0 !important;
  padding-bottom: 80px !important;
}
/* ===== GALLERY MOBILE SPACING FINAL ===== */
@media (max-width: 900px) {
  body.gallery-page .gallery-work-navigation .gallery-showcase-head {
    padding-top: 60px !important;
  }
}

@media (max-width: 600px) {
  body.gallery-page .gallery-work-navigation .gallery-showcase-head {
    padding-top: 45px !important;
  }
}

/* =========================================================
   GALLERY MOBILE - HORIZONTAL PROJECT SELECTOR
   ========================================================= */

@media (max-width: 900px) {

  /* Buang tinggi berlebih navigation */
  body.gallery-page .gallery-work-navigation {
    min-height: 0 !important;
    padding: 45px 0 22px !important;
  }

  /* Heading jangan kegedean di mobile */
  body.gallery-page
  .gallery-work-navigation
  .gallery-showcase-head h2 {
    max-width: none !important;
    margin: 0 !important;
    font-size: clamp(42px, 11vw, 64px) !important;
    line-height: 0.95 !important;
  }

  /* SELECT ACTIVITY */
  body.gallery-page .gallery-project-selector-label {
    margin-top: 32px !important;
    margin-bottom: 14px !important;
  }

  /* Project dibuat horizontal */
  body.gallery-page
  .gallery-work-navigation
  .gallery-category-tabs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;

    width: 100% !important;
    gap: 24px !important;

    padding: 0 0 10px !important;
    margin: 0 !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;

    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body.gallery-page
  .gallery-work-navigation
  .gallery-category-tabs::-webkit-scrollbar {
    display: none;
  }

  /* Masing-masing project */
  body.gallery-page
  .gallery-work-navigation
  .gallery-category-tab {
    flex: 0 0 auto !important;

    width: auto !important;
    min-width: max-content !important;

    padding: 8px 0 8px 18px !important;

    white-space: nowrap !important;
    font-size: 14px !important;

    scroll-snap-align: start;
  }

  /* Stage foto langsung dekat setelah selector */
  body.gallery-page
  .gallery-work-layout
  .gallery-showcase-stage {
    padding: 26px 0 0 !important;
  }

  body.gallery-page
  .gallery-work-layout
  .gallery-collection-description {
    margin: 0 0 20px !important;
  }
}


/* HP kecil */
@media (max-width: 600px) {

  body.gallery-page .gallery-work-navigation {
    padding-top: 38px !important;
    padding-bottom: 18px !important;
  }

  body.gallery-page
  .gallery-work-navigation
  .gallery-showcase-head h2 {
    font-size: clamp(40px, 12vw, 54px) !important;
  }

  body.gallery-page
  .gallery-work-navigation
  .gallery-category-tabs {
    gap: 20px !important;
  }

body.gallery-page
  .gallery-work-navigation
  .gallery-category-tab {
    font-size: 14px !important;
  }
}

/* Keep the mobile project list short until the user asks for more. */
.gallery-project-view-more {
  display: none;
  align-items: center;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  color: #8f2237;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.gallery-project-view-more-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.gallery-project-view-more[aria-expanded="true"] .gallery-project-view-more-icon {
  transform: rotate(180deg);
}

.gallery-project-view-more [hidden] {
  display: none !important;
}

.gallery-project-view-more:hover,
.gallery-project-view-more:focus-visible {
  color: var(--color-dark);
  outline: 0;
}

@media (max-width: 900px) {
  body.gallery-page .gallery-work-navigation .gallery-category-tabs {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body.gallery-page .gallery-work-navigation .gallery-category-tab {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px;
    padding: 8px 18px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    text-align: left !important;
    white-space: normal !important;
  }

  body.gallery-page .gallery-work-navigation .gallery-category-tab.is-mobile-hidden {
    display: none !important;
  }

  body.gallery-page .gallery-work-navigation .gallery-project-view-more {
    display: inline-flex;
    min-height: 36px;
    margin-left: 18px;
  }

  body.gallery-page .gallery-project-view-more[hidden] {
    display: none !important;
  }
}
