/* ==========================================================================
   DINSEP CONSULTORIA SAS — Official Stylesheet
   Architecture: Clean, Modular, Accessible & Production-Ready
   Colors, typography, brand lockup and aesthetic layout preserved 100%
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. DESIGN TOKENS (Variables)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette */
  --navy: #0D1B2A;
  --navy-deep: #07182B;
  --navy-dark: #06182A;
  --navy-card: #0D2945;
  --blue-accent: #1F3B67;
  --gold: #C8A45A;
  --gold-hover: #b89347;
  --gold-light: rgba(200, 164, 90, 0.12);
  --gold-border: rgba(200, 164, 90, 0.35);

  /* Neutrals & Typography */
  --text-dark: #0D1B2A;
  --text-muted: #66788A;
  --text-light: #CBD5DF;
  --text-white: #FFFFFF;
  --bg-surface: #F7F9FB;
  --bg-alt: #F4F6F8;
  --border-line: #DFE6ED;

  /* Typography */
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Dimensions & Spacing */
  --topbar-height: 86px;
  --scroll-offset: 100px;
}

/* --------------------------------------------------------------------------
   1. RESET, BASE & ACCESSIBILITY
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  min-width: 0; /* Prevents flex/grid children from overflowing */
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-offset);
  overflow-x: hidden; /* Global overflow guard */
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.65;
  color: var(--text-dark);
  background-color: var(--bg-surface);
  overflow-x: hidden;
  width: 100%;
  min-width: 320px;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(135deg, #FFFFFF 0%, #F4F7FA 55%, #EEF3F7 100%);
}

body.modal-open {
  overflow: hidden;
}

[id] {
  scroll-margin-top: var(--scroll-offset);
}

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

/* Accessibility: Skip Link & Screen Readers */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 20px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  z-index: 1000;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Accessible Focus States */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Common Buttons */
.gold-btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--navy);
  padding: clamp(11px, 1.5vw, 14px) clamp(20px, 3vw, 28px);
  font-family: var(--font-heading);
  font-size: clamp(11px, 1.2vw, 12px);
  font-weight: 800;
  letter-spacing: 0.6px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(200, 164, 90, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.gold-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(200, 164, 90, 0.35);
}

.gold-btn:active {
  transform: translateY(0);
}

.gold-btn:disabled,
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.3);
  pointer-events: none;
}

.outline-btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-white);
  padding: clamp(10px, 1.4vw, 13px) clamp(18px, 2.8vw, 26px);
  font-family: var(--font-heading);
  font-size: clamp(11px, 1.2vw, 12px);
  font-weight: 700;
  letter-spacing: 0.6px;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.45);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.outline-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   2. HEADER & NAVIGATION (TOPBAR)
   -------------------------------------------------------------------------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: var(--topbar-height);
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  padding: 9px clamp(12px, 4vw, 56px);
  gap: clamp(10px, 2.5vw, 32px);
  width: 100%;
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
              border-color 0.3s ease, backdrop-filter 0.3s ease;
}

