/* ==========================================================================
   ShipChem — shared stylesheet for every page

   Contents
   1. Fonts and brand tokens (colours, sizes)
   2. Base styles
   3. Reusable pieces: wrap, headings, eyebrow, buttons, tags, waves
   4. Header and navigation
   5. Home page sections (in page order)
   6. Footer
   7. Reduced-motion fallback
   8. Inner pages (About, Solutions, Products, Platform, Network, Contact, Terms)
   ========================================================================== */


/* 1. FONTS AND BRAND TOKENS
   ========================================================================== */

/* Galano Grotesque is the brand typeface. One @font-face block per weight.
   ponytail: served as .otf (~46 KB each); convert to .woff2 if page weight ever matters. */
@font-face { font-family: "Galano Grotesque"; font-weight: 400; font-display: swap; src: url("../fonts/GalanoGrotesqueRegular.otf") format("opentype"); }
@font-face { font-family: "Galano Grotesque"; font-weight: 500; font-display: swap; src: url("../fonts/GalanoGrotesqueMedium.otf") format("opentype"); }
@font-face { font-family: "Galano Grotesque"; font-weight: 600; font-display: swap; src: url("../fonts/GalanoGrotesqueSemiBold.otf") format("opentype"); }
@font-face { font-family: "Galano Grotesque"; font-weight: 700; font-display: swap; src: url("../fonts/GalanoGrotesqueBold.otf") format("opentype"); }
@font-face { font-family: "Galano Grotesque"; font-weight: 800; font-display: swap; src: url("../fonts/GalanoGrotesqueExtraBold.otf") format("opentype"); }

