/* DGF Bootstrap theme — responsive + motion */
:root {
  --dgf-yellow: #ffcc00;
  --dgf-red: #d40511;
  --dgf-red-dark: #a6040e;
  --dgf-black: #1a1a1a;
  --dgf-dark: #333333;
  --dgf-muted: #6c6c6c;
  --dgf-border: #e5e5e5;
  --dgf-bg-soft: #f5f5f5;
  --dgf-font: "Delivery", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --dgf-nav-h: 4.25rem;
  --dgf-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dgf-duration: 0.45s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--dgf-font);
  color: var(--dgf-dark);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ASP.NET wraps the page in #form1 — that form must be the flex column,
   otherwise main { flex:1 } never fills the viewport and white shows under the footer */
form#form1 {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
}

main {
  flex: 1 0 auto;
  width: 100%;
}

a {
  color: var(--dgf-red);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--dgf-red-dark);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.container-dgf {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 992px) {
  .container-dgf {
    padding-inline: 1.5rem;
  }
}

/* —— Utility bar —— */
.dgf-utility {
  background: var(--dgf-black);
  color: #fff;
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .dgf-utility {
    font-size: 0.8125rem;
  }
}

.dgf-utility a {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.dgf-utility a:hover {
  color: var(--dgf-yellow);
  text-decoration: none;
}

.dgf-utility__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem 1rem;
  min-height: 2rem;
  padding-block: 0.3rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.dgf-utility__inner::-webkit-scrollbar {
  display: none;
}

.dgf-utility__inner a:nth-child(2),
.dgf-utility__inner a:nth-child(3) {
  display: none;
}

@media (min-width: 576px) {
  .dgf-utility__inner a:nth-child(2),
  .dgf-utility__inner a:nth-child(3) {
    display: inline;
  }
}

/* —— Header / nav —— */
.dgf-header {
  background: var(--dgf-yellow);
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.25s ease;
}

.dgf-header.is-scrolled {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.dgf-header__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--dgf-nav-h);
}

.dgf-logo {
  flex-shrink: 0;
  line-height: 0;
}

.dgf-logo img {
  height: 40px;
  width: auto;
  max-width: min(200px, 46vw);
  display: block;
  object-fit: contain;
  object-position: left center;
  transition: transform 0.25s var(--dgf-ease);
}

@media (min-width: 768px) {
  .dgf-logo img {
    height: 48px;
    max-width: 240px;
  }
}

.dgf-logo:hover img {
  transform: scale(1.03);
}

.dgf-nav {
  display: none;
  flex: 1;
  align-items: center;
  gap: 0.15rem;
  margin-left: 1rem;
}

@media (min-width: 992px) {
  .dgf-nav {
    display: flex;
  }
}

.dgf-nav > .nav-item {
  position: relative;
}

.dgf-nav > .nav-item > .nav-link {
  color: var(--dgf-black);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0;
  white-space: nowrap;
  position: relative;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Underline uses ::before so Bootstrap's caret can keep ::after */
.dgf-nav > .nav-item > .nav-link::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.35rem;
  height: 2px;
  background: var(--dgf-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--dgf-ease);
  pointer-events: none;
}

.dgf-nav > .nav-item > .nav-link:hover::before,
.dgf-nav > .nav-item > .nav-link:focus::before,
.dgf-nav > .nav-item.show > .nav-link::before {
  transform: scaleX(1);
}

.dgf-nav > .nav-item > .nav-link.dropdown-toggle {
  padding-right: 1.35rem;
}

.dgf-nav > .nav-item > .nav-link.dropdown-toggle::after {
  content: "";
  display: inline-block;
  position: static;
  margin-left: 0.4rem;
  vertical-align: 0.15em;
  border-top: 0.35em solid;
  border-right: 0.35em solid transparent;
  border-bottom: 0;
  border-left: 0.35em solid transparent;
  width: 0;
  height: 0;
  left: auto;
  right: auto;
  bottom: auto;
  background: none;
  transform: none;
  transition: transform 0.2s var(--dgf-ease);
}

.dgf-nav > .nav-item.show > .nav-link.dropdown-toggle::after {
  transform: rotate(180deg);
}

