/* ==========================================================
   ZADIX — Innovate Ship Supply Goods
   Luxury maritime theme: deep navy, polished brass, ivory
   ========================================================== */

:root {
  --navy-950: #030a14;
  --navy-900: #06121f;
  --navy-800: #0a1c2f;
  --navy-700: #10283f;
  --navy-600: #183653;
  --gold: #c9a45c;
  --gold-light: #e6cd94;
  --gold-dark: #9a7a3a;
  --ivory: #f4efe4;
  --muted: #9fb0c2;
  --line: rgba(201, 164, 92, 0.22);
  --glass: rgba(6, 18, 31, 0.55);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Montserrat", "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 4px;
  --max: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy-900);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.loading { overflow: hidden; }

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--gold); color: var(--navy-950); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--navy-950); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold-dark), var(--gold)); border-radius: 8px; }

.container { width: min(var(--max), 100% - 48px); margin-inline: auto; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.8rem, 7vw, 6.2rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); }
p { color: var(--muted); font-size: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--gold); }

.gold-text {
  background: linear-gradient(110deg, var(--gold-dark) 0%, var(--gold-light) 30%, #fff6dc 45%, var(--gold) 60%, var(--gold-dark) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
  font-style: italic;
}
@keyframes shimmer { to { background-position: -250% center; } }

.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 42px; height: 1px; background: var(--gold); }
.section-head h2 { margin: 18px 0 22px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 36px; border: 1px solid var(--gold);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--navy-950); background: var(--gold);
  overflow: hidden; isolation: isolate; cursor: pointer;
  transition: color 0.5s var(--ease), transform 0.3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--navy-950);
  transform: translateY(101%); transition: transform 0.55s var(--ease);
}
.btn:hover { color: var(--gold); }
.btn:hover::before { transform: translateY(0); }
.btn i { transition: transform 0.4s var(--ease); }
.btn:hover i { transform: translateX(5px); }

.btn-ghost { background: transparent; color: var(--ivory); }
.btn-ghost::before { background: var(--gold); }
.btn-ghost:hover { color: var(--navy-950); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: radial-gradient(circle at center, var(--navy-800), var(--navy-950) 70%);
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-brand { font-family: var(--serif); font-size: 2.2rem; letter-spacing: 0.55em; color: var(--ivory); padding-left: 0.55em; }
.loader-sub { font-size: 0.64rem; letter-spacing: 0.4em; color: var(--gold); text-transform: uppercase; margin-top: 6px; }
.loader-bar { width: 220px; height: 1px; background: rgba(255,255,255,0.1); margin: 28px auto 0; overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 0; background: var(--gold); animation: load 1.8s var(--ease) forwards; }
@keyframes load { to { width: 100%; } }

.helm { width: 110px; height: 110px; margin: 0 auto 26px; animation: helm-spin 3.2s var(--ease) infinite; }
.helm circle, .helm line { stroke: var(--gold); fill: none; }
@keyframes helm-spin { 0% { transform: rotate(0); } 50% { transform: rotate(200deg); } 100% { transform: rotate(360deg); } }

/* ---------- Page transition ---------- */
.page-wipe {
  position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  background: var(--navy-950);
  transform: translateY(100%);
  transition: transform 0.7s var(--ease);
}
.page-wipe.active { transform: translateY(0); }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform: scaleX(0); transform-origin: left; will-change: transform; z-index: 1001; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  padding: 26px 0;
  transition: padding 0.5s var(--ease), background 0.5s var(--ease), border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  padding: 14px 0;
  border-color: var(--line);
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(3, 10, 20, 0.82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.header.scrolled::before { opacity: 1; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 30px; }

.logo { display: flex; align-items: center; gap: 14px; }
.logo-emblem { height: 54px; width: auto; transition: transform 0.8s var(--ease), filter 0.8s; filter: drop-shadow(0 4px 14px rgba(201,164,92,0.2)); }
.logo:hover .logo-emblem { transform: translateY(-3px) rotate(-4deg); filter: drop-shadow(0 6px 20px rgba(201,164,92,0.45)); }
.header.scrolled .logo-emblem { height: 46px; }
.footer-logo { display: inline-block; }
.footer-logo img { width: 190px; height: auto; filter: drop-shadow(0 8px 30px rgba(201,164,92,0.18)); }
.logo-text strong { display: block; font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: 0.4em; line-height: 1; }
.logo-text small { display: block; font-size: 0.55rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }

.menu { display: flex; align-items: center; gap: 40px; }
.menu a {
  position: relative; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  padding: 6px 0; color: rgba(244, 239, 228, 0.82); transition: color 0.3s;
}
.menu a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 1px;
  background: var(--gold); transition: width 0.45s var(--ease), left 0.45s var(--ease);
}
.menu a:hover, .menu a.active { color: var(--gold); }
.menu a:hover::after, .menu a.active::after { width: 100%; left: 0; }
.nav .btn { padding: 13px 26px; }

.burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line); cursor: pointer; position: relative; z-index: 1100; }
.burger span { position: absolute; left: 11px; width: 20px; height: 1px; background: var(--gold); transition: 0.4s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger.open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-video, .band-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before, .band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(3,10,20,0.55) 0%, rgba(3,10,20,0.25) 40%, rgba(6,18,31,0.95) 100%),
    linear-gradient(90deg, rgba(3,10,20,0.85) 0%, rgba(3,10,20,0.1) 75%);
}
.hero > .container { position: relative; z-index: 2; }
.hero-content { position: relative; padding: 150px 0 190px; max-width: 920px; }
.hero h1 { margin: 26px 0 30px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.3s var(--ease); }
.ready .hero h1 .line > span { transform: translateY(0); }
.ready .hero h1 .line:nth-child(2) > span { transition-delay: 0.15s; }
.ready .hero h1 .line:nth-child(3) > span { transition-delay: 0.3s; }
.hero p.lead { max-width: 600px; font-size: 1.08rem; color: rgba(244,239,228,0.78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 44px; }

.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.ready .fade-up { opacity: 1; transform: none; }
.ready .fade-up.d1 { transition-delay: 0.5s; }
.ready .fade-up.d2 { transition-delay: 0.7s; }
.ready .fade-up.d3 { transition-delay: 0.9s; }

.hero-side {
  position: absolute; right: 48px; bottom: 170px; z-index: 2;
  display: flex; flex-direction: column; gap: 18px; align-items: center;
}
.hero-side a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold); font-size: 0.85rem; transition: 0.4s var(--ease); }
.hero-side a:hover { background: var(--gold); color: var(--navy-950); }
.hero-side::after { content: ""; width: 1px; height: 80px; background: linear-gradient(var(--gold), transparent); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 120px; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.6rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold);
}
.scroll-cue .mouse { width: 24px; height: 38px; border: 1px solid var(--gold); border-radius: 14px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; width: 2px; height: 7px; margin-left: -1px; background: var(--gold); border-radius: 2px; animation: wheel 2s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(12px); } }

