/* ShipChandler AbidjanPort — Design System */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  --navy: #0a1e36;
  --navy-deep: #061321;
  --navy-mid: #14304f;
  --orange: #f37021;
  --orange-dark: #d45e14;
  --gold: #ffb81c;
  --wave: #1e6b9a;
  --wave-light: #3a8fc4;
  --white: #ffffff;
  --off-white: #f6f8fb;
  --sand: #eef2f6;
  --text: #1a2433;
  --text-muted: #5a6575;
  --border: #d7dee8;
  --success: #1f7a4d;
  --danger: #b42318;

  --font-display: "Outfit", "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6rem;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(10, 30, 54, 0.06);
  --shadow: 0 10px 30px rgba(10, 30, 54, 0.1);
  --shadow-md: 0 14px 40px rgba(10, 30, 54, 0.12);
  --shadow-lg: 0 22px 55px rgba(10, 30, 54, 0.16);
  --shadow-orange: 0 12px 28px rgba(243, 112, 33, 0.32);

  --header-h: 4.5rem;
  --container: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --z-header: 1000;
  --z-mega: 1100;
  --z-overlay: 1200;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

img,
video,
iframe,
svg,
table {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

a {
  color: var(--wave);
  text-decoration: none;
}

a:hover {
  color: var(--orange);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 var(--space-4);
  font-weight: 700;
  letter-spacing: -0.025em;
  max-width: 100%;
}

h1 {
  font-size: clamp(2.15rem, 4.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 var(--space-4);
}

ul {
  margin: 0 0 var(--space-4);
  padding-left: 1.2rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: max(1rem, env(safe-area-inset-left, 0px))
    max(1rem, env(safe-area-inset-right, 0px));
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 2000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, #ff8a3d 0%, var(--orange) 45%, var(--orange-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-orange);
  border-color: transparent;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff964d 0%, #f37021 40%, #c45412 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(243, 112, 33, 0.4);
}

.btn .btn-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--navy);
  color: var(--white);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  width: 100%;
  max-width: 100%;
  overflow: visible;
  padding-top: env(safe-area-inset-top, 0px);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow);
  background: var(--navy-deep);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 0.75rem;
  position: relative;
  width: 100%;
  max-width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  flex-shrink: 1;
  min-width: 0;
  padding: 0.35rem 0;
  max-width: calc(100% - 3.5rem);
}

.logo:hover {
  color: var(--white);
}

.logo img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.logo-text strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-text span {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.92);
  padding: 0.7rem 0.85rem;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-item.is-open > .nav-link {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.nav-link .plus {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
}

.nav-cta {
  margin-left: 0.75rem;
}

.nav-cta .btn {
  min-height: 2.5rem;
  padding: 0.55rem 1.15rem;
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.nav-cta .btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

/* Dropdowns */
.dropdown,
.mega-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: min(240px, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
    visibility 0.22s;
  z-index: var(--z-mega);
  pointer-events: none;
}


/* Seamless hover bridge so mouse moving from nav-link to dropdown never breaks hover */
.dropdown::before,
.mega-menu::before {
  content: "";
  position: absolute;
  top: -0.65rem;
  left: 0;
  right: 0;
  height: 0.65rem;
  background: transparent;
}

@media (min-width: 961px) {
  .nav-item.has-dropdown {
    padding-bottom: 0.35rem;
    margin-bottom: -0.35rem;
  }
}

.nav-item.is-open > .dropdown,
.nav-item.is-open > .mega-menu,
.nav-item:hover > .dropdown,
.nav-item:hover > .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown {
  padding: 0.45rem;
  list-style: none;
  margin: 0;
  min-width: min(280px, calc(100vw - 2rem));
  max-width: min(22rem, calc(100vw - 2rem));
  max-height: min(70vh, calc(100dvh - var(--header-h) - 1.25rem));
  max-height: min(70vh, calc(100vh - var(--header-h) - 1.25rem));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  box-sizing: border-box;
}

@media (min-width: 961px) {
  .dropdown {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    min-width: min(34rem, calc(100vw - 2rem));
    max-width: min(36rem, calc(100vw - 2rem));
    max-height: min(62vh, calc(100dvh - var(--header-h) - 1.25rem));
    max-height: min(62vh, calc(100vh - var(--header-h) - 1.25rem));
  }

  .dropdown li {
    min-width: 0;
  }
}

.dropdown a {
  display: block;
  padding: 0.65rem 0.8rem;
  color: var(--text);
  border-bottom: 1px solid var(--sand);
  font-size: 0.9rem;
  line-height: 1.35;
  white-space: normal;
}

.dropdown a:last-child {
  border-bottom: 0;
}

.dropdown a:hover {
  color: var(--orange);
  background: var(--off-white);
}

/* Keep mega-menu inside the viewport (no cut-off at bottom) */
.site-header,
.header-inner,
.primary-nav,
.nav-list,
.nav-item {
  overflow: visible;
}

.nav-item:has(> .mega-menu) {
  position: static;
}

.mega-menu {
  left: 1rem;
  right: 1rem;
  width: auto;
  max-width: min(56rem, calc(100% - 2rem));
  margin-inline: auto;
  transform: translateY(8px);
  padding: 1rem 1.15rem;
  box-sizing: border-box;
  max-height: min(70vh, calc(100dvh - var(--header-h) - 1.25rem));
  max-height: min(70vh, calc(100vh - var(--header-h) - 1.25rem));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

@media (min-width: 961px) {
  .mega-menu {
    position: fixed;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 0.35rem);
    left: max(1rem, calc((100vw - min(56rem, calc(100vw - 2rem))) / 2));
    right: max(1rem, calc((100vw - min(56rem, calc(100vw - 2rem))) / 2));
    width: auto;
    max-width: min(56rem, calc(100vw - 2rem));
    margin-inline: 0;
  }
}

.nav-item.is-open > .mega-menu,
.nav-item:hover > .mega-menu {
  transform: translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.25rem 1.25rem;
  width: 100%;
  max-width: 100%;
}

.mega-grid a {
  display: block;
  padding: 0.65rem 0.25rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  line-height: 1.35;
  min-width: 0;
}

.mega-grid a:hover {
  color: var(--orange);
}

.mega-note {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 42rem);
  min-height: min(88dvh, 42rem);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-deep);
  width: 100%;
  max-width: 100%;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 19, 33, 0.88) 0%,
    rgba(10, 30, 54, 0.62) 48%,
    rgba(10, 30, 54, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--space-8) 0 var(--space-7);
  max-width: min(40rem, 100%);
  width: 100%;
}

.hero-brand {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  color: var(--gold);
  margin-bottom: var(--space-3);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-5);
  max-width: 100%;
}

.hero-actions .btn {
  max-width: 100%;
}

@keyframes heroZoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08);
  }
}

/* Sections */
.section {
  padding: var(--space-8) 0;
}

.section-alt {
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, rgba(243, 112, 33, 0.05), transparent 50%),
    var(--off-white);
}

.section-navy {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(243, 112, 33, 0.22), transparent 55%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(30, 107, 154, 0.35), transparent 50%),
    linear-gradient(135deg, #061321 0%, var(--navy) 42%, var(--navy-mid) 100%);
  color: var(--white);
}

.section-navy::before,
.section-navy::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 1.75rem;
  filter: blur(0.5px);
}

.section-navy::before {
  width: 14rem;
  height: 14rem;
  top: -4rem;
  right: 8%;
  background: linear-gradient(145deg, rgba(255, 184, 28, 0.28), rgba(243, 112, 33, 0.08));
  transform: rotate(28deg) skewX(-8deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  opacity: 0.55;
}

.section-navy::after {
  width: 10rem;
  height: 10rem;
  bottom: -3rem;
  left: 6%;
  background: linear-gradient(160deg, rgba(58, 143, 196, 0.35), rgba(10, 30, 54, 0.1));
  transform: rotate(-18deg);
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.08);
  opacity: 0.5;
}

.section-navy .container {
  position: relative;
  z-index: 1;
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-head {
  max-width: 40rem;
  margin-bottom: var(--space-6);
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-navy .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--space-3);
}

.section-navy .eyebrow {
  color: var(--gold);
}

/* Intro / mission panels */
.intro-section,
.mission-section {
  position: relative;
  overflow: hidden;
  padding: clamp(3.25rem, 7vw, 5.25rem) 0;
  background:
    radial-gradient(ellipse 45% 50% at 0% 20%, rgba(243, 112, 33, 0.07), transparent 55%),
    radial-gradient(ellipse 40% 45% at 100% 80%, rgba(30, 107, 154, 0.08), transparent 50%),
    var(--white);
}

.intro-section::before,
.mission-section::before {
  content: "";
  position: absolute;
  width: 12rem;
  height: 12rem;
  top: -3rem;
  right: 4%;
  border-radius: 1.5rem;
  background: linear-gradient(145deg, rgba(243, 112, 33, 0.18), rgba(255, 184, 28, 0.08));
  transform: rotate(24deg) skewX(-6deg);
  box-shadow: 20px 30px 60px rgba(10, 30, 54, 0.08);
  pointer-events: none;
}

.intro-section::after,
.mission-section::after {
  content: "";
  position: absolute;
  width: 8rem;
  height: 8rem;
  bottom: 8%;
  left: 3%;
  border-radius: 1.25rem;
  background: linear-gradient(160deg, rgba(30, 107, 154, 0.16), rgba(10, 30, 54, 0.04));
  transform: rotate(-16deg);
  pointer-events: none;
}

.intro-section > .container,
.mission-section > .container {
  position: relative;
  z-index: 1;
  max-width: 64rem;
  margin-inline: auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  min-height: 22rem;
  background: linear-gradient(165deg, #ffffff 0%, #f5f8fc 100%);
  border: 1px solid rgba(215, 222, 232, 0.95);
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 44px rgba(10, 30, 54, 0.08);
}

.split > * {
  min-width: 0;
  min-height: 0;
}

.split-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.split-copy::before,
.split-copy::after {
  display: none;
}

.split-copy h2 {
  margin-bottom: 0.85rem;
}

.split-copy p {
  color: var(--text-muted);
  line-height: 1.7;
}

.split-copy p:last-of-type {
  margin-bottom: 1.25rem;
}

.split-media {
  position: relative;
  align-self: stretch;
  min-height: 22rem;
  margin: 1rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 12px 32px rgba(10, 30, 54, 0.14);
  transform: none;
  background: linear-gradient(160deg, #dfe7f0, #c8d4e2);
}

.split-media::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: inherit;
  z-index: 2;
  pointer-events: none;
}

.split-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 36%;
  background: linear-gradient(transparent, rgba(10, 30, 54, 0.22));
  pointer-events: none;
  z-index: 1;
  border-radius: 0 0 1rem 1rem;
}

