/* ═══════════════════════════════════════════════════════════════
   SHIPDOCU — main.css
   Shared stylesheet for all pages (index, modules, contact)
   
   CLASS CONFLICT NOTES:
   ─────────────────────
   • .mod-hero-bg / .mod-hero-grid / .mod-hero-accent / .mod-hero-tag:
       These share the SAME base layout/structure, but each module
       page overrides bg gradient and accent colour via page-scoped
       <style> blocks in the HTML (--hero-bg, --hero-accent).
       Base rules are defined here; per-page colour overrides stay
       inline on the HTML (minimal, only 2-3 lines each).
   
   • .hero (index) vs .mod-hero (modules) vs .contact-hero (contact):
       THREE completely different hero types — kept with distinct
       class names. No conflict.
   
   • .section-alt used on index AND module pages — identical intent,
       combined here safely.
   
   • .sec-tag on contact page: adds `justify-content:center` which
       differs from module pages (left-aligned). Contact page keeps
       its own minimal override in its <style> block.
   
   • .dropdown-menu (index/modules) vs .nav-dropdown (contact):
       Contact uses a different navbar pattern with .nav-dropdown.
       Both are included here. No conflict.
   
   • .report-dot colour varies per page (teal, gold, green, purple):
       Base is teal; per-module pages override via local CSS variable
       or direct rule in their page <style>.
   
   TABLE OF CONTENTS
   ─────────────────
   1.  Design Tokens
   2.  Reset & Base
   3.  Scrollbar
   4.  Navbar (shared)
   5.  Dropdown (index/module style)
   6.  Navbar Contact variant
   7.  Buttons
   8.  INDEX — Hero
   9.  INDEX — Below-fold sections
   10. MODULE PAGES — mod-hero base
   11. MODULE PAGES — Stats bar
   12. MODULE PAGES — Features grid
   13. MODULE PAGES — Workflow steps
   14. MODULE PAGES — Document cards
   15. MODULE PAGES — Reports grid
   16. MODULE PAGES — KYC (vendor)
   17. MODULE PAGES — PO workflow steps (vendor)
   18. MODULE PAGES — 10-step cards (vessel)
   19. MODULE PAGES — Vessel type cards
   20. MODULE PAGES — Expense categories
   21. MODULE PAGES — Credit note section
   22. MODULE PAGES — Financial flow
   23. MODULE PAGES — Reconciliation
   24. CONTACT PAGE — hero
   25. CONTACT PAGE — body
   26. CONTACT PAGE — form
   27. Shared Section helpers
   28. CTA Band
   29. Footer
   30. Animations & Reveal
   31. Responsive
═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════
   1. DESIGN TOKENS
═══════════════════════════════════════ */
:root {
  /* Palette */
  --blue:         #2E5B8E;
  --blue-mid:     #1E4572;
  --navy:         #1B2B4B;
  --navy-deep:    #111D33;
  --red:          #CC2A2A;
  --red-mid:      #B02020;
  --red-light:    #E04040;
  --red-pale:     #FDEAEA;
  --teal:         #00B4D8;
  --teal-light:   #5DD8F0;
  --teal-pale:    #E0F7FC;
  --gold:         #E8A020;
  --gold-light:   #F5C55A;
  --green:        #22c55e;
  --green-dark:   #16a34a;
  --purple:       #7C3AED;
  --purple-light: #C4B5FD;
  --sky:          #EBF5FB;
  --sky2:         #D6EAF8;
  --white:        #FFFFFF;
  --off:          #F5F7FA;
  --off2:         #EEF2F7;
  --ink:          #0D1B2E;
  --ink-mid:      #2C4A6E;
  --muted:        #5A7A99;

  /* Borders & Shadows */
  --border:       rgba(27,43,75,0.1);
  --border-red:   rgba(204,42,42,0.15);
  --shadow-sm:    0 2px 12px rgba(27,43,75,0.07);
  --shadow-md:    0 8px 40px rgba(27,43,75,0.11);
  --shadow-lg:    0 20px 60px rgba(27,43,75,0.14);

  /* Typography */
  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  /* Layout */
  --nav-h: 70px;
  --ease:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ═══════════════════════════════════════
   2. RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--ff-body);
  background: var(--white);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.65;
}

/* ═══════════════════════════════════════
   3. SCROLLBAR
═══════════════════════════════════════ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--off); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }

/* ═══════════════════════════════════════
   4. NAVBAR (shared base — index + modules)
═══════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 clamp(20px,5vw,72px);
  justify-content: space-between;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img  { height: 40px; width: auto; }
.nav-logo-text { font-family: var(--ff-body); font-size: 19px; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.nav-logo-text span { color: var(--teal); }
.nav-logo-mark {
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 2px 10px rgba(0,102,204,.28);
}
.nav-logo-mark svg { width: 22px; height: 22px; }

.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--ink-mid); text-decoration: none;
  font-size: 13px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
  transition: color .2s;
  padding: 20px 0;
}
.nav-links a:hover { color: var(--blue); }

.nav-cta {
  padding: 10px 24px; border-radius: 50px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white); text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: .05em;
  box-shadow: 0 3px 14px rgba(0,102,204,.3);
  transition: transform .25s, box-shadow .25s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,102,204,.38); }

.nav-ham { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.nav-ham span { display: block; width: 22px; height: 1.5px; background: var(--navy); border-radius: 2px; }

/* ═══════════════════════════════════════
   5. DROPDOWN MENU (index / module pages)
═══════════════════════════════════════ */
.nav-item-dropdown { position: relative; }
.nav-item-dropdown > a { display: flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-item-dropdown > a svg,
.nav-item-dropdown > a .drop-caret {
  width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 2.5; transition: transform .25s;
}
.nav-item-dropdown:hover > a { color: var(--blue); }
.nav-item-dropdown:hover > a svg,
.nav-item-dropdown:hover > a .drop-caret { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute; top: calc(100% + 0px); left: 50%;
  background: white; border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow-md);
  min-width: 228px; padding: 8px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.dropdown-menu::before {
  content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 6px; background: white;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Dropdown items */
.dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px !important; border-radius: 8px; text-decoration: none;
  color: var(--ink-mid); font-size: 13px; font-weight: 500;
  text-transform: none; letter-spacing: 0;
  transition: background .18s, color .18s;
}
.dropdown-item:hover { background: var(--off); color: var(--navy); }
.dropdown-item.active { background: var(--sky); color: var(--blue); font-weight: 600; }

.dropdown-item-icon {
  width: 28px; height: 28px; border-radius: 7px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(27,43,75,0.07), rgba(204,42,42,0.05));
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(27,43,75,0.07);
}
.dropdown-item-icon svg { width: 13px; height: 13px; stroke: var(--navy); fill: none; stroke-width: 1.6; }
.dropdown-item.active .dropdown-item-icon { background: rgba(46,91,142,0.12); border-color: rgba(46,91,142,0.15); }
.dropdown-item.active .dropdown-item-icon svg { stroke: var(--blue); }
.dropdown-divider { height: 1px; background: var(--border); margin: 4px 8px; }