/* Animated waves (signature) */
.waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 110px; z-index: 1; pointer-events: none; }
.waves svg { width: 100%; height: 100%; }
.waves .parallax > use { animation: wave-move 22s cubic-bezier(.55,.5,.45,.5) infinite; }
.waves .parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 9s; }
.waves .parallax > use:nth-child(2) { animation-delay: -3s; animation-duration: 12s; }
.waves .parallax > use:nth-child(3) { animation-delay: -4s; animation-duration: 16s; }
.waves .parallax > use:nth-child(4) { animation-delay: -5s; animation-duration: 24s; }
@keyframes wave-move { 0% { transform: translate3d(-90px,0,0); } 100% { transform: translate3d(85px,0,0); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { min-height: 74vh; }
.page-hero .hero-content { max-width: 820px; }
.breadcrumb { display: flex; gap: 12px; font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); margin-top: 30px; }
.breadcrumb a { color: var(--gold); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--navy-950); padding: 26px 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 46px; padding-right: 46px;
  font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-style: italic; white-space: nowrap; color: var(--ivory);
}
.marquee-track span i { font-size: 0.9rem; color: var(--gold); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(50px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.left { transform: translateX(-60px); }
.reveal.right { transform: translateX(60px); }
.reveal.zoom { transform: scale(0.92); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Split / About blocks ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split p + p { margin-top: 18px; }

.frame { position: relative; }
.frame::before {
  content: ""; position: absolute; inset: 28px -28px -28px 28px;
  border: 1px solid var(--gold); z-index: 0; transition: inset 0.8s var(--ease);
}
.frame:hover::before { inset: 14px -14px -14px 14px; }
.frame .img-wrap { position: relative; z-index: 1; overflow: hidden; aspect-ratio: 4 / 5; }
.frame .img-wrap img, .frame .img-wrap video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease); }
.frame:hover .img-wrap img, .frame:hover .img-wrap video { transform: scale(1.02); }
.frame .badge {
  position: absolute; z-index: 2; left: -40px; bottom: 50px;
  background: var(--gold); color: var(--navy-950); padding: 26px 30px; max-width: 220px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
}
.frame .badge strong { display: block; font-family: var(--serif); font-size: 3rem; line-height: 1; font-weight: 600; }
.frame .badge span { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }

.checks { margin-top: 30px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ivory); font-weight: 400; }
.checks li i { color: var(--gold); margin-top: 6px; font-size: 0.8rem; }

