/* ===========================
   FOOTER — Kumaclouds
   =========================== */

._eSTTN25 {
  background: linear-gradient(to bottom, #00264d, #00172e);
  margin-top: 0;
  padding-top: 0; /* để CTA dính sát section phía trên */
  color: #fff;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  /* Clear floats from preceding sections */
  clear: both;
  position: relative;
  z-index: 5;
}

/* Container chung (căn theo max-width các section khác) */
._eSTTN25 .footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== CTA TOP ===== */
._eSTTN25 .footer-top {
  text-align: center;
  color: #fff;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
  background-color: #071a45; /* fallback */
}

._eSTTN25 .footer-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(4, 14, 44, 0.88) 0%,
      rgba(7, 24, 68, 0.74) 48%,
      rgba(12, 38, 108, 0.50) 100%
    ),
    var(--kc-hero-bg) center 65% / cover no-repeat;
  z-index: 0;
}

._eSTTN25 .footer-top .footer-inner {
  position: relative;
  z-index: 1;
}

._eSTTN25 .footer-top h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 12px;
}

._eSTTN25 .footer-top .brand {
  color: #93c5fd;
}

._eSTTN25 .footer-top .highlight {
  font-weight: 700;
  color: #ffffff;
}

._eSTTN25 .footer-top p {
  margin: 0 0 24px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
}

._eSTTN25 .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #2563eb;
  color: #fff;
  padding: 12px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

._eSTTN25 .cta-button:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.55);
}

/* ===== MAIN FOOTER ===== */

._eSTTN25 .footer-main {
  background-color: #061729;
  padding: 40px 0;
}

/* Grid layout — immune to float/flex pollution from loaded page CSS */
._eSTTN25 .footer-main-inner {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 48px;
  align-items: start;
}

/* Logo + company info */
._eSTTN25 .footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

._eSTTN25 .footer-logo img {
  width: 64px;
  margin-bottom: 10px;
}

._eSTTN25 .logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 16px;
}