/* ═══════════════════════════════════════
   6. NAVBAR — CONTACT PAGE VARIANT
   (contact.html uses different class names:
    .nav-dropdown, .nav-chevron, .dropdown-icon)
═══════════════════════════════════════ */
/* Contact nav has slightly different padding/styling */
.nav-links > li { position: relative; }
.nav-links > li > a.active { color: var(--red); }
.nav-chevron { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; transition: transform .25s var(--ease); }
.nav-links > li:hover .nav-chevron { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; box-shadow: 0 20px 60px rgba(27,43,75,0.15);
  padding: 10px; min-width: 260px;
  opacity: 0; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease); z-index: 400;
}
.nav-links > li:hover .nav-dropdown,
.nav-links > li:focus-within .nav-dropdown { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.nav-dropdown::before {
  content: ''; position: absolute; top: -6px; left: 50%;
  width: 12px; height: 12px; background: var(--white);
  border: 1px solid var(--border); border-bottom: none; border-right: none;
  transform: translateX(-50%) rotate(45deg);
}

.dropdown-icon { width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; background: linear-gradient(135deg,rgba(27,43,75,0.07),rgba(204,42,42,0.05)); border: 1px solid rgba(27,43,75,0.08); display: flex; align-items: center; justify-content: center; }
.dropdown-icon svg { width: 16px; height: 16px; stroke: var(--navy); fill: none; stroke-width: 1.6; }
.dropdown-item:hover .dropdown-icon { background: linear-gradient(135deg,rgba(204,42,42,0.1),rgba(27,43,75,0.05)); border-color: rgba(204,42,42,0.15); }
.dropdown-item:hover .dropdown-icon svg { stroke: var(--red); }
.dropdown-label { font-weight: 600; color: inherit; }
.dropdown-sub { font-size: 11px; color: var(--muted); display: block; margin-top: 1px; }

/* Contact nav-cta is red (overrides shared blue) */
.contact-page .nav-cta {
  background: linear-gradient(135deg, var(--red), var(--red-mid));
  box-shadow: 0 3px 14px rgba(204,42,42,.3);
}
.contact-page .nav-cta:hover { box-shadow: 0 6px 20px rgba(204,42,42,.4); }

/* ═══════════════════════════════════════
   7. BUTTONS
═══════════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 30px; border-radius: 50px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white); text-decoration: none;
  font-size: 14px; font-weight: 600; letter-spacing: .04em;
  box-shadow: 0 4px 18px rgba(0,102,204,.32);
  transition: transform .28s var(--ease), box-shadow .28s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,102,204,.42); }
.btn-primary svg { width: 15px; height: 15px; transition: transform .28s; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 30px; border-radius: 50px;
  border: 1.5px solid rgba(0,102,204,.25); background: rgba(255,255,255,.7);
  color: var(--blue); text-decoration: none;
  font-size: 14px; font-weight: 600; letter-spacing: .04em;
  backdrop-filter: blur(8px);
  transition: background .25s, border-color .25s;
}
.btn-outline:hover { background: rgba(255,255,255,.95); border-color: var(--blue); }

.btn-white {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; border-radius: 50px;
  background: white; color: var(--navy); text-decoration: none;
  font-size: 14px; font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  transition: transform .25s, box-shadow .25s; flex-shrink: 0;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.3); }
.btn-white svg { width: 14px; height: 14px; stroke: var(--navy); fill: none; stroke-width: 2.5; }

.btn-submit {
  width: 100%; padding: 16px 32px; border-radius: 50px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--navy), var(--blue-mid));
  color: var(--white); font-family: var(--ff-body);
  font-size: 15px; font-weight: 700; letter-spacing: .04em;
  box-shadow: 0 4px 20px rgba(27,43,75,.3);
  transition: transform .28s var(--ease), box-shadow .28s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(27,43,75,.38); }
.btn-submit svg { width: 16px; height: 16px; stroke: white; fill: none; stroke-width: 2.2; transition: transform .28s; }
.btn-submit:hover svg { transform: translateX(3px); }

/* ═══════════════════════════════════════
   8. INDEX — HERO
═══════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh; overflow: hidden;
  padding-top: var(--nav-h);
  background: var(--off);
  display: flex; flex-direction: column;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg,
    #EAF3FC 0%, #D4EAF8 28%, #C2E0F5 48%, #B8D8F0 58%,
    #9BCDE8 64%, #7AB8DB 70%, #5DA5CE 78%, #4896C4 88%, #3A87B8 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image: linear-gradient(rgba(0,102,204,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,102,204,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.4) 30%, rgba(0,0,0,.4) 60%, transparent 100%);
}
.hero-clouds { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.cloud { position: absolute; border-radius: 50px; background: rgba(255,255,255,0.55); filter: blur(18px); animation: cloudDrift linear infinite; }
@keyframes cloudDrift { 0% { transform: translateX(0); } 100% { transform: translateX(110vw); } }

#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }

.hero-content {
  position: relative; z-index: 10;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px,5vw,80px); align-items: center; flex: 1;
  padding: clamp(48px,4vw,96px) clamp(20px,5vw,72px) 0;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,180,216,.1); border: 1px solid rgba(0,180,216,.3);
  border-radius: 30px; padding: 7px 18px; margin-bottom: 28px;
  animation: fadeUp .7s var(--ease) .1s both;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,180,216,.2);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{box-shadow:0 0 0 3px rgba(0,180,216,.2)} 50%{box-shadow:0 0 0 6px rgba(0,180,216,.0)} }
.hero-badge span { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }

.hero-title {
  font-family: var(--ff-display); font-size: clamp(42px,5.5vw,74px);
  font-weight: 700; line-height: 1.05; color: var(--navy); letter-spacing: -.01em; margin-bottom: 8px;
  animation: fadeUp .7s var(--ease) .2s both;
}
.hero-title .teal { color: var(--teal); font-style: italic; }
.hero-title .gold { color: var(--gold); }
.hero-sub { font-size: clamp(12px,1.3vw,14px); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; animation: fadeUp .7s var(--ease) .3s both; }
.hero-desc { font-size: clamp(14px,1.4vw,16px); color: var(--ink-mid); max-width: 480px; line-height: 1.75; margin-bottom: 36px; animation: fadeUp .7s var(--ease) .4s both; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeUp .7s var(--ease) .5s both; }

.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(0,102,204,.12); animation: fadeUp .7s var(--ease) .6s both; }
.stat-num { display: block; font-family: var(--ff-display); font-size: clamp(28px,3vw,38px); font-weight: 700; color: var(--navy); line-height: 1; }
.stat-num .unit { font-size: .55em; vertical-align: super; font-weight: 400; }
.stat-line { width: 28px; height: 2px; background: var(--gold); margin: 8px 0; border-radius: 1px; }
.stat-lbl { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.hero-right { position: relative; display: flex; align-items: center; justify-content: center; animation: fadeIn 1s var(--ease) .4s both; }

/* Floating KPI cards */
.hero-card {
  position: absolute; background: rgba(255,255,255,.88); border: 1px solid rgba(0,102,204,.1);
  backdrop-filter: blur(14px); border-radius: 14px; padding: 14px 20px;
  box-shadow: 0 8px 32px rgba(0,42,92,.12); animation: floatCard ease-in-out infinite alternate; min-width: 160px;
}
.hero-card-label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.hero-card-value { font-family: var(--ff-display); font-size: 24px; font-weight: 700; color: var(--navy); line-height: 1; }
.hero-card-sub { font-size: 11px; color: var(--muted); margin-top: 3px; }
.hero-card-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; display: inline-block; margin-right: 5px; animation: pulse-green 2s infinite; }
@keyframes pulse-green { 0%,100%{box-shadow:0 0 0 2px rgba(34,197,94,.2)} 50%{box-shadow:0 0 0 5px rgba(34,197,94,0)} }
.card-modules  { top: 8%;  right: -4%; animation-duration: 4s;   animation-delay: 0s;  }
.card-fleet    { bottom: 22%; right: -6%; animation-duration: 5s; animation-delay: .8s; }
.card-live     { top: 40%; left: -8%;  animation-duration: 4.5s; animation-delay: .4s; }
@keyframes floatCard { from { transform: translateY(0); } to { transform: translateY(-10px); } }

