/* EuroPack International Movers — Brand Design System */
:root {
  --ep-navy: #0b2a5b;
  --ep-navy-dark: #071b3d;
  --ep-navy-soft: #143d7a;
  --ep-red: #e30613;
  --ep-red-dark: #bc040f;
  --ep-gold: #f7b500;
  --ep-gold-soft: #fff7dc;
  --ep-ink: #0f172a;
  --ep-muted: #475569;
  --ep-border: #e2e8f0;
  --ep-surface: #ffffff;
  --ep-bg: #f8fafc;
  --ep-radius: 12px;
  --ep-shadow: 0 12px 32px rgba(11, 42, 91, 0.08);
  --ep-shadow-lg: 0 22px 50px rgba(7, 27, 61, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ep-ink);
  background: var(--ep-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.ep-container {
  width: min(1240px, 92vw);
  margin-inline: auto;
}

.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

/* Top Utility Bar */
.ep-topbar {
  background: var(--ep-navy-dark);
  color: #e2e8f0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ep-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  flex-wrap: wrap;
}

.ep-topbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.ep-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #e2e8f0;
  transition: color 0.18s ease;
}

.ep-topbar-item:hover {
  color: var(--ep-gold);
}

.ep-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ep-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.4px;
  transition: background 0.18s ease;
}

.ep-lang-pill:hover {
  background: var(--ep-red);
}

/* Announcement Strip */
.ep-announcement {
  background: linear-gradient(90deg, var(--ep-red) 0%, #c80511 100%);
  color: #ffffff;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.86rem;
  font-weight: 600;
}

/* Header & Navigation */
.ep-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ep-border);
  box-shadow: 0 4px 20px rgba(11, 42, 91, 0.05);
}

.ep-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}

.ep-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ep-brand img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.ep-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ep-nav-link {
  padding: 10px 13px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ep-navy);
  transition: background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.ep-nav-link:hover,
.ep-nav-link.active {
  background: #eff4fb;
  color: var(--ep-red);
}

.ep-nav-dropdown {
  position: relative;
}

.ep-nav-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 245px;
  background: #ffffff;
  border: 1px solid var(--ep-border);
  border-radius: 12px;
  padding: 8px;
  box-shadow: var(--ep-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s ease;
  z-index: 60;
}

.ep-nav-dropdown:hover .ep-nav-menu,
.ep-nav-dropdown:focus-within .ep-nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ep-nav-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ep-navy);
}

.ep-nav-menu a:hover {
  background: #f1f5f9;
  color: var(--ep-red);
}

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

.ep-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--ep-border);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ep-navy);
  cursor: pointer;
}

/* Buttons */
.ep-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.18s ease, box-shadow 0.18s ease;
  text-align: center;
}

.ep-btn:active {
  transform: translateY(1px);
}

.ep-btn-primary {
  background: var(--ep-red);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(227, 6, 19, 0.25);
}

.ep-btn-primary:hover {
  background: var(--ep-red-dark);
}

.ep-btn-navy {
  background: var(--ep-navy);
  color: #ffffff;
}

.ep-btn-navy:hover {
  background: var(--ep-navy-dark);
}

.ep-btn-outline {
  background: #ffffff;
  color: var(--ep-navy);
  border-color: var(--ep-navy);
}

.ep-btn-outline:hover {
  background: var(--ep-navy);
  color: #ffffff;
}

.ep-btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.ep-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

.ep-btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.86rem;
}

.ep-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: var(--ep-gold-soft);
  color: #8a5a00;
  border: 1px solid #f5d477;
}

.ep-badge-red {
  background: #fee2e2;
  color: var(--ep-red-dark);
  border-color: #fecaca;
}

/* Hero Section */
.ep-hero {
  position: relative;
  background: linear-gradient(135deg, var(--ep-navy-dark) 0%, var(--ep-navy) 55%, #164486 100%);
  color: #ffffff;
  overflow: hidden;
  padding: 52px 0 64px;
}

.ep-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(247, 181, 0, 0.14), transparent 45%),
              radial-gradient(circle at 15% 85%, rgba(227, 6, 19, 0.16), transparent 42%);
  pointer-events: none;
}

.ep-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.ep-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(247, 181, 0, 0.16);
  border: 1px solid rgba(247, 181, 0, 0.45);
  color: #ffd86b;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.ep-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.ep-hero-lead {
  margin: 0 0 26px;
  font-size: 1.06rem;
  color: #dbeafe;
  max-width: 56ch;
}

.ep-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.ep-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.ep-hero-stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ep-gold);
}

.ep-hero-stat span {
  font-size: 0.8rem;
  color: #cbd5e1;
}

/* Interactive Banner Showcase */
.ep-showcase {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.35);
}

.ep-showcase-stage {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ep-navy-dark);
}

.ep-showcase-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
}