/* Scrolled state: solid light bar with navy text (set by JS on scroll) */
  .topbar.scrolled {
  background: var(--blue-accent);
  box-shadow: 0 8px 28px rgba(13, 27, 42, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.topbar.scrolled nav > a,
.topbar.scrolled .nav-dropdown-toggle {
  color: #FFFFFF !important;
}

.topbar.scrolled nav > a:hover,
.topbar.scrolled nav > a:focus-visible,
.topbar.scrolled .nav-dropdown:hover .nav-dropdown-toggle,
.topbar.scrolled .nav-dropdown:focus-within .nav-dropdown-toggle,
.topbar.scrolled .nav-dropdown.open .nav-dropdown-toggle {
  color: var(--gold) !important;
}

.topbar.scrolled .language-toggle {
  border-color: rgba(31, 59, 103, 0.35);
  color: var(--blue-accent) !important;
}

.topbar.scrolled .language-toggle:hover,
.topbar.scrolled .language-menu.open .language-toggle {
  border-color: var(--gold);
  color: var(--gold) !important;
}

.topbar.scrolled .nav-toggle {
  border-color: rgba(31, 59, 103, 0.3);
  color: var(--blue-accent);
}

/* Brand Lockup: Separated Independent White Panels */
.brand.brand-separated {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-logo-panel,
.brand-name-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 5px;
  overflow: hidden;
}

.brand-logo-panel {
  width: 94px;
  height: 72px;
  padding: 5px 8px;
}

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

.brand-name-panel {
  width: 244px;
  height: 62px;
  padding: 5px 11px;
}

.brand-name-panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Navigation Links */
.topbar nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
  margin-left: auto;
}

.topbar nav > a,
.nav-dropdown-toggle {
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.6px !important;
  text-decoration: none;
  text-transform: uppercase;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 10px 0 !important;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.topbar nav > a:hover,
.topbar nav > a:focus-visible,
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle,
.nav-dropdown.open .nav-dropdown-toggle {
  color: var(--gold) !important;
}

/* Generic Navigation Dropdown (ABOUT / SERVICES / CONTACT US) */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-dropdown-toggle > span:last-child {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle > span:last-child,
.nav-dropdown.open .nav-dropdown-toggle > span:last-child {
  transform: rotate(180deg);
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 230px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  background: var(--navy);
  border: 1px solid var(--gold-border);
  border-radius: 7px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 120;
}

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

.nav-dropdown-panel a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 8px 10px !important;
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 10px !important;
  letter-spacing: 0.35px !important;
  line-height: 1.3;
  white-space: normal;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.nav-dropdown-panel a > span:first-child {
  color: var(--gold);
  flex: 0 0 auto;
  min-width: 20px;
  font-weight: 800;
}

/* Service links can wrap to two lines (long ES / PT / FR titles) */
.nav-dropdown-panel--services a {
  display: block !important;
  position: relative;
  min-height: 34px;
  padding: 7px 8px 7px 32px !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

.nav-dropdown-panel--services a > span:first-child {
  position: absolute;
  left: 8px;
  top: 7px;
}

.nav-dropdown-panel a:hover,
.nav-dropdown-panel a:focus-visible {
  background: var(--blue-accent) !important;
  border-color: rgba(200, 164, 90, 0.32);
  color: #FFFFFF !important;
}

/* Services mega-panel: 3 grouped columns (BUNKER / CARGO / VESSEL) */
.nav-dropdown-panel--services {
  left: auto;
  right: 0;
  transform: translateY(-6px);
  flex-direction: row;
  align-items: flex-start;
  gap: 6px;
  width: min(860px, calc(100vw - 48px));
  padding: 14px;
}

.nav-dropdown:hover .nav-dropdown-panel--services,
.nav-dropdown:focus-within .nav-dropdown-panel--services,
.nav-dropdown.open .nav-dropdown-panel--services {
  transform: translateY(0);
}

.nav-dropdown-group {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-dropdown-group-title {
  margin: 0 0 4px;
  padding: 0 10px;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.nav-dropdown-group + .nav-dropdown-group {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 8px;
}

/* Language Selector */
.language-menu {
  position: relative;
  flex: 0 0 auto;
  margin-left: 2px;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF !important;
  padding: 8px 12px;
  min-width: 68px;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  border-radius: 4px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.language-toggle:hover,
.language-menu.open .language-toggle {
  border-color: var(--gold);
  color: var(--gold) !important;
}

.chevron {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.language-menu.open .chevron {
  transform: rotate(180deg);
}

.language-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 175px;
  background: var(--navy);
  border: 1px solid var(--gold-border);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  padding: 6px;
  display: none;
  z-index: 130;
}

.language-menu.open .language-dropdown {
  display: block;
}

.language-dropdown button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  background: transparent;
  border: 0;
  border-radius: 4px;
  color: #FFFFFF;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.language-dropdown button:hover,
.language-dropdown button.active {
  background: var(--blue-accent);
  color: var(--gold);
}

.language-dropdown button span {
  font-size: 14px;
  line-height: 1;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--gold-border);
  color: #FFFFFF;
  border-radius: 5px;
  padding: 8px 12px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   3. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  position: relative;
  background: url('../assets/hero-dinsep.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: calc(var(--topbar-height) + clamp(40px, 6vw, 80px)) clamp(16px, 7vw, 9%) clamp(56px, 8vw, 110px);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 18, 34, 0.88) 0%, rgba(5, 27, 48, 0.62) 50%, rgba(5, 27, 48, 0.32) 100%),
    linear-gradient(0deg, rgba(4, 20, 35, 0.6), transparent 40%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 60%, rgba(200, 164, 90, 0.08) 60.1%, transparent 60.3%),
    linear-gradient(180deg, transparent 0 78%, rgba(200, 164, 90, 0.08) 78.2%, transparent 78.4%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  color: #FFFFFF;
}

.eyebrow {
  display: inline-block;
  letter-spacing: 3px;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.eyebrow.dark {
  color: var(--blue-accent);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 5.2vw, 70px);
  line-height: 1.02;
  margin: 10px 0 20px;
  letter-spacing: -1.5px;
  text-shadow: 0 8px 35px rgba(0, 0, 0, 0.22);
}

.hero h1 span {
  color: var(--gold);
}

.hero h1 small {
  display: block;
  font-size: clamp(15px, 2.2vw, 30px);
  letter-spacing: 2px;
  font-weight: 600;
  margin-top: 4px;
}

.hero .lead {
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.8;
  color: #E2E8F0;
  max-width: 680px;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  gap: clamp(10px, 2vw, 16px);
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   4. COMMON SECTION SYSTEM
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  padding: clamp(64px, 9vw, 120px) clamp(20px, 6vw, 10%);
}

.section-head {
  text-align: center;
  max-width: 1050px;
  margin: 0 auto clamp(28px, 4vw, 48px);
}

.section-head > span,
.section-kicker {
  display: inline-block;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.4vw, 44px);
  line-height: 1.15;
  margin: 10px 0;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.section-head p {
  color: var(--text-muted);
  max-width: 820px;
  margin: 10px auto 0;
  font-size: clamp(14px, 1.2vw, 15px);
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   5. SERVICES SECTION & VISUAL MARQUEE RAIL
   -------------------------------------------------------------------------- */
.services-modern {
  background: linear-gradient(180deg, #F7F9FB 0%, #EEF3F7 100%);
  border-top: 1px solid #E5EBF0;
  border-bottom: 1px solid #E0E7ED;
  overflow: hidden;
}

.services-explorer-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding: 8px 16px;
  border: 1px solid #D8E1E8;
  border-radius: 999px;
  background: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.3px;
  color: #607184;
}

.services-explorer-note span {
  color: var(--gold);
  font-size: 12px;
}

.services-visual-window {
  max-width: none;
  margin: 38px calc(50% - 50vw) 0;
  position: relative;
}

.services-marquee {
  width: 100%;
  overflow: hidden;
  background: var(--navy-deep);
  border-top: 1px solid rgba(7, 26, 45, 0.12);
  border-bottom: 1px solid rgba(7, 26, 45, 0.12);
  user-select: none;
  -webkit-user-select: none;
}

.services-marquee.carousel-interactive {
  cursor: grab;
  touch-action: pan-y;
}

.services-marquee.carousel-interactive.is-grabbing {
  cursor: grabbing;
}

.services-marquee.carousel-interactive.is-grabbing a {
  pointer-events: none;
}

.services-marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: dinsepServicesScroll 75s linear infinite;
  will-change: transform;
}

.services-marquee.carousel-interactive .services-marquee-track {
  animation: none;
}

.services-marquee:not(.carousel-interactive):hover .services-marquee-track,
.services-marquee:not(.carousel-interactive):focus-within .services-marquee-track {
  animation-play-state: paused;
}

.service-marquee-card {
  width: clamp(285px, 23vw, 360px);
  height: clamp(390px, 34vw, 490px);
  flex: 0 0 clamp(285px, 23vw, 360px);
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--navy-deep);
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  user-select: none;
}

.service-marquee-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06);
  transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.65s ease;
  will-change: transform;
  pointer-events: none;
  -webkit-user-drag: none;
}

.service-marquee-card:hover img,
.service-marquee-card:focus-visible img {
  transform: scale(1.05);
  filter: saturate(1.1) contrast(1.05);
}

.service-marquee-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 22, 38, 0.03) 15%, rgba(5, 22, 38, 0.15) 45%, rgba(5, 22, 38, 0.94) 100%);
}

.service-marquee-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}

.service-marquee-card:hover::after,
.service-marquee-card:focus-visible::after {
  transform: scaleX(1);
}

.service-marquee-number {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  color: #FFFFFF;
  background: rgba(7, 26, 45, 0.35);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 6px 10px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.service-marquee-content {
  position: absolute;
  left: 24px;
  right: 20px;
  bottom: 25px;
  z-index: 2;
  color: #FFFFFF;
}

.service-marquee-content > span {
  display: block;
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 6px;
}

.service-marquee-content h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 14px;
  color: #FFFFFF;
}

.service-marquee-content b {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: #FFFFFF;
}

.marquee-controls-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 20px auto 0;
  padding: 0 20px;
}