.dgf-nav > .nav-item > .nav-link:hover,
.dgf-nav > .nav-item > .nav-link:focus,
.dgf-nav > .nav-item.show > .nav-link {
  background: rgba(0, 0, 0, 0.08);
  color: var(--dgf-black);
  text-decoration: none;
}

/* Static placement — no Popper jump; opacity-only open animation */
.dgf-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  inset: auto auto auto 0 !important;
  transform: none !important;
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  padding: 1.25rem;
  min-width: 280px;
  animation: dgfDropdownIn 0.18s ease;
}

@keyframes dgfDropdownIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.dgf-nav .dropdown-item {
  color: var(--dgf-dark);
  font-weight: 600;
  border-radius: 0;
}

.dgf-nav .dropdown-item:hover,
.dgf-nav .dropdown-item:focus,
.dgf-nav .dropdown-item:active,
.dgf-nav .dropdown-item.active {
  color: var(--dgf-red);
  background: rgba(212, 5, 17, 0.08);
  outline: none;
  box-shadow: none;
}

.dgf-mega .mega-link:focus,
.dgf-mega .mega-link:active,
.dgf-mega .mega-link:visited {
  color: var(--dgf-dark);
  text-decoration: none;
  outline: none;
  box-shadow: none;
}

.dgf-mega .mega-link:focus,
.dgf-mega .mega-link:active {
  color: var(--dgf-red);
  background: rgba(212, 5, 17, 0.06);
}

.dgf-mega {
  --mega-pad: 1.5rem;
  width: min(920px, calc(100vw - 2rem));
  min-width: min(920px, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  padding: 0 !important;
  overflow: hidden;
  border-top: 3px solid var(--dgf-red) !important;
}

.dgf-mega .mega-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 0.95fr;
  gap: 0;
  min-height: 280px;
}

.dgf-mega .mega-col {
  padding: var(--mega-pad) 1.35rem;
  border-right: 1px solid var(--dgf-border);
}

.dgf-mega .mega-col:last-child {
  border-right: none;
}

.dgf-mega .mega-col--cta {
  background: linear-gradient(165deg, #fff8e0 0%, #ffe566 55%, var(--dgf-yellow) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.dgf-mega .mega-title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dgf-red);
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(212, 5, 17, 0.15);
}

.dgf-mega .mega-link {
  display: block;
  color: var(--dgf-dark);
  padding: 0.55rem 0.4rem;
  margin: 0 -0.4rem 0.15rem;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.25;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s var(--dgf-ease);
}

.dgf-mega .mega-link span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--dgf-muted);
  line-height: 1.35;
}

.dgf-mega .mega-link:hover {
  color: var(--dgf-red);
  background: rgba(212, 5, 17, 0.06);
  text-decoration: none;
  transform: translateX(3px);
}

.dgf-mega .mega-link:hover span {
  color: var(--dgf-dark);
}

.dgf-mega .mega-cta-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dgf-black);
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

.dgf-mega .mega-cta-copy {
  font-size: 0.85rem;
  color: var(--dgf-dark);
  margin: 0 0 1rem;
  line-height: 1.45;
}

.dgf-mega .mega-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.dgf-mega .mega-cta-actions .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.dgf-mega .mega-group + .mega-group {
  margin-top: 1.35rem;
}

@media (max-width: 991.98px) {
  .dgf-mega {
    width: auto;
    min-width: 0;
  }

  .dgf-mega .mega-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .dgf-mega .mega-col {
    border-right: none;
    border-bottom: 1px solid var(--dgf-border);
  }

  .dgf-mega .mega-col:last-child {
    border-bottom: none;
  }
}

.dgf-header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-dgf,
.btn-dgf-outline,
.btn-dgf-yellow {
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--dgf-ease), box-shadow 0.2s ease;
}

.btn-dgf {
  background: var(--dgf-red);
  border-color: var(--dgf-red);
  color: #fff;
  font-weight: 700;
  border-radius: 0;
  padding: 0.55rem 1.1rem;
}

