/* ==========================================================================
   Poyraz Company — site styles
   ========================================================================== */

/* Fonts (self-hosted, SIL Open Font License) */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tokens ------------------------------------------------------------------ */
:root {
  --navy-950: #050d14;
  --navy-900: #08131c;
  --navy-850: #0c1c2a;
  --navy-800: #11283b;
  --navy-700: #1a3a55;
  --navy-600: #2a5172;

  --sky-500: #2bb8f8;
  --sky-400: #5ccbfa;
  --sky-300: #93dcfb;
  --sky-200: #c4ecfd;
  --sky-100: #e3f5fe;
  --sky-50: #f2fafe;
  --blue-700: #0a6fa6;

  --ink: #0b1b2a;
  --ink-2: #33475a;
  --muted: #5f7286;
  --line: #e1e8ef;
  --line-strong: #cdd8e3;
  --bg: #ffffff;
  --bg-soft: #f3f7fa;

  --font-display: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --gutter: clamp(16px, 4vw, 40px);
  --container: 1280px;
  --section-y: clamp(72px, 9vw, 128px);
  --header-h: 76px;

  --shadow-sm: 0 1px 2px rgba(8, 19, 28, .06), 0 2px 8px rgba(8, 19, 28, .04);
  --shadow-md: 0 10px 30px -12px rgba(8, 19, 28, .25);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* Base -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0;
  color: inherit;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); letter-spacing: -0.015em; line-height: 1.25; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.3; }
strong { font-weight: 600; }
::selection { background: var(--sky-500); color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--sky-500); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 999px;
}
.skip-link:focus { top: 12px; }

/* Layout ------------------------------------------------------------------ */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--soft { background: var(--bg-soft); }
.section + .section--flush-top { padding-top: 0; }
.stack > * + * { margin-top: var(--stack, 1rem); }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }

/* Section heading pattern (pill + title + side text) */
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head__lead { color: var(--muted); font-size: 1.05rem; max-width: 52ch; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head--center .section-head__lead { margin-inline: auto; }
.section-head h2 { margin-top: 18px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border: 1px solid currentColor; border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4;
}
.pill--soft { border-color: transparent; background: var(--sky-100); color: var(--navy-800); }
.pill--light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.pill--light-solid { color: #fff; border-color: transparent; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sky-500); box-shadow: 0 0 0 3px rgba(43, 184, 248, .25); }

.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--ink-2); line-height: 1.6; }
.muted { color: var(--muted); }
.accent { color: var(--sky-500); }

/* Buttons ----------------------------------------------------------------- */
.btn {
  --btn-bg: var(--navy-900); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font-family: var(--font-body); font-weight: 600; font-size: .95rem; letter-spacing: -0.005em;
  cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:hover { transform: translateY(-1px); }
.btn--primary { --btn-bg: var(--sky-500); --btn-fg: var(--navy-900); }
.btn--primary:hover { --btn-bg: var(--sky-400); box-shadow: 0 10px 24px -10px rgba(43, 184, 248, .7); }
.btn--dark:hover { --btn-bg: var(--navy-700); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--outline:hover { --btn-bd: var(--ink); }
.btn--ghost-light { --btn-bg: rgba(255, 255, 255, .1); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--navy-900); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.text-link { color: var(--blue-700); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.text-link:hover { color: var(--ink); }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(8, 19, 28, .35); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 148px; height: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link, .nav__trigger {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: 999px; font-size: .94rem; font-weight: 500; color: var(--ink-2);
  background: none; border: 0; cursor: pointer; font-family: inherit;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__link:hover, .nav__trigger:hover, .nav__item:focus-within > .nav__trigger { color: var(--ink); background: var(--bg-soft); }
.nav__link[aria-current="page"], .nav__trigger.is-active { color: var(--ink); font-weight: 600; }
.nav__link[aria-current="page"]::after, .nav__trigger.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--sky-500);
}
.nav__trigger .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav__item { position: relative; }
.nav__item:hover > .nav__trigger .icon, .nav__item.is-open > .nav__trigger .icon { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 460px;
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 10px;
  box-shadow: 0 24px 60px -24px rgba(8, 19, 28, .35);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item:hover > .dropdown, .nav__item:focus-within > .dropdown, .nav__item.is-open > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; transition: background-color .2s var(--ease); }
.dropdown a:hover { background: var(--bg-soft); }
.dropdown .ico-badge { width: 38px; height: 38px; }
.dropdown strong { display: block; font-size: .92rem; color: var(--ink); line-height: 1.3; }
.dropdown span.desc { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.dropdown .dropdown__all { grid-column: 1 / -1; justify-content: space-between; align-items: center; background: var(--bg-soft); font-weight: 600; font-size: .9rem; }
.dropdown .dropdown__all:hover { background: var(--sky-100); }
.dropdown .dropdown__all .icon { width: 18px; height: 18px; }

.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 60; background: var(--navy-900); color: #fff;
  display: flex; flex-direction: column; padding: 0 var(--gutter) 32px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); flex: none; }
.mobile-nav__top img { width: 140px; }
.mobile-nav__close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.mobile-nav__close .icon { width: 22px; height: 22px; }
.mobile-nav__list { list-style: none; margin-top: 16px; }
.mobile-nav__list > li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mobile-nav__list a { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.mobile-nav__list a[aria-current="page"] { color: var(--sky-500); }
.mobile-nav__sub { list-style: none; padding: 0 0 12px 0; }
.mobile-nav__sub a { font-family: var(--font-body); font-size: 1rem; font-weight: 500; padding: 8px 0; color: rgba(255, 255, 255, .78); justify-content: flex-start; gap: 10px; }
.mobile-nav__sub a::before { content: ""; width: 14px; height: 1px; background: var(--sky-500); }
.mobile-nav__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 10px; }
.mobile-nav__foot a { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .85); }
.mobile-nav__foot .icon { color: var(--sky-500); }
body.nav-open { overflow: hidden; }

