/* General */
.site-footer {
    background: #efefef;
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
    padding-top: 80px;
    font-family: "PP Neue Montreal", sans-serif;
}

.container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ----------------------------------------------------------
   Moved from inline <style> (footer-only safety overrides)
----------------------------------------------------------- */

.email-black { color: #000; }
.email-gray  { color: #888; }
.italic { font-style: italic; }

/* IMPORTANT: avoid nested container spacing issues */
.site-footer .container {
    max-width: 1150px;
    margin: 0 auto;
    width: 88%;
}

/* Ensure logo/img sizing stays consistent (replaces inline styles) */
.footer-logo-img{
    height: 26px;
    width: auto;
    display: block;
}
.footer-social-ic{
    height: 20px;
    width: auto;
    display: block;
}
.arrow-up{
    height: 18px;
    width: auto;
    display: block;
}

/* Top Section */
.footer-top {
    text-align: center;
    margin-bottom: 60px;
}

.footer-title {
    font-size: 68px;
    font-weight: 400;
    margin-bottom: 50px;
    line-height: 1.2;
    white-space: nowrap;
}

.footer-title .italic {
    font-family: 'PTserif';
    font-style: normal;
    font-weight: 400;
    font-size: 70px;
}

.footer-email {
    color: #c7c7c7;
    font-size: 24px;
    text-decoration: none;
}

.footer-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin-bottom: 80px;
}

/* ----------------------------------------------------------
   MAIN FOOTER — desktop
----------------------------------------------------------- */
.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
}

/* keep svg rule (even if logo is img now) */
.footer-logo svg {
    width: 220px !important;
    height: auto;
    display: block;
}

.footer-nav {
    display: flex;
    gap: 60px;
}

.footer-nav a {
    text-decoration: none;
    color: #000;
    font-size: 20px;
    transition: opacity 0.2s ease;
}

.footer-social {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-social img {
    width: 20px;
    height: 20px;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

/* ----------------------------------------------------------
   BOTTOM FOOTER — desktop
----------------------------------------------------------- */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 80px;
    margin-top: 100px;

    /* NEW: make ALL bottom text smaller */
    font-size: 14px;
    line-height: 1.6;
}

/* NEW: ensure all bottom text inherits the smaller size */
.footer-bottom a,
.footer-bottom span,
.footer-bottom p {
    font-size: inherit;
}

/* Address (2 lines only) */
.footer-bottom-left .footer-address {
    margin: 0;
    color: #333;
    line-height: 1.6;
}

/* NEW: phone as its own lower row */
.footer-bottom-left .footer-phone {
    margin: 18px 0 0 0;
    color: #333;
    line-height: 1.6;
}

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

.footer-bottom-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 80px;
}

.footer-policy,
.footer-top-btn {
    color: #000;
    text-decoration: none;
    display: inline-flex;
    gap: 10px;
}

.footer-top-btn .arrow-up {
    width: 20px;
    height: 20px;
}

/* ==========================================================
   Split: Desktop vs Mobile blocks
   Desktop remains intact. Mobile will be separate.
========================================================== */
.footer-mobile{ display:none; }
.footer-desktop{ display:block; }

/* ==========================================================
   RESPONSIVENESS
========================================================== */

/* ---------- 1200px (reduce gaps) ---------- */
@media (max-width: 1200px) {
    .footer-nav { gap: 40px; }
    .footer-bottom-right { gap: 50px; }
}

/* ---------- 992px (tablet horizontal) ---------- */
@media (max-width: 992px) {
    .footer-title {
        font-size: 54px;
        white-space: normal;
        line-height: 1.15;
    }

    .footer-title .italic { font-size: 60px; }

    .footer-main {
        flex-direction: column;
        align-items: center;
        gap: 50px;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px 40px;
    }

    .footer-social { justify-content: center; }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-bottom-right {
        justify-content: center;
        gap: 40px;
    }
}

/* ---------- 768px (tablet vertical) ---------- */
@media (max-width: 768px) {
    .footer-title { font-size: 42px; }
    .footer-title .italic { font-size: 48px; }
    .footer-email { font-size: 22px; }

    .footer-main { gap: 40px; }
    .footer-nav a { font-size: 18px; }
}

/* ---------- 480px (mobile) ---------- */
@media (max-width: 480px) {

    /* Show mobile block and hide desktop block */
    .footer-desktop{ display:none; }
    .footer-mobile{ display:block; }

    /* Footer card feel like ✅ screenshot */
    .site-footer{
        border-radius: 26px;
        margin: 0 16px 18px;
        padding-top: 46px;
        padding-bottom: 34px;

        /* keep top corners too */
        border-top-left-radius: 26px;
        border-top-right-radius: 26px;
    }

    .site-footer .container{
        width: 100%;
        max-width: 680px;
        padding: 0 16px;
    }

    .footer-title--mobile{
        font-size: 34px;
        line-height: 1.1;
        white-space: normal;
        margin-bottom: 18px;
    }

    .footer-title--mobile .italic{
        font-size: 38px;
    }

    .footer-email--mobile{
        font-size: 20px;
    }

    .footer-divider--mobile{
        margin-bottom: 34px;
    }

    .footer-mobile-body{
        text-align: center;
    }

    .footer-logo-img--mobile{
        height: 34px;
    }

    .footer-mobile-logo{
        display:flex;
        justify-content:center;
        margin-bottom: 18px;
    }

    .footer-mobile-social{
        display:flex;
        justify-content:center;
        gap: 22px;
        margin-bottom: 26px;
    }

    .footer-mobile-contact{
        margin-top: 10px;
        margin-bottom: 20px;
        font-size: 14px;
        line-height: 1.6;
        color: #333;
    }

    .footer-mobile-address{
        margin-bottom: 10px;
    }

    .footer-mobile-phone{
        margin-bottom: 6px;
    }

    .footer-mobile-rights{
        margin-top: 22px;
        margin-bottom: 26px;
        font-size: 14px;
        line-height: 1.6;
    }

    .footer-mobile-actions{
        display:flex;
        flex-direction: column;
        align-items:center;
        gap: 18px;
        font-size: 14px;
    }

    /* keep your existing small link sizing */
    .footer-policy,
    .footer-top-btn {
        font-size: 14px;
    }
}

