﻿:root {
  --ep-primary: #143a6f;
  --ep-secondary: #1f5fa8;
  --ep-accent: #ef7f1a;
  --ep-dark: #0d1f34;
  --ep-muted: #5d6a7b;
  --ep-surface: #f3f7fb;
  --ep-border: rgba(20, 58, 111, 0.12);
}
body { color: #384655; }
#header .header-logo img { max-height: 52px; }
.custom-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}
.custom-brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  color: var(--ep-dark);
}
.custom-brand-text strong {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.custom-brand-text small {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ep-secondary);
}
.custom-brand-lockup-footer .custom-brand-text {
  color: #fff;
}
.custom-brand-lockup-footer .custom-brand-text small {
  color: rgba(255, 255, 255, 0.72);
}
.header-top { background: var(--ep-dark); color: #fff; }
.header-top a, .header-top strong { color: #fff !important; }
#mainNav .nav-link {
  position: relative;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.95rem !important;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
#mainNav .nav-link.active,
#mainNav > li > a.nav-link.active,
.header-nav-main nav > ul > li > a.nav-link.active {
  color: #d71818 !important;
  -webkit-text-fill-color: #d71818;
  background: transparent !important;
  box-shadow: none !important;
}
#mainNav .nav-link:hover {
  color: var(--ep-primary) !important;
  background: rgba(20, 58, 111, 0.08);
}
#mainNav .nav-link.active::after {
  content: '';
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: -0.15rem;
  height: 3px;
  border-radius: 999px;
  background: #d71818;
}
.custom-page-hero { position: relative; overflow: hidden; background-size: cover; background-position: center; }
.custom-page-hero::before { content: ''; position: absolute; inset: 0; background:
  linear-gradient(115deg, rgba(7, 18, 31, 0.92) 0%, rgba(13, 31, 52, 0.84) 34%, rgba(20, 58, 111, 0.58) 62%, rgba(13, 31, 52, 0.32) 100%),
  radial-gradient(circle at top right, rgba(239, 127, 26, 0.24) 0%, rgba(239, 127, 26, 0) 34%);
}
.custom-page-hero > .container { position: relative; z-index: 1; }
.custom-page-hero .col-lg-7 > * { max-width: 700px; }
.custom-page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 4.6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.custom-page-hero p {
  font-size: clamp(1.05rem, 1.2vw, 1.3rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92) !important;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}
.custom-hero-panel {
  background: linear-gradient(135deg, rgba(11, 29, 49, 0.82) 0%, rgba(20, 58, 111, 0.68) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 22px 45px rgba(4, 12, 24, 0.28);
  backdrop-filter: blur(10px);
}
.custom-hero-panel .custom-mini-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}
.custom-hero-panel .text-5 {
  color: #ffffff;
  line-height: 1.2;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}
.custom-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, rgba(239, 127, 26, 0.92) 0%, rgba(239, 127, 26, 0.68) 100%);
  box-shadow: 0 16px 30px rgba(239, 127, 26, 0.22);
}
.custom-eyebrow::before { content: ''; width: 34px; height: 2px; background: currentColor; }
.custom-stat-box, .custom-card, .custom-quote-card, .custom-contact-card, .custom-product-card { background: #fff; border: 1px solid var(--ep-border); border-radius: 18px; box-shadow: 0 18px 40px rgba(10, 32, 58, 0.08); }
.custom-stat-box { padding: 1.75rem; height: 100%; }
.custom-stat-box strong { display: block; font-size: 2.2rem; line-height: 1; color: var(--ep-primary); margin-bottom: 0.75rem; }
.custom-stat-section {
  position: relative;
}
.custom-stat-section::before,
.custom-stat-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 52px;
  z-index: 2;
  pointer-events: none;
}
.custom-stat-section::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}
.custom-stat-section::after {
  right: 0;
  background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}