.carousel-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.carousel-nav-btn:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(200, 164, 90, 0.35);
}

.carousel-nav-btn:active {
  transform: translateY(0);
}

.marquee-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #708092;
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
}

.marquee-hint i {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold);
}

@keyframes dinsepServicesScroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 9px)); }
}

/* Classified Service Index (BUNKER / CARGO / VESSEL) */
.services-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
  max-width: 1100px;
  margin: clamp(40px, 5vw, 64px) auto 0;
}

.service-category {
  background: #FFFFFF;
  border: 1px solid var(--border-line);
  border-top: 3px solid var(--gold);
  border-radius: 8px;
  padding: clamp(20px, 2.4vw, 28px);
  box-shadow: 0 10px 30px rgba(13, 27, 42, 0.06);
}

.service-category h3 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
}

.service-category-desc {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.service-category ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-category li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 8px;
  border-radius: 5px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--text-dark);
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.service-category li a span {
  min-width: 22px;
  color: var(--gold);
  font-weight: 800;
}

.service-category li a:hover,
.service-category li a:focus-visible {
  background: var(--bg-alt);
  border-color: var(--gold-border);
  color: var(--navy);
}

@media (max-width: 900px) {
  .services-categories { grid-template-columns: 1fr; max-width: 560px; }
}

