/* ==========================================================================
   Ship Chandler Latvia Co., Ltd - Warm Sand & Espresso Luxury Maritime Design
   ========================================================================== */

:root {
  /* Warm Sand & Espresso Core Palette */
  --sand-light: #D4A373;
  --sand-primary: #C5A070;
  --bronze-muted: #9E7648;
  --espresso-deep: #1A1816;
  --charcoal-solid: #141210;
  --charcoal-card: #212121;
  
  /* Backgrounds */
  --bg-page: #FAF8F5;          /* Warm Cream / Off-White Base */
  --bg-card: #FFFFFF;          /* Pure White Interactive Cards */
  --bg-surface: #F5EFEB;       /* Soft Sand Muted Layer */
  --bg-glass-nav: rgba(26, 24, 22, 0.88); /* Frosted Espresso Header */
  --bg-dark-section: #1A1816;  /* Deep Espresso Contrast */
  --bg-footer: #141210;        /* Solid Charcoal Footer */

  /* Text Colors */
  --text-main: #1A1816;        /* Deep Charcoal for Light Backgrounds */
  --text-muted: #5C554E;       /* Warm Taupe Slate */
  --text-dim: #8C8278;         /* Subdued Gray-Brown */
  --text-inverse: #FAF8F5;     /* Cream text on Dark Sections */
  --text-inverse-muted: #A8A199;

  /* Borders & Shadows */
  --border-subtle: rgba(26, 24, 22, 0.08);
  --border-card: rgba(197, 160, 112, 0.22);
  --border-accent: #C5A070;
  --border-glass: rgba(197, 160, 112, 0.15);
  --shadow-warm-sm: 0 4px 18px rgba(26, 24, 22, 0.04);
  --shadow-warm-md: 0 14px 34px rgba(26, 24, 22, 0.07);
  --shadow-warm-lg: 0 24px 50px rgba(26, 24, 22, 0.12);
  --shadow-glow: 0 8px 24px rgba(197, 160, 112, 0.35);
  --shadow-glow-lg: 0 16px 40px rgba(197, 160, 112, 0.42);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Layout Constants */
  --container-max: 1260px;
  --header-height: 92px;
  --header-height-scrolled: 76px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Easing curves */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-page);
  color: var(--text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

button {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

::selection {
  background: var(--sand-primary);
  color: #FFFFFF;
}

/* ==========================================================================
   Page Preloader with Warm Sand Maritime Radar
   ========================================================================== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--espresso-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  transition: opacity 0.65s var(--ease-smooth), visibility 0.65s var(--ease-smooth);
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-radar {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid rgba(197, 160, 112, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-radar::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px dashed rgba(197, 160, 112, 0.45);
}

.loader-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 270deg, var(--sand-primary) 360deg);
  animation: radar-spin 1.4s linear infinite;
}

.loader-blip {
  width: 9px;
  height: 9px;
  background: var(--sand-light);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--sand-light);
  animation: radar-blip 1s ease-in-out infinite alternate;
}

@keyframes radar-spin {
  to { transform: rotate(360deg); }
}

@keyframes radar-blip {
  from { transform: scale(0.8); opacity: 0.5; }
  to { transform: scale(1.35); opacity: 1; }
}

.loader-text {
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   Scroll Progress Indicator
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3.5px;
  background: linear-gradient(90deg, var(--sand-primary), var(--sand-light), var(--bronze-muted));
  z-index: 9999;
  box-shadow: 0 0 12px rgba(197, 160, 112, 0.6);
  transition: width 0.08s linear;
}

/* ==========================================================================
   Header & Navigation (Frosted Espresso Glassmorphism)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  padding: 0 clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  background: var(--bg-glass-nav);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(197, 160, 112, 0.18);
  color: var(--text-inverse);
  transition: height 0.35s var(--ease-spring), background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  height: var(--header-height-scrolled);
  background: rgba(20, 18, 16, 0.95);
  border-bottom-color: rgba(197, 160, 112, 0.3);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-wrap {
  width: 58px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(197, 160, 112, 0.3);
  transition: transform 0.3s var(--ease-spring);
}

.brand:hover .brand-logo-wrap {
  transform: scale(1.06) rotate(-2deg);
}

.brand-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

.brand-text small {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand-primary);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 36px);
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  padding: 8px 4px;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--sand-primary);
  box-shadow: 0 0 8px rgba(197, 160, 112, 0.6);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-spring);
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Primary CTA Button (Warm Light Brown with Pulse & Sheen) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--sand-primary);
  box-shadow: 0 4px 18px rgba(197, 160, 112, 0.25);
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover {
  background: var(--bronze-muted);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

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

.btn-primary i {
  font-style: normal;
  font-size: 16px;
  transition: transform 0.25s ease;
}

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

/* Header Quote Button */
.btn-header-quote {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--sand-primary);
  box-shadow: 0 4px 16px rgba(197, 160, 112, 0.3);
  transition: background 0.3s ease, transform 0.25s var(--ease-spring), box-shadow 0.25s ease;
}

.btn-header-quote:hover {
  background: var(--bronze-muted);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-header-quote i {
  font-style: normal;
  transition: transform 0.25s ease;
}

.btn-header-quote:hover i {
  transform: translate(2px, -2px);
}

/* Ghost Button on Warm Background */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  background: #FFFFFF;
  border: 1px solid rgba(197, 160, 112, 0.35);
  box-shadow: var(--shadow-warm-sm);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-spring), box-shadow 0.25s ease;
}

.btn-ghost:hover {
  background: #FAF8F5;
  border-color: var(--sand-primary);
  color: var(--bronze-muted);
  transform: translateY(-2px);
  box-shadow: var(--shadow-warm-md);
}

.btn-ghost i {
  font-style: normal;
  transition: transform 0.25s ease;
}

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

/* Mobile Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(197, 160, 112, 0.3);
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-spring), opacity 0.3s ease;
}

.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Section 1: Animated Hero (Warm Off-White Base with Shimmer Text)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-height) + 40px) clamp(20px, 4vw, 64px) 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 85% 25%, rgba(197, 160, 112, 0.16) 0%, transparent 50%),
              radial-gradient(circle at 15% 75%, rgba(212, 163, 115, 0.12) 0%, transparent 45%),
              var(--bg-page);
}

.hero-ambient-mesh {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(197, 160, 112, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 160, 112, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85), transparent 75%);
}

.hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  position: relative;
  z-index: 2;
}

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

/* Eyebrow Pill */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  background: rgba(197, 160, 112, 0.12);
  border: 1px solid rgba(197, 160, 112, 0.35);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze-muted);
  width: max-content;
  margin-bottom: 22px;
  box-shadow: 0 2px 10px rgba(197, 160, 112, 0.1);
}

