/* HPS FREIGHT PTY LTD — corporate desktop site */
:root {
  --yellow: #f9d423;
  --yellow-dark: #e6c200;
  --red: #d31145;
  --red-hover: #b00e3a;
  --black: #1a1a1a;
  --dark: #252525;
  --grey-bg: #f4f4f4;
  --white: #ffffff;
  --text-muted: #6b6b6b;
  --font-display: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --header-h: 88px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

.desktop-site {
  min-width: 1320px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

ul {
  list-style: none;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.container-wide {
  width: min(1400px, 94vw);
  margin: 0 auto;
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  overflow: visible;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
}

.site-header.scrolled {
  background: rgba(26, 26, 26, 0.97);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1400px, 94vw);
  margin: 0 auto;
  gap: 1.5rem;
  overflow: visible;
}

.logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.site-header.scrolled .logo img {
  height: 46px;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  overflow: visible;
  flex: 1;
  justify-content: center;
}

.nav-dropdown {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  padding: 0.35rem 0;
  white-space: nowrap;
  position: relative;
}

.nav-chevron {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.25s var(--ease);
  margin-top: 2px;
}

.nav-dropdown.is-open .nav-chevron,
.nav-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 280px;
  padding-top: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  z-index: 2000;
}

/* Invisible bridge so the pointer can reach the panel without closing */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  left: -24px;
  right: -24px;
  top: -16px;
  height: 20px;
}

.nav-dropdown--wide .nav-dropdown-menu {
  min-width: 520px;
}

.nav-dropdown.is-open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}

.nav-dropdown-panel {
  background: var(--white);
  border-top: 3px solid var(--yellow);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
  padding: 0.5rem 0 0.75rem;
}

.nav-dropdown-panel--cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
  padding: 0.75rem 1rem 1rem;
}

.nav-dropdown-col {
  min-width: 0;
}

.nav-dropdown-heading {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5rem 1rem 0.35rem;
  margin: 0;
}

.nav-dropdown-panel a {
  display: block;
  padding: 0.65rem 1rem;
  color: var(--black) !important;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.8rem;
  line-height: 1.35;
  border-left: 3px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.nav-dropdown-panel a strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.nav-dropdown-panel a span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.4;
}

.nav-dropdown-panel a::after {
  display: none !important;
}

.nav-dropdown-panel a:hover {
  background: var(--grey-bg);
  border-left-color: var(--yellow);
  color: var(--red) !important;
}

.nav-dropdown-panel a:hover strong {
  color: var(--red);
}

.header-phone {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.site-header.scrolled .header-phone {
  color: var(--white);
}

.nav-main > a,
.nav-dropdown-trigger {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-main > a {
  position: relative;
  white-space: nowrap;
}

.nav-main > a::after,
.nav-dropdown-trigger::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width 0.3s var(--ease);
}

.nav-main > a:hover::after,
.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown.is-open .nav-dropdown-trigger::after {
  width: 100%;
}

.nav-dropdown-panel a {
  position: relative;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.35rem 0.65rem;
  border-radius: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.6rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--black);
}

.btn-yellow:hover {
  background: var(--yellow-dark);
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background: var(--red-hover);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--black);
}

.btn-black {
  background: var(--black);
  color: var(--white);
}

.btn-black:hover {
  background: #333;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  position: absolute;
  inset: -8%;
  background: url("../img/hero-warehouse.jpg") center / cover no-repeat;
  animation: kenBurns 22s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes kenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.18) translate(-2.5%, -1.5%);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(26, 26, 26, 0.88) 0%,
    rgba(26, 26, 26, 0.65) 45%,
    rgba(26, 26, 26, 0.4) 100%
  );
  z-index: 1;
}

.hero-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-lines svg {
  width: 100%;
  height: 100%;
}

.hero-lines path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 1.5;
  stroke-linecap: round;
}

.hero-lines path:nth-child(2) {
  stroke: rgba(249, 212, 35, 0.7);
  stroke-width: 2;
}

.hero-lines path:nth-child(3) {
  stroke: rgba(255, 255, 255, 0.35);
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pulseLine {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.hero-content {
  position: relative;
  z-index: 5;
  width: min(1400px, 94vw);
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) 0 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s var(--ease) 0.3s forwards;
}

.hero-text .hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin-bottom: 0.75rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--ease) 0.5s forwards;
}

.hero-text .hero-tagline {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.2s forwards;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.7s forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-visual {
  position: relative;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) 0.6s forwards;
}

.hero-visual img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--yellow);
  color: var(--black);
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.2;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  animation: floatBadge 4s ease-in-out infinite;
}

.hero-badge span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ========== YELLOW BANNER ========== */
.yellow-banner {
  background: var(--yellow);
  padding: 0 0 5rem;
  position: relative;
  margin-top: -4rem;
  z-index: 10;
}

.yellow-banner-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 2rem;
}

.yellow-card {
  background: var(--white);
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  margin-top: -6rem;
  animation: floatCard 5s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.yellow-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.yellow-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.yellow-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.yellow-banner-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--black);
  line-height: 1.2;
  text-transform: uppercase;
}

.yellow-banner-desc {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--black);
  opacity: 0.85;
  max-width: 640px;
  line-height: 1.7;
}

/* ========== GATEWAY ========== */
.gateway {
  padding: 6rem 0;
  background: var(--grey-bg);
}

.gateway-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: start;
}

.gateway-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
}

.gateway-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.gateway-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.gateway-item {
  background: var(--white);
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.gateway-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.gateway-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--black);
}

.gateway-item h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.gateway-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ========== SERVICES OVERVIEW ========== */
.services-overview {
  padding: 6rem 0;
  background: var(--white);
}

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-head .label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 800;
  text-transform: uppercase;
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card-light {
  padding: 2rem 1.5rem;
  border: 1px solid #eee;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.service-card-light:hover {
  border-color: var(--yellow);
  box-shadow: 0 12px 30px rgba(249, 212, 35, 0.15);
}

.service-card-light .icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.25rem;
  color: var(--yellow-dark);
}

.service-card-light h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.service-card-light p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.read-more {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.read-more:hover {
  color: var(--red-hover);
}

/* ========== PARALLAX CTA ========== */
.parallax-cta {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.parallax-cta-bg {
  position: absolute;
  inset: -20%;
  background: url("../img/cta-parallax.jpg") center / cover fixed;
  z-index: 0;
}

.parallax-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.72);
  z-index: 1;
}

.parallax-cta .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.parallax-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.parallax-cta-text {
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin: 0 auto 1.5rem;
  font-size: 1rem;
}

/* ========== STATS ========== */
.stats-section {
  padding: 5rem 0;
  background: var(--black);
  color: var(--white);
}

.stats-intro {
  text-align: center;
  margin-bottom: 3.5rem;
}

.stats-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.stats-intro p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item .number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item .number .suffix {
  font-size: 0.6em;
}

.stat-item p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========== EXPERT SERVICES GRID ========== */
.expert-services {
  padding: 6rem 0;
  background: var(--white);
}

.expert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.expert-card {
  background: var(--black);
  color: var(--white);
  padding: 0;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.expert-thumb {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.expert-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.expert-card:hover .expert-thumb img {
  transform: scale(1.08);
}

.expert-body {
  padding: 2rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: flex-end;
  background: var(--black);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

.expert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.expert-card:hover .expert-body {
  background: var(--yellow);
  color: var(--black);
}

.expert-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 0;
}

.expert-card h3 a {
  color: inherit;
  text-decoration: none;
}

.expert-card p {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  opacity: 0.8;
  line-height: 1.5;
}

/* ========== Z-PATTERN ========== */
.z-section {
  padding: 5rem 0;
}

.z-section:nth-child(even) {
  background: var(--grey-bg);
}

.z-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.z-row.reverse .z-image {
  order: 2;
}

.z-row.reverse .z-text {
  order: 1;
}

.z-image {
  overflow: hidden;
  border-radius: 2px;
}

.z-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.z-row:hover .z-image img {
  transform: scale(1.05);
}

.z-text .label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.z-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.z-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* ========== GLOBAL MAP ========== */
.global-reach {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.global-text {
  background: var(--black);
  color: var(--white);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.global-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.global-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  max-width: 480px;
}

.coverage-list {
  margin-top: 1.5rem;
}

.coverage-list li {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.coverage-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 6px;
  height: 6px;
  background: var(--yellow);
}

.location-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 480px;
  padding: 3rem;
  background: linear-gradient(145deg, #0a1628 0%, #1a3a5c 100%);
  color: var(--white);
}

.location-panel h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--yellow);
}

.location-address {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.location-contact {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.location-note {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
}

.contact-block h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.contact-details p {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--black);
}

.contact-details a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-details a:hover {
  color: var(--red);
}

.contact-cta p {
  margin-bottom: 1.5rem;
  color: var(--black);
  opacity: 0.85;
}

.pre-footer-cta .container.contact-block {
  text-align: center;
}

.pre-footer-cta .contact-grid {
  text-align: left;
}

.global-map-wrap {
  background: #0a1628;
  position: relative;
  overflow: hidden;
}

.global-map-wrap svg {
  width: 100%;
  height: 100%;
  min-height: 480px;
}

.map-node {
  fill: #4fc3f7;
  transform-origin: center;
  transform-box: fill-box;
  animation: mapPulse 2.5s ease-in-out infinite;
}

.map-node:nth-child(odd) {
  animation-delay: 0.5s;
}

@keyframes mapPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.6);
    opacity: 0.55;
  }
}

.map-line {
  stroke: rgba(79, 195, 247, 0.4);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 8 12;
  animation: mapFlow 3s linear infinite;
}

@keyframes mapFlow {
  to {
    stroke-dashoffset: -40;
  }
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  padding: 6rem 0;
  background: var(--dark);
  color: var(--white);
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-track {
  overflow: hidden;
}

.testimonial-slides {
  display: flex;
  transition: transform 0.5s var(--ease);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 1rem;
}

.testimonial-box {
  background: var(--white);
  color: var(--black);
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
}

.testimonial-box .quote-icon {
  font-size: 4rem;
  color: var(--yellow);
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: 1rem;
}

.testimonial-box p {
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-box .author {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
}

.testimonial-box .role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-nav button {
  width: 48px;
  height: 48px;
  border: 2px solid var(--yellow);
  background: transparent;
  color: var(--yellow);
  cursor: pointer;
  font-size: 1.25rem;
  transition: background 0.3s, color 0.3s;
}

.testimonial-nav button:hover {
  background: var(--yellow);
  color: var(--black);
}

/* ========== PARTNERS ========== */
.partners {
  padding: 4rem 0;
  background: var(--grey-bg);
  overflow: hidden;
}

.partners h2 {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  color: var(--text-muted);
}

.partners-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.partners-track {
  display: flex;
  gap: 4rem;
  animation: scrollLogos 30s linear infinite;
  width: max-content;
}

.partners-track:hover {
  animation-play-state: paused;
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-logo {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #999;
  letter-spacing: 0.05em;
  opacity: 0.7;
  filter: grayscale(1);
  transition: opacity 0.3s, filter 0.3s;
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0);
}

.partners .btn-red {
  display: block;
  margin: 2.5rem auto 0;
  width: fit-content;
}

/* ========== BLOG / NEWS ========== */
.blog-news {
  padding: 6rem 0;
  background: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  overflow: hidden;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.blog-card .thumb {
  overflow: hidden;
  height: 220px;
}

.blog-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.blog-card:hover .thumb img {
  transform: scale(1.08);
}

.blog-card .body {
  padding: 1.5rem;
}

.blog-card .meta {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
}

.blog-card .date {
  color: var(--text-muted);
}

.blog-card .tag {
  background: #1e5a8a;
  color: var(--white);
  padding: 0.2rem 0.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.65rem;
}

.blog-card .tag.yellow-tag {
  background: var(--yellow);
  color: var(--black);
}

.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.blog-footer-link {
  text-align: center;
  margin-top: 2.5rem;
}

.blog-footer-link a {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--red);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ========== PRE-FOOTER CTA ========== */
.pre-footer-cta {
  background: var(--yellow);
  padding: 3.5rem 0;
  text-align: center;
}

.pre-footer-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--black);
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

.footer-watermark {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 18vw, 14rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.05em;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: background 0.3s, border-color 0.3s;
}

.social-icons a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: var(--yellow);
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col ul a:hover {
  color: var(--yellow);
}

.footer-contact li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: var(--yellow);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ========== LEGAL PAGES ========== */
.legal-page {
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  min-height: 60vh;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.legal-page .legal-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}

.legal-page p,
.legal-page li {
  color: #333;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-page ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.site-header--solid {
  background: rgba(26, 26, 26, 0.97);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.site-header--solid .nav-dropdown-menu a {
  color: var(--black) !important;
}

/* ========== INNER PAGE HERO ========== */
.page-inner .site-header {
  background: rgba(26, 26, 26, 0.97);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.page-hero {
  position: relative;
  min-height: 340px;
  margin-top: var(--header-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--page-hero-image, url("../img/hero-warehouse.jpg")) center / cover no-repeat;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(26, 26, 26, 0.88) 0%,
    rgba(26, 26, 26, 0.55) 100%
  );
  z-index: 1;
}

.page-hero-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.page-hero-lines svg {
  width: 100%;
  height: 100%;
}

.page-hero-lines path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 1.5;
  stroke-linecap: round;
}

.page-hero-inner {
  position: relative;
  z-index: 3;
  padding: 3rem 0;
}

.page-hero-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-main {
  min-height: 40vh;
  padding: 3rem 0 5rem;
}

.page-main:empty {
  min-height: 20vh;
}
