/* Uptech World - header navigation + mega menu + mobile menu (v2, Oct 2026).
   Loaded from partials/header.php after style.min.css rules, so it only overrides. */

/* ---------- Top navigation ---------- */
.nav-links a.active,
.nav-links button.nav-link.active,
.nav-inner.services-open .nav-item-mega .nav-link {
  color: var(--secondary-600);
  background: rgba(37, 99, 235, .08);
}
html[data-theme="dark"] .nav-links a.active,
html[data-theme="dark"] .nav-links button.nav-link.active,
html[data-theme="dark"] .nav-inner.services-open .nav-item-mega .nav-link {
  color: var(--accent-300);
  background: rgba(255, 255, 255, .07);
}
.nav-phone { white-space: nowrap; }
.nav-actions .btn { white-space: nowrap; }

/* Medium desktops: keep everything on one line */
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav-inner { padding: 0 1rem; }
  .brand-logo { height: 3.4rem; max-width: 11.5rem; }
  .nav-links { gap: .1rem; }
  .nav-links a, .nav-links button.nav-link { padding: .5rem .7rem; }
  .nav-actions { gap: .55rem; }
  .nav-phone {
    width: 2.5rem; height: 2.5rem; justify-content: center;
    border: 1px solid var(--primary-200); border-radius: 999px;
  }
  html[data-theme="dark"] .nav-phone { border-color: var(--primary-700); }
  .nav-phone .nav-phone-num {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
  .nav-actions .btn { padding-left: 1rem; padding-right: 1rem; }
}

/* ---------- Mega menu (desktop) ---------- */
.mega-menu.mega-v2 {
  width: min(1120px, 95vw);
  padding: 0;
  border-radius: 1.25rem;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 32px 70px -28px rgba(15, 23, 42, .35), 0 6px 18px -8px rgba(15, 23, 42, .12);
}
.mega-menu.mega-v2::before { display: none; }
.mega-v2 .mega-shell { display: grid; grid-template-columns: 272px 1fr; }

