/* ==========================================================================
   ShipChandler at African Ports — Logistica-inspired design system
   Layout, components and motion adapted from the "Logistica" template by
   HTML Codex (https://htmlcodex.com, CC BY 4.0). Palette: teal & gold.
   Pages are generated by _build_pages.py; edit styles here, not in HTML.
   ========================================================================== */

:root {
  /* Brand palette */
  --primary: #103F46;
  --primary-dark: #102D32;
  --secondary: #287C83;
  --gold: #D6AC69;
  --gold-hover: #E3C18C;
  --bg: #F7F6F2;
  --card: #FFFFFF;
  --text: #26373B;
  --text-2: #607075;
  --white: #FFFFFF;
  --border: #DFE5E3;
  --danger: #B42318;
  --success: #1F7A4D;

  /* Legacy aliases (referenced by inline styles in generated pages) */
  --text-muted: var(--text-2);
  --navy: var(--primary);
  --navy-deep: var(--primary-dark);

  --font-display: "Roboto", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --container: 1240px;
  --gutter: 1.5rem;
  --header-h: 84px;
  --radius: 2px;
  --shadow-soft: 0 0 45px rgba(16, 45, 50, 0.07);
  --shadow-lift: 0 22px 50px rgba(16, 45, 50, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --z-header: 1000;

  /* Icon masks */
  --ico-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --ico-arrow-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23102D32' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --ico-ship: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 21c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1 .6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1'/%3E%3Cpath d='M19.38 20A11.6 11.6 0 0 0 21 14l-9-4-9 4c0 2.9.94 5.34 2.81 7.76'/%3E%3Cpath d='M19 13V7a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v6'/%3E%3Cpath d='M12 3v4'/%3E%3C/svg%3E");
  --ico-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  --ico-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  --ico-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
  --ico-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
  --ico-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23607075' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-dark);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

figure {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 2000;
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: var(--primary-dark);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.field-icon,
.btn-icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   Buttons — Logistica square buttons with a fill-sweep hover
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2.1rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  background: var(--gold);
  color: var(--primary-dark);
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease), translate 0.45s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold-hover);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.5s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  color: var(--primary-dark);
  translate: 0 -2px;
  box-shadow: 0 14px 30px rgba(16, 45, 50, 0.18);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: scaleX(1);
  transform-origin: left center;
}

.btn:active {
  translate: 0 0;
}

.btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--primary-dark);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  border-color: var(--gold-hover);
}

.btn-secondary {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

.btn-secondary::before {
  background: var(--white);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: var(--primary);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline::before {
  background: var(--primary);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  color: var(--white);
}

/* "Read more" links — Logistica btn-slide: arrow tile + label, fill on hover */
a.more {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.5rem;
  padding-right: 1.1rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: linear-gradient(var(--primary), var(--primary)) left / 0 100% no-repeat;
  transition: background-size 0.5s var(--ease), color 0.4s ease;
}

a.more::before {
  content: "";
  flex: 0 0 40px;
  height: 40px;
  background: var(--gold) var(--ico-arrow-dark) center / 18px no-repeat;
  transition: background-color 0.4s ease, background-position 0.4s var(--ease);
}

a.more:hover,
a.more:focus-visible {
  background-size: 100% 100%;
  color: var(--white);
}

a.more:hover::before,
a.more:focus-visible::before {
  background-color: var(--gold-hover);
  background-position: 60% center;
}

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--card);
  border-top: 4px solid var(--gold);
  box-shadow: 0 6px 30px rgba(16, 45, 50, 0.08);
  transition: transform 0.5s var(--ease), box-shadow 0.4s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 40px rgba(16, 45, 50, 0.16);
}

/* Logistica-style sticky: slides away while leaving the hero, slides back in */
.site-header.is-away {
  transform: translateY(-110%);
}

.site-header.is-stuck {
  transform: translateY(0);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: stretch;
  max-width: none;
  height: var(--header-h);
  padding: 0;
  transition: height 0.4s var(--ease);
}

.site-header.is-stuck .header-inner {
  height: 74px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0 2.25rem;
  background: var(--primary);
  color: var(--white);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(214, 172, 105, 0.22) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.9s var(--ease);
}

.logo:hover {
  color: var(--white);
}

.logo:hover::after {
  transform: translateX(100%);
}

.logo img {
  object-fit: contain;
  width: 52px;
  height: 52px;
  padding: 3px;
  background: var(--white);
  border-radius: var(--radius);
  transition: transform 0.5s var(--ease);
}

.logo:hover img {
  transform: rotate(-4deg) scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.logo-text span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-toggle {
  display: none;
}

.primary-nav {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: stretch;
  gap: 2.1rem;
  margin: 0 2.4rem 0 0;
  list-style: none;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-dark);
  white-space: nowrap;
}

/* Logistica top-bar indicator, grows from the centre */
.nav-link::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 0;
  height: 4px;
  background: var(--primary);
  opacity: 0;
  transition: width 0.45s var(--ease), left 0.45s var(--ease), opacity 0.2s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"],
.nav-item.is-open > .nav-link {
  color: var(--secondary);
}

.nav-link:hover::before,
.nav-link[aria-current="page"]::before,
.nav-item.is-open > .nav-link::before {
  left: 0;
  width: 100%;
  opacity: 1;
}

/* "+" marker rendered as an animated chevron */
.nav-link .plus {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-top: -4px;
  font-size: 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease), margin 0.35s var(--ease);
}