.btn-dgf:hover,
.btn-dgf:focus {
  background: var(--dgf-red-dark);
  border-color: var(--dgf-red-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(212, 5, 17, 0.28);
}

.btn-dgf:active {
  transform: translateY(0);
}

.btn-dgf-outline {
  background: transparent;
  border: 2px solid var(--dgf-black);
  color: var(--dgf-black);
  font-weight: 700;
  border-radius: 0;
  padding: 0.5rem 1rem;
}

.btn-dgf-outline:hover {
  background: var(--dgf-black);
  color: var(--dgf-yellow);
}

.btn-dgf-yellow {
  background: var(--dgf-yellow);
  border-color: var(--dgf-yellow);
  color: var(--dgf-black);
  font-weight: 700;
  border-radius: 0;
}

.btn-dgf-yellow:hover {
  background: #e6b800;
  border-color: #e6b800;
  color: var(--dgf-black);
}

.navbar-toggler {
  border: 2px solid var(--dgf-black);
  border-radius: 0;
  padding: 0.35rem 0.5rem;
  transition: background 0.2s ease;
}

.navbar-toggler:hover {
  background: rgba(0, 0, 0, 0.06);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  width: 1.3rem;
  height: 1.3rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.form-control,
.form-select {
  border-radius: 0 !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control.is-invalid ~ .invalid-feedback,
.was-validated .form-control:invalid ~ .invalid-feedback {
  display: block;
}

.dgf-track-bar .invalid-feedback {
  display: none;
  color: var(--dgf-red);
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

.offcanvas-dgf {
  background: #fff;
  width: min(100%, 340px) !important;
}

.offcanvas-dgf .offcanvas-header {
  background: var(--dgf-yellow);
}

.offcanvas-dgf .nav-link {
  color: var(--dgf-black);
  font-weight: 700;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--dgf-border);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.offcanvas-dgf .nav-link:hover {
  color: var(--dgf-red);
  padding-left: 0.35rem;
  text-decoration: none;
}

/* —— Hero / stage —— */
.dgf-hero {
  position: relative;
  min-height: 280px;
  background: var(--dgf-dark) center / cover no-repeat;
  color: #fff;
  display: flex;
  align-items: flex-end;
}

@media (min-width: 768px) {
  .dgf-hero {
    min-height: 380px;
  }
}

@media (min-width: 1200px) {
  .dgf-hero {
    min-height: 440px;
  }
}

.dgf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.62) 100%);
}

.dgf-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1.5rem 0 1.75rem;
}

@media (min-width: 768px) {
  .dgf-hero__content {
    padding: 2.25rem 0 2.75rem;
  }
}

.dgf-track-bar {
  background: rgba(255, 255, 255, 0.97);
  color: var(--dgf-dark);
  padding: 1.1rem 1.15rem;
  max-width: 640px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  animation: dgfRiseIn 0.7s var(--dgf-ease) both;
}

@media (min-width: 576px) {
  .dgf-track-bar {
    padding: 1.25rem 1.5rem;
  }
}

.dgf-track-bar h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: var(--dgf-black);
}

@media (min-width: 576px) {
  .dgf-track-bar h2 {
    font-size: 1.35rem;
  }
}

.dgf-track-bar .form-control {
  border-radius: 0;
  border: 1px solid #bbb;
  min-height: 2.75rem;
}

.dgf-track-bar .form-control:focus {
  border-color: var(--dgf-red);
  box-shadow: 0 0 0 0.15rem rgba(212, 5, 17, 0.2);
}

/* Keep Bootstrap's width:1% + flex-grow so the field fills the bar */
.dgf-track-bar .input-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  gap: 0;
}

.dgf-track-bar .input-group > .form-control {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
}

.dgf-track-bar .input-group > .btn {
  flex: 0 0 auto;
  z-index: 2;
}

@media (max-width: 479.98px) {
  .dgf-track-bar .input-group {
    flex-direction: column;
    gap: 0.5rem;
  }

  .dgf-track-bar .input-group > .form-control,
  .dgf-track-bar .input-group > .btn {
    width: 100%;
    flex: 0 0 auto;
  }
}

.dgf-quicklinks {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .dgf-quicklinks {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.25rem;
  }
}

