/* ==========================================================================
   SEF Servizi e Forwarding SRL — Modern B2B Redesign Stylesheet
   ========================================================================== */

:root {
  /* Brand Palette */
  --navy-950: #061326;
  --navy-900: #0b1f3a;
  --navy-800: #112d52;
  --navy-700: #1a4073;
  --blue-accent: #0ea5e9;

  --sef-orange: #f04e23;
  --sef-orange-hover: #d93f16;
  --sef-orange-soft: rgba(240, 78, 35, 0.1);

  /* Neutrals */
  --white: #ffffff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Status */
  --success: #10b981;
  --success-bg: #ecfdf5;
  --error: #ef4444;

  /* Layout & Elevation */
  --container-max: 1200px;
  --header-height: 78px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(11, 31, 58, 0.06), 0 1px 2px rgba(11, 31, 58, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(11, 31, 58, 0.08), 0 8px 10px -6px rgba(11, 31, 58, 0.04);
  --shadow-lg: 0 20px 40px -12px rgba(11, 31, 58, 0.16);
  --shadow-orange: 0 10px 24px -6px rgba(240, 78, 35, 0.4);

  --transition: 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--slate-700);
  background-color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--navy-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--alt {
  background-color: var(--slate-50);
}

.section--dark {
  background-color: var(--navy-900);
  color: var(--slate-200);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

/* Section Headers */
.section-header {
  max-width: 720px;
  margin-bottom: 52px;
}

.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sef-orange);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--sef-orange);
  border-radius: 2px;
}

.section-header--center .eyebrow::before {
  display: none;
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.65rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate-500);
  line-height: 1.7;
}

.section--dark .section-subtitle {
  color: var(--slate-300);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--sef-orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}

.btn--primary:hover {
  background: var(--sef-orange-hover);
  transform: translateY(-2px);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--slate-300);
}

.btn--outline:hover {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: var(--white);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 0.875rem;
}

.btn--portal {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(8px);
}

.btn--portal:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: var(--white);
  transform: translateY(-2px);
}

.header.is-scrolled .btn--portal {
  background: var(--slate-100);
  color: var(--navy-900);
  border-color: var(--slate-300);
}

.header.is-scrolled .btn--portal:hover {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(6, 19, 38, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color var(--transition), box-shadow var(--transition);
}

.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #ff7a45 0%, var(--sef-orange) 60%, #ff4500 100%);
  z-index: 1002;
  transition: width 0.08s linear;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Brand Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: 9px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28));
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
}

.brand:hover .brand__logo-img {
  transform: scale(1.06) rotate(-1.5deg);
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.15;
  transition: color var(--transition);
}

.brand__sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--slate-300);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.header.is-scrolled .brand__name {
  color: var(--navy-900);
}

.header.is-scrolled .brand__sub {
  color: var(--slate-500);
}

/* Desktop Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__link {
  font-size: 0.87rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--sef-orange);
  transition: width var(--transition);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  width: 100%;
}

.nav__link:hover {
  color: var(--white);
}

.header.is-scrolled .nav__link {
  color: var(--slate-700);
}

.header.is-scrolled .nav__link:hover {
  color: var(--navy-900);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Language Switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  padding: 3px;
}

.header.is-scrolled .lang-switch {
  background: var(--slate-100);
  border-color: var(--slate-200);
}

.lang-switch__btn {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  transition: all var(--transition);
}

.header.is-scrolled .lang-switch__btn {
  color: var(--slate-600);
}

.lang-switch__btn.is-active {
  background: var(--sef-orange);
  color: var(--white);
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.header.is-scrolled .menu-toggle {
  color: var(--navy-900);
  border-color: var(--slate-200);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px 28px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.mobile-drawer.is-open {
  display: flex;
}

.mobile-drawer__link {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--navy-900);
  font-size: 1rem;
}

.mobile-drawer__link:hover {
  background: var(--slate-100);
  color: var(--sef-orange);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  padding: calc(var(--header-height) + 64px) 0 88px;
  display: flex;
  align-items: center;
  background-color: var(--navy-950);
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/hero-port.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(1.16) contrast(1.04) saturate(1.14);
  transform: scale(1.02);
  animation: heroKenBurns 24s ease-in-out infinite alternate;
  z-index: 0;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    102deg,
    rgba(6, 19, 38, 0.72) 0%,
    rgba(11, 31, 58, 0.46) 48%,
    rgba(11, 31, 58, 0.14) 100%
  );
  z-index: 1;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}

.aeo-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(6, 19, 38, 0.48);
  border: 1px solid rgba(56, 189, 248, 0.55);
  color: #e0f2fe;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.aeo-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.28);
  animation: aeoPulse 2.4s ease-in-out infinite;
}

.hero__title {
  color: var(--white);
  font-size: clamp(2.35rem, 4.6vw, 3.65rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 22px;
  text-shadow: 0 4px 24px rgba(6, 19, 38, 0.55);
}

.hero__title span {
  color: #ff6a3d;
}

.hero__desc {
  font-size: 1.12rem;
  color: #f1f5f9;
  max-width: 610px;
  margin-bottom: 34px;
  line-height: 1.72;
  text-shadow: 0 2px 14px rgba(6, 19, 38, 0.65);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.hero-csr-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  margin-bottom: 32px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-full);
  color: #fff7ed;
  font-size: 0.86rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.hero-csr-link:hover {
  background: rgba(240, 78, 35, 0.28);
  border-color: rgba(255, 138, 101, 0.75);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-csr-link__icon {
  color: #ff7a52;
  font-size: 0.95rem;
  line-height: 1;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  max-width: 600px;
}

.stat__value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(6, 19, 38, 0.55);
}

.stat__label {
  font-size: 0.82rem;
  color: #e2e8f0;
  margin-top: 4px;
  text-shadow: 0 1px 8px rgba(6, 19, 38, 0.6);
}

/* Hero Right Glass Card */
.hero-card {
  background: rgba(11, 31, 58, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease;
}

.hero-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.36);
}