.signature { margin-top: 40px; display: flex; align-items: center; gap: 22px; }
.signature .sig { font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--gold); }
.signature small { display: block; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Insights: rings + region chart ---------- */
.insights { background: radial-gradient(ellipse at 50% 0%, rgba(201,164,92,0.08), transparent 60%), var(--navy-900); }
.rings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.ring-card { text-align: center; padding: 44px 24px 38px; border: 1px solid var(--line); background: linear-gradient(170deg, rgba(16,40,63,0.55), rgba(3,10,20,0.6)); position: relative; transition: transform 0.6s var(--ease), border-color 0.6s; }
.ring-card:hover { transform: translateY(-8px); border-color: var(--gold); }
.ring { position: relative; width: 170px; height: 170px; margin: 0 auto 28px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring .seg { fill: none; stroke: rgba(201,164,92,0.14); stroke-width: 7; stroke-linecap: round; transition: stroke 0.5s ease, filter 0.5s ease; }
.ring.on .seg { stroke: url(#goldGrad); filter: drop-shadow(0 0 4px rgba(201,164,92,0.45)); }
.ring .inner { fill: none; stroke: rgba(201,164,92,0.25); stroke-width: 1; stroke-dasharray: 1 5; }
.ring-center { position: absolute; inset: 0; display: grid; place-items: center; }
.ring-center .num { font-family: var(--serif); font-size: 2.9rem; line-height: 1; color: var(--ivory); }
.ring-card h4 { font-size: 1.5rem; color: var(--gold); margin-bottom: 8px; }
.ring-card p { font-size: 0.85rem; max-width: 220px; margin: 0 auto; }

.insight-panel { margin-top: 28px; display: grid; grid-template-columns: 340px 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; padding: clamp(36px, 5vw, 64px); border: 1px solid var(--line); background: var(--navy-800); position: relative; }
.insight-panel::before { content: ""; position: absolute; top: -1px; left: -1px; width: 90px; height: 90px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.insight-panel::after { content: ""; position: absolute; bottom: -1px; right: -1px; width: 90px; height: 90px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.donut-wrap { position: relative; width: 100%; max-width: 320px; margin: 0 auto; }
.donut { width: 100%; transform: rotate(-90deg); overflow: visible; }
.donut-track { fill: none; stroke: rgba(244,239,228,0.06); stroke-width: 22; }
.donut .arc { fill: none; stroke-width: 22; cursor: pointer; transition: stroke-dasharray 1.6s var(--ease), stroke-width 0.3s, opacity 0.3s; }
.donut .arc.dim { opacity: 0.35; }
.donut .arc.hot { stroke-width: 28; }
.donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.donut-center span { font-family: var(--serif); font-size: 4rem; line-height: 1; color: var(--ivory); }
.donut-center small { font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.chart-tip { position: absolute; z-index: 5; pointer-events: none; padding: 10px 14px; background: var(--navy-950); border: 1px solid var(--gold); font-size: 0.78rem; color: var(--ivory); white-space: nowrap; opacity: 0; transform: translate(-50%, -120%); transition: opacity 0.2s; }
.chart-tip.show { opacity: 1; }
.chart-tip b { color: var(--ivory); font-weight: 600; }
.breakdown h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 14px 0 30px; }
.bars { display: grid; gap: 26px; }
.bars li { cursor: default; transition: opacity 0.3s; }
.bars li.dim { opacity: 0.4; }
.bar-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.bar-head .sw { width: 10px; height: 10px; border-radius: 2px; flex: none; }
.bar-head b { font-weight: 500; color: var(--ivory); font-size: 0.95rem; }
.bar-head em { margin-left: auto; font-style: normal; font-family: var(--serif); font-size: 1.3rem; color: var(--ivory); }
.bar-track { height: 6px; background: rgba(244,239,228,0.06); border-radius: 4px; overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0; border-radius: 0 4px 4px 0; transition: width 1.6s var(--ease); }
.bars small { display: block; margin-top: 8px; font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  position: relative; overflow: hidden; min-height: 480px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 40px 34px; border: 1px solid var(--line); isolation: isolate;
}
.card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease), filter 1s; filter: saturate(0.75); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3,10,20,0.15) 0%, rgba(3,10,20,0.7) 50%, rgba(3,10,20,0.97) 100%); transition: background 0.8s; }
.card:hover > img { transform: scale(1.1); filter: saturate(1); }
.card:hover::before { background: linear-gradient(180deg, rgba(3,10,20,0.3) 0%, rgba(3,10,20,0.8) 45%, rgba(3,10,20,0.98) 100%); }
.card .idx { position: absolute; top: 30px; left: 34px; font-family: var(--serif); font-size: 1rem; color: var(--gold); letter-spacing: 0.2em; }
.card .icon { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font-size: 1.3rem; margin-bottom: 24px; transition: 0.5s var(--ease); }
.card:hover .icon { background: var(--gold); color: var(--navy-950); transform: rotate(-8deg); }
.card h3 { margin-bottom: 12px; }
.card p { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.8s var(--ease), opacity 0.6s, margin 0.6s; }
.card:hover p, .card:focus-within p { max-height: 200px; opacity: 1; margin-bottom: 8px; }
.card .more { margin-top: 18px; font-size: 0.68rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); display: inline-flex; gap: 10px; align-items: center; }

/* ---------- Video band ---------- */
.band { position: relative; overflow: hidden; padding: clamp(120px, 16vw, 200px) 0; text-align: center; isolation: isolate; }
.band::before { background: radial-gradient(ellipse at center, rgba(3,10,20,0.45), rgba(3,10,20,0.92)); }
.band h2 { max-width: 900px; margin: 22px auto 26px; }
.band p { max-width: 640px; margin: 0 auto 40px; color: rgba(244,239,228,0.78); }
.play-ring { width: 96px; height: 96px; margin: 0 auto 30px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold); position: relative; }
.play-ring::before, .play-ring::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--gold); animation: ripple 3s var(--ease) infinite; }
.play-ring::after { animation-delay: 1.5s; }
@keyframes ripple { from { transform: scale(1); opacity: 0.8; } to { transform: scale(2.2); opacity: 0; } }

/* ---------- Features (why us) ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { padding: 46px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; transition: background 0.6s; }
.feature::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.feature:hover { background: rgba(201,164,92,0.05); }
.feature:hover::before { transform: scaleX(1); }
.feature i { font-size: 1.7rem; color: var(--gold); margin-bottom: 26px; display: block; }
.feature h4 { font-size: 1.5rem; margin-bottom: 12px; }
.feature p { font-size: 0.92rem; }

/* ---------- Gallery / products ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 18px; }
.gallery .g { position: relative; overflow: hidden; }
.gallery .g.tall { grid-row: span 2; }
.gallery .g.wide { grid-column: span 2; }
.gallery .g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.gallery .g::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(3,10,20,0.92)); }
.gallery .g figcaption { position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 1; transform: translateY(10px); transition: transform 0.6s var(--ease); }
.gallery .g figcaption small { display: block; font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.gallery .g figcaption span { font-family: var(--serif); font-size: 1.5rem; }
.gallery .g:hover img { transform: scale(1.08); }
.gallery .g:hover figcaption { transform: none; }

/* Product catalogue */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.product { background: var(--navy-800); border: 1px solid var(--line); overflow: hidden; transition: transform 0.6s var(--ease), box-shadow 0.6s, border-color 0.6s; }
.product:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(0,0,0,0.5); border-color: var(--gold); }
.product .ph { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.product .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product:hover .ph img { transform: scale(1.1); }
.product .tag { position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--navy-950); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; padding: 6px 12px; }
.product .body { padding: 26px 24px 30px; }
.product h4 { font-size: 1.45rem; margin-bottom: 10px; }
.product ul { display: grid; gap: 6px; }
.product li { font-size: 0.85rem; color: var(--muted); display: flex; gap: 10px; }
.product li::before { content: "—"; color: var(--gold); }