.ship-scene { width: min(460px, 90vw); height: min(340px,46vw); position: relative; flex-shrink: 0; }

.hero-bottom-strip {
  position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: 24px clamp(20px,5vw,72px) 28px; margin-top: auto;
}
.scroll-hint { display: flex; align-items: center; gap: 10px; }
.scroll-hint span { font-size: 11px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.scroll-line { width: 1px; height: 32px; background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{opacity:.5;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(.65)} }

.marquee-mini { display: flex; gap: 0; overflow: hidden; max-width: 56%; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.marquee-mini-track { display: flex; gap: 0; animation: marquee 22s linear infinite; white-space: nowrap; width: max-content; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-mini-item { display: flex; align-items: center; gap: 8px; padding: 0 20px; }
.marquee-mini-item span { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.m-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold-light); flex-shrink: 0; }

/* ═══════════════════════════════════════
   9. INDEX — BELOW-FOLD SECTIONS
═══════════════════════════════════════ */
.page-body { background: var(--white); }
.section { padding: clamp(60px,8vw,90px) clamp(20px,5vw,72px); position: relative; }

/* Index modules section */
#modules { background: var(--white); overflow: hidden; }
#modules::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--red), var(--navy)); }

/* Serve section */
#serve { background: var(--off); position: relative; overflow: hidden; }
#serve::before { content: ''; position: absolute; top: 0; right: 0; width: 400px; height: 400px; background: radial-gradient(circle at center, rgba(204,42,42,0.06) 0%, transparent 70%); pointer-events: none; }

/* Module Cards (index page) */
.mod-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 52px; }
.mod-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 30px 26px;
  text-decoration: none; color: inherit; display: block;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .3s;
  position: relative; overflow: hidden; box-shadow: 0 1px 4px rgba(27,43,75,0.05);
}
.mod-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--navy), var(--blue-mid)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.mod-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(27,43,75,0.03) 0%, rgba(204,42,42,0.02) 100%); opacity: 0; transition: opacity .3s; }
.mod-card:hover { transform: translateY(-6px); border-color: rgba(27,43,75,0.18); box-shadow: 0 16px 44px rgba(27,43,75,0.12); }
.mod-card:hover::before { transform: scaleX(1); }
.mod-card:hover::after { opacity: 1; }
.mod-card.span2 { grid-column: span 2; }

.mod-num { font-size: 11px; color: var(--red); letter-spacing: .1em; font-weight: 700; margin-bottom: 14px; display: block; }
.mod-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, rgba(27,43,75,0.08), rgba(204,42,42,0.06)); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; border: 1px solid rgba(27,43,75,0.08); }
.mod-icon svg { width: 22px; height: 22px; stroke: var(--navy); fill: none; stroke-width: 1.5; }
.mod-title { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.mod-desc  { font-size: 13px; color: var(--muted); line-height: 1.75; margin-bottom: 18px; }
.mod-tags  { display: flex; flex-wrap: wrap; gap: 6px; }
.mod-tag { padding: 4px 12px; border-radius: 20px; background: rgba(27,43,75,0.06); border: 1px solid rgba(27,43,75,0.1); font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--navy); transition: background .2s, border-color .2s; }
.mod-card:hover .mod-tag { background: rgba(204,42,42,0.06); border-color: rgba(204,42,42,0.15); color: var(--red-mid); }
.mod-arrow { position: absolute; bottom: 20px; right: 20px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: background .25s, border-color .25s; }
.mod-arrow svg { width: 12px; height: 12px; stroke: var(--muted); fill: none; stroke-width: 2; transition: stroke .25s; }
.mod-card:hover .mod-arrow { background: var(--blue); border-color: var(--blue); }
.mod-card:hover .mod-arrow svg { stroke: white; }

/* Why cards */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; position: relative; z-index: 1; }
.why-card { padding: 32px 28px; border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; background: rgba(255,255,255,0.04); backdrop-filter: blur(4px); transition: transform .35s var(--ease), border-color .3s, background .3s; position: relative; overflow: hidden; }
.why-card::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--red), transparent); opacity: 0; transition: opacity .35s; }
.why-card:hover { transform: translateY(-5px); border-color: rgba(204,42,42,0.3); background: rgba(255,255,255,0.07); }
.why-card:hover::before { opacity: 1; }
.why-icon { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, rgba(204,42,42,0.2), rgba(27,43,75,0.4)); border: 1px solid rgba(204,42,42,0.25); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.why-icon svg { width: 22px; height: 22px; stroke: #EE7070; fill: none; stroke-width: 1.5; }
.why-title { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--white); margin-bottom: 10px; }
.why-text  { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.75; }