.split-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
  transition: transform 0.5s var(--ease);
}

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
  max-width: 100%;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #ffffff 0%, #f5f8fc 100%);
  border: 1px solid rgba(10, 30, 54, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  min-width: 0;
  max-width: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s;
}

.service-grid .service-card.reveal:nth-child(1),
.feature-grid .service-card.reveal:nth-child(1),
.service-grid > .reveal:nth-child(1) {
  transition-delay: 0.05s;
}

.service-grid .service-card.reveal:nth-child(2),
.feature-grid .service-card.reveal:nth-child(2),
.service-grid > .reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.service-grid .service-card.reveal:nth-child(3),
.feature-grid .service-card.reveal:nth-child(3),
.service-grid > .reveal:nth-child(3) {
  transition-delay: 0.15s;
}

.service-grid .service-card.reveal:nth-child(4),
.feature-grid .service-card.reveal:nth-child(4),
.service-grid > .reveal:nth-child(4) {
  transition-delay: 0.2s;
}

.service-grid .service-card.reveal:nth-child(5),
.service-grid > .reveal:nth-child(5) {
  transition-delay: 0.25s;
}

.service-grid .service-card.reveal:nth-child(6),
.service-grid > .reveal:nth-child(6) {
  transition-delay: 0.3s;
}

.service-grid .service-card.reveal:nth-child(7),
.service-grid > .reveal:nth-child(7) {
  transition-delay: 0.32s;
}

.service-grid .service-card.reveal:nth-child(8),
.service-grid > .reveal:nth-child(8) {
  transition-delay: 0.34s;
}

.service-grid .service-card.reveal:nth-child(9),
.service-grid > .reveal:nth-child(9) {
  transition-delay: 0.36s;
}

.service-grid .service-card.reveal:nth-child(n + 10),
.service-grid > .reveal:nth-child(n + 10) {
  transition-delay: 0.38s;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.5), transparent 40%);
  pointer-events: none;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10, 30, 54, 0.18);
}

.service-card--expand {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 11.5rem;
}

.service-card--expand:hover,
.service-card--expand.is-open {
  border-color: rgba(243, 112, 33, 0.35);
  box-shadow: 0 14px 36px rgba(10, 30, 54, 0.12);
}

.service-card--expand.is-open {
  background: linear-gradient(165deg, #ffffff 0%, #eef3f8 100%);
  transform: translateY(-2px);
}

.service-card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card--expand .service-card-top {
  flex: 1;
}

.service-card-hint {
  margin-top: auto;
  padding-top: 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wave);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-card-hint::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: rgba(30, 107, 154, 0.1);
  color: var(--navy);
  font-size: 0.85rem;
  line-height: 1;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.service-card--expand.is-open .service-card-hint::after {
  content: "−";
  background: rgba(243, 112, 33, 0.15);
  color: var(--orange);
  transform: rotate(180deg);
}

.service-card--expand.is-open .service-card-hint {
  color: var(--orange);
}

.service-card-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid transparent;
  transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease),
    margin-top 0.3s var(--ease), padding-top 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.service-card--expand.is-open .service-card-body {
  max-height: 22rem;
  opacity: 1;
  margin-top: 0.85rem;
  padding-top: 1rem;
  border-top-color: rgba(10, 30, 54, 0.08);
}

.service-icon {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--gold);
  margin-bottom: var(--space-4);
  box-shadow: 0 10px 22px rgba(10, 30, 54, 0.18);
}

.service-icon svg,
.meta-icon svg,
.form-card-icon svg,
.quote-aside-badge svg,
.trust-chips svg,
.map-placeholder svg,
.step-num + div svg {
  width: 1.35rem;
  height: 1.35rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: static;
  left: auto;
}

.meta-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: var(--gold);
}

.form-card-icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.quote-aside-badge svg,
.trust-chips svg {
  width: 0.95rem;
  height: 0.95rem;
}

.map-placeholder svg {
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 auto 0.5rem;
  stroke: var(--gold);
  display: block;
}

.btn svg.btn-icon,
.btn svg.field-icon {
  width: 1.1rem;
  height: 1.1rem;
  position: static;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: var(--space-3);
}

.service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(10, 30, 54, 0.06);
  font-size: 0.9rem;
  color: var(--text);
}

.service-card li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(145deg, var(--orange), var(--gold));
  box-shadow: 0 0 0 3px rgba(243, 112, 33, 0.12);
}

.service-card li:last-child {
  border-bottom: 0;
}

.service-card a.more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: var(--space-4);
  font-weight: 600;
  color: var(--orange);
}

/* Why / features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  width: 100%;
  max-width: 100%;
}

.feature-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  min-width: 0;
}

.feature-item .dot {
  width: 0.65rem;
  height: 0.65rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
}

.feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  font-family: var(--font-body);
  font-weight: 700;
}

.feature-item h3:only-child,
.feature-item div > h3:last-child {
  margin-bottom: 0;
}

.feature-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.25rem;
  max-width: 48rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.65rem 0.85rem;
  background: #fff;
  border: 1px solid rgba(10, 30, 54, 0.1);
  border-radius: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
}

.check-list li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(145deg, var(--orange), var(--gold));
}

@media (max-width: 640px) {
  .check-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Vessel chips */
.vessel-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.vessel-list li {
  padding: 0.55rem 0.95rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}

/* CTA band */
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(120deg, var(--navy) 0%, #1a3d63 55%, #2a4f78 100%);
  border-radius: var(--radius-lg);
  color: var(--white);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.cta-band > * {
  min-width: 0;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

/* Page hero (inner) */
.page-hero {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy-mid));
  color: var(--white);
  padding: var(--space-7) 0 var(--space-6);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.page-hero::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -40%;
  width: min(28rem, 80vw);
  height: min(28rem, 80vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 112, 33, 0.28), transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  color: var(--white);
  position: relative;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 38rem;
  position: relative;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0 var(--space-4);
  padding: 0;
  font-size: 0.88rem;
  position: relative;
}

.breadcrumb a {
  color: var(--gold);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.55);
}

/* Service detail blocks */
.service-block {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.75rem, 3vw, 2.75rem) 0;
  border-bottom: 1px solid var(--border);
  width: 100%;
  max-width: 100%;
}

.service-block > * {
  min-width: 0;
}

.service-block:nth-child(even) img {
  order: 2;
}

.service-block:last-child {
  border-bottom: 0;
}

.service-block img {
  width: 100%;
  height: clamp(16rem, 28vw, 22rem);
  object-fit: cover;
  border-radius: 1.1rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.45s var(--ease);
}

.service-block {
  overflow: visible;
}

.service-block > img {
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .service-block img:hover {
    transform: scale(1.03);
  }

  .split-media:hover img {
    transform: scale(1.03);
  }
}

.service-block ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.service-block li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: linear-gradient(145deg, #f7f9fc, #eef3f8);
  border: 1px solid rgba(215, 222, 232, 0.9);
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--text);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.service-block li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.28rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(145deg, var(--orange), var(--gold));
  box-shadow: 0 0 0 3px rgba(243, 112, 33, 0.12);
}

/* Contact / forms */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.25rem;
  width: 100%;
  max-width: 56rem;
  margin-inline: auto;
}

.contact-grid > * {
  min-width: 0;
}

.contact-card {
  background: linear-gradient(165deg, var(--navy) 0%, #123152 55%, #18406a 100%);
  color: var(--white);
  border-radius: 14px;
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 112, 33, 0.22), transparent 70%);
  top: -4rem;
  right: -3rem;
  pointer-events: none;
}

.contact-card h2 {
  color: var(--white);
  position: relative;
}

.contact-card a {
  color: var(--gold);
}

.contact-meta {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: 0;
  position: relative;
}

.contact-meta li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-meta li:last-child {
  border-bottom: 0;
}

.contact-meta .meta-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}


.contact-meta strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.map-placeholder {
  margin-top: var(--space-5);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(20, 48, 79, 0.9), rgba(30, 107, 154, 0.85));
  min-height: 10rem;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
}

/* Quote page shell */
.quote-section {
  position: relative;
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
  background:
    radial-gradient(ellipse 60% 50% at 10% 0%, rgba(243, 112, 33, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(30, 107, 154, 0.08), transparent 50%),
    var(--off-white);
  overflow: hidden;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 1.15rem;
  align-items: start;
  width: 100%;
  max-width: 56rem;
  margin-inline: auto;
}

.quote-layout > * {
  min-width: 0;
}

.quote-aside {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 50%, #163a5c 100%);
  color: var(--white);
  border-radius: 14px;
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.quote-aside::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 184, 28, 0.25), transparent 70%);
  pointer-events: none;
}

.quote-aside-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.quote-aside-badge svg {
  width: 0.95rem;
  height: 0.95rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quote-aside h2 {
  color: var(--white);
  margin-bottom: 0.4rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.quote-aside > p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0.95rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.quote-steps {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  position: relative;
}

.quote-steps li {
  display: grid;
  grid-template-columns: 1.9rem 1fr;
  gap: 0.65rem;
  align-items: start;
  padding: 0.6rem 0.65rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-num {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, #ff8a3d 0%, var(--orange) 45%, #ffb81c 100%);
  color: var(--white);
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1;
  text-align: center;
  box-shadow: 0 4px 10px rgba(243, 112, 33, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.quote-steps strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  margin-bottom: 0.1rem;
  letter-spacing: -0.01em;
}

.quote-steps span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  line-height: 1.4;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.trust-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.trust-chips svg {
  width: 0.95rem;
  height: 0.95rem;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-card {
  background: var(--white);
  border: 1px solid rgba(215, 222, 232, 0.85);
  border-radius: 14px;
  padding: 1.15rem 1.25rem 1.25rem;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
}

.form-card::before {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 0;
  height: 2px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--orange), var(--gold), var(--wave));
}

.form-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--sand);
}

.form-card-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(243, 112, 33, 0.14), rgba(255, 184, 28, 0.2));
  color: var(--orange);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(243, 112, 33, 0.12);
}

.form-card-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-card-head h2 {
  margin-bottom: 0.15rem;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

.form-card-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.form-section-label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.15rem 0 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wave);
}

.form-section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.75rem;
  width: 100%;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--navy);
}

.form-field .req {
  color: var(--orange);
}

.input-shell {
  position: relative;
  display: flex;
  align-items: center;
}

