/* HCD Footer - độc lập với CSS Flatsome */
.hcd-section.hcd-footer,
.hcd-section.hcd-footer * {
  box-sizing: border-box;
}

.hcd-section.hcd-footer {
  --hcd-green: #087a3e;
  --hcd-green-dark: #073b26;
  --hcd-green-deep: #052f20;
  --hcd-yellow: #ffd528;
  --hcd-cream: #fffdf5;
  --hcd-pale-yellow: #fff7c7;
  --hcd-white: #fff;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--hcd-white);
  background: var(--hcd-green);
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}

.hcd-section.hcd-footer a {
  color: inherit;
  text-decoration: none;
}

.hcd-section.hcd-footer svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hcd-section.hcd-footer h2,
.hcd-section.hcd-footer h3,
.hcd-section.hcd-footer p,
.hcd-section.hcd-footer ul {
  margin: 0;
  padding: 0;
}

.hcd-footer__sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.hcd-footer__signup {
  position: relative;
  z-index: 1;
  padding: 38px 24px 62px;
  color: var(--hcd-green-dark);
  background: var(--hcd-cream);
}

.hcd-footer__signup::after {
  position: absolute;
  right: -2%;
  bottom: -27px;
  left: -2%;
  height: 58px;
  content: "";
  background: var(--hcd-green);
  border-top: 8px solid var(--hcd-yellow);
  border-radius: 50% 50% 0 0 / 34% 34% 0 0;
}

.hcd-footer__signup-inner,
.hcd-footer__container,
.hcd-footer__bottom-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.hcd-footer__signup-inner {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(520px, 1.15fr);
  gap: 64px;
  align-items: center;
}

.hcd-footer__signup-copy h2 {
  color: var(--hcd-green-dark);
  font-size: clamp(28px, 2.4vw, 42px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.6px;
  text-transform: uppercase;
}

.hcd-footer__signup-copy p {
  margin-top: 8px;
  color: #315d49;
  font-size: 17px;
}

.hcd-footer__signup-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 0;
}

.hcd-footer__input-icon {
  position: absolute;
  z-index: 1;
  left: 21px;
  top: 50%;
  width: 22px;
  color: #577063;
  transform: translateY(-50%);
}

.hcd-footer__signup-form input {
  width: 100%;
  height: 62px;
  margin: 0;
  padding: 0 20px 0 56px;
  color: var(--hcd-green-dark);
  background: var(--hcd-pale-yellow);
  border: 1px solid rgba(7, 59, 38, .08);
  border-radius: 18px;
  outline: 0;
  box-shadow: none;
  font: inherit;
}

.hcd-footer__signup-form input:focus {
  border-color: var(--hcd-green);
  box-shadow: 0 0 0 3px rgba(8, 122, 62, .14);
}

.hcd-footer__signup-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 62px;
  margin: 0;
  padding: 0 30px;
  color: var(--hcd-white);
  background: var(--hcd-green-dark);
  border: 0;
  border-radius: 18px;
  box-shadow: 0 9px 22px rgba(7, 59, 38, .2);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease;
}

.hcd-footer__signup-form button:hover {
  background: #0b5034;
  transform: translateY(-2px);
}

.hcd-footer__signup-form button span {
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.hcd-footer__main {
  position: relative;
  padding: 72px 24px 38px;
  background:
    radial-gradient(circle at 94% 7%, rgba(255, 213, 40, .1), transparent 22%),
    linear-gradient(135deg, #087a3e 0%, #04854a 55%, #08743c 100%);
}

.hcd-footer__intro {
  display: grid;
  grid-template-columns: minmax(310px, .82fr) minmax(600px, 1.5fr);
  gap: 58px;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
}

.hcd-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--hcd-white);
  font-size: clamp(27px, 2.3vw, 39px);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.5px;
}

.hcd-footer__logo-mark {
  width: 68px;
  color: var(--hcd-yellow);
}

.hcd-footer__logo-mark svg {
  fill: currentColor;
  stroke: none;
}