.ep-showcase-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.ep-showcase-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ep-showcase-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.ep-showcase-tab {
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.ep-showcase-tab:hover {
  background: rgba(255, 255, 255, 0.18);
}

.ep-showcase-tab.is-active {
  background: var(--ep-red);
  border-color: var(--ep-red);
  color: #ffffff;
}

/* 5-Pillar Strip */
.ep-pillars {
  background: #ffffff;
  border-bottom: 1px solid var(--ep-border);
  box-shadow: 0 6px 24px rgba(11, 42, 91, 0.04);
}

.ep-pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.ep-pillar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  border-right: 1px solid var(--ep-border);
  transition: background 0.18s ease;
}

.ep-pillar-item:last-child {
  border-right: 0;
}

.ep-pillar-item:hover {
  background: #f8fafc;
}

.ep-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eef4ff;
  color: var(--ep-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ep-pillar-item:hover .ep-pillar-icon {
  background: var(--ep-red);
  color: #ffffff;
}

.ep-pillar-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ep-navy);
}

.ep-pillar-item small {
  font-size: 0.78rem;
  color: var(--ep-muted);
}

/* Sections */
.ep-section {
  padding: 72px 0;
}

.ep-section-alt {
  background: #ffffff;
}

.ep-section-head {
  max-width: 720px;
  margin-bottom: 42px;
}

.ep-section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.ep-section-head h2 {
  margin: 12px 0 12px;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.2;
  color: var(--ep-navy);
}

.ep-section-head p {
  margin: 0;
  color: var(--ep-muted);
  font-size: 1.03rem;
}

/* Service Cards */
.ep-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ep-service-card {
  background: #ffffff;
  border: 1px solid var(--ep-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--ep-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ep-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ep-shadow-lg);
}

.ep-service-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
}

.ep-service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s ease;
}

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

.ep-service-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 42, 91, 0.9);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.ep-service-card-body h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  color: var(--ep-navy);
}

.ep-service-card-body p {
  margin: 0 0 18px;
  color: var(--ep-muted);
  font-size: 0.95rem;
  flex: 1;
}

.ep-card-link {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ep-red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ep-card-link:hover {
  text-decoration: underline;
}

/* Split Feature / Heritage Block */
.ep-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.ep-split-media {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--ep-shadow-lg);
  border: 1px solid var(--ep-border);
}

.ep-split-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.ep-split-media-stack {
  display: grid;
  gap: 16px;
}

.ep-split-media-crating img {
  aspect-ratio: 16 / 10;
}

.ep-checklist {
  list-style: none;
  padding: 0;
  margin: 22px 0 28px;
  display: grid;
  gap: 12px;
}

.ep-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  color: var(--ep-navy);
}

.ep-checklist li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fee2e2;
  color: var(--ep-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Process Steps */
.ep-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.ep-step-card {
  background: #ffffff;
  border: 1px solid var(--ep-border);
  border-top: 4px solid var(--ep-navy);
  border-radius: 12px;
  padding: 24px;
}

.ep-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--ep-red);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.ep-step-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  color: var(--ep-navy);
}

.ep-step-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ep-muted);
}

/* Inner Page Banner */
.ep-page-hero {
  background: linear-gradient(135deg, var(--ep-navy-dark) 0%, var(--ep-navy) 100%);
  color: #ffffff;
  padding: 56px 0;
  border-bottom: 4px solid var(--ep-red);
}

.ep-page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.ep-page-hero h1 {
  margin: 12px 0 14px;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.15;
}

.ep-page-hero p {
  margin: 0 0 24px;
  color: #dbeafe;
  font-size: 1.03rem;
}

.ep-page-hero-img {
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.3);
}

.ep-page-hero-img img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

/* Forms & Validation (Modern Web Guidance compliant) */
.ep-form-card {
  background: #ffffff;
  border: 1px solid var(--ep-border);
  border-top: 4px solid var(--ep-red);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--ep-shadow);
}

.ep-form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.ep-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.ep-field label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ep-navy);
}

.ep-hint {
  font-size: 0.8rem;
  color: var(--ep-muted);
}

.ep-input,
.ep-select,
.ep-textarea {
  width: 100%;
  font: inherit;
  font-size: max(1rem, 1em);
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 9px;
  background: #ffffff;
  color: var(--ep-ink);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.ep-textarea {
  min-height: 115px;
  resize: vertical;
}

.ep-input:focus-visible,
.ep-select:focus-visible,
.ep-textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}

:is(.ep-input, .ep-select, .ep-textarea):is(:user-invalid, .user-invalid-fallback) {
  border-color: #dc2626;
  background-color: #fef2f2;
}

:is(.ep-input, .ep-select, .ep-textarea):is(:user-valid, .user-valid-fallback) {
  border-color: #16a34a;
}

.ep-error-msg {
  display: none;
  font-size: 0.84rem;
  font-weight: 600;
  color: #dc2626;
}