.nav-item.is-open > .nav-link .plus {
  margin-top: 3px;
  transform: rotate(-135deg);
}

.nav-cta {
  display: flex;
  align-items: stretch;
}

.nav-cta .btn {
  height: 100%;
  padding: 0 2.4rem;
  border: 0;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 700;
  background: var(--gold);
  color: var(--primary-dark);
}

.nav-cta .btn:hover,
.nav-cta .btn:focus-visible {
  translate: 0 0;
  box-shadow: none;
}

/* Dropdown panels — Logistica "fade-up" */
.dropdown,
.mega-menu {
  list-style: none;
}

@media (min-width: 961px) {
  .dropdown,
  .mega-menu {
    position: absolute;
    top: calc(100% + 24px);
    z-index: 5;
    background: var(--card);
    border-top: 3px solid var(--gold);
    box-shadow: 0 24px 60px rgba(16, 45, 50, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: top 0.45s var(--ease), opacity 0.35s ease, visibility 0s linear 0.45s;
  }

  .nav-item.is-open > .dropdown,
  .nav-item.is-open > .mega-menu,
  .nav-item:hover > .dropdown,
  .nav-item:hover > .mega-menu,
  .nav-item:focus-within > .dropdown,
  .nav-item:focus-within > .mega-menu {
    top: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: top 0.45s var(--ease), opacity 0.35s ease, visibility 0s;
  }

  .dropdown {
    left: -1.25rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 0.5rem;
    width: 470px;
    padding: 1rem;
  }

  .nav-item:has(> .mega-menu) {
    position: static;
  }

  .mega-menu .mega-grid a {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .mega-menu {
    left: 50%;
    width: min(1000px, calc(100vw - 3rem));
    transform: translateX(-50%);
    padding: 1.75rem 2rem 1.25rem;
    max-height: calc(100vh - var(--header-h) - 2rem);
    overflow-y: auto;
  }
}

.dropdown a,
.mega-grid a {
  position: relative;
  display: block;
  padding: 0.55rem 0.75rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: background-color 0.3s ease, color 0.3s ease, padding 0.35s var(--ease);
}

.dropdown a::before,
.mega-grid a::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}

.dropdown a:hover,
.dropdown a:focus-visible,
.mega-grid a:hover,
.mega-grid a:focus-visible {
  padding-left: 1.85rem;
  background: var(--bg);
  color: var(--secondary);
}

.dropdown a:hover::before,
.dropdown a:focus-visible::before,
.mega-grid a:hover::before,
.mega-grid a:focus-visible::before {
  width: 0.7rem;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 1rem;
}

.mega-note {
  margin: 1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-2);
}

/* --------------------------------------------------------------------------
   Home hero — Logistica carousel-item look
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(88vh, 820px);
  padding: 7rem 0 6rem;
  overflow: hidden;
  color: var(--white);
  background: var(--primary-dark);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 24s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.12) translate(-1.5%, -1%);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 45, 50, 0.94) 0%, rgba(16, 45, 50, 0.78) 42%, rgba(16, 63, 70, 0.3) 100%),
    linear-gradient(0deg, rgba(16, 45, 50, 0.55), transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content > * {
  max-width: 760px;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-brand::before {
  content: "";
  width: 48px;
  height: 2px;
  background: var(--gold);
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.08;
  color: var(--white);
  animation-delay: 0.15s;
}

.hero p {
  margin-bottom: 2.25rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  animation-delay: 0.4s;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-actions .btn {
  padding: 1.15rem 2.5rem;
  animation-delay: 0.55s;
}

.hero-whatsapp-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1.25rem 0.75rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  color: var(--white);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation-delay: 0.75s;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.hero-whatsapp-bar:hover,
.hero-whatsapp-bar:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.hero-whatsapp-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: #25D366;
  border-radius: 50%;
  color: var(--white);
  animation: waPulse 2.6s ease-out infinite;
}

@keyframes waPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  }
  70%,
  100% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
}

.hero-whatsapp-tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-whatsapp-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.hero-whatsapp-arrow {
  color: var(--gold);
  transition: transform 0.4s var(--ease);
}

.hero-whatsapp-bar:hover .hero-whatsapp-arrow {
  transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   Inner page header — Logistica page-header
   -------------------------------------------------------------------------- */
.page-hero {
  --hero-img: url("../assets/images/bg-hero-port.jpg");
  position: relative;
  padding: 6.5rem 0 5.5rem;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 45, 50, 0.95) 0%, rgba(16, 45, 50, 0.82) 50%, rgba(16, 63, 70, 0.6) 100%),
    var(--hero-img) center / cover no-repeat,
    var(--primary-dark);
}

.page-about .page-hero,
.page-blog .page-hero {
  --hero-img: url("../assets/images/bg-about-port.jpg");
}

.page-services .page-hero,
.page-contact .page-hero,
.page-quote .page-hero {
  --hero-img: url("../assets/images/bg-containers.jpg");
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border: 40px solid rgba(214, 172, 105, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 1.1rem;
  color: var(--white);
  animation: slideInDown 1s var(--ease) 0.12s both;
}

.page-hero h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 1.1rem;
  background: var(--gold);
  transform-origin: left;
  animation: lineGrow 0.9s var(--ease) 0.6s both;
}