.eyebrow-beacon {
  width: 8px;
  height: 8px;
  background: var(--sand-primary);
  border-radius: 50%;
  position: relative;
}

.eyebrow-beacon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--sand-primary);
  animation: beacon-ring 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes beacon-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* Hero Heading with Dynamic Text Gradient Mask */
.hero-title {
  font-size: clamp(40px, 5.2vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: var(--espresso-deep);
}

.hero-title .solid-title {
  display: block;
  color: var(--espresso-deep);
}

.hero-title .gradient-title {
  background: linear-gradient(90deg, #1A1816 0%, #C5A070 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
}

.hero-lead {
  font-size: clamp(16.5px, 1.25vw, 19px);
  line-height: 1.68;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 34px;
}

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

/* Hero Quick Port Badges */
.hero-port-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.hero-port-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  border: 1px solid rgba(197, 160, 112, 0.25);
  font-size: 12.5px;
  color: var(--text-muted);
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  transition: all 0.25s ease;
}

.hero-port-tag b {
  color: var(--sand-primary);
  font-weight: 800;
}

.hero-port-tag:hover {
  color: var(--text-main);
  background: #FAF8F5;
  border-color: var(--sand-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-warm-sm);
}

/* Hero Visual 3D Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.hero-card-3d {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #FFFFFF;
  border: 2px solid var(--border-card);
  box-shadow: var(--shadow-warm-lg);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease, border-color 0.3s ease;
}

.hero-card-3d:hover {
  border-color: var(--sand-primary);
  box-shadow: 0 30px 70px rgba(26, 24, 22, 0.16), var(--shadow-glow);
}

.hero-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

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

.hero-card-3d:hover .hero-img-wrap img {
  transform: scale(1.06);
}

/* Light Scanning Overlay */
.hero-scan-beam {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--sand-primary), var(--sand-light), transparent);
  box-shadow: 0 0 16px var(--sand-primary);
  animation: scan-vertical 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scan-vertical {
  0% { top: 0%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Floating Badges with Warm Sand Aesthetic */
.floating-badge {
  position: absolute;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  color: var(--text-main);
  box-shadow: var(--shadow-warm-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  animation: float-slow 4.5s ease-in-out infinite alternate;
}

.badge-top {
  top: -16px;
  left: -20px;
}

.badge-bottom {
  bottom: -16px;
  right: -20px;
  animation-delay: -2.2s;
}

@keyframes float-slow {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

.badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(197, 160, 112, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bronze-muted);
  font-size: 19px;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
}

.badge-text small {
  font-size: 11.5px;
  color: var(--sand-primary);
  font-weight: 600;
}

/* Route Ribbon */
.hero-route-strip {
  max-width: var(--container-max);
  margin: 50px auto 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-warm-sm);
  position: relative;
  z-index: 2;
  overflow-x: auto;
}

.route-station {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.route-station.primary {
  color: var(--bronze-muted);
}

.route-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D1C7BD;
}

.route-station.primary .route-dot {
  background: var(--sand-primary);
  box-shadow: 0 0 10px rgba(197, 160, 112, 0.7);
}

.route-arrow {
  color: rgba(197, 160, 112, 0.5);
  font-size: 13px;
}

/* ==========================================================================
   Section Layouts
   ========================================================================== */
.section {
  padding: clamp(70px, 9vw, 120px) clamp(20px, 4vw, 64px);
  position: relative;
}

.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze-muted);
  margin-bottom: 14px;
}

.section-tag i {
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--sand-primary);
}

.section-heading {
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--espresso-deep);
  margin-bottom: 20px;
}

.section-heading em {
  font-style: normal;
  background: linear-gradient(90deg, #1A1816 0%, #C5A070 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-sublead {
  font-size: 17px;
  line-height: 1.68;
  color: var(--text-muted);
  max-width: 620px;
}

/* ==========================================================================
   Section 2: About Ship Chandler Latvia
   ========================================================================== */
.about-section {
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.about-visual {
  position: relative;
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  border: 2px solid var(--border-card);
  box-shadow: var(--shadow-warm-lg);
  transition: transform 0.4s var(--ease-spring), border-color 0.3s ease;
}

.about-image-card:hover {
  transform: translateY(-6px);
  border-color: var(--sand-primary);
}

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

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

.about-badge-lv {
  position: absolute;
  bottom: 24px;
  right: 24px;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-warm-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-badge-lv strong {
  font-size: 26px;
  font-weight: 800;
  color: var(--bronze-muted);
  line-height: 1;
}

.about-badge-lv span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  display: block;
}

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

.about-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 28px 0;
  padding: 24px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.highlight-stat .number {
  font-size: 36px;
  font-weight: 800;
  color: var(--bronze-muted);
  line-height: 1.1;
  font-family: var(--font-display);
}

.highlight-stat .label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.35;
}

.about-bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--espresso-deep);
}

.bullet-item i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(197, 160, 112, 0.16);
  color: var(--bronze-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

/* ==========================================================================
   Section 3: Featured Services (Pure White Cards with Floating Hover)
   ========================================================================== */
.services-section {
  background: var(--bg-page);
  position: relative;
}

.services-head-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 24px;
}

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

.service-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  overflow: hidden;
  box-shadow: var(--shadow-warm-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-spring), border-color 0.35s ease, box-shadow 0.35s ease;
  transform-style: preserve-3d;
}

.service-card:hover {
  border-color: var(--sand-primary);
  box-shadow: 0 20px 48px rgba(197, 160, 112, 0.22), var(--shadow-warm-md);
  transform: translateY(-8px);
}

.service-card-media {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

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

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

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 24, 22, 0.65) 100%);
}

.service-index-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  border: 1px solid rgba(197, 160, 112, 0.35);
  font-size: 12px;
  font-weight: 800;
  color: var(--bronze-muted);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

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

.service-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand-primary);
  margin-bottom: 8px;
}