/* --------------------------------------------------------------------------
   6. REGIONAL COVERAGE SECTION
   -------------------------------------------------------------------------- */
.coverage-showcase {
  background: var(--navy);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding-top: clamp(52px, 7vw, 86px);
  padding-bottom: clamp(52px, 7vw, 86px);
}

.coverage-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 59, 103, 0.35) 0%, transparent 70%);
  right: -100px;
  top: -100px;
  pointer-events: none;
}

.coverage-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  margin-bottom: clamp(22px, 3vw, 32px);
}

.coverage-head h2 {
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.4vw, 44px);
  margin: 8px 0;
}

.coverage-head p {
  color: var(--text-light);
  max-width: 650px;
  margin: 0;
  font-size: 15px;
}

.coverage-stats {
  display: flex;
  gap: 12px;
}

.coverage-stats div {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(200, 164, 90, 0.3);
  padding: 10px 16px;
  border-radius: 6px;
}

.coverage-stats strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--gold);
  line-height: 1;
}

.coverage-stats span {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--text-light);
  font-weight: 600;
}

/* Coverage maps (National + International) */
.coverage-maps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(18px, 2vw, 34px);
  max-width: 1220px;
  margin: 0 auto clamp(22px, 3vw, 34px);
}

.coverage-map {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.coverage-map-frame {
  height: clamp(360px, 58vh, 600px);
  background: radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, #F4F0E6 100%);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  padding: 7px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

/* each frame keeps its map's own aspect → fills edge-to-edge, no dead space */
.coverage-map--national .coverage-map-frame { aspect-ratio: 600 / 552; }
.coverage-map--regional .coverage-map-frame { aspect-ratio: 570 / 648; }
.coverage-map--single { width: 100%; max-width: 1100px; }
.coverage-map--single .coverage-map-frame { aspect-ratio: 1689 / 931; height: auto; width: 100%; }

.coverage-map-frame object,
.coverage-map-frame img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 6px;
}

.coverage-map-kicker {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2.4px;
  color: var(--gold);
}

.coverage-map figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding-left: 2px;
}

.coverage-map figcaption strong {
  font-family: var(--font-heading);
  font-size: clamp(12px, 1.3vw, 14px);
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #FFFFFF;
}

.coverage-map-note {
  font-size: 10px;
  letter-spacing: 0.3px;
  color: var(--text-light);
}

@media (max-width: 900px) {
  .coverage-map { width: min(100%, 420px); }
  .coverage-map-frame {
    height: auto;
    width: 100%;
  }
}