/* Serve cards */
.serve-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 48px; }
.serve-card { padding: 30px 24px; border: 1px solid var(--border); border-radius: 18px; background: var(--white); transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; position: relative; overflow: hidden; box-shadow: 0 1px 4px rgba(27,43,75,0.05); }
.serve-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--navy), var(--red)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.serve-card:hover { transform: translateY(-5px); box-shadow: 0 14px 40px rgba(27,43,75,0.1); border-color: rgba(27,43,75,0.15); }
.serve-card:hover::after { transform: scaleX(1); }
.serve-n { font-family: var(--ff-display); font-size: 42px; font-weight: 700; color: rgba(27,43,75,0.07); line-height: 1; margin-bottom: 16px; letter-spacing: -0.02em; }
.serve-card:hover .serve-n { color: rgba(204,42,42,0.1); }
.serve-icon { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, rgba(27,43,75,0.08), rgba(204,42,42,0.05)); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; border: 1px solid rgba(27,43,75,0.08); }
.serve-icon svg { width: 18px; height: 18px; stroke: var(--navy); fill: none; stroke-width: 1.6; }
.serve-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--navy); margin-bottom: 8px; }
.serve-text  { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ═══════════════════════════════════════
   10. MODULE PAGES — MOD-HERO BASE
   
   NOTE on per-page colour theming:
   • .mod-hero-bg gradient → each page has its own colour (teal/gold/green/purple/blue)
   • .mod-hero-accent radial tint → same
   • .mod-hero-tag bg/border/dot/span → same
   • .mod-hero-title em colour → same
   These are overridden per page via minimal inline <style>.
   The structural base lives here.
═══════════════════════════════════════ */
.mod-hero {
  padding-top: var(--nav-h); position: relative; overflow: hidden;
  min-height: 520px; /* increased from 420px to accommodate right image */
  display: flex; align-items: center;
}

/* Two-column layout: left text + right image */
.mod-hero-layout {
  position: relative; z-index: 5;
  width: 100%; display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: clamp(52px,6vw,80px) clamp(20px,5vw,72px);
  gap: clamp(32px,4vw,64px);
}

/* Left content column */
.mod-hero-inner {
  position: relative; z-index: 5;
  /* When used standalone (no .mod-hero-layout), keep legacy padding */
  padding: clamp(52px,6vw,80px) clamp(20px,5vw,72px);
  max-width: 760px;
}
/* When inside layout grid, remove standalone padding */
.mod-hero-layout .mod-hero-inner { padding: 0; max-width: none; }

/* Right image column */
.mod-hero-image {
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 5;
}
.mod-hero-image img,
.mod-hero-image svg {
  width: 100%; max-width: 480px; height: auto;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(27,43,75,0.18);
  animation: heroImgFloat 5s ease-in-out infinite alternate;
}
/* Floating image frame */
.mod-hero-img-frame {
  position: relative; display: inline-block;
  animation: heroImgFloat 5s ease-in-out infinite alternate;
}
.mod-hero-img-frame::before {
  content: ''; position: absolute;
  inset: -12px; border-radius: 28px;
  border: 1.5px dashed rgba(255,255,255,0.3);
  pointer-events: none;
  animation: heroFrameSpin 18s linear infinite;
}
.mod-hero-img-frame::after {
  content: ''; position: absolute;
  inset: -28px; border-radius: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  pointer-events: none;
}
.mod-hero-img-frame img {
  width: 100%; max-width: 460px; height: auto;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(27,43,75,0.2);
  display: block;
}
/* Floating badge overlaid on image */
.mod-hero-img-badge {
  position: absolute; bottom: -16px; left: -20px;
  background: white; border: 1px solid rgba(27,43,75,0.12);
  border-radius: 14px; padding: 12px 18px;
  box-shadow: 0 8px 28px rgba(27,43,75,0.12);
  display: flex; align-items: center; gap: 10px;
  animation: floatCard 4s ease-in-out infinite alternate;
}
.mod-hero-img-badge-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, rgba(27,43,75,0.08), rgba(0,180,216,0.08));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mod-hero-img-badge-icon svg { width: 16px; height: 16px; stroke: var(--navy); fill: none; stroke-width: 1.6; }
.mod-hero-img-badge-val { font-family: var(--ff-display); font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1; }
.mod-hero-img-badge-lbl { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
/* Second badge top-right */
.mod-hero-img-badge2 {
  position: absolute; top: -14px; right: -18px;
  background: var(--navy); border-radius: 12px; padding: 10px 16px;
  box-shadow: 0 8px 24px rgba(27,43,75,0.25);
  display: flex; align-items: center; gap: 8px;
  animation: floatCard 4.5s ease-in-out infinite alternate-reverse;
}
.mod-hero-img-badge2-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.mod-hero-img-badge2-text { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,0.8); }

@keyframes heroImgFloat {
  0%   { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-12px) rotate(0.5deg); }
}
@keyframes heroFrameSpin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Hero background layers */
.mod-hero-bg { position: absolute; inset: 0; }
.mod-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,102,204,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,102,204,.04) 1px, transparent 1px);
  background-size: 64px 64px;
}
.mod-hero-accent { position: absolute; top: 0; right: 0; width: 500px; height: 100%; pointer-events: none; }

.mod-hero-breadcrumb {
  display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.mod-hero-breadcrumb a { color: var(--muted); text-decoration: none; transition: color .2s; }
.mod-hero-breadcrumb a:hover { color: var(--blue); }
.mod-hero-breadcrumb .sep { color: var(--muted); }
.mod-hero-breadcrumb .current { color: var(--blue); }

/* Tag pill — colours overridden per page */
.mod-hero-tag { display: inline-flex; align-items: center; gap: 8px; border-radius: 30px; padding: 7px 18px; margin-bottom: 22px; }
.mod-hero-tag-dot { width: 7px; height: 7px; border-radius: 50%; }
.mod-hero-tag span { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

.mod-hero-num { font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; display: block; }
.mod-hero-title { font-family: var(--ff-display); font-size: clamp(36px,5vw,62px); font-weight: 700; line-height: 1.08; color: var(--navy); letter-spacing: -.01em; margin-bottom: 18px; }
.mod-hero-desc { font-size: clamp(14px,1.4vw,16px); color: var(--ink-mid); max-width: 520px; line-height: 1.78; margin-bottom: 34px; }
.mod-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ═══════════════════════════════════════
   11. MODULE PAGES — STATS BAR
═══════════════════════════════════════ */
.stats-bar {
  background: var(--navy); padding: 28px clamp(20px,5vw,72px);
  display: flex; gap: 0; flex-wrap: wrap; position: relative; overflow: hidden;
}
.stats-bar::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(204,42,42,0.15) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(46,91,142,0.2) 0%, transparent 40%);
  pointer-events: none;
}
.stat-bar-item { flex: 1; min-width: 160px; padding: 10px 32px; border-right: 1px solid rgba(255,255,255,0.08); position: relative; z-index: 1; }
.stat-bar-item:first-child { padding-left: 0; }
.stat-bar-item:last-child  { border-right: none; }
.stat-bar-num { font-family: var(--ff-display); font-size: 32px; font-weight: 700; color: var(--white); line-height: 1; display: block; }
.stat-bar-num .unit { font-size: .5em; vertical-align: super; font-weight: 400; color: var(--gold-light); }
.stat-bar-line { width: 22px; height: 2px; background: var(--gold); margin: 8px 0; border-radius: 1px; }
.stat-bar-lbl { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,0.45); }