:root {
  /* Colours from the brand guidelines */
  --navy: #184478;         /* headings + body text on white, dark fills */
  --deep: #0f2c52;         /* darkest backgrounds */
  --header: #184376;       /* top bar */
  --cyan: #2aabe4;         /* accent */
  --bright: #38c1f0;       /* lighter cyan used for numbers and gradients */
  --mid-blue: #3a7ebb;     /* end of the button gradient */
  --pale: #d6e4ec;         /* pale grey-blue wave */
  --line: #cfe3f3;         /* hairlines on white */
  --eco: #113b4b;          /* sustainability background only */
  --green: #7cf2b0;        /* sustainability accent only */

  /* Gradients (always dark navy towards cyan) */
  --grad-button: linear-gradient(90deg, #30bfe8, var(--mid-blue));
  --grad-solutions: linear-gradient(90deg, var(--navy) 18%, #37b8ec);
  --grad-global: linear-gradient(90deg, var(--bright), var(--mid-blue));
  --grad-card-hover: linear-gradient(140deg, var(--cyan), #1f72b8);

  --font: "Galano Grotesque", "Poppins", system-ui, sans-serif;
  --wrap: 1030px;          /* width of the centred content column */
  --header-h: 76px;
  --wave-h: clamp(60px, 13.5vw, 260px);   /* height of the waves between sections */
}


/* 2. BASE
   ========================================================================== */

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.45;
  color: var(--navy);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }

/* Clear keyboard focus ring everywhere */
:focus-visible { outline: 3px solid var(--bright); outline-offset: 3px; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: #fff; color: var(--navy); padding: 10px 16px; }
.skip-link:focus { left: 8px; top: 8px; }


/* 3. REUSABLE PIECES
   ========================================================================== */

/* Centred content column */
.wrap { width: 100%; max-width: calc(var(--wrap) + 48px); margin-inline: auto; padding-inline: 24px; }

.section { position: relative; padding-block: clamp(48px, 7vw, 110px); }

/* "01." section number */
.num { display: block; font-weight: 800; font-size: clamp(26px, 2.2vw, 36px); line-height: 1; color: var(--bright); }

/* Section title that follows a number, e.g. ABOUT SHIPCHEM */
.title { font-weight: 800; font-size: clamp(26px, 2.2vw, 36px); line-height: 1.15; text-transform: uppercase; margin: 8px 0 28px; }
.title--light { color: #fff; }

/* Big headline used in the lower sections */
.headline { font-weight: 700; font-size: clamp(28px, 2.9vw, 46px); line-height: 1.2; color: #fff; max-width: 18em; margin-bottom: 22px; }
.headline--dark { color: var(--navy); }
/* The upper-case headlines are set a little smaller and heavier, as in the design */
.headline--dark, .eco .headline, .resources .headline { font-weight: 800; font-size: clamp(26px, 2.4vw, 40px); text-transform: uppercase; max-width: 15.5em; }

/* Small outlined label above a headline */
.eyebrow {
  display: inline-block; margin-bottom: 18px; padding: 5px 13px;
  font-size: 15px; line-height: 1.2; text-transform: uppercase; color: #fff;
  border: 1.4px solid rgba(255, 255, 255, .8); border-radius: 999px;
}
.eyebrow--dark { color: var(--navy); border-color: var(--navy); }

/* Text + picture side by side */
.split { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.split__text p { margin-bottom: 30px; max-width: 30em; }
.split__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: clamp(28px, 4vw, 54px); }

/* ---- Buttons ----
   Designer's note: on hover a button grows slightly and a light pulse
   sweeps across it, the same pulse as the line under the header. */
.btn {
  position: relative; overflow: hidden; display: inline-block;
  padding: .8em 1.5em; border-radius: 999px;
  font: 500 15px/1.2 var(--font); text-transform: uppercase; text-decoration: none; letter-spacing: .01em;
  color: #fff; background: var(--grad-button);
  box-shadow: 0 3px 10px rgba(15, 44, 82, .18);
  transition: transform .25s cubic-bezier(.34, 1.3, .64, 1), box-shadow .25s ease;
}
.btn--lg { font-size: clamp(16px, 1.4vw, 25px); padding: .75em 1.1em; }
.btn--white { background: #fff; color: var(--navy); font-weight: 700; text-transform: none; padding: 1em 1.8em; }
.btn--outline { border: 1.4px solid rgba(255, 255, 255, .85); }

/* The pulse itself: a slanted light stripe parked off the left edge */
.btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(126, 198, 239, .55) 45%, rgba(255, 255, 255, .85) 52%, rgba(126, 198, 239, .55) 59%, transparent 74%);
  transform: translateX(-120%);
}
.btn:hover, .btn:focus-visible { transform: scale(1.05); box-shadow: 0 8px 22px rgba(42, 171, 228, .45); }
.btn:hover::after, .btn:focus-visible::after { opacity: 1; animation: pulse-sweep 1.15s ease-in-out infinite; }

@keyframes pulse-sweep { to { transform: translateX(120%); } }

/* Small pill labels */
.tags { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.tags li {
  padding: 6px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .7);
  background: var(--grad-button); color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .03em;
}
.tags--solid li { border: 0; }

/* ---- Waves between sections ----
   Each wave is an inline <svg> that stretches to the full page width.
   The -1px margins stop hairline gaps appearing between a wave and its neighbours. */
.wave { width: 100%; height: var(--wave-h); margin-block: -1px; position: relative; }
/* Variant that sits on top of the bottom edge of a photo */
.wave--overlay { position: absolute; left: 0; bottom: -1px; margin: 0; height: clamp(50px, 12vw, 240px); }

/* Decorative thin white lines on the right of the blue sections */
.contours { position: absolute; top: 0; right: 0; width: 38%; height: 100%; pointer-events: none; }
.contours path { fill: none; stroke: #fff; stroke-opacity: .45; stroke-width: 1.5; vector-effect: non-scaling-stroke; }


/* 4. HEADER AND NAVIGATION
   Designer's note: the header stays locked to the top while scrolling.
   ========================================================================== */

.site-header { position: sticky; top: 0; z-index: 50; background: var(--header); box-shadow: 0 2px 12px rgba(0, 0, 0, .22); }

.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--header-h); max-width: 1920px; margin-inline: auto; padding-inline: clamp(16px, 2.2vw, 42px);
}
.site-header__logo img { height: 40px; width: auto; }

.site-nav { display: flex; align-items: center; gap: clamp(4px, 1.1vw, 20px); }

.site-nav a {
  position: relative; padding: 6px 6px; white-space: nowrap;
  font-size: 14.5px; font-weight: 400; text-transform: uppercase; text-decoration: none; color: #fff;
}

/* Designer's note: a little underline bar appears when hovering a menu item.
   It is always there but squashed to zero width, then grows from the left. */
.site-nav a:not(.btn)::before {
  content: ""; position: absolute; left: 6px; right: 6px; bottom: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), #7ec6ef);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.site-nav a:not(.btn):hover::before,
.site-nav a.is-current::before { transform: scaleX(1); }

.site-nav__cta { padding: 5px 14px; margin-left: 8px; }

/* Designer's note: animated bar under the header, pulses of light blue travel across it */
.sweep-line { position: relative; overflow: hidden; height: 5px; background: linear-gradient(90deg, var(--bright), #2f8fd0 55%, var(--header)); }
.sweep-line::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent);
  transform: translateX(-130%); animation: line-sweep 2.8s cubic-bezier(.4, 0, .6, 1) infinite;
}
@keyframes line-sweep { to { transform: translateX(460%); } }

/* Hamburger button, hidden on desktop */
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: none; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: #fff; }

/* Below 1000px the menu no longer fits in one row, so it becomes a drop-down panel */
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px;
    background: var(--header); box-shadow: 0 14px 24px rgba(0, 0, 0, .3);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 6px; font-size: 16px; }
  .site-nav__cta { margin: 12px 0 0; text-align: center; }
}


/* 5. HOME PAGE SECTIONS
   ========================================================================== */

/* ---- Hero ---- */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: clamp(460px, 53vw, 1010px);
  padding-bottom: clamp(50px, 12vw, 240px);       /* room for the white wave */
  color: #fff;
  /* A dark-to-clear layer over the left of the photo keeps the white text readable */
  background: linear-gradient(90deg, rgba(15, 44, 82, .55), rgba(15, 44, 82, 0) 60%), url("../images/hero-ship.webp") center / cover no-repeat var(--navy);
}
.hero__content { max-width: calc(var(--wrap) + 240px); position: relative; z-index: 1; }
.hero h1 { font-weight: 700; font-size: clamp(30px, 2.9vw, 50px); line-height: 1.22; max-width: 12.5em; margin-bottom: 20px; }
.hero p { font-size: clamp(16px, 1.15vw, 19px); max-width: 26em; }