.dgf-quicklink {
  background: #fff;
  color: var(--dgf-dark);
  padding: 0.95rem 1rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  text-decoration: none;
  border-left: 4px solid var(--dgf-red);
  transition: box-shadow 0.25s ease, transform 0.25s var(--dgf-ease), border-color 0.2s ease;
  animation: dgfRiseIn 0.7s var(--dgf-ease) both;
}

.dgf-quicklink:nth-child(1) { animation-delay: 0.08s; }
.dgf-quicklink:nth-child(2) { animation-delay: 0.16s; }
.dgf-quicklink:nth-child(3) { animation-delay: 0.24s; }

.dgf-quicklink:hover {
  text-decoration: none;
  color: var(--dgf-dark);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  transform: translateY(-3px);
}

.dgf-quicklink img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  transition: transform 0.3s var(--dgf-ease);
}

@media (min-width: 576px) {
  .dgf-quicklink img {
    width: 40px;
    height: 40px;
  }
}

.dgf-quicklink:hover img {
  transform: scale(1.08);
}

.dgf-quicklink strong {
  display: block;
  color: var(--dgf-red);
  font-size: 0.95rem;
}

.dgf-quicklink span {
  font-size: 0.82rem;
  color: var(--dgf-muted);
}

/* —— Content sections —— */
.dgf-section {
  padding: 2.25rem 0;
}

@media (min-width: 768px) {
  .dgf-section {
    padding: 3.25rem 0;
  }
}

.dgf-section--alt {
  background: var(--dgf-bg-soft);
}

.dgf-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dgf-red);
  margin-bottom: 0.5rem;
}

.dgf-section h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--dgf-black);
  margin-bottom: 0.85rem;
}

.dgf-section p.lead-copy {
  font-size: 1rem;
  color: var(--dgf-dark);
  max-width: 40rem;
}

@media (min-width: 768px) {
  .dgf-section p.lead-copy {
    font-size: 1.05rem;
  }
}

.dgf-teaser-img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  display: block;
  transition: transform 0.55s var(--dgf-ease);
}

.dgf-section .col-lg-6:hover .dgf-teaser-img {
  transform: scale(1.02);
}

.dgf-service-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  display: grid;
  gap: 0.35rem 1.5rem;
}

@media (min-width: 576px) {
  .dgf-service-list {
    grid-template-columns: 1fr 1fr;
  }
}

.dgf-service-list li {
  position: relative;
  padding-left: 1.1rem;
  font-weight: 600;
}

.dgf-service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--dgf-red);
  border-radius: 50%;
}

.dgf-card-link {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--dgf-border);
  padding: 1.1rem;
  height: 100%;
  color: var(--dgf-dark);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.25s var(--dgf-ease);
}

.dgf-card-link:hover {
  border-color: var(--dgf-red);
  color: var(--dgf-dark);
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.dgf-card-link img {
  width: 44px;
  height: 44px;
  transition: transform 0.3s var(--dgf-ease);
}

.dgf-card-link:hover img {
  transform: scale(1.08) rotate(-3deg);
}

.dgf-card-link strong {
  display: block;
  color: var(--dgf-red);
  margin-bottom: 0.25rem;
}

.dgf-updates a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--dgf-border);
  color: var(--dgf-dark);
  font-weight: 700;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.dgf-updates a:hover {
  color: var(--dgf-red);
  text-decoration: none;
  padding-left: 0.35rem;
}

.dgf-story-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--dgf-border);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s var(--dgf-ease);
}

.dgf-story-card:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.dgf-story-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.55s var(--dgf-ease);
}

.dgf-story-card:hover img {
  transform: scale(1.05);
}