.service-card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--espresso-deep);
  margin-bottom: 12px;
  line-height: 1.25;
}

.service-card-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.62;
  margin-bottom: 22px;
  flex-grow: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--bronze-muted);
  margin-top: auto;
  transition: gap 0.25s ease, color 0.25s ease;
}

.service-card-link i {
  font-style: normal;
  font-size: 16px;
  transition: transform 0.25s ease;
}

.service-card:hover .service-card-link {
  gap: 12px;
  color: var(--sand-primary);
}

.service-card:hover .service-card-link i {
  transform: translate(3px, -3px);
}

/* Explore More Services Button */
.services-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.btn-explore-services {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 38px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 700;
  color: var(--espresso-deep);
  background: #FFFFFF;
  border: 1.5px solid var(--border-card);
  box-shadow: var(--shadow-warm-sm);
  transition: transform 0.3s var(--ease-spring), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-explore-services:hover {
  transform: translateY(-3px);
  background: var(--bg-page);
  border-color: var(--sand-primary);
  box-shadow: var(--shadow-glow);
  color: var(--bronze-muted);
}

.btn-explore-services i {
  font-style: normal;
  font-size: 18px;
  color: var(--sand-primary);
  transition: transform 0.25s ease;
}

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

/* ==========================================================================
   Section 4: Why Choose Us (Pure White Cards with Sand Accents)
   ========================================================================== */
.why-section {
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
  margin-top: 50px;
}

.why-card {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  padding: 32px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--sand-primary);
  background: #FFFFFF;
  box-shadow: var(--shadow-warm-md);
}

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

.why-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(197, 160, 112, 0.15);
  border: 1px solid rgba(197, 160, 112, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bronze-muted);
  font-size: 22px;
  transition: transform 0.3s var(--ease-spring), background 0.3s ease;
}

.why-card:hover .why-icon-wrap {
  transform: scale(1.1) rotate(5deg);
  background: var(--sand-primary);
  color: #FFFFFF;
}

.why-number {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dim);
  font-family: var(--font-display);
}

.why-card-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--espresso-deep);
  margin-bottom: 12px;
  line-height: 1.3;
}

.why-card-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Section 5: Vessels We Support (Smooth Marquee)
   ========================================================================== */
.vessels-section {
  background: var(--bg-page);
  padding: clamp(60px, 8vw, 100px) 0;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
}

.vessels-inner-wrap {
  padding: 0 clamp(20px, 4vw, 64px);
  max-width: var(--container-max);
  margin: 0 auto 40px;
  text-align: center;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  padding: 10px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: marquee-slide 28s linear infinite;
}

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

@keyframes marquee-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.vessel-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  color: var(--espresso-deep);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-warm-sm);
  transition: all 0.3s ease;
}

.vessel-chip:hover {
  background: var(--sand-primary);
  border-color: var(--sand-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.vessel-chip i {
  color: var(--sand-primary);
  font-style: normal;
  font-size: 16px;
  transition: color 0.3s ease;
}

.vessel-chip:hover i {
  color: #FFFFFF;
}

.vessels-secondary-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 900px;
  margin: 36px auto 0;
  padding: 0 20px;
}

.vessel-pill-sub {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  transition: all 0.25s ease;
}

.vessel-pill-sub:hover {
  color: var(--espresso-deep);
  border-color: var(--sand-primary);
  background: #FAF8F5;
}

/* ==========================================================================
   Section 6: Request a Quote CTA Banner (Rich Charcoal/Espresso with Warm Glow)
   ========================================================================== */
.cta-section {
  padding: clamp(60px, 8vw, 100px) clamp(20px, 4vw, 64px);
  background: var(--bg-page);
  position: relative;
}

.cta-banner {
  max-width: var(--container-max);
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 95% 10%, rgba(197, 160, 112, 0.22) 0%, transparent 60%),
              radial-gradient(circle at 5% 90%, rgba(212, 163, 115, 0.15) 0%, transparent 60%),
              var(--espresso-deep);
  border: 1.5px solid rgba(197, 160, 112, 0.35);
  padding: clamp(40px, 6vw, 70px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  box-shadow: 0 25px 65px rgba(20, 18, 16, 0.35);
  position: relative;
  overflow: hidden;
  color: var(--text-inverse);
}

.cta-copy .section-tag {
  color: var(--sand-light);
}

.cta-copy h2 {
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.cta-copy h2 em {
  font-style: normal;
  background: linear-gradient(135deg, #FFFFFF 40%, var(--sand-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-copy p {
  font-size: 16px;
  color: var(--text-inverse-muted);
  line-height: 1.65;
  max-width: 480px;
}

.cta-box {
  background: rgba(20, 18, 16, 0.7);
  border-radius: var(--radius-md);
  border: 1px solid rgba(197, 160, 112, 0.25);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  backdrop-filter: blur(12px);
}

.cta-email-link {
  font-size: 17px;
  font-weight: 700;
  color: var(--sand-light);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-email-link:hover {
  text-decoration: underline;
  color: #FFFFFF;
}

.cta-note {
  font-size: 13.5px;
  color: var(--text-inverse-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Section 7: Footer (Solid Charcoal Grounded Finish)
   ========================================================================== */
.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid rgba(197, 160, 112, 0.18);
  padding: 80px clamp(20px, 4vw, 64px) 30px;
  position: relative;
  color: var(--text-inverse);
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: clamp(30px, 4vw, 60px);
  margin-bottom: 60px;
}

.footer-logo-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-logo-link:hover {
  opacity: 0.92;
}

.footer-logo-link img {
  width: auto;
  max-width: 135px;
  height: auto;
  display: block;
}

.footer-brand-name {
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

.footer-brand-name span {
  font-size: 20px;
  font-weight: 800;
  color: var(--sand-primary);
}

.footer-brand p,
.footer-col-brand p {
  font-size: 14.5px;
  color: var(--text-inverse-muted);
  line-height: 1.65;
  margin-top: 16px;
  max-width: 320px;
}

.footer-heading {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-inverse-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
  color: var(--sand-primary);
  transform: translateX(3px);
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
  color: var(--text-inverse-muted);
}

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

.footer-contact-item small {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sand-primary);
  margin-bottom: 2px;
}

.footer-contact-item strong {
  color: #FFFFFF;
  font-weight: 600;
}

.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25D366;
  font-size: 13.5px;
  font-weight: 700;
  width: max-content;
  margin-top: 6px;
  transition: all 0.25s ease;
}

.footer-wa-btn:hover {
  background: rgba(37, 211, 102, 0.25);
  transform: translateY(-2px);
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-inverse-muted);
  flex-wrap: wrap;
  gap: 14px;
}

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

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
  animation: pulse-wa 3s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: #FFFFFF;
}

@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transition: opacity 0.75s var(--ease-spring), transform 0.75s var(--ease-spring), border-color 0.5s ease;
  will-change: opacity, transform;
}

.reveal.reveal-up {
  transform: translateY(35px);
}

.reveal.reveal-left {
  transform: translateX(-35px);
}

.reveal.reveal-right {
  transform: translateX(35px);
}

.reveal.reveal-scale {
  transform: scale(0.93);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger Group */
.stagger-group > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-spring), transform 0.6s var(--ease-spring), border-color 0.4s ease;
}

