/* ==========================================================================
   SHIP CHANDLER IN ROMANIA CO., LTD - OFFICIAL STYLESHEET
   Phase-2 Premium Maritime Experience with Custom Creative Animations
   Color Theme:
     - Primary: Deep Navy Blue (#0B2545 / #0A192F), Pure / Soft White (#FFFFFF / #F8F9FA)
     - Accents: Maritime Crimson Red (#C8102E / #D32F2F), Warm Golden Yellow (#FFC72C / #F5A623)
   ========================================================================== */

:root {
  --navy-darkest: #071220;
  --navy-dark: #0A192F;
  --navy-deep: #0B2545;
  --navy-surface: #102A4C;
  --navy-card: #132F54;
  --navy-border: rgba(255, 255, 255, 0.12);
  
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --slate-50: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-600: #475569;
  --slate-800: #1E293B;

  --crimson: #C8102E;
  --crimson-hover: #A30822;
  --crimson-light: #FF4D6D;
  --crimson-glow: rgba(200, 16, 46, 0.35);

  --gold: #FFC72C;
  --gold-hover: #F5A623;
  --gold-light: #FFE082;
  --gold-glow: rgba(255, 199, 44, 0.35);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'Space Mono', monospace;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE SETUP
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--navy-darkest);
  color: var(--off-white);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  position: relative;
  line-height: 1.65;
  background-color: var(--navy-darkest);
  min-height: 100vh;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

/* ==========================================================================
   SCROLL PROGRESS BAR & PRELOADER
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3.5px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--crimson) 100%);
  z-index: 9999;
  box-shadow: 0 0 12px var(--crimson-glow);
  transition: width 0.1s ease-out;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--crimson);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.875rem;
  z-index: 10000;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 15px;
}

/* Animated Preloader Screen */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--navy-darkest);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-emblem {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-ring {
  position: absolute;
  inset: 0;
  border: 3px solid rgba(255, 199, 44, 0.15);
  border-top-color: var(--crimson);
  border-right-color: var(--gold);
  border-radius: 50%;
  animation: spinRing 1.2s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
}

.preloader-emblem span {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 2px;
  color: var(--gold);
}

.preloader-bar-wrap {
  width: 180px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

.preloader-bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--crimson));
  transform-origin: left;
  animation: barProgress 1.6s ease-in-out infinite;
}

.preloader-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--slate-400);
}

@keyframes spinRing {
  to { transform: rotate(360deg); }
}

@keyframes barProgress {
  0% { transform: scaleX(0); }
  50% { transform: scaleX(0.7); }
  100% { transform: scaleX(1); }
}

/* Background Atmosphere Glows */
.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow::before {
  content: "";
  position: absolute;
  top: -15%;
  right: -10%;
  width: 65vw;
  height: 65vw;
  background: radial-gradient(circle, rgba(11, 37, 69, 0.7) 0%, rgba(10, 25, 47, 0) 70%);
  filter: blur(80px);
}

.ambient-glow::after {
  content: "";
  position: absolute;
  bottom: 20%;
  left: -15%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.12) 0%, rgba(10, 25, 47, 0) 70%);
  filter: blur(90px);
}

/* ==========================================================================
   NAVIGATION BAR & HEADER (ESTONIA-STYLE 4 ITEMS + ROUND QUOTE BUTTON)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px clamp(20px, 4vw, 50px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-base);
  background: transparent;
}

.site-header.scrolled {
  padding: 12px clamp(20px, 4vw, 50px);
  background: rgba(10, 25, 47, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--navy-border);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  z-index: 1001;
}

.brand-logo-frame {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 199, 44, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.brand:hover .brand-logo-frame {
  transform: scale(1.05) rotate(-2deg);
  border-color: var(--gold);
}

.brand-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  font-family: var(--font-sans);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.15;
}

.brand-copy small {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Nav Menu: Exactly 4 Links like Estonia */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--slate-300);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--crimson-light);
  opacity: 0.9;
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ==========================================================================
   NAVIGATION SERVICES DROPDOWN
   ========================================================================== */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
  z-index: 1002;
}

.nav-dropdown > .nav-link i {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--gold);
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover > .nav-link i {
  transform: rotate(180deg);
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 290px;
  max-height: 440px;
  overflow-y: auto;
  background: var(--navy-darkest);
  border: 1px solid rgba(255, 199, 44, 0.4);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease-out-expo), transform 0.25s var(--ease-out-expo), visibility 0.25s;
  z-index: 1001;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--navy-darkest);
}

.dropdown-panel::-webkit-scrollbar {
  width: 5px;
}
.dropdown-panel::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 10px;
}