@keyframes lineGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.86);
  animation: fadeInUp 1s var(--ease) 0.35s both;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
  list-style: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  animation: slideInDown 0.9s var(--ease) both;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a:hover {
  color: var(--gold-hover);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------------------------------
   Sections & headings
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  padding: 6.5rem 0;
}

.section-alt {
  background: var(--card);
}

.section-head {
  max-width: 780px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-head p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary);
}

.eyebrow::before,
.section-head .eyebrow::after {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--gold);
}

/* Dark "Why choose us" band with photographic backdrop */
.section-navy {
  color: var(--white);
  background:
    linear-gradient(rgba(16, 45, 50, 0.88), rgba(16, 45, 50, 0.9)),
    url("../assets/images/bg-hero-port.jpg") center / cover no-repeat,
    var(--primary-dark);
}

@media (min-width: 961px) and (hover: hover) {
  .section-navy {
    background-attachment: scroll, fixed, scroll;
  }
}

.section-navy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(var(--gold), transparent);
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-navy .eyebrow {
  color: var(--gold);
}

.section-navy .section-head p {
  color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   Split (about) layouts with framed media
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.split-copy h2 {
  margin-bottom: 1.5rem;
}

.split-copy p {
  color: var(--text-2);
}

.split-copy .btn {
  margin-top: 1rem;
}

.split-media {
  position: relative;
  padding: 0 1.5rem 1.5rem 0;
}

.split-media::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 70%;
  height: 75%;
  background: var(--gold);
  z-index: 0;
}

.split > .split-media:first-child {
  padding: 0 0 1.5rem 1.5rem;
}

.split > .split-media:first-child::before {
  left: 0;
  right: auto;
}

.split-media::after {
  content: "";
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: 3rem;
  bottom: 3rem;
  border: 2px solid rgba(255, 255, 255, 0.55);
  z-index: 2;
  pointer-events: none;
}

.split > .split-media:first-child::after {
  left: 3rem;
  right: 1.5rem;
}

.split-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow-lift);
  transition: transform 1.2s var(--ease), clip-path 1.3s var(--ease), filter 0.6s ease;
}

.split-media {
  overflow: hidden;
}

.split-media:hover img {
  transform: scale(1.03);
  filter: saturate(1.1);
}

.mission-section {
  background: var(--card);
}

/* --------------------------------------------------------------------------
   Service cards (home) — Logistica service-item
   -------------------------------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  align-items: start;
}

/* Centre a lone card on the last row so the grid stays balanced */
@media (min-width: 961px) {
  .service-grid > :last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  .service-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 0.875rem);
  }
}

.service-card {
  position: relative;
  padding: 2.25rem 2rem 2rem;
  background: var(--card);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  overflow: hidden;
  outline-offset: 4px;
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}

.service-card:hover,
.service-card:focus-visible,
.service-card.is-open {
  translate: 0 -8px;
  box-shadow: var(--shadow-lift);
}

.service-card:hover::before,
.service-card:focus-visible::before,
.service-card.is-open::before {
  transform: scaleX(1);
}

.service-card-top {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1.25rem;
  align-items: center;
}

.service-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: var(--white);
  transition: background-color 0.45s ease, color 0.45s ease, transform 0.6s var(--ease);
}

.service-icon .field-icon {
  width: 30px;
  height: 30px;
}

.service-card:hover .service-icon,
.service-card.is-open .service-icon {
  background: var(--gold);
  color: var(--primary-dark);
  transform: rotateY(360deg);
}

.service-card h3 {
  margin: 0 0 0.2rem;
  font-size: 1.22rem;
  align-self: end;
}

.service-card-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  align-self: start;
}

.service-card-hint::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.85rem;
  line-height: 1;
  transition: transform 0.4s var(--ease);
}

.service-card.is-open .service-card-hint::after {
  transform: rotate(45deg);
}

.service-card-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease), opacity 0.45s ease, margin 0.5s var(--ease), padding 0.5s var(--ease);
}

.service-card.is-open .service-card-body {
  max-height: 40rem;
  opacity: 1;
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}

.service-card-body p {
  color: var(--text-2);
}

.service-card-body ul,
.check-list,
.service-block ul,
.prose ul {
  list-style: none;
}

.service-card-body ul {
  margin-bottom: 1.1rem;
}

.service-card-body li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.75rem;
  font-size: 0.95rem;
}

.service-card-body li::before,
.check-list li::before,
.service-block li::before,
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 16px;
  height: 16px;
  background: var(--gold);
  -webkit-mask: var(--ico-check) center / contain no-repeat;
  mask: var(--ico-check) center / contain no-repeat;
}

/* --------------------------------------------------------------------------
   Why choose us — feature list
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.15rem 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-left: 3px solid var(--gold);
  transition: background-color 0.4s ease, translate 0.45s var(--ease), border-color 0.4s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.09);
  border-left-color: var(--gold-hover);
  translate: 6px 0;
}

.feature-item .dot {
  position: relative;
  flex: 0 0 42px;
  height: 42px;
  background: var(--gold);
  transition: transform 0.5s var(--ease);
}

.feature-item .dot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary-dark);
  -webkit-mask: var(--ico-check) center / 20px no-repeat;
  mask: var(--ico-check) center / 20px no-repeat;
}

.feature-item:hover .dot {
  transform: rotate(90deg);
}

.feature-item h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Vessels we support
   -------------------------------------------------------------------------- */
/* Wrapping row with a centred last row; card width = one of --cols equal columns */
.vessel-list {
  --cols: 4;
  --gap: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
  list-style: none;
}