.hero-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card__title {
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 700;
}

.hero-card__badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--sef-orange);
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.hero-card__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-card__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--slate-200);
}

.hero-card__icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(240, 78, 35, 0.18);
  color: #ff784f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-card__footer {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--slate-300);
}

.hero-card__footer a {
  color: #7dd3fc;
  font-weight: 600;
}

.hero-card__footer a:hover {
  color: var(--white);
}

/* ==========================================================================
   Trust Strip (Ports Quick Bar)
   ========================================================================== */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 22px 0;
}

.trust-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.trust-strip__label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-500);
}

.trust-strip__ports {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.port-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-900);
}

.port-chip svg {
  color: var(--sef-orange);
}

/* ==========================================================================
   Services Section (Interactive Tabs)
   ========================================================================== */
.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.service-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  color: var(--slate-600);
  font-size: 0.94rem;
  font-weight: 600;
  transition: all var(--transition);
}

.service-tab:hover {
  border-color: var(--navy-700);
  color: var(--navy-900);
}

.service-tab.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.service-panel {
  display: none;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  animation: fadeIn 0.3s ease;
}

.service-panel.is-active {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: start;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-panel__tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sef-orange);
  background: var(--sef-orange-soft);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.service-panel__title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.service-panel__desc {
  color: var(--slate-600);
  margin-bottom: 26px;
  font-size: 1rem;
}

.service-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.service-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), transform var(--transition);
}

.service-check:hover {
  border-color: var(--sef-orange);
  transform: translateY(-2px);
}

.service-check__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--sef-orange-soft);
  color: var(--sef-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-check__text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.45;
}

/* ==========================================================================
   Port Network Section
   ========================================================================== */
.ports-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.ports-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.port-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition);
}

.port-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(240, 78, 35, 0.65);
  transform: translateY(-3px);
}

.port-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.port-card__name {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--white);
}

.port-card__code {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.15);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.port-card__desc {
  font-size: 0.88rem;
  color: var(--slate-300);
  line-height: 1.55;
}

.ports-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
}

.ports-media img {
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.ports-media__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 24px;
  background: linear-gradient(to top, rgba(6, 19, 38, 0.94), transparent);
  color: var(--white);
}

.ports-media__caption strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.ports-media__caption span {
  font-size: 0.86rem;
  color: var(--slate-300);
}

/* ==========================================================================
   About & Team Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.highlight-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 22px;
}

.highlight-box__num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--sef-orange);
  margin-bottom: 6px;
}

.highlight-box__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.highlight-box__desc {
  font-size: 0.85rem;
  color: var(--slate-500);
}

/* Team Directory */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: all var(--transition);
}

.team-card:hover {
  border-color: var(--navy-700);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.team-card__role {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sef-orange);
  margin-bottom: 6px;
}

.team-card__name {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.35;
}

.team-card__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--slate-100);
}

.contact-link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--slate-600);
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}

.contact-link:hover {
  color: var(--sef-orange);
}

/* ==========================================================================
   Social Responsibility (CSR) Banner
   ========================================================================== */
.csr-card {
  margin-top: 64px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 55%, #f0f9ff 100%);
  border: 1px solid #fed7aa;
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.csr-card__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-lg);
  background: var(--navy-900);
}

.csr-card__media img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.csr-card:hover .csr-card__media img {
  transform: scale(1.03);
}

.csr-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.csr-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.csr-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--sef-orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-orange);
  flex-shrink: 0;
}

.csr-card__title {
  font-size: 1.5rem;
  font-weight: 800;
}

.csr-card__quote {
  font-size: 1.04rem;
  color: var(--slate-600);
  font-style: italic;
  line-height: 1.7;
}

.csr-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.csr-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-800);
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 7px 14px;
  border-radius: var(--radius-full);
}

