/* =========================================
   FOOTER — ONT Institutional / Premium
   Scoped: .ont-footer
========================================= */

.ont-footer {
  --ft-brown: #391a00;
  --ft-orange: #ef8e01;
  --ft-teal: #009e96;
  --ft-text: rgba(255, 255, 255, 0.92);
  --ft-text-soft: rgba(255, 255, 255, 0.76);
  --ft-text-dim: rgba(255, 255, 255, 0.58);
  --ft-line: rgba(255, 255, 255, 0.10);
  --ft-line-soft: rgba(255, 255, 255, 0.06);
  --ft-glass: rgba(255, 255, 255, 0.035);
  --ft-glass-2: rgba(255, 255, 255, 0.05);
  --ft-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);

  position: relative;
  color: var(--ft-text);
  background:
    radial-gradient(circle at 10% 15%, rgba(239, 142, 1, 0.12), transparent 36%),
    radial-gradient(circle at 88% 85%, rgba(0, 158, 150, 0.12), transparent 34%),
    linear-gradient(180deg, #1b130d 0%, #120d09 100%);
  overflow: clip;
}

.ont-footer .footer-section {
  position: relative;
  padding-block: 2.2rem 1.1rem;
  background: transparent;
}

.ont-footer .footer-deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
}
.ont-footer .footer-deco--1 {
  top: -1.15rem;
  right: -1rem;
}
.ont-footer .footer-deco--2 {
  bottom: 2.8rem;
  left: -0.75rem;
  transform: rotate(180deg);
  opacity: 0.12;
}

.ont-footer .footer-mark {
  display: block;
}
.ont-footer .footer-mark--sm {
  width: 22px;
  height: 16px;
  opacity: 0.95;
  flex: 0 0 auto;
}
.ont-footer .footer-mark--lg {
  width: 84px;
  height: 60px;
}

.ont-footer .container-footer,
.ont-footer .content-footer {
  position: relative;
  z-index: 1;
}

/* =========================
   TOP FOOTER GRID
========================= */
.ont-footer .top-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.ont-footer .top-footer-items {
  min-width: 0;
  border: 1px solid var(--ft-line-soft);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--ft-glass-2), var(--ft-glass));
  box-shadow: var(--ft-shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
}

.ont-footer .top-footer-items--brand {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.025)),
    radial-gradient(circle at 12% 12%, rgba(239,142,1,0.10), transparent 60%),
    radial-gradient(circle at 88% 90%, rgba(0,158,150,0.09), transparent 58%);
}

.ont-footer .top-footer-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.8rem 0.85rem;
  border-bottom: 1px solid var(--ft-line-soft);
  background: rgba(255, 255, 255, 0.02);
}

.ont-footer .top-footer-title .title_1 {
  margin: 0;
  color: var(--ft-text);
  font-family: "Manrope", "Avenir Next", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
}

.ont-footer .top-footer-title--brand .title_1 {
  letter-spacing: 0.08em;
}

.ont-footer .top-footer-item {
  padding: 0.85rem;
  display: grid;
  gap: 0.55rem;
}

/* =========================
   BRAND COLUMN
========================= */
.ont-footer .top-footer-item-img {
  display: block;
  width: 86px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
}

.ont-footer .footer-brand-text {
  margin: 0;
  color: var(--ft-text-soft);
  font-size: 0.82rem;
  line-height: 1.6;
  max-width: 42ch;
}

.ont-footer .footer-brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.ont-footer .footer-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 158, 150, 0.28);
  background: rgba(0, 158, 150, 0.08);
  color: #9ff1eb;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: "Manrope", "Avenir Next", sans-serif;
  white-space: nowrap;
}

.ont-footer .footer-chip--soft {
  border-color: rgba(239, 142, 1, 0.28);
  background: rgba(239, 142, 1, 0.08);
  color: #ffd596;
}

/* subtle footer chart accent */
.ont-footer .footer-brand-graph {
  position: relative;
  margin-top: 0.15rem;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}

.ont-footer .footer-brand-graph__line {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(239,142,1,0.6), rgba(0,158,150,0.65));
}

.ont-footer .footer-brand-graph__dot {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.85);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.03);
}
.ont-footer .footer-brand-graph__dot--1 { left: 18%; background: var(--ft-orange); }
.ont-footer .footer-brand-graph__dot--2 { left: 52%; background: #c87b0a; }
.ont-footer .footer-brand-graph__dot--3 { left: 84%; background: var(--ft-teal); }

/* =========================
   LINKS COLUMNS
========================= */
.ont-footer .top-footer-links {
  min-width: 0;
}

.ont-footer .top-footer-link {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.4rem;
  color: var(--ft-text-soft);
  text-decoration: none;
  font-size: 0.82rem;
  line-height: 1.5;
  transition: color 0.22s ease, transform 0.22s ease;
  max-width: 100%;
  word-break: break-word;
}

.ont-footer .top-footer-link::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 0.42rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--ft-orange), var(--ft-teal));
  flex: 0 0 auto;
  opacity: 0.9;
}

.ont-footer .top-footer-link:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.ont-footer .top-footer-link:focus-visible {
  outline: 2px solid rgba(0, 158, 150, 0.6);
  outline-offset: 3px;
  border-radius: 4px;
}

.ont-footer .footer-address {
  margin: 0;
  color: var(--ft-text-soft);
  font-style: normal;
  font-size: 0.82rem;
  line-height: 1.55;
}