.hcd-footer__brand > p {
  max-width: 390px;
  margin-top: 14px;
  color: rgba(255, 255, 255, .9);
}

.hcd-footer__email {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  font-weight: 700;
}

.hcd-footer__email svg {
  width: 23px;
}

.hcd-footer__benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 62px);
  justify-items: center;
}

.hcd-footer__benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 154px;
  aspect-ratio: 1;
  padding: 18px;
  color: var(--hcd-green-dark);
  text-align: center;
  text-transform: uppercase;
  background: var(--hcd-yellow);
  border: 5px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--hcd-yellow), 0 12px 28px rgba(4, 48, 29, .18);
}

.hcd-footer__benefit svg {
  width: 35px;
  height: 35px;
  margin-bottom: 9px;
  stroke-width: 2;
}

.hcd-footer__benefit strong {
  font-size: 17px;
  line-height: 1.18;
}

.hcd-footer__content {
  display: grid;
  grid-template-columns: .8fr .95fr 1.35fr 1.15fr;
  gap: 28px;
  padding-top: 32px;
}

.hcd-footer__links {
  min-width: 0;
  padding-right: 22px;
  border-right: 1px solid rgba(255, 255, 255, .28);
}

.hcd-footer__links h3,
.hcd-footer__social h3 {
  margin-bottom: 14px;
  color: var(--hcd-yellow);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
}

.hcd-footer__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  color: rgba(255, 255, 255, .9);
  transition: color .2s ease, transform .2s ease;
}

.hcd-footer__links a:hover {
  color: var(--hcd-yellow);
  transform: translateX(3px);
}

.hcd-footer__links a span {
  font-size: 24px;
  line-height: 1;
}

.hcd-footer__locations {
  position: relative;
  min-height: 236px;
  padding: 22px 22px 18px;
  color: var(--hcd-green-dark);
  background: var(--hcd-cream);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(4, 50, 30, .13);
}

.hcd-footer__locations-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.hcd-footer__locations-head > svg {
  flex: 0 0 34px;
  width: 34px;
  fill: var(--hcd-green-dark);
  stroke: none;
}

.hcd-footer__locations h3 {
  color: var(--hcd-green-dark);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.hcd-footer__locations p {
  margin-top: 3px;
  color: #49705c;
  font-size: 13px;
}

.hcd-footer__locations ul {
  position: relative;
  margin: 12px 0 0 51px;
  list-style: none;
}

.hcd-footer__locations ul::before {
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: -21px;
  width: 2px;
  content: "";
  background: rgba(7, 59, 38, .45);
}

.hcd-footer__locations li {
  position: relative;
  margin: 3px 0;
  font-size: 14px;
}

.hcd-footer__locations li::before {
  position: absolute;
  top: 7px;
  left: -26px;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--hcd-yellow);
  border: 2px solid var(--hcd-green-dark);
  border-radius: 50%;
}

.hcd-footer__outline-button {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding: 8px 13px;
  color: var(--hcd-green-dark) !important;
  border: 1.5px solid var(--hcd-green);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}

.hcd-footer__contact {
  min-width: 0;
}

.hcd-footer__hotline {
  display: flex;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 17px 18px;
  color: var(--hcd-green-dark) !important;
  background: var(--hcd-yellow);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(4, 50, 30, .16);
}

.hcd-footer__hotline-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--hcd-yellow);
  background: var(--hcd-green-dark);
  border-radius: 50%;
}

.hcd-footer__hotline-icon svg {
  width: 24px;
}

.hcd-footer__hotline small,
.hcd-footer__hotline strong {
  display: block;
}