.csr-card--secondary {
  margin-top: 24px;
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 55%, #fff7ed 100%);
  border-color: #bae6fd;
}

.csr-card__icon--blue {
  background: #1d4ed8;
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.25);
}

.csr-fb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  background: #1877f2;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background 0.18s ease, transform 0.15s ease;
}

.csr-fb-link:hover {
  background: #145dbf;
  transform: translateY(-1px);
}

/* ==========================================================================
   Utility & Compliance Section
   ========================================================================== */
.utility-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: stretch;
}

.utility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.utility-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: all var(--transition);
}

.utility-card:hover {
  border-color: var(--sef-orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.utility-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.utility-card__badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy-700);
  background: var(--slate-100);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.utility-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.utility-card__desc {
  font-size: 0.84rem;
  color: var(--slate-500);
}

/* Compliance 231 Box */
.compliance-box {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.compliance-box h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.compliance-box p {
  font-size: 0.9rem;
  color: var(--slate-300);
}

.compliance-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.doc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
}

.doc-link:hover {
  background: rgba(240, 78, 35, 0.2);
  border-color: var(--sef-orange);
}

.law-note {
  font-size: 0.8rem;
  color: var(--slate-400);
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   Quote / Contact Section
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: start;
}

.contact-info-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 34px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--sef-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
}

.contact-info-item__val {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--navy-900);
}

/* Form */
.quote-form {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--slate-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 4px rgba(26, 64, 115, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--slate-600);
}

.form-check input {
  margin-top: 3px;
  accent-color: var(--sef-orange);
}

.form-feedback {
  display: none;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--success-bg);
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.92rem;
  font-weight: 500;
}

.form-feedback.is-visible {
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--navy-950);
  color: var(--slate-300);
  padding: 64px 0 32px;
  border-top: 3px solid var(--sef-orange);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__title {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.footer__links a:hover {
  color: var(--sef-orange);
}

.footer__bottom {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--slate-400);
}

/* ==========================================================================
   Modal (Privacy / Cookie Policy)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 19, 38, 0.65);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--slate-100);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.modal__close:hover {
  background: var(--slate-200);
}

.modal h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.modal p {
  font-size: 0.92rem;
  color: var(--slate-600);
  margin-bottom: 12px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__grid,
  .ports-layout,
  .about-grid,
  .utility-layout,
  .contact-layout,
  .service-panel.is-active {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .csr-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .csr-card__tags {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 1120px) {
  .nav,
  .header__cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .header__inner {
    gap: 10px;
  }

  .brand {
    gap: 9px;
    min-width: 0;
    flex-shrink: 1;
  }

  .brand__logo-img {
    height: 36px;
  }

  .brand__text {
    min-width: 0;
  }

  .brand__name {
    font-size: 0.84rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand__sub {
    display: none;
  }

  .header__actions {
    gap: 8px;
    flex-shrink: 0;
  }

  .lang-switch__btn {
    padding: 4px 8px;
    font-size: 0.74rem;
  }

  .btn {
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    padding: calc(var(--header-height) + 42px) 0 60px;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ports-grid,
  .utility-grid,
  .about-highlights,
  .form-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .service-panel,
  .quote-form,
  .contact-info-card,
  .csr-card {
    padding: 24px;
  }

  .team-card {
    min-width: 0;
  }
}

/* ==========================================================================
   Motion, Keyframes & Scroll-Reveal Animations
   ========================================================================== */
@keyframes heroKenBurns {
  0% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.1) translate3d(-1.2%, -0.8%, 0);
  }
}

@keyframes aeoPulse {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.28);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(56, 189, 248, 0.08);
    transform: scale(1.15);
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroCardSlide {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-anim {
  opacity: 0;
  animation: heroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-anim--1 { animation-delay: 0.08s; }
.hero-anim--2 { animation-delay: 0.18s; }
.hero-anim--3 { animation-delay: 0.3s; }
.hero-anim--4 { animation-delay: 0.42s; }
.hero-anim--5 { animation-delay: 0.54s; }

.hero-anim--card {
  animation-name: heroCardSlide;
  animation-duration: 0.85s;
  animation-delay: 0.34s;
}

/* Primary button subtle sheen */
.btn--primary {
  position: relative;
  overflow: hidden;
}

.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.btn--primary:hover::after {
  left: 160%;
}

/* Hover micro-interactions */
.port-chip {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.port-chip:hover {
  transform: translateY(-2px);
  border-color: var(--sef-orange);
  box-shadow: var(--shadow-sm);
}

.ports-media img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.ports-media:hover img {
  transform: scale(1.05);
}

.utility-card__top span:last-child,
.doc-link span:last-child {
  transition: transform 0.25s ease;
}

.utility-card:hover .utility-card__top span:last-child,
.doc-link:hover span:last-child {
  transform: translate(3px, -2px);
}

/* Scroll Reveal System */
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg,
  .aeo-pill__dot,
  .hero-anim {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