/* ---------- Detailed service rows ---------- */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; padding: 70px 0; border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-row:nth-child(even) .media { order: 2; }
.service-row .media { position: relative; overflow: hidden; aspect-ratio: 16 / 11; }
.service-row .media img, .service-row .media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.service-row:hover .media img, .service-row:hover .media video { transform: scale(1.06); }
.service-row .media .num { position: absolute; top: 20px; right: 24px; font-family: var(--serif); font-size: 5rem; line-height: 1; color: rgba(255,255,255,0.85); text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.service-row h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 16px 0 18px; }
.service-row .tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.service-row .tags span { border: 1px solid var(--line); padding: 7px 16px; font-size: 0.7rem; letter-spacing: 0.12em; color: var(--ivory); transition: 0.4s; }
.service-row .tags span:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.process::before { content: ""; position: absolute; top: 38px; left: 12%; right: 12%; height: 1px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px); opacity: 0.6; }
.step { text-align: center; position: relative; }
.step .dot { width: 76px; height: 76px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); border: 1px solid var(--gold); font-family: var(--serif); font-size: 1.6rem; color: var(--gold); position: relative; z-index: 1; transition: 0.5s var(--ease); }
.step:hover .dot { background: var(--gold); color: var(--navy-950); transform: scale(1.08); }
.step h4 { font-size: 1.5rem; margin-bottom: 10px; }
.step p { font-size: 0.9rem; }

/* ---------- Ports ---------- */
.ports-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.port {
  position: relative; padding: 34px 30px 30px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(16,40,63,0.7), rgba(6,18,31,0.6));
  overflow: hidden; transition: transform 0.6s var(--ease), border-color 0.6s;
}
.port::after { content: "\f13d"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: -10px; bottom: -24px; font-size: 7rem; color: rgba(201,164,92,0.06); transition: transform 1s var(--ease), color 0.6s; }
.port:hover { transform: translateY(-6px); border-color: var(--gold); }
.port:hover::after { transform: rotate(-18deg) scale(1.1); color: rgba(201,164,92,0.12); }
.port .region { font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.port h4 { font-size: 1.7rem; margin: 10px 0 8px; }
.port p { font-size: 0.88rem; }
.port .pin { position: absolute; top: 30px; right: 28px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.port .pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--gold); animation: ping 2.2s infinite; }
@keyframes ping { to { transform: scale(3.4); opacity: 0; } }

.region-title { display: flex; align-items: center; gap: 22px; margin: 70px 0 30px; }
.region-title:first-child { margin-top: 0; }
.region-title h3 { white-space: nowrap; }
.region-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.region-title .count { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; white-space: nowrap; }

/* Voyage route (signature for ports page) */
.route { position: relative; padding: 20px 0 0; }
.route svg { width: 100%; height: auto; overflow: visible; }
.route .path-bg { stroke: rgba(201,164,92,0.18); stroke-width: 2; fill: none; }
.route .path-draw { stroke: var(--gold); stroke-width: 2; fill: none; stroke-dasharray: 6 8; }
.route .node circle { fill: var(--navy-900); stroke: var(--gold); stroke-width: 2; }
.route .node text { fill: var(--ivory); font-family: var(--sans); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.route .node text.sub { fill: var(--gold); font-size: 10px; letter-spacing: 3px; }
.route .ship-icon { fill: var(--gold); }

.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.partner { position: relative; padding: 46px 30px; text-align: center; border: 1px solid var(--line); overflow: hidden; transition: 0.6s var(--ease); }
.partner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, rgba(201,164,92,0.25), transparent 65%); opacity: 0; transition: opacity 0.6s; }
.partner:hover { border-color: var(--gold); transform: translateY(-6px); }
.partner:hover::before { opacity: 1; }
.partner .flag { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--gold); }
.partner h4 { font-size: 1.7rem; margin: 14px 0 8px; position: relative; }
.partner p { font-size: 0.85rem; position: relative; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { background: var(--navy-800); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.6s var(--ease), border-color 0.6s; }
.news-card:hover { transform: translateY(-8px); border-color: var(--gold); }
.news-card .ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-700); }
.news-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.news-card:hover .ph img { transform: scale(1.08); }
.news-card .body { padding: 28px 28px 32px; }
.news-card time { font-size: 0.64rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.news-card h3 { font-size: 1.6rem; margin: 10px 0 12px; }
.news-card p { font-size: 0.9rem; white-space: pre-line; }

/* ---------- Testimonial / quote ---------- */
.quote { max-width: 980px; margin: 0 auto; text-align: center; }
.quote i.fa-quote-left { font-size: 2.4rem; color: var(--gold); margin-bottom: 30px; }
.quote blockquote { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.5rem); font-style: italic; line-height: 1.4; color: var(--ivory); }
.quote cite { display: block; margin-top: 30px; font-style: normal; font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }

/* ---------- Values / timeline (about) ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value { padding: 50px 40px; border: 1px solid var(--line); position: relative; background: var(--navy-800); transition: 0.6s var(--ease); }
.value:hover { transform: translateY(-8px); border-color: var(--gold); }
.value .big { position: absolute; top: 20px; right: 28px; font-family: var(--serif); font-size: 4.5rem; line-height: 1; color: rgba(201,164,92,0.12); }
.value i { font-size: 1.8rem; color: var(--gold); margin-bottom: 24px; display: block; }
.value h3 { margin-bottom: 14px; }

.timeline { position: relative; max-width: 1000px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline .fill { position: absolute; left: 50%; top: 0; width: 1px; height: 0; background: var(--gold); transition: height 0.2s linear; }
.t-item { position: relative; width: 50%; padding: 0 60px 70px; }
.t-item:nth-child(odd) { margin-left: 50%; }
.t-item:nth-child(even) { text-align: right; }
.t-item::before { content: ""; position: absolute; top: 8px; width: 15px; height: 15px; border-radius: 50%; background: var(--navy-900); border: 2px solid var(--gold); }
.t-item:nth-child(odd)::before { left: -7.5px; }
.t-item:nth-child(even)::before { right: -7.5px; }
.t-item small { font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.t-item h3 { margin: 8px 0 10px; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; padding: clamp(60px, 8vw, 100px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center;
  border: 1px solid var(--gold); isolation: isolate;
}
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,10,20,0.96) 30%, rgba(3,10,20,0.6)); }
.cta h2 { margin-top: 16px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 90px); }
.info-card { display: flex; gap: 22px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.info-card:first-of-type { padding-top: 0; }
.info-card .ic { flex: 0 0 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); transition: 0.5s var(--ease); }
.info-card:hover .ic { background: var(--gold); color: var(--navy-950); }
.info-card small { font-size: 0.64rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.info-card h4 { font-size: 1.4rem; margin: 4px 0; }
.info-card p, .info-card a { font-size: 0.94rem; color: var(--muted); }
.info-card a:hover { color: var(--gold); }

.form { padding: clamp(34px, 5vw, 60px); background: var(--navy-800); border: 1px solid var(--line); position: relative; }
.form::before { content: ""; position: absolute; top: -1px; left: -1px; width: 90px; height: 90px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.form::after { content: ""; position: absolute; bottom: -1px; right: -1px; width: 90px; height: 90px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.form h3 { margin-bottom: 8px; }
.form > p { margin-bottom: 34px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { position: relative; margin-bottom: 26px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 20px 0 10px; background: transparent;
  border: 0; border-bottom: 1px solid rgba(244,239,228,0.18);
  color: var(--ivory); font: inherit; font-size: 0.95rem; outline: none;
  transition: border-color 0.4s;
}
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--navy-800); color: var(--ivory); }
.field textarea { resize: vertical; min-height: 120px; }
.field label { position: absolute; left: 0; top: 20px; font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); pointer-events: none; transition: 0.35s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { top: -2px; font-size: 0.62rem; color: var(--gold); }
.field .line { position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--gold); transition: width 0.6s var(--ease); }
.field input:focus ~ .line, .field textarea:focus ~ .line, .field select:focus ~ .line { width: 100%; }
.form-note { margin-top: 18px; font-size: 0.85rem; color: var(--gold); min-height: 1.2em; }
.form-note.error { color: #e08a7a; }
.form .btn[disabled] { opacity: 0.6; pointer-events: none; }

.map-wrap { margin-top: 90px; border: 1px solid var(--line); position: relative; height: 460px; overflow: hidden; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) hue-rotate(180deg) contrast(0.9) brightness(0.9); }

.faq { max-width: 900px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 26px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-family: var(--serif); font-size: 1.5rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-family: var(--sans); font-weight: 300; font-size: 1.6rem; transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 14px; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--navy-950); padding: 110px 0 0; border-top: 1px solid var(--line); overflow: hidden; }
.footer .big-word { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); font-family: var(--serif); font-size: clamp(6rem, 20vw, 18rem); letter-spacing: 0.2em; color: transparent; -webkit-text-stroke: 1px rgba(201,164,92,0.08); white-space: nowrap; pointer-events: none; line-height: 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; position: relative; }
.footer h5 { font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 26px; }
.footer p { font-size: 0.9rem; margin-top: 22px; }
.footer ul { display: grid; gap: 12px; }
.footer ul a, .footer ul li { font-size: 0.9rem; color: var(--muted); transition: color 0.3s, padding 0.3s; }
.footer ul a:hover { color: var(--gold); padding-left: 6px; }
.socials { display: flex; gap: 12px; margin-top: 28px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold); transition: 0.4s; }
.socials a:hover { background: var(--gold); color: var(--navy-950); }
.footer-bottom { position: relative; margin-top: 90px; padding: 28px 0 34px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 0.75rem; letter-spacing: 0.1em; color: var(--muted); }

/* ---------- Floating extras ---------- */
.to-top { position: fixed; right: 28px; bottom: 28px; z-index: 900; width: 52px; height: 52px; border: 1px solid var(--gold); background: rgba(3,10,20,0.8); color: var(--gold); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(20px); transition: 0.5s var(--ease); }
.to-top.show { opacity: 1; transform: none; }
.to-top:hover { background: var(--gold); color: var(--navy-950); }

.cursor { position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none; width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid var(--gold); border-radius: 50%; transition: width 0.3s, height 0.3s, margin 0.3s, background 0.3s; mix-blend-mode: difference; }
.cursor.hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(201,164,92,0.25); }
.cursor-dot { position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: var(--gold); }
@media (hover: none) { .cursor, .cursor-dot { display: none; } }