/* ---- 01 About ---- */
.about { padding-top: clamp(24px, 3vw, 50px); }

/* ---- 02 Solutions ---- */
.solutions { background: var(--grad-solutions); color: #fff; padding-bottom: clamp(20px, 3vw, 50px); }
.solutions .wrap { position: relative; }
.lead { font-size: clamp(22px, 2vw, 32px); line-height: 1.2; }
.solutions__intro { max-width: 37em; font-size: clamp(16px, 1.25vw, 20px); margin-bottom: 34px; }

.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px clamp(16px, 3vw, 40px); max-width: 950px; }

/* Designer's note: on hover a card grows slightly, the white box turns into the
   gradient, the dark blue circle turns white and the icon turns dark blue. */
.sol-card {
  position: relative; overflow: hidden; z-index: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  height: 100%; min-height: 150px; padding: 18px 14px; border-radius: 30px;
  background: #fff; color: var(--navy);
  font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center; text-decoration: none;
  transition: transform .25s cubic-bezier(.34, 1.3, .64, 1), box-shadow .25s ease, color .25s ease;
}
/* The gradient is a hidden layer that fades in (a background gradient cannot be transitioned directly) */
.sol-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-card-hover); opacity: 0; transition: opacity .25s ease; }
.sol-card svg { width: 42px; height: 42px; flex: none; color: #fff; transition: color .25s ease; }
.sol-card .icon-bg { fill: var(--navy); transition: fill .25s ease; }

.sol-card:hover, .sol-card:focus-visible { transform: scale(1.06); color: #fff; box-shadow: 0 10px 30px rgba(15, 44, 82, .4); }
.sol-card:hover::before, .sol-card:focus-visible::before { opacity: 1; }
.sol-card:hover svg, .sol-card:focus-visible svg { color: var(--navy); }
.sol-card:hover .icon-bg, .sol-card:focus-visible .icon-bg { fill: #fff; }

/* ---- 03 Why ShipChem ---- */
.why { padding-top: clamp(20px, 3vw, 50px); }
.why__card { background: var(--navy); color: #fff; border-radius: clamp(28px, 3vw, 44px); padding: clamp(24px, 2.6vw, 38px) clamp(22px, 2.8vw, 36px); margin-bottom: 34px; }
.why__card h3 { font-weight: 700; font-size: clamp(20px, 1.7vw, 27px); margin-bottom: 12px; }
.why__card p { font-size: 15px; margin-bottom: 22px; }
.subtitle { font-weight: 700; font-size: clamp(20px, 1.6vw, 26px); line-height: 1.25; margin-bottom: 16px; }
.split--tight { grid-template-columns: 1fr 1fr; }
.split--tight .split__text p { font-size: 15px; margin-bottom: 24px; }

/* ---- Global marine operations ---- */
.global { background: var(--grad-global); color: #fff; padding-top: clamp(20px, 3vw, 50px); }
.global .wrap { position: relative; }
.global__strap { font-weight: 700; font-size: clamp(17px, 1.3vw, 21px); margin-bottom: 18px; }
.global__text { max-width: 40em; font-size: clamp(16px, 1.2vw, 19px); }

/* ---- Stats band ---- */
.stats { background: var(--navy); color: #fff; padding-block: clamp(36px, 4vw, 56px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 30px; }
.stats dt { font-weight: 500; font-size: clamp(22px, 1.7vw, 28px); line-height: 1.1; color: var(--bright); }
.stats dd { font-size: 15px; max-width: 13em; margin-top: 4px; }
.stats__line { font-size: clamp(17px, 1.3vw, 21px); margin-bottom: 20px; }
.stats__line strong { font-weight: 500; color: var(--bright); }

/* ---- Dedicated support ---- */
.support { overflow: hidden; }
.support .wrap { position: relative; }
.support__blob { position: absolute; top: 0; right: 0; width: 32%; height: 100%; }
.support__text { max-width: 40em; margin-bottom: 36px; }
.support__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 980px; }
.support__cards li { background: #fff; border: 1px solid #9fd2ee; border-radius: 34px; padding: 22px 26px 26px; box-shadow: 0 10px 22px rgba(15, 44, 82, .16); }
.support__cards h3 { font-weight: 800; font-size: 13px; text-transform: uppercase; margin: 14px 0 6px; }
.support__cards p { font-size: 13px; line-height: 1.4; }
.ring-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.4px solid var(--bright); color: var(--navy); }
.ring-icon svg { width: 19px; height: 19px; }

/* ---- Sustainability ---- */
.eco { color: #fff; background: linear-gradient(90deg, #13315f, var(--eco)); }
/* Blue strip along the very top edge of the section */
.eco::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 14px; background: linear-gradient(90deg, var(--navy), var(--bright)); }
.eco__grid { display: grid; grid-template-columns: 1.9fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.eco p { max-width: 37em; margin-bottom: 26px; }

.eco__list li { position: relative; padding-left: 26px; margin-bottom: 5px; }
/* Designer's note: little green dot pulses. The dot is ::before, the expanding ring is its box-shadow. */
.eco__list li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 9px; height: 9px; border-radius: 50%;
  background: #2fb97c; border: 2px solid #17604d; animation: green-ping 1.9s infinite;
}
@keyframes green-ping {
  0%   { box-shadow: 0 0 0 0 rgba(124, 242, 176, .7); }
  70%  { box-shadow: 0 0 0 9px rgba(124, 242, 176, 0); }
  100% { box-shadow: 0 0 0 0 rgba(124, 242, 176, 0); }
}

.eco__badge { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 190px; padding: 26px; border: 1px solid rgba(124, 242, 176, .45); border-radius: 40px; text-align: center; }
.eco__badge strong { font-weight: 400; color: var(--green); }
.eco__leaf { display: grid; place-items: center; width: 74px; height: 74px; margin-bottom: 18px; border-radius: 50%; background: rgba(124, 242, 176, .12); animation: green-ping 1.9s infinite; }
.eco__leaf svg { width: 34px; height: 34px; }

/* Designer's note: little green dot pulses across the line */
.eco__line { position: absolute; left: 0; right: 0; bottom: 26px; height: 2px; background: rgba(124, 242, 176, .3); }
.eco__line::after {
  content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 10px 3px rgba(124, 242, 176, .85);
  animation: dot-travel 6s linear infinite;
}
@keyframes dot-travel { from { left: -1%; } to { left: 100%; } }

/* ---- Resources ---- */
.resources { background: linear-gradient(90deg, var(--navy), var(--bright)); color: #fff; }
.resources .headline { max-width: none; }
.resources p { max-width: 44em; margin-bottom: 30px; font-size: clamp(16px, 1.2vw, 19px); }

/* ---- Ready to support your fleet? ---- */
.cta {
  position: relative; display: flex; align-items: center;
  min-height: clamp(380px, 48vw, 930px);
  padding-bottom: clamp(50px, 12vw, 240px);
  color: #fff;
  background: linear-gradient(270deg, rgba(15, 44, 82, .5), rgba(15, 44, 82, 0) 65%), url("../images/cta-ship.webp") center / cover no-repeat var(--navy);
}
.cta__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-end; text-align: center; }
.cta h2 { font-weight: 800; font-size: clamp(22px, 1.9vw, 31px); text-transform: uppercase; margin-bottom: 18px; }
.cta__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; }
.cta__content > * { width: min(100%, 640px); }
.cta__mail { font-weight: 500; text-decoration: none; }
.cta__mail:hover { text-decoration: underline; }


/* 6. FOOTER
   ========================================================================== */

.site-footer { background: linear-gradient(90deg, #1d4c85, #38bdf0); color: #fff; padding-top: clamp(40px, 6vw, 110px); font-size: 14px; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr .7fr 1.7fr 1.2fr; gap: 36px 28px; max-width: calc(var(--wrap) + 290px); }
.site-footer__brand img { width: 240px; margin-bottom: 26px; }
.site-footer__brand p { max-width: 21em; margin-bottom: 18px; }
.site-footer h2 { font-size: 14px; font-weight: 800; text-transform: uppercase; margin-bottom: 18px; }
.site-footer li { text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
/* Copyright row: sits just above a white hairline that runs edge to edge */
.site-footer { padding-bottom: 45px; }
.site-footer__legal {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 80px;
  margin-top: clamp(30px, 4vw, 60px); padding: 0 24px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .6);
}


/* SMALLER SCREENS
   ========================================================================== */

@media (max-width: 860px) {
  body { font-size: 16px; }
  .split, .split--tight, .eco__grid { grid-template-columns: 1fr; }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .support__cards { grid-template-columns: 1fr; }
  .support__blob, .contours { display: none; }     /* decoration would sit behind text on narrow screens */
  .cta__content { align-items: center; }
  /* On narrow screens the text sits on top of the ships, so the photos are darkened all over */
  .hero { background: linear-gradient(rgba(15, 44, 82, .6), rgba(15, 44, 82, .35)), url("../images/hero-ship.webp") 68% center / cover no-repeat var(--navy); }
  .cta { background: linear-gradient(rgba(15, 44, 82, .55), rgba(15, 44, 82, .55)), url("../images/cta-ship.webp") 20% center / cover no-repeat var(--navy); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .sol-card { min-height: 130px; font-size: 14px; border-radius: 22px; }
  .site-footer__grid { grid-template-columns: 1fr; }
}


/* 7. REDUCED MOTION
   Visitors who ask their device for less motion get a still page.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* 8. INNER PAGES
   Everything below is used by the pages other than Home.
   ========================================================================== */

/* Hidden from sight but still read by screen readers (also hides the spam-trap field) */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The designer's icons have a navy disc or navy artwork; this is its default colour */
.icon-bg { fill: var(--navy); }

.btn--sm { font-size: 12px; font-weight: 600; padding: .65em 1.4em; background: linear-gradient(90deg, var(--navy), var(--cyan)); }

/* Inner pages have a plain navy footer (Home keeps the gradient one) */
.site-footer--flat { background: var(--navy); }

/* ---- Page title band ---- */
/* The gradient stops 4px short of the bottom so no sliver of blue can peek out under the wave */
.page-hero { position: relative; color: #fff; background: linear-gradient(90deg, var(--navy), var(--bright)) top / 100% calc(100% - 4px) no-repeat #fff; padding-top: clamp(36px, 5vw, 90px); }
.page-hero .wrap { max-width: calc(var(--wrap) + 240px); padding-bottom: 6px; }
.page-hero h1 { font-weight: 800; font-size: clamp(30px, 3.2vw, 56px); line-height: 1.12; text-transform: uppercase; max-width: 17em; margin-bottom: 12px; }
.page-hero p { max-width: 42em; font-size: clamp(16px, 1.15vw, 19px); }
.crumb { margin-top: 18px; font-size: 15px; }
.crumb a { opacity: .7; text-decoration: none; }
.crumb a:hover { opacity: 1; text-decoration: underline; }
/* Variant without a wave underneath (Products, Network, Terms) */
.page-hero--flat { padding-bottom: clamp(36px, 4vw, 60px); background-size: 100% 100%; }
/* Variant whose wave lies on top of the photo section that follows (About).
   The blue band is painted by ::before and stops where the wave begins. */
.page-hero--photo { z-index: 1; background: none; margin-bottom: calc(-1 * var(--wave-h)); }
.page-hero--photo::before { content: ""; position: absolute; inset: 0 0 var(--wave-h) 0; z-index: -1; background: linear-gradient(90deg, var(--navy), var(--bright)); }

/* ---- About ---- */
.about-photo {
  position: relative; color: #fff;
  padding: calc(var(--wave-h) + clamp(20px, 3vw, 60px)) 0 calc(var(--wave-h) + clamp(30px, 4vw, 70px));
  background: url("../images/about-ship.webp") center top / cover no-repeat var(--navy);
}
.glass-card { background: linear-gradient(90deg, rgba(24, 68, 120, .96), rgba(42, 171, 228, .94)); border-radius: clamp(30px, 4vw, 60px); padding: clamp(24px, 2.6vw, 44px); font-size: 16px; }
.glass-card--narrow { max-width: 540px; }
.glass-card h2 { font-weight: 800; font-size: clamp(20px, 1.6vw, 26px); text-transform: uppercase; margin: 8px 0 14px; }
.glass-card p + p { margin-top: 1em; }
.about-photo__row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 900px; margin-top: 30px; }
.about-photo__row img { width: 100%; height: 100%; object-fit: cover; border-radius: clamp(30px, 4vw, 60px); }
.about-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin-top: 36px; }
.about-pills li { background: linear-gradient(90deg, rgba(24, 68, 120, .96), rgba(42, 171, 228, .94)); border-radius: 50px; padding: 20px 28px; }
.about-pills h3 { font-weight: 800; font-size: 13px; text-transform: uppercase; margin: 10px 0 4px; }
.about-pills p { font-size: 13px; }
.ring-icon--light { color: #fff; border-color: rgba(255, 255, 255, .7); }

.mie { background: var(--grad-solutions); color: #fff; }
.mie .wrap { position: relative; }
.mie__title { position: relative; font-weight: 700; font-size: clamp(32px, 3.4vw, 58px); line-height: 1.15; margin: 10px 0 28px; padding-bottom: 24px; }
.mie__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100px; height: 3px; background: var(--bright); }
.mie p { max-width: 26em; font-size: clamp(17px, 1.3vw, 21px); }
.mie a { color: var(--bright); font-weight: 700; }

.eco--about::before { display: none; }
.eco__label { color: var(--green); text-transform: uppercase; font-size: 16px; margin: 14px 0 6px !important; }
.eco--about .headline { max-width: 22em; }
.eco .eco__intro { max-width: 46em; }
.eco__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 860px; margin-bottom: 36px; }
.eco__cards li { border: 1px solid rgba(124, 242, 176, .5); border-radius: 36px; padding: 26px 28px; }
.eco__cards svg { width: 46px; height: 46px; padding: 10px; border: 1px solid rgba(124, 242, 176, .5); border-radius: 50%; }
.eco__cards h3 { color: var(--green); font-weight: 400; font-size: 16px; text-transform: uppercase; margin: 16px 0 4px; }
.eco__cards p { font-size: 15px; margin: 0; }
.eco__list--row { display: flex; flex-wrap: wrap; gap: 6px 40px; font-size: 13px; text-transform: uppercase; }

/* ---- Solutions ---- */
.sol-list { padding-bottom: 0; }
.sol-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 60px); align-items: center; max-width: 940px; margin: 0 auto clamp(40px, 5vw, 80px); }
.sol-row--flip .sol-row__text { order: 2; }
.sol-row img, .sol-row__placeholder { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: clamp(30px, 4vw, 60px); }
.sol-row__placeholder { display: grid; place-items: center; background: linear-gradient(90deg, var(--navy), var(--cyan)); }
.sol-row__placeholder svg { width: 90px; }
.sol-row__num { display: flex; align-items: center; gap: 14px; font-weight: 800; font-size: clamp(28px, 2.4vw, 40px); line-height: 1; color: var(--bright); }
.sol-row__num svg { width: 38px; height: 38px; color: #fff; }
.sol-row h2 { font-weight: 700; font-size: clamp(20px, 1.6vw, 26px); line-height: 1.2; margin: 14px 0 12px; }
.sol-row__text > p:not(.sol-row__num) { font-size: 15px; margin-bottom: 18px; }

.sol-cta { color: #fff; text-align: center; background: linear-gradient(180deg, #2e9fd8, var(--navy)); padding-top: clamp(30px, 4vw, 70px); }
.sol-cta .headline { margin-inline: auto; font-weight: 800; font-size: clamp(24px, 2.2vw, 36px); text-transform: uppercase; }
.sol-cta p { max-width: 42em; margin: 0 auto 28px; }
.sol-cta__photo { position: relative; margin-top: clamp(50px, 7vw, 120px); height: clamp(240px, 43vw, 820px); background: url("../images/solutions-bow.webp") center / cover no-repeat; }
.sol-cta__photo .wave { position: absolute; left: 0; margin: 0; height: clamp(30px, 6vw, 120px); }
.wave--top { top: -1px; }

/* ---- Platform ---- */
.split__img--pill { border-radius: 999px; aspect-ratio: 16 / 9; }
.platform__how { margin-block: clamp(40px, 6vw, 100px); }
.platform__how p { max-width: 52em; }
.steps { display: grid; gap: clamp(20px, 2.5vw, 40px); max-width: 980px; margin-inline: auto; }
/* A step is a blue bar with a photo overlapping one end of it */
.step { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; }
.step__text {
  display: flex; align-items: center; gap: 18px; color: #fff;
  margin-right: -70px; padding: clamp(22px, 3vw, 44px) 100px clamp(22px, 3vw, 44px) clamp(24px, 3.5vw, 56px);
  border-radius: 999px 0 0 999px; background: linear-gradient(90deg, var(--navy), var(--bright));
}
.step img { position: relative; z-index: 1; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: clamp(40px, 7vw, 110px); }
.step--flip .step__text { order: 2; margin: 0 0 0 -70px; padding-left: 110px; padding-right: clamp(24px, 3.5vw, 56px); border-radius: 0 999px 999px 0; background: linear-gradient(270deg, var(--navy), var(--bright)); }
.step svg { width: 42px; height: 42px; flex: none; padding: 9px; border: 1.4px solid #fff; border-radius: 50%; }
.step h3 { font-weight: 800; font-size: clamp(17px, 1.5vw, 24px); text-transform: uppercase; }
.step p { font-size: clamp(15px, 1.3vw, 21px); }

/* ---- Network ---- */
.stats--centred { text-align: center; }
.stats--centred .stats__grid { margin-bottom: 0; }
.stats--centred dt { font-weight: 800; }
.stats--centred dd { max-width: none; }
.kicker { font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.title--plain { position: relative; text-transform: none; padding-bottom: 18px; margin-bottom: 18px; }
.title--plain::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; border-radius: 3px; background: linear-gradient(90deg, var(--cyan), #7ec6ef); }
.network__text { max-width: 50em; }
.network__map { margin: clamp(30px, 4vw, 56px) 0; }
.network__map img { width: 100%; border-radius: 18px; background: linear-gradient(160deg, #0c2444, #13315f 58%, #17406f); box-shadow: 0 24px 60px rgba(15, 44, 82, .28); }
.network__map figcaption { margin-top: 12px; font-size: 13px; text-align: center; color: #6f87a3; }
.countries { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 0 38px; margin-top: 30px; }
.countries li { position: relative; padding: 15px 4px 15px 26px; border-bottom: 1px solid var(--line); font-weight: 600; }
.countries li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 9px; height: 9px; margin-top: -5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(42, 171, 228, .14); }

/* ---- Products & Documentation ---- */
.products { padding-top: clamp(30px, 4vw, 56px); }
.products__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 14px; }
.products__back { display: inline-flex; align-items: center; height: 52px; padding: 0 22px; border-radius: 14px; background: var(--navy); color: #fff; font-weight: 600; font-size: 14px; text-transform: uppercase; text-decoration: none; transition: transform .25s cubic-bezier(.34, 1.3, .64, 1), box-shadow .25s ease; }
.products__back:hover { transform: scale(1.05); box-shadow: 0 6px 18px rgba(42, 171, 228, .45); }
.products__search { position: relative; display: block; flex: 1; min-width: 240px; }
.products__search svg { position: absolute; left: 6px; top: 6px; width: 40px; height: 40px; padding: 10px; border-radius: 10px; background: var(--navy); color: #fff; }
.products__search input { width: 100%; height: 52px; padding: 0 16px 0 58px; border: 1.5px solid var(--line); border-radius: 14px; font: inherit; color: var(--navy); }
.products__note { font-size: 13px; color: #5a6b80; margin-bottom: 20px; }
.products__list { display: grid; gap: 10px; }
.product { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s, box-shadow .15s; }
.product:hover { border-color: var(--cyan); box-shadow: 0 0 20px 2px rgba(42, 171, 228, .22); }
.product__text { display: grid; flex: 1; min-width: 200px; }
.product__text strong { font-weight: 600; }
.product__text span { font-size: 13px; color: #5a6b80; }
.product__docs { display: flex; gap: 8px; }
.doc-btn { padding: 8px 16px; border: 1.5px solid var(--navy); border-radius: 999px; font-weight: 600; font-size: 13px; text-decoration: none; transition: transform .2s, background-color .2s, color .2s; }
a.doc-btn:hover { transform: scale(1.06); background: var(--navy); color: #fff; }
.doc-btn--off { opacity: .4; border-color: #9fb3c8; cursor: not-allowed; }
.products__empty { padding: 30px 0; }

/* ---- Contact ---- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 4vw, 60px); align-items: start; max-width: 1010px; }
.contact__details li { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.contact__details svg { width: 52px; height: 52px; flex: none; }
.contact__details h3 { font-weight: 400; font-size: 13px; text-transform: uppercase; }
.contact__details a, .contact__details p { font-size: 14px; text-decoration: none; }
.contact__details a:hover { text-decoration: underline; }
.contact__map { width: 100%; aspect-ratio: 3 / 2; margin-top: 20px; border: 0; border-radius: 40px; background: var(--pale); }
.contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px clamp(16px, 3vw, 40px); background: var(--pale); border-radius: clamp(36px, 5vw, 70px); padding: clamp(28px, 4vw, 56px) clamp(22px, 3vw, 40px); }
.contact__form h2 { grid-column: 1 / -1; font-weight: 800; font-size: 20px; text-transform: uppercase; }
.field { display: grid; gap: 8px; align-content: start; }
.field--wide, .contact__status { grid-column: 1 / -1; }
.field label { font-size: 13px; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 16px; border: 0; border-radius: 20px; background: #fff; font: inherit; font-size: 15px; color: var(--navy); }
.field textarea { border-radius: 24px; resize: vertical; }
.contact__form .btn { justify-self: start; border: 0; cursor: pointer; }
.contact__status { min-height: 1.4em; font-size: 14px; }
.contact__status.is-error { color: #b3261e; }

/* ---- Terms & Conditions ---- */
.legal .wrap { max-width: 880px; }
.legal h2 { font-weight: 800; font-size: 20px; margin: 36px 0 12px; }
.legal p { font-size: 15px; line-height: 1.6; margin-bottom: 12px; color: #33496b; }

@media (max-width: 860px) {
  .sol-row, .about-photo__row, .about-pills, .eco__cards, .step, .contact__grid { grid-template-columns: 1fr; }
  .sol-row--flip .sol-row__text, .step--flip .step__text { order: 0; }
  /* stacked steps: bar on top, photo underneath, no overlap */
  .step { gap: 12px; }
  .step__text, .step--flip .step__text { margin: 0; padding: 22px 26px; border-radius: 40px; }
  .about-pills li { border-radius: 34px; }
}
@media (max-width: 520px) {
  .contact__form { grid-template-columns: 1fr; }
}