/* =========================
   SOCIALS
========================= */
.ont-footer .top-footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.1rem;
}

.ont-footer .top-footer-socials a {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  color: var(--ft-text);
  border: 1px solid rgba(255,255,255,0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
  overflow: hidden;
}

.ont-footer .top-footer-socials a::after {
  content: "";
  position: absolute;
  top: -10%;
  left: -65%;
  width: 42%;
  height: 120%;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.22) 45%,
    rgba(255,255,255,0.42) 50%,
    rgba(255,255,255,0.16) 60%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}

.ont-footer .top-footer-socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 158, 150, 0.35);
  background: rgba(255,255,255,0.07);
}
.ont-footer .top-footer-socials a:hover::after {
  opacity: 1;
  animation: footerShine 0.9s ease forwards;
}

.ont-footer .top-footer-socials i {
  font-size: 1.5rem;
  line-height: 1;
}

@keyframes footerShine {
  from { left: -65%; }
  to { left: 130%; }
}

/* =========================
   BOTTOM FOOTER
========================= */
.ont-footer .bottom-footer {
  margin-top: 0.75rem;
  border-top: 1px solid var(--ft-line);
  padding-top: 0.75rem;

  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.ont-footer .footer-bottom-items {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ont-footer .footer-bottom-items--center {
  text-align: center;
}
.ont-footer .footer-bottom-items--right {
  align-items: flex-start;
}

.ont-footer .footer-bottom-link {
  color: var(--ft-text-dim);
  text-decoration: none;
  font-size: 0.76rem;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.ont-footer a.footer-bottom-link:hover {
  color: var(--ft-text);
}

.ont-footer .footer-backtop {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 34px;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  color: var(--ft-text-soft);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ont-footer .footer-backtop:hover {
  transform: translateY(-1px);
  color: #fff;
  border-color: rgba(239,142,1,0.35);
}

/* =========================================
   MEDIA QUERIES (your global structure)
========================================= */

@media (min-width: 576px) {
  .ont-footer .footer-section {
    padding-block: 2.45rem 1.15rem;
  }

  .ont-footer .top-footer {
    gap: 0.8rem;
  }

  .ont-footer .top-footer-items {
    border-radius: 18px;
  }

  .ont-footer .top-footer-title {
    padding: 0.85rem 0.95rem;
  }

  .ont-footer .top-footer-item {
    padding: 0.95rem;
  }

  .ont-footer .top-footer-item-img {
    width: 92px;
  }

  .ont-footer .footer-brand-text,
  .ont-footer .top-footer-link,
  .ont-footer .footer-address {
    font-size: 0.84rem;
  }
}

@media (min-width: 768px) {
  .ont-footer .footer-section {
    padding-block: 2.7rem 1.2rem;
  }

  .ont-footer .top-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .ont-footer .top-footer-items--brand {
    grid-column: 1 / -1;
  }

  .ont-footer .top-footer-item-img {
    width: 98px;
  }

  .ont-footer .bottom-footer {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    padding-top: 0.85rem;
  }

  .ont-footer .footer-bottom-items--center {
    text-align: left;
  }
}

@media (min-width: 992px) {
  .ont-footer .footer-section {
    padding-block: 3rem 1.25rem;
  }

  .ont-footer .top-footer {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 0.9rem;
  }

  .ont-footer .top-footer-items--brand {
    grid-column: auto;
  }

  .ont-footer .top-footer-title .title_1 {
    font-size: 0.8rem;
  }

  .ont-footer .top-footer-item {
    gap: 0.58rem;
  }

  .ont-footer .top-footer-item-img {
    width: 100px;
  }

  .ont-footer .bottom-footer {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.8rem;
  }

  .ont-footer .footer-bottom-items--left {
    align-items: flex-start;
  }

  .ont-footer .footer-bottom-items--center {
    align-items: center;
    text-align: center;
  }

  .ont-footer .footer-bottom-items--right {
    align-items: flex-end;
  }

  .ont-footer .footer-bottom-link {
    font-size: 0.77rem;
  }
}

@media (min-width: 1200px) {
  .ont-footer .footer-section {
    padding-block: 3.2rem 1.35rem;
  }

  .ont-footer .top-footer {
    gap: 1rem;
  }

  .ont-footer .top-footer-items {
    border-radius: 20px;
  }

  .ont-footer .top-footer-title {
    padding: 0.95rem 1rem;
  }

  .ont-footer .top-footer-item {
    padding: 1rem;
  }

  .ont-footer .top-footer-item-img {
    width: 110px;
  }

  .ont-footer .footer-brand-text {
    font-size: 0.86rem;
  }

  .ont-footer .top-footer-link,
  .ont-footer .footer-address {
    font-size: 0.84rem;
  }

  .ont-footer .top-footer-socials a {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 1400px) {
  .ont-footer .footer-section {
    padding-block: 3.45rem 1.45rem;
  }

  .ont-footer .top-footer {
    gap: 1.05rem;
  }

  .ont-footer .top-footer-items {
    border-radius: 22px;
  }

  .ont-footer .top-footer-title .title_1 {
    font-size: 0.82rem;
  }

  .ont-footer .top-footer-item-img {
    width: 116px;
  }

  .ont-footer .footer-brand-text {
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .ont-footer .footer-bottom-link,
  .ont-footer .footer-backtop {
    font-size: 0.78rem;
  }
}