.bg-alt { background: var(--navy-950); }
.bg-texture { background: radial-gradient(ellipse at 15% 0%, rgba(201,164,92,0.07), transparent 50%), radial-gradient(ellipse at 90% 100%, rgba(24,54,83,0.6), transparent 55%), var(--navy-900); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards, .values, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .features, .products, .partners { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ports-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .burger { display: block; }
  .nav .btn { display: none; }
  .menu {
    position: fixed; inset: 0; z-index: 1050;
    height: 100vh; height: 100dvh;
    flex-direction: column; justify-content: flex-start; gap: 26px;
    padding: 90px 24px 40px;
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    background: radial-gradient(ellipse at 50% 0%, rgba(201,164,92,0.08), transparent 60%), var(--navy-950);
    clip-path: circle(0% at calc(100% - 46px) 46px);
    visibility: hidden;
    transition: clip-path 0.8s var(--ease), visibility 0s linear 0.8s;
  }
  .menu.open { visibility: visible; transition: clip-path 0.8s var(--ease), visibility 0s; }
  .menu > :first-child { margin-top: auto; }
  .menu > :last-child { margin-bottom: auto; }
  .menu.open { clip-path: circle(150% at calc(100% - 46px) 46px); }
  .menu a { font-family: var(--serif); font-size: 2.2rem; letter-spacing: 0.1em; text-transform: none; }
  .split, .contact-grid, .service-row, .cta { grid-template-columns: 1fr; }
  .split.reverse > :first-child, .service-row:nth-child(even) .media { order: 0; }
  .rings { grid-template-columns: repeat(2, 1fr); }
  .insight-panel { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .process::before { display: none; }
  .hero-side { display: none; }
  .frame { margin: 0 28px 28px 0; }
  .frame .badge { left: 16px; bottom: 16px; }
  .timeline::before, .timeline .fill { left: 8px; }
  .t-item, .t-item:nth-child(odd) { width: 100%; margin-left: 0; padding: 0 0 50px 46px; text-align: left; }
  .t-item:nth-child(even) { text-align: left; }
  .t-item::before, .t-item:nth-child(odd)::before, .t-item:nth-child(even)::before { left: 1px; right: auto; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .cards, .values, .features, .products, .partners, .ports-grid, .footer-grid, .form-row, .rings, .news-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery .g.wide { grid-column: auto; }
  .gallery .g.tall { grid-row: auto; }
  .card { min-height: 420px; }
  .card p { max-height: none; opacity: 1; margin-bottom: 8px; }
  .process { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .logo-text small { display: none; }
  .logo-emblem { height: 44px; }
  .scroll-cue { display: none; }
  .region-title { flex-wrap: wrap; }
  .region-title::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media (max-width: 480px) {
  .loader-brand { font-size: 1.7rem; letter-spacing: 0.4em; padding-left: 0.4em; }
  .loader-sub { letter-spacing: 0.25em; }
}

/* ---------- Refinements ---------- */
.page-hero .hero-content { padding: 140px 0 150px; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
.band::before { background: radial-gradient(ellipse at center, rgba(3,10,20,0.68), rgba(3,10,20,0.94)); }
.band h2, .band p { text-shadow: 0 2px 24px rgba(3,10,20,0.8); }
.cursor, .cursor-dot { opacity: 0; transition: opacity 0.4s; }
.cursor.on, .cursor-dot.on { opacity: 1; }
@media (max-height: 980px) { .scroll-cue { display: none; } }
@media (max-width: 640px) { .hero-content { padding: 130px 0 150px; } }

/* ---------- Contact map button ---------- */
.map-btn { position: absolute; left: 24px; bottom: 24px; z-index: 2; box-shadow: 0 14px 40px rgba(0,0,0,0.5); }

/* ---------- Phone refinements ---------- */
.route-hint { display: none; }
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .eyebrow { letter-spacing: 0.26em; gap: 10px; }
  .eyebrow::before, .section-head.center .eyebrow::after { width: 26px; }
  .hero h1 { margin: 18px 0 22px; }
  .hero p.lead { font-size: 1rem; }

  /* Rings: compact 2 x 2 grid */
  .rings { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ring-card { padding: 26px 10px 22px; }
  .ring { width: 112px; height: 112px; margin-bottom: 16px; }
  .ring-center .num { font-size: 2rem; }
  .ring-card h4 { font-size: 1.2rem; }
  .ring-card p { font-size: 0.74rem; line-height: 1.5; }
  .insight-panel { padding: 30px 20px; }
  .donut-wrap { max-width: 240px; }
  .donut-center span { font-size: 3rem; }

  /* Image frames: smaller gold badge */
  .frame::before { inset: 16px -16px -16px 16px; }
  .frame { margin: 0 16px 16px 0; }
  .frame .badge { left: 12px; bottom: 12px; padding: 14px 16px; max-width: 160px; }
  .frame .badge strong { font-size: 2rem; }
  .frame .badge span { font-size: 0.58rem; }

  /* Buttons never wrap awkwardly */
  .btn { white-space: nowrap; }
  .cta { padding: 40px 22px; }
  .cta .btn { width: 100%; justify-content: center; }

  /* Ports route: scroll hint */
  .route-hint { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
  .route-hint i { animation: nudge 1.6s ease-in-out infinite; }
  .region-title { margin: 50px 0 22px; }

  /* Contact */
  .map-wrap { height: 320px; margin-top: 60px; }
  .map-btn { left: 50%; transform: translateX(-50%); bottom: 16px; }
  .info-card { padding: 22px 0; gap: 16px; }
  .info-card .ic { flex-basis: 48px; height: 48px; }
  .form { padding: 30px 20px; }
  .faq summary { font-size: 1.25rem; }

  /* Footer: two-column link lists, no oversized watermark */
  .footer { padding-top: 70px; }
  .footer .big-word { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { margin-top: 50px; flex-direction: column; text-align: center; }
  .footer ul a, .footer ul li { font-size: 0.88rem; }

  .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}
@keyframes nudge { 50% { transform: translateX(6px); } }

/* ---------- WhatsApp & phone-menu quick actions ---------- */
.menu-contact { display: none; }
.wa-float {
  position: fixed; left: 24px; bottom: 24px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: var(--navy-950); font-size: 1.6rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45); transition: transform 0.4s var(--ease), background 0.3s;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold); animation: ripple 2.6s var(--ease) infinite; }
.wa-float:hover { transform: scale(1.08); background: var(--gold-light); }
@media (max-width: 960px) {
  .menu-contact { display: flex; gap: 12px; margin-top: 20px; }
  .menu-contact a { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; padding: 14px 20px; border: 1px solid var(--gold); color: var(--gold); display: inline-flex; gap: 10px; align-items: center; }
  .menu-contact a::after { display: none; }
}
@media (max-width: 640px) {
  .wa-float { left: 16px; bottom: 16px; width: 50px; height: 50px; font-size: 1.45rem; }
}

/* ---------- Phone menu & form fixes ---------- */
body.menu-open { position: fixed; left: 0; right: 0; overflow: hidden; }
@media (max-width: 960px) and (max-height: 560px) {
  .menu { gap: 14px; padding-top: 70px; }
  .menu a { font-size: 1.6rem; }
}
/* Drop-down arrow on the Port of Call select */
.field select { padding-right: 28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c9a45c' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; background-size: 12px 8px; }
/* iPhone zooms into any field under 16px — keep form text at 16px on phones */
@media (max-width: 960px) {
  .field input, .field select, .field textarea { font-size: 16px; }
}

/* ---------- Leadership ---------- */
.leadership { background: radial-gradient(ellipse at 50% 0%, rgba(201,164,92,0.10), transparent 60%), var(--navy-950); overflow: hidden; }
.leaders { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 48px); max-width: 1080px; margin: 0 auto; }
.leader {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  padding: clamp(48px, 6vw, 72px) clamp(28px, 4vw, 52px) clamp(44px, 5vw, 60px);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(16,40,63,0.65), rgba(3,10,20,0.85));
  transition: transform 0.8s var(--ease), border-color 0.8s, box-shadow 0.8s;
}
.leader::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.6s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(201,164,92,0.16), transparent 60%);
}
.leader::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(201,164,92,0.12); pointer-events: none; transition: inset 0.8s var(--ease), border-color 0.8s; }
.leader:hover { transform: translateY(-10px); border-color: var(--gold); box-shadow: 0 40px 80px rgba(0,0,0,0.5); }
.leader:hover::before { opacity: 1; }
.leader:hover::after { inset: 8px; border-color: rgba(201,164,92,0.35); }
.leader .corner { position: absolute; width: 60px; height: 60px; pointer-events: none; }
.leader .corner.tl { top: -1px; left: -1px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.leader .corner.br { bottom: -1px; right: -1px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.leader .rank { position: absolute; top: 26px; right: 32px; font-family: var(--serif); font-size: 4.5rem; line-height: 1; color: rgba(201,164,92,0.1); }

.portrait { position: relative; width: 230px; height: 230px; margin: 0 auto 38px; }
.portrait .orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: orbit 38s linear infinite; }
.portrait .orbit text { fill: var(--gold); font-family: var(--sans); font-size: 9.5px; font-weight: 600; letter-spacing: 4.2px; text-transform: uppercase; }
.leader:hover .portrait .orbit { animation-duration: 14s; }
@keyframes orbit { to { transform: rotate(360deg); } }
.portrait .medal {
  position: absolute; inset: 30px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, var(--navy-600), var(--navy-950) 75%);
  box-shadow: 0 0 0 1px var(--gold), 0 0 0 7px var(--navy-950), 0 0 0 8px rgba(201,164,92,0.45), 0 25px 60px rgba(0,0,0,0.6), inset 0 0 40px rgba(201,164,92,0.12);
}
.portrait .medal img { width: 100%; height: 100%; object-fit: cover; }
.portrait .medal .avatar { width: 100%; height: 100%; margin-top: 18%; opacity: 0.9; filter: drop-shadow(0 6px 18px rgba(0,0,0,0.5)); transition: transform 1s var(--ease), opacity 0.6s; }
.leader:hover .portrait .medal .avatar { transform: translateY(-4px) scale(1.03); opacity: 1; }
.portrait .medal .mono { font-family: var(--serif); font-size: 4.2rem; font-weight: 500; font-style: italic; line-height: 1; letter-spacing: 0.02em; }
.portrait .medal::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(115deg, transparent 35%, rgba(255,246,220,0.18) 50%, transparent 65%); transform: translateX(-120%); transition: transform 1.4s var(--ease); }
.leader:hover .portrait .medal::after { transform: translateX(120%); }

.leader .title { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.38em; text-transform: uppercase; color: var(--gold); }
.leader h3 { font-size: clamp(2rem, 3.2vw, 2.7rem); margin: 14px 0 6px; }
.leader .rule { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 20px auto 22px; color: var(--gold); font-size: 0.6rem; }
.leader .rule::before, .leader .rule::after { content: ""; width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.leader .rule::after { transform: scaleX(-1); }
.leader p { max-width: 400px; margin: 0 auto; font-size: 0.95rem; }
.leader .sig { display: block; margin-top: 26px; font-family: var(--serif); font-style: italic; font-size: 1.7rem; color: rgba(201,164,92,0.75); }

/* ---------- Abu Dhabi branch ---------- */
.branch { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(28px, 4vw, 54px); align-items: stretch; }
.branch-card {
  position: relative; padding: clamp(36px, 4.5vw, 56px); border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(16,40,63,0.75), rgba(3,10,20,0.9));
  display: flex; flex-direction: column;
}
.branch-card::before { content: ""; position: absolute; top: -1px; left: -1px; width: 80px; height: 80px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.branch-card::after { content: ""; position: absolute; bottom: -1px; right: -1px; width: 80px; height: 80px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.branch-card .code { font-family: var(--serif); font-size: clamp(4rem, 7vw, 6rem); line-height: 0.9; color: transparent; -webkit-text-stroke: 1px var(--gold); letter-spacing: 0.08em; }
.branch-card .kind { margin-top: 18px; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold); }
.branch-card h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin: 10px 0 24px; }
.branch-card address { font-style: normal; display: grid; gap: 4px; padding: 22px 0; border-block: 1px solid var(--line); color: var(--ivory); font-size: 0.95rem; letter-spacing: 0.04em; }
.branch-card address span:first-child { color: var(--gold); font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 6px; }
.branch-card .phone { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; font-family: var(--serif); font-size: 1.7rem; color: var(--ivory); transition: color 0.3s; }
.branch-card .phone i { font-size: 1.1rem; color: var(--gold); }
.branch-card .phone:hover { color: var(--gold); }
.branch-card .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 30px; }
.branch-card .actions .btn { padding: 14px 22px; }