.stagger-group > *.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-copy {
    align-items: center;
  }
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-port-tags {
    justify-content: center;
  }
  .hero-card-3d {
    max-width: 480px;
    margin: 0 auto;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cta-copy p {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .about-highlights {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Reduced Motion Accessibility 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;
  }
  .reveal, .stagger-group > * {
    opacity: 1 !important;
    transform: none !important;
  }
  .marquee-track {
    animation: none !important;
  }
}

@keyframes button-ripple {
  to {
    transform: scale(3.5);
    opacity: 0;
  }
}


/* ==========================================================================
   Page Hero (Inner Pages: About, Services, Contact, etc.)
   ========================================================================== */
.page-hero {
  position: relative;
  min-height: 480px;
  padding: calc(var(--header-height) + 60px) clamp(20px, 4vw, 64px) 80px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--text-inverse);
  background: linear-gradient(135deg, rgba(20, 18, 16, 0.94) 15%, rgba(26, 24, 22, 0.78) 65%, rgba(20, 18, 16, 0.92) 100%),
              url('../images/riga-hero.webp') center/cover no-repeat;
  border-bottom: 1.5px solid rgba(197, 160, 112, 0.28);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 65%, rgba(20, 18, 16, 0.85));
  pointer-events: none;
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: 
    linear-gradient(rgba(197, 160, 112, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 160, 112, 0.3) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black, transparent 80%);
  pointer-events: none;
}

.page-hero-copy,
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
}

.page-hero-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero-copy h1,
.page-hero-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 14px 0 16px;
  color: #FFFFFF;
}

.page-hero-copy h1 em,
.page-hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, #FFFFFF 20%, var(--sand-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero-copy p,
.page-hero-sublead {
  font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.65;
  color: var(--text-inverse-muted);
  max-width: 680px;
}

.page-hero-mark {
  position: absolute;
  right: clamp(20px, 6vw, 80px);
  bottom: 20px;
  font-size: clamp(100px, 16vw, 220px);
  font-weight: 900;
  color: rgba(197, 160, 112, 0.08);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  font-family: var(--font-display);
}

/* ==========================================================================
   Process Section (How We Work - 4 Step Progression)
   ========================================================================== */
.process-section {
  background: var(--bg-dark-section);
  color: var(--text-inverse);
  padding: clamp(70px, 9vw, 120px) clamp(20px, 4vw, 64px);
  border-top: 1px solid rgba(197, 160, 112, 0.18);
  position: relative;
}

.process-section .section-heading {
  color: #FFFFFF;
}

.process-section .section-heading em {
  background: linear-gradient(90deg, #FFFFFF 20%, var(--sand-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.process-section .section-sublead {
  color: var(--text-inverse-muted);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
  margin-top: 50px;
}

.process-card {
  background: rgba(26, 24, 22, 0.85);
  border: 1px solid rgba(197, 160, 112, 0.2);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s var(--ease-spring), border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.process-card:hover {
  transform: translateY(-8px);
  border-color: var(--sand-primary);
  background: rgba(33, 30, 27, 0.95);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(197, 160, 112, 0.25);
}

.process-step-num {
  font-size: 15px;
  font-weight: 800;
  color: var(--sand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(197, 160, 112, 0.15);
  border: 1px solid rgba(197, 160, 112, 0.3);
  margin-bottom: 24px;
  transition: transform 0.3s var(--ease-spring), background 0.3s ease, color 0.3s ease;
}

.process-card:hover .process-step-num {
  transform: scale(1.1);
  background: var(--sand-primary);
  color: #FFFFFF;
}

.process-title {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.25;
}

.process-desc {
  font-size: 14.5px;
  color: var(--text-inverse-muted);
  line-height: 1.65;
}

/* Text Link */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--bronze-muted);
  position: relative;
  transition: gap 0.25s ease, color 0.25s ease;
}

.text-link:hover {
  gap: 12px;
  color: var(--sand-primary);
}

.text-link i {
  font-style: normal;
  font-size: 16px;
  transition: transform 0.25s ease;
}

.text-link:hover i {
  transform: translate(3px, -3px);
}

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

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


/* ==========================================================================
   Country Overview & 7 Port Coverage (Services Page)
   ========================================================================== */
.coverage-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: clamp(70px, 9vw, 120px) clamp(20px, 4vw, 64px);
  position: relative;
}

.country-overview {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(50px, 7vw, 80px);
  border-bottom: 1px solid rgba(197, 160, 112, 0.22);
}

.country-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(197, 160, 112, 0.14);
  border: 1px solid rgba(197, 160, 112, 0.35);
  color: var(--bronze-muted);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.country-copy h2 {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  color: var(--espresso-deep);
}

.country-copy h2 em {
  font-style: normal;
  background: linear-gradient(90deg, #1A1816 0%, #C5A070 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.country-copy p {
  max-width: 980px;
  margin: 0 auto;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--text-muted);
}

.coverage-intro {
  margin-bottom: 40px;
}

.coverage-grid-7 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(18px, 2.5vw, 26px);
  margin-top: 40px;
}

.port-card-item {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-warm-sm);
  transition: transform 0.35s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}

.port-card-item:hover {
  transform: translateY(-6px);
  border-color: var(--sand-primary);
  box-shadow: 0 16px 40px rgba(197, 160, 112, 0.22);
}

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