/* ==========================================================
   FOOTER — MOBILE TOP TEXT SIZE TUNING
   (makes the circled area smaller)
========================================================== */
/* ==========================================================
   FOOTER — FORCE MOBILE LAYOUT + SMALLER TOP TEXT
   (bulletproof overrides)
========================================================== */
@media (max-width: 900px){

  /* 1) Make sure mobile version shows */
  .footer-desktop{ display: none !important; }
  .footer-mobile{  display: block !important; }

  /* 2) Make the top text smaller */
  .footer-title--mobile{
    font-size: 28px !important;
    line-height: 1.05 !important;
    margin-bottom: 14px !important;
  }

  .footer-title--mobile .italic{
    font-size: 30px !important;
  }

  .footer-email--mobile{
    font-size: 16px !important;
  }
}


/* ==========================================================
   FOOTER — MOBILE CENTERED LAYOUT (green tick)
========================================================== */

@media (max-width: 900px){

  /* Make sure desktop layout is fully disabled */
  .footer-desktop{
    display: none !important;
  }

  .footer-mobile{
    display: block !important;
    text-align: center;
  }

  /* Reset any inherited flex/grid chaos */
  .footer-mobile *{
    box-sizing: border-box;
  }

  /* Logo */
  .footer-mobile-logo{
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
  }

  /* Social icons — FORCE single horizontal row */
  .footer-mobile-social{
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 22px;
    margin-bottom: 26px;
  }

  /* Address + phone block */
  .footer-mobile-contact{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;

    font-size: 14px;
    line-height: 1.6;
  }

  .footer-mobile-address,
  .footer-mobile-phone{
    max-width: 320px;
  }

  /* Rights text */
  .footer-mobile-rights{
    margin-bottom: 26px;
    font-size: 14px;
    line-height: 1.6;
  }

  /* Bottom actions: PRIVACY + BACK TO TOP */
  .footer-mobile-actions{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    font-size: 14px;
  }

  .footer-mobile-actions a{
    text-decoration: none;
    color: #000;
  }

  /* Back to top icon alignment */
  .footer-top-btn--mobile{
    display: flex;
    align-items: center;
    gap: 10px;
  }

}
/* ==========================================================
   FOOTER — MOBILE FINAL SPACING TUNING (match ✅)
========================================================== */
@media (max-width: 900px){

  /* Give more air under the email before the divider */
  .footer-top--mobile{
    margin-bottom: 30px !important;
  }

  /* Push the divider further away from the logo block */
  .footer-divider--mobile{
    margin-bottom: 60px !important;  /* was ~34px */
  }

  /* Add a little space above the logo itself (extra safety) */
  .footer-mobile-logo{
    margin-top: 0 !important;
    margin-bottom: 20px !important;
  }

  /* Slightly increase spacing under the icon row too */
  .footer-mobile-social{
    margin-bottom: 50px !important;
  }
}


.footer-divider--mobile{ margin-bottom: 40px !important; }

/* ==========================================================
   FOOTER — MOBILE BACK TO TOP BOTTOM SPACING
========================================================== */
@media (max-width: 900px){

  /* Push BACK TO THE TOP away from the bottom edge */
  .footer-mobile-actions{
    padding-bottom: 50px;   /* adjust: 20–40px */
  }

}

/* ==========================================================
   FOOTER — MOBILE BOTTOM TEXT SIZE (final polish)
========================================================== */
@media (max-width: 900px){

  /* Rights text */
  .footer-mobile-rights{
    font-size: 16px;   /* was ~14px */
    line-height: 1.6;
    padding-bottom: 20px;
  }

  /* Privacy + Back to top */
  .footer-mobile-actions a{
    font-size: 16px;   /* was ~14px */
  }

  /* Optional: make arrow match text weight visually */
  .footer-top-btn--mobile .arrow-up{
    height: 20px;
  }
}

/* ==========================================================
   FOOTER — MOBILE ADDRESS & PHONE SIZE
========================================================== */
@media (max-width: 900px){

  .footer-mobile-contact,
  .footer-mobile-address,
  .footer-mobile-phone{
    font-size: 18px;     /* was ~14px */
    line-height: 1.6;
  }

}

@media (max-width: 960px){

  /* Parent headline */
  .site-footer .footer-title{
    font-size: 22px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }

  /* The italic / different-font word */
  .site-footer .footer-title .italic,
  .site-footer .footer-title em,
  .site-footer .footer-title i{
    font-size: 22px !important; /* 👈 must match parent */
    line-height: 1.15 !important;
  }

  /* Kill mobile line breaks if any */
  .site-footer .footer-title br{
    display: none !important;
  }
}