.input-shell > svg,
.input-shell .field-icon {
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.95rem;
  height: 0.95rem;
  max-width: 0.95rem;
  max-height: 0.95rem;
  flex: 0 0 0.95rem;
  overflow: visible;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  transition: stroke 0.2s;
  z-index: 1;
  box-sizing: content-box;
}

.input-shell:has(textarea) > svg,
.input-shell:has(textarea) .field-icon {
  top: 0.7rem;
  transform: none;
}

.input-shell:focus-within > svg,
.input-shell:focus-within .field-icon {
  stroke: var(--orange);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  font-size: 0.9375rem; /* 15px — compact but still avoids most iOS zoom */
  color: var(--text);
  background: #fbfcfe;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: inset 0 1px 1px rgba(10, 30, 54, 0.03);
  min-height: 2.45rem;
}

.input-shell input,
.input-shell select,
.input-shell textarea {
  padding-left: 2.15rem;
}

.form-field textarea {
  min-height: 4.5rem;
  resize: vertical;
  padding-top: 0.6rem;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: #c5d0de;
  background: var(--white);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(243, 112, 33, 0.55);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(243, 112, 33, 0.12);
}

.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.1);
}

.field-error {
  color: var(--danger);
  font-size: 0.72rem;
  min-height: 0;
  line-height: 1.3;
}

.form-field.is-invalid .field-error {
  min-height: 0.95rem;
}

.form-notice {
  display: none;
  margin-top: 0.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: 9px;
  font-size: 0.84rem;
  box-shadow: var(--shadow-sm);
}

.form-notice.is-visible {
  display: block;
}

.form-notice.info {
  background: linear-gradient(135deg, #eef6ff, #f7fbff);
  color: var(--navy);
  border: 1px solid #c9ddf5;
}

.form-notice.error {
  background: #fff1f0;
  color: var(--danger);
  border: 1px solid #f5c6c2;
}

.form-actions {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  padding-top: 0.85rem;
  border-top: 1px solid var(--sand);
}

.form-actions .btn {
  min-height: 2.45rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 18rem;
  line-height: 1.4;
}

.cta-band {
  box-shadow: var(--shadow-lg);
}

.split-media {
  box-shadow: var(--shadow-md);
}

.page-hero {
  box-shadow: 0 12px 40px rgba(10, 30, 54, 0.18);
}

/* SEO / prose */
.prose {
  max-width: 48rem;
}

.prose h2 {
  margin-top: var(--space-6);
}

.prose h3 {
  margin-top: var(--space-5);
  font-family: var(--font-body);
}

.prose ul {
  columns: 1;
}

.prose li {
  margin-bottom: 0.3rem;
}

.port-stub {
  background: var(--off-white);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.port-stub p {
  color: var(--text-muted);
  max-width: 32rem;
  margin-inline: auto;
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 40% 50% at 100% 0%, rgba(243, 112, 33, 0.2), transparent 55%),
    radial-gradient(ellipse 35% 45% at 0% 100%, rgba(30, 107, 154, 0.28), transparent 50%),
    linear-gradient(160deg, #04101c 0%, #0a1e36 48%, #102a42 100%);
  color: rgba(255, 255, 255, 0.82);
  padding: clamp(3rem, 6vw, 4.5rem) 0 max(var(--space-5), env(safe-area-inset-bottom, 0px));
  width: 100%;
  max-width: 100%;
}

.footer-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.footer-shapes .shape {
  position: absolute;
  display: block;
  border-radius: 1.35rem;
  transform-style: preserve-3d;
  will-change: transform;
}

.footer-shapes .shape-a {
  width: 14rem;
  height: 14rem;
  top: -4rem;
  right: 8%;
  background: linear-gradient(145deg, rgba(255, 184, 28, 0.28), rgba(243, 112, 33, 0.08));
  transform: perspective(600px) rotateX(18deg) rotateY(-22deg) rotate(18deg) skewX(-8deg);
  box-shadow:
    18px 28px 50px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  opacity: 0.7;
  animation: shapeDriftA 18s var(--ease) infinite alternate;
}

.footer-shapes .shape-b {
  width: 9.5rem;
  height: 9.5rem;
  bottom: 18%;
  left: 4%;
  background: linear-gradient(160deg, rgba(58, 143, 196, 0.35), rgba(10, 30, 54, 0.1));
  transform: perspective(500px) rotateX(-12deg) rotateY(20deg) rotate(-16deg);
  box-shadow: 14px 22px 40px rgba(0, 0, 0, 0.22);
  opacity: 0.55;
  animation: shapeDriftB 20s var(--ease) infinite alternate;
}

.footer-shapes .shape-c {
  width: 6.5rem;
  height: 6.5rem;
  top: 38%;
  right: 22%;
  background: linear-gradient(135deg, rgba(243, 112, 33, 0.32), rgba(255, 184, 28, 0.08));
  transform: perspective(400px) rotateX(24deg) rotateZ(28deg);
  box-shadow: 10px 16px 32px rgba(0, 0, 0, 0.2);
  opacity: 0.45;
  animation: shapeDriftC 16s var(--ease) infinite alternate;
}

@keyframes shapeDriftA {
  from {
    transform: perspective(600px) rotateX(18deg) rotateY(-22deg) rotate(18deg) skewX(-8deg) translateY(0);
  }
  to {
    transform: perspective(600px) rotateX(22deg) rotateY(-18deg) rotate(22deg) skewX(-6deg) translateY(12px);
  }
}

@keyframes shapeDriftB {
  from {
    transform: perspective(500px) rotateX(-12deg) rotateY(20deg) rotate(-16deg) translateX(0);
  }
  to {
    transform: perspective(500px) rotateX(-8deg) rotateY(24deg) rotate(-12deg) translateX(10px);
  }
}

@keyframes shapeDriftC {
  from {
    transform: perspective(400px) rotateX(24deg) rotateZ(28deg) translateY(0);
  }
  to {
    transform: perspective(400px) rotateX(18deg) rotateZ(34deg) translateY(-10px);
  }
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr));
  gap: 1.75rem 1.25rem;
  margin-bottom: var(--space-6);
  width: 100%;
  max-width: 100%;
}

.footer-grid > * {
  min-width: 0;
}

.footer-brand {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-footer h3 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s, transform 0.2s;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-transform: none;
  margin-bottom: 0.65rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
  overflow-wrap: anywhere;
  font-size: 0.92rem;
}

.footer-links a {
  display: inline-block;
}

.footer-links a:hover {
  transform: translateX(3px);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .reveal,
  .btn,
  .service-card,
  .dropdown,
  .mega-menu,
  .footer-shapes .shape,
  .service-block img,
  .split-media img,
  .service-card-body,
  .service-card-hint::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .service-grid .service-card.reveal,
  .feature-grid .service-card.reveal,
  .service-grid > .reveal {
    transition-delay: 0s !important;
  }

  .service-card--expand .service-card-body {
    max-height: none;
    opacity: 1;
    margin-top: 0.85rem;
    padding-top: 1rem;
    border-top-color: rgba(10, 30, 54, 0.08);
  }

  .service-card-hint {
    display: none;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .mega-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1rem;
  }
}

