/* =====================================================================
   Tiara Mass — custom redesigned footer  (.tmf, replaces Elementor footer)
   Self-contained; deployed to every page.
   ===================================================================== */
:root{ --tmf-red:#e11d38; --tmf-red-lt:#ff6b82; --tmf-ease:cubic-bezier(.22,.61,.2,1); }

.tmf{
  position:relative; overflow:hidden;
  background:
    /* readability overlay: light at top so the map shows, opaque lower so text stays crisp */
    linear-gradient(180deg, rgba(9,13,19,.38) 0%, rgba(9,13,19,.65) 42%, rgba(9,13,19,.73) 100%),
    /* brand red glow, kept */
    radial-gradient(900px 380px at 82% 118%, rgba(225,29,56,.12), transparent 70%),
    /* the global-routes background image */
    url('../wp-content/uploads/2026/07/footer-bg.jpg?v=1') center top / cover no-repeat,
    /* fallback base */
    linear-gradient(180deg,#0f1620 0%,#0a0e14 100%);
  color:rgba(255,255,255,.66);
  font-family:inherit;
  border-top:1px solid rgba(255,255,255,.06);
}
/* animated brand accent line */
.tmf::before{
  content:""; position:absolute; top:0; left:0; right:0; height:3px; z-index:3;
  background:linear-gradient(90deg,var(--tmf-red),var(--tmf-red-lt),var(--tmf-red));
  background-size:200% 100%; animation:tmfLine 9s linear infinite;
}
@keyframes tmfLine{ to{ background-position:200% 0; } }
.tmf-glow{
  position:absolute; top:-40%; left:-10%; width:520px; height:520px; z-index:0; pointer-events:none;
  background:radial-gradient(circle, rgba(225,29,56,.16), transparent 62%); filter:blur(20px);
}
@media (prefers-reduced-motion:reduce){ .tmf::before{ animation:none; } }

.tmf-inner{ position:relative; z-index:2; max-width:1200px; margin:0 auto; padding:70px 24px 26px; }

.tmf-grid{
  display:grid; gap:40px;
  grid-template-columns:1.35fr .8fr 1.75fr 1.1fr;
}
@media (max-width:1024px){ .tmf-grid{ grid-template-columns:1fr 1fr; gap:40px 32px; } }
@media (max-width:560px){ .tmf-grid{ grid-template-columns:1fr; gap:34px; text-align:center; } }

/* ---- brand ---- */
.tmf-logo{ height:112px; width:auto; margin-bottom:20px; }
.tmf-blurb{ font-size:15.5px; line-height:1.75; max-width:340px; margin:0 0 22px; }
@media (max-width:560px){ .tmf-blurb{ margin-left:auto; margin-right:auto; } }
.tmf-social{ display:flex; gap:12px; }
@media (max-width:560px){ .tmf-social{ justify-content:center; } }
.tmf-soc{
  width:42px; height:42px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.10);
  color:#fff; transition:transform .3s var(--tmf-ease), background-color .3s, box-shadow .3s, color .3s;
}
.tmf-soc svg{ width:19px; height:19px; }
.tmf-soc:hover{ transform:translateY(-4px); background:var(--tmf-red); border-color:var(--tmf-red); box-shadow:0 10px 24px rgba(225,29,56,.4); }
.tmf-soc.tmf-wa:hover{ background:#25d366; border-color:#25d366; box-shadow:0 10px 24px rgba(37,211,102,.4); }
.tmf-soc.tmf-ig:hover{ background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285AEB 90%); border-color:transparent; box-shadow:0 10px 24px rgba(214,36,159,.45); }
.tmf-soc.tmf-tt:hover{ background:#010101; border-color:#25F4EE; box-shadow:0 0 0 1px #25F4EE, 0 10px 24px rgba(37,244,238,.35); }
.tmf-soc.tmf-fb:hover{ background:#1877F2; border-color:#1877F2; box-shadow:0 10px 24px rgba(24,119,242,.4); }

/* ---- WeChat QR (label on its own line, below the code) ---- */
.tmf-qr{ margin-top:20px; display:flex; flex-direction:column; align-items:flex-start; gap:10px; }
.tmf-qr img{ width:110px; height:110px; border-radius:10px; background:#fff; padding:6px; box-shadow:0 8px 20px rgba(0,0,0,.35); }
.tmf-qr-label{ display:block; font-size:13px; line-height:1.45; color:rgba(255,255,255,.6); max-width:150px; }
@media (max-width:560px){ .tmf-qr{ align-items:center; text-align:center; } }

/* ---- headings ---- */
.tmf-h{
  color:#fff; font-size:17px; font-weight:700; letter-spacing:.01em;
  margin:0 0 22px; padding-bottom:12px; position:relative;
}
.tmf-h::after{
  content:""; position:absolute; left:0; bottom:0; width:38px; height:3px; border-radius:3px;
  background:linear-gradient(90deg,var(--tmf-red),var(--tmf-red-lt));
  transition:width .4s var(--tmf-ease);
}
.tmf-col:hover .tmf-h::after{ width:58px; }
.tmf-h-sub{ margin-top:30px; }
@media (max-width:560px){ .tmf-h::after{ left:50%; transform:translateX(-50%); } }

/* ---- quick links ---- */
.tmf-links{ list-style:none; margin:0; padding:0; }
.tmf-links li{ margin-bottom:13px; }
.tmf-links a{
  color:rgba(255,255,255,.66); text-decoration:none; font-size:15.5px;
  display:inline-flex; align-items:center; transition:color .25s var(--tmf-ease), transform .25s var(--tmf-ease);
}
.tmf-links a::before{
  content:"\203A"; color:var(--tmf-red-lt); font-weight:700; margin-right:0; width:0; opacity:0; overflow:hidden;
  transition:width .28s var(--tmf-ease), opacity .28s, margin .28s;
}
.tmf-links a:hover{ color:#fff; transform:translateX(3px); }
.tmf-links a:hover::before{ width:12px; opacity:1; margin-right:8px; }
@media (max-width:560px){ .tmf-links a{ justify-content:center; } }

/* ---- contact ---- */
.tmf-contact{ list-style:none; margin:0; padding:0; }
.tmf-contact li{ display:flex; gap:12px; align-items:flex-start; margin-bottom:16px; font-size:14.5px; line-height:1.55; }
@media (max-width:560px){ .tmf-contact li{ justify-content:center; text-align:left; } }
.tmf-contact li em{ font-style:normal; color:rgba(255,255,255,.5); font-size:13.5px; }
.tmf-contact a{ color:rgba(255,255,255,.72); text-decoration:none; transition:color .25s; }
/* keep every company / address / email line on one row */
.tmf-contact li > span:last-child,
.tmf-contact li a{ white-space:nowrap; }
@media (max-width:400px){ .tmf-contact li > span:last-child, .tmf-contact li a{ white-space:normal; } }
.tmf-contact a:hover{ color:var(--tmf-red-lt); }
.tmf-ic{
  flex:0 0 34px; width:34px; height:34px; border-radius:9px; margin-top:1px;
  display:inline-flex; align-items:center; justify-content:center;
  background:rgba(225,29,56,.14); color:var(--tmf-red-lt);
}
.tmf-ic svg{ width:17px; height:17px; }

/* ---- office label + named contacts ---- */
.tmf-plabel{ color:rgba(255,255,255,.55); font-weight:600; margin-right:2px; }
.tmf-people{ list-style:none; margin:0; padding:0; }
.tmf-people li{ display:flex; justify-content:flex-start; align-items:baseline; gap:8px; font-size:14.5px; padding:8px 0; border-bottom:1px dashed rgba(255,255,255,.08); }
.tmf-people li:last-child{ border-bottom:0; }
.tmf-people .tmf-pname{ color:#fff; font-weight:700; letter-spacing:.03em; min-width:64px; }
.tmf-people a{ color:#fff !important; text-decoration:none; white-space:nowrap; font-weight:500; transition:opacity .2s var(--tmf-ease); }
.tmf-people a:hover{ color:#fff !important; text-decoration:underline; }
@media (max-width:560px){ .tmf-people{ max-width:280px; margin:0 auto; } }

/* ---- working hours ---- */
.tmf-hours{ list-style:none; margin:0; padding:0; }
.tmf-hours li{ display:flex; justify-content:space-between; gap:16px; font-size:15px; padding:9px 0; border-bottom:1px dashed rgba(255,255,255,.10); }
.tmf-hours li:last-child{ border-bottom:0; }
.tmf-hours span{ color:rgba(255,255,255,.6); }
.tmf-hours b{ color:#fff; font-weight:600; }
.tmf-hours .tmf-closed{ color:var(--tmf-red-lt); }
@media (max-width:560px){ .tmf-hours{ max-width:280px; margin:0 auto; } }

/* ---- map ---- */
.tmf-map{
  border-radius:14px; overflow:hidden; border:1px solid rgba(255,255,255,.10);
  box-shadow:0 16px 38px rgba(0,0,0,.4); line-height:0;
  transition:transform .4s var(--tmf-ease), box-shadow .4s;
}
.tmf-map iframe{ width:100%; height:170px; border:0; filter:grayscale(.25) contrast(1.05); transition:filter .4s; }
.tmf-map:hover{ transform:translateY(-4px); box-shadow:0 22px 50px rgba(0,0,0,.55); }
.tmf-map:hover iframe{ filter:grayscale(0) contrast(1); }
.tmf-dir{
  display:inline-block; margin-top:14px; color:var(--tmf-red-lt); text-decoration:none;
  font-size:14.5px; font-weight:600; letter-spacing:.02em; transition:gap .3s, color .3s, transform .3s;
}
.tmf-dir:hover{ color:#fff; transform:translateX(3px); }

/* ---- bottom bar ---- */
.tmf-bottom{
  margin-top:52px; padding-top:22px; border-top:1px solid rgba(255,255,255,.09);
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
}
@media (max-width:560px){ .tmf-bottom{ justify-content:center; text-align:center; } }
.tmf-bottom-left{ display:flex; flex-direction:column; gap:5px; }
@media (max-width:560px){ .tmf-bottom-left{ align-items:center; } }
.tmf-copy{ margin:0; font-size:14px; color:rgba(255,255,255,.5); letter-spacing:.02em; }
.tmf-credit{ margin:0; font-size:13px; color:rgba(255,255,255,.42); letter-spacing:.02em; }
.tmf-credit a{ color:var(--tmf-red-lt); text-decoration:none; font-weight:700; transition:color .25s var(--tmf-ease); }
.tmf-credit a:hover{ color:#fff; }
.tmf-top{
  display:inline-flex; align-items:center; gap:8px; text-decoration:none;
  color:rgba(255,255,255,.8); font-size:14px; font-weight:600;
  border:1px solid rgba(255,255,255,.16); border-radius:999px; padding:9px 18px;
  transition:background-color .3s var(--tmf-ease), color .3s, border-color .3s, transform .3s;
}
.tmf-top svg{ width:15px; height:15px; transition:transform .3s var(--tmf-ease); }
.tmf-top:hover{ background:var(--tmf-red); border-color:var(--tmf-red); color:#fff; }
.tmf-top:hover svg{ transform:translateY(-3px); }