.dgf-story-card .body {
  padding: 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dgf-story-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.dgf-story-card a.more {
  margin-top: auto;
  font-weight: 700;
  color: var(--dgf-red);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.dgf-story-card a.more::after {
  content: "→";
  transition: transform 0.2s var(--dgf-ease);
}

.dgf-story-card a.more:hover::after {
  transform: translateX(4px);
}

/* —— About —— */
.dgf-page-title {
  background: linear-gradient(180deg, #f7f7f7 0%, #efefef 100%);
  padding: 1.5rem 0 1.25rem;
  border-bottom: 1px solid var(--dgf-border);
}

@media (min-width: 768px) {
  .dgf-page-title {
    padding: 2.25rem 0 1.75rem;
  }
}

.dgf-page-title h1 {
  font-size: clamp(1.55rem, 4vw, 2.5rem);
  font-weight: 800;
  margin: 0;
  color: var(--dgf-black);
}

.dgf-stats {
  display: grid;
  gap: 1.25rem;
  margin: 1.75rem 0;
}

@media (min-width: 768px) {
  .dgf-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
  }
}

.dgf-stat {
  border-left: 4px solid var(--dgf-yellow);
  padding-left: 1rem;
  transition: transform 0.25s var(--dgf-ease);
}

.dgf-stat:hover {
  transform: translateX(4px);
}

.dgf-stat .num {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--dgf-black);
  line-height: 1.1;
}

.dgf-stat .label {
  font-size: 0.9rem;
  color: var(--dgf-muted);
}

.dgf-video-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--dgf-black) center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dgf-video-placeholder .play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--dgf-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--dgf-ease), box-shadow 0.25s ease;
  animation: dgfPulse 2.4s ease-in-out infinite;
}

@media (min-width: 576px) {
  .dgf-video-placeholder .play {
    width: 72px;
    height: 72px;
  }
}

.dgf-video-placeholder .play:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 10px rgba(255, 204, 0, 0.25);
  animation: none;
}

.dgf-video-placeholder .play::after {
  content: "";
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--dgf-black);
  margin-left: 4px;
}

@keyframes dgfPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.45);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(255, 204, 0, 0);
  }
}

.dgf-division {
  text-align: center;
  padding: 1.1rem 0.65rem;
  height: 100%;
  transition: transform 0.25s var(--dgf-ease);
}

.dgf-division:hover {
  transform: translateY(-4px);
}

.dgf-division img {
  width: 48px;
  height: 48px;
  margin-bottom: 0.75rem;
  transition: transform 0.3s var(--dgf-ease);
}

@media (min-width: 768px) {
  .dgf-division img {
    width: 56px;
    height: 56px;
  }
}

.dgf-division:hover img {
  transform: scale(1.1);
}

.dgf-division h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.dgf-division p {
  font-size: 0.85rem;
  color: var(--dgf-muted);
  margin-bottom: 0.75rem;
}

.dgf-division a {
  font-weight: 700;
  font-size: 0.875rem;
}

/* —— Tracking —— */
.dgf-track-panel {
  background: #fff;
  border: 1px solid var(--dgf-border);
  padding: 1.15rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
  .dgf-track-panel {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
}

.dgf-track-panel .form-control {
  border-radius: 0;
  min-height: 3rem;
}

.dgf-track-panel .input-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  gap: 0;
}

.dgf-track-panel .input-group > .form-control {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
}

.dgf-track-panel .input-group > .btn {
  flex: 0 0 auto;
  z-index: 2;
}

@media (max-width: 479.98px) {
  .dgf-track-panel .input-group {
    flex-direction: column;
    gap: 0.5rem;
  }

  .dgf-track-panel .input-group > .form-control,
  .dgf-track-panel .input-group > .btn {
    width: 100%;
    flex: 0 0 auto;
  }
}

.dgf-result-header {
  background: var(--dgf-bg-soft);
  border: 1px solid var(--dgf-border);
  padding: 1.15rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .dgf-result-header {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

.dgf-result-header .status {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 800;
  color: var(--dgf-black);
  margin: 0.5rem 0;
}

.dgf-result-header .meta {
  font-size: 0.875rem;
  color: var(--dgf-muted);
  word-break: break-word;
}

.dgf-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 0;
}

.dgf-tabs::-webkit-scrollbar {
  display: none;
}

.dgf-tabs .nav-link {
  border-radius: 0;
  color: var(--dgf-dark);
  font-weight: 700;
  border: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  padding: 0.75rem 0.9rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.dgf-tabs .nav-link.active {
  color: var(--dgf-red);
  background: transparent;
  border-bottom-color: var(--dgf-red);
}

.dgf-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.dgf-timeline::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--dgf-border);
}