@media (max-width: 960px) {
  .site-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: var(--z-header);
  }

  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .primary-nav {
    position: fixed;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: stretch;
    padding: 0 max(1rem, env(safe-area-inset-right, 0px))
      0
      max(1rem, env(safe-area-inset-left, 0px));
    max-height: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.35s var(--ease), opacity 0.25s, visibility 0.25s, padding 0.35s var(--ease);
    box-shadow: var(--shadow);
    box-sizing: border-box;
    z-index: calc(var(--z-header) - 1);
  }

  .primary-nav.is-open {
    padding: 1rem max(1rem, env(safe-area-inset-right, 0px))
      max(1rem, env(safe-area-inset-bottom, 0px))
      max(1rem, env(safe-area-inset-left, 0px));
    max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px));
    max-height: calc(100vh - var(--header-h) - env(safe-area-inset-top, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .nav-item {
    width: 100%;
    max-width: 100%;
  }

  .nav-cta {
    margin: 0.75rem 0 0;
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .dropdown,
  .mega-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none !important;
    pointer-events: auto;
    display: none;
    width: 100%;
    max-width: 100%;
    left: auto;
    right: auto;
    margin-inline: 0;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
    margin: 0.25rem 0 0.5rem;
    box-sizing: border-box;
  }

  .nav-item.is-open > .dropdown,
  .nav-item.is-open > .mega-menu {
    display: block;
  }

  .nav-item.is-open > .dropdown,
  .nav-item.is-open > .mega-menu {
    max-height: min(42vh, 16.5rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
  }

  .nav-item.is-open > .dropdown {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    min-width: 0;
    max-width: 100%;
  }

  .mega-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.1rem 0.65rem;
  }

  .mega-grid a {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.12);
    font-size: 0.8rem;
    padding: 0.45rem 0.15rem;
  }

  .dropdown a {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
    padding: 0.5rem 0.45rem;
  }

  .split,
  .contact-grid,
  .service-block,
  .cta-band,
  .quote-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .quote-aside {
    order: 2;
  }

  .quote-layout .form-card {
    order: 1;
  }

  .service-block ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-block:nth-child(even) img {
    order: 0;
  }

  .intro-section .split,
  .mission-section .split {
    min-height: 0;
  }

  .split-media {
    min-height: 16.5rem;
    aspect-ratio: 16 / 10;
    margin: 0.85rem;
    border-radius: 0.9rem;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-band {
    padding: 1.35rem;
  }

  .cta-band .btn {
    width: 100%;
  }

  .form-card,
  .contact-card {
    padding: 1rem 1.05rem;
  }

  .quote-section {
    padding-top: var(--space-5);
    padding-bottom: var(--space-5);
  }
}

@media (max-width: 640px) {
  .service-grid,
  .mega-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-shapes .shape-a {
    width: 9rem;
    height: 9rem;
    opacity: 0.4;
  }

  .footer-shapes .shape-b,
  .footer-shapes .shape-c {
    opacity: 0.28;
  }

  .intro-section::before,
  .mission-section::before,
  .intro-section::after,
  .mission-section::after {
    opacity: 0.55;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 1rem; /* avoid iOS zoom on focus */
  }

  .logo-text strong {
    font-size: 0.85rem;
  }

  .logo-text span {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .hero {
    min-height: 72vh;
    min-height: 72dvh;
  }

  .hero-content {
    padding: var(--space-7) 0 var(--space-6);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: var(--space-7) 0;
  }

  .vessel-list li {
    font-size: 0.82rem;
    padding: 0.45rem 0.75rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* Small phones (Android / iPhone SE) */
@media (max-width: 400px) {
  .container {
    padding-inline: max(0.85rem, env(safe-area-inset-left, 0px))
      max(0.85rem, env(safe-area-inset-right, 0px));
  }

  h1 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .logo img {
    width: 40px;
    height: 40px;
  }

  .mega-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-card,
  .form-card,
  .contact-card,
  .cta-band {
    padding: 1rem;
  }
}

/* Maintain sticky navbar on mobile when drawer is open.
   DO NOT apply overflow:hidden to body, as it breaks position:sticky for .site-header. */
body.nav-open {
  /* Intentionally no overflow:hidden to preserve position:sticky for .site-header */
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

/* ========== Form pages polish (Contact + Quote) ========== */
.page-hero--form {
  padding: 2.5rem 0 2.75rem;
  background:
    radial-gradient(ellipse 50% 80% at 90% 10%, rgba(243, 112, 33, 0.28), transparent 55%),
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(30, 107, 154, 0.35), transparent 50%),
    linear-gradient(135deg, #061321 0%, #0a1e36 45%, #14304f 100%);
  box-shadow: none;
}

.page-hero--form h1 {
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  margin-bottom: 0.5rem;
}

.page-hero--form p {
  margin-bottom: 0;
  font-size: 0.98rem;
  max-width: 34rem;
}

.form-stage {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding: 2.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse 55% 45% at 50% 0%, rgba(243, 112, 33, 0.05), transparent 55%),
    var(--off-white);
}

/* One united half/half shell, centered in white space */
.form-stage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(215, 222, 232, 0.9);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 22px 50px rgba(10, 30, 54, 0.12),
    0 6px 18px rgba(10, 30, 54, 0.06);
}

.form-stage-grid.quote-layout,
.form-stage-grid.contact-grid {
  grid-template-columns: 1fr 1fr;
}

.card-3d {
  perspective: none;
  transform-style: flat;
}

.card-3d-inner {
  position: relative;
  border-radius: inherit;
  height: 100%;
}

.form-stage .form-card,
.form-stage .quote-aside,
.form-stage .contact-card {
  border-radius: 0;
  border: 0;
  box-shadow: none;
  transition: background 0.25s var(--ease);
  will-change: auto;
  min-width: 0;
  height: 100%;
}

.form-stage .form-card {
  background: #ffffff;
  padding: 1.35rem 1.4rem 1.4rem;
  isolation: isolate;
}

.form-stage .form-card::before {
  left: 0;
  right: 0;
  border-radius: 0;
}

.form-stage .form-card::after {
  display: none;
}

.form-stage .form-card:hover,
.form-stage .quote-aside:hover,
.form-stage .contact-card:hover {
  transform: none;
  box-shadow: none;
}

.form-stage .quote-aside,
.form-stage .contact-card {
  padding: 1.35rem 1.4rem;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.07), transparent 42%),
    linear-gradient(165deg, #061321 0%, #0f2a47 55%, #18406a 100%);
}

.aside-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.form-stage .contact-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.form-stage .contact-meta li {
  padding: 0.7rem 0;
}

.form-stage .map-placeholder {
  margin-top: 0.85rem;
  min-height: auto;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
}

.form-stage .map-placeholder svg {
  margin: 0;
}

.form-stage .form-card-head {
  margin-bottom: 0.75rem;
  padding-bottom: 0.7rem;
}

.form-stage .form-grid {
  gap: 0.5rem 0.7rem;
}

.form-stage .form-field label {
  font-size: 0.74rem;
}

.form-stage .input-shell {
  align-items: center;
}

.form-stage .input-shell::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(243, 112, 33, 0.14), rgba(255, 184, 28, 0.16));
  box-shadow: inset 0 0 0 1px rgba(243, 112, 33, 0.1);
  pointer-events: none;
  z-index: 0;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-stage .input-shell:has(textarea)::before {
  top: 0.45rem;
  transform: none;
}

.form-stage .input-shell.is-focused::before {
  transform: translateY(-50%) scale(1.06);
  box-shadow: inset 0 0 0 1px rgba(243, 112, 33, 0.22), 0 4px 10px rgba(243, 112, 33, 0.15);
}

.form-stage .input-shell:has(textarea).is-focused::before {
  transform: scale(1.06);
}

.form-stage .input-shell > svg,
.form-stage .input-shell .field-icon {
  top: 50%;
  transform: translateY(-50%);
  left: 0.62rem;
  width: 0.85rem;
  height: 0.85rem;
  max-width: 0.85rem;
  max-height: 0.85rem;
  flex: 0 0 0.85rem;
  stroke: var(--orange);
  z-index: 1;
}

.form-stage .input-shell:has(textarea) {
  align-items: flex-start;
}

.form-stage .input-shell:has(textarea) > svg,
.form-stage .input-shell:has(textarea) .field-icon {
  top: 0.7rem;
  transform: none;
}

.form-stage .form-field input,
.form-stage .form-field select,
.form-stage .form-field textarea {
  min-height: 2.35rem;
  padding: 0.48rem 0.65rem;
  border-radius: 10px;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 1px 2px rgba(10, 30, 54, 0.04);
}

.form-stage .input-shell input,
.form-stage .input-shell select,
.form-stage .input-shell textarea {
  padding-left: 2.2rem;
}

.form-stage .input-shell input[type="file"] {
  padding: 0.45rem 0.65rem 0.45rem 2.2rem;
  font-size: 0.82rem;
  line-height: 1.4;
  cursor: pointer;
}

.form-stage .input-shell input[type="file"]::file-selector-button {
  margin-right: 0.65rem;
  border: 0;
  border-radius: 8px;
  padding: 0.35rem 0.7rem;
  background: linear-gradient(135deg, var(--navy), var(--wave));
  color: var(--white);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.form-format-note {
  margin: 0.85rem 0 0;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: rgba(10, 30, 54, 0.04);
  border: 1px solid rgba(10, 30, 54, 0.08);
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.form-stage .form-field textarea {
  min-height: 3.5rem;
  padding-top: 0.55rem;
}

.form-stage .form-field input:focus,
.form-stage .form-field select:focus,
.form-stage .form-field textarea:focus {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 3px rgba(243, 112, 33, 0.14),
    0 8px 18px rgba(10, 30, 54, 0.08);
}

.form-stage .input-shell.is-focused > svg,
.form-stage .input-shell.is-focused .field-icon {
  stroke: var(--orange);
  transform: translateY(-50%) scale(1.08);
}

.form-stage .input-shell:has(textarea).is-focused > svg,
.form-stage .input-shell:has(textarea).is-focused .field-icon {
  transform: scale(1.08);
}

.form-stage .form-section-label {
  margin-top: 0.25rem;
  font-size: 0.64rem;
}

.form-stage .form-actions {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
}

.form-stage .quote-aside h2 {
  font-size: 1.2rem;
}

.form-stage .quote-steps {
  gap: 0.45rem;
}

.form-stage .quote-steps li {
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.form-stage .quote-steps li:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.09);
}

/* Entrance — animate the united shell */
.form-stage .form-stage-grid.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.form-stage .form-stage-grid.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.form-stage .quote-steps li {
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

@media (max-width: 900px) {
  .form-stage {
    margin-top: 0;
    padding: 1.75rem 0 2.5rem;
  }

  .form-stage-grid,
  .form-stage-grid.quote-layout,
  .form-stage-grid.contact-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 28rem;
    border-radius: 16px;
  }

  .form-stage .form-card {
    order: 1;
    border-bottom: 1px solid var(--border);
  }

  .form-stage .quote-aside,
  .form-stage .contact-card {
    order: 2;
  }

  .form-stage .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-stage .form-card:hover,
  .form-stage .quote-aside:hover,
  .form-stage .contact-card:hover {
    transform: none;
  }
}

@media (max-width: 640px) {
  .page-hero--form {
    padding: 1.75rem 0 2rem;
  }

  .form-stage {
    margin-top: 0;
    padding: 1.25rem 0 2rem;
  }

  .form-stage .form-card,
  .form-stage .quote-aside,
  .form-stage .contact-card {
    padding: 1rem 1rem;
    border-radius: 0;
  }

  .form-stage .form-field input,
  .form-stage .form-field select,
  .form-stage .form-field textarea {
    font-size: 1rem;
    min-height: 2.4rem;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }

  .form-stage .form-card-head h2 {
    font-size: 1.15rem;
  }

  .form-stage .form-card-head p {
    font-size: 0.8rem;
  }

  .form-stage .form-actions .btn {
    width: 100%;
  }

  .form-stage .form-hint {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-stage .reveal,
  .form-stage .quote-steps li,
  .form-stage .form-card,
  .form-stage .quote-aside,
  .form-stage .contact-card {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  width: 100%;
  max-width: 100%;
}

.blog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: linear-gradient(165deg, #ffffff 0%, #f5f8fc 100%);
  border: 1px solid rgba(215, 222, 232, 0.95);
  border-radius: 1.1rem;
  padding: 1.45rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card time {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.65rem;
}

.blog-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.blog-card h2 a {
  color: var(--navy);
}

.blog-card h2 a:hover {
  color: var(--orange);
}

.blog-card p {
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
}

.blog-card .more {
  font-weight: 600;
  color: var(--wave);
}

.blog-post {
  max-width: 46rem;
  margin-inline: auto;
}

.blog-post .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.blog-post .post-meta time {
  color: var(--orange);
  font-weight: 600;
}

.blog-post .prose h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-post .prose p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.blog-post .prose ul {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.blog-post .prose li {
  margin-bottom: 0.45rem;
}

.port-page-intro {
  max-width: 48rem;
}

.port-page-intro p {
  color: var(--text-muted);
}

.port-hub-note {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 0.85rem;
  background: rgba(30, 107, 154, 0.08);
  border: 1px solid rgba(30, 107, 154, 0.15);
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-card {
    transition: none !important;
  }

  .blog-card:hover {
    transform: none;
  }
}

/* Hero WhatsApp Action Button / Card */
.hero-whatsapp-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding: 0.52rem 1.15rem 0.52rem 0.65rem;
  background: rgba(6, 19, 33, 0.85);
  border: 1px solid rgba(230, 168, 34, 0.55);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  text-decoration: none;
  width: fit-content;
  max-width: 100%;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  cursor: pointer;
}

.hero-whatsapp-bar:hover,
.hero-whatsapp-bar:focus-visible {
  background: rgba(6, 19, 33, 0.95);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 168, 34, 0.25), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-whatsapp-bar:hover .hero-whatsapp-arrow {
  transform: translateX(3px);
  color: var(--white);
}

.hero-whatsapp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.16);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #25D366;
  flex-shrink: 0;
}

.hero-whatsapp-icon svg {
  display: block;
}

.hero-whatsapp-tag {
  color: #25D366;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-whatsapp-num {
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hero-whatsapp-arrow {
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 700;
  margin-left: 0.15rem;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

@media (max-width: 600px) {
  .hero-whatsapp-bar {
    display: inline-flex;
    justify-content: center;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.48rem 0.95rem 0.48rem 0.55rem;
    gap: 0.55rem;
    border-radius: 999px;
  }

  .hero-whatsapp-icon {
    width: 32px;
    height: 32px;
  }

  .hero-whatsapp-tag {
    font-size: 0.78rem;
  }

  .hero-whatsapp-num {
    font-size: 0.98rem;
  }

  .hero-whatsapp-arrow {
    font-size: 1rem;
  }
}

/* Keep mega-menu inside the viewport (no cut-off at bottom) */
.site-header,
.header-inner,
.primary-nav,
.nav-list,
.nav-item {
  overflow: visible;
}

.nav-item:has(> .mega-menu) {
  position: static;
}

.mega-menu {
  left: 1rem;
  right: 1rem;
  width: auto;
  max-width: min(56rem, calc(100% - 2rem));
  margin-inline: auto;
  transform: translateY(8px);
  padding: 1rem 1.15rem;
  box-sizing: border-box;
  max-height: min(70vh, calc(100dvh - var(--header-h) - 1.25rem));
  max-height: min(70vh, calc(100vh - var(--header-h) - 1.25rem));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

@media (min-width: 961px) {
  .mega-menu {
    position: fixed;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 0.35rem);
    left: max(1rem, calc((100vw - min(56rem, calc(100vw - 2rem))) / 2));
    right: max(1rem, calc((100vw - min(56rem, calc(100vw - 2rem))) / 2));
    width: auto;
    max-width: min(56rem, calc(100vw - 2rem));
    margin-inline: 0;
  }
}

.nav-item.is-open > .mega-menu,
.nav-item:hover > .mega-menu {
  transform: translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.25rem 1.25rem;
  width: 100%;
  max-width: 100%;
}

.mega-grid a {
  display: block;
  padding: 0.65rem 0.25rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  line-height: 1.35;
  min-width: 0;
}

.mega-grid a:hover {
  color: var(--orange);
}

.mega-note {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 42rem);
  min-height: min(88dvh, 42rem);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-deep);
  width: 100%;
  max-width: 100%;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 19, 33, 0.88) 0%,
    rgba(10, 30, 54, 0.62) 48%,
    rgba(10, 30, 54, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--space-8) 0 var(--space-7);
  max-width: min(40rem, 100%);
  width: 100%;
}

.hero-brand {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  color: var(--gold);
  margin-bottom: var(--space-3);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-5);
  max-width: 100%;
}

.hero-actions .btn {
  max-width: 100%;
}

@keyframes heroZoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08);
  }
}