.custom-stat-section .row.g-4 {
  position: relative;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.75rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.custom-stat-section .row.g-4::-webkit-scrollbar {
  display: none;
}
.custom-stat-section .row.g-4 > [class*='col-'] {
  flex: 0 0 280px;
  max-width: 280px;
}
.custom-stat-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ep-primary);
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(10, 32, 58, 0.18);
  z-index: 3;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.custom-stat-arrow:hover {
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(10, 32, 58, 0.22);
}
.custom-stat-arrow:focus-visible {
  outline: 2px solid rgba(31, 95, 168, 0.45);
  outline-offset: 2px;
}
.custom-stat-arrow-left {
  left: 8px;
}
.custom-stat-arrow-right {
  position: absolute;
  right: 8px;
}
.custom-surface { background: linear-gradient(180deg, #f8fbff 0%, #edf3f8 100%); }
.custom-card, .custom-contact-card, .custom-quote-card { padding: 2rem; height: 100%; }
.custom-product-card { position: relative; display: flex; flex-direction: column; overflow: hidden; height: 100%; min-height: 420px; }
.custom-product-card img { width: 100%; height: 100%; object-fit: cover; flex-shrink: 0; }
.custom-media-frame img { width: 100%; height: 100%; object-fit: cover; }
.custom-product-card .custom-product-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(13, 31, 52, 0.04) 0%, rgba(13, 31, 52, 0.78) 42%, rgba(13, 31, 52, 0.96) 100%);
  transform: translateY(calc(100% - 78px));
  transition: transform 0.35s ease;
}
.custom-product-card .custom-product-content h3,
.custom-product-card .custom-product-content p,
.custom-product-card .custom-product-content .custom-mini-label {
  color: #fff;
}
.custom-product-card .custom-product-content p {
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.custom-product-card:hover .custom-product-content,
.custom-product-card:focus-within .custom-product-content {
  transform: translateY(0);
}
.custom-product-card:hover .custom-product-content p,
.custom-product-card:focus-within .custom-product-content p {
  opacity: 1;
  transform: translateY(0);
}
.custom-material-visual-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}
.custom-media-frame { overflow: hidden; border-radius: 20px; box-shadow: 0 24px 60px rgba(10, 32, 58, 0.16); min-height: 320px; height: 100%; }
.custom-media-stack { position: relative; }
.custom-media-stack .custom-badge-box { position: absolute; right: 24px; bottom: 24px; padding: 1rem 1.25rem; border-radius: 16px; background: #fff; box-shadow: 0 14px 30px rgba(10, 32, 58, 0.18); }
.custom-icon-bullet { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: rgba(31, 95, 168, 0.1); color: var(--ep-primary); font-size: 1.2rem; }
.custom-check-list { list-style: none; padding: 0; margin: 0; }
.custom-check-list li { position: relative; padding-left: 28px; margin-bottom: 0.9rem; }
.custom-check-list li::before { content: '\f058'; font-family: 'Font Awesome 5 Free'; font-weight: 900; color: var(--ep-accent); position: absolute; left: 0; top: 1px; }
.custom-process-step { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.custom-process-step .custom-step-no { width: 44px; height: 44px; min-width: 44px; border-radius: 50%; background: var(--ep-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.custom-logo-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.custom-logo-chip { background: #fff; border: 1px solid var(--ep-border); border-radius: 16px; padding: 1rem; text-align: center; font-weight: 700; color: var(--ep-primary); }
.custom-quote-card { position: relative; }
.custom-quote-card::before { content: '\201C'; position: absolute; top: 18px; right: 20px; font-size: 3rem; line-height: 1; color: rgba(20, 58, 111, 0.08); font-family: Georgia, serif; }
.custom-contact-card i { color: var(--ep-accent); }
.custom-mini-label { color: var(--ep-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.custom-form-box { background: #fff; border-radius: 20px; padding: 2rem; box-shadow: 0 18px 40px rgba(10, 32, 58, 0.08); border: 1px solid var(--ep-border); }
.custom-form-box .form-control, .custom-form-box .form-select { min-height: 54px; border-radius: 12px; border-color: rgba(20, 58, 111, 0.16); }
.custom-form-box textarea.form-control { min-height: 150px; }
.custom-section-title { max-width: 760px; }
.custom-bg-dark-panel { background: linear-gradient(135deg, #102745 0%, #143a6f 100%); color: #fff; border-radius: 24px; }
.custom-bg-dark-panel p, .custom-bg-dark-panel li, .custom-bg-dark-panel .custom-mini-label { color: rgba(255, 255, 255, 0.82); }
#footer { background: #0c1b2d !important; }
#footer a, #footer p, #footer li { color: rgba(255, 255, 255, 0.72); }
#footer .social-icons a { color: #fff; }
.header-nav .custom-header-cta,
.header-column > .custom-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  min-width: 88px;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  background: #d71818 !important;
  border: 1px solid #d71818 !important;
  color: #ffffff !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 1 !important;
  visibility: visible !important;
  box-shadow: 0 8px 18px rgba(215, 24, 24, 0.22);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.header-nav .custom-header-cta:hover,
.header-column > .custom-header-cta:hover {
  background: #b51212 !important;
  border-color: #b51212 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(215, 24, 24, 0.28);
}
@media (max-width: 991px) {
  .custom-page-hero { background-position: center; }
  .custom-page-hero::before {
    background:
      linear-gradient(180deg, rgba(7, 18, 31, 0.9) 0%, rgba(13, 31, 52, 0.78) 54%, rgba(13, 31, 52, 0.58) 100%),
      radial-gradient(circle at top center, rgba(239, 127, 26, 0.18) 0%, rgba(239, 127, 26, 0) 44%);
  }
  .custom-page-hero h1 { font-size: clamp(2.3rem, 10vw, 3.5rem); }
  .custom-page-hero p { line-height: 1.65; }
  .custom-logo-strip { grid-template-columns: 1fr; }
  .custom-media-frame { min-height: 260px; }
  .custom-product-card {
    min-height: 360px;
  }
  .custom-product-card .custom-product-content {
    transform: translateY(0);
  }
  .custom-product-card .custom-product-content p {
    opacity: 1;
    transform: translateY(0);
  }
  .header-nav .custom-header-cta,
  .header-column > .custom-header-cta {
    min-height: 28px;
    min-width: 78px;
    padding: 0.24rem 0.68rem;
    font-size: 0.64rem;
  }
}
@media (max-width: 575px) {
  .custom-stat-section::before,
  .custom-stat-section::after {
    width: 28px;
  }
  .custom-stat-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.05rem;
  }
  .custom-stat-arrow-left {
    left: 4px;
  }
  .custom-stat-arrow-right {
    right: 4px;
  }
  .custom-brand-lockup {
    gap: 0.65rem;
  }
  .custom-brand-text strong {
    font-size: 1rem;
  }
  .custom-brand-text small {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }
}
