/* Smart Enterprises — site footer (matches design screenshots) */

:root {
  --se-footer-bg: #4b6f40;
  --se-footer-bg-dark: #385530;
  --se-footer-tan: #c4a574;
  --se-footer-tan-soft: #d2b48c;
  --se-footer-mint: #5dd18f;
  --se-footer-mint-dark: #3cbc74;
  --se-footer-cream: #ffdb93;
  --se-footer-white: #ffffff;
}

.footer_area,
#footer_contents {
  margin: 0;
  padding: 0;
}

.se-footer {
  background-color: var(--se-footer-bg);
  background-image:
    url("../../uploads/2022/12/ser-bg-1.png"),
    url("../../uploads/2022/12/ser-bg-2.png");
  background-position: 0 -58px, 100% 260px;
  background-repeat: no-repeat, no-repeat;
  color: var(--se-footer-white);
  padding: 72px 0 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  overflow: hidden;
}

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

.se-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ===== CTA band ===== */
.se-footer__cta {
  display: grid;
  grid-template-columns: 1.35fr auto 1fr;
  align-items: center;
  gap: 28px 36px;
  background: var(--se-footer-tan-soft);
  padding: 32px 40px;
  border-radius: 0;
}

.se-footer__cta-title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.25;
  font-weight: 700;
  color: var(--se-footer-white);
  letter-spacing: 0.01em;
}

.se-footer__cta-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.se-footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 180px;
  padding: 10px 24px;
  background: var(--se-footer-mint);
  color: var(--se-footer-white) !important;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  border: 1.5px solid #ffffff;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.se-footer__btn:hover {
  background: var(--se-footer-mint-dark);
  transform: translateY(-1px);
}

.se-footer__btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.se-footer__help {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
}

.se-footer__help-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--se-footer-mint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.se-footer__help-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.se-footer__help-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--se-footer-white);
  line-height: 1.2;
}

.se-footer__help-phone {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--se-footer-white) !important;
  line-height: 1.25;
  white-space: nowrap;
}

/* ===== Main columns ===== */
.se-footer__cols {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.9fr 1.15fr;
  gap: 36px 28px;
  padding: 64px 0 36px;
}

.se-footer__logo {
  display: inline-block;
  margin-bottom: 18px;
}

.se-footer__logo img {
  display: block;
  width: auto;
  height: 70px;
  max-width: 100%;
}

.se-footer__about {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 320px;
}

.se-footer__col-title {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--se-footer-white);
}

.se-footer__links {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.se-footer__links li {
  list-style: none !important;
  margin: 0 0 12px;
  padding-left: 0;
}

.se-footer__links a {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
  transition: color 0.2s ease;
}

.se-footer__links a:hover {
  color: var(--se-footer-tan-soft);
}

.se-footer__links a svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  stroke: currentColor;
}

/* Gallery */
.se-footer__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 280px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.se-footer__gallery::-webkit-scrollbar {
  width: 6px;
}

.se-footer__gallery::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}

.se-footer__gallery a {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  position: relative;
  background: rgba(0, 0, 0, 0.15);
}

.se-footer__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.se-footer__gallery a:hover img {
  transform: scale(1.06);
}

/* ===== Social + address ===== */
.se-footer__meta {
  padding: 8px 0 28px;
}

.se-footer__social {
  display: flex;
  gap: 12px;
  list-style: none !important;
  margin: 0 0 28px;
  padding: 0;
}

.se-footer__social li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.se-footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--se-footer-tan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

.se-footer__social a:hover {
  background: var(--se-footer-tan-soft);
  transform: translateY(-2px);
}

.se-footer__social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.se-footer__address,
.se-footer__policies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 28px;
  text-align: center;
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #fcfdff;
}

.se-footer__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--se-footer-cream);
  display: inline-block;
  flex-shrink: 0;
}

.se-footer__policies a:hover {
  color: var(--se-footer-cream);
}

.se-footer__policy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ===== Bottom bar ===== */
.se-footer__bottom {
  background: var(--se-footer-bg-dark);
  margin-top: 8px;
}

.se-footer__bottom-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.se-footer__copy,
.se-footer__hours {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--se-footer-white);
  margin: 0;
}

.se-footer__copy svg,
.se-footer__hours svg,
.se-footer__hours i {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--se-footer-cream);
  fill: var(--se-footer-cream);
}

.se-footer__hours i {
  font-size: 18px;
  line-height: 1;
}

/* Hide misplaced Let's Talk blocks if old markup remains */
.footer_area .se-header-contact,
#footer_contents .se-header-contact {
  display: none !important;
}

@media (max-width: 1024px) {
  .se-footer {
    padding-top: 48px;
    background-position: 0 0, 100% 0;
    background-size: 180px auto, 180px auto;
  }

  .se-footer__inner {
    padding: 0 16px;
  }

  .se-footer__cta {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
    text-align: left;
  }

  .se-footer__cta-btns {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .se-footer__help {
    justify-self: start;
  }

  .se-footer__help-phone {
    white-space: normal;
    font-size: 18px;
  }

  .se-footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding-top: 48px;
  }

  .se-footer__about {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .se-footer {
    padding-top: 36px;
    background-image: none;
  }

  .se-footer__cta {
    padding: 20px 16px;
  }

  .se-footer__cta-title {
    font-size: 22px;
  }

  .se-footer__cols {
    grid-template-columns: 1fr;
    padding: 36px 0 24px;
    gap: 28px;
  }

  .se-footer__gallery {
    max-width: 100%;
    grid-template-columns: repeat(4, 1fr);
  }

  .se-footer__cta-btns {
    flex-direction: column;
  }

  .se-footer__btn {
    width: 100%;
    box-sizing: border-box;
  }

  .se-footer__address,
  .se-footer__policies {
    justify-content: flex-start;
    text-align: left;
    gap: 10px 16px;
  }

  .se-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
  }

  .se-footer__copy,
  .se-footer__hours {
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.45;
  }

  .se-footer__hours {
    justify-content: flex-start;
  }
}

@media (max-width: 400px) {
  .se-footer__gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .se-footer__help-phone {
    font-size: 16px;
  }
}