/* Sections */
.section {
  padding: var(--space-8) 0;
}

.section-alt {
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, rgba(243, 112, 33, 0.05), transparent 50%),
    var(--off-white);
}

.section-navy {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(243, 112, 33, 0.22), transparent 55%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(30, 107, 154, 0.35), transparent 50%),
    linear-gradient(135deg, #061321 0%, var(--navy) 42%, var(--navy-mid) 100%);
  color: var(--white);
}

.section-navy::before,
.section-navy::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 1.75rem;
  filter: blur(0.5px);
}

.section-navy::before {
  width: 14rem;
  height: 14rem;
  top: -4rem;
  right: 8%;
  background: linear-gradient(145deg, rgba(255, 184, 28, 0.28), rgba(243, 112, 33, 0.08));
  transform: rotate(28deg) skewX(-8deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  opacity: 0.55;
}

.section-navy::after {
  width: 10rem;
  height: 10rem;
  bottom: -3rem;
  left: 6%;
  background: linear-gradient(160deg, rgba(58, 143, 196, 0.35), rgba(10, 30, 54, 0.1));
  transform: rotate(-18deg);
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.08);
  opacity: 0.5;
}

.section-navy .container {
  position: relative;
  z-index: 1;
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-head {
  max-width: 40rem;
  margin-bottom: var(--space-6);
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-navy .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--space-3);
}

.section-navy .eyebrow {
  color: var(--gold);
}

/* Intro / mission panels */
.intro-section,
.mission-section {
  position: relative;
  overflow: hidden;
  padding: clamp(3.25rem, 7vw, 5.25rem) 0;
  background:
    radial-gradient(ellipse 45% 50% at 0% 20%, rgba(243, 112, 33, 0.07), transparent 55%),
    radial-gradient(ellipse 40% 45% at 100% 80%, rgba(30, 107, 154, 0.08), transparent 50%),
    var(--white);
}

.intro-section::before,
.mission-section::before {
  content: "";
  position: absolute;
  width: 12rem;
  height: 12rem;
  top: -3rem;
  right: 4%;
  border-radius: 1.5rem;
  background: linear-gradient(145deg, rgba(243, 112, 33, 0.18), rgba(255, 184, 28, 0.08));
  transform: rotate(24deg) skewX(-6deg);
  box-shadow: 20px 30px 60px rgba(10, 30, 54, 0.08);
  pointer-events: none;
}

.intro-section::after,
.mission-section::after {
  content: "";
  position: absolute;
  width: 8rem;
  height: 8rem;
  bottom: 8%;
  left: 3%;
  border-radius: 1.25rem;
  background: linear-gradient(160deg, rgba(30, 107, 154, 0.16), rgba(10, 30, 54, 0.04));
  transform: rotate(-16deg);
  pointer-events: none;
}

.intro-section > .container,
.mission-section > .container {
  position: relative;
  z-index: 1;
  max-width: 64rem;
  margin-inline: auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  min-height: 22rem;
  background: linear-gradient(165deg, #ffffff 0%, #f5f8fc 100%);
  border: 1px solid rgba(215, 222, 232, 0.95);
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 44px rgba(10, 30, 54, 0.08);
}

.split > * {
  min-width: 0;
  min-height: 0;
}

.split-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.split-copy::before,
.split-copy::after {
  display: none;
}

.split-copy h2 {
  margin-bottom: 0.85rem;
}

.split-copy p {
  color: var(--text-muted);
  line-height: 1.7;
}

.split-copy p:last-of-type {
  margin-bottom: 1.25rem;
}

.split-media {
  position: relative;
  align-self: stretch;
  min-height: 22rem;
  margin: 1rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 12px 32px rgba(10, 30, 54, 0.14);
  transform: none;
  background: linear-gradient(160deg, #dfe7f0, #c8d4e2);
}

.split-media::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: inherit;
  z-index: 2;
  pointer-events: none;
}

.split-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 36%;
  background: linear-gradient(transparent, rgba(10, 30, 54, 0.22));
  pointer-events: none;
  z-index: 1;
  border-radius: 0 0 1rem 1rem;
}

.split-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
  transition: transform 0.5s var(--ease);
}

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
  max-width: 100%;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #ffffff 0%, #f5f8fc 100%);
  border: 1px solid rgba(10, 30, 54, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  min-width: 0;
  max-width: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s;
}

.service-grid .service-card.reveal:nth-child(1),
.feature-grid .service-card.reveal:nth-child(1),
.service-grid > .reveal:nth-child(1) {
  transition-delay: 0.05s;
}

.service-grid .service-card.reveal:nth-child(2),
.feature-grid .service-card.reveal:nth-child(2),
.service-grid > .reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.service-grid .service-card.reveal:nth-child(3),
.feature-grid .service-card.reveal:nth-child(3),
.service-grid > .reveal:nth-child(3) {
  transition-delay: 0.15s;
}

.service-grid .service-card.reveal:nth-child(4),
.feature-grid .service-card.reveal:nth-child(4),
.service-grid > .reveal:nth-child(4) {
  transition-delay: 0.2s;
}

.service-grid .service-card.reveal:nth-child(5),
.service-grid > .reveal:nth-child(5) {
  transition-delay: 0.25s;
}

.service-grid .service-card.reveal:nth-child(6),
.service-grid > .reveal:nth-child(6) {
  transition-delay: 0.3s;
}

.service-grid .service-card.reveal:nth-child(7),
.service-grid > .reveal:nth-child(7) {
  transition-delay: 0.32s;
}

.service-grid .service-card.reveal:nth-child(8),
.service-grid > .reveal:nth-child(8) {
  transition-delay: 0.34s;
}

.service-grid .service-card.reveal:nth-child(9),
.service-grid > .reveal:nth-child(9) {
  transition-delay: 0.36s;
}

.service-grid .service-card.reveal:nth-child(n + 10),
.service-grid > .reveal:nth-child(n + 10) {
  transition-delay: 0.38s;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.5), transparent 40%);
  pointer-events: none;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10, 30, 54, 0.18);
}

.service-card--expand {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 11.5rem;
}

.service-card--expand:hover,
.service-card--expand.is-open {
  border-color: rgba(243, 112, 33, 0.35);
  box-shadow: 0 14px 36px rgba(10, 30, 54, 0.12);
}

.service-card--expand.is-open {
  background: linear-gradient(165deg, #ffffff 0%, #eef3f8 100%);
  transform: translateY(-2px);
}

.service-card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card--expand .service-card-top {
  flex: 1;
}

.service-card-hint {
  margin-top: auto;
  padding-top: 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wave);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-card-hint::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: rgba(30, 107, 154, 0.1);
  color: var(--navy);
  font-size: 0.85rem;
  line-height: 1;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.service-card--expand.is-open .service-card-hint::after {
  content: "−";
  background: rgba(243, 112, 33, 0.15);
  color: var(--orange);
  transform: rotate(180deg);
}

.service-card--expand.is-open .service-card-hint {
  color: var(--orange);
}

.service-card-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid transparent;
  transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease),
    margin-top 0.3s var(--ease), padding-top 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.service-card--expand.is-open .service-card-body {
  max-height: 22rem;
  opacity: 1;
  margin-top: 0.85rem;
  padding-top: 1rem;
  border-top-color: rgba(10, 30, 54, 0.08);
}

.service-icon {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--gold);
  margin-bottom: var(--space-4);
  box-shadow: 0 10px 22px rgba(10, 30, 54, 0.18);
}

.service-icon svg,
.meta-icon svg,
.form-card-icon svg,
.quote-aside-badge svg,
.trust-chips svg,
.map-placeholder svg,
.step-num + div svg {
  width: 1.35rem;
  height: 1.35rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: static;
  left: auto;
}