/* ═══════════════════════════════════════
   12. MODULE PAGES — FEATURES GRID
═══════════════════════════════════════ */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }
.feature-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 30px 26px;
  position: relative; overflow: hidden; box-shadow: 0 1px 4px rgba(27,43,75,0.05);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .3s;
}
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--navy), var(--blue-mid)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 16px 44px rgba(27,43,75,0.1); border-color: rgba(27,43,75,0.15); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card.highlight { background: linear-gradient(135deg, var(--navy) 0%, var(--blue-mid) 100%); border-color: transparent; }
.feature-card.highlight .feature-title { color: var(--white); }
.feature-card.highlight .feature-desc  { color: rgba(255,255,255,0.6); }
.feature-card.highlight .feat-icon     { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); }
.feature-card.highlight .feat-icon svg { stroke: white; }
.feature-card.highlight .feature-tag  { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); }
.feat-icon { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px; background: linear-gradient(135deg, rgba(27,43,75,0.07), rgba(204,42,42,0.05)); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(27,43,75,0.08); }
.feat-icon svg { width: 22px; height: 22px; stroke: var(--navy); fill: none; stroke-width: 1.5; }
.feature-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.feature-desc  { font-size: 13px; color: var(--muted); line-height: 1.78; }
.feature-tags  { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.feature-tag { padding: 4px 12px; border-radius: 20px; background: rgba(27,43,75,0.06); border: 1px solid rgba(27,43,75,0.1); font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--navy); }

/* ═══════════════════════════════════════
   13. MODULE PAGES — WORKFLOW STEPS (crew)
═══════════════════════════════════════ */
.workflow-wrap { margin-top: 52px; position: relative; z-index: 1; }
.workflow-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.workflow-steps::before { content: ''; position: absolute; top: 52px; left: 14%; right: 14%; height: 2px; background: linear-gradient(90deg, var(--teal), var(--blue), var(--teal)); opacity: 0.3; z-index: 0; }
.wf-step { padding: 24px 20px; text-align: center; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.wf-num { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--blue); border: 2px solid rgba(0,180,216,0.35); margin-bottom: 18px; font-family: var(--ff-display); font-size: 18px; font-weight: 700; color: var(--teal); position: relative; }
.wf-num::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: radial-gradient(circle, rgba(0,180,216,0.08) 0%, transparent 70%); }
.wf-title { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--white); margin-bottom: 8px; }
.wf-desc  { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.65; }

/* ═══════════════════════════════════════
   14. MODULE PAGES — DOCUMENT CARDS (crew)
═══════════════════════════════════════ */
.doc-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 48px; }
.doc-card { background: var(--off); border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px; display: flex; align-items: flex-start; gap: 16px; transition: transform .3s var(--ease), box-shadow .3s; }
.doc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.doc-card-icon { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; background: linear-gradient(135deg, rgba(27,43,75,0.08), rgba(0,180,216,0.06)); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(27,43,75,0.08); }
.doc-card-icon svg { width: 18px; height: 18px; stroke: var(--navy); fill: none; stroke-width: 1.5; }
.doc-card-title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.doc-card-desc  { font-size: 12px; color: var(--muted); line-height: 1.65; }

/* ═══════════════════════════════════════
   15. MODULE PAGES — REPORTS GRID
   NOTE: .report-dot colour varies per page.
   Base = teal. Override in page <style> block.
═══════════════════════════════════════ */
.reports-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 48px; }
.report-item { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; transition: background .2s, border-color .2s; }
.report-item:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.14); }
.report-dot  { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.report-name { font-size: 13px; color: rgba(255,255,255,0.75); font-weight: 500; }

/* ═══════════════════════════════════════
   16. VENDOR PAGE — KYC SECTION
═══════════════════════════════════════ */
.kyc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; align-items: start; }
.kyc-list  { display: flex; flex-direction: column; gap: 16px; }
.kyc-item  { display: flex; align-items: flex-start; gap: 14px; padding: 20px 22px; background: var(--off); border: 1px solid var(--border); border-radius: 14px; transition: transform .3s, box-shadow .3s; }
.kyc-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.kyc-icon  { width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(135deg, rgba(27,43,75,0.08), rgba(232,160,32,0.06)); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(27,43,75,0.08); flex-shrink: 0; }
.kyc-icon svg   { width: 16px; height: 16px; stroke: var(--navy); fill: none; stroke-width: 1.6; }
.kyc-title      { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.kyc-desc       { font-size: 12px; color: var(--muted); line-height: 1.65; }
.kyc-visual     { background: var(--navy); border-radius: 18px; padding: 36px 32px; }
.kyc-visual-title { font-family: var(--ff-display); font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.kyc-visual-sub   { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 28px; }
.kyc-stat-row { display: flex; gap: 20px; margin-bottom: 20px; }
.kyc-stat     { flex: 1; }
.kyc-stat-num { font-family: var(--ff-display); font-size: 26px; font-weight: 700; color: var(--gold-light); }
.kyc-stat-lbl { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-top: 4px; }
.kyc-bar      { height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; margin-bottom: 8px; }
.kyc-bar-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.kyc-bar-label { font-size: 11px; color: rgba(255,255,255,0.45); }

/* ═══════════════════════════════════════
   17. VENDOR PAGE — PO WORKFLOW STEPS
═══════════════════════════════════════ */
.po-workflow { margin-top: 52px; position: relative; z-index: 1; }
.po-steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; position: relative; }
/*.po-steps::before { content: ''; position: absolute; top: 26px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold)); opacity: 0.4; z-index: 0; }*/
.po-step  { padding: 20px 14px; text-align: center; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.po-num   { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); border: 2px solid rgba(232,160,32,0.4); margin-bottom: 16px; font-family: var(--ff-display); font-size: 16px; font-weight: 700; color: var(--gold-light); }
.po-title { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--white); margin-bottom: 6px; }
.po-desc  { font-size: 11px; color: rgba(255,255,255,0.45); line-height: 1.6; }

/* ═══════════════════════════════════════
   18. VESSEL PAGE — 10-STEP CARDS
═══════════════════════════════════════ */
.ten-step  { margin-top: 52px; position: relative; z-index: 1; }
.step-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.step-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 22px 18px; text-align: center; position: relative; overflow: hidden; transition: background .25s, border-color .25s, transform .3s; }
.step-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(0,180,216,0.3); transform: translateY(-4px); }
.step-card::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--teal), transparent); opacity: 0; transition: opacity .3s; }
.step-card:hover::before { opacity: 1; }
.step-badge { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; margin: 0 auto 14px; background: rgba(0,180,216,0.12); border: 1.5px solid rgba(0,180,216,0.3); font-family: var(--ff-display); font-size: 14px; font-weight: 700; color: var(--teal-light); }
.step-name { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--white); margin-bottom: 6px; }
.step-note { font-size: 11px; color: rgba(255,255,255,0.45); line-height: 1.55; }