.coverage-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 1px;
}

.coverage-foot span {
  color: var(--gold);
  font-weight: 800;
}

.coverage-foot b {
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   7. WHY DINSEP / STANDARDS
   -------------------------------------------------------------------------- */
.why-dinsep {
  background: #FFFFFF;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.why-grid article {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  padding: 32px 24px;
  border-radius: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(7, 26, 45, 0.08);
}

.why-icon {
  display: inline-block;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.why-grid h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--navy);
  margin: 0 0 12px;
}

.why-grid p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

.why-social div {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.why-social a {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--navy);
  text-decoration: none;
  border: 1px solid var(--border-line);
  padding: 7px 12px;
  border-radius: 4px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.why-social a:hover {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

/* --------------------------------------------------------------------------
   8. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-line);
  position: relative;
  overflow: hidden;
}

.about::after {
  content: "DINSEP";
  position: absolute;
  right: -20px;
  bottom: -60px;
  font-family: var(--font-heading);
  font-size: 150px;
  font-weight: 900;
  color: rgba(7, 26, 45, 0.03);
  letter-spacing: -8px;
  pointer-events: none;
}

.about h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.1;
  margin: 10px 0 0;
  color: var(--navy);
}

.about h2 span {
  color: var(--blue-accent);
}

.about p {
  font-size: 16px;
  line-height: 1.9;
  color: #56697B;
  margin: 0;
}

/* --------------------------------------------------------------------------
   9. CONTACT SECTION & INFO STRIP
   -------------------------------------------------------------------------- */
.contact {
  background: linear-gradient(180deg, #FFFFFF, #F1F5F8);
  border-top: 1px solid #E0E7ED;
}

.contact-info-strip {
  max-width: 1100px;
  margin: 34px auto 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 20px 24px;
  background: #FFFFFF;
  border: 1px solid #DCE5EC;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(7, 26, 45, 0.06);
}

.contact-info-strip span {
  color: var(--text-muted);
  font-size: 12px;
}

.contact-info-strip strong {
  color: var(--navy);
  margin-right: 7px;
}

.contact-info-strip a {
  color: var(--blue-accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-info-strip a:hover {
  color: var(--gold);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   10. ENGAGEMENT SECTIONS (PQR & CAREERS)
   -------------------------------------------------------------------------- */
.engagement-section {
  position: relative;
  background: var(--bg-surface);
  border-top: 1px solid #E3E9EE;
  overflow: hidden;
}

.engagement-grid {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
}

.engagement-intro h2 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1.1;
  color: var(--navy);
  margin: 12px 0 18px;
}

.engagement-intro p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 600px;
}

.engagement-email {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 14px 18px;
  border-left: 3px solid var(--gold);
  background: #FFFFFF;
  box-shadow: 0 10px 25px rgba(13, 27, 42, 0.05);
  border-radius: 0 6px 6px 0;
}

.engagement-email span {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.engagement-email a {
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

.engagement-email a:hover {
  color: var(--gold);
}

.engagement-points {
  display: flex;
  gap: 20px;
  margin-top: 22px;
  flex-wrap: wrap;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--blue-accent);
}

.engagement-card {
  background: #FFFFFF;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid #DBE4EB;
  border-top: 4px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(7, 26, 45, 0.07);
  position: relative;
}

.card-kicker {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 8px;
}

.engagement-card h3 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 24px;
  margin: 0 0 14px;
}

.form-channel-note {
  color: #5B6470;
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 22px;
}

.engagement-card small {
  display: block;
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 11px;
}

/* Careers Variation */
.careers-section {
  background: #FFFFFF;
}

.career-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.career-rail span {
  padding: 7px 12px;
  border: 1px solid #DBE4EB;
  border-radius: 999px;
  color: var(--blue-accent);
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

/* --------------------------------------------------------------------------
   11. MODAL DIALOG & FORM FIELDS
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 3vw, 20px);
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 24, 45, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #FFFFFF;
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid #DCE4EB;
  border-top: 5px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 12px;
  border: 0;
  background: none;
  font-size: 32px;
  color: var(--navy);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  border-radius: 4px;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--gold);
}

.modal-head {
  border-bottom: 1px solid #E4E9EE;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.modal-head span {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 800;
}

.modal-head h2 {
  font-family: var(--font-heading);
  margin: 6px 0 8px;
  font-size: 28px;
  color: var(--navy);
}

.modal-head p {
  color: var(--text-muted);
  margin: 0;
  font-size: 14px;
}

/* Forms */
#serviceForm,
#serviceRequestForm {
  display: grid;
  gap: 14px;
}

.form-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.field label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.5px;
}

#serviceForm input,
#serviceForm select,
#serviceForm textarea,
#serviceRequestForm input,
#serviceRequestForm select,
#serviceRequestForm textarea {
  width: 100%;
  padding: 12px 14px;
  background: #F9FAFB;
  border: 1px solid #D9E0E7;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--navy);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#serviceForm input:focus,
#serviceForm select:focus,
#serviceForm textarea:focus,
#serviceRequestForm input:focus,
#serviceRequestForm select:focus,
#serviceRequestForm textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 164, 90, 0.18);
  outline: none;
}

#serviceForm textarea,
#serviceRequestForm textarea {
  resize: vertical;
  min-height: 100px;
}

.request-type-empty {
  padding: 20px;
  background: #F4F7FA;
  border: 1px dashed #CBD5E1;
  border-radius: 8px;
  text-align: center;
}

.request-type-empty strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--navy);
  margin-bottom: 4px;
}