.vessel-list li {
  flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.15rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--primary-dark);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s ease, border-color 0.4s ease, translate 0.45s var(--ease), box-shadow 0.4s ease;
}

.vessel-list li::before {
  content: "";
  flex: 0 0 26px;
  height: 26px;
  background: var(--secondary);
  -webkit-mask: var(--ico-ship) center / contain no-repeat;
  mask: var(--ico-ship) center / contain no-repeat;
  transition: background-color 0.4s ease;
}

.vessel-list li::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--primary);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}

.vessel-list li:hover {
  color: var(--white);
  border-color: var(--primary);
  translate: 0 -4px;
  box-shadow: 0 16px 34px rgba(16, 45, 50, 0.18);
}

.vessel-list li:hover::before {
  background: var(--gold);
}

.vessel-list li:hover::after {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Check list (about — RFQ details)
   -------------------------------------------------------------------------- */
.check-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem 1.25rem;
}

.check-list li {
  position: relative;
  padding: 0.9rem 1rem 0.9rem 2.9rem;
  background: var(--bg);
  border-left: 3px solid var(--secondary);
  font-weight: 500;
  transition: border-color 0.35s ease, background-color 0.35s ease, translate 0.4s var(--ease);
}

.check-list li::before {
  left: 1rem;
  top: 50%;
  margin-top: -8px;
}

.check-list li:hover {
  border-left-color: var(--gold);
  background: #F1EEE6;
  translate: 4px 0;
}

/* --------------------------------------------------------------------------
   CTA band — Logistica quote strip
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3.5rem clamp(1.5rem, 5vw, 4rem);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(16, 45, 50, 0.96) 0%, rgba(16, 63, 70, 0.88) 60%, rgba(40, 124, 131, 0.75) 100%),
    url("../assets/images/bg-containers.jpg") center / cover no-repeat,
    var(--primary-dark);
  border-left: 6px solid var(--gold);
  box-shadow: var(--shadow-lift);
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border: 30px solid rgba(214, 172, 105, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  color: var(--white);
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.cta-band .btn {
  flex-shrink: 0;
  padding: 1.15rem 2.5rem;
}

/* --------------------------------------------------------------------------
   Services page — alternating service blocks
   -------------------------------------------------------------------------- */
.service-block {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border);
}

.service-block:first-child {
  padding-top: 0;
}

.service-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.service-block-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  box-shadow: 18px 18px 0 rgba(214, 172, 105, 0.55), var(--shadow-lift);
}

@media (min-width: 961px) {
  .service-block-media {
    position: sticky;
    top: calc(74px + 2rem);
  }

  .service-block:nth-child(even) {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .service-block:nth-child(even) .service-block-media {
    order: 2;
    box-shadow: -18px 18px 0 rgba(40, 124, 131, 0.45), var(--shadow-lift);
  }
}

.service-block-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(16, 45, 50, 0.35), transparent 55%);
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.service-block-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), clip-path 1.3s var(--ease);
}

.service-block:hover .service-block-media img {
  transform: scale(1.07);
}

.service-block:hover .service-block-media::after {
  opacity: 0.4;
}

.service-block h2 {
  margin-bottom: 1.1rem;
}

.service-block p {
  color: var(--text-2);
}

/* Port coverage: one overview section before the service directory. */
.port-coverage p {
  color: var(--text-2);
}

.port-coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 3rem;
  margin-top: 2rem;
}

@media (max-width: 640px) {
  .port-coverage-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
}

.service-block ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.6rem;
  margin: 1.5rem 0;
}

.service-block li {
  position: relative;
  padding: 0.7rem 0.9rem 0.7rem 2.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 0.93rem;
  font-weight: 500;
  transition: border-color 0.35s ease, translate 0.4s var(--ease), box-shadow 0.35s ease;
}

.service-block li::before {
  left: 0.9rem;
  top: 50%;
  margin-top: -8px;
}

.service-block li:hover {
  border-color: var(--gold);
  translate: 0 -2px;
  box-shadow: 0 8px 18px rgba(16, 45, 50, 0.08);
}

/* --------------------------------------------------------------------------
   Forms (contact & request quote)
   -------------------------------------------------------------------------- */
.page-hero--form {
  padding-bottom: 10rem;
}

.form-stage {
  position: relative;
  padding: 0 0 6.5rem;
}

.form-stage > .container {
  position: relative;
  z-index: 2;
  margin-top: -6rem;
}

.form-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 2rem;
  align-items: start;
}

.card-3d-inner {
  position: relative;
  z-index: 1;
}

.contact-card,
.quote-aside {
  position: relative;
  padding: 2.75rem 2.25rem;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(160deg, rgba(16, 63, 70, 0.97), rgba(16, 45, 50, 0.98)),
    url("../assets/images/bg-about-port.jpg") center / cover no-repeat,
    var(--primary-dark);
  border-top: 5px solid var(--gold);
  box-shadow: var(--shadow-lift);
}

.contact-card::after,
.quote-aside::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  border: 28px solid rgba(214, 172, 105, 0.1);
  border-radius: 50%;
}

@media (min-width: 961px) {
  .contact-card,
  .quote-aside {
    position: sticky;
    top: calc(74px + 1.5rem);
  }
}

.contact-card h2,
.quote-aside h2 {
  font-size: 1.45rem;
  color: var(--white);
}

.contact-card a {
  color: var(--white);
  word-break: break-word;
}

