/* ==========================================================================
   Seek Property Services Pty Ltd - Footer & Mobile Drawer Stylesheet
   Pixel-perfect responsive desktop, tablet, and mobile layouts.
   ========================================================================== */

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  background: #011e32;
  color: rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-swoosh {
  position: absolute;
  bottom: 0;
  width: auto;
  height: 58%;
  opacity: 0.92;
  pointer-events: none;
}
.swoosh-left {
  left: 0;
  height: 56%;
}
.swoosh-right {
  right: 0;
  height: 60%;
}

.footer-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 330px) minmax(0, 1fr) minmax(0, 320px);
  align-items: center;
  gap: 0;
  padding-top: 26px;
  padding-bottom: 24px;
}
.footer-col {
  padding: 2px 26px;
}
.footer-col + .footer-col {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand {
  padding-left: 0;
  display: flex;
  align-items: center;
}
.footer-logo {
  height: 78px;
  width: auto;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
}
.ficon {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--footer-teal, #17a08f);
  color: #fff;
  font-size: 12px;
  box-shadow: 0 4px 12px -4px rgba(23, 160, 143, 0.7);
}
.footer-contact a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact a:hover {
  color: var(--footer-yellow, #fee025);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
}
.footer-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a {
  display: block;
  font-size: 13px;
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-links a.is-current {
  color: #fff;
  font-weight: 600;
}
.footer-links a:hover {
  color: var(--footer-yellow, #fee025);
  transform: translateX(3px);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 0;
}
.socials {
  display: flex;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.22s ease, transform 0.22s ease;
}
.socials a:hover {
  background: var(--footer-teal, #17a08f);
  transform: translateY(-3px);
}
.footer-script {
  position: relative;
  font-family: var(--font-script, 'Caveat', cursive);
  font-size: 23px;
  line-height: 1.15;
  color: #fff;
  transform: rotate(-7deg);
  padding-bottom: 8px;
  margin: 0;
}
.script-underline {
  position: absolute;
  left: 4px;
  bottom: -4px;
  width: 118px;
  height: 16px;
  fill: none;
  stroke: var(--footer-yellow, #fee025);
  stroke-width: 3.4;
  stroke-linecap: round;
}

.footer-bottom {
  position: relative;
  z-index: 2;
  background: #011e32;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 13px 0 15px;
  text-align: center;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.62);
}
.footer-bottom .sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   MOBILE DRAWER
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(5, 18, 31, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}
.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0s linear 0s;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 310;
  width: min(380px, 86vw);
  max-width: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform 0.46s cubic-bezier(.45,.05,.3,1), box-shadow 0.46s ease, visibility 0s linear 0.46s;
  box-shadow: -18px 0 50px rgba(5, 18, 31, 0);
  visibility: hidden;
  will-change: transform;
}
.drawer.active {
  transform: translateX(0);
  visibility: visible;
  box-shadow: -18px 0 50px rgba(5, 18, 31, 0.28);
  transition: transform 0.48s cubic-bezier(.22,1,.36,1), box-shadow 0.48s ease, visibility 0s linear 0s;
}

.drawer-nav > ul li,
.drawer-phone,
.drawer-cta,
.drawer-foot,
.drawer-chips,
.drawer-tagline {
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.38s ease, transform 0.46s cubic-bezier(.22,1,.36,1);
}
.drawer.active .drawer-nav > ul li,
.drawer.active .drawer-phone,
.drawer.active .drawer-cta,
.drawer.active .drawer-foot,
.drawer.active .drawer-chips,
.drawer.active .drawer-tagline {
  opacity: 1;
  transform: translateX(0);
}
.drawer.active .drawer-tagline { transition-delay: 0.10s; }
.drawer.active .drawer-chips { transition-delay: 0.14s; }
.drawer.active .drawer-nav > ul li:nth-child(1) { transition-delay: 0.18s; }
.drawer.active .drawer-nav > ul li:nth-child(2) { transition-delay: 0.21s; }
.drawer.active .drawer-nav > ul li:nth-child(3) { transition-delay: 0.24s; }
.drawer.active .drawer-nav > ul li:nth-child(4) { transition-delay: 0.27s; }
.drawer.active .drawer-nav > ul li:nth-child(5) { transition-delay: 0.30s; }
.drawer.active .drawer-nav > ul li:nth-child(6) { transition-delay: 0.33s; }
.drawer.active .drawer-phone { transition-delay: 0.40s; }
.drawer.active .drawer-cta { transition-delay: 0.44s; }
.drawer.active .drawer-foot { transition-delay: 0.48s; }

body.menu-open {
  overflow: hidden;
}

.drawer-head {
  position: relative;
  flex: none;
  overflow: hidden;
  background: var(--primary-dark, #0d2742);
  padding-bottom: 22px;
}
.drawer-head-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
  opacity: 0.55;
}
.drawer-head-art {
  position: absolute;
  right: -18%;
  top: -6%;
  width: 88%;
  height: auto;
  opacity: 0.85;
  transform: scaleX(-1);
  pointer-events: none;
}
.drawer-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(9, 30, 51, 0.9) 0%, rgba(9, 30, 51, 0.62) 55%, rgba(9, 30, 51, 0.85) 100%);
}
.drawer-head-inner {
  position: relative;
  z-index: 2;
  padding: 18px 18px 0;
}
.drawer-logo {
  height: 56px;
  width: auto;
}
.drawer-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: 0;
  padding: 0;
  line-height: 0;
  cursor: pointer;
}
.drawer-close img {
  width: 30px;
  height: 30px;
  display: block;
}
.drawer-tagline {
  margin-top: 14px;
  font-family: var(--font-head, 'Poppins', sans-serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: #fff;
}
.drawer-chips {
  position: relative;
  z-index: 2;
  margin: 14px 14px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  min-height: 50px;
  align-items: center;
  padding: 8px 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  list-style: none;
}
.drawer-chips li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.drawer-chips i {
  font-size: 15px;
  color: #fff;
  flex: none;
}
.drawer-chips span {
  font-size: 9.5px;
  line-height: 1.25;
  color: #fff;
  font-weight: 500;
}

.drawer-nav {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 10px 18px 14px;
  background: #fff;
  flex: 1 0 auto;
}
.drawer-nav > ul {
  margin: 0 0 9px 0;
  padding: 0;
  list-style: none;
}
.drawer-nav > ul li + li a {
  border-top: 1px solid #eef1f5;
}

.drawer-nav > ul a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark, #132b45);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.drawer-nav > ul a > i:first-child {
  width: 20px;
  text-align: center;
  font-size: 16px;
  color: var(--primary-dark, #0d2742);
}
.drawer-nav > ul a span {
  flex: 1;
}
.drawer-nav .chev {
  font-size: 11px;
  color: #b6c0cc;
}
.drawer-nav > ul a.is-current {
  background: #fdeee2;
  color: var(--text-dark, #132b45);
  font-weight: 600;
  border-top-color: transparent;
}
.drawer-nav > ul a.is-current > i:first-child,
.drawer-nav > ul a.is-current .chev {
  color: var(--accent-orange, #f47b20);
}
.drawer-nav > ul li:has(a.is-current) + li a {
  border-top: 0;
}
.drawer-nav > ul a:active {
  background: #f5f8fb;
}

.drawer-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 12px;
  background: #eef4fb;
  border-radius: 12px;
  margin-bottom: 12px;
  text-decoration: none;
}
.dp-icon {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-dark, #0d2742);
  color: #fff;
  font-size: 15px;
}
.dp-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  line-height: 1.25;
}
.dp-text strong {
  font-family: var(--font-head, 'Poppins', sans-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark, #132b45);
}
.dp-text small {
  font-size: 11px;
  color: var(--text-muted, #7a8798);
}
.drawer-phone .chev {
  font-size: 12px;
  color: #93a3b4;
}

.drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  background: var(--accent-orange, #f47b20);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 9px;
  text-decoration: none;
  box-shadow: 0 10px 22px -12px rgba(244, 123, 32, 0.9);
}
.drawer-cta i {
  font-size: 13px;
}

.drawer-review {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 12px;
  background: linear-gradient(160deg, #fff, #f7fafd);
  border: 1px solid #e9eff6;
  border-radius: 12px;
  text-decoration: none;
}
.drawer-review img {
  height: 28px;
  width: auto;
}
.dr-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 2px;
}
.dr-top {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-head, 'Poppins', sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark, #132b45);
}
.dr-top span:not(.dr-stars) {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted, #7a8798);
  margin-right: 6px;
}
.dr-stars {
  display: flex;
  gap: 2px;
  color: #e8a530;
  font-size: 10px;
}
.dr-text small {
  font-size: 9.5px;
  color: var(--text-muted, #7a8798);
}

.drawer-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #edf1f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-social span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted, #7a8798);
  margin-bottom: 6px;
}
.drawer-social ul {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.drawer-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #edf3f9;
  color: var(--primary-dark, #0d2742);
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.drawer-social a:hover {
  background: var(--accent-orange, #f47b20);
  color: #fff;
}
.drawer-script {
  font-family: var(--font-script, 'Caveat', cursive);
  font-size: 19px;
  line-height: 1.15;
  color: var(--primary-blue, #16436b);
  text-align: right;
  transform: rotate(-4deg);
  margin: 0;
  position: relative;
}
.drawer-script svg {
  position: absolute;
  right: 0;
  bottom: -4px;
  width: 90px;
  height: 12px;
  fill: none;
  stroke: var(--accent-orange, #f47b20);
  stroke-width: 3;
  stroke-linecap: round;
}
.drawer-art-bottom {
  position: absolute;
  left: -20%;
  bottom: -4%;
  width: 70%;
  height: auto;
  opacity: 0.35;
  pointer-events: none;
}

/* ==========================================================================
   FOOTER RESPONSIVE BREAKPOINTS (Matches Home & Global Standards)
   ========================================================================== */
@media (max-width: 1100px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-top: 30px;
    padding-bottom: 24px;
  }
  .footer-col + .footer-col {
    border-left: 0;
  }
  .footer-col {
    padding: 0;
  }
  .footer-brand {
    padding-left: 0;
  }
  .footer-social {
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 34px;
    padding-bottom: 26px;
    text-align: left;
  }
  .footer-col {
    padding: 0;
  }
  .footer-col + .footer-col {
    border-left: 0;
    border-top: 0;
    padding-top: 0;
  }
  .footer-brand {
    justify-content: flex-start;
  }
  .footer-logo {
    height: 81px;
  }
  .footer-contact {
    gap: 19px;
  }
  .footer-contact li {
    justify-content: flex-start;
    text-align: left;
    font-size: 14.5px;
    gap: 13px;
  }
  .ficon {
    width: 27px;
    height: 27px;
    font-size: 12px;
  }
  .footer-links {
    gap: 4px 22px;
    text-align: left;
  }
  .footer-links a {
    font-size: 15px;
    line-height: 1.95;
  }
  .footer-social {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    padding-top: 6px;
  }
  .footer-social .socials {
    flex: none;
    gap: 10px;
  }
  .socials a {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .footer-script {
    flex: 1;
    font-size: 18.5px;
    line-height: 1.2;
    color: #fff;
    text-align: right;
    margin: 0;
    transform: rotate(-5deg);
    white-space: normal;
    margin-top: 4px;
  }
  .script-underline {
    left: auto;
    right: 4px;
    bottom: -4px;
    width: 96px;
    height: 13px;
    stroke: var(--footer-yellow, #fee025);
  }
  .footer-swoosh {
    display: block;
    height: 22%;
    opacity: 0.45;
  }
  .swoosh-left {
    height: 22%;
  }
  .swoosh-right {
    display: none;
  }
  .footer-bottom {
    font-size: 11px;
    padding: 12px 0 14px;
    line-height: 1.55;
    background: rgba(255, 255, 255, 0.04);
  }
  .footer-bottom p {
    max-width: 280px;
    margin: 0 auto;
  }
}