.port-badge-num {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--sand-primary);
  background: rgba(197, 160, 112, 0.14);
  border: 1px solid rgba(197, 160, 112, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.port-pin-icon {
  font-size: 18px;
  color: var(--bronze-muted);
}

.port-card-item h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--espresso-deep);
  margin-bottom: 10px;
  line-height: 1.25;
}

.port-card-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  flex-grow: 1;
}

.port-card-footer {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--bronze-muted);
}

.port-card-footer span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.port-card-footer span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sand-primary);
}

/* 7 Services Grid Layout */
.services-grid-7 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: clamp(24px, 3vw, 36px);
  margin-top: 50px;
}

@media (max-width: 768px) {
  .services-grid-7 {
    grid-template-columns: 1fr;
  }
}

/* 13 Services Grid Layout */
.services-grid-13 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: clamp(24px, 3vw, 36px);
  margin-top: 50px;
}

@media (max-width: 768px) {
  .services-grid-13 {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   Service Detail Page Styles - Warm Sand & Espresso Luxury Maritime Design
   ========================================================================== */

.service-detail {
  background: var(--bg-page);
  padding: clamp(50px, 6vw, 90px) clamp(20px, 4.5vw, 56px);
  position: relative;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
}

.detail-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.detail-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--sand-primary);
}

.detail-copy .eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sand-primary);
  box-shadow: 0 0 8px var(--sand-primary);
}

.detail-copy h2 {
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.2;
  color: var(--text-main);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}

.detail-copy h2 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--sand-primary), var(--bronze-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.detail-copy .lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--espresso-deep);
  font-weight: 500;
  border-left: 3px solid var(--sand-primary);
  padding-left: 18px;
}

.detail-copy p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
}

.detail-copy h3 {
  font-size: 19px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-main);
  margin-top: 14px;
  font-weight: 700;
}

.availability {
  margin: 12px 0 20px;
  padding: 18px 24px;
  background: var(--espresso-deep);
  color: #FFFFFF;
  border-left: 4px solid var(--sand-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-warm-md);
  position: relative;
  overflow: hidden;
}

.availability::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(197, 160, 112, 0.06));
  pointer-events: none;
}

.availability strong {
  color: var(--sand-primary);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
}

.availability span {
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(250, 248, 245, 0.88);
}

.detail-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.detail-aside {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.detail-image {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-warm-lg);
  background: var(--charcoal-card);
}

.detail-image picture,
.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-spring);
}

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

.detail-image-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 16px;
  background: rgba(26, 24, 22, 0.85);
  backdrop-filter: blur(10px);
  color: var(--sand-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-glass);
}

.checklist {
  padding: 32px;
  background: var(--espresso-deep);
  border-radius: var(--radius-lg);
  color: #FFFFFF;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-warm-lg);
  position: relative;
  overflow: hidden;
}

.checklist::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sand-primary), var(--sand-light), var(--bronze-muted));
}

.checklist .eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--sand-primary);
  display: block;
  margin-bottom: 18px;
}

.checklist ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(250, 248, 245, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 11px;
}

.checklist li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.checklist li::before {
  content: "↗";
  position: absolute;
  left: 0;
  color: var(--sand-primary);
  font-weight: 700;
}

.checklist .whatsapp-pill,
.checklist-whatsapp-pill {
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 22px;
  box-sizing: border-box;
}

.detail-wa {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 56px minmax(0,1fr) 28px;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 82px;
  padding: 11px 22px 11px 12px;
  border: 1px solid var(--sand-primary);
  border-radius: 999px;
  background: #11182a;
  color: #fff;
  box-shadow: 0 16px 36px rgba(12,10,9,.2);
  text-decoration: none;
  transition: transform .3s var(--ease-spring), border-color .3s ease, box-shadow .3s ease;
  box-sizing: border-box;
}

.detail-wa:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: #f0c66f;
  box-shadow: 0 18px 38px rgba(197,160,112,.28);
  color: #fff;
}

.related-services {
  padding: clamp(70px, 9vw, 120px) 0;
  background: var(--bg-dark-section);
  position: relative;
}

.related-services .section-tag {
  color: var(--sand-primary);
}

.related-services .section-heading {
  color: #FFFFFF;
}

.related-services .service-card {
  background: #211E1B;
  border-color: rgba(197, 160, 112, 0.18);
}

.related-services .service-card-title {
  color: #FFFFFF;
}

.related-services .service-card-desc {
  color: rgba(250, 248, 245, 0.72);
}

.related-services .service-card:hover {
  border-color: var(--sand-primary);
  background: #282420;
}

@media (max-width: 991px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .detail-aside {
    position: static;
  }
}

/* ========================================================================== 
   Shared site completion: global navigation, WhatsApp UI and new pages
   ========================================================================== */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown > .nav-link { gap: 7px; }