.contact-card a:hover {
  color: var(--gold-hover);
}

.aside-kicker {
  margin-bottom: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-meta {
  list-style: none;
  margin: 1.75rem 0;
}

.contact-meta li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: translate 0.4s var(--ease);
}

.contact-meta li:hover {
  translate: 4px 0;
}

.contact-meta li:last-child {
  border-bottom: 0;
}

.meta-icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  height: 46px;
  background: var(--gold);
  color: var(--primary-dark);
}

.meta-icon .field-icon {
  width: 20px;
  height: 20px;
}

.contact-meta strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-meta div {
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.92);
}

.map-placeholder {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  border: 1px dashed rgba(214, 172, 105, 0.6);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

.map-placeholder .field-icon {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

/* Clickable location card -> Google Maps */
.contact-card a.map-link {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.35s ease, background-color 0.35s ease, color 0.35s ease, translate 0.4s var(--ease), box-shadow 0.35s ease;
}

.map-link span {
  flex: 1;
}

.map-placeholder .map-link-external {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
}

.contact-card a.map-link:hover,
.contact-card a.map-link:focus-visible {
  color: var(--white);
  border-style: solid;
  border-color: var(--gold);
  background: rgba(214, 172, 105, 0.1);
  translate: 0 -3px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.map-link:hover .map-link-external,
.map-link:focus-visible .map-link-external {
  opacity: 1;
  transform: translate(2px, -2px);
}

.quote-aside-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.45rem 0.9rem;
  background: var(--gold);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote-aside > .card-3d-inner > p {
  color: rgba(255, 255, 255, 0.82);
}

.quote-steps {
  list-style: none;
  margin: 1.75rem 0;
}

.quote-steps li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: translate 0.4s var(--ease);
}

.quote-steps li:hover {
  translate: 4px 0;
}

.step-num {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  height: 42px;
  background: var(--gold);
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
}

.quote-steps strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--white);
}

.quote-steps span:not(.step-num) {
  display: block;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
}

.trust-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(214, 172, 105, 0.55);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  transition: background-color 0.35s ease, color 0.35s ease;
}

.trust-chips li:hover {
  background: var(--gold);
  color: var(--primary-dark);
}

.trust-chips .field-icon {
  color: var(--gold);
  transition: color 0.35s ease;
}

.trust-chips li:hover .field-icon {
  color: var(--primary-dark);
}

.form-card {
  position: relative;
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--card);
  border-top: 5px solid var(--primary);
  box-shadow: var(--shadow-lift);
}

.form-card-head {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.form-card-icon {
  display: grid;
  place-items: center;
  flex: 0 0 56px;
  height: 56px;
  background: var(--primary);
  color: var(--gold);
}

.form-card-icon .field-icon {
  width: 26px;
  height: 26px;
}

.form-card-head h2 {
  margin-bottom: 0.3rem;
  font-size: 1.6rem;
}

.form-card-head p {
  margin: 0;
  color: var(--text-2);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}

.form-section-label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--secondary);
}

.form-section-label:first-child {
  margin-top: 0;
}

.form-section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.form-field {
  min-width: 0;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.form-field .req {
  color: var(--danger);
}

.input-shell {
  position: relative;
}

.input-shell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
  pointer-events: none;
}

.input-shell.is-focused::after,
.input-shell:focus-within::after {
  transform: scaleX(1);
}

.input-shell .field-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  color: var(--text-2);
  pointer-events: none;
  transition: color 0.3s ease;
}

.input-shell:has(textarea) .field-icon {
  top: 1rem;
  margin-top: 0;
}

.input-shell.is-focused .field-icon,
.input-shell:focus-within .field-icon {
  color: var(--secondary);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.95rem 1rem 0.95rem 2.85rem;
  font: inherit;
  font-size: 0.97rem;
  color: var(--text);
  background: #FBFAF7;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 3.2rem;
}

.form-field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.75rem;
  background: #FBFAF7 var(--ico-chevron) right 1rem center / 18px no-repeat;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8A9A9E;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: #C5D0CD;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  background-color: var(--card);
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(40, 124, 131, 0.14);
}

.form-field input[type="file"] {
  padding: 0.65rem 0.75rem 0.65rem 2.85rem;
  cursor: pointer;
}

.form-field input[type="file"]::file-selector-button {
  margin-right: 0.9rem;
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--white);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-field input[type="file"]::file-selector-button:hover {
  background: var(--secondary);
}

.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.08);
}

.field-error {
  min-height: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--danger);
}

.form-field.is-invalid .field-error {
  margin-top: 0.35rem;
}

.form-format-note {
  margin: 1.5rem 0 0;
  padding: 0.9rem 1.1rem;
  background: var(--bg);
  border-left: 3px solid var(--gold);
  font-size: 0.9rem;
  color: var(--text-2);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
}

.form-actions .btn {
  padding: 1.1rem 2.4rem;
}

.form-hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-2);
}

.form-notice {
  display: none;
  margin-top: 1.25rem;
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  border-left: 4px solid var(--secondary);
}

.form-notice.is-visible {
  display: block;
  animation: fadeInUp 0.5s var(--ease) both;
}

.form-notice.info {
  background: rgba(40, 124, 131, 0.08);
  color: var(--primary-dark);
}

.form-notice.error {
  background: rgba(180, 35, 24, 0.07);
  border-left-color: var(--danger);
  color: var(--danger);
}

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2.5rem 2.1rem 2.1rem;
  background: var(--card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: translate 0.45s var(--ease), box-shadow 0.45s ease, opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.blog-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.blog-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}