.dgf-timeline li {
  position: relative;
  padding: 0 0 1.5rem 2.25rem;
  opacity: 0;
  transform: translateX(-8px);
  animation: dgfTimelineIn 0.45s var(--dgf-ease) forwards;
}

.dgf-timeline li:nth-child(1) { animation-delay: 0.05s; }
.dgf-timeline li:nth-child(2) { animation-delay: 0.12s; }
.dgf-timeline li:nth-child(3) { animation-delay: 0.19s; }
.dgf-timeline li:nth-child(4) { animation-delay: 0.26s; }
.dgf-timeline li:nth-child(5) { animation-delay: 0.33s; }

@keyframes dgfTimelineIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.dgf-timeline li::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--dgf-red);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--dgf-red);
}

.dgf-timeline li:first-child::before {
  background: var(--dgf-yellow);
  box-shadow: 0 0 0 2px var(--dgf-yellow);
}

.dgf-timeline .when {
  font-size: 0.8rem;
  color: var(--dgf-muted);
}

.dgf-timeline .what {
  font-weight: 700;
  color: var(--dgf-black);
}

.dgf-details-table th {
  width: 40%;
  font-weight: 700;
  color: var(--dgf-muted);
  background: var(--dgf-bg-soft);
}

.table-responsive {
  -webkit-overflow-scrolling: touch;
}

.dgf-faq .accordion-button {
  font-weight: 700;
  color: var(--dgf-black);
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}

@media (min-width: 768px) {
  .dgf-faq .accordion-button {
    font-size: 1rem;
  }
}

.dgf-faq .accordion-button:not(.collapsed) {
  background: var(--dgf-bg-soft);
  color: var(--dgf-red);
}

.dgf-faq .accordion-item {
  border-radius: 0;
  border-color: var(--dgf-border);
}

.dgf-careers-band {
  background: var(--dgf-yellow);
  padding: 2rem 0;
}

@media (min-width: 768px) {
  .dgf-careers-band {
    padding: 2.75rem 0;
  }
}

.dgf-careers-band h2 {
  font-weight: 800;
  color: var(--dgf-black);
  font-size: clamp(1.3rem, 3vw, 1.85rem);
}

.dgf-careers-band .btn {
  width: 100%;
}

@media (min-width: 992px) {
  .dgf-careers-band .btn {
    width: auto;
  }
}

/* —— Footer —— */
.dgf-footer {
  background: var(--dgf-black);
  color: #ccc;
  padding: 2.25rem 0 1.25rem;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-top: auto;
  width: 100%;
}

@media (min-width: 768px) {
  .dgf-footer {
    padding: 3rem 0 1.5rem;
  }
}

.dgf-footer h4 {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.dgf-footer a {
  color: #ccc;
  text-decoration: none;
  display: block;
  padding: 0.2rem 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.dgf-footer a:hover {
  color: var(--dgf-yellow);
  text-decoration: none;
  padding-left: 0.2rem;
}

.dgf-footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.dgf-footer__social a {
  padding: 0;
  transition: transform 0.2s var(--dgf-ease);
}

.dgf-footer__social a:hover {
  padding-left: 0;
  transform: translateY(-2px);
}

.dgf-footer__social img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

.dgf-footer__legal {
  border-top: 1px solid #444;
  margin-top: 1.75rem;
  padding-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  align-items: center;
}

.dgf-footer__legal a {
  display: inline;
  padding: 0;
  font-size: 0.8rem;
}

.dgf-footer__legal a:hover {
  padding-left: 0;
}

.dgf-footer__brand {
  margin-top: 1.25rem;
}

.dgf-footer__brand img {
  height: 40px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
  object-position: left center;
}

/* —— Go to top —— */
.dgf-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  background: var(--dgf-red);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1040;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s var(--dgf-ease), background 0.2s ease;
}

@media (min-width: 768px) {
  .dgf-top {
    right: 1.25rem;
    bottom: 1.25rem;
  }
}

.dgf-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dgf-top:hover {
  background: var(--dgf-red-dark);
  transform: translateY(-2px);
}

.dgf-top svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* —— Scroll reveal —— */
.dgf-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dgf-duration) var(--dgf-ease), transform var(--dgf-duration) var(--dgf-ease);
}