.hcd-footer__hotline small {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hcd-footer__hotline strong {
  font-size: clamp(20px, 1.7vw, 27px);
  line-height: 1.15;
  white-space: nowrap;
}

.hcd-footer__social {
  margin-top: 21px;
}

.hcd-footer__social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.hcd-footer__social-list a {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  color: var(--hcd-white);
  border: 2px solid var(--hcd-yellow);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.hcd-footer__social-list a:last-child {
  font-size: 11px;
}

.hcd-footer__social-list a:hover {
  color: var(--hcd-green-dark);
  background: var(--hcd-yellow);
  transform: translateY(-2px);
}

.hcd-footer__bottom {
  padding: 22px 24px;
  background: var(--hcd-green-dark);
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.hcd-footer__bottom-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
}

.hcd-footer__legal {
  display: flex;
  gap: 12px;
  align-items: center;
}

.hcd-footer__legal a:hover {
  color: var(--hcd-yellow);
}

.hcd-footer__payments {
  display: flex;
  gap: 10px;
  align-items: stretch;
  justify-content: flex-end;
}

.hcd-footer__payments > span {
  display: flex;
  min-width: 76px;
  min-height: 40px;
  padding: 5px 12px;
  align-items: center;
  justify-content: center;
  color: var(--hcd-green-dark);
  background: var(--hcd-cream);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 900;
}

.hcd-footer__payments > span:first-child {
  flex-direction: column;
  min-width: 130px;
  line-height: 1.05;
}

.hcd-footer__payments small {
  margin-top: 3px;
  font-size: 8px;
  font-weight: 500;
  text-transform: uppercase;
}

@media (max-width: 1050px) {
  .hcd-footer__signup-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hcd-footer__intro {
    grid-template-columns: 1fr;
  }

  .hcd-footer__content {
    grid-template-columns: repeat(2, 1fr);
  }

  .hcd-footer__links:nth-child(2) {
    border-right: 0;
  }

  .hcd-footer__bottom-inner {
    grid-template-columns: 1fr auto;
  }

  .hcd-footer__payments {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hcd-section.hcd-footer {
    font-size: 15px;
  }

  .hcd-footer__signup {
    padding: 30px 16px 54px;
    text-align: center;
  }

  .hcd-footer__signup-copy h2 {
    font-size: 27px;
  }

  .hcd-footer__signup-copy p {
    font-size: 14px;
  }

  .hcd-footer__signup-form {
    grid-template-columns: 1fr;
  }

  .hcd-footer__signup-form input,
  .hcd-footer__signup-form button {
    height: 56px;
    border-radius: 14px;
  }

  .hcd-footer__input-icon {
    top: 28px;
  }

  .hcd-footer__main {
    padding: 55px 16px 28px;
  }

  .hcd-footer__intro {
    gap: 31px;
    text-align: center;
  }

  .hcd-footer__logo {
    justify-content: center;
    font-size: 30px;
  }

  .hcd-footer__logo-mark {
    width: 56px;
  }

  .hcd-footer__brand > p {
    margin-right: auto;
    margin-left: auto;
  }

  .hcd-footer__benefits {
    gap: 12px;
  }

  .hcd-footer__benefit {
    width: min(28vw, 110px);
    padding: 10px;
    border-width: 3px;
  }

  .hcd-footer__benefit svg {
    width: 27px;
    height: 27px;
    margin-bottom: 5px;
  }

  .hcd-footer__benefit strong {
    font-size: 11px;
  }

  .hcd-footer__content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .hcd-footer__links {
    padding-right: 12px;
  }

  .hcd-footer__links h3,
  .hcd-footer__social h3 {
    font-size: 16px;
  }

  .hcd-footer__links a {
    font-size: 13px;
  }

  .hcd-footer__locations,
  .hcd-footer__contact {
    grid-column: 1 / -1;
  }

  .hcd-footer__bottom {
    padding: 20px 16px;
  }

  .hcd-footer__bottom-inner {
    grid-template-columns: 1fr;
    gap: 13px;
    justify-items: center;
    text-align: center;
  }

  .hcd-footer__payments {
    grid-column: auto;
    justify-content: center;
  }

  .hcd-footer__payments > span:first-child {
    min-width: 106px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hcd-section.hcd-footer *,
  .hcd-section.hcd-footer *::before,
  .hcd-section.hcd-footer *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