.blog-card:hover {
  translate: 0 -8px;
  box-shadow: var(--shadow-lift);
}

.blog-card:hover::after {
  transform: scaleX(1);
}

.blog-card time,
.blog-post .post-meta time {
  display: inline-block;
  margin-bottom: 1.1rem;
  padding: 0.35rem 0.8rem;
  background: var(--gold);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-card h2 {
  font-size: 1.35rem;
  line-height: 1.35;
}

.blog-card h2 a {
  color: var(--primary-dark);
  background: linear-gradient(var(--gold), var(--gold)) left bottom / 0 2px no-repeat;
  transition: background-size 0.45s var(--ease), color 0.3s ease;
}

.blog-card h2 a:hover {
  color: var(--secondary);
  background-size: 100% 2px;
}

.blog-card p {
  flex: 1;
  color: var(--text-2);
}

.blog-post {
  max-width: 880px;
}

.blog-post .post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-2);
}

.blog-post .post-meta time {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Long-form prose (port pages, blog posts)
   -------------------------------------------------------------------------- */
.prose {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(1.75rem, 5vw, 3.75rem);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  border-top: 5px solid var(--primary);
}

.blog-post .prose {
  max-width: none;
}

.prose > :first-child {
  margin-top: 0;
}

.prose h2 {
  position: relative;
  margin: 2.75rem 0 1.1rem;
  padding-left: 1.15rem;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  border-left: 4px solid var(--gold);
}

.prose h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.2rem;
  color: var(--secondary);
}

.prose p {
  font-size: 1.03rem;
  line-height: 1.8;
}

.prose a {
  font-weight: 600;
  background: linear-gradient(var(--gold), var(--gold)) left bottom / 100% 1px no-repeat;
}

.prose ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.55rem;
  margin: 0 0 1.5rem;
}

.prose li {
  position: relative;
  padding: 0.65rem 0.9rem 0.65rem 2.5rem;
  background: var(--bg);
  border: 1px solid transparent;
  font-size: 0.97rem;
  transition: border-color 0.35s ease, background-color 0.35s ease;
}

.prose li::before {
  left: 0.9rem;
  top: 50%;
  margin-top: -8px;
}

.prose li:hover {
  background: var(--card);
  border-color: var(--gold);
}

/* --------------------------------------------------------------------------
   Footer — Logistica dark footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: 5.5rem;
  color: var(--white);
  background:
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.5px) 0 0 / 22px 22px,
    var(--primary-dark);
  border-top: 5px solid var(--gold);
}

.footer-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.footer-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.footer-shapes .shape-a {
  left: -120px;
  top: -140px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(40, 124, 131, 0.35), transparent 70%);
  animation: shapeDriftA 18s ease-in-out infinite alternate;
}

.footer-shapes .shape-b {
  right: -80px;
  top: 30%;
  width: 280px;
  height: 280px;
  border: 30px solid rgba(214, 172, 105, 0.08);
  animation: shapeDriftB 22s ease-in-out infinite alternate;
}

.footer-shapes .shape-c {
  left: 40%;
  bottom: -160px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(214, 172, 105, 0.12), transparent 70%);
  animation: shapeDriftC 20s ease-in-out infinite alternate;
}

@keyframes shapeDriftA {
  to {
    transform: translate(60px, 40px) scale(1.1);
  }
}

@keyframes shapeDriftB {
  to {
    transform: translate(-40px, -50px) rotate(30deg);
  }
}

@keyframes shapeDriftC {
  to {
    transform: translate(-70px, -30px) scale(1.15);
  }
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.7fr;
  gap: 3rem;
  padding-bottom: 4rem;
}

.site-footer h3 {
  position: relative;
  margin-bottom: 1.75rem;
  padding-bottom: 0.9rem;
  font-size: 1.2rem;
  color: var(--white);
}

.site-footer h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 3px;
  background: var(--gold);
  transition: width 0.5s var(--ease);
}

.site-footer .footer-grid > div:hover h3::after {
  width: 80px;
}

/* Logo sits on a white tile (the PNG has a white background), as in the header */
.footer-logo {
  object-fit: contain;
  width: 84px;
  height: 84px;
  margin-bottom: 1.4rem;
  padding: 4px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 0 0 4px rgba(214, 172, 105, 0.35);
}

.footer-brand h3 {
  font-size: 1.45rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a {
  color: var(--white);
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.footer-links a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: translate 0.3s ease;
}

.footer-links a:hover {
  letter-spacing: 0.04em;
}

.footer-links a:hover::before {
  translate: 3px 0;
}

/* Contact column: icon per line (address, phone, email, contact person) */
.footer-grid > div:last-child .footer-links li {
  position: relative;
  padding-left: 2.1rem;
  overflow-wrap: anywhere;
}

.footer-grid > div:last-child .footer-links li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 18px;
  height: 18px;
  background: var(--gold);
  -webkit-mask: var(--ico-pin) center / contain no-repeat;
  mask: var(--ico-pin) center / contain no-repeat;
}

.footer-grid > div:last-child .footer-links li:nth-child(2)::before {
  -webkit-mask-image: var(--ico-phone);
  mask-image: var(--ico-phone);
}

.footer-grid > div:last-child .footer-links li:nth-child(3)::before {
  -webkit-mask-image: var(--ico-mail);
  mask-image: var(--ico-mail);
}