.office-shots { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(180px, 1fr); gap: 16px; }
.office-shots .shot { position: relative; overflow: hidden; cursor: zoom-in; border: 1px solid var(--line); min-height: 220px; }
.office-shots .shot.lead { grid-column: 1 / -1; min-height: 300px; }
.office-shots .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease), filter 1s; filter: saturate(0.85); }
.office-shots .shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(3,10,20,0.55) 65%, rgba(3,10,20,0.95)); }
.office-shots .shot:hover img { transform: scale(1); filter: saturate(1.05); }
.office-shots figcaption { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.office-shots figcaption small { display: block; font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.office-shots figcaption span { font-family: var(--serif); font-size: 1.35rem; color: var(--ivory); }
.office-shots figcaption i { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font-size: 0.8rem; opacity: 0; transform: translateY(8px); transition: 0.5s var(--ease); }
.office-shots .shot:hover figcaption i { opacity: 1; transform: none; }

/* Office panorama band */
.panorama { position: relative; height: clamp(440px, 72vh, 700px); overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; }
.panorama > img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; z-index: -2; will-change: transform; }
.panorama::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3,10,20,0.35) 0%, rgba(3,10,20,0.1) 40%, rgba(6,18,31,0.96) 100%), linear-gradient(90deg, rgba(3,10,20,0.75), transparent 65%); }
.panorama .container { padding-bottom: clamp(50px, 8vw, 90px); }
.panorama h2 { max-width: 760px; margin: 18px 0; text-shadow: 0 2px 30px rgba(3,10,20,0.7); }
.panorama p { max-width: 560px; color: rgba(244,239,228,0.82); }
.panorama .loc { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ivory); }
.panorama .loc i { color: var(--gold); margin-right: 8px; }