.mega-v2 .mega-intro {
  display: flex; flex-direction: column; gap: .85rem;
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem 0 0 1.25rem;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(56, 189, 248, .22), transparent 60%),
    linear-gradient(160deg, #0b1b3a 0%, #102c5e 100%);
  color: #fff;
}
.mega-v2 .mega-eyebrow {
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #7dd3fc;
}
.mega-v2 .mega-intro-title {
  font-family: var(--font-heading); font-size: 1.15rem; line-height: 1.35; font-weight: 600; color: #fff;
}
.mega-v2 .mega-intro-text { font-size: .85rem; line-height: 1.6; color: rgba(226, 232, 240, .82); }
.mega-v2 .mega-intro-links { display: flex; flex-direction: column; gap: .15rem; margin-top: .15rem; }
.mega-v2 .mega-intro-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: .55rem .75rem; margin: 0 -.75rem; border-radius: .6rem;
  font-size: .875rem; font-weight: 600; color: #fff;
  transition: background-color .15s ease;
}
.mega-v2 .mega-intro-links a:hover { background: rgba(255, 255, 255, .08); }
.mega-v2 .mega-intro-links svg { width: 15px; height: 15px; color: #7dd3fc; transition: transform .15s ease; }
.mega-v2 .mega-intro-links a:hover svg { transform: translateX(3px); }
.mega-v2 .mega-talk {
  margin-top: auto; padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-direction: column; gap: .45rem;
}
.mega-v2 .mega-talk span { font-size: .75rem; color: rgba(226, 232, 240, .7); }
.mega-v2 .mega-talk a {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .875rem; font-weight: 600; color: #fff;
}
.mega-v2 .mega-talk a:hover { color: #7dd3fc; }
.mega-v2 .mega-talk svg { width: 16px; height: 16px; }

.mega-v2 .mega-main { display: flex; flex-direction: column; min-width: 0; }
.mega-v2 .mega-cols {
  display: grid; grid-template-columns: 1.1fr 1fr 1.1fr;
  padding: 1.6rem 1.75rem 1.1rem;
}
.mega-v2 .mega-col { min-width: 0; padding: 0 1.25rem; }
.mega-v2 .mega-col:first-child { padding-left: 0; }
.mega-v2 .mega-col:last-child { padding-right: 0; }
.mega-v2 .mega-col + .mega-col { border-left: 1px solid var(--primary-100); }
html[data-theme="dark"] .mega-v2 .mega-col + .mega-col { border-color: var(--primary-700); }

.mega-v2 .mega-col-title { display: flex; align-items: center; gap: .65rem; margin-bottom: .6rem; }
.mega-v2 .mega-col-title.is-sub { margin-top: 1.1rem; }
.mega-v2 .mega-col-title .icon-badge { width: 2.1rem; height: 2.1rem; border-radius: .65rem; flex-shrink: 0; }
.mega-v2 .mega-col-title p {
  font-size: .78rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  color: var(--primary-900); line-height: 1.2;
}
.mega-v2 .mega-col-title small { display: block; font-size: .75rem; color: var(--primary-400); margin-top: .1rem; }
html[data-theme="dark"] .mega-v2 .mega-col-title p { color: #fff; }
html[data-theme="dark"] .mega-v2 .mega-col-title small { color: var(--primary-300); }

.mega-v2 ul li a {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  font-size: .875rem; line-height: 1.35; font-weight: 500;
  color: var(--primary-700);
  padding: .42rem .6rem; margin: 0 -.6rem; border-radius: .55rem;
}
.mega-v2 ul li a::after {
  content: ""; width: 6px; height: 6px; flex-shrink: 0;
  border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor;
  transform: translateX(-4px) rotate(45deg); opacity: 0;
  transition: opacity .15s ease, transform .15s ease;
}
.mega-v2 ul li a:hover,
.mega-v2 ul li a:focus-visible { background: rgba(37, 99, 235, .07); color: var(--secondary-600); }
.mega-v2 ul li a:hover::after,
.mega-v2 ul li a:focus-visible::after { opacity: 1; transform: translateX(0) rotate(45deg); }
.mega-v2 ul li a.active { color: var(--secondary-600); background: rgba(37, 99, 235, .09); font-weight: 600; }
.mega-v2 ul li a.active::after { opacity: 1; transform: translateX(0) rotate(45deg); }
html[data-theme="dark"] .mega-v2 ul li a { color: var(--primary-200); }
html[data-theme="dark"] .mega-v2 ul li a:hover,
html[data-theme="dark"] .mega-v2 ul li a.active { background: rgba(255, 255, 255, .06); color: var(--accent-300); }

.mega-v2 .mega-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin: auto 1.75rem 1.25rem; padding: .85rem 1rem .85rem 1.1rem;
  border-radius: .9rem; background: rgba(37, 99, 235, .05);
  border: 1px solid rgba(37, 99, 235, .1);
}
.mega-v2 .mega-foot p { display: flex; align-items: center; gap: .55rem; font-size: .825rem; color: var(--primary-600); }
.mega-v2 .mega-foot p svg { width: 16px; height: 16px; color: var(--secondary-600); flex-shrink: 0; }
.mega-v2 .mega-foot p a { font-weight: 600; color: var(--secondary-600); white-space: nowrap; }
.mega-v2 .mega-foot p a:hover { text-decoration: underline; }
.mega-v2 .mega-foot .btn { white-space: nowrap; flex-shrink: 0; }
html[data-theme="dark"] .mega-v2 .mega-foot { background: rgba(255, 255, 255, .04); border-color: var(--primary-700); }
html[data-theme="dark"] .mega-v2 .mega-foot p { color: var(--primary-200); }
html[data-theme="dark"] .mega-v2 .mega-foot p a,
html[data-theme="dark"] .mega-v2 .mega-foot p svg { color: var(--accent-300); }
html[data-theme="dark"] .mega-v2 .mega-intro { background: linear-gradient(160deg, #071225 0%, #0c2148 100%); }

@media (min-width: 1024px) and (max-width: 1199px) {
  .mega-v2 .mega-shell { grid-template-columns: 228px 1fr; }
  .mega-v2 .mega-intro { padding: 1.4rem 1.2rem; }
  .mega-v2 .mega-intro-text { display: none; }
  .mega-v2 .mega-cols { padding: 1.35rem 1.25rem 1rem; }
  .mega-v2 .mega-col { padding: 0 .9rem; }
  .mega-v2 .mega-col-title small { display: none; }
  .mega-v2 ul li a { font-size: .83rem; }
  .mega-v2 .mega-foot { margin: auto 1.25rem 1rem; }
}

/* ---------- Mobile menu (v2) ---------- */
@keyframes uwMmIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes uwMmItem { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 1023px) {
  .mobile-menu.mm-v2 {
    padding: 1rem 1rem calc(1.5rem + env(safe-area-inset-bottom));
    background: #f4f7fb;
  }
  html[data-theme="dark"] .mobile-menu.mm-v2 { background: var(--primary-950); }
  .mobile-menu.mm-v2.open { animation: uwMmIn .26s cubic-bezier(.2, .8, .2, 1); }

  /* reset the old list styles from style.min.css */
  .mobile-menu.mm-v2 a:not(.btn),
  .mobile-menu.mm-v2 .mobile-services-toggle {
    width: auto; padding: 0; border-bottom: 0; font-size: inherit;
    justify-content: flex-start; color: inherit;
  }

  /* main list card */
  .mobile-menu.mm-v2 .mm-nav {
    background: #fff; border: 1px solid rgba(15, 23, 42, .07);
    border-radius: 1.15rem; padding: .35rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -16px rgba(15, 23, 42, .18);
  }
  html[data-theme="dark"] .mobile-menu.mm-v2 .mm-nav { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .08); box-shadow: none; }

  .mobile-menu.mm-v2 .mm-nav .mm-link {
    display: flex; align-items: center; gap: .85rem; width: 100%;
    padding: .62rem .65rem; border-radius: .85rem; border: 0;
    font-size: 1rem; font-weight: 600; line-height: 1.2; text-align: left;
    color: var(--primary-900); background: transparent;
    transition: background-color .15s ease, color .15s ease;
  }
  .mobile-menu.mm-v2 .mm-link + .mm-link,
  .mobile-menu.mm-v2 .mm-services + .mm-link { margin-top: 2px; }
  .mobile-menu.mm-v2 .mm-link:active { background: rgba(37, 99, 235, .06); }
  .mobile-menu.mm-v2 .mm-ico {
    width: 2.3rem; height: 2.3rem; flex-shrink: 0; border-radius: .75rem;
    display: grid; place-items: center;
    background: rgba(37, 99, 235, .08); color: var(--secondary-600);
  }
  .mobile-menu.mm-v2 .mm-ico svg { width: 18px; height: 18px; transform: none; }
  .mobile-menu.mm-v2 .mm-text { flex: 1; min-width: 0; }
  .mobile-menu.mm-v2 .mm-count {
    font-size: .7rem; font-weight: 700; padding: .2rem .5rem; border-radius: 999px;
    background: rgba(15, 23, 42, .06); color: var(--primary-500);
  }
  .mobile-menu.mm-v2 .mm-chev { display: grid; place-items: center; color: var(--primary-300); }
  .mobile-menu.mm-v2 .mm-chev svg { width: 16px; height: 16px; transition: transform .2s ease; }
  .mobile-menu.mm-v2 .mobile-services-toggle.open .mm-chev svg { transform: rotate(180deg); }

  .mobile-menu.mm-v2 .mm-link.active,
  .mobile-menu.mm-v2 .mobile-services-toggle.open { background: rgba(37, 99, 235, .07); color: var(--secondary-600); }
  .mobile-menu.mm-v2 .mm-link.active .mm-ico,
  .mobile-menu.mm-v2 .mobile-services-toggle.open .mm-ico { background: var(--secondary-600); color: #fff; }

  html[data-theme="dark"] .mobile-menu.mm-v2 .mm-link { color: #fff; }
  html[data-theme="dark"] .mobile-menu.mm-v2 .mm-ico { background: rgba(255, 255, 255, .07); color: var(--accent-300); }
  html[data-theme="dark"] .mobile-menu.mm-v2 .mm-count { background: rgba(255, 255, 255, .08); color: var(--primary-200); }
  html[data-theme="dark"] .mobile-menu.mm-v2 .mm-link.active,
  html[data-theme="dark"] .mobile-menu.mm-v2 .mobile-services-toggle.open { background: rgba(255, 255, 255, .06); color: var(--accent-300); }
  html[data-theme="dark"] .mobile-menu.mm-v2 .mm-link.active .mm-ico,
  html[data-theme="dark"] .mobile-menu.mm-v2 .mobile-services-toggle.open .mm-ico { background: var(--accent-500); color: var(--primary-950); }

  /* services panel */
  .mobile-menu.mm-v2 .mm-services {
    margin: .3rem .1rem .45rem; padding: .55rem;
    border-radius: .95rem; background: #f6f8fc;
    border: 1px solid rgba(15, 23, 42, .06);
  }
  html[data-theme="dark"] .mobile-menu.mm-v2 .mm-services { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .07); }
  .mobile-menu.mm-v2 a.mm-all {
    display: flex; align-items: center; justify-content: space-between;
    padding: .72rem .9rem; border-radius: .75rem;
    font-size: .92rem; font-weight: 600; color: #fff; background: var(--secondary-600);
  }
  html[data-theme="dark"] .mobile-menu.mm-v2 a.mm-all { color: #fff; }
  .mobile-menu.mm-v2 a.mm-all svg { width: 16px; height: 16px; }

  .mobile-menu.mm-v2 .mm-group {
    margin-top: .45rem; background: #fff; border-radius: .8rem;
    border: 1px solid rgba(15, 23, 42, .07); overflow: hidden;
  }
  html[data-theme="dark"] .mobile-menu.mm-v2 .mm-group { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .08); }
  .mobile-menu.mm-v2 .mm-group summary {
    display: flex; align-items: center; gap: .7rem; padding: .7rem .75rem;
    list-style: none; cursor: pointer; font-size: .93rem; font-weight: 600;
    color: var(--primary-900); -webkit-tap-highlight-color: transparent;
  }
  .mobile-menu.mm-v2 .mm-group summary::-webkit-details-marker { display: none; }
  .mobile-menu.mm-v2 .mm-group summary .mm-text { flex: 1; }
  .mobile-menu.mm-v2 .mm-gico {
    width: 1.95rem; height: 1.95rem; border-radius: .6rem; flex-shrink: 0;
    display: grid; place-items: center; background: rgba(37, 99, 235, .08); color: var(--secondary-600);
  }
  .mobile-menu.mm-v2 .mm-gico svg { width: 15px; height: 15px; }
  .mobile-menu.mm-v2 .mm-group[open] .mm-chev svg { transform: rotate(180deg); }
  .mobile-menu.mm-v2 .mm-group ul { padding: 0 .75rem .55rem 3.4rem; }
  .mobile-menu.mm-v2 .mm-group li a {
    display: block; padding: .55rem 0;
    font-size: .92rem; font-weight: 500; color: var(--primary-600);
    border-top: 1px solid rgba(15, 23, 42, .05);
  }
  .mobile-menu.mm-v2 .mm-group li a.active { color: var(--secondary-600); font-weight: 600; }
  html[data-theme="dark"] .mobile-menu.mm-v2 .mm-group summary { color: #fff; }
  html[data-theme="dark"] .mobile-menu.mm-v2 .mm-gico { background: rgba(255, 255, 255, .07); color: var(--accent-300); }
  html[data-theme="dark"] .mobile-menu.mm-v2 .mm-group li a { color: var(--primary-200); border-color: rgba(255, 255, 255, .06); }
  html[data-theme="dark"] .mobile-menu.mm-v2 .mm-group li a.active { color: var(--accent-300); }

  /* contact card */
  .mobile-menu.mm-v2 .mm-contact {
    margin-top: 1rem; padding: 1.15rem; border-radius: 1.15rem; color: #fff;
    background:
      radial-gradient(120% 90% at 0% 0%, rgba(56, 189, 248, .22), transparent 60%),
      linear-gradient(160deg, #0b1b3a 0%, #102c5e 100%);
  }
  .mobile-menu.mm-v2 .mm-contact-title { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; color: #fff; }
  .mobile-menu.mm-v2 .mm-contact-sub {
    display: flex; align-items: center; gap: .45rem; margin: .3rem 0 .95rem;
    font-size: .8rem; color: rgba(226, 232, 240, .82);
  }
  .mobile-menu.mm-v2 .mm-contact-sub svg { width: 14px; height: 14px; color: #7dd3fc; flex-shrink: 0; }
  .mobile-menu.mm-v2 .mm-contact-btns { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
  .mobile-menu.mm-v2 a.mm-btn {
    display: flex; align-items: center; justify-content: center; gap: .45rem;
    padding: .78rem .5rem; border-radius: .8rem;
    font-size: .92rem; font-weight: 700; color: #0b1b3a; background: #fff;
  }
  .mobile-menu.mm-v2 a.mm-btn-wa { background: #25d366; color: #052e16; }
  html[data-theme="dark"] .mobile-menu.mm-v2 a.mm-btn { color: #0b1b3a; }
  html[data-theme="dark"] .mobile-menu.mm-v2 a.mm-btn-wa { color: #052e16; }
  .mobile-menu.mm-v2 a.mm-btn svg { width: 17px; height: 17px; }
  .mobile-menu.mm-v2 .mm-quote { margin-top: .6rem; }
  .mobile-menu.mm-v2 a.mm-mail {
    display: flex; align-items: center; justify-content: center; gap: .45rem;
    margin-top: .8rem; font-size: .82rem; font-weight: 500; color: rgba(226, 232, 240, .85);
  }
  html[data-theme="dark"] .mobile-menu.mm-v2 a.mm-mail { color: rgba(226, 232, 240, .85); }
  .mobile-menu.mm-v2 a.mm-mail svg { width: 14px; height: 14px; }

  /* entrance stagger */
  .mobile-menu.mm-v2.open .mm-nav > .mm-link,
  .mobile-menu.mm-v2.open .mm-contact { animation: uwMmItem .32s ease both; }
  .mobile-menu.mm-v2.open .mm-nav > .mm-link:nth-child(2) { animation-delay: .02s; }
  .mobile-menu.mm-v2.open .mm-nav > .mm-link:nth-child(3) { animation-delay: .04s; }
  .mobile-menu.mm-v2.open .mm-nav > .mm-link:nth-child(5) { animation-delay: .06s; }
  .mobile-menu.mm-v2.open .mm-nav > .mm-link:nth-child(6) { animation-delay: .08s; }
  .mobile-menu.mm-v2.open .mm-nav > .mm-link:nth-child(7) { animation-delay: .1s; }
  .mobile-menu.mm-v2.open .mm-nav > .mm-link:nth-child(8) { animation-delay: .12s; }
  .mobile-menu.mm-v2.open .mm-nav > .mm-link:nth-child(9) { animation-delay: .14s; }
  .mobile-menu.mm-v2.open .mm-contact { animation-delay: .16s; }

  /* hide floating buttons and the sticky quote bar while the menu is open */
  body:has(.mobile-menu.open) .whatsapp-float,
  body:has(.mobile-menu.open) .back-to-top,
  body:has(.mobile-menu.open) .mobile-quote-bar { opacity: 0; visibility: hidden; pointer-events: none; }
}

@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
  .mobile-menu.mm-v2.open,
  .mobile-menu.mm-v2.open .mm-nav > .mm-link,
  .mobile-menu.mm-v2.open .mm-contact { animation: none; }
}

/* ---------- Footer (v2) ---------- */
.ft-v2 .container { padding-top: 3.5rem; }
.ft-v2 .ft-top {
  display: grid; gap: 2rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.ft-v2 .ft-about { margin-top: 1rem; max-width: 32rem; font-size: .925rem; line-height: 1.7; color: var(--primary-300); }
.ft-v2 .ft-stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: .75rem 2rem; margin-top: 1.5rem; }
.ft-v2 .ft-stats li { display: flex; flex-direction: column; gap: .2rem; }
.ft-v2 .ft-stats strong { font-family: var(--font-heading); font-size: 1.4rem; line-height: 1.1; font-weight: 600; color: #fff; }
.ft-v2 .ft-stats span { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-400); }

.ft-v2 .ft-news {
  align-self: start; padding: 1.5rem; border-radius: 1.25rem;
  background: linear-gradient(160deg, rgba(37, 99, 235, .16), rgba(6, 182, 212, .06));
  border: 1px solid rgba(255, 255, 255, .08);
}
.ft-v2 .ft-news-title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; color: #fff; }
.ft-v2 .ft-news-sub { margin: .35rem 0 1rem; font-size: .875rem; line-height: 1.6; color: var(--primary-300); }
.ft-v2 .ft-follow { display: flex; align-items: center; gap: .9rem; margin-top: 1.1rem; }
.ft-v2 .ft-follow > span { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-400); }
.ft-v2 .ft-follow .footer-social { margin-top: 0; gap: .5rem; }
.ft-v2 .ft-follow .footer-social a { width: 2.4rem; height: 2.4rem; }
.ft-v2 .ft-follow .footer-social svg { width: 18px; height: 18px; }

.ft-v2 .ft-grid { display: grid; gap: 2.25rem 2rem; padding: 2.5rem 0; }
.ft-v2 .ft-col summary,
.ft-v2 .ft-col-title {
  display: block; list-style: none; margin-bottom: 1.1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff;
}
.ft-v2 .ft-col summary::-webkit-details-marker { display: none; }
.ft-v2 .ft-col ul li { margin-bottom: .62rem; }
.ft-v2 .ft-col ul li a {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .925rem; color: var(--primary-200); transition: color .15s ease;
}
.ft-v2 .ft-col ul li a:hover { color: var(--accent-300); }
.ft-v2 .ft-col ul li a svg { width: 13px; height: 13px; }
.ft-v2 .ft-col ul li.ft-more { margin-top: .9rem; }
.ft-v2 .ft-col ul li.ft-more a { font-weight: 600; color: var(--accent-300); }
.ft-v2 .ft-col ul li.ft-more a:hover { color: #fff; }

.ft-v2 .ft-contact-list li { display: flex; align-items: flex-start; gap: .8rem; margin-bottom: 1rem; }
.ft-v2 .ft-contact-list li:last-child { margin-bottom: 0; }
.ft-v2 .ft-k { display: block; margin-bottom: .15rem; font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--primary-400); }
.ft-v2 .ft-v,
.ft-v2 .ft-contact-list a { font-size: .925rem; line-height: 1.5; color: var(--primary-100); }
.ft-v2 .ft-contact-list a:hover { color: var(--accent-300); }
.ft-v2 .ft-contact-list a.ft-wa {
  display: inline-block; margin-left: .35rem; padding: .05rem .55rem; border-radius: 999px;
  font-size: .75rem; font-weight: 600; color: #4ade80; background: rgba(37, 211, 102, .12);
  border: 1px solid rgba(37, 211, 102, .3); vertical-align: 1px;
}
.ft-v2 .ft-contact-list a.ft-wa:hover { color: #fff; background: rgba(37, 211, 102, .3); }
.ft-v2 .ft-contact-list .footer-icon-chip { margin-top: .1rem; }

.ft-v2 .ft-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.5rem;
  padding: 1.4rem 0 1.6rem; border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .82rem; color: var(--primary-400);
}
.ft-v2 .ft-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.ft-v2 .ft-legal a { color: var(--primary-300); }
.ft-v2 .ft-legal a:hover { color: var(--accent-300); }

@media (min-width: 768px) {
  .ft-v2 .ft-grid { grid-template-columns: 1fr 1fr; }
  .ft-v2 .ft-col summary { pointer-events: none; cursor: default; }
  .ft-v2 .ft-bottom { padding-right: 5rem; }
}
@media (min-width: 1024px) {
  .ft-v2 .ft-top { grid-template-columns: 1.35fr 1fr; gap: 4rem; align-items: start; }
  .ft-v2 .ft-grid { grid-template-columns: .9fr 1.1fr 1fr 1.45fr; gap: 2rem; padding: 3rem 0; }
}

@media (max-width: 767px) {
  .ft-v2 .container { padding-top: 2.75rem; }
  .ft-v2 .ft-stats { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .ft-v2 .ft-stats li {
    padding: .8rem .9rem; border-radius: .9rem;
    background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07);
  }
  .ft-v2 .ft-news { padding: 1.25rem; }
  .ft-v2 .ft-grid { gap: 0; padding: .5rem 0 1.75rem; }
  .ft-v2 details.ft-col { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .ft-v2 details.ft-col summary {
    display: flex; align-items: center; justify-content: space-between;
    margin: 0; padding: 1.05rem 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .ft-v2 details.ft-col summary::after {
    content: ""; width: 8px; height: 8px; margin-right: 4px;
    border-right: 2px solid var(--primary-300); border-bottom: 2px solid var(--primary-300);
    transform: rotate(45deg); transition: transform .2s ease;
  }
  .ft-v2 details.ft-col[open] summary::after { transform: rotate(-135deg); }
  .ft-v2 details.ft-col ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; padding-bottom: 1rem; }
  .ft-v2 details.ft-col ul li { margin-bottom: .7rem; }
  .ft-v2 details.ft-col ul li.ft-more { grid-column: 1 / -1; margin-top: .2rem; }
  .ft-v2 .ft-contact { padding-top: 1.75rem; }
  .ft-v2 .ft-bottom { flex-direction: column; align-items: flex-start; padding-bottom: 1.75rem; }
}
@media (max-width: 1023px) {
  .site-footer.ft-v2 { margin-bottom: -4.5rem; padding-bottom: 4.5rem; }
}

/* ---------- Testimonial slider: fixed height so the page (and footer) no longer jumps ---------- */
.testimonial-slider { display: grid; grid-template-columns: minmax(0, 1fr); }
.testimonial-slider > * { grid-column: 1; }
.testimonial-slider > svg { grid-row: 1; }
.testimonial-slider > .testimonial-slide {
  display: block; grid-row: 2; align-self: center;
  visibility: hidden; opacity: 0; transition: opacity .35s ease, visibility 0s linear .35s;
}
.testimonial-slider > .testimonial-slide.active { visibility: visible; opacity: 1; transition: opacity .35s ease; }
.testimonial-slider > .testimonial-controls { grid-row: 3; }