.meta-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: var(--gold);
}

.form-card-icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.quote-aside-badge svg,
.trust-chips svg {
  width: 0.95rem;
  height: 0.95rem;
}

.map-placeholder svg {
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 auto 0.5rem;
  stroke: var(--gold);
  display: block;
}

.btn svg.btn-icon,
.btn svg.field-icon {
  width: 1.1rem;
  height: 1.1rem;
  position: static;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: var(--space-3);
}

.service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(10, 30, 54, 0.06);
  font-size: 0.9rem;
  color: var(--text);
}

.service-card li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(145deg, var(--orange), var(--gold));
  box-shadow: 0 0 0 3px rgba(243, 112, 33, 0.12);
}

.service-card li:last-child {
  border-bottom: 0;
}

.service-card a.more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: var(--space-4);
  font-weight: 600;
  color: var(--orange);
}

/* Why / features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  width: 100%;
  max-width: 100%;
}

.feature-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  min-width: 0;
}

.feature-item .dot {
  width: 0.65rem;
  height: 0.65rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
}

.feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  font-family: var(--font-body);
  font-weight: 700;
}

.feature-item h3:only-child,
.feature-item div > h3:last-child {
  margin-bottom: 0;
}

.feature-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.25rem;
  max-width: 48rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.65rem 0.85rem;
  background: #fff;
  border: 1px solid rgba(10, 30, 54, 0.1);
  border-radius: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
}

.check-list li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(145deg, var(--orange), var(--gold));
}

@media (max-width: 640px) {
  .check-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Vessel chips */
.vessel-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.vessel-list li {
  padding: 0.55rem 0.95rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}

/* CTA band */
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(120deg, var(--navy) 0%, #1a3d63 55%, #2a4f78 100%);
  border-radius: var(--radius-lg);
  color: var(--white);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.cta-band > * {
  min-width: 0;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

/* Page hero (inner) */
.page-hero {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy-mid));
  color: var(--white);
  padding: var(--space-7) 0 var(--space-6);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.page-hero::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -40%;
  width: min(28rem, 80vw);
  height: min(28rem, 80vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 112, 33, 0.28), transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  color: var(--white);
  position: relative;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 38rem;
  position: relative;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0 var(--space-4);
  padding: 0;
  font-size: 0.88rem;
  position: relative;
}

.breadcrumb a {
  color: var(--gold);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.55);
}

/* Service detail blocks */
.service-block {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.75rem, 3vw, 2.75rem) 0;
  border-bottom: 1px solid var(--border);
  width: 100%;
  max-width: 100%;
}

.service-block > * {
  min-width: 0;
}

.service-block:nth-child(even) img {
  order: 2;
}

.service-block:last-child {
  border-bottom: 0;
}

.service-block img {
  width: 100%;
  height: clamp(16rem, 28vw, 22rem);
  object-fit: cover;
  border-radius: 1.1rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.45s var(--ease);
}

.service-block {
  overflow: visible;
}

.service-block > img {
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .service-block img:hover {
    transform: scale(1.03);
  }

  .split-media:hover img {
    transform: scale(1.03);
  }
}

.service-block ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.service-block li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: linear-gradient(145deg, #f7f9fc, #eef3f8);
  border: 1px solid rgba(215, 222, 232, 0.9);
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--text);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.service-block li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.28rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(145deg, var(--orange), var(--gold));
  box-shadow: 0 0 0 3px rgba(243, 112, 33, 0.12);
}

/* Contact / forms */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.25rem;
  width: 100%;
  max-width: 56rem;
  margin-inline: auto;
}

.contact-grid > * {
  min-width: 0;
}

.contact-card {
  background: linear-gradient(165deg, var(--navy) 0%, #123152 55%, #18406a 100%);
  color: var(--white);
  border-radius: 14px;
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 112, 33, 0.22), transparent 70%);
  top: -4rem;
  right: -3rem;
  pointer-events: none;
}

.contact-card h2 {
  color: var(--white);
  position: relative;
}

.contact-card a {
  color: var(--gold);
}

.contact-meta {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: 0;
  position: relative;
}

.contact-meta li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-meta li:last-child {
  border-bottom: 0;
}

.contact-meta .meta-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}


.contact-meta strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.map-placeholder {
  margin-top: var(--space-5);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(20, 48, 79, 0.9), rgba(30, 107, 154, 0.85));
  min-height: 10rem;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
}

/* Quote page shell */
.quote-section {
  position: relative;
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
  background:
    radial-gradient(ellipse 60% 50% at 10% 0%, rgba(243, 112, 33, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(30, 107, 154, 0.08), transparent 50%),
    var(--off-white);
  overflow: hidden;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 1.15rem;
  align-items: start;
  width: 100%;
  max-width: 56rem;
  margin-inline: auto;
}

.quote-layout > * {
  min-width: 0;
}

.quote-aside {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 50%, #163a5c 100%);
  color: var(--white);
  border-radius: 14px;
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.quote-aside::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 184, 28, 0.25), transparent 70%);
  pointer-events: none;
}

.quote-aside-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.quote-aside-badge svg {
  width: 0.95rem;
  height: 0.95rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quote-aside h2 {
  color: var(--white);
  margin-bottom: 0.4rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.quote-aside > p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0.95rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.quote-steps {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  position: relative;
}

.quote-steps li {
  display: grid;
  grid-template-columns: 1.9rem 1fr;
  gap: 0.65rem;
  align-items: start;
  padding: 0.6rem 0.65rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-num {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, #ff8a3d 0%, var(--orange) 45%, #ffb81c 100%);
  color: var(--white);
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1;
  text-align: center;
  box-shadow: 0 4px 10px rgba(243, 112, 33, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.quote-steps strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  margin-bottom: 0.1rem;
  letter-spacing: -0.01em;
}

.quote-steps span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  line-height: 1.4;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.trust-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.trust-chips svg {
  width: 0.95rem;
  height: 0.95rem;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-card {
  background: var(--white);
  border: 1px solid rgba(215, 222, 232, 0.85);
  border-radius: 14px;
  padding: 1.15rem 1.25rem 1.25rem;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
}

.form-card::before {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 0;
  height: 2px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--orange), var(--gold), var(--wave));
}

.form-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--sand);
}

.form-card-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(243, 112, 33, 0.14), rgba(255, 184, 28, 0.2));
  color: var(--orange);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(243, 112, 33, 0.12);
}

.form-card-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-card-head h2 {
  margin-bottom: 0.15rem;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

.form-card-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.form-section-label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.15rem 0 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wave);
}

.form-section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.75rem;
  width: 100%;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--navy);
}

.form-field .req {
  color: var(--orange);
}

.input-shell {
  position: relative;
  display: flex;
  align-items: center;
}

.input-shell > svg,
.input-shell .field-icon {
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.95rem;
  height: 0.95rem;
  max-width: 0.95rem;
  max-height: 0.95rem;
  flex: 0 0 0.95rem;
  overflow: visible;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  transition: stroke 0.2s;
  z-index: 1;
  box-sizing: content-box;
}

.input-shell:has(textarea) > svg,
.input-shell:has(textarea) .field-icon {
  top: 0.7rem;
  transform: none;
}

.input-shell:focus-within > svg,
.input-shell:focus-within .field-icon {
  stroke: var(--orange);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  font-size: 0.9375rem; /* 15px — compact but still avoids most iOS zoom */
  color: var(--text);
  background: #fbfcfe;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: inset 0 1px 1px rgba(10, 30, 54, 0.03);
  min-height: 2.45rem;
}

.input-shell input,
.input-shell select,
.input-shell textarea {
  padding-left: 2.15rem;
}

.form-field textarea {
  min-height: 4.5rem;
  resize: vertical;
  padding-top: 0.6rem;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: #c5d0de;
  background: var(--white);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(243, 112, 33, 0.55);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(243, 112, 33, 0.12);
}

.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.1);
}

.field-error {
  color: var(--danger);
  font-size: 0.72rem;
  min-height: 0;
  line-height: 1.3;
}

.form-field.is-invalid .field-error {
  min-height: 0.95rem;
}

.form-notice {
  display: none;
  margin-top: 0.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: 9px;
  font-size: 0.84rem;
  box-shadow: var(--shadow-sm);
}

.form-notice.is-visible {
  display: block;
}

.form-notice.info {
  background: linear-gradient(135deg, #eef6ff, #f7fbff);
  color: var(--navy);
  border: 1px solid #c9ddf5;
}

.form-notice.error {
  background: #fff1f0;
  color: var(--danger);
  border: 1px solid #f5c6c2;
}

.form-actions {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  padding-top: 0.85rem;
  border-top: 1px solid var(--sand);
}

.form-actions .btn {
  min-height: 2.45rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 18rem;
  line-height: 1.4;
}

.cta-band {
  box-shadow: var(--shadow-lg);
}

.split-media {
  box-shadow: var(--shadow-md);
}

.page-hero {
  box-shadow: 0 12px 40px rgba(10, 30, 54, 0.18);
}

/* SEO / prose */
.prose {
  max-width: 48rem;
}

.prose h2 {
  margin-top: var(--space-6);
}

.prose h3 {
  margin-top: var(--space-5);
  font-family: var(--font-body);
}

.prose ul {
  columns: 1;
}

.prose li {
  margin-bottom: 0.3rem;
}

.port-stub {
  background: var(--off-white);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.port-stub p {
  color: var(--text-muted);
  max-width: 32rem;
  margin-inline: auto;
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 40% 50% at 100% 0%, rgba(243, 112, 33, 0.2), transparent 55%),
    radial-gradient(ellipse 35% 45% at 0% 100%, rgba(30, 107, 154, 0.28), transparent 50%),
    linear-gradient(160deg, #04101c 0%, #0a1e36 48%, #102a42 100%);
  color: rgba(255, 255, 255, 0.82);
  padding: clamp(3rem, 6vw, 4.5rem) 0 max(var(--space-5), env(safe-area-inset-bottom, 0px));
  width: 100%;
  max-width: 100%;
}

.footer-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.footer-shapes .shape {
  position: absolute;
  display: block;
  border-radius: 1.35rem;
  transform-style: preserve-3d;
  will-change: transform;
}

.footer-shapes .shape-a {
  width: 14rem;
  height: 14rem;
  top: -4rem;
  right: 8%;
  background: linear-gradient(145deg, rgba(255, 184, 28, 0.28), rgba(243, 112, 33, 0.08));
  transform: perspective(600px) rotateX(18deg) rotateY(-22deg) rotate(18deg) skewX(-8deg);
  box-shadow:
    18px 28px 50px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  opacity: 0.7;
  animation: shapeDriftA 18s var(--ease) infinite alternate;
}

.footer-shapes .shape-b {
  width: 9.5rem;
  height: 9.5rem;
  bottom: 18%;
  left: 4%;
  background: linear-gradient(160deg, rgba(58, 143, 196, 0.35), rgba(10, 30, 54, 0.1));
  transform: perspective(500px) rotateX(-12deg) rotateY(20deg) rotate(-16deg);
  box-shadow: 14px 22px 40px rgba(0, 0, 0, 0.22);
  opacity: 0.55;
  animation: shapeDriftB 20s var(--ease) infinite alternate;
}

.footer-shapes .shape-c {
  width: 6.5rem;
  height: 6.5rem;
  top: 38%;
  right: 22%;
  background: linear-gradient(135deg, rgba(243, 112, 33, 0.32), rgba(255, 184, 28, 0.08));
  transform: perspective(400px) rotateX(24deg) rotateZ(28deg);
  box-shadow: 10px 16px 32px rgba(0, 0, 0, 0.2);
  opacity: 0.45;
  animation: shapeDriftC 16s var(--ease) infinite alternate;
}

@keyframes shapeDriftA {
  from {
    transform: perspective(600px) rotateX(18deg) rotateY(-22deg) rotate(18deg) skewX(-8deg) translateY(0);
  }
  to {
    transform: perspective(600px) rotateX(22deg) rotateY(-18deg) rotate(22deg) skewX(-6deg) translateY(12px);
  }
}

@keyframes shapeDriftB {
  from {
    transform: perspective(500px) rotateX(-12deg) rotateY(20deg) rotate(-16deg) translateX(0);
  }
  to {
    transform: perspective(500px) rotateX(-8deg) rotateY(24deg) rotate(-12deg) translateX(10px);
  }
}

@keyframes shapeDriftC {
  from {
    transform: perspective(400px) rotateX(24deg) rotateZ(28deg) translateY(0);
  }
  to {
    transform: perspective(400px) rotateX(18deg) rotateZ(34deg) translateY(-10px);
  }
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr));
  gap: 1.75rem 1.25rem;
  margin-bottom: var(--space-6);
  width: 100%;
  max-width: 100%;
}