/* Hero (home) -------------------------------------------------------------- */
.hero { padding-top: 8px; }
.hero__frame {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: clamp(560px, 82vh, 780px);
  display: grid; align-items: end;
  background: var(--navy-900);
  color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 13, 20, .2) 0%, rgba(5, 13, 20, 0) 30%, rgba(5, 13, 20, .55) 62%, rgba(5, 13, 20, .9) 100%),
    linear-gradient(90deg, rgba(5, 13, 20, .65) 0%, rgba(5, 13, 20, 0) 65%);
}
.hero__content {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: 32px; align-items: end;
  padding: clamp(24px, 4.5vw, 64px);
}
.hero__title { margin: 22px 0 20px; max-width: 13ch; }
.hero__title .accent { color: var(--sky-500); }
.hero__text { font-size: clamp(1rem, 1.25vw, 1.15rem); color: rgba(255, 255, 255, .82); max-width: 54ch; margin-bottom: 30px; }

.glass-card {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-radius: var(--radius-lg); padding: 22px;
}
.lines-card { justify-self: end; width: 100%; max-width: 400px; }
.lines-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.lines-card__head span { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: rgba(255, 255, 255, .7); }
.lines-card__head .icon { width: 22px; height: 22px; color: var(--sky-500); }
.line-item { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: rgba(5, 13, 20, .45); }
.line-item + .line-item { margin-top: 8px; }
.line-item__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--sky-500); color: var(--navy-900); display: grid; place-items: center; flex: none; }
.line-item__icon .icon { width: 20px; height: 20px; }
.line-item strong { display: block; font-family: var(--font-display); font-size: 1.02rem; letter-spacing: -0.01em; }
.line-item small { display: block; color: rgba(255, 255, 255, .65); font-size: .8rem; }
.lines-card__foot { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: rgba(255, 255, 255, .75); }
.lines-card__foot a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; }
.lines-card__foot .icon { width: 16px; height: 16px; }