.dropdown-panel a {
  display: block !important;
  padding: 9px 12px !important;
  border-radius: 6px;
  font-size: 0.8rem !important;
  font-weight: 600;
  color: var(--slate-300);
  text-decoration: none;
  transition: all var(--transition-fast);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-panel a:last-child {
  border-bottom: none;
}

.dropdown-panel a:hover {
  background: rgba(255, 199, 44, 0.12);
  color: var(--gold);
  transform: translateX(4px);
  padding-left: 16px !important;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Estonia-Style Nav Quote Button */
.nav-quote {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  text-transform: uppercase;
  font: 700 11px/1.2 var(--font-mono);
  letter-spacing: 0.14em;
  color: var(--white);
}

.nav-quote span {
  text-align: right;
  color: var(--slate-200);
}

.nav-quote i {
  font-style: normal;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--crimson);
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 900;
  box-shadow: 0 4px 16px var(--crimson-glow);
  transition: all var(--transition-base);
}

.nav-quote:hover i {
  transform: rotate(45deg) scale(1.08);
  background: var(--gold);
  color: var(--navy-darkest);
  box-shadow: 0 0 0 6px rgba(255, 199, 44, 0.3);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  transition: all var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--gold);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--gold);
}

/* ==========================================================================
   BUTTONS & ACCENT STYLES
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--crimson) 0%, #990a20 100%);
  color: var(--white);
  padding: 15px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 24px var(--crimson-glow);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: left 0.7s var(--ease-out-expo);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 12px 30px rgba(200, 16, 46, 0.6);
  border-color: rgba(255, 199, 44, 0.6);
}

.btn-primary:hover::before {
  left: 120%;
}

.btn-primary i {
  font-style: normal;
  font-weight: 900;
  transition: transform var(--transition-fast);
}

.btn-primary:hover i {
  transform: translate(3px, -3px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--navy-border);
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-secondary:hover {
  background: rgba(255, 199, 44, 0.12);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--gold-glow);
}

.btn-secondary i {
  font-style: normal;
  transition: transform var(--transition-fast);
}

.btn-secondary:hover i {
  transform: translateY(3px);
}

/* ==========================================================================
   HERO SECTION (ANIMATED)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 40px 80px;
  overflow: hidden;
  z-index: 1;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center center;
  opacity: 0.6;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 80%);
}

.hero-container {
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(11, 37, 69, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 199, 44, 0.3);
  padding: 7px 16px;
  border-radius: 99px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-badge-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--crimson-light);
  box-shadow: 0 0 10px var(--crimson-light);
  animation: beaconPulse 1.8s infinite;
}

.hero-badge-text {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
}

@keyframes beaconPulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(255, 77, 109, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 77, 109, 0); }
}

/* Hero Title */
.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: var(--white);
}

.hero-title-row {
  display: block;
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--white) 30%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--crimson-light);
  -webkit-text-fill-color: var(--crimson-light);
}

.hero-lead {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--slate-300);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 34px;
}

.hero-lead strong {
  color: var(--white);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Trust Signals under hero */
.hero-trust-signals {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--navy-border);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-item b {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}

.trust-item span {
  font-size: 0.78rem;
  color: var(--slate-400);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Hero Visual Card */
.hero-visual {
  position: relative;
  z-index: 2;
  perspective: 1200px;
}

.hero-card-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 30px rgba(11, 37, 69, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--navy-dark);
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-out-expo);
}

.hero-card-frame:hover {
  transform: rotateY(-3deg) rotateX(2deg) translateY(-6px);
  border-color: rgba(255, 199, 44, 0.4);
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.hero-card-frame:hover .hero-image-wrap img {
  transform: scale(1.08);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 25, 47, 0.15) 0%, rgba(10, 25, 47, 0.85) 100%);
}

/* Floating Badges on Hero Image */
.badge-floating-top {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 199, 44, 0.35);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-floating-top i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--crimson);
}

.badge-floating-bottom {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  background: rgba(10, 25, 47, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid var(--navy-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.badge-info strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}

.badge-info p {
  font-size: 0.78rem;
  color: var(--slate-300);
  margin: 0;
}

.badge-pill-status {
  background: rgba(200, 16, 46, 0.18);
  border: 1px solid var(--crimson);
  color: var(--crimson-light);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 99px;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   COVERAGE ROUTE MARQUEE / TRACK BANNER (11 PORTS)
   ========================================================================== */
.route-marquee-section {
  position: relative;
  z-index: 10;
  background: linear-gradient(180deg, var(--navy-surface) 0%, var(--navy-dark) 100%);
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
  padding: 22px 0;
  overflow: hidden;
}

.marquee-heading-row {
  max-width: 1320px;
  margin: 0 auto 14px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.marquee-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 700;
}

.marquee-title i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.marquee-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--slate-400);
}

.marquee-track-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: marqueeScroll 36s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.port-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--slate-200);
  transition: all var(--transition-fast);
}

.port-pill span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  background: rgba(255, 199, 44, 0.12);
  padding: 2px 7px;
  border-radius: 4px;
}

.port-pill:hover {
  background: rgba(200, 16, 46, 0.15);
  border-color: var(--crimson);
  color: var(--white);
  transform: translateY(-2px);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   GLOBAL SECTION WRAPPER & TAGS
   ========================================================================== */
.section {
  position: relative;
  padding: 110px clamp(20px, 4vw, 50px);
  z-index: 2;
}

.section-container {
  max-width: 1320px;
  margin: 0 auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}

.section-tag::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2.5px;
  background: var(--crimson);
}

.section-heading {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 20px;
}