.footer-grid > * {
  min-width: 0;
}

.footer-brand {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-footer h3 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s, transform 0.2s;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-transform: none;
  margin-bottom: 0.65rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
  overflow-wrap: anywhere;
  font-size: 0.92rem;
}

.footer-links a {
  display: inline-block;
}

.footer-links a:hover {
  transform: translateX(3px);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .reveal,
  .btn,
  .service-card,
  .dropdown,
  .mega-menu,
  .footer-shapes .shape,
  .service-block img,
  .split-media img,
  .service-card-body,
  .service-card-hint::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .service-grid .service-card.reveal,
  .feature-grid .service-card.reveal,
  .service-grid > .reveal {
    transition-delay: 0s !important;
  }

  .service-card--expand .service-card-body {
    max-height: none;
    opacity: 1;
    margin-top: 0.85rem;
    padding-top: 1rem;
    border-top-color: rgba(10, 30, 54, 0.08);
  }

  .service-card-hint {
    display: none;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .mega-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1rem;
  }
}

@media (max-width: 960px) {
  .site-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: var(--z-header);
  }

  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .primary-nav {
    position: fixed;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: stretch;
    padding: 0 max(1rem, env(safe-area-inset-right, 0px))
      0
      max(1rem, env(safe-area-inset-left, 0px));
    max-height: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.35s var(--ease), opacity 0.25s, visibility 0.25s, padding 0.35s var(--ease);
    box-shadow: var(--shadow);
    box-sizing: border-box;
    z-index: calc(var(--z-header) - 1);
  }

  .primary-nav.is-open {
    padding: 1rem max(1rem, env(safe-area-inset-right, 0px))
      max(1rem, env(safe-area-inset-bottom, 0px))
      max(1rem, env(safe-area-inset-left, 0px));
    max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px));
    max-height: calc(100vh - var(--header-h) - env(safe-area-inset-top, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .nav-item {
    width: 100%;
    max-width: 100%;
  }

  .nav-cta {
    margin: 0.75rem 0 0;
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .dropdown,
  .mega-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none !important;
    pointer-events: auto;
    display: none;
    width: 100%;
    max-width: 100%;
    left: auto;
    right: auto;
    margin-inline: 0;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
    margin: 0.25rem 0 0.5rem;
    box-sizing: border-box;
  }

  .nav-item.is-open > .dropdown,
  .nav-item.is-open > .mega-menu {
    display: block;
  }

  .nav-item.is-open > .dropdown,
  .nav-item.is-open > .mega-menu {
    max-height: min(42vh, 16.5rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
  }

  .nav-item.is-open > .dropdown {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    min-width: 0;
    max-width: 100%;
  }

  .mega-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.1rem 0.65rem;
  }

  .mega-grid a {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.12);
    font-size: 0.8rem;
    padding: 0.45rem 0.15rem;
  }

  .dropdown a {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
    padding: 0.5rem 0.45rem;
  }

  .split,
  .contact-grid,
  .service-block,
  .cta-band,
  .quote-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .quote-aside {
    order: 2;
  }

  .quote-layout .form-card {
    order: 1;
  }

  .service-block ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-block:nth-child(even) img {
    order: 0;
  }

  .intro-section .split,
  .mission-section .split {
    min-height: 0;
  }

  .split-media {
    min-height: 16.5rem;
    aspect-ratio: 16 / 10;
    margin: 0.85rem;
    border-radius: 0.9rem;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-band {
    padding: 1.35rem;
  }

  .cta-band .btn {
    width: 100%;
  }

  .form-card,
  .contact-card {
    padding: 1rem 1.05rem;
  }

  .quote-section {
    padding-top: var(--space-5);
    padding-bottom: var(--space-5);
  }
}

@media (max-width: 640px) {
  .service-grid,
  .mega-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-shapes .shape-a {
    width: 9rem;
    height: 9rem;
    opacity: 0.4;
  }

  .footer-shapes .shape-b,
  .footer-shapes .shape-c {
    opacity: 0.28;
  }

  .intro-section::before,
  .mission-section::before,
  .intro-section::after,
  .mission-section::after {
    opacity: 0.55;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 1rem; /* avoid iOS zoom on focus */
  }

  .logo-text strong {
    font-size: 0.85rem;
  }

  .logo-text span {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .hero {
    min-height: 72vh;
    min-height: 72dvh;
  }

  .hero-content {
    padding: var(--space-7) 0 var(--space-6);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: var(--space-7) 0;
  }

  .vessel-list li {
    font-size: 0.82rem;
    padding: 0.45rem 0.75rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* Small phones (Android / iPhone SE) */
@media (max-width: 400px) {
  .container {
    padding-inline: max(0.85rem, env(safe-area-inset-left, 0px))
      max(0.85rem, env(safe-area-inset-right, 0px));
  }

  h1 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .logo img {
    width: 40px;
    height: 40px;
  }

  .mega-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-card,
  .form-card,
  .contact-card,
  .cta-band {
    padding: 1rem;
  }
}

/* Maintain sticky navbar on mobile when drawer is open.
   DO NOT apply overflow:hidden to body, as it breaks position:sticky for .site-header. */
body.nav-open {
  /* Intentionally no overflow:hidden to preserve position:sticky for .site-header */
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

/* ========== Form pages polish (Contact + Quote) ========== */
.page-hero--form {
  padding: 2.5rem 0 2.75rem;
  background:
    radial-gradient(ellipse 50% 80% at 90% 10%, rgba(243, 112, 33, 0.28), transparent 55%),
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(30, 107, 154, 0.35), transparent 50%),
    linear-gradient(135deg, #061321 0%, #0a1e36 45%, #14304f 100%);
  box-shadow: none;
}

.page-hero--form h1 {
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  margin-bottom: 0.5rem;
}

.page-hero--form p {
  margin-bottom: 0;
  font-size: 0.98rem;
  max-width: 34rem;
}

.form-stage {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding: 2.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse 55% 45% at 50% 0%, rgba(243, 112, 33, 0.05), transparent 55%),
    var(--off-white);
}

/* One united half/half shell, centered in white space */
.form-stage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(215, 222, 232, 0.9);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 22px 50px rgba(10, 30, 54, 0.12),
    0 6px 18px rgba(10, 30, 54, 0.06);
}

.form-stage-grid.quote-layout,
.form-stage-grid.contact-grid {
  grid-template-columns: 1fr 1fr;
}

.card-3d {
  perspective: none;
  transform-style: flat;
}

.card-3d-inner {
  position: relative;
  border-radius: inherit;
  height: 100%;
}

.form-stage .form-card,
.form-stage .quote-aside,
.form-stage .contact-card {
  border-radius: 0;
  border: 0;
  box-shadow: none;
  transition: background 0.25s var(--ease);
  will-change: auto;
  min-width: 0;
  height: 100%;
}

.form-stage .form-card {
  background: #ffffff;
  padding: 1.35rem 1.4rem 1.4rem;
  isolation: isolate;
}

.form-stage .form-card::before {
  left: 0;
  right: 0;
  border-radius: 0;
}

.form-stage .form-card::after {
  display: none;
}

.form-stage .form-card:hover,
.form-stage .quote-aside:hover,
.form-stage .contact-card:hover {
  transform: none;
  box-shadow: none;
}

.form-stage .quote-aside,
.form-stage .contact-card {
  padding: 1.35rem 1.4rem;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.07), transparent 42%),
    linear-gradient(165deg, #061321 0%, #0f2a47 55%, #18406a 100%);
}

.aside-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.form-stage .contact-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.form-stage .contact-meta li {
  padding: 0.7rem 0;
}

.form-stage .map-placeholder {
  margin-top: 0.85rem;
  min-height: auto;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
}

.form-stage .map-placeholder svg {
  margin: 0;
}

.form-stage .form-card-head {
  margin-bottom: 0.75rem;
  padding-bottom: 0.7rem;
}

.form-stage .form-grid {
  gap: 0.5rem 0.7rem;
}

.form-stage .form-field label {
  font-size: 0.74rem;
}

.form-stage .input-shell {
  align-items: center;
}

.form-stage .input-shell::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(243, 112, 33, 0.14), rgba(255, 184, 28, 0.16));
  box-shadow: inset 0 0 0 1px rgba(243, 112, 33, 0.1);
  pointer-events: none;
  z-index: 0;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-stage .input-shell:has(textarea)::before {
  top: 0.45rem;
  transform: none;
}

.form-stage .input-shell.is-focused::before {
  transform: translateY(-50%) scale(1.06);
  box-shadow: inset 0 0 0 1px rgba(243, 112, 33, 0.22), 0 4px 10px rgba(243, 112, 33, 0.15);
}

.form-stage .input-shell:has(textarea).is-focused::before {
  transform: scale(1.06);
}

.form-stage .input-shell > svg,
.form-stage .input-shell .field-icon {
  top: 50%;
  transform: translateY(-50%);
  left: 0.62rem;
  width: 0.85rem;
  height: 0.85rem;
  max-width: 0.85rem;
  max-height: 0.85rem;
  flex: 0 0 0.85rem;
  stroke: var(--orange);
  z-index: 1;
}

.form-stage .input-shell:has(textarea) {
  align-items: flex-start;
}

.form-stage .input-shell:has(textarea) > svg,
.form-stage .input-shell:has(textarea) .field-icon {
  top: 0.7rem;
  transform: none;
}

.form-stage .form-field input,
.form-stage .form-field select,
.form-stage .form-field textarea {
  min-height: 2.35rem;
  padding: 0.48rem 0.65rem;
  border-radius: 10px;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 1px 2px rgba(10, 30, 54, 0.04);
}

.form-stage .input-shell input,
.form-stage .input-shell select,
.form-stage .input-shell textarea {
  padding-left: 2.2rem;
}

.form-stage .input-shell input[type="file"] {
  padding: 0.45rem 0.65rem 0.45rem 2.2rem;
  font-size: 0.82rem;
  line-height: 1.4;
  cursor: pointer;
}

.form-stage .input-shell input[type="file"]::file-selector-button {
  margin-right: 0.65rem;
  border: 0;
  border-radius: 8px;
  padding: 0.35rem 0.7rem;
  background: linear-gradient(135deg, var(--navy), var(--wave));
  color: var(--white);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.form-format-note {
  margin: 0.85rem 0 0;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: rgba(10, 30, 54, 0.04);
  border: 1px solid rgba(10, 30, 54, 0.08);
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.form-stage .form-field textarea {
  min-height: 3.5rem;
  padding-top: 0.55rem;
}

.form-stage .form-field input:focus,
.form-stage .form-field select:focus,
.form-stage .form-field textarea:focus {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 3px rgba(243, 112, 33, 0.14),
    0 8px 18px rgba(10, 30, 54, 0.08);
}

.form-stage .input-shell.is-focused > svg,
.form-stage .input-shell.is-focused .field-icon {
  stroke: var(--orange);
  transform: translateY(-50%) scale(1.08);
}

.form-stage .input-shell:has(textarea).is-focused > svg,
.form-stage .input-shell:has(textarea).is-focused .field-icon {
  transform: scale(1.08);
}

.form-stage .form-section-label {
  margin-top: 0.25rem;
  font-size: 0.64rem;
}

.form-stage .form-actions {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
}

.form-stage .quote-aside h2 {
  font-size: 1.2rem;
}

.form-stage .quote-steps {
  gap: 0.45rem;
}

.form-stage .quote-steps li {
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.form-stage .quote-steps li:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.09);
}

/* Entrance — animate the united shell */
.form-stage .form-stage-grid.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.form-stage .form-stage-grid.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.form-stage .quote-steps li {
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

@media (max-width: 900px) {
  .form-stage {
    margin-top: 0;
    padding: 1.75rem 0 2.5rem;
  }

  .form-stage-grid,
  .form-stage-grid.quote-layout,
  .form-stage-grid.contact-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 28rem;
    border-radius: 16px;
  }

  .form-stage .form-card {
    order: 1;
    border-bottom: 1px solid var(--border);
  }

  .form-stage .quote-aside,
  .form-stage .contact-card {
    order: 2;
  }

  .form-stage .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-stage .form-card:hover,
  .form-stage .quote-aside:hover,
  .form-stage .contact-card:hover {
    transform: none;
  }
}

@media (max-width: 640px) {
  .page-hero--form {
    padding: 1.75rem 0 2rem;
  }

  .form-stage {
    margin-top: 0;
    padding: 1.25rem 0 2rem;
  }

  .form-stage .form-card,
  .form-stage .quote-aside,
  .form-stage .contact-card {
    padding: 1rem 1rem;
    border-radius: 0;
  }

  .form-stage .form-field input,
  .form-stage .form-field select,
  .form-stage .form-field textarea {
    font-size: 1rem;
    min-height: 2.4rem;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }

  .form-stage .form-card-head h2 {
    font-size: 1.15rem;
  }

  .form-stage .form-card-head p {
    font-size: 0.8rem;
  }

  .form-stage .form-actions .btn {
    width: 100%;
  }

  .form-stage .form-hint {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-stage .reveal,
  .form-stage .quote-steps li,
  .form-stage .form-card,
  .form-stage .quote-aside,
  .form-stage .contact-card {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  width: 100%;
  max-width: 100%;
}

.blog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: linear-gradient(165deg, #ffffff 0%, #f5f8fc 100%);
  border: 1px solid rgba(215, 222, 232, 0.95);
  border-radius: 1.1rem;
  padding: 1.45rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card time {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.65rem;
}

.blog-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.blog-card h2 a {
  color: var(--navy);
}

.blog-card h2 a:hover {
  color: var(--orange);
}

.blog-card p {
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
}

.blog-card .more {
  font-weight: 600;
  color: var(--wave);
}

.blog-post {
  max-width: 46rem;
  margin-inline: auto;
}

.blog-post .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.blog-post .post-meta time {
  color: var(--orange);
  font-weight: 600;
}

.blog-post .prose h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-post .prose p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.blog-post .prose ul {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.blog-post .prose li {
  margin-bottom: 0.45rem;
}

.port-page-intro {
  max-width: 48rem;
}

.port-page-intro p {
  color: var(--text-muted);
}

.port-hub-note {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 0.85rem;
  background: rgba(30, 107, 154, 0.08);
  border: 1px solid rgba(30, 107, 154, 0.15);
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-card {
    transition: none !important;
  }

  .blog-card:hover {
    transform: none;
  }
}

/* Hero WhatsApp Action Card / Button */
.hero-whatsapp-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
  padding: 0.65rem 1.15rem;
  background: rgba(6, 19, 33, 0.85);
  border: 1px solid rgba(230, 168, 34, 0.55);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  text-decoration: none;
  width: fit-content;
  max-width: 100%;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  cursor: pointer;
}

.hero-whatsapp-bar:hover,
.hero-whatsapp-bar:focus-visible {
  background: rgba(6, 19, 33, 0.95);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 168, 34, 0.25), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-whatsapp-bar:hover .hero-whatsapp-arrow {
  transform: translateX(3px);
  color: var(--white);
}

.hero-whatsapp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.16);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #25D366;
  flex-shrink: 0;
}

.hero-whatsapp-icon svg {
  display: block;
}

.hero-whatsapp-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  text-align: left;
}

.hero-whatsapp-headline {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.hero-whatsapp-tag {
  color: #25D366;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-whatsapp-num {
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hero-whatsapp-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.25;
}

.hero-whatsapp-arrow {
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 700;
  margin-left: 0.25rem;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

@media (max-width: 600px) {
  .hero-whatsapp-bar {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 0.95rem;
    gap: 0.75rem;
    border-radius: 12px;
  }

  .hero-whatsapp-icon {
    width: 38px;
    height: 38px;
  }

  .hero-whatsapp-tag {
    font-size: 0.76rem;
  }

  .hero-whatsapp-num {
    font-size: 0.98rem;
  }

  .hero-whatsapp-sub {
    font-size: 0.74rem;
  }
}


/* Ensure prose content is always visible */
.prose.reveal,
.prose {
  opacity: 1 !important;
  transform: none !important;
}

/* Centered Ports Mega Menu */
@media (min-width: 961px) {
  .mega-menu {
    position: fixed !important;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 0.35rem) !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) translateY(8px) !important;
    width: min(58rem, calc(100vw - 2rem)) !important;
    max-width: calc(100vw - 2rem) !important;
    margin-inline: 0 !important;
  }

  .nav-item.is-open > .mega-menu,
  .nav-item:hover > .mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
    pointer-events: auto !important;
  }
}

/* Contact Us Page Google Maps Section */
.port-map-section {
  padding-top: 0;
  padding-bottom: 4rem;
}
.map-embed-wrapper {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(10, 30, 54, 0.12);
  border: 1px solid var(--border);
}
.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


/* Footer Contact Icons */
.footer-links-icons {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links-icons li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0;
  min-width: 0; /* Allow flex children to shrink below content size */
}

.footer-links-icons li svg.footer-icon {
  width: 1.1rem;
  height: 1.1rem;
  min-width: 1.1rem;
  flex-shrink: 0;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 0.2rem;
}

.footer-links-icons li span,
.footer-links-icons li a {
  flex: 1;
  min-width: 0; /* Allow text to wrap properly */
  line-height: 1.5;
}

/* Allow address to wrap, but prevent email from wrapping */
.footer-links-icons li span {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.footer-links-icons li a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Footer WhatsApp Button */
.footer-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding: 0.65rem 1.25rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border: 1px solid rgba(37, 211, 102, 0.4);
  border-radius: 999px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  background: linear-gradient(135deg, #2ae872 0%, #15a590 100%);
  color: var(--white);
}

.footer-whatsapp-btn svg {
  width: 1.35rem;
  height: 1.35rem;
  min-width: 1.35rem;
  flex-shrink: 0;
  fill: currentColor;
}

.footer-whatsapp-btn span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  text-decoration: none;
  color: var(--white);
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5), 0 6px 16px rgba(0, 0, 0, 0.25);
  color: var(--white);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Responsive adjustments */
@media (max-width: 960px) {
  .footer-whatsapp-btn {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
  }
  
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
  }
  
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 640px) {
  .footer-links-icons li {
    gap: 0.5rem;
  }
  
  .footer-links-icons li svg.footer-icon {
    width: 1rem;
    height: 1rem;
    min-width: 1rem;
  }
  
  .footer-links-icons li span,
  .footer-links-icons li a {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .footer-whatsapp-btn {
    font-size: 0.9rem;
    padding: 0.55rem 1rem;
    gap: 0.5rem;
  }
  
  .footer-whatsapp-btn svg {
    width: 1.15rem;
    height: 1.15rem;
    min-width: 1.15rem;
  }
  
  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
  }
  
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float svg {
    animation: none;
  }
  
  .footer-whatsapp-btn:hover,
  .whatsapp-float:hover {
    transform: none;
  }
}