:is(.ep-input, .ep-select, .ep-textarea):is(:user-invalid, .user-invalid-fallback) ~ .ep-error-msg {
  display: block;
}

.ep-checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid var(--ep-border);
  border-radius: 9px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ep-navy);
}

.ep-checkbox-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--ep-red);
}

/* Native Modal Dialog */
dialog.ep-dialog {
  border: 0;
  border-radius: 16px;
  padding: 0;
  width: min(760px, 94vw);
  max-height: 90dvh;
  background: #ffffff;
  color: var(--ep-ink);
  box-shadow: 0 28px 70px rgba(7, 27, 61, 0.38);
  margin: auto;
}

dialog.ep-dialog:modal {
  overscroll-behavior: contain;
}

dialog.ep-dialog::backdrop {
  background: rgba(7, 27, 61, 0.68);
  backdrop-filter: blur(4px);
  overflow: hidden;
  overscroll-behavior: contain;
}

.ep-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: var(--ep-navy);
  color: #ffffff;
  border-bottom: 4px solid var(--ep-red);
}

.ep-dialog-head h1 {
  margin: 0;
  font-size: 1.35rem;
}

.ep-dialog-head p {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.ep-dialog-close {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.ep-dialog-close:hover {
  background: var(--ep-red);
}

.ep-dialog-body {
  padding: 26px 28px;
  overflow-y: auto;
  max-height: calc(90dvh - 104px);
}

/* Alerts */
.ep-alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 0.94rem;
}

.ep-alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.ep-alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Footer */
.ep-footer {
  background: var(--ep-navy-dark);
  color: #cbd5e1;
  padding: 60px 0 28px;
  border-top: 5px solid var(--ep-red);
}

.ep-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ep-footer-logo-wrap {
  display: inline-block;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
}

.ep-footer-logo-wrap img {
  height: 46px;
  width: auto;
}

.ep-footer h4 {
  color: #ffffff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0 14px;
}

.ep-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

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

.ep-footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 1024px) {
  .ep-hero-grid,
  .ep-page-hero-grid,
  .ep-split {
    grid-template-columns: 1fr;
  }
  .ep-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ep-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ep-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ep-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ep-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--ep-border);
    padding: 16px 4vw;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--ep-shadow-lg);
  }
  .ep-nav.is-open {
    display: flex;
  }
  .ep-nav-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding-left: 16px;
    background: #f8fafc;
  }
  .ep-mobile-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .ep-cards-grid,
  .ep-pillars-grid,
  .ep-steps-grid,
  .ep-form-grid-2,
  .ep-footer-grid,
  .ep-showcase-tabs,
  .ep-offices-grid,
  .ep-gallery-grid,
  .ep-carriers-grid {
    grid-template-columns: 1fr;
  }
  .ep-showcase-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .ep-hero-stats {
    grid-template-columns: 1fr;
  }
}

/* Office Locations 3-Column Grid */
.ep-offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ep-office-card {
  background: #ffffff;
  border: 1px solid var(--ep-border);
  border-top: 4px solid var(--ep-navy);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--ep-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ep-office-card.is-hq {
  border-top-color: var(--ep-red);
  background: linear-gradient(180deg, #fffafa 0%, #ffffff 45%);
}

.ep-office-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ep-shadow-lg);
}

.ep-office-card h3 {
  margin: 8px 0 6px;
  font-size: 1.25rem;
  color: var(--ep-navy);
}

.ep-office-address {
  color: var(--ep-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* Ocean Carrier Partners Strip */
.ep-carriers-strip {
  background: #ffffff;
  border-top: 1px solid var(--ep-border);
  border-bottom: 1px solid var(--ep-border);
  padding: 34px 0;
}

.ep-carriers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.ep-carrier-card {
  border: 1px solid var(--ep-border);
  border-radius: 12px;
  padding: 18px 20px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ep-carrier-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

/* Photo Gallery & Lightbox */
.ep-filter-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.ep-filter-pill {
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--ep-border);
  background: #ffffff;
  color: var(--ep-navy);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.ep-filter-pill:hover,
.ep-filter-pill.is-active {
  background: var(--ep-red);
  border-color: var(--ep-red);
  color: #ffffff;
}

.ep-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ep-gallery-card {
  background: #ffffff;
  border: 1px solid var(--ep-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--ep-shadow);
  display: flex;
  flex-direction: column;
}

.ep-gallery-card[hidden] {
  display: none;
}

.ep-gallery-btn {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.ep-gallery-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.3s ease;
}

.ep-gallery-card:hover .ep-gallery-btn img {
  transform: scale(1.04);
}

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

@media (max-width: 640px) {
  .ep-offices-grid,
  .ep-gallery-grid,
  .ep-carriers-grid {
    grid-template-columns: 1fr;
  }
}