/* Facts strip under hero */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.fact { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.fact .ico-badge { width: 44px; height: 44px; }
.fact strong { display: block; font-family: var(--font-display); font-size: 1rem; letter-spacing: -0.01em; line-height: 1.3; color: var(--ink); }
.fact > span > span { display: block; font-size: .84rem; color: var(--muted); line-height: 1.4; }

/* Icon badge */
.ico-badge { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-100); color: var(--navy-800); flex: none; }
.ico-badge .icon { width: 46%; height: 46%; }
.ico-badge--sky { background: var(--sky-500); color: var(--navy-900); }
.ico-badge--dark { background: var(--navy-900); color: var(--sky-500); }
.ico-badge--glass { background: rgba(255, 255, 255, .12); color: #fff; }

/* Page hero (inner pages) ---------------------------------------------------- */
.page-hero { padding-top: 8px; }
.page-hero__frame {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-xl);
  min-height: clamp(420px, 58vh, 560px); display: grid; align-items: end; color: #fff; background: var(--navy-900);
}
.page-hero__frame img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero__frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5, 13, 20, .15) 0%, rgba(5, 13, 20, .35) 45%, rgba(5, 13, 20, .88) 100%), linear-gradient(90deg, rgba(5, 13, 20, .55), rgba(5, 13, 20, 0) 70%);
}
.page-hero__content { padding: clamp(24px, 4.5vw, 64px); max-width: 880px; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); margin: 18px 0 16px; }
.page-hero p { color: rgba(255, 255, 255, .85); font-size: clamp(1rem, 1.25vw, 1.15rem); max-width: 60ch; }
.page-hero--plain .page-hero__frame { min-height: 0; background: var(--navy-900); }
.page-hero--plain .page-hero__frame::before { background: radial-gradient(120% 140% at 100% 0%, rgba(43, 184, 248, .28) 0%, rgba(43, 184, 248, 0) 55%); }
.page-hero--plain .page-hero__content { padding-top: clamp(56px, 8vw, 112px); }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .82rem; color: rgba(255, 255, 255, .75); list-style: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb [aria-current="page"] { color: #fff; }

/* Cards ------------------------------------------------------------------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 2.4vw, 32px);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card h3 { margin-top: 20px; }
.card p { color: var(--muted); margin-top: 10px; }
.card--soft { background: var(--bg-soft); border-color: transparent; }
.card--dark { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.card--dark p { color: rgba(255, 255, 255, .72); }
.card--sky { background: var(--sky-500); border-color: var(--sky-500); color: var(--navy-900); }
.card--sky p { color: rgba(8, 19, 28, .78); }
.card--hover:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card__foot { margin-top: auto; padding-top: 22px; }

/* Bento ------------------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); gap: clamp(14px, 1.6vw, 20px); }
.bento > * { grid-column: span 4; }
.bento .b-tall { grid-row: span 2; }
.bento .b-wide { grid-column: span 8; }
.bento .b-half { grid-column: span 6; }
.bento .card { justify-content: space-between; }
.bento .card h3 { margin-top: 0; }
.bento .card .ico-badge + * { margin-top: auto; }
.bento .card--feature { padding: clamp(26px, 3vw, 40px); }
.bento .card--feature h3 { font-size: clamp(1.45rem, 2.2vw, 1.95rem); max-width: 16ch; margin-top: auto; }
.bento-photo { position: relative; overflow: hidden; border-radius: var(--radius-lg); color: #fff; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(22px, 2.4vw, 32px); isolation: isolate; }
.bento-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.bento-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 13, 20, .15) 0%, rgba(5, 13, 20, .35) 45%, rgba(5, 13, 20, .9) 100%), linear-gradient(90deg, rgba(5, 13, 20, .45) 0%, rgba(5, 13, 20, 0) 60%); }
.bento-photo:hover img { transform: scale(1.04); }
.bento-photo .pill { position: absolute; top: clamp(18px, 2vw, 26px); left: clamp(18px, 2vw, 26px); }
.bento-photo h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); max-width: 18ch; }
.bento-photo p { color: rgba(255, 255, 255, .8); margin-top: 8px; max-width: 46ch; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--sky-100); color: var(--navy-800); display: grid; place-items: center; flex: none; margin-top: 1px; }
.check-list .tick .icon { width: 14px; height: 14px; stroke-width: 2.5; }
.card--dark .check-list .tick, .on-dark .check-list .tick { background: rgba(43, 184, 248, .18); color: var(--sky-500); }

/* Service cards ------------------------------------------------------------ */
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 10px; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--line-strong); }
.service-card__media { position: relative; overflow: hidden; border-radius: calc(var(--radius-lg) - 8px); aspect-ratio: 4 / 3; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__media .ico-badge { position: absolute; left: 14px; bottom: 14px; width: 46px; height: 46px; }
.service-card__body { padding: 20px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.service-card__body p { color: var(--muted); font-size: .95rem; margin-top: 8px; }
.service-card__body .link-arrow { margin-top: auto; padding-top: 18px; font-size: .92rem; }
.service-card .index { font-family: var(--font-display); font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: .08em; }

/* Media ------------------------------------------------------------------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--bg-soft); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 10; }
.media--square { aspect-ratio: 1; }
.media-stack { position: relative; }
.media-stack .media-badge {
  position: absolute; right: clamp(-8px, -1vw, 0px); bottom: 28px; max-width: 280px;
  background: #fff; border-radius: var(--radius-md); padding: 18px 20px; box-shadow: var(--shadow-md);
  display: flex; gap: 14px; align-items: center;
}
.media-stack .media-badge strong { display: block; font-family: var(--font-display); line-height: 1.25; color: var(--ink); }
.media-stack .media-badge > span > span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.4; }

/* Inbound / outbound ------------------------------------------------------- */
.io-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1fr); gap: clamp(14px, 1.6vw, 20px); align-items: stretch; }
.io-grid .media { min-height: 100%; }
.io-card h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin-top: 22px; }
.io-card .label { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Network (sky panel) ------------------------------------------------------ */
.panel-sky {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  background: var(--sky-500); color: var(--navy-900);
  padding: clamp(28px, 5vw, 72px);
}
.panel-sky .pill { color: var(--navy-900); }
.panel-sky__text { font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 2.05rem); line-height: 1.35; letter-spacing: -0.02em; font-weight: 500; color: rgba(8, 19, 28, .62); max-width: 34ch; margin-top: 22px; }
.panel-sky__text strong { color: var(--navy-900); font-weight: 600; }
.network { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.network__text { display: flex; flex-direction: column; gap: 32px; justify-content: space-between; }
.network__map { align-self: center; }
.network__legend { display: grid; gap: 10px; }
.panel-dark .legend-item { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.panel-dark .legend-item strong { color: #fff; }
.panel-dark .legend-item > span > span { color: rgba(255, 255, 255, .6); }
.panel-dark .legend-swatch--sea { background: repeating-linear-gradient(90deg, var(--sky-500) 0 4px, transparent 4px 8px); }
.panel-dark .legend-swatch--road { background: #fff; }
.panel-dark .legend-swatch--dot { background: var(--sky-500); border-color: var(--navy-900); box-shadow: 0 0 0 2px var(--sky-500); }
.legend-item { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .92); border-radius: var(--radius-md); padding: 16px 18px; }
.legend-item strong { display: block; font-family: var(--font-display); font-size: 1rem; letter-spacing: -0.01em; line-height: 1.3; color: var(--ink); }
.legend-item > span > span { display: block; font-size: .84rem; color: var(--muted); line-height: 1.4; }
.legend-swatch { width: 34px; height: 4px; border-radius: 4px; flex: none; }
.legend-swatch--sea { background: repeating-linear-gradient(90deg, var(--navy-900) 0 4px, transparent 4px 8px); }
.legend-swatch--road { background: var(--navy-900); }
.legend-swatch--dot { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--navy-900); margin-inline: 11px; }

.route-map { width: 100%; height: auto; overflow: visible; }
.route-map .map-dots { fill: none; stroke: var(--navy-900); stroke-opacity: .28; stroke-width: 4; stroke-linecap: round; }
.route-map .map-dots--hl { stroke-opacity: .9; }
.route-map .map-dots--it { stroke-opacity: .5; }
.route-map .map-route { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.route-map .map-route--sea { stroke: #fff; stroke-width: 4; stroke-dasharray: 2 10; animation: dashFlow 1.6s linear infinite; }
.route-map .map-route--road { stroke: var(--navy-900); stroke-width: 4; }
.route-map .map-pin { fill: #fff; stroke: var(--navy-900); stroke-width: 3.5; }
.route-map .map-pulse { fill: #fff; opacity: .5; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s var(--ease) infinite; }
.route-map .map-city--neuss .map-pin { fill: var(--navy-900); stroke: #fff; }
.route-map text { font-family: var(--font-display); fill: var(--navy-900); }
.route-map .map-name { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.route-map .map-sub { font-size: 17px; font-weight: 500; fill-opacity: .7; }
@keyframes dashFlow { to { stroke-dashoffset: -24; } }
@keyframes pulse { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }

/* Dark variant of the map (used on navy backgrounds) */
.on-dark .route-map .map-dots { stroke: #fff; stroke-opacity: .16; }
.on-dark .route-map .map-dots--hl { stroke: var(--sky-500); stroke-opacity: .85; }
.on-dark .route-map .map-dots--it { stroke: #fff; stroke-opacity: .3; }
.on-dark .route-map .map-route--sea { stroke: var(--sky-500); }
.on-dark .route-map .map-route--road { stroke: #fff; }
.on-dark .route-map .map-pin { fill: var(--navy-900); stroke: var(--sky-500); }
.on-dark .route-map .map-pulse { fill: var(--sky-500); }
.on-dark .route-map .map-city--neuss .map-pin { fill: var(--sky-500); stroke: var(--navy-900); }
.on-dark .route-map text { fill: #fff; }

/* Process steps ----------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: step; list-style: none; }
.step { position: relative; padding: 26px 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.step__num { font-family: var(--font-display); font-size: .82rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.step__num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.step .ico-badge { margin-top: 18px; width: 46px; height: 46px; }
.step h3 { font-size: 1.1rem; margin-top: 18px; }
.step p { color: var(--muted); font-size: .9rem; margin-top: 8px; line-height: 1.55; }

/* Dark section ------------------------------------------------------------ */
.section-dark { background: var(--navy-900); color: #fff; }
.section-dark .section-head__lead, .section-dark .muted { color: rgba(255, 255, 255, .68); }
.panel-dark { background: var(--navy-900); color: #fff; border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 72px); position: relative; overflow: hidden; isolation: isolate; }
.panel-dark::after { content: ""; position: absolute; z-index: -1; right: -20%; top: -40%; width: 70%; height: 140%; background: radial-gradient(closest-side, rgba(43, 184, 248, .22), rgba(43, 184, 248, 0)); }
.panel-dark .muted, .panel-dark p { color: rgba(255, 255, 255, .72); }

/* Feature list (numbered rows) --------------------------------------------- */
.feature-rows { display: grid; gap: 0; border-top: 1px solid var(--line); }
.feature-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.feature-row__num { font-family: var(--font-display); font-weight: 700; color: var(--sky-500); font-size: 1rem; letter-spacing: .04em; padding-top: 4px; }
.feature-row h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.feature-row p { color: var(--muted); }
.on-dark .feature-rows, .on-dark .feature-row { border-color: rgba(255, 255, 255, .12); }

/* Chips -------------------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.chip .icon { width: 17px; height: 17px; color: var(--blue-700); }
.on-dark .chip { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.on-dark .chip .icon { color: var(--sky-500); }

/* Route cards (vessel booking) --------------------------------------------- */
.route-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--navy-800), var(--navy-850)); border: 1px solid rgba(255, 255, 255, .08); color: #fff; padding: clamp(24px, 3vw, 36px); isolation: isolate; }
.route-card::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 80%; height: 120%; z-index: -1; background: radial-gradient(closest-side, rgba(43, 184, 248, .25), transparent); }
.route-card__tag { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--sky-300); }
.route-path { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.route-path__stop { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -0.02em; white-space: nowrap; }
.route-path__line { flex: 1; height: 2px; min-width: 18px; background: repeating-linear-gradient(90deg, var(--sky-500) 0 6px, transparent 6px 12px); position: relative; }
.route-path__line::after { content: ""; position: absolute; right: -2px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--sky-500); }
.route-card p { color: rgba(255, 255, 255, .7); margin-top: 18px; font-size: .95rem; }

/* CTA band ----------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-xl); color: #fff; padding: clamp(36px, 6vw, 88px); background: var(--navy-900); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 13, 20, .92) 0%, rgba(5, 13, 20, .7) 50%, rgba(5, 13, 20, .3) 100%); }
.cta-band__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 32px; align-items: end; }
.cta-band h2 { max-width: 16ch; margin-top: 18px; }
.cta-band p { color: rgba(255, 255, 255, .8); margin-top: 16px; max-width: 48ch; }
.cta-contacts { display: grid; gap: 10px; }
.cta-contact { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-md); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background-color .25s var(--ease), border-color .25s var(--ease); }
.cta-contact:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); }
.cta-contact small { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.cta-contact strong { display: block; font-weight: 600; word-break: break-word; }
.cta-contact .ico-badge { width: 44px; height: 44px; }
.cta-contact > .icon { margin-left: auto; width: 18px; height: 18px; opacity: .7; }

/* Contact page -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.contact-list { display: grid; gap: 12px; }
.contact-item { display: flex; align-items: center; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
a.contact-item:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.contact-item small { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-item strong { display: block; font-family: var(--font-display); font-size: clamp(1.05rem, 1.6vw, 1.3rem); letter-spacing: -0.015em; line-height: 1.35; word-break: break-word; }
.contact-item > .icon { margin-left: auto; color: var(--muted); width: 20px; height: 20px; }
.person { display: flex; align-items: center; gap: 16px; }
.person__avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--sky-500); color: var(--navy-900); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; flex: none; }
.person strong { display: block; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.015em; color: var(--ink); }
.person > span > span { display: block; color: var(--muted); }
.card--dark .person strong, .panel-dark .person strong { color: #fff; }
.card--dark .person > span > span, .panel-dark .person > span > span { color: rgba(255, 255, 255, .65); }

/* Certificates placeholder ------------------------------------------------- */
.cert-card { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: #fff; }
.cert-card h3 { font-size: 1.1rem; }
.cert-card p { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-700); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sky-500); }

/* Prose (legal pages) -------------------------------------------------------- */
.prose { max-width: 760px; color: var(--ink-2); }
.prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); color: var(--ink); margin: 2.2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; color: var(--ink); margin: 1.6em 0 .5em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
.prose address { font-style: normal; }
.placeholder { background: #fff6d6; color: #6a5200; border-radius: 6px; padding: 1px 6px; font-size: .92em; }

/* Footer -------------------------------------------------------------------- */
.site-footer { padding: 0 0 12px; }
main > .section:last-child:not(.section--tight) { padding-bottom: var(--section-y); }
.site-footer__panel { background: var(--navy-900); color: #fff; border-radius: var(--radius-xl); padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 64px) 28px; position: relative; overflow: hidden; isolation: isolate; }
.site-footer__panel::after { content: ""; position: absolute; z-index: -1; left: -10%; bottom: -60%; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(43, 184, 248, .16), transparent); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: clamp(28px, 4vw, 48px); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-top img { width: 170px; }
.footer-top .btn-row .btn { min-height: 46px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding: clamp(28px, 4vw, 48px) 0; }
.footer-grid h4 { font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .5); font-weight: 600; margin-bottom: 16px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { color: rgba(255, 255, 255, .85); transition: color .2s var(--ease); }
.footer-grid a:hover { color: var(--sky-500); }
.footer-about p { color: rgba(255, 255, 255, .7); max-width: 36ch; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255, 255, 255, .85); }
.footer-contact .icon { color: var(--sky-500); margin-top: 3px; width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: rgba(255, 255, 255, .55); }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a:hover { color: #fff; }

/* Reveal animation --------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Responsive ---------------------------------------------------------------- */
@media (max-width: 1180px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .nav, .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero__content { grid-template-columns: 1fr; }
  .lines-card { justify-self: start; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento > *, .bento .b-wide, .bento .b-half { grid-column: span 6; }
  .bento .b-tall { grid-row: span 1; }
  .io-grid { grid-template-columns: 1fr 1fr; }
  .io-grid .media { grid-column: 1 / -1; aspect-ratio: 16 / 8; order: -1; }
  .network { grid-template-columns: 1fr; }
  .network__legend { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-band__grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .split, .split--wide-left { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-row { grid-template-columns: 48px 1fr; }
  .feature-row p { grid-column: 2; }
  .network__legend { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; --radius-xl: 24px; --radius-lg: 20px; }
  .brand img { width: 128px; }
  .grid-2, .grid-3, .grid-4, .facts { grid-template-columns: 1fr; }
  .bento > *, .bento .b-wide, .bento .b-half { grid-column: 1 / -1; }
  .bento { grid-auto-rows: auto; }
  .bento .card { min-height: 220px; }
  .io-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__frame { min-height: 0; }
  .hero__content { padding-top: 120px; }
  .btn-row .btn { flex: 1 1 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
  .route-path { flex-wrap: wrap; row-gap: 6px; }
  .route-path__line { min-width: 24px; }
  .media-stack .media-badge { position: relative; right: auto; bottom: auto; margin: -40px 16px 0; }
  .contact-item { padding: 18px; gap: 14px; }
  .network__map { overflow: hidden; margin-inline: -28px; }
  .network__map .route-map { width: 155%; max-width: none; margin-left: -29%; }
  .line-item strong { font-size: .95rem; }
  .route-map .map-name { font-size: 34px; }
  .route-map .map-sub { display: none; }
}
