/* ==========================================================================
   Public site styles. Builds on main.css (fonts, colors, headings).
   ========================================================================== */

:root {
  --el-red: hsl(var(--main-h), var(--main-s), var(--main-l));
  --el-red-dark: hsl(var(--main-h), var(--main-s), 40%);
  --el-navy: hsl(var(--main-two-h), var(--main-two-s), var(--main-two-l));
  --el-navy-2: #0a3242;
  --el-gold: hsl(var(--main-three-h), var(--main-three-s), var(--main-three-l));
  --el-text: #5b6470;
  --el-line: #e6e9ee;
  --el-soft: #f5f7f9;
  --el-radius: 14px;
  --el-shadow: 0 18px 50px rgba(3, 35, 48, .08);
  --el-header-h: 84px;
}

html { scroll-behavior: smooth; }
body { color: var(--el-text); overflow-x: hidden; }
img { max-width: 100%; }

.el-section { padding: 110px 0; position: relative; }
.el-section.soft { background: var(--el-soft); }
.el-section.dark { background: var(--el-navy); }
@media (max-width: 991px) { .el-section { padding: 80px 0; } }
@media (max-width: 575px) { .el-section { padding: 64px 0; } }

/* Section headings (same italic underlined eyebrow as the original template) */
.el-eyebrow {
  display: inline-block;
  font-family: var(--body-font);
  font-size: 1.125rem;
  font-weight: 700;
  font-style: italic;
  text-decoration: underline;
  text-underline-offset: 5px;
  color: var(--el-red);
  margin-bottom: 14px;
}
.el-heading { max-width: 760px; margin-bottom: 56px; }
.el-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.el-heading h2 { margin-bottom: 16px; line-height: 1.15; }
.el-heading p { font-size: 1.0625rem; line-height: 1.75; margin: 0; }
.dark .el-heading h2, .dark h3, .dark h4, .dark h5 { color: #fff; }
.dark .el-heading p, .dark p { color: #b9c7ce; }

/* Buttons */
.el-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  border: 2px solid transparent;
  transition: all .25s ease;
  white-space: nowrap;
  cursor: pointer;
}
.el-btn i { font-size: 1.1em; transition: transform .25s ease; }
.el-btn:hover i { transform: translateX(3px); }
.el-btn-primary { background: var(--el-red); color: #fff; }
.el-btn-primary:hover { background: var(--el-red-dark); color: #fff; }
.el-btn-dark { background: var(--el-navy); color: #fff; }
.el-btn-dark:hover { background: var(--el-navy-2); color: #fff; }
.el-btn-outline { border-color: rgba(255, 255, 255, .55); color: #fff; }
.el-btn-outline:hover { background: #fff; color: var(--el-navy); border-color: #fff; }
.el-btn-ghost { border-color: var(--el-line); color: var(--el-navy); background: #fff; }
.el-btn-ghost:hover { border-color: var(--el-navy); }

/* ---------- Top bar ---------- */

.el-topbar { background: var(--el-navy); color: #b9c7ce; font-size: .875rem; }
.el-topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; }
.el-topbar-info { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.el-topbar-info span, .el-topbar-info a { display: inline-flex; align-items: center; gap: 8px; color: #b9c7ce; }
.el-topbar-info i { color: var(--el-red); font-size: 1rem; }
.el-topbar-info a:hover { color: #fff; }
.el-social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.el-social a {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-grid; place-items: center;
  color: #b9c7ce; transition: all .2s ease; font-size: 15px;
}
.el-social a:hover { background: var(--el-red); color: #fff; }
@media (max-width: 991px) { .el-topbar { display: none; } }

/* ---------- Header ---------- */

.el-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  transition: box-shadow .25s ease;
}
.el-header.scrolled { box-shadow: 0 8px 30px rgba(3, 35, 48, .08); }
.el-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--el-header-h); }
.el-logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.el-logo img { max-height: 46px; max-width: 190px; width: auto; object-fit: contain; }
.el-logo-text { font-family: var(--heading-font); font-weight: 800; font-size: 1.5rem; color: var(--el-navy); letter-spacing: -.5px; }
.el-logo-text span { color: var(--el-red); }

.el-nav { display: flex; align-items: center; gap: 36px; list-style: none; margin: 0; padding: 0; }
.el-nav a {
  position: relative;
  font-weight: 600;
  color: var(--el-navy);
  padding: 8px 0;
  transition: color .2s ease;
}
.el-nav a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--el-red);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.el-nav a:hover, .el-nav a.active { color: var(--el-red); }
.el-nav a:hover::after, .el-nav a.active::after { transform: scaleX(1); }

.el-header-actions { display: flex; align-items: center; gap: 18px; }
.el-header-call { display: flex; align-items: center; gap: 12px; }
.el-header-call .icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: hsl(var(--main-h), var(--main-s), 96%); color: var(--el-red);
  display: grid; place-items: center; font-size: 20px;
}
.el-header-call small { display: block; font-size: .8125rem; color: var(--el-text); }
.el-header-call strong { display: block; color: var(--el-navy); font-size: .9375rem; }
.el-burger {
  display: none;
  width: 46px; height: 46px;
  border-radius: 10px;
  border: 1px solid var(--el-line);
  background: #fff;
  color: var(--el-navy);
  font-size: 22px;
  place-items: center;
}

@media (max-width: 1199px) { .el-header-call { display: none; } .el-nav { gap: 26px; } }
@media (max-width: 991px) {
  :root { --el-header-h: 72px; }
  .el-nav, .el-header-actions .el-btn { display: none; }
  .el-burger { display: inline-grid; }
}

/* Mobile drawer */
.el-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(340px, 88vw);
  background: #fff;
  z-index: 1100;
  transform: translateX(100%);
  transition: transform .3s ease, visibility .3s;
  display: flex; flex-direction: column;
  visibility: hidden;
}
.el-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--el-line); }
.el-drawer-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--el-soft); color: var(--el-navy); font-size: 20px; display: grid; place-items: center; }
.el-drawer nav { padding: 14px 22px; flex: 1; overflow-y: auto; }
.el-drawer nav a { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--el-line); font-weight: 600; color: var(--el-navy); font-size: 1.0625rem; }
.el-drawer nav a.active, .el-drawer nav a:hover { color: var(--el-red); }
.el-drawer-foot { padding: 22px; border-top: 1px solid var(--el-line); display: grid; gap: 12px; font-size: .9375rem; }
.el-drawer-foot a, .el-drawer-foot span { display: flex; align-items: center; gap: 10px; color: var(--el-navy); }
.el-drawer-foot i { color: var(--el-red); }
.el-overlay { position: fixed; inset: 0; background: rgba(3, 35, 48, .55); z-index: 1090; opacity: 0; visibility: hidden; transition: all .3s ease; }
body.menu-open { overflow: hidden; }
body.menu-open .el-drawer { transform: none; visibility: visible; box-shadow: -20px 0 50px rgba(0, 0, 0, .15); }
body.menu-open .el-overlay { opacity: 1; visibility: visible; }

/* ---------- Hero slider ---------- */

.el-hero { position: relative; background: var(--el-navy); overflow: hidden; }
.el-hero .swiper-slide { position: relative; min-height: min(calc(100vh - var(--el-header-h) - 44px), 820px); display: flex; align-items: center; overflow: hidden; }
.el-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.12); transition: transform 7s ease-out; }
.el-hero .swiper-slide-active .el-hero-bg { transform: scale(1); }
.el-hero .swiper-slide::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(3, 25, 34, .92) 0%, rgba(3, 25, 34, .72) 45%, rgba(3, 25, 34, .25) 100%);
}
.el-hero-content { position: relative; z-index: 2; padding: 120px 0 200px; max-width: 720px; }
.el-hero-content > * { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.el-hero .swiper-slide-active .el-hero-content > * { opacity: 1; transform: none; }
.el-hero .swiper-slide-active .el-hero-content > *:nth-child(2) { transition-delay: .15s; }
.el-hero .swiper-slide-active .el-hero-content > *:nth-child(3) { transition-delay: .3s; }
.el-hero .swiper-slide-active .el-hero-content > *:nth-child(4) { transition-delay: .45s; }
.el-hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  color: #fff; font-weight: 600; font-size: .9375rem; margin-bottom: 26px;
  backdrop-filter: blur(6px);
}
.el-hero-tag i { color: var(--el-red); }
.el-hero h1 { color: #fff; font-size: clamp(2.4rem, 1.2rem + 4.6vw, 5rem); line-height: 1.05; font-weight: 800; letter-spacing: -1px; margin-bottom: 24px; }
.el-hero h1 span { color: transparent; -webkit-text-stroke: 1.5px #fff; }
.el-hero p { color: #d3dde2; font-size: 1.1875rem; line-height: 1.7; max-width: 580px; margin-bottom: 36px; }
.el-hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

.el-hero-nav { position: absolute; z-index: 5; right: 0; left: 0; bottom: 150px; }
.el-hero-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.el-hero-pagination { display: flex; gap: 10px; position: static !important; width: auto !important; }
.el-hero-pagination .swiper-pagination-bullet {
  width: 42px; height: 4px; border-radius: 4px; margin: 0 !important;
  background: rgba(255, 255, 255, .35); opacity: 1; transition: all .3s ease;
}
.el-hero-pagination .swiper-pagination-bullet-active { background: var(--el-red); width: 70px; }
.el-hero-arrows { display: flex; gap: 12px; }
.el-hero-arrows button {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff;
  font-size: 20px; display: grid; place-items: center; transition: all .2s ease;
}
.el-hero-arrows button:hover { background: var(--el-red); border-color: var(--el-red); }

/* Tracking bar overlapping the hero */
.el-track-wrap { position: relative; z-index: 10; margin-top: -96px; }
.el-track {
  background: #fff;
  border-radius: var(--el-radius);
  box-shadow: 0 25px 60px rgba(3, 35, 48, .16);
  padding: 30px 34px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 34px;
  align-items: center;
}
.el-track-title { display: flex; align-items: center; gap: 16px; }
.el-track-title .icon { width: 58px; height: 58px; border-radius: 14px; background: var(--el-red); color: #fff; display: grid; place-items: center; font-size: 26px; flex-shrink: 0; }
.el-track-title h3 { font-size: 1.375rem; margin: 0 0 2px; }
.el-track-title p { margin: 0; font-size: .9375rem; }
.el-track-form { display: flex; gap: 12px; }
.el-track-form .input-wrap { position: relative; flex: 1; }
.el-track-form .input-wrap i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: #97a1ad; font-size: 20px; }
.el-track-form input {
  width: 100%; height: 58px; padding: 0 18px 0 50px;
  border: 1.5px solid var(--el-line); border-radius: 10px;
  font-size: 1rem; color: var(--el-navy); font-weight: 600; letter-spacing: .5px;
  background: var(--el-soft); transition: border-color .2s ease, background .2s ease;
}
.el-track-form input::placeholder { font-weight: 400; letter-spacing: 0; color: #97a1ad; }
.el-track-form input:focus { outline: none; border-color: var(--el-navy); background: #fff; }
.el-track-form .el-btn { height: 58px; }
.el-track-error { color: var(--el-red); font-size: .875rem; margin-top: 8px; display: none; }
.el-track-error.show { display: block; }

@media (max-width: 991px) {
  .el-hero-content { padding: 90px 0 190px; }
  .el-track { grid-template-columns: 1fr; padding: 24px; }
}
@media (max-width: 575px) {
  .el-hero .swiper-slide { min-height: 620px; }
  .el-hero-content { padding: 70px 0 180px; }
  .el-hero p { font-size: 1.0625rem; }
  .el-hero-buttons .el-btn { flex: 1; padding: 14px 18px; }
  .el-hero-nav { bottom: 128px; }
  .el-hero-arrows button { width: 44px; height: 44px; font-size: 17px; }
  .el-hero-pagination .swiper-pagination-bullet { width: 26px; }
  .el-hero-pagination .swiper-pagination-bullet-active { width: 44px; }
  .el-track-form { flex-direction: column; }
  .el-track-title .icon { width: 48px; height: 48px; font-size: 22px; }
}

/* ---------- Page banner (inner pages) ---------- */

.el-page-hero {
  position: relative;
  padding: 110px 0 100px;
  background: var(--el-navy) center / cover no-repeat;
  overflow: hidden;
}
.el-page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 25, 34, .94), rgba(3, 25, 34, .65)); }
.el-page-hero .container { position: relative; }
.el-page-hero h1 { color: #fff; font-weight: 800; margin-bottom: 14px; }
.el-page-hero p { color: #c6d2d8; max-width: 620px; font-size: 1.125rem; margin: 0 0 22px; }
.el-crumbs { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; font-weight: 600; font-size: .9375rem; }
.el-crumbs li { color: #fff; display: flex; align-items: center; gap: 10px; }
.el-crumbs li + li::before { content: '/'; color: var(--el-red); }
.el-crumbs a { color: #c6d2d8; }
.el-crumbs a:hover { color: #fff; }
@media (max-width: 575px) { .el-page-hero { padding: 80px 0 70px; } }

/* ---------- Stats ---------- */

.el-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.el-stat { text-align: center; padding: 34px 20px; border-radius: var(--el-radius); background: #fff; border: 1px solid var(--el-line); transition: all .3s ease; }
.el-stat:hover { transform: translateY(-6px); box-shadow: var(--el-shadow); border-color: transparent; }
.el-stat .icon { width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%; border-bottom-left-radius: 0; background: var(--el-red); display: grid; place-items: center; color: #fff; font-size: 30px; }
.el-stat:nth-child(even) .icon { background: var(--el-navy); }
.el-stat strong { display: block; font-family: var(--heading-font); font-size: 2.5rem; font-weight: 800; color: var(--el-navy); line-height: 1.1; }
.el-stat span { font-weight: 600; }
@media (max-width: 991px) { .el-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .el-stat strong { font-size: 2rem; } }

/* ---------- About block ---------- */

.el-about-media { position: relative; padding: 0 70px 70px 0; }
.el-about-media .main-img { border-radius: var(--el-radius); width: 100%; height: 520px; object-fit: cover; }
.el-about-media .sub-img { position: absolute; right: 0; bottom: 0; width: 55%; height: 260px; object-fit: cover; border-radius: var(--el-radius); border: 8px solid #fff; box-shadow: var(--el-shadow); }
.el-about-badge { position: absolute; left: 24px; bottom: 100px; background: var(--el-red); color: #fff; padding: 22px 26px; border-radius: var(--el-radius); box-shadow: 0 18px 40px rgba(223, 17, 24, .35); }
.el-about-badge strong { display: block; font-family: var(--heading-font); font-size: 2.6rem; line-height: 1; }
.el-about-badge span { font-weight: 600; font-size: .9375rem; }
.el-checks { list-style: none; margin: 26px 0 34px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; }
.el-checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--el-navy); }
.el-checks i { color: var(--el-red); font-size: 20px; margin-top: 1px; }
@media (max-width: 991px) {
  .el-about-media { margin-bottom: 30px; }
  .el-about-media .main-img { height: 420px; }
}
@media (max-width: 575px) {
  .el-about-media { padding: 0 30px 50px 0; }
  .el-about-media .main-img { height: 320px; }
  .el-about-media .sub-img { height: 160px; border-width: 5px; }
  .el-about-badge { left: 14px; bottom: 70px; padding: 14px 18px; }
  .el-about-badge strong { font-size: 2rem; }
  .el-checks { grid-template-columns: 1fr; }
}

/* ---------- Service cards ---------- */

.el-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.el-service {
  background: #fff; border-radius: var(--el-radius); overflow: hidden;
  border: 1px solid var(--el-line); transition: all .3s ease;
  display: flex; flex-direction: column;
}
.el-service:hover { transform: translateY(-6px); box-shadow: var(--el-shadow); border-color: transparent; }
.el-service-img { position: relative; height: 220px; overflow: hidden; }
.el-service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.el-service:hover .el-service-img img { transform: scale(1.07); }
.el-service-icon {
  position: absolute; left: 26px; bottom: -28px; width: 62px; height: 62px;
  border-radius: 14px; background: var(--el-red); color: #fff; display: grid; place-items: center;
  font-size: 28px; box-shadow: 0 12px 30px rgba(223, 17, 24, .35); z-index: 1;
}
.el-service-body { padding: 44px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.el-service-body h3 { font-size: 1.375rem; margin-bottom: 12px; }
.el-service-body p { margin-bottom: 20px; line-height: 1.7; }
.el-service-body ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.el-service-body li { display: flex; gap: 10px; align-items: center; font-weight: 500; color: var(--el-navy); font-size: .9375rem; }
.el-service-body li i { color: var(--el-red); }
.el-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--el-navy); }
.el-link:hover { color: var(--el-red); }
.el-service-img .el-service-icon { bottom: 16px; }
@media (max-width: 991px) { .el-services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .el-services { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */

.el-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.el-step { position: relative; padding: 34px 26px; border-radius: var(--el-radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: all .3s ease; }
.el-step:hover { background: rgba(255, 255, 255, .08); transform: translateY(-4px); }
.el-step .num { position: absolute; top: 22px; right: 24px; font-family: var(--heading-font); font-size: 2.6rem; font-weight: 800; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .25); line-height: 1; }
.el-step .icon { width: 60px; height: 60px; border-radius: 50%; background: var(--el-red); display: grid; place-items: center; color: #fff; font-size: 26px; margin-bottom: 22px; }
.el-step h4 { font-size: 1.25rem; margin-bottom: 10px; color: #fff; }
.el-step p { margin: 0; line-height: 1.7; }
@media (max-width: 991px) { .el-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .el-steps { grid-template-columns: 1fr; } }

/* ---------- Features / why us ---------- */

.el-feature { display: flex; gap: 18px; padding: 26px; border-radius: var(--el-radius); background: #fff; border: 1px solid var(--el-line); height: 100%; transition: all .3s ease; }
.el-feature:hover { box-shadow: var(--el-shadow); border-color: transparent; }
.el-feature .icon { width: 54px; height: 54px; border-radius: 12px; background: hsl(var(--main-h), var(--main-s), 96%); color: var(--el-red); display: grid; place-items: center; font-size: 24px; flex-shrink: 0; transition: all .3s ease; }
.el-feature:hover .icon { background: var(--el-red); color: #fff; }
.el-feature h4 { font-size: 1.1875rem; margin-bottom: 8px; }
.el-feature p { margin: 0; line-height: 1.7; font-size: .96875rem; }

.el-split-img { border-radius: var(--el-radius); width: 100%; height: 100%; min-height: 420px; object-fit: cover; }

/* ---------- Marquee ---------- */

.el-marquee { overflow: hidden; padding: 36px 0; border-top: 1px solid var(--el-line); border-bottom: 1px solid var(--el-line); background: #fff; }
.el-marquee-track { display: flex; gap: 60px; width: max-content; animation: el-marquee 38s linear infinite; }
.el-marquee:hover .el-marquee-track { animation-play-state: paused; }
.el-marquee-item { display: inline-flex; align-items: center; gap: 60px; font-family: var(--heading-font); font-weight: 800; font-size: clamp(2.5rem, 1.6rem + 3vw, 5rem); line-height: 1; color: var(--el-navy); white-space: nowrap; }
.el-marquee-item.stroke { color: transparent; -webkit-text-stroke: 1.5px var(--el-navy); }
.el-marquee-item i { color: var(--el-red); font-size: .5em; }
@keyframes el-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .el-marquee-track { animation: none; } }

/* ---------- CTA ---------- */

.el-cta { position: relative; border-radius: 20px; overflow: hidden; padding: 70px 60px; background: var(--el-red) center / cover no-repeat; }
.el-cta::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(223, 17, 24, .96), rgba(180, 12, 18, .82)); }
.el-cta > * { position: relative; }
.el-cta h2 { color: #fff; margin-bottom: 12px; }
.el-cta p { color: #ffe3e4; font-size: 1.125rem; margin: 0; }
.el-cta .el-btn-dark:hover { background: #fff; color: var(--el-navy); }
@media (max-width: 767px) { .el-cta { padding: 44px 26px; text-align: center; } .el-cta .el-btn { width: 100%; margin-top: 10px; } }

/* ---------- FAQ ---------- */

.el-faq .accordion-item { border: 1px solid var(--el-line); border-radius: 12px !important; overflow: hidden; margin-bottom: 14px; background: #fff; }
.el-faq .accordion-button { font-family: var(--heading-font); font-weight: 700; font-size: 1.125rem; color: var(--el-navy); padding: 22px 24px; background: #fff; box-shadow: none; }
.el-faq .accordion-button:not(.collapsed) { color: var(--el-red); background: #fff; }
.el-faq .accordion-button:focus { box-shadow: none; }
.el-faq .accordion-body { padding: 0 24px 22px; line-height: 1.75; }

/* ---------- Values / team style cards ---------- */

.el-card { background: #fff; border-radius: var(--el-radius); border: 1px solid var(--el-line); padding: 34px 28px; height: 100%; transition: all .3s ease; }
.el-card:hover { box-shadow: var(--el-shadow); border-color: transparent; transform: translateY(-4px); }
.el-card .icon { width: 64px; height: 64px; border-radius: 16px; background: var(--el-navy); color: #fff; display: grid; place-items: center; font-size: 28px; margin-bottom: 22px; }
.el-card:hover .icon { background: var(--el-red); }
.el-card h4 { font-size: 1.25rem; margin-bottom: 10px; }
.el-card p { margin: 0; line-height: 1.7; }

/* ---------- Contact ---------- */

.el-contact-card { display: flex; gap: 18px; padding: 26px; border-radius: var(--el-radius); background: #fff; border: 1px solid var(--el-line); height: 100%; }
.el-contact-card .icon { width: 56px; height: 56px; border-radius: 50%; background: var(--el-red); color: #fff; display: grid; place-items: center; font-size: 24px; flex-shrink: 0; }
.el-contact-card h5 { font-size: 1.125rem; margin-bottom: 6px; }
.el-contact-card p, .el-contact-card a { margin: 0; color: var(--el-text); line-height: 1.6; word-break: break-word; }
.el-contact-card a:hover { color: var(--el-red); }

.el-form { background: #fff; border-radius: 18px; padding: 44px; box-shadow: var(--el-shadow); }
.el-form label { display: block; font-weight: 600; color: var(--el-navy); margin-bottom: 8px; font-size: .9375rem; }
.el-form .form-control, .el-form select {
  width: 100%; border: 1.5px solid var(--el-line); background: var(--el-soft);
  border-radius: 10px; padding: 14px 16px; font-size: 1rem; color: var(--el-navy);
  transition: border-color .2s ease, background .2s ease;
}
.el-form .form-control:focus { outline: none; box-shadow: none; border-color: var(--el-navy); background: #fff; }
.el-form textarea.form-control { min-height: 150px; resize: vertical; }
.el-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.el-alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 22px; font-weight: 500; display: flex; gap: 10px; align-items: flex-start; }
.el-alert.success { background: #ecfdf5; color: #065f46; }
.el-alert.error { background: #fef2f2; color: #991b1b; }
.el-map { border-radius: var(--el-radius); overflow: hidden; height: 420px; border: 1px solid var(--el-line); }
.el-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.2); }
@media (max-width: 575px) { .el-form { padding: 26px 20px; } }

/* ---------- Footer ---------- */

.el-footer { background: var(--el-navy); color: #a9b9c1; position: relative; overflow: hidden; }
.el-footer::before {
  content: ''; position: absolute; inset: 0;
  background: url('../images/shapes/bg-pattern.png') center / cover no-repeat;
  opacity: .06; pointer-events: none;
}
.el-footer .container { position: relative; }
.el-footer-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: 56px 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.el-footer-cta h3 { color: #fff; margin: 0 0 6px; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem); }
.el-footer-cta p { margin: 0; }
.el-footer-main { padding: 70px 0 50px; }
.el-footer h5 { color: #fff; font-size: 1.25rem; margin-bottom: 24px; position: relative; padding-bottom: 14px; }
.el-footer h5::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--el-red); }
.el-footer p { line-height: 1.8; }
.el-footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.el-footer-links a { color: #a9b9c1; display: inline-flex; align-items: center; gap: 10px; transition: all .2s ease; }
.el-footer-links a i { color: var(--el-red); font-size: .8em; }
.el-footer-links a:hover { color: #fff; transform: translateX(4px); }
.el-footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.el-footer-contact li { display: flex; gap: 14px; align-items: flex-start; }
.el-footer-contact i { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .07); color: var(--el-red); display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.el-footer-contact a { color: #a9b9c1; word-break: break-word; }
.el-footer-contact a:hover { color: #fff; }
.el-footer-contact small { display: block; color: #fff; font-weight: 600; font-size: .875rem; margin-bottom: 2px; }
.el-footer .el-social { margin-top: 24px; }
.el-footer .el-social a { width: 42px; height: 42px; background: rgba(255, 255, 255, .07); color: #fff; font-size: 18px; }
.el-footer .el-social a:hover { background: var(--el-red); }
.el-footer-track { display: flex; margin-top: 18px; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, .07); }
.el-footer-track input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 14px 16px; color: #fff; font-size: .9375rem; }
.el-footer-track input::placeholder { color: #8ea2ab; }
.el-footer-track input:focus { outline: none; }
.el-footer-track button { border: 0; background: var(--el-red); color: #fff; padding: 0 18px; font-size: 18px; }
.el-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 24px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9375rem; }
.el-footer-bottom a { color: #a9b9c1; }
.el-footer-bottom a:hover { color: #fff; }
.el-footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* Back to top */
.el-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--el-red); color: #fff; font-size: 20px;
  display: grid; place-items: center;
  box-shadow: 0 10px 25px rgba(223, 17, 24, .35);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s ease;
}
.el-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Tracking page ---------- */

.el-track-form-hero { max-width: 680px; margin-top: 8px; }
.el-track-form-hero input { background: #fff; border-color: #fff; }
.el-tr-card { background: #fff; border-radius: var(--el-radius); border: 1px solid var(--el-line); padding: 28px; }
.el-tr-title { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.el-tr-title i { color: var(--el-red); font-size: 1.1rem; }
.el-tr-label { display: block; font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; color: #8a95a1; margin-bottom: 4px; }
.el-tr-summary { padding: 32px; box-shadow: var(--el-shadow); border: 0; }
.el-tr-summary-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.el-tr-number { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); letter-spacing: 1px; margin: 0; word-break: break-all; }
.el-tr-status { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 700; background: #eaf2ff; color: #1d4ed8; }
.el-tr-status.done { background: #ecfdf5; color: #047857; }
.el-tr-status.warn { background: #fff7ed; color: #c2410c; }
.el-tr-status.stopped { background: #fef2f2; color: #b91c1c; }
.el-tr-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin-bottom: 22px; }
.el-tr-route strong { font-family: var(--heading-font); font-size: 1.25rem; color: var(--el-navy); }
.el-tr-route-line { position: relative; height: 2px; background: repeating-linear-gradient(90deg, #cfd6de 0 8px, transparent 8px 14px); }
.el-tr-route-line i { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #fff; padding: 0 10px; color: var(--el-red); font-size: 1.2rem; }
.el-tr-progress { height: 10px; border-radius: 10px; background: #eef1f5; overflow: hidden; }
.el-tr-progress span { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--el-navy), var(--el-red)); transition: width 1s ease; }
.el-tr-progress.done span { background: #059669; }
.el-tr-progress.warn span { background: linear-gradient(90deg, var(--el-navy), #d97706); }
.el-tr-progress.stopped span { background: #9ca3af; }
.el-tr-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 10px; font-size: .8125rem; font-weight: 600; color: #a2abb5; }
.el-tr-steps span:nth-child(2) { text-align: center; }
.el-tr-steps span:nth-child(3) { text-align: center; }
.el-tr-steps span:last-child { text-align: right; }
.el-tr-steps .on { color: var(--el-navy); }
.el-tr-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px dashed var(--el-line); }
.el-tr-facts > div { position: relative; padding-left: 52px; }
.el-tr-facts i { position: absolute; left: 0; top: 2px; width: 40px; height: 40px; border-radius: 10px; background: hsl(var(--main-h), var(--main-s), 96%); color: var(--el-red); display: grid; place-items: center; }
.el-tr-facts strong { color: var(--el-navy); word-break: break-word; }
.el-tr-timeline { list-style: none; margin: 0; padding: 0; }
.el-tr-timeline li { position: relative; padding: 0 0 26px 34px; }
.el-tr-timeline li::before { content: ''; position: absolute; left: 8px; top: 20px; bottom: -2px; width: 2px; background: var(--el-line); }
.el-tr-timeline li:last-child { padding-bottom: 0; }
.el-tr-timeline li:last-child::before { display: none; }
.el-tr-timeline .dot { position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid #cfd6de; }
.el-tr-timeline li.latest .dot { border-color: var(--el-red); box-shadow: 0 0 0 5px hsl(var(--main-h), var(--main-s), 94%); }
.el-tr-timeline .head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; }
.el-tr-timeline .head strong { color: var(--el-navy); font-size: 1.0625rem; }
.el-tr-timeline li.latest .head strong { color: var(--el-red); }
.el-tr-timeline time { font-size: .875rem; color: #8a95a1; }
.el-tr-timeline .loc { display: flex; gap: 8px; align-items: center; margin-top: 4px; font-weight: 500; }
.el-tr-timeline .loc i { color: #a2abb5; }
.el-tr-timeline p { margin: 8px 0 0; background: var(--el-soft); border-radius: 8px; padding: 10px 14px; font-size: .9375rem; }
.el-tr-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin: 0; }
.el-tr-dl.one { grid-template-columns: 1fr; }
.el-tr-dl dt { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; color: #8a95a1; margin-bottom: 2px; }
.el-tr-dl dd { margin: 0; color: var(--el-navy); font-weight: 600; word-break: break-word; }
.el-tr-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.el-tr-gallery a { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.el-tr-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.el-tr-gallery a:hover img { transform: scale(1.06); }
.el-tr-empty { max-width: 640px; margin: 0 auto; text-align: center; background: #fff; border-radius: var(--el-radius); padding: 48px 28px; border: 1px solid var(--el-line); }
.el-tr-empty .icon { width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%; background: #fef2f2; color: var(--el-red); display: grid; place-items: center; font-size: 30px; }
.el-tr-empty h3 { margin-bottom: 10px; }
@media (max-width: 767px) {
  .el-tr-card, .el-tr-summary { padding: 22px 18px; }
  .el-tr-facts { grid-template-columns: 1fr; }
  .el-tr-steps { font-size: .6875rem; }
  .el-tr-route strong { font-size: 1.0625rem; }
}
@media print {
  .el-topbar, .el-header, .el-footer, .el-track-hero, .el-top, .el-map, .el-drawer, .el-overlay { display: none !important; }
  .el-section { padding: 0 !important; background: #fff !important; }
}

/* ---------- Route map ---------- */

.el-route-map { height: 440px; border-radius: 12px; overflow: hidden; border: 1px solid var(--el-line); z-index: 1; }
.el-map-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0; padding: 0; font-size: .875rem; font-weight: 600; color: var(--el-navy); }
.el-map-legend li { display: flex; align-items: center; gap: 8px; }
.el-map-legend .lg { width: 14px; height: 14px; border-radius: 50%; }
.el-map-legend .lg.origin { background: var(--el-navy); }
.el-map-legend .lg.current { background: var(--el-red); }
.el-map-legend .lg.planned { width: 22px; height: 0; border-radius: 0; border-top: 3px dashed #8a9aa5; }
.el-map-legend .lg.vehicle { background: var(--el-navy); }
.el-map-legend .lg.dest { background: var(--el-navy); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.el-pin-wrap { background: none; border: 0; }
.el-pin { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 15px; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(3, 35, 48, .35); }
.el-pin.origin { background: var(--el-navy); }
.el-pin.dest { background: #fff; color: var(--el-navy); border-color: var(--el-navy); }
.el-pin.current { background: var(--el-red); font-size: 18px; position: relative; }
.el-pin.current::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid var(--el-red); animation: el-pulse 1.8s ease-out infinite; }
@keyframes el-pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(2); opacity: 0; } }
.el-route-remaining { animation: el-dash 1.2s linear infinite; }
@keyframes el-dash { to { stroke-dashoffset: -18; } }
.leaflet-popup-content { font-family: var(--body-font); font-size: .875rem; line-height: 1.5; color: var(--el-navy); }
@media (max-width: 575px) { .el-route-map { height: 340px; } }
@media (prefers-reduced-motion: reduce) { .el-pin.current::after, .el-route-remaining { animation: none; } }
@media print { .el-route-map { display: block !important; height: 360px; } }
.el-map-legend .lg.travelled { width: 22px; height: 4px; border-radius: 4px; background: var(--el-red); }
.el-vehicle { width: 40px; height: 40px; border-radius: 50%; background: var(--el-navy); color: #fff; display: grid; place-items: center; font-size: 17px; border: 3px solid #fff; box-shadow: 0 8px 20px rgba(3, 35, 48, .4); }
.el-vehicle i { transition: none; }
.el-dest-pin { display: block; width: 44px; height: 56px; text-align: center; color: var(--el-navy); font-size: 50px; line-height: 56px; filter: drop-shadow(0 6px 8px rgba(3, 35, 48, .35)); animation: el-bob 1.6s ease-in-out infinite; }
@keyframes el-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.leaflet-tooltip.el-dest-label { background: var(--el-navy); color: #fff; border: 0; border-radius: 6px; font-weight: 700; font-size: .75rem; padding: 4px 9px; box-shadow: 0 4px 12px rgba(3, 35, 48, .3); }
.leaflet-tooltip.el-dest-label::before { border-top-color: var(--el-navy); }
.el-vehicle { transition: transform .15s linear; }
@media (prefers-reduced-motion: reduce) { .el-dest-pin { animation: none; } }
.el-pointer { display: block; width: 44px; height: 56px; text-align: center; font-size: 50px; line-height: 56px; filter: drop-shadow(0 6px 8px rgba(3, 35, 48, .35)); }
.el-pointer.origin { color: var(--el-navy); }
.el-pointer.dest { color: var(--el-red); animation: el-bob 1.6s ease-in-out infinite; }
.el-stop { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--el-red); color: var(--el-navy); font-weight: 800; font-size: 11px; display: grid; place-items: center; box-shadow: 0 3px 8px rgba(3, 35, 48, .25); }
.el-stop.current { background: var(--el-red); color: #fff; position: relative; }
.el-stop.current::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid var(--el-red); animation: el-pulse 1.8s ease-out infinite; }
.leaflet-tooltip.el-map-label { color: #fff; border: 0; border-radius: 6px; font-weight: 700; font-size: .75rem; padding: 4px 9px; box-shadow: 0 4px 12px rgba(3, 35, 48, .3); }
.leaflet-tooltip.el-map-label.origin { background: var(--el-navy); }
.leaflet-tooltip.el-map-label.origin::before { border-top-color: var(--el-navy); }
.leaflet-tooltip.el-map-label.dest { background: var(--el-red); }
.leaflet-tooltip.el-map-label.dest::before { border-top-color: var(--el-red); }
.el-map-legend .lg.pointer { width: 12px; height: 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.el-map-legend .lg.pointer.o { background: var(--el-navy); }
.el-map-legend .lg.pointer.d { background: var(--el-red); }
.el-map-legend .lg.stop { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--el-red); }
@media (prefers-reduced-motion: reduce) { .el-pointer.dest, .el-stop.current::after { animation: none; } }

/* Tracking page: scan code, large photos, 3-column details */
.el-tr-code { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px dashed var(--el-line); }
.el-tr-code img { height: 72px; max-width: 100%; object-fit: contain; }
.el-tr-code span { font-size: .75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #8a95a1; }
.el-tr-dl.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 767px) { .el-tr-dl.three { grid-template-columns: 1fr 1fr; } }
.el-tr-photo { display: block; border-radius: 12px; overflow: hidden; background: var(--el-soft); border: 1px solid var(--el-line); }
.el-tr-photo img { display: block; width: 100%; height: clamp(300px, 55vw, 560px); object-fit: contain; }
.el-tr-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; margin-top: 12px; }
.el-tr-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--el-soft); aspect-ratio: 1; cursor: pointer; }
.el-tr-thumbs button.active { border-color: var(--el-red); }
.el-tr-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