.request-type-empty span {
  font-size: 12px;
  color: var(--text-muted);
}

.request-type-banner {
  padding: 12px 14px;
  border: 1px solid var(--gold-border);
  background: var(--gold-light);
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #B9903F;
}

#serviceSubmit {
  width: 100%;
  padding: 14px;
  font-size: 13px;
  border-radius: 6px;
}

#serviceForm small,
#serviceRequestForm small {
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

/* --------------------------------------------------------------------------
   12. FOOTER & SOCIAL FLOATS
   -------------------------------------------------------------------------- */
footer {
  background: var(--blue-accent);
  color: #CBD5DF;
  text-align: center;
  padding: clamp(24px, 4vw, 36px) clamp(16px, 5%, 9%) clamp(20px, 3vw, 28px);
  border-top: 2px solid var(--gold);
  font-family: var(--font-heading);
}

.footer-brand-separated {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo-panel,
.footer-name-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 4px;
  box-shadow: none;
}

.footer-logo-panel {
  width: 64px;
  height: 52px;
  padding: 6px;
}

.footer-name-panel {
  width: 190px;
  height: 48px;
  padding: 6px 10px;
}

.footer-logo-panel img,
.footer-name-panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-slogan {
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.7px;
  margin: 4px 0 16px;
}

.footer-social-home {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-social-home a {
  color: var(--gold);
  text-decoration: none;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  transition: color 0.2s ease;
}

.footer-social-home a:hover {
  color: #FFFFFF;
}

/* Floating Contact Hub & Back to Top */
.dinsep-social-float-home {
  position: fixed;
  right: 22px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 99;
}

.dinsep-social-float-home a,
.dinsep-social-float-home button.back-to-top {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  color: #FFFFFF;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease, visibility 0.3s ease;
  border: none;
  cursor: pointer;
}

.dinsep-social-float-home a:hover,
.dinsep-social-float-home button.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.dinsep-social-float-home .social-linkedin {
  background: #0A66C2;
}

.dinsep-social-float-home .social-whatsapp {
  background: #1DB954;
}

.dinsep-social-float-home button.back-to-top {
  background: var(--navy);
  color: var(--gold);
  border: 1px solid var(--gold-border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.dinsep-social-float-home button.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dinsep-social-float-home button.back-to-top.show:hover {
  transform: translateY(-4px) scale(1.05);
}

/* Global Reveal on Scroll */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   13. RESPONSIVE BREAKPOINTS (MOBILE & TABLET)
   -------------------------------------------------------------------------- */
@media (max-width: 1050px) {
  .topbar {
    gap: 14px;
  }
  .topbar nav {
    gap: 14px;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .engagement-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .careers-grid .engagement-card {
    order: 2;
  }
  .careers-grid .engagement-intro {
    order: 1;
  }
}

@media (max-width: 860px) {
  .topbar {
    min-height: 70px;
    padding: 8px 14px;
  }
  .brand-logo-panel {
    width: 72px;
    height: 56px;
    padding: 4px 6px;
  }
  .brand-name-panel {
    width: 192px;
    height: 50px;
    padding: 4px 8px;
  }
  .nav-toggle {
    display: block;
    margin-left: auto;
  }
  .topbar nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 12px 16px;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--gold-border);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    overflow-x: hidden;
  }
  .topbar nav.mobile-open {
    display: flex;
  }
  /* Mobile menu is a dark navy panel — links stay white even when scrolled */
  .topbar.scrolled nav > a,
  .topbar.scrolled .nav-dropdown-toggle {
    color: #FFFFFF !important;
  }
  .topbar.scrolled .nav-dropdown.open .nav-dropdown-toggle {
    color: var(--gold) !important;
  }
  .topbar nav > a {
    padding: 11px 6px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-dropdown {
    display: block;
  }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 11px 6px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-dropdown-panel,
  .nav-dropdown-panel--services {
    position: static;
    transform: none !important;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 8px 12px;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: hidden;
    transition: max-height 0.25s ease, visibility 0.25s ease;
  }
  .nav-dropdown.open .nav-dropdown-panel,
  .nav-dropdown.open .nav-dropdown-panel--services {
    visibility: visible;
    pointer-events: auto;
    max-height: 1400px;
  }
  .nav-dropdown-panel a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .nav-dropdown-group + .nav-dropdown-group {
    border-left: 0;
    padding-left: 0;
    margin-top: 6px;
  }
  .nav-dropdown-group-title {
    padding: 6px 10px 2px;
  }
  .coverage-head {
    grid-template-columns: 1fr;
  }
  .coverage-stats {
    gap: 12px;
  }
  .coverage-stats div {
    padding: 10px 14px;
  }
}

@media (max-width: 600px) {
  .brand-logo-panel {
    width: 56px;
    height: 44px;
    padding: 3px 5px;
  }
  .brand-name-panel {
    width: 150px;
    height: 42px;
    padding: 3px 7px;
  }
  .hero {
    min-height: 100vh;
    padding: calc(var(--topbar-height) + 28px) 16px 44px;
  }
  .hero h1 {
    font-size: clamp(26px, 8vw, 38px);
  }
  .hero h1 small {
    font-size: clamp(14px, 4vw, 18px);
  }
  .hero .lead {
    font-size: 14px;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .coverage-stats {
    flex-wrap: wrap;
    gap: 10px;
  }
  .coverage-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .form-grid-two {
    grid-template-columns: 1fr;
  }
  .engagement-email {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .engagement-points {
    gap: 12px;
  }
  .dinsep-social-float-home {
    right: 12px;
    bottom: 12px;
  }
  .dinsep-social-float-home a {
    width: 42px;
    height: 42px;
    font-size: 11px;
  }
  .footer-logo-panel {
    width: 48px;
    height: 40px;
  }
  .footer-name-panel {
    width: 145px;
    height: 38px;
  }
  .footer-slogan {
    font-size: 9px;
    letter-spacing: 1px;
  }
}

/* ── Very small viewports (≤380px) ─────────────────────────────────────────── */
@media (max-width: 380px) {
  .topbar {
    padding: 6px 10px;
    min-height: 66px;
  }
  .brand-logo-panel {
    width: 46px;
    height: 38px;
    padding: 3px 4px;
  }
  .brand-name-panel {
    width: 124px;
    height: 34px;
    padding: 3px 5px;
  }
  .hero {
    padding: 40px 12px;
    min-height: 460px;
  }
  .hero h1 {
    font-size: 24px;
    letter-spacing: -0.5px;
  }
  .section {
    padding: 40px 12px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .gold-btn,
  .hero-actions .outline-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .coverage-stats div {
    padding: 8px 10px;
    flex: 1 1 calc(50% - 5px);
  }
  .coverage-stats {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-marquee-track {
    animation: none !important;
  }
  .service-marquee-card img {
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   8. ANIMATIONS & MICRO-INTERACTIONS
   -------------------------------------------------------------------------- */

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-up.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Hero Sequence */
.hero-content > * {
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content .eyebrow { animation-delay: 100ms; }
.hero-content h1 { animation-delay: 300ms; }
.hero-content .lead { animation-delay: 500ms; }
.hero-content .hero-actions { animation-delay: 700ms; }

@keyframes heroFadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* WhatsApp Icon SVG in button */
.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