/* ═══════════════════════════════════════
   19. VESSEL PAGE — VESSEL TYPE CARDS
═══════════════════════════════════════ */
.vessel-types { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 48px; }
.vessel-card  { background: var(--off); border: 1px solid var(--border); border-radius: 16px; padding: 24px 20px; text-align: center; position: relative; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.vessel-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--teal), var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.vessel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.vessel-card:hover::after { transform: scaleX(1); }
.vessel-icon { width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 14px; background: linear-gradient(135deg, rgba(0,180,216,0.1), rgba(27,43,75,0.07)); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(0,180,216,0.12); }
.vessel-icon svg { width: 24px; height: 24px; stroke: var(--blue); fill: none; stroke-width: 1.5; }
.vessel-name { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.vessel-desc { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ═══════════════════════════════════════
   20. EXPENSE PAGE — EXPENSE CATEGORIES
═══════════════════════════════════════ */
.expense-cats { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 48px; }
.exp-cat { background: var(--off); border: 1px solid var(--border); border-radius: 16px; padding: 24px 20px; text-align: center; position: relative; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.exp-cat::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--green), var(--teal)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.exp-cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.exp-cat:hover::after { transform: scaleX(1); }
.exp-cat-icon { width: 48px; height: 48px; border-radius: 12px; margin: 0 auto 14px; background: linear-gradient(135deg, rgba(34,197,94,0.1), rgba(27,43,75,0.06)); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(34,197,94,0.14); }
.exp-cat-icon svg { width: 22px; height: 22px; stroke: var(--green-dark); fill: none; stroke-width: 1.5; }
.exp-cat-name  { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.exp-cat-desc  { font-size: 12px; color: var(--muted); line-height: 1.6; }
.exp-cat-count { display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: 20px; background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2); font-size: 11px; font-weight: 700; color: #166534; letter-spacing: .06em; }

/* ═══════════════════════════════════════
   21. EXPENSE PAGE — CREDIT NOTE SECTION
═══════════════════════════════════════ */
.credit-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; align-items: start; }
.credit-steps { display: flex; flex-direction: column; gap: 0; }
.credit-step  { display: flex; gap: 16px; padding-bottom: 28px; position: relative; }
.credit-step:not(:last-child)::before { content: ''; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: linear-gradient(to bottom, rgba(34,197,94,0.3), transparent); }
.credit-step-num   { width: 36px; height: 36px; border-radius: 50%; border: 2px solid rgba(34,197,94,0.4); background: rgba(34,197,94,0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 13px; font-weight: 700; color: var(--green-dark); }
.credit-step-title { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.credit-step-desc  { font-size: 13px; color: var(--muted); line-height: 1.65; }
.credit-panel     { background: var(--navy); border-radius: 18px; padding: 32px 28px; }
.credit-panel-title { font-family: var(--ff-display); font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.credit-panel-sub   { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 24px; }
.credit-stat { margin-bottom: 20px; }
.credit-stat-label { display: flex; justify-content: space-between; margin-bottom: 6px; }
.credit-stat-name  { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.credit-stat-val   { font-size: 12px; font-weight: 700; color: #86efac; }
.credit-bar        { height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; }
.credit-bar-fill   { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--green), #86efac); }

/* ═══════════════════════════════════════
   22. FINANCIAL PAGE — FLOW CARDS
═══════════════════════════════════════ */
.fin-flow { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; position: relative; z-index: 1; }
.fin-flow-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 28px 24px; position: relative; overflow: hidden; transition: background .25s, border-color .25s, transform .3s; }
.fin-flow-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(196,181,253,0.3); transform: translateY(-4px); }
.fin-flow-card::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--purple), transparent); opacity: 0; transition: opacity .3s; }
.fin-flow-card:hover::before { opacity: 1; }
.fin-card-icon  { width: 52px; height: 52px; border-radius: 14px; background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.25); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.fin-card-icon svg { width: 22px; height: 22px; stroke: var(--purple-light); fill: none; stroke-width: 1.5; }
.fin-card-arrow { position: absolute; top: 28px; right: 24px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; }
.fin-card-arrow svg { width: 10px; height: 10px; stroke: rgba(255,255,255,0.35); fill: none; stroke-width: 2; }
.fin-card-title { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--white); margin-bottom: 8px; }
.fin-card-desc  { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ═══════════════════════════════════════
   23. FINANCIAL PAGE — RECONCILIATION
═══════════════════════════════════════ */
.recon-grid      { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; align-items: start; }
.recon-table-wrap{ overflow-x: auto; }
.recon-table     { width: 100%; border-collapse: collapse; }
.recon-table th  { padding: 11px 16px; background: var(--off2); text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--border); }
.recon-table td  { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--ink-mid); }
.recon-table tr:hover td { background: var(--off); }
.status-badge    { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.status-approved { background: rgba(34,197,94,0.1);  color: #166534; border: 1px solid rgba(34,197,94,0.2); }
.status-pending  { background: rgba(232,160,32,0.1); color: #92400E; border: 1px solid rgba(232,160,32,0.2); }
.status-review   { background: rgba(124,58,237,0.1); color: #5B21B6; border: 1px solid rgba(124,58,237,0.2); }
.recon-kpis { display: flex; flex-direction: column; gap: 16px; }
.recon-kpi  { background: var(--off); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; display: flex; align-items: center; gap: 16px; transition: transform .3s, box-shadow .3s; }
.recon-kpi:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.recon-kpi-icon  { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(27,43,75,0.06)); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(124,58,237,0.12); flex-shrink: 0; }
.recon-kpi-icon svg { width: 18px; height: 18px; stroke: var(--purple); fill: none; stroke-width: 1.6; }
.recon-kpi-val  { /*font-family: var(--ff-display);*/ font-size: 24px; font-weight: 700; color: var(--navy); line-height: 1; }
.recon-kpi-lbl  { font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 3px; }

/* ═══════════════════════════════════════
   24. CONTACT PAGE — HERO
   NOTE: Uses .contact-hero (not .mod-hero or .hero)
═══════════════════════════════════════ */
.contact-hero {
  padding-top: var(--nav-h); background: var(--navy);
  position: relative; overflow: hidden;
}
.contact-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 10% 60%, rgba(204,42,42,0.18) 0%, transparent 50%), radial-gradient(circle at 90% 20%, rgba(46,91,142,0.28) 0%, transparent 45%), radial-gradient(circle at 50% 90%, rgba(0,180,216,0.07) 0%, transparent 40%);
  pointer-events: none;
}
.contact-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 52px 52px; pointer-events: none;
}
.contact-hero-inner { position: relative; z-index: 1; padding: clamp(60px,8vw,96px) clamp(20px,5vw,72px); /*text-align: center; max-width: 720px;*/ margin: 0 auto; }

.hero-breadcrumb  { display: flex; align-items: center; /*justify-content: center;*/ gap: 8px; margin-bottom: 24px; }
.hero-breadcrumb a { color: rgba(255,255,255,.4); text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; transition: color .2s; }
.hero-breadcrumb a:hover { color: rgba(255,255,255,.75); }
.hero-breadcrumb span   { color: rgba(255,255,255,.2); font-size: 12px; }
.hero-breadcrumb strong { color: rgba(255,255,255,.6); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

.contact-hero-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--red-light); margin-bottom: 16px; display: block; animation: fadeUp .6s var(--ease) .1s both; }
.contact-hero-title   { font-family: var(--ff-display); font-size: clamp(36px,5vw,62px); font-weight: 700; line-height: 1.08; color: var(--white); letter-spacing: -.01em; margin-bottom: 18px; animation: fadeUp .6s var(--ease) .2s both; }
.contact-hero-title em { color: var(--red-light); font-style: italic; }
.contact-hero-desc    { font-size: clamp(14px,1.4vw,16px); color: rgba(255,255,255,.55); line-height: 1.8; max-width: 520px; /*margin: 0 auto;*/ animation: fadeUp .6s var(--ease) .3s both; }