.dgf-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.dgf-reveal-delay-1 { transition-delay: 0.08s; }
.dgf-reveal-delay-2 { transition-delay: 0.16s; }
.dgf-reveal-delay-3 { transition-delay: 0.24s; }

@keyframes dgfRiseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Reduced motion —— */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .dgf-reveal {
    opacity: 1;
    transform: none;
  }
}

/* —— Track-order server-bound UI —— */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--dgf-border);
  background: var(--dgf-bg-soft);
  color: var(--dgf-dark);
}
.status-pending { background: #f5f5f5; color: #666; border-color: #ddd; }
.status-intransit { background: rgba(212,5,17,0.08); color: var(--dgf-red); border-color: rgba(212,5,17,0.25); }
.status-outfordelivery { background: rgba(255,204,0,0.25); color: #8a6d00; border-color: rgba(255,204,0,0.5); }
.status-delivered { background: rgba(34,197,94,0.12); color: #15803d; border-color: rgba(34,197,94,0.3); }
.status-onhold { background: rgba(234,179,8,0.15); color: #a16207; border-color: rgba(234,179,8,0.35); }
.status-exception { background: rgba(239,68,68,0.12); color: #b91c1c; border-color: rgba(239,68,68,0.3); }

.timeline-step {
  position: relative;
  padding-left: 2.25rem;
  padding-bottom: 1.75rem;
}
.timeline-step::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0.55rem;
  bottom: -0.35rem;
  width: 2px;
  background: var(--dgf-border);
}
.timeline-step:last-child::before { display: none; }
.timeline-dot {
  position: absolute;
  left: 0.15rem;
  top: 0.4rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--dgf-border);
  z-index: 1;
}
.timeline-step.active .timeline-dot {
  background: var(--dgf-yellow);
  border-color: var(--dgf-yellow);
  box-shadow: 0 0 0 3px rgba(255,204,0,0.35);
}

table.trck { width: 100%; border-collapse: collapse; }
table.trck th, table.trck td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--dgf-border);
  vertical-align: top;
  font-size: 0.9rem;
}
table.trck th {
  width: 38%;
  font-weight: 700;
  color: var(--dgf-muted);
  background: var(--dgf-bg-soft);
  text-align: left;
}
table.trck .manifest-header {
  background: var(--dgf-yellow);
  color: var(--dgf-black);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  padding: 0.85rem 0.65rem;
}
.dgf-alert-error {
  display: block;
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(212,5,17,0.08);
  border: 1px solid rgba(212,5,17,0.25);
  color: var(--dgf-red);
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.dgf-stepper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  position: relative;
  padding: 0.5rem 0 2rem;
}
.dgf-stepper::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 1.35rem;
  height: 2px;
  background: var(--dgf-border);
}
.dgf-stepper__progress {
  position: absolute;
  left: 0;
  top: 1.35rem;
  height: 2px;
  background: var(--dgf-red);
  transition: width 0.6s var(--dgf-ease);
}
.dgf-step {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
}
.dgf-step__dot {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  background: #fff;
  border: 2px solid var(--dgf-border);
  color: var(--dgf-muted);
}
.dgf-step.is-done .dgf-step__dot,
.dgf-step.is-active .dgf-step__dot {
  background: var(--dgf-red);
  border-color: var(--dgf-red);
  color: #fff;
}
.dgf-step.is-active .dgf-step__dot {
  box-shadow: 0 0 0 4px rgba(212,5,17,0.18);
  transform: scale(1.08);
}
.dgf-step__label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dgf-muted);
}
.dgf-step.is-done .dgf-step__label,
.dgf-step.is-active .dgf-step__label {
  color: var(--dgf-black);
}
.dgf-map-frame {
  width: 100%;
  height: 320px;
  border: 0;
  background: var(--dgf-bg-soft);
}
@media (min-width: 768px) {
  .dgf-map-frame { height: 400px; }
}