.footer-grid > div:last-child .footer-links li:nth-child(4)::before {
  -webkit-mask-image: var(--ico-user);
  mask-image: var(--ico-user);
}

.footer-grid > div:last-child .footer-links a::before {
  display: none;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-credit a {
  color: var(--gold);
  border-bottom: 1px solid rgba(214, 172, 105, 0.5);
}

/* --------------------------------------------------------------------------
   Back to top (Logistica)
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--primary-dark);
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(16, 45, 50, 0.25);
  opacity: 0;
  visibility: hidden;
  translate: 0 20px;
  transition: opacity 0.4s ease, translate 0.4s var(--ease), visibility 0s linear 0.4s, background-color 0.3s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
  transition: opacity 0.4s ease, translate 0.4s var(--ease), visibility 0s, background-color 0.3s ease;
}

.back-to-top:hover {
  background: var(--gold-hover);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   Scroll reveal (WOW-style), staggered children, image reveals
   Hidden states apply only when JS is running (html.js).
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .service-card.reveal {
  transition: opacity 0.9s var(--ease) calc(var(--i, 0) * 110ms), transform 0.9s var(--ease) calc(var(--i, 0) * 110ms), translate 0.45s var(--ease), box-shadow 0.45s ease;
}

.js .blog-card.reveal {
  transition: opacity 0.9s var(--ease) calc(var(--i, 0) * 110ms), transform 0.9s var(--ease) calc(var(--i, 0) * 110ms), translate 0.45s var(--ease), box-shadow 0.45s ease;
}

/* Staggered text: section heads and split copy */
.js .section-head > *,
.js .split .split-copy > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .is-visible .section-head > *,
.js .section-head.is-visible > *,
.js .split.is-visible .split-copy > * {
  opacity: 1;
  transform: none;
}

.js .section-head > :nth-child(2),
.js .split .split-copy > :nth-child(2) {
  transition-delay: 0.12s;
}

.js .section-head > :nth-child(3),
.js .split .split-copy > :nth-child(3) {
  transition-delay: 0.24s;
}

.js .split .split-copy > :nth-child(4) {
  transition-delay: 0.36s;
}

.js .split .split-copy > :nth-child(5) {
  transition-delay: 0.48s;
}

.js .split .split-copy > :nth-child(n + 6) {
  transition-delay: 0.6s;
}

/* Staggered list items */
.js .feature-grid > *,
.js .vessel-list > li,
.js .check-list > li {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), translate 0.45s var(--ease), background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
  transition-delay: calc(var(--i, 0) * 60ms + 0.15s), calc(var(--i, 0) * 60ms + 0.15s), 0s, 0s, 0s, 0s, 0s;
}

.js .feature-grid.is-visible > *,
.js .is-visible .vessel-list > li,
.js .is-visible .check-list > li {
  opacity: 1;
  transform: none;
}

/* Image reveal: curtain wipe */
.js .split .split-media img {
  clip-path: inset(0 0 0 100%);
}

.js .split > .split-media:first-child img {
  clip-path: inset(0 100% 0 0);
}

.js .split.is-visible .split-media img {
  clip-path: inset(0 0 0 0);
  transition-delay: 0s, 0.2s, 0s;
}

.js .service-block .service-block-media img {
  clip-path: inset(100% 0 0 0);
}