/* ═══════════════════════════════════════
   25. CONTACT PAGE — BODY LAYOUT
═══════════════════════════════════════ */
.contact-body { background: var(--off); padding: clamp(60px,8vw,100px) clamp(20px,5vw,72px); }
/*.contact-grid { display: grid; grid-template-columns: 1fr 1.55fr; gap: 32px; max-width: 1200px; margin: 0 auto; align-items: start; }*/
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.info-primary { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.info-secondary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }

.info-card { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 28px 26px; position: relative; overflow: hidden; box-shadow: 0 1px 4px rgba(27,43,75,.05); transition: box-shadow .3s, border-color .3s; }
.info-card:hover { box-shadow: var(--shadow-md); border-color: rgba(27,43,75,.14); }
.info-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--navy), var(--red)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.info-card:hover::before { transform: scaleX(1); }
.info-icon { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, rgba(27,43,75,.07), rgba(204,42,42,.05)); border: 1px solid rgba(27,43,75,.08); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; transition: background .25s, border-color .25s; }
.info-icon svg { width: 20px; height: 20px; stroke: var(--navy); fill: none; stroke-width: 1.6; transition: stroke .25s; }
.info-card:hover .info-icon { background: linear-gradient(135deg,rgba(204,42,42,.1),rgba(27,43,75,.05)); border-color: rgba(204,42,42,.18); }
.info-card:hover .info-icon svg { stroke: var(--red); }
.info-label { font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.info-value { font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.5; }
.info-value a { color: var(--navy); text-decoration: none; transition: color .2s; }
.info-value a:hover { color: var(--red); }
.info-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.hours-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.hours-row  { display: flex; flex-direction: column; gap: 2px; }
.hours-day  { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hours-time { font-size: 13px; font-weight: 600; color: var(--navy); }
.hours-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 20px; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.2); font-size: 11px; font-weight: 600; color: #16a34a; margin-top: 12px; width: fit-content; }
.hours-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: pulse-g 2s infinite; }
@keyframes pulse-g { 0%,100%{box-shadow:0 0 0 2px rgba(34,197,94,.2)} 50%{box-shadow:0 0 0 5px rgba(34,197,94,0)} }

.social-row { display: flex; gap: 10px; margin-top: 6px; }
.social-btn { display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--border); background: var(--off); font-size: 12px; font-weight: 600; color: var(--ink-mid); text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.social-btn svg { width: 15px; height: 15px; fill: currentColor; }
.social-btn:hover { background: var(--white); border-color: rgba(27,43,75,.18); color: var(--navy); }

/* ═══════════════════════════════════════
   26. CONTACT PAGE — FORM
═══════════════════════════════════════ */
/*.contact-form-card { background: var(--white); border: 1px solid var(--border); border-radius: 24px; padding: clamp(32px,4vw,48px); box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.contact-form-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--red), var(--navy)); }
.form-header  { margin-bottom: 32px; }
.form-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; display: block; }
.form-title   { font-family: var(--ff-display); font-size: clamp(22px,2.5vw,30px); font-weight: 700; color: var(--navy); line-height: 1.15; }
.form-title em{ color: var(--red); font-style: italic; }
.form-desc    { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.7; }
.form-row     { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group   { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-group label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mid); }
.form-group label span { color: var(--red); margin-left: 2px; }
.form-control { width: 100%; padding: 13px 16px; background: var(--off); border: 1.5px solid var(--border); border-radius: 12px; font-family: var(--ff-body); font-size: 14px; color: var(--ink); outline: none; transition: border-color .25s, background .25s, box-shadow .25s; }
.form-control::placeholder { color: var(--muted); }
.form-control:focus { border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 3px rgba(27,43,75,.08); }
.form-control:focus:valid:not(:placeholder-shown) { border-color: #22c55e; }
select.form-control { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpolyline points='2,4 6,8 10,4' stroke='%235A7A99' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
textarea.form-control { resize: vertical; min-height: 130px; line-height: 1.6; }
.check-group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check-item  { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; border: 1.5px solid var(--border); background: var(--off); cursor: pointer; transition: border-color .2s, background .2s; user-select: none; }
.check-item:hover { border-color: rgba(27,43,75,.18); background: var(--white); }
.check-item input[type="checkbox"] { display: none; }
.check-box { width: 18px; height: 18px; border-radius: 5px; flex-shrink: 0; border: 1.5px solid var(--border); background: var(--white); display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s; }
.check-box svg { width: 10px; height: 10px; stroke: white; fill: none; stroke-width: 2.5; opacity: 0; transition: opacity .15s; }
.check-item input:checked ~ .check-box { background: var(--navy); border-color: var(--navy); }
.check-item input:checked ~ .check-box svg { opacity: 1; }
.check-item:has(input:checked) { border-color: rgba(27,43,75,.25); background: rgba(27,43,75,.04); }
.check-label { font-size: 13px; font-weight: 500; color: var(--ink-mid); }
.form-submit { margin-top: 8px; }
.form-note   { font-size: 11px; color: var(--muted); text-align: center; margin-top: 12px; }
.form-success { display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; gap: 16px; }
.success-icon  { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, rgba(34,197,94,.12), rgba(27,43,75,.06)); border: 2px solid rgba(34,197,94,.3); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.success-icon svg { width: 32px; height: 32px; stroke: #16a34a; fill: none; stroke-width: 2; }
.success-title  { font-family: var(--ff-display); font-size: 24px; font-weight: 700; color: var(--navy); }
.success-msg    { font-size: 14px; color: var(--muted); max-width: 340px; line-height: 1.7; }
.success-back   { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: none; padding: 10px 22px; border-radius: 50px; border: 1.5px solid var(--border); transition: border-color .2s, background .2s; }
.success-back:hover { background: var(--off); border-color: rgba(27,43,75,.2); }*/

/* Contact why-strip */
.why-strip { background: var(--navy); position: relative; overflow: hidden; padding: clamp(56px,7vw,80px) clamp(20px,5vw,72px); }
.why-strip::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 50%, rgba(204,42,42,.12) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(46,91,142,.2) 0%, transparent 40%); pointer-events: none; }
.why-strip::after  { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size: 48px 48px; pointer-events: none; }
.why-strip-inner   { position: relative; z-index: 1; }
.why-strip-head    { /*text-align: center;*/ margin-bottom: clamp(36px,4vw,52px); }
.why-strip-head .sec-title { color: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.trust-card { padding: 28px 22px; border: 1px solid rgba(255,255,255,.07); border-radius: 18px; background: rgba(255,255,255,.04); backdrop-filter: blur(4px); transition: transform .35s var(--ease), border-color .3s, background .3s; position: relative; overflow: hidden; text-align: center; }
.trust-card::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--red), transparent); opacity: 0; transition: opacity .35s; }
.trust-card:hover { transform: translateY(-5px); border-color: rgba(204,42,42,.3); background: rgba(255,255,255,.07); }
.trust-card:hover::before { opacity: 1; }
.trust-num   { font-family: var(--ff-display); font-size: 40px; font-weight: 700; color: var(--white); line-height: 1; }
.trust-num sup { font-size: .45em; vertical-align: super; color: var(--red-light); }
.trust-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: 8px; }