.section-heading em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate-300);
  max-width: 640px;
  line-height: 1.7;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
  background: linear-gradient(180deg, var(--navy-darkest) 0%, var(--navy-dark) 100%);
  border-bottom: 1px solid var(--navy-border);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.about-visual {
  position: relative;
}

.about-image-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.65);
  background: var(--navy-card);
}

.about-image-card img {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.about-image-card:hover img {
  transform: scale(1.06);
}

.about-copy {
  display: flex;
  flex-direction: column;
}

.about-lead {
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 18px;
}

.about-description {
  font-size: 0.98rem;
  color: var(--slate-300);
  line-height: 1.75;
  margin-bottom: 22px;
}

.about-description strong {
  color: var(--white);
}

.about-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 20px 0 32px;
  padding: 24px 0;
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
}

.highlight-item {
  display: flex;
  flex-direction: column;
}

.highlight-item b {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.2;
}

.highlight-item span {
  font-size: 0.78rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.contact-person-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--navy-border);
  border-radius: 12px;
  padding: 12px 18px;
  width: fit-content;
}

.contact-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--crimson), var(--gold));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-mono);
  font-size: 1.1rem;
}

.contact-meta small {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--slate-400);
  display: block;
}

.contact-meta strong {
  font-size: 0.95rem;
  color: var(--white);
}

/* ==========================================================================
   FEATURED SERVICES SECTION (EXACTLY 3 CARDS + EXPLORE BUTTON)
   GUARANTEED VISIBILITY & ROBUST STYLING
   ========================================================================== */
.services-section {
  background: var(--navy-darkest);
  border-bottom: 1px solid var(--navy-border);
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.services-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 60px;
}

.services-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 50px;
}

/* Service Card with 3D Hover & Image Zoom */
.service-card {
  position: relative;
  background: var(--navy-card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px -15px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.7), 0 0 25px var(--gold-glow);
}

.service-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-dark);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.service-card:hover .service-card-media img {
  transform: scale(1.1);
}

.service-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(19, 47, 84, 0.95) 100%);
}

.service-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
  z-index: 2;
  border: 1px solid rgba(255, 199, 44, 0.3);
}

.service-card-body {
  padding: 28px 24px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  transition: color var(--transition-fast);
}

.service-card:hover .service-card-title {
  color: var(--gold);
}

.service-card-text {
  font-size: 0.92rem;
  color: var(--slate-300);
  line-height: 1.65;
  margin-bottom: 22px;
  flex-grow: 1;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 16px;
  border-top: 1px solid var(--navy-border);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--crimson-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.service-card-link:hover,
.service-card:hover .service-card-link {
  color: var(--gold);
}

.service-card-link i {
  font-style: normal;
  font-size: 1.15rem;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-card-link i {
  transform: translateX(6px);
  color: var(--gold);
}

.service-spec-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--slate-400);
}

/* Explore More Services Button Container */
.services-action-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.btn-explore-services {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 199, 44, 0.4);
  color: var(--gold);
  padding: 16px 36px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-explore-services:hover {
  background: var(--gold);
  color: var(--navy-darkest);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--gold-glow);
}

.btn-explore-services i {
  font-style: normal;
  transition: transform var(--transition-fast);
}

.btn-explore-services:hover i {
  transform: translateX(4px);
}

.services-action-subtext {
  font-size: 0.82rem;
  color: var(--slate-400);
  font-family: var(--font-mono);
}

/* ==========================================================================
   WHY CHOOSE US SECTION (GUARANTEED VISIBILITY & STAGGERED GRID)
   ========================================================================== */
.why-section {
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-darkest) 100%);
  border-bottom: 1px solid var(--navy-border);
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.why-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 50px;
}

.why-card {
  background: var(--navy-surface);
  border-radius: 18px;
  padding: 34px 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 199, 44, 0.35);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6);
}

.why-card:hover::before {
  opacity: 1;
}

.why-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(200, 16, 46, 0.12);
  border: 1px solid rgba(200, 16, 46, 0.35);
  color: var(--crimson-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  transition: all var(--transition-fast);
}

.why-card:hover .why-icon-box {
  background: var(--crimson);
  color: var(--white);
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 6px 18px var(--crimson-glow);
}

.why-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.why-card-desc {
  font-size: 0.9rem;
  color: var(--slate-300);
  line-height: 1.65;
}

/* ==========================================================================
   VESSELS WE SUPPORT
   ========================================================================== */
.vessels-section {
  background: var(--navy-darkest);
  border-bottom: 1px solid var(--navy-border);
}

.vessels-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.vessel-card {
  background: var(--navy-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-base);
}

.vessel-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  background: var(--navy-surface);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

.vessel-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 199, 44, 0.1);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: transform var(--transition-fast);
}

.vessel-card:hover .vessel-icon {
  transform: scale(1.15);
}

.vessel-card strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

.vessel-card small {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--slate-400);
}

/* ==========================================================================
   SECTION ABOVE FOOTER (#quote) - CLEAN & SIMPLE LIKE ESTONIA
   ========================================================================== */
.quote {
  position: relative;
  background: var(--navy-deep);
  color: #fff;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--navy-border);
  padding: 100px clamp(20px, 4vw, 50px);
}

.quote-map {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: 
    linear-gradient(#ffffff22 1px, transparent 1px),
    linear-gradient(90deg, #ffffff22 1px, transparent 1px);
  background-size: 55px 55px;
  pointer-events: none;
}

.quote-map::before,
.quote-map::after {
  content: "";
  position: absolute;
  border: 1px solid var(--gold);
  border-radius: 50%;
  width: 460px;
  height: 460px;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.35;
}

.quote-map::after {
  width: 240px;
  height: 240px;
  right: calc(10% + 110px);
  border-color: var(--crimson);
}

.quote-map span {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  right: calc(10% + 223px);
  top: 50%;
  box-shadow: 0 0 0 14px rgba(255, 199, 44, 0.2);
  animation: beaconPulse 1.8s infinite;
}

.quote-map b {
  position: absolute;
  right: 6%;
  bottom: 8%;
  font-family: var(--font-sans);
  font-size: clamp(60px, 9vw, 130px);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  letter-spacing: 0.05em;
  line-height: 1;
}

.quote-heading,
.quote-card {
  position: relative;
  z-index: 2;
}

.quote .kicker {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.quote h2 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
}

.quote h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--crimson-light);
}

.quote-card {
  background: var(--navy-dark);
  color: var(--white);
  padding: clamp(30px, 4vw, 55px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 6px solid var(--crimson);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quote-card > p {
  font-size: 1.08rem;
  color: var(--slate-200);
  line-height: 1.6;
}

.quote-email-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  padding: 18px 0;
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
  transition: color var(--transition-fast);
}

.quote-email-link:hover {
  color: var(--white);
}

.quote-email-link i {
  font-style: normal;
  color: var(--crimson-light);
  font-size: 1.25rem;
}

/* ==========================================================================
   FOOTER (ESTONIA-STYLE SIMPLE & PROFESSIONAL 3-COLUMN)
   ========================================================================== */
footer.site-footer {
  position: relative;
  background: #050E1A;
  color: #B7C7D4;
  padding: 85px clamp(20px, 4vw, 50px) 35px;
  display: grid;
  grid-template-columns: 1.2fr 0.75fr 1.15fr;
  gap: clamp(35px, 5vw, 80px);
  border-top: 1px solid var(--navy-border);
}

footer .footer-brand > p {
  max-width: 380px;
  margin-top: 24px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--slate-300);
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-links > b,
.footer-contact > b {
  color: var(--gold);
  text-transform: uppercase;
  font: 700 0.78rem var(--font-mono);
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}

.footer-links a {
  display: flex;
  justify-content: space-between;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 13px 0;
  font-size: 0.92rem;
  color: var(--slate-200);
  transition: all var(--transition-fast);
}

.footer-links a span {
  color: var(--crimson-light);
  transition: transform var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 6px;
}

.footer-links a:hover span {
  transform: rotate(45deg);
  color: var(--gold);
}

.footer-contact > p {
  margin: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--slate-200);
}

.footer-contact > a:not(.whatsapp-pill) {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-contact > a:not(.whatsapp-pill):hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-contact > small {
  margin-top: 22px;
  text-transform: uppercase;
  font: 700 0.72rem var(--font-mono);
  letter-spacing: 0.14em;
  color: var(--gold);
  display: block;
}

.footer-contact > strong {
  color: var(--white);
  font-size: 1.35rem;
  display: block;
  margin-top: 4px;
}

/* WhatsApp Pill inside Footer */
.whatsapp-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  width: min(100%, 380px);
  border: 1px solid rgba(255, 199, 44, 0.35);
  border-radius: 60px;
  padding: 10px 18px 10px 10px;
  text-decoration: none;
  background: var(--navy-dark);
  transition: all var(--transition-base);
}

.wa-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.15);
  flex-shrink: 0;
}

.wa-icon svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

.whatsapp-pill > span:nth-child(2) small {
  display: block;
  color: #25D366;
  text-transform: uppercase;
  font: 700 0.7rem var(--font-mono);
  letter-spacing: 0.12em;
}

.whatsapp-pill > span:nth-child(2) b {
  color: var(--white);
  font-size: 0.92rem;
}

.whatsapp-pill > i {
  font-style: normal;
  margin-left: auto;
  color: var(--gold);
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}

.whatsapp-pill:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 8px 25px rgba(255, 199, 44, 0.2);
}

.whatsapp-pill:hover > i {
  transform: translateX(6px);
}

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 15px;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  font: 0.78rem var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-400);
}

.footer-bottom a {
  text-decoration: none;
  color: var(--slate-300);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (ANIMATED WITH PING)
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  z-index: 999;
  cursor: pointer;
  border: 4px solid var(--navy-darkest);
  transition: all var(--transition-base);
}

.floating-whatsapp::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.6;
  animation: waPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.65);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

@keyframes waPing {
  75%, 100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* ==========================================================================
   ANIMATIONS & SCROLL REVEAL SUITE (FAIL-SAFE VISIBILITY)
   ========================================================================== */
.reveal,
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 1; /* Always visible by default */
  transform: none;
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
  will-change: opacity, transform;
}

/* Only hide if JS is confirmed running, then animate into view */
body.js-ready .reveal,
body.js-ready .reveal-up {
  opacity: 0;
  transform: translateY(35px);
}

body.js-ready .reveal-left {
  opacity: 0;
  transform: translateX(-45px);
}

body.js-ready .reveal-right {
  opacity: 0;
  transform: translateX(45px);
}

body.js-ready .reveal-scale {
  opacity: 0;
  transform: scale(0.94);
}

/* Active animated visible states */
.reveal.is-visible,
.reveal.in-view,
.reveal-up.is-visible,
.reveal-up.in-view,
.reveal-left.is-visible,
.reveal-left.in-view,
.reveal-right.is-visible,
.reveal-right.in-view,
.reveal-scale.is-visible,
.reveal-scale.in-view,
body.js-ready .is-visible,
body.js-ready .in-view {
  opacity: 1 !important;
  transform: translate(0) scale(1) !important;
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* ==========================================================================
   ACCESSIBILITY: REDUCED MOTION SUPPORT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track {
    animation: none;
  }
  .reveal, .reveal-up, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-container {
    gap: 40px;
  }
  .why-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .vessels-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  footer.site-footer {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .quote {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-trust-signals {
    justify-content: center;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .services-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .services-grid-3 {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }
  .mobile-toggle {
    display: flex;
  }
  .primary-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 290px;
    height: 100vh;
    background: var(--navy-darkest);
    border-left: 1px solid var(--navy-border);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 30px 40px;
    gap: 16px;
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.7);
    transition: right var(--transition-base);
    z-index: 1000;
  }
  .primary-nav.active {
    right: 0;
  }
  .nav-quote {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 80px 20px;
  }
  .hero-section {
    padding: 110px 20px 60px;
  }
  .why-grid-4 {
    grid-template-columns: 1fr;
  }
  .vessels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-highlights-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==========================================================================
   INNER PAGES SYSTEM (ABOUT, SERVICES, PROCESS, ETC.)
   ========================================================================== */

/* Inner Page Hero (Atlas & Radar styling) */
.page-hero {
  position: relative;
  isolation: isolate;
  min-height: 520px;
  padding: clamp(140px, 14vw, 200px) clamp(24px, 6vw, 100px) clamp(60px, 8vw, 100px);
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, var(--navy-darkest) 0%, var(--navy-dark) 100%);
  color: var(--white);
  overflow: hidden;
  border-bottom: 1px solid var(--navy-border);
}

.atlas-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 580px;
  height: 580px;
  right: -140px;
  top: -200px;
  border-radius: 50%;
  border: 1px solid rgba(255, 199, 44, 0.35);
  box-shadow: 0 0 0 75px rgba(255, 199, 44, 0.06), 0 0 0 150px rgba(255, 199, 44, 0.03);
  animation: radarScan 24s linear infinite;
  pointer-events: none;
}

@keyframes radarScan {
  to { transform: rotate(360deg); }
}

.page-coordinate {
  position: absolute;
  top: 120px;
  right: clamp(24px, 6vw, 100px);
  font: 700 0.76rem var(--font-mono);
  letter-spacing: 0.18em;
  color: var(--gold);
  background: rgba(11, 37, 69, 0.7);
  border: 1px solid rgba(255, 199, 44, 0.3);
  padding: 8px 16px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.page-coordinate::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 10px var(--crimson);
  animation: pulse 2s infinite;
}

.page-hero-copy {
  max-width: 950px;
  position: relative;
  z-index: 1;
}

.page-hero-copy .kicker {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-hero-copy .kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.page-hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(38px, 6vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 24px;
}

.page-hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--gold);
}

.page-hero-copy > p:last-child {
  max-width: 680px;
  color: var(--slate-300);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.7;
  margin: 0;
}

.page-hero-mark {
  position: absolute;
  right: 4vw;
  bottom: -0.15em;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(160px, 26vw, 420px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  z-index: 0;
  user-select: none;
  pointer-events: none;
}

/* Section Indices and Tags */
.section-tag-gold,
.section-index {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.section-tag-gold span,
.section-index span {
  color: var(--crimson);
  font-weight: 700;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 3px;
}

.section-tag-gold p,
.section-index p {
  margin: 0;
  color: var(--navy-darkest);
  font-weight: 700;
}

.process-section .section-tag-gold p,
.process-section .section-index p {
  color: var(--slate-300);
}

/* Inner About Section */
.inner-about {
  padding-top: clamp(80px, 8vw, 130px);
  padding-bottom: clamp(80px, 8vw, 130px);
  background: var(--white);
  color: var(--navy-darkest);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 1.25fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  margin-top: 40px;
}

.inner-about .about-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(11, 37, 69, 0.15);
  border: 1px solid rgba(11, 37, 69, 0.08);
}

.inner-about .about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-out-expo);
}

.inner-about .about-image:hover img {
  transform: scale(1.05);
}

.inner-about .image-subtext {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 37, 69, 0.9) 100%);
  color: var(--white);
  padding: 30px 24px 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}

.about-copy .kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--crimson);
  font-weight: 700;
  margin-bottom: 14px;
}

.about-copy h2 {
  font-family: var(--font-sans);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--navy-darkest);
  margin: 0 0 24px;
}

.about-copy h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--crimson);
}

.about-copy .lead {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--navy-dark);
  margin-bottom: 20px;
}

.about-copy p {
  font-size: 1rem;
  line-height: 1.75;
  color: #4b5d6f;
  margin-bottom: 18px;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 28px;
  background: var(--navy-darkest);
  color: var(--white);
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.2);
  transition: all var(--transition-base);
}

.arrow-link span {
  color: var(--white);
}

.arrow-link i {
  font-style: normal;
  color: var(--gold);
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}

.arrow-link:hover {
  background: var(--crimson);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(200, 16, 46, 0.35);
}

.arrow-link:hover i {
  transform: translate(4px, -4px);
  color: var(--white);
}

/* Inner Why Section (Operational Disciplines) */
.inner-why {
  background: var(--off-white);
  border-top: 1px solid rgba(11, 37, 69, 0.08);
  border-bottom: 1px solid rgba(11, 37, 69, 0.08);
  padding-top: clamp(80px, 8vw, 130px);
  padding-bottom: clamp(80px, 8vw, 130px);
}

.inner-why-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(360px, 1.4fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.inner-why .why-intro h2 {
  font-family: var(--font-sans);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--navy-darkest);
  margin: 16px 0 20px;
}

.inner-why .why-intro h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--crimson);
}

.inner-why .why-intro p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4b5d6f;
  margin: 0;
}

.control-deck {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.control-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(11, 37, 69, 0.1);
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: 0 4px 20px rgba(11, 37, 69, 0.04);
  transition: all var(--transition-base);
  overflow: hidden;
}

.control-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--crimson);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.control-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(11, 37, 69, 0.1);
  border-color: rgba(200, 16, 46, 0.3);
}

.control-card:hover::before {
  opacity: 1;
}

.control-card > span {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--crimson);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.control-card h3 {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-darkest);
  margin: 0 0 10px;
}

.control-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #5a6b7d;
  margin: 0;
}

/* Process Section (How the Enquiry Moves) */
.process-section {
  background: var(--navy-darkest);
  color: var(--white);
  padding-top: clamp(80px, 8vw, 130px);
  padding-bottom: clamp(80px, 8vw, 130px);
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.process-heading {
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.process-heading h2 {
  font-family: var(--font-sans);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--white);
  margin: 16px 0 0;
}

.process-heading h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.process-step-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--navy-border);
  border-radius: 16px;
  padding: 36px 28px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.process-step-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--crimson));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.process-step-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 199, 44, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.process-step-card:hover::after {
  opacity: 1;
}

.process-step-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-style: italic;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 24px;
  display: block;
}

.process-step-card h3 {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0 0 12px;
}

.process-step-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--slate-300);
  margin-top: auto;
}

/* Inner Pages Responsive */
@media (max-width: 1024px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .inner-why-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .process-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .process-track {
    grid-template-columns: 1fr;
  }
  .page-coordinate {
    position: static;
    margin-bottom: 20px;
  }
  .inner-about .about-image img {
    height: 340px;
  }
}

/* ==========================================================================
   COUNTRY OVERVIEW & COMPASS (SERVICES PAGE)
   ========================================================================== */
.country-overview {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  padding-bottom: 90px;
  border-bottom: 1px solid var(--navy-border);
  margin-bottom: 90px;
}

.country-compass {
  position: relative;
  width: 280px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 199, 44, 0.4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: repeating-radial-gradient(circle, rgba(255, 199, 44, 0.05) 0 1px, transparent 1px 24px);
  animation: compassFloat 6s ease-in-out infinite;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(255, 199, 44, 0.06);
  margin: 0 auto;
}

@keyframes compassFloat {
  50% { transform: translateY(-10px) rotate(1.5deg); }
}

.country-compass::before,
.country-compass::after {
  content: "";
  position: absolute;
  background: rgba(255, 199, 44, 0.25);
}

.country-compass::before {
  width: 1px;
  height: 115%;
}

.country-compass::after {
  height: 1px;
  width: 115%;
}

.country-compass i {
  position: absolute;
  width: 72%;
  height: 72%;
  border: 1px dashed rgba(200, 16, 46, 0.6);
  border-radius: 50%;
  animation: radarScan 18s linear infinite;
}

.country-compass span {
  position: absolute;
  top: 14px;
  font: 700 0.85rem var(--font-mono);
  color: var(--crimson-light);
  letter-spacing: 0.1em;
}

.country-compass b {
  font-family: var(--font-sans);
  font-size: 4.8rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.05em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.country-copy .kicker {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.country-copy h2 {
  font-family: var(--font-sans);
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--white);
  margin: 0 0 24px;
}

.country-copy h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.country-copy p {
  color: var(--slate-300);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

/* ==========================================================================
   PORT COVERAGE SECTION (11 PORTS WITH 6 VISIBLE + EXPAND TOGGLE)
   ========================================================================== */
.coverage-section {
  background: var(--navy-darkest);
  border-bottom: 1px solid var(--navy-border);
  padding: clamp(70px, 8vw, 110px) clamp(24px, 5vw, 60px);
}

.coverage-head {
  margin-bottom: 50px;
}

.coverage-head h2 {
  font-family: var(--font-sans);
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--white);
  margin: 16px 0 0;
}

.coverage-head h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.coverage-grid .port-card {
  position: relative;
  background: var(--navy-surface);
  border: 1px solid var(--navy-border);
  border-radius: 16px;
  padding: 32px 28px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  overflow: hidden;
}

.coverage-grid .port-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--gold), var(--crimson));
  transition: height 0.4s var(--ease-out-expo);
}

.coverage-grid .port-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 199, 44, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.coverage-grid .port-card:hover::before {
  height: 100%;
}

.port-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.port-card-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--crimson-light);
  letter-spacing: 0.1em;
}

.port-card-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(255, 199, 44, 0.1);
  border: 1px solid rgba(255, 199, 44, 0.25);
  padding: 4px 10px;
  border-radius: 20px;
}

.port-card h3 {
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0 0 12px;
}

.port-card p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--slate-300);
  margin: 0;
  margin-top: auto;
}

/* Hidden ports for accordion toggle */
.coverage-grid .port-card.port-card-extra {
  display: none !important;
}

.coverage-grid.ports-expanded .port-card.port-card-extra {
  display: flex !important;
  animation: portCardIn 0.5s var(--ease-out-expo) forwards;
}

@keyframes portCardIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ports Toggle Button Wrap */
.ports-toggle-wrap {
  text-align: center;
  margin-top: 40px;
}

.btn-more-ports {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 199, 44, 0.4);
  color: var(--gold);
  border-radius: 40px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-more-ports i {
  font-style: normal;
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}

.btn-more-ports:hover {
  background: var(--gold);
  color: var(--navy-darkest);
  box-shadow: 0 8px 30px var(--gold-glow);
  transform: translateY(-2px);
}

.coverage-line {
  margin-top: 50px;
  padding: 24px 32px;
  background: var(--navy-surface);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  color: var(--slate-300);
  font-size: 1.05rem;
  line-height: 1.6;
}

.coverage-line strong {
  color: var(--white);
}

/* ==========================================================================
   SERVICES GRID ALL (13 CARDS DISPLAY)
   ========================================================================== */
.all-services {
  padding: clamp(70px, 8vw, 110px) clamp(24px, 5vw, 60px);
  background: var(--navy-darkest);
}

.services-grid-all {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 50px;
}

@media (max-width: 1024px) {
  .country-overview {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .coverage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid-all {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .coverage-grid {
    grid-template-columns: 1fr;
  }
  .services-grid-all {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   INDIVIDUAL SERVICE DETAIL PAGES
   ========================================================================== */
.service-detail {
  padding: clamp(70px, 8vw, 110px) clamp(24px, 5vw, 60px);
  background: var(--white);
  color: var(--navy-darkest);
}

.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
}

.detail-copy .kicker {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--crimson);
  font-weight: 700;
  margin-bottom: 12px;
}

.detail-copy h2 {
  font-family: var(--font-sans);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--navy-darkest);
  margin: 0 0 24px;
}

.detail-copy h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--crimson);
}

.detail-copy .lead {
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.75;
  color: var(--navy-dark);
  margin-bottom: 20px;
}

.detail-copy > p {
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.availability {
  margin: 36px 0;
  padding: 24px 28px;
  border-left: 5px solid var(--gold);
  background: var(--navy-darkest);
  border-radius: 0 12px 12px 0;
  color: var(--white);
}

.availability strong {
  display: block;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 6px;
}

.availability span {
  font-size: 0.98rem;
  color: var(--slate-300);
  line-height: 1.6;
}

.detail-copy h3 {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-darkest);
  margin-top: 40px;
  margin-bottom: 12px;
}

.detail-aside {
  position: sticky;
  top: 110px;
}

.detail-image {
  height: 440px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.detail-image:hover img {
  transform: scale(1.06);
}

.checklist {
  background: var(--navy-darkest);
  color: var(--white);
  padding: 36px 32px;
  border-radius: 0 0 16px 16px;
  border: 1px solid var(--navy-border);
  border-top: none;
}

.checklist .kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.checklist ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
}

.checklist li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
  color: var(--slate-300);
  display: flex;
  align-items: center;
  gap: 10px;
}

.checklist li::before {
  content: "↗";
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
}

.detail-wa {
  margin-top: 20px;
  width: 100%;
}

.related-services {
  background: var(--navy-dark);
  padding: clamp(60px, 7vw, 100px) clamp(24px, 5vw, 60px);
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 45px;
}