.nav-dropdown > .nav-link span { color: var(--sand-primary); font-size: 14px; transition: transform .25s ease; }
.dropdown-toggle { display: none; border: 0; background: transparent; color: var(--sand-primary); font: inherit; cursor: pointer; }
.dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; z-index: 120;
  width: min(330px, 84vw); max-height: 430px; overflow-y: auto;
  padding: 12px; border: 1px solid rgba(197,160,112,.25); border-radius: 18px;
  background: rgba(24,21,19,.98); box-shadow: 0 24px 55px rgba(15,12,10,.25);
  transform: translate(-50%, 12px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.nav-dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu, .nav-dropdown.open .dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.dropdown-menu a { display: block; padding: 10px 12px; border-radius: 10px; color: rgba(255,255,255,.8); font-size: 13px; line-height: 1.35; transition: color .2s ease, background .2s ease, transform .2s ease; }
.dropdown-menu a:hover, .dropdown-menu a:focus { color: #fff; background: rgba(197,160,112,.16); transform: translateX(4px); }
.ports-dropdown { width: min(620px, 92vw); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2px 8px; }
.nav-dropdown.active > .nav-link { color: var(--sand-primary); }

.whatsapp-pill, .hero-whatsapp-pill, .footer-wa-btn {
  display: grid; grid-template-columns: 56px minmax(0,1fr) 28px; align-items: center; gap: 14px;
  width: min(100%, 500px); min-height: 82px; padding: 11px 22px 11px 12px;
  border: 1px solid var(--sand-primary); border-radius: 999px; background: #11182a; color: #fff;
  box-shadow: 0 16px 36px rgba(12,10,9,.2); text-decoration: none;
  transition: transform .3s var(--ease-spring), border-color .3s ease, box-shadow .3s ease;
}
.whatsapp-pill:hover, .hero-whatsapp-pill:hover, .footer-wa-btn:hover { transform: translateY(-4px) scale(1.015); border-color: #f0c66f; box-shadow: 0 18px 38px rgba(197,160,112,.28); color: #fff; }
.whatsapp-pill__icon, .hero-whatsapp-icon, .footer-wa-icon { width: 56px; height: 56px; display: flex !important; align-items: center !important; justify-content: center !important; border-radius: 50%; background: #16d875; color: #fff; box-shadow: 0 0 0 8px rgba(22,216,117,.08); flex-shrink: 0; box-sizing: border-box; }
.whatsapp-pill__icon svg, .hero-whatsapp-icon svg, .footer-wa-icon svg { width: 32px; height: 32px; display: block; margin: auto; }
.whatsapp-pill__copy { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; min-width: 0; }
.whatsapp-pill__copy small { color: #20df82; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.whatsapp-pill__copy strong { color: #f3c84b; font-size: clamp(15px,1.25vw,19px); white-space: nowrap; }
.whatsapp-pill__arrow { justify-self: end; color: #f3c84b; font-size: 24px; transition: transform .25s ease; }
.whatsapp-pill:hover .whatsapp-pill__arrow { transform: translateX(5px); }
.footer-whatsapp-pill { margin-top: 22px; grid-template-columns: 48px minmax(0,1fr); min-height: 72px; padding: 11px 20px 11px 12px; }
.footer-whatsapp-pill .whatsapp-pill__icon { width: 48px; height: 48px; }
.footer-whatsapp-pill .whatsapp-pill__icon svg { width: 27px; height: 27px; }
.footer-whatsapp-pill .whatsapp-pill__arrow { display: none !important; }
.footer-contact { min-width: 0; }
.footer-contact address { color: rgba(255,255,255,.66); font-style: normal; line-height: 1.7; margin-bottom: 13px; }
.footer-contact > a:not(.whatsapp-pill) { color: var(--sand-primary); overflow-wrap: anywhere; }
.contact-person-label { display:block; margin-top:18px; color:var(--sand-primary); text-transform:uppercase; letter-spacing:.14em; font-size:11px; font-weight:800; }
.footer-contact > strong { display:block; color:#fff; margin-top:6px; }
.floating-whatsapp { position: fixed; right: 25px; bottom: 24px; z-index: 110; width: 66px; height: 66px; display:grid; place-items:center; border:2px solid #16d875; border-radius:50%; background:#11182a; color:#fff; box-shadow:0 15px 34px rgba(0,0,0,.24); transition:transform .3s var(--ease-spring), box-shadow .3s ease; }
.floating-whatsapp::before { content:""; position:absolute; inset:8px; border-radius:50%; background:#16d875; }
.floating-whatsapp svg { position:relative; z-index:1; width:30px; height:30px; }
.floating-whatsapp:hover { color:#fff; transform:translateY(-5px) scale(1.06); box-shadow:0 19px 42px rgba(22,216,117,.25); }

.inner-hero { min-height: 440px; padding: 140px max(5vw,24px) 70px; display:grid; align-items:end; color:#fff; background: radial-gradient(circle at 78% 20%,rgba(197,160,112,.22),transparent 30%), linear-gradient(135deg,#191613,#29211b); overflow:hidden; }
.inner-hero.compact { min-height: 380px; }
.inner-hero > div { max-width: 860px; }
.inner-hero h1 { margin:16px 0; color:#fff; font-size:clamp(36px,4.5vw,62px); line-height:1.1; letter-spacing:-.03em; }
.inner-hero h1 em { color:var(--sand-primary); font-family:Georgia,serif; font-weight:400; }
.inner-hero p { max-width:680px; color:rgba(255,255,255,.7); font-size:clamp(15.5px,1.2vw,18px); line-height:1.7; }
.directory-section, .contact-page-section, .quote-page-section { padding:clamp(60px,7vw,100px) max(5vw,28px); background:var(--bg-page); }
.directory-heading { max-width:820px; margin-bottom:40px; }
.directory-heading > span { color:var(--sand-primary); font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.18em; }
.directory-heading h2 { margin:10px 0 14px; font-size:clamp(32px,3.8vw,52px); color:var(--espresso-deep); }
.directory-heading p { max-width:690px; color:var(--text-muted); line-height:1.75; }
.port-directory-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.port-directory-card { min-height:270px; padding:30px; display:flex; flex-direction:column; border:1px solid var(--border-card); border-radius:24px; background:#fff; box-shadow:var(--shadow-card); color:var(--espresso-deep); transition:transform .35s var(--ease-spring), background .35s ease, color .35s ease, border-color .35s ease; }
.port-directory-card > span { color:var(--sand-primary); font-size:12px; font-weight:800; letter-spacing:.14em; }
.port-directory-card h2 { margin:35px 0 12px; font-size:clamp(22px,1.8vw,28px); line-height:1.15; }
.port-directory-card p { color:var(--text-muted); line-height:1.65; }
.port-directory-card i { margin-top:auto; color:var(--sand-primary); font-style:normal; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.12em; }
.port-directory-card:hover { transform:translateY(-10px); background:var(--espresso-deep); color:#fff; border-color:var(--sand-primary); }
.port-directory-card:hover p { color:rgba(255,255,255,.68); }

.seo-port-hero { min-height:calc(100vh - 100px); padding:clamp(130px,10vw,170px) max(5vw,26px) 80px; display:grid; grid-template-columns:minmax(0,1.55fr) minmax(320px,.75fr); gap:clamp(36px,5vw,70px); align-items:start; background:var(--bg-page); }
.seo-port-content { max-width:900px; }
.seo-port-content.reveal { opacity:1; transform:none; }
.seo-port-content > h1 { margin:18px 0 24px; color:var(--espresso-deep); font-size:clamp(34px,4.2vw,56px); line-height:1.08; letter-spacing:-.03em; overflow-wrap:anywhere; }
.seo-port-copy { color:#3d3934; font-size:15.5px; line-height:1.78; }
.seo-port-copy h2 { margin:34px 0 12px; color:var(--espresso-deep); font-size:clamp(24px,2.4vw,34px); line-height:1.2; }
.seo-port-copy h3 { margin:24px 0 10px; color:var(--espresso-deep); font-size:clamp(19px,1.8vw,24px); }
.seo-port-copy p { margin:0 0 20px; }
.seo-port-copy ul { margin:0 0 24px; padding-left:1.25em; }
.seo-port-copy li { margin-bottom:9px; }
.port-enquiry-card { position:sticky; top:120px; padding:clamp(28px,3.5vw,46px); border-top:5px solid var(--sand-primary); border-radius:0 0 28px 28px; background:var(--espresso-deep); color:#fff; box-shadow:var(--shadow-warm-lg); }
.port-enquiry-card > span { color:var(--sand-primary); font-size:12px; font-weight:800; letter-spacing:.18em; text-transform:uppercase; }
.port-enquiry-card h2 { margin:20px 0 14px; color:#fff; font-size:clamp(28px,3vw,42px); line-height:1.08; }
.port-enquiry-card p { color:rgba(255,255,255,.7); line-height:1.75; }
.port-enquiry-card .btn-primary { margin-top:25px; width:100%; justify-content:space-between; }
.browse-ports-link { display:flex; justify-content:space-between; padding:22px 0 10px; color:#fff; border-bottom:1px solid var(--sand-primary); font-weight:800; text-transform:uppercase; letter-spacing:.1em; font-size:12px; }
.browse-ports-link:hover { color:var(--sand-primary); }

.contact-layout, .quote-layout { max-width:1460px; margin:0 auto; display:grid; grid-template-columns:minmax(330px,.72fr) minmax(0,1.28fr); gap:28px; align-items:start; }
.operations-card, .quote-guide { padding:clamp(35px,4vw,58px); border-radius:28px; background:var(--espresso-deep); color:#fff; box-shadow:var(--shadow-warm-lg); }
.operations-card h2, .quote-guide h2 { margin:18px 0 28px; color:#fff; font-size:clamp(31px,3.3vw,52px); line-height:1.08; }
.operations-card dl { margin:0; }
.operations-card dl div { padding:18px 0; border-bottom:1px solid rgba(255,255,255,.1); }
.operations-card dt { margin-bottom:7px; color:var(--sand-primary); font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.15em; }
.operations-card dd { margin:0; color:rgba(255,255,255,.78); line-height:1.65; }
.operations-card dd a { color:#fff; overflow-wrap:anywhere; }
.operations-card .whatsapp-pill, .quote-guide .whatsapp-pill { margin-top:30px; }
.quote-guide ul { list-style:none; padding:0; margin:25px 0 0; }
.quote-guide li { padding:14px 0 14px 26px; border-bottom:1px solid rgba(255,255,255,.1); color:rgba(255,255,255,.75); position:relative; }
.quote-guide li::before { content:"↗"; position:absolute; left:0; color:var(--sand-primary); }
.site-form { padding:clamp(28px,4vw,55px); border:1px solid var(--border-card); border-radius:28px; background:#fff; box-shadow:var(--shadow-card); }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:21px; }
.form-grid label { color:var(--espresso-deep); font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.11em; }
.form-grid label.full { grid-column:1/-1; }
.form-grid input, .form-grid textarea { width:100%; margin-top:9px; padding:15px 16px; border:1px solid #d8d1c7; border-radius:11px; background:#fff; color:var(--espresso-deep); font:500 14px/1.5 inherit; text-transform:none; letter-spacing:0; transition:border-color .2s ease, box-shadow .2s ease; }
.form-grid textarea { min-height:135px; resize:vertical; }
.form-grid input:focus, .form-grid textarea:focus { outline:0; border-color:var(--sand-primary); box-shadow:0 0 0 4px rgba(197,160,112,.14); }
.form-submit { margin-top:25px; min-height:58px; padding:0 27px; display:inline-flex; align-items:center; gap:28px; border:1px solid var(--espresso-deep); border-radius:999px; background:var(--espresso-deep); color:#fff; font:800 12px/1 inherit; text-transform:uppercase; letter-spacing:.12em; cursor:pointer; transition:background .25s ease, color .25s ease, transform .25s ease; }
.form-submit:hover { background:var(--sand-primary); color:var(--espresso-deep); transform:translateY(-3px); }
.contact-map { position: relative; max-width: 1460px; height: 500px; margin: 36px auto 0; overflow: hidden; border: 1px solid var(--border-card); border-radius: 28px; background: #ded8cf; box-shadow: var(--shadow-card); }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-overlay-card { position: absolute; top: 18px; left: 18px; right: 18px; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; border-radius: 16px; background: rgba(22, 19, 17, 0.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(197, 160, 112, 0.3); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); pointer-events: auto; }
.map-overlay-info { display: flex; align-items: center; gap: 14px; min-width: 0; }
.map-pin-badge { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 11px; background: rgba(197, 160, 112, 0.18); border: 1px solid rgba(197, 160, 112, 0.35); font-size: 18px; flex-shrink: 0; }
.map-overlay-info strong { display: block; color: #FAF8F5; font-size: 15px; font-weight: 700; line-height: 1.25; }
.map-overlay-info p { margin: 2px 0 0; color: var(--sand-primary); font-size: 12.5px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn-map-redirect { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 999px; background: var(--sand-primary); color: var(--espresso-deep); font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; box-shadow: 0 4px 14px rgba(197, 160, 112, 0.3); transition: background .2s ease, transform .2s ease, box-shadow .2s ease; flex-shrink: 0; }
.btn-map-redirect:hover { background: #f0c66f; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(197, 160, 112, 0.45); color: var(--espresso-deep); }
.btn-map-redirect i { font-style: normal; font-size: 14px; transition: transform .2s ease; }
.btn-map-redirect:hover i { transform: translate(2px, -2px); }
.address-map-link { color: inherit; text-decoration: none; transition: color .2s ease; }
.address-map-link:hover { color: var(--sand-primary) !important; text-decoration: underline; }
.address-map-link .ext-arrow { font-size: 11px; margin-left: 3px; color: var(--sand-primary); }

@media (max-width: 1180px) {
  .site-header { padding-left: 24px; padding-right: 24px; }
  .header-actions { display: none; }
  .port-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  /* Header & Mobile Toggle */
  .site-header { align-items: center; padding-left: clamp(16px, 4vw, 24px); padding-right: clamp(16px, 4vw, 24px); }
  .header-actions, .btn-header-quote { display: none !important; }
  .menu-toggle { display: flex !important; }

  /* Mobile Navigation Drawer */
  .site-nav {
    position: fixed !important;
    top: calc(var(--header-height, 80px) + 8px) !important;
    left: 14px !important;
    right: 14px !important;
    max-height: calc(100dvh - var(--header-height, 80px) - 20px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 1000 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    padding: 16px 14px 22px !important;
    border: 1px solid rgba(197, 160, 112, 0.3) !important;
    border-radius: 20px !important;
    background: rgba(22, 19, 17, 0.98) !important;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-12px) !important;
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease !important;
  }
  .site-nav.open,
  .site-nav.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  /* Nav Links in Drawer */
  .site-nav > .nav-link,
  .nav-dropdown > .nav-link {
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
    color: #FAF8F5 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    transition: background 0.2s ease, color 0.2s ease !important;
  }
  .site-nav > .nav-link:hover,
  .site-nav > .nav-link.active,
  .nav-dropdown.active > .nav-link {
    background: rgba(197, 160, 112, 0.12) !important;
    color: var(--sand-primary) !important;
  }
  /* Remove duplicate inline arrow on mobile */
  .nav-dropdown > .nav-link span {
    display: none !important;
  }

  /* Nav Dropdown Accordion */
  .nav-dropdown {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    position: relative !important;
    border-radius: 12px !important;
  }
  .dropdown-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(197, 160, 112, 0.25) !important;
    background: rgba(197, 160, 112, 0.08) !important;
    color: var(--sand-primary) !important;
    font-size: 16px !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin-right: 2px !important;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease !important;
  }
  .nav-dropdown.open .dropdown-toggle {
    transform: rotate(180deg) !important;
    background: rgba(197, 160, 112, 0.24) !important;
    color: #FFFFFF !important;
    border-color: var(--sand-primary) !important;
  }

  /* Dropdown Menus on Mobile (Fixing the -50% translate bug & overflow) */
  .nav-dropdown .dropdown-menu,
  .nav-dropdown .ports-dropdown,
  .ports-dropdown {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    grid-column: 1 / -1 !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    max-height: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    background: rgba(16, 14, 12, 0.85) !important;
    border-radius: 12px !important;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.25s ease !important;
  }
  .nav-dropdown.open .dropdown-menu,
  .nav-dropdown.open .ports-dropdown {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important; /* CRITICAL: cancels desktop transform */
    max-height: 380px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 10px !important;
    margin: 6px 0 10px !important;
    border: 1px solid rgba(197, 160, 112, 0.22) !important;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.35) !important;
  }
  /* Ports grid layout inside mobile dropdown */
  .nav-dropdown.open .ports-dropdown {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 4px 6px !important;
  }
  @media (max-width: 520px) {
    .nav-dropdown.open .ports-dropdown {
      grid-template-columns: 1fr !important;
      gap: 3px !important;
    }
  }

  /* Dropdown links in mobile menu */
  .dropdown-menu a {
    display: block !important;
    padding: 9px 12px !important;
    border-radius: 8px !important;
    color: rgba(250, 248, 245, 0.85) !important;
    font-size: 13.5px !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    transform: none !important;
    transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease !important;
  }
  .dropdown-menu a:hover,
  .dropdown-menu a:active,
  .dropdown-menu a:focus {
    color: #FFFFFF !important;
    background: rgba(197, 160, 112, 0.18) !important;
    border-color: rgba(197, 160, 112, 0.3) !important;
    padding-left: 16px !important;
    transform: none !important;
  }

  /* Custom Slim Scrollbars */
  .site-nav::-webkit-scrollbar,
  .dropdown-menu::-webkit-scrollbar {
    width: 5px;
  }
  .site-nav::-webkit-scrollbar-track,
  .dropdown-menu::-webkit-scrollbar-track {
    background: transparent;
  }
  .site-nav::-webkit-scrollbar-thumb,
  .dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(197, 160, 112, 0.3);
    border-radius: 999px;
  }
  .site-nav::-webkit-scrollbar-thumb:hover,
  .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: var(--sand-primary);
  }

  /* Responsive Page Layouts for <= 991px */
  .seo-port-hero, .contact-layout, .quote-layout { grid-template-columns: 1fr !important; }
  .port-enquiry-card { position: static !important; }
  .seo-port-hero { padding-top: 130px !important; }
}

@media (max-width: 650px) {
  html, body { overflow-x: hidden; }
  .hero-container, .hero-copy, .hero-actions { min-width: 0; width: 100%; max-width: 100%; }
  .hero-title { font-size: clamp(30px, 8.5vw, 42px); }
  .port-directory-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid label.full { grid-column: auto; }
  .hero-actions { width: 100%; }
  .whatsapp-pill, .hero-whatsapp-pill, .footer-wa-btn {
    width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box;
    grid-template-columns: 48px minmax(0, 1fr) 22px; min-height: 72px; padding-right: 16px; gap: 11px;
  }
  .footer-whatsapp-pill {
    grid-template-columns: 48px minmax(0, 1fr) !important; padding-right: 18px;
  }
  .whatsapp-pill__icon, .hero-whatsapp-icon, .footer-wa-icon { width: 48px; height: 48px; }
  .whatsapp-pill__copy { display: block; }
  .whatsapp-pill__copy small, .whatsapp-pill__copy strong { display: block; }
  .whatsapp-pill__copy strong { margin-top: 3px; font-size: 14px; }
  .inner-hero { padding-left: 20px; padding-right: 20px; }
  .service-detail, .directory-section, .contact-page-section, .quote-page-section, .seo-port-hero { padding-left: 18px; padding-right: 18px; }
  .floating-whatsapp { right: 15px; bottom: 15px; width: 59px; height: 59px; }
  .contact-map { height: 440px; }
  .map-overlay-card {
    flex-direction: column;
    align-items: stretch;
    top: 12px;
    left: 12px;
    right: 12px;
    padding: 12px 14px;
    gap: 10px;
  }
  .map-overlay-info p { white-space: normal; }
  .btn-map-redirect { justify-content: center; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .dropdown-menu, .whatsapp-pill, .floating-whatsapp, .port-directory-card { transition:none !important; }
}