/* ═══════════════════════════════════════
   27. SHARED SECTION HELPERS
═══════════════════════════════════════ */
.section-alt { background: var(--navy); position: relative; overflow: hidden; }
.section-alt::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 50%, rgba(204,42,42,0.12) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(46,91,142,0.2) 0%, transparent 40%), radial-gradient(circle at 60% 80%, rgba(0,180,216,0.08) 0%, transparent 40%); pointer-events: none; }
.section-alt::after  { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }

.sec-tag { display: flex; align-items: center; /*justify-content: center;*/ gap: 10px; margin-bottom: 14px; }
.sec-tag-line { width: 28px; height: 2px; background: var(--red); border-radius: 1px; }
.sec-tag span { font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--red); }
.section-alt .sec-tag-line { background: var(--red-light); }
.section-alt .sec-tag span  { color: rgba(255,255,255,0.6); }
.sec-title { font-family: var(--ff-display); font-size: clamp(28px,3.5vw,48px); font-weight: 700; color: var(--navy); line-height: 1.1; margin-bottom: 14px; }
.section-alt .sec-title { color: var(--white); }
.sec-title em { font-style: italic; color: var(--red); }
.section-alt .sec-title em { color: var(--red-light); }
.sec-lead { font-size: 15px; color: var(--muted); max-width: 540px; line-height: 1.75; }
.section-alt .sec-lead { color: rgba(255,255,255,0.55); }

/* ═══════════════════════════════════════
   28. CTA BAND (shared all pages)
═══════════════════════════════════════ */
.cta-band {
/*  margin: 0 clamp(20px,5vw,72px) clamp(60px,8vw,100px);*/
  border-radius: 22px; overflow: hidden; position: relative;
  padding: clamp(52px,5vw,72px) clamp(32px,4vw,68px);
  background: linear-gradient(135deg, var(--navy) 0%, #24355A 50%, var(--blue-mid) 100%);
}
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 80% at 85% 50%, rgba(204,42,42,0.2) 0%, transparent 65%), radial-gradient(ellipse 30% 60% at 10% 30%, rgba(46,91,142,0.3) 0%, transparent 60%); }
/* index page only watermark */
.cta-band--index::after { content: 'SHIPDOCU'; position: absolute; right: -20px; bottom: -30px; font-family: var(--ff-display); font-size: 100px; font-weight: 700; color: rgba(255,255,255,0.03); white-space: nowrap; pointer-events: none; user-select: none; line-height: 1; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-title { font-family: var(--ff-display); font-size: clamp(22px,3vw,34px); font-weight: 700; color: white; margin-bottom: 6px; }
.cta-sub   { font-size: 14px; color: rgba(255,255,255,.55); }

/* ═══════════════════════════════════════
   29. FOOTER
═══════════════════════════════════════ */
footer { background: #0D1829; padding: 64px clamp(20px,5vw,72px) 28px; position: relative; overflow: hidden; }
footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--navy), var(--red), var(--navy)); }
footer::after  { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px); background-size: 64px 64px; pointer-events: none; }
.footer-inner { position: relative; z-index: 1; }
.footer-grid  { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.foot-brand-text { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.75; margin-top: 14px; /*max-width: 280px;*/ }
.foot-powered    { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red-light); /*margin-top: 14px;*/ margin-left: 5px; display: block; }
.foot-col h5 { font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 18px; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col ul a { font-size: 13px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color .2s; display: flex; align-items: center; gap: 6px; }
.foot-col ul a::before { content: ''; display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--red); opacity: 0; transition: opacity .2s; flex-shrink: 0; }
.foot-col ul a:hover { color: var(--white); }
.foot-col ul a:hover::before { opacity: 1; }
.foot-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.foot-copy   { font-size: 12px; color: rgba(255,255,255,0.25); display: flex; }

/* ═══════════════════════════════════════
   30. ANIMATIONS & REVEAL
═══════════════════════════════════════ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.anim-fade-up { animation: fadeUp .7s var(--ease) both; }

/* ═══════════════════════════════════════
   31. RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-right   { display: none; }
  .mod-hero-layout { grid-template-columns: 1fr; }
  .mod-hero-image  { display: none; }
  .mod-grid    { grid-template-columns: 1fr 1fr; }
  .mod-card.span2 { grid-column: span 2; }
  .features-grid  { grid-template-columns: 1fr 1fr; }
  .serve-grid     { grid-template-columns: 1fr 1fr; }
  .step-grid      { grid-template-columns: repeat(3,1fr); }
  .po-steps       { grid-template-columns: repeat(3,1fr); }
  .vessel-types   { grid-template-columns: 1fr 1fr; }
  .expense-cats   { grid-template-columns: 1fr 1fr; }
  .kyc-grid       { grid-template-columns: 1fr; }
  .credit-grid    { grid-template-columns: 1fr; }
  .recon-grid     { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .contact-grid   { grid-template-columns: 1fr; }
  .trust-grid     { grid-template-columns: 1fr 1fr; }
  .workflow-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-ham { display: flex; }
  .mod-grid      { grid-template-columns: 1fr; }
  .mod-card.span2{ grid-column: span 1; }
  .features-grid { grid-template-columns: 1fr; }
  .why-grid      { grid-template-columns: 1fr; }
  .doc-grid      { grid-template-columns: 1fr; }
  .reports-grid  { grid-template-columns: 1fr 1fr; }
  .hero-stats    { gap: 20px; }
  .marquee-mini  { display: none; }
  .form-row      { grid-template-columns: 1fr; }
  .check-group   { grid-template-columns: 1fr; }
  .fin-flow      { grid-template-columns: 1fr; }
  .info-primary  { grid-template-columns: 1fr; }
  .info-secondary { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .serve-grid    { grid-template-columns: 1fr; }
  .step-grid     { grid-template-columns: 1fr 1fr; }
  .po-steps      { grid-template-columns: 1fr 1fr; }
  .vessel-types  { grid-template-columns: 1fr; }
  .expense-cats  { grid-template-columns: 1fr; }
  .workflow-steps{ grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .trust-grid    { grid-template-columns: 1fr 1fr; }
  .reports-grid  { grid-template-columns: 1fr; }
  .foot-bottom   { flex-direction: column; align-items: flex-start; }
  .stats-bar     { flex-direction: column; gap: 20px; }
  .stat-bar-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 16px 0; }
}





@media(max-width:768px){

  .nav-links{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;

    flex-direction: column;
    gap: 20px;
    padding: 20px;

    display: none;
    z-index: 999;
  }

  .nav-links.active{
    display: flex;
  }

}