@media (max-width: 992px) {
  .service-detail-layout {
    grid-template-columns: 1fr;
  }
  .detail-aside {
    position: static;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PORTS DROPDOWN (2-COLUMN SCROLLABLE PANEL)
   ========================================================================== */
.dropdown-panel.ports-dropdown {
  width: min(92vw, 560px);
  max-height: 440px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 10px;
  overflow-y: auto;
  padding: 10px;
}

.dropdown-panel.ports-dropdown a {
  padding: 8px 10px !important;
  font-size: 0.78rem !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 600px) {
  .dropdown-panel.ports-dropdown {
    width: 290px;
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PORT DIRECTORY PAGE (ports.html)
   ========================================================================== */
.port-directory {
  background: var(--navy-dark);
  padding: clamp(70px, 8vw, 110px) clamp(24px, 5vw, 60px);
  position: relative;
  border-top: 1px solid var(--navy-border);
}

.directory-heading {
  max-width: 850px;
  margin-bottom: 60px;
}

.directory-heading h2 {
  font-family: var(--font-sans);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.directory-heading h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--gold);
}

.directory-heading p {
  color: var(--slate-300);
  font-size: 1.05rem;
  line-height: 1.7;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.directory-grid .port-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 14px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  min-height: 170px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.directory-grid .port-card > * {
  position: relative;
  z-index: 2;
}

.directory-grid .port-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px !important;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 3;
}

.directory-grid .port-card:hover {
  transform: translateY(-6px);
  background: rgba(14, 34, 61, 0.98);
  border-color: rgba(255, 199, 44, 0.65);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 199, 44, 0.15);
}

.directory-grid .port-card:hover::before {
  height: 3px !important;
  opacity: 1;
}

.port-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.port-card-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--crimson-light);
  letter-spacing: 1px;
}

.port-card-code {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  color: var(--gold);
  background: rgba(255, 199, 44, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 199, 44, 0.2);
}

.port-card-title {
  font-family: var(--font-sans);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 20px;
  transition: color var(--transition-fast);
}

.directory-grid .port-card:hover .port-card-title {
  color: var(--gold);
}

.port-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--slate-300);
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transition: color var(--transition-fast);
}

.port-card-action i {
  font-style: normal;
  font-size: 1rem;
  color: var(--crimson-light);
  transition: transform var(--transition-fast);
}

.directory-grid .port-card:hover .port-card-action {
  color: var(--white);
}

.directory-grid .port-card:hover .port-card-action i {
  transform: translateX(6px);
  color: var(--gold);
}

@media (max-width: 992px) {
  .directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .directory-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PORT DETAIL ARTICLE PAGES (ports/*.html)
   ========================================================================== */
.port-article-section {
  background: var(--navy-dark);
  padding: clamp(70px, 8vw, 110px) clamp(24px, 5vw, 60px);
  position: relative;
  border-top: 1px solid var(--navy-border);
}

.port-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(40px, 5vw, 70px);
  align-items: start;
}

.port-article {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.port-article h2 {
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 40px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.port-article h2:first-child {
  margin-top: 0;
}

.port-article h3 {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin: 28px 0 12px;
}

.port-article p {
  color: var(--slate-300);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 18px;
}

.port-article ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}

.port-article li {
  color: var(--slate-300);
  font-size: 0.95rem;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.port-article li::before {
  content: "•";
  color: var(--crimson-light);
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: -2px;
}

.port-sidebar {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.port-sidebar-card {
  background: var(--navy-darkest);
  border: 1px solid rgba(255, 199, 44, 0.3);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.port-sidebar-card h3 {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin: 8px 0 14px;
}

.port-sidebar-card p {
  color: var(--slate-300);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 22px;
}

.port-sidebar-card .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 14px;
}

.port-sidebar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap var(--transition-fast);
}

.port-sidebar-link:hover {
  gap: 12px;
  color: var(--white);
}

@media (max-width: 992px) {
  .port-article-layout {
    grid-template-columns: 1fr;
  }
  .port-sidebar {
    position: static;
  }
  .port-article ul {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FORMS SECTION & CONTACT / QUOTE PAGES (contact.html, request-quote.html)
   ========================================================================== */
.forms-section {
  background: var(--navy-dark);
  padding: clamp(70px, 8vw, 110px) clamp(24px, 5vw, 60px);
  position: relative;
  border-top: 1px solid var(--navy-border);
}

.contact-form-layout {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: clamp(35px, 5vw, 60px);
  align-items: start;
}

.contact-card {
  position: sticky;
  top: 110px;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 18px;
  padding: clamp(28px, 4vw, 42px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.contact-card h2 {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin: 12px 0 24px;
}

.contact-card > div {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-card small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.contact-card strong {
  display: block;
  font-size: 1rem;
  color: var(--slate-100);
  line-height: 1.5;
  word-break: break-word;
}

.contact-card a {
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-card a:hover {
  color: var(--gold);
}

.contact-wa {
  margin-top: 24px;
  width: 100%;
}

.form-card {
  background: var(--navy-surface);
  border: 1px solid var(--navy-border);
  border-radius: 18px;
  padding: clamp(30px, 5vw, 65px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
}

.form-card h2 {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 10px 0 35px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 20px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--slate-300);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid var(--navy-border);
  background: var(--navy-darkest);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  transition: all var(--transition-fast);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--slate-400);
  opacity: 0.6;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 199, 44, 0.2);
  background: rgba(8, 22, 42, 0.95);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field input[type="file"] {
  padding: 10px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
}

.form-card button[type="submit"] {
  border: 0;
  margin-top: 30px;
  cursor: pointer;
}

.map-frame {
  height: 480px;
  margin-top: 55px;
  border-radius: 16px;
  overflow: hidden;
  border: 4px solid var(--navy-card);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 992px) {
  .contact-form-layout {
    grid-template-columns: 1fr;
  }
  .contact-card {
    position: static;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}