/* Offices (contact page) */
.offices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 90px; }
.office-tab {
  position: relative; text-align: left; cursor: pointer; font: inherit; color: inherit;
  padding: 34px 34px 30px; border: 1px solid var(--line); background: var(--navy-800);
  transition: border-color 0.5s, background 0.5s, transform 0.5s var(--ease);
}
.office-tab:hover { transform: translateY(-4px); border-color: rgba(201,164,92,0.6); }
.office-tab.active { border-color: var(--gold); background: linear-gradient(165deg, rgba(201,164,92,0.12), var(--navy-800) 60%); }
.office-tab small { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); }
.office-tab h4 { font-size: 1.7rem; margin: 8px 0 10px; }
.office-tab p { font-size: 0.9rem; line-height: 1.6; }
.office-tab .meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; font-size: 0.85rem; }
.office-tab .meta a { color: var(--ivory); }
.office-tab .meta a:hover { color: var(--gold); }
.office-tab .meta i { color: var(--gold); margin-right: 8px; }
.office-tab .view { position: absolute; top: 26px; right: 26px; padding: 8px 12px; background: none; border: 1px solid var(--line); cursor: pointer; font: inherit; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); transition: 0.4s var(--ease); }
.office-tab .view:hover { border-color: var(--gold); color: var(--gold); }
.office-tab.active .view { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
.offices + .map-wrap { margin-top: 24px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 9500; display: grid; place-items: center; padding: 70px 80px; background: rgba(3,10,20,0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s; }
.lightbox.open { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease); }
.lightbox figure { position: relative; max-width: 100%; max-height: 100%; display: grid; gap: 16px; justify-items: center; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 180px); object-fit: contain; box-shadow: 0 40px 120px rgba(0,0,0,0.7); outline: 1px solid var(--line); transform: scale(0.96); transition: transform 0.6s var(--ease); }
.lightbox.open img { transform: none; }
.lightbox figcaption { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ivory); text-align: center; }
.lightbox figcaption small { display: block; font-family: var(--sans); font-style: normal; font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.lightbox button { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; background: rgba(3,10,20,0.6); border: 1px solid var(--gold); color: var(--gold); cursor: pointer; font-size: 1rem; transition: background 0.3s, color 0.3s; }
.lightbox button:hover { background: var(--gold); color: var(--navy-950); }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; top: 34px; left: 24px; font-size: 0.7rem; letter-spacing: 0.3em; color: var(--muted); }
.lightbox.single .lb-prev, .lightbox.single .lb-next, .lightbox.single .lb-count { display: none; }

@media (max-width: 960px) {
  .leaders, .branch, .offices { grid-template-columns: 1fr; }
  .leaders { max-width: 560px; }
  .lightbox { padding: 70px 16px 90px; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 20px; transform: none; }
  .lightbox .lb-prev { left: calc(50% - 62px); }
  .lightbox .lb-next { right: calc(50% - 62px); }
}
@media (max-width: 640px) {
  .portrait { width: 190px; height: 190px; margin-bottom: 30px; }
  .portrait .medal { inset: 26px; }
  .portrait .medal .mono { font-size: 3.4rem; }
  .leader .rank { font-size: 3.4rem; top: 18px; right: 22px; }
  .office-shots { grid-template-columns: 1fr; }
  .office-shots .shot, .office-shots .shot.lead { min-height: 240px; }
  .office-shots figcaption i { opacity: 1; transform: none; }
  .branch-card .actions .btn { flex: 1 1 100%; justify-content: center; }
  .offices { margin-top: 60px; }
  .office-tab { padding: 26px 22px; }
  .office-tab .view { position: static; margin-top: 18px; }
}

/* ============================================================
   SEO / feature additions
   ============================================================ */

/* Brand line inside the hero heading (keeps the hero sentence unchanged) */
.hero h1 .h1-brand {
  display: block; font-family: "Montserrat", sans-serif;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
@media (max-width: 600px) { .hero h1 .h1-brand { font-size: 0.68rem; letter-spacing: 0.26em; } }

/* "What is Zadix" brief facts row */
.checks.checks-inline { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; margin-top: 0; }
.checks.checks-inline li { align-items: center; }
.checks.checks-inline li i { margin-top: 0; }

/* File attachment field in the quote form */
.field-file { margin-bottom: 26px; }
.field-file input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.field-file .file-label {
  display: flex; align-items: center; gap: 12px; cursor: pointer; width: 100%;
  padding: 16px 18px; background: transparent; border: 1px dashed rgba(244, 239, 228, 0.25);
  color: var(--muted); font-size: 0.82rem; letter-spacing: 0.04em; transition: 0.4s var(--ease);
}
.field-file .file-label i { color: var(--gold); font-size: 0.95rem; }
.field-file:hover .file-label,
.field-file input[type="file"]:focus-visible + .file-label { border-color: var(--gold); color: var(--ivory); }
.field-file .file-names { display: block; margin-top: 10px; font-size: 0.78rem; color: var(--gold); min-height: 1em; }
.field-file .file-hint { display: block; margin-top: 6px; font-size: 0.7rem; color: var(--muted); letter-spacing: 0.02em; }