._eSTTN25 .logo-text .main {
  color: #00bfff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

._eSTTN25 .logo-text .sub {
  color: #9ca3af;
  font-size: 12px;
  letter-spacing: 1.4px;
  margin-top: 2px;
}

._eSTTN25 .footer-contact {
  margin-bottom: 18px;
}

._eSTTN25 .footer-contact p {
  margin: 0 0 3px;
  color: #e5e7eb;
  font-size: 14px;
  line-height: 1.7;
}

._eSTTN25 .footer-contact a {
  color: #e5e7eb;
  font-size: 14px;
  line-height: 1.7;
}

._eSTTN25 .footer-contact a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

._eSTTN25 .footer-contact a:hover {
  border-color: #00bfff;
}

._eSTTN25 .footer-contact__icon {
  display: none;
}

._eSTTN25 .footer-contact__icon svg {
  width: 1em;
  height: 1em;
}


/* Social icons */
._eSTTN25 .social {
  display: flex;
  flex-direction: column;   /* text trên - icon dưới */
  align-items: flex-start;  /* hoặc center */
  gap: 10px;
}

._eSTTN25 .social .icons {
  display: flex;
  flex-direction: row;      /* icon nằm ngang */
  align-items: center;
  gap: 12px;                /* khoảng cách giữa các icon */
}

._eSTTN25 .social span {
  display: block;
  color: #00bfff;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
}

._eSTTN25 .social a {
  width: 44px;
  height: 44px;
  background: transparent;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

/* ICON SIZE CHUẨN – giúp đồng đều */
._eSTTN25 .social a img,
._eSTTN25 .social a svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

._eSTTN25 .social a:hover {
  /* background-color: #00bfff; */
  transform: translateY(-2px);
}

/* Links columns — 4-col grid */
._eSTTN25 .footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

._eSTTN25 .footer-links > div {
  text-align: left;
}

._eSTTN25 .footer-column {
  min-width: 0;
}

._eSTTN25 .footer-links h4 {
  color: #00bfff;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}

._eSTTN25 .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

._eSTTN25 .footer-links li {
  margin-bottom: 10px;
}

._eSTTN25 .footer-links a {
  text-decoration: none;
  color: #cbd5f5;
  font-size: 14px;
  text-align: left;
  display: block;
  transition: color 0.2s ease;
}

._eSTTN25 .footer-links a:hover {
  color: #ffffff;
}

/* ===== BOTTOM STRIP ===== */
._eSTTN25 .footer-bottom {
  margin-top: 0 !important;
  background-color: #03101f;
  padding: 16px 0 18px;
  text-align: center;
}

._eSTTN25 .footer-bottom p {
  color: #9ca3af;
  font-size: 13px;
  margin: 0;
}

/* ===== DMCA BADGE — dưới social, cột trái footer ===== */
._YBbl08H {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 16px;
}

._Pu899hs {
  color: #6b7280;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

._YBbl08H .dmca-badge img {
  display: block !important;
  height: 19px !important;
  width: auto !important;
  max-width: 144px !important;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  object-fit: contain !important;
}

._YBbl08H .dmca-badge:hover img {
  opacity: 1;
}

/* ===== Responsive ===== */

/* Tablet: stack logo above links, 3 visible footer columns */
@media (min-width: 641px) and (max-width: 1024px) {
  ._eSTTN25 .footer-main-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  ._eSTTN25 .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 32px;
    margin-top: 32px;
  }

  ._eSTTN25 .footer-column:not(.footer-column--tablet) {
    display: none;
  }
}

/* Mobile: tighter padding, 2-col links; visual upgrade aligned with menu/footer design mockups. */
@media (max-width: 640px) {
  ._eSTTN25 .footer-main-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  ._eSTTN25 {
    background:
      radial-gradient(circle at 80% 0%, rgba(37, 99, 235, 0.22), transparent 36%),
      linear-gradient(180deg, #031229 0%, #061a34 48%, #03101f 100%);
    padding-top: 30px;
  }

  ._eSTTN25 .footer-inner {
    padding: 0 20px;
  }

  ._eSTTN25 .footer-top {
    width: calc(100% - 40px);
    margin: 0 auto 28px;
    padding: 34px 22px 36px;
    border: 1px solid rgba(96, 165, 250, 0.34);
    border-radius: 22px;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.12),
      0 22px 60px rgba(0,0,0,0.22);
  }

  ._eSTTN25 .footer-top .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  ._eSTTN25 .footer-top h2 {
    font-size: clamp(1.15rem, 5.2vw, 1.4rem);
    line-height: 1.3;
    font-weight: 800;
    text-align: center;
    max-width: 100%;
    margin-bottom: 16px;
  }

  ._eSTTN25 .footer-top p {
    font-size: 0.96rem;
    line-height: 1.58;
    text-align: center;
    margin-bottom: 24px;
  }

  ._eSTTN25 .cta-button {
    align-self: center;
    margin-top: 2px;
    min-height: 56px;
    min-width: min(260px, 100%);
    padding: 0 26px;
    border-radius: 12px;
    font-size: 1rem;
    background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.24),
      0 14px 34px rgba(37,99,235,0.38);
  }

  ._eSTTN25 .footer-main {
    padding: 4px 0 32px;
    background: transparent;
  }

  ._eSTTN25 .footer-logo {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    align-items: center !important;
    text-align: center !important;
    padding: 30px 22px 28px;
    border: 1px solid rgba(96, 165, 250, 0.32);
    border-radius: 22px;
    background:
      radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.28), transparent 45%),
      linear-gradient(180deg, rgba(7, 24, 68, 0.78), rgba(3, 16, 31, 0.86));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 22px 58px rgba(0, 0, 0, 0.22);
  }

  ._eSTTN25 .footer-logo img {
    width: 72px;
    margin-bottom: 14px;
  }

  ._eSTTN25 .logo-text {
    align-items: center;
    text-align: center;
    margin-bottom: 14px;
  }

  ._eSTTN25 .logo-text .main {
    font-size: 1.45rem;
    color: #1fc7ff;
  }

  ._eSTTN25 .logo-text .sub {
    font-size: 0.78rem;
    color: rgba(226, 232, 240, 0.86);
    letter-spacing: 0.34em;
  }

  ._eSTTN25 .footer-contact {
    position: relative;
    display: grid;
    justify-items: start;
    width: min(100%, 330px);
    margin: 8px 0 22px;
    padding-top: 22px;
    border-top: 0;
    text-align: left;
  }

  ._eSTTN25 .footer-contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 92%;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.95), transparent);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.82);
  }

  ._eSTTN25 .footer-contact p:first-child {
    justify-self: center;
    text-align: center;
    margin-bottom: 10px;
  }

  ._eSTTN25 .footer-contact p,
  ._eSTTN25 .footer-contact a {
    font-size: 0.86rem;
    line-height: 1.75;
  }

  ._eSTTN25 .footer-contact p {
    overflow-wrap: anywhere;
  }

  ._eSTTN25 .footer-contact p:not(:first-child) {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 10px;
    align-items: start;
    width: 100%;
    margin-bottom: 8px;
  }

  ._eSTTN25 .footer-contact__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #38bdf8;
    transform: translateY(2px);
  }

  ._eSTTN25 .footer-contact__icon svg {
    width: 18px;
    height: 18px;
  }

  ._eSTTN25 .social {
    position: relative;
    width: 100%;
    align-items: center;
    padding-top: 22px;
    border-top: 0;
  }

  ._eSTTN25 .social::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 92%;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.95), transparent);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.82);
  }

  ._eSTTN25 .social span {
    font-size: 0.98rem;
    font-weight: 800;
  }

  ._eSTTN25 .social a {
    width: 42px;
    height: 42px;
    border-radius: 999px;
  }

  ._eSTTN25 .footer-column:not(.footer-column--mobile) {
    display: none;
  }

  ._eSTTN25 .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    width: min(100%, 310px);
    margin-left: auto;
    margin-right: auto;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid rgba(96, 165, 250, 0.14);
  }

  ._eSTTN25 .footer-links h4 {
    position: relative;
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: #22c7ff;
  }

  ._eSTTN25 .footer-links h4::after {
    content: "";
    display: block;
    width: 44px;
    height: 1px;
    margin-top: 8px;
    background: linear-gradient(90deg, #38bdf8, transparent);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.9);
  }

  ._eSTTN25 .footer-links li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 12px;
  }

  ._eSTTN25 .footer-links li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2f8cff;
  }

  ._eSTTN25 .footer-links a {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  ._eSTTN25 .footer-bottom {
    width: calc(100% - 40px);
    margin: 0 auto !important;
    padding: 18px 12px;
    border: 1px solid rgba(96, 165, 250, 0.22);
    border-radius: 999px;
    background: rgba(7, 24, 68, 0.58);
  }

  ._eSTTN25 .footer-bottom p {
    font-size: 0.76rem;
    line-height: 1.55;
  }

  ._YBbl08H {
    position: relative;
    width: 100%;
    align-items: center;
    padding-top: 18px;
    margin-top: 0;
  }

  ._YBbl08H::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 92%;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.95), transparent);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.82);
  }

  ._Pu899hs {
    font-size: 0.72rem;
  }

  ._YBbl08H .dmca-badge img {
    height: 18px !important;
    width: auto !important;
    max-width: 144px !important;
  }

  ._eSTTN25 .footer-links {
    gap: 16px 20px;
  }
}