.js .service-block.is-visible .service-block-media img {
  clip-path: inset(0 0 0 0);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .nav-list {
    gap: 1.5rem;
    margin-right: 1.75rem;
  }

  .logo {
    padding: 0 1.5rem;
  }

  .nav-cta .btn {
    padding: 0 1.6rem;
  }
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vessel-list {
    --cols: 3;
  }

  .check-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 72px;
  }

  .site-header.is-stuck .header-inner {
    height: var(--header-h);
  }

  .logo {
    padding: 0 1.25rem;
  }

  .logo img {
  object-fit: contain;
    width: 44px;
    height: 44px;
  }

  .logo-text strong {
    font-size: 1.12rem;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 72px;
    margin-left: auto;
    padding: 0 22px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    background: var(--primary);
    transition: transform 0.4s var(--ease), opacity 0.3s ease, width 0.3s ease;
  }

  .nav-toggle span:nth-child(2) {
    width: 70%;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    justify-content: flex-start;
    max-height: calc(100vh - var(--header-h) - 4px);
    max-height: calc(100dvh - var(--header-h) - 4px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--card);
    border-top: 1px solid var(--border);
    box-shadow: 0 30px 50px rgba(16, 45, 50, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.35s ease, transform 0.45s var(--ease), visibility 0s linear 0.45s;
  }

  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.35s ease, transform 0.45s var(--ease), visibility 0s;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0.5rem var(--gutter);
  }

  .nav-item {
    flex-direction: column;
    border-bottom: 1px solid var(--border);
  }

  .nav-link {
    justify-content: space-between;
    padding: 1rem 0;
  }

  .nav-link::before {
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    transition: height 0.35s var(--ease);
  }

  .nav-link:hover::before,
  .nav-link[aria-current="page"]::before,
  .nav-item.is-open > .nav-link::before {
    left: 0;
    width: 3px;
    height: 100%;
    opacity: 1;
  }

  .nav-link[aria-current="page"],
  .nav-item.is-open > .nav-link {
    padding-left: 0.9rem;
  }

  .nav-link .plus {
    width: 9px;
    height: 9px;
    margin-right: 0.35rem;
  }

  .dropdown,
  .mega-menu {
    display: none;
    padding: 0 0 1rem;
  }

  .nav-item.is-open > .dropdown,
  .nav-item.is-open > .mega-menu {
    display: block;
    animation: fadeInDown 0.4s var(--ease) both;
  }

  .nav-item.is-open > .dropdown {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dropdown a,
  .mega-grid a {
    padding: 0.5rem 0.6rem;
    font-size: 0.9rem;
  }

  .mega-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mega-note {
    margin-top: 0.5rem;
  }

  .nav-cta {
    padding: 1rem var(--gutter) 1.5rem;
  }

  .nav-cta .btn {
    width: 100%;
    height: auto;
    padding: 1.05rem 1.5rem;
  }

  .hero {
    min-height: 0;
    padding: 6rem 0 5rem;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(16, 45, 50, 0.82) 0%, rgba(16, 45, 50, 0.9) 100%);
  }

  .section {
    padding: 5rem 0;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split-media img {
    min-height: 300px;
  }

  .mission-section .split-media,
  .intro-section .split-media {
    max-width: 680px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .service-block {
    grid-template-columns: 1fr;
    padding: 3.5rem 0;
  }

  .service-block-media {
    max-width: 640px;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-stage-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 5rem 0 4.5rem;
  }

  .page-hero--form {
    padding-bottom: 8rem;
  }

  .form-stage > .container {
    margin-top: -4.5rem;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 1rem;
  }

  body {
    font-size: 0.97rem;
  }

  .logo {
    padding: 0 1rem;
    gap: 0.6rem;
  }

  .logo img {
  object-fit: contain;
    width: 40px;
    height: 40px;
  }

  .logo-text strong {
    font-size: 1.02rem;
  }

  .logo-text span {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .nav-toggle {
    width: 64px;
    padding: 0 18px;
  }

  .nav-item.is-open > .dropdown,
  .mega-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding: 4.5rem 0 4rem;
  }

  .hero-brand {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
  }

  .hero-brand::before {
    width: 28px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-whatsapp-bar {
    flex-wrap: wrap;
    max-width: 100%;
  }

  .section {
    padding: 4rem 0;
  }

  .section-head {
    margin-bottom: 2.5rem;
  }

  .eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
  }

  .split-media,
  .split > .split-media:first-child {
    padding: 0 0.9rem 0.9rem 0;
  }

  .split > .split-media:first-child {
    padding: 0 0 0.9rem 0.9rem;
  }

  .split-media::after {
    display: none;
  }

  .split-media img {
    min-height: 240px;
  }

  .service-grid,
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .service-card {
    padding: 1.75rem 1.4rem;
  }

  .vessel-list {
    --cols: 2;
    --gap: 0.6rem;
  }

  .vessel-list li {
    padding: 0.9rem;
    font-size: 0.92rem;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 2.5rem 1.4rem;
  }

  .cta-band .btn {
    width: 100%;
  }

  .service-block-media {
    box-shadow: 10px 10px 0 rgba(214, 172, 105, 0.55), var(--shadow-lift);
  }

  .service-block ul,
  .prose ul {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .quote-aside {
    padding: 2rem 1.4rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-actions .btn {
    width: 100%;
  }

  .form-card-head {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 380px) {
  .logo-text span {
    display: none;
  }

  .nav-item.is-open > .dropdown,
  .mega-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion: disable entrance, parallax and ambient animation
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .hero-media img,
  .footer-shapes .shape,
  .hero-whatsapp-icon {
    animation: none !important;
  }

  .js .reveal,
  .js .section-head > *,
  .js .split .split-copy > *,
  .js .feature-grid > *,
  .js .vessel-list > li,
  .js .check-list > li {
    opacity: 1 !important;
    transform: none !important;
  }

  .js .split .split-media img,
  .js .service-block .service-block-media img {
    clip-path: none !important;
  }

  .section-navy {
    background-attachment: scroll !important;
  }

  .site-header.is-away {
    transform: none;
  }
}

/* Shared WhatsApp contact controls */
.hero-whatsapp-bar {
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  max-width: 100%;
  box-sizing: border-box;
}
.hero-whatsapp-icon {
  background: transparent;
  color: #25D366;
  flex-shrink: 0;
}
.footer-whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .85rem;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  white-space: nowrap;
}
.footer-whatsapp-button svg {
  width: 20px;
  height: 20px;
  color: #25D366;
  flex-shrink: 0;
}
.footer-whatsapp-button:hover {
  border-color: #25D366;
}
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 950;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 5px 18px rgba(0,0,0,.22);
  transition: transform .2s ease;
}
.floating-whatsapp svg { width: 28px; height: 28px; }
.floating-whatsapp:hover { transform: scale(1.06); color: #fff; }
.floating-whatsapp:focus-visible,
.footer-whatsapp-button:focus-visible { outline: 2px solid #25D366; outline-offset: 4px; }
.back-to-top { bottom: 94px; }
@media (max-width: 600px) {
  .floating-whatsapp { bottom: 16px; right: 16px; }
  .back-to-top { bottom: 86px; }
  .hero-whatsapp-bar { gap: .5rem; padding: .6rem .85rem; }
  .hero-whatsapp-num { font-size: .95rem; }
  .hero-whatsapp-tag { font-size: .68rem; letter-spacing: .06em; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp { transition: none; }
}