/* ═══════════════════════════════════════════════════════
   TuskMed — Home Page Styles
   home.css
   Palette: #F6EFEF cream · #D6A96E amber · #2C2018 ink
   ═══════════════════════════════════════════════════════ */

/* ── RESET ─────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── VARIABLES ─────────────────────────────────────────── */
:root {
  --tm-c: #f6efef;
  --tm-c2: #ede3e3;
  --tm-c3: #faf6f2;
  --tm-a: #d6a96e;
  --tm-ad: #b8844a;
  --tm-ag: linear-gradient(135deg, #d6a96e, #b8844a);
  --tm-ap: rgba(214, 169, 110, 0.1);
  --tm-ap2: rgba(214, 169, 110, 0.18);
  --tm-ink: #2c2018;
  --tm-ink2: #4a3828;
  --tm-ink3: #7a6858;
  --tm-ink4: #b0a090;
  --tm-w: #ffffff;
  --tm-grn: #2d9e6b;
  --tm-blu: #4a7ec7;
  --tm-red: #c0392b;
}

/* ── BASE ───────────────────────────────────────────────── */
body {
  background: var(--tm-c);
  color: var(--tm-ink);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

/* ── LOGO ───────────────────────────────────────────────── */
.logo-img {
  height: 70px;
  display: flex;
  align-items: center;
}
.logo-img img {
  height: 210px;
  width: auto;
  object-fit: contain;
}

/* ── UTILITY ────────────────────────────────────────────── */
.hidden {
  display: none !important;
}

/* ── SCROLL REVEAL ─────────────────────────────────────── */
/* Elements start visible. JS adds the animation class when JS loads. */
.tm-r {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
/* JS adds .js-loaded to <body> before observing, then .in on scroll */
.js-loaded .tm-r {
  opacity: 0;
  transform: translateY(22px);
}
.js-loaded .tm-r.in {
  opacity: 1;
  transform: none;
}
.tm-d1 {
  transition-delay: 0.08s;
}
.tm-d2 {
  transition-delay: 0.16s;
}
.tm-d3 {
  transition-delay: 0.24s;
}
.tm-d4 {
  transition-delay: 0.32s;
}

/* ── SHARED COMPONENTS ──────────────────────────────────── */
.tm-ey {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tm-ad);
  margin-bottom: 14px;
}
.tm-ey::before {
  content: "";
  width: 20px;
  height: 1.5px;
  background: var(--tm-a);
}

.tm-si {
  max-width: 1160px;
  margin: 0 auto;
  padding: 92px 48px;
}

.tm-st {
  font-family: "Poppins", sans-serif;
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.7px;
  color: var(--tm-ink);
  margin-bottom: 14px;
}
.tm-st em {
  font-style: italic;
  color: var(--tm-ad);
}

.tm-sd {
  font-size: 16.5px;
  color: var(--tm-ink3);
  line-height: 1.75;
  max-width: 560px;
}

.tm-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 99px;
  background: var(--tm-ag);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(214, 169, 110, 0.38);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  cursor: pointer;
}
.tm-btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(214, 169, 110, 0.45);
}

.tm-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 99px;
  background: transparent;
  color: var(--tm-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid rgba(44, 32, 24, 0.17);
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.2s;
}
.tm-btn-ghost:hover {
  border-color: var(--tm-a);
  background: var(--tm-ap);
  transform: translateY(-2px);
}

/* ════════════════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════════════════ */
.tm-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  height: 66px;
  display: flex;
  align-items: center;
  padding: 0 48px;
  gap: 32px;
  background: rgba(246, 239, 239, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(44, 32, 24, 0.07);
}

.tm-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.tm-nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin-left: auto;
}
.tm-nav-links a {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--tm-ink3);
  position: relative;
  transition: color 0.2s;
  cursor: pointer;
}
.tm-nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--tm-a);
  transition: width 0.22s;
}
.tm-nav-links a:hover {
  color: var(--tm-ink);
}
.tm-nav-links a:hover::after {
  width: 100%;
}

.tm-nav-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  border-radius: 99px;
  background: var(--tm-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.15s;
}

.tm-nav-login:hover {
  background: var(--tm-ad);
  transform: translateY(-1px);
}

.tm-nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: 1.5px solid rgba(44, 32, 24, 0.14);
  border-radius: 10px;
  cursor: pointer;
  place-items: center;
  color: var(--tm-ink);
  margin-left: auto;
}

/* ════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════ */
.tm-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 5px 48px 0;
  position: relative;
  overflow: hidden;
  gap: 20px;
}
.tm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    108deg,
    transparent,
    transparent 55px,
    rgba(214, 169, 110, 0.022) 55px,
    rgba(214, 169, 110, 0.022) 56px
  );
}

.tm-hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.tm-hb1 {
  width: 680px;
  height: 680px;
  top: -200px;
  right: -160px;
  background: radial-gradient(
    circle,
    rgba(214, 169, 110, 0.16),
    transparent 68%
  );
  animation: tm-bdrift 15s ease-in-out infinite alternate;
}
.tm-hb2 {
  width: 480px;
  height: 480px;
  bottom: -100px;
  left: -80px;
  background: radial-gradient(
    circle,
    rgba(214, 169, 110, 0.1),
    transparent 68%
  );
  animation: tm-bdrift 19s ease-in-out infinite alternate-reverse;
}
@keyframes tm-bdrift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(28px, 18px) scale(1.06);
  }
}

.tm-hero-left {
  position: relative;
  z-index: 2;
  padding: 17px 32px 80px 0;
}
.tm-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tm-ap);
  border: 1px solid rgba(214, 169, 110, 0.24);
  border-radius: 99px;
  padding: 7px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tm-ad);
  margin-bottom: 28px;
  animation: tm-fu 0.55s ease both;
}
.tm-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tm-grn);
  animation: tm-pulse 2s ease-in-out infinite;
}
@keyframes tm-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.7);
    opacity: 0.4;
  }
}

.tm-hero-h1 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -1.2px;
  color: var(--tm-ink);
  margin-bottom: 20px;
  animation: tm-fu 0.55s 0.07s ease both;
}
.tm-hero-h1 em {
  font-style: italic;
  color: var(--tm-ad);
}

.tm-hero-sub {
  font-family: "Poppins", sans-serif;
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--tm-ink3);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 36px;
  animation: tm-fu 0.55s 0.14s ease both;
}

.tm-hero-btns {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  animation: tm-fu 0.55s 0.2s ease both;
}

.tm-hero-right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}
.tm-hero-visual {
  position: relative;
  width: 540px; /* was 460px */
  height: 640px; /* was 560px */
}
.tm-hero-card {
  position: absolute;
  width: 420px;
  height: 461px;
  border-radius: 28px;
  overflow: visible; /* ← changed from hidden */
  top: 20px;
  left: 20px;
  animation: tm-crise 0.8s 0.25s cubic-bezier(0.34, 1.3, 0.64, 1) both;
  background: transparent;
  border: none;
  box-shadow: none;
}
@keyframes tm-crise {
  from {
    opacity: 0;
    transform: translateY(36px) rotate(-1.5deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-1.5deg);
  }
}
.tm-hero-card-inner {
  width: 100%;
  height: 100%;
  background: transparent;
  position: relative;
  overflow: visible; /* ← changed from hidden */
  display: flex;
  align-items: center;
  justify-content: center;
}

.tm-hero-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--tm-ad);
  border: 1px solid rgba(214, 169, 110, 0.3);
  backdrop-filter: blur(8px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tm-hero-card-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tm-grn);
  flex-shrink: 0;
}

/* Hero image — contain so full elephant shows; card bg gradient blends with image */
.tm-doc-photo {
  width: 924px;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
}

.tm-hero-stat {
  position: absolute;
  background: #fff;
  border-radius: 15px;
  border: 1px solid rgba(44, 32, 24, 0.07);
  box-shadow: 0 10px 28px rgba(44, 32, 24, 0.1);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  animation: tm-sfi 0.65s ease both;
  z-index: 10;
}
.tm-hs1 {
  bottom: 126px;
  right: 0;
  animation-delay: 0.5s;
}
.tm-hs2 {
  top: 20px;
  right: -10px;
  animation-delay: 0.65s;
}
@keyframes tm-sfi {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.tm-hsico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.tm-hig {
  background: rgba(45, 158, 107, 0.1);
  color: var(--tm-grn);
}
.tm-hia {
  background: var(--tm-ap);
  color: var(--tm-ad);
}
.tm-hsv {
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--tm-ink);
  line-height: 1;
}
.tm-hsl {
  font-size: 10px;
  font-weight: 500;
  color: var(--tm-ink4);
  margin-top: 2px;
}

.tm-hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tm-ink4);
  z-index: 2;
  animation: tm-fadeI 1s 1.2s ease both;
}
.tm-scroll-line {
  width: 36px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--tm-a), transparent);
  animation: tm-sg 2s ease-in-out infinite;
}
@keyframes tm-sg {
  0%,
  100% {
    width: 18px;
    opacity: 0.35;
  }
  50% {
    width: 36px;
    opacity: 1;
  }
}

/* ════════════════════════════════════════════════════════
   SECTION A — What TuskMed Is (full-page, dark)
   ════════════════════════════════════════════════════════ */
.tm-sec-a {
  min-height: 100vh;
  background: var(--tm-ink);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.tm-sec-a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    108deg,
    transparent,
    transparent 55px,
    rgba(214, 169, 110, 0.025) 55px,
    rgba(214, 169, 110, 0.025) 56px
  );
  pointer-events: none;
}
.tm-sec-a-blob {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(214, 169, 110, 0.12),
    transparent 65%
  );
  top: -180px;
  right: -200px;
  pointer-events: none;
  animation: tm-bdrift 18s ease-in-out infinite alternate;
}
.tm-sec-a-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 120px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.tm-sec-a-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tm-a);
  margin-bottom: 20px;
}
.tm-sec-a-label::before {
  content: "";
  width: 20px;
  height: 1.5px;
  background: var(--tm-a);
}
.tm-sec-a-h {
  font-family: "Poppins", sans-serif;
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.13;
  letter-spacing: -0.6px;
  color: #fff;
}
.tm-sec-a-h em {
  font-style: italic;
  color: var(--tm-a);
}
.tm-sec-a-body {
  font-family: "Poppins", sans-serif;
  font-size: clamp(15.5px, 1.55vw, 18px);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.9;
}
.tm-sec-a-body strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

/* ════════════════════════════════════════════════════════
   SECTION B — Focus Areas (full-page, cream)
   ════════════════════════════════════════════════════════ */
.tm-sec-b {
  min-height: 100vh;
  background: var(--tm-c3);
  border-top: 1px solid rgba(44, 32, 24, 0.06);
  border-bottom: 1px solid rgba(44, 32, 24, 0.06);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.tm-sec-b::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(214, 169, 110, 0.09),
    transparent 70%
  );
  pointer-events: none;
}
.tm-sec-b-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 120px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.tm-sec-b-body {
  font-family: "Poppins", sans-serif;
  font-size: clamp(15.5px, 1.55vw, 18px);
  color: var(--tm-ink2);
  line-height: 1.9;
  margin-bottom: 36px;
}
.tm-sec-b-body strong {
  color: var(--tm-ink);
  font-weight: 700;
}
.tm-focus-pills {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tm-fp-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid rgba(44, 32, 24, 0.08);
  border-radius: 14px;
  padding: 15px 20px;
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.tm-fp-item:hover {
  transform: translateX(5px);
  border-color: var(--tm-a);
  box-shadow: 0 4px 18px rgba(214, 169, 110, 0.12);
}
.tm-fp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tm-fp-dot.green {
  background: var(--tm-grn);
}
.tm-fp-dot.amber {
  background: var(--tm-a);
}
.tm-fp-dot.blue {
  background: var(--tm-blu);
}
.tm-fp-dot.red {
  background: var(--tm-red);
}
.tm-fp-text {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--tm-ink);
}
.tm-sec-b-quote {
  font-family: "Poppins", sans-serif;
  font-size: clamp(26px, 3.2vw, 44px);
  font-style: italic;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--tm-ink);
  margin-bottom: 24px;
}
.tm-sec-b-quote em {
  color: var(--tm-ad);
}
.tm-sec-b-divider {
  width: 48px;
  height: 2px;
  background: var(--tm-ag);
  border-radius: 99px;
  margin-bottom: 16px;
}
.tm-sec-b-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tm-ad);
}

/* ════════════════════════════════════════════════════════
   POST A QUERY
   ════════════════════════════════════════════════════════ */
.tm-qsec {
  background: var(--tm-c2);
  border-top: 1px solid rgba(44, 32, 24, 0.06);
  border-bottom: 1px solid rgba(44, 32, 24, 0.06);
}
.tm-qin {
  max-width: 1160px;
  margin: 0 auto;
  padding: 110px 48px;
  display: flex;
  align-items: center;
  gap: 80px;
}
.tm-qleft {
  flex: 0 0 360px;
}
.tm-qcwrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tm-qco {
  position: relative;
  width: 520px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tm-qorb {
  position: absolute;
  inset: -32px;
  border-radius: 50%;
  border: 1.5px dashed rgba(214, 169, 110, 0.3);
  animation: tm-ospin 22s linear infinite;
  pointer-events: none;
}
.tm-qorb::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--tm-a);
  box-shadow: 0 0 0 4px rgba(214, 169, 110, 0.22);
}
.tm-qorb2 {
  position: absolute;
  inset: -64px;
  border-radius: 50%;
  border: 1px solid rgba(214, 169, 110, 0.1);
  animation: tm-ospin 38s linear infinite reverse;
  pointer-events: none;
}
@keyframes tm-ospin {
  to {
    transform: rotate(360deg);
  }
}
.tm-qc {
  position: relative;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(214, 169, 110, 0.2);
  box-shadow:
    0 0 0 22px rgba(214, 169, 110, 0.05),
    0 0 0 44px rgba(214, 169, 110, 0.023),
    0 32px 72px rgba(44, 32, 24, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    box-shadow 0.3s,
    border-color 0.3s;
  animation: tm-cpop 0.85s 0.4s cubic-bezier(0.34, 1.2, 0.64, 1) both;
}
@keyframes tm-cpop {
  from {
    opacity: 0;
    transform: scale(0.84);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.tm-qc:focus-within {
  border-color: var(--tm-a);
  box-shadow:
    0 0 0 22px rgba(214, 169, 110, 0.1),
    0 0 0 44px rgba(214, 169, 110, 0.04),
    0 36px 80px rgba(44, 32, 24, 0.15);
}
.tm-qc-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 56px;
  text-align: center;
}
.tm-qcico {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  background: rgba(214, 169, 110, 0.08);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}
.tm-qcico:hover {
  background: rgba(214, 169, 110, 0.14);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214, 169, 110, 0.2);
}
.tm-qlogo {
  width: 62px;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(214, 169, 110, 0.15));
}
.tm-qctitle {
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--tm-ink);
  margin-bottom: 8px;
}
.tm-qchint {
  font-size: 14px;
  color: var(--tm-ink4);
  line-height: 1.6;
  margin-bottom: 18px;
}
.tm-qcta {
  width: 100%;
  background: var(--tm-c);
  border: 1.5px solid rgba(44, 32, 24, 0.1);
  border-radius: 14px;
  padding: 13px 15px;
  resize: none;
  height: 100px;
  font-family: "Poppins", sans-serif;
  font-size: 13.5px;
  color: var(--tm-ink);
  line-height: 1.6;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.tm-qcta::placeholder {
  color: var(--tm-ink4);
}
.tm-qcta:focus {
  outline: none;
  border-color: var(--tm-a);
  box-shadow: 0 0 0 3px rgba(214, 169, 110, 0.12);
}
.tm-qpost {
  margin-top: 16px;
  width: 80%;
  height: 46px;
  border-radius: 14px;
  border: none;
  background: var(--tm-ag);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(214, 169, 110, 0.35);
  transition: all 0.18s ease;
}
.tm-qpost:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(214, 169, 110, 0.45);
}
.tm-qpost:active {
  transform: scale(0.97);
}

.tm-qsuccess-icon--info {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(214, 169, 110, 0.12);
  border: 1.5px solid rgba(214, 169, 110, 0.35);
  color: #d6a96e;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.tm-qsuccess-title {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--tm-ink);
  margin-bottom: 10px;
}
.tm-qsuccess-msg {
  font-size: 13.5px;
  color: var(--tm-ink3);
  line-height: 1.65;
}
.tm-redirect-bar {
  width: 100%;
  height: 3px;
  background: rgba(214, 169, 110, 0.15);
  border-radius: 99px;
  margin-top: 14px;
  overflow: hidden;
}
.tm-redirect-fill {
  height: 100%;
  width: 100%;
  background: #d6a96e;
  border-radius: 99px;
  animation: drain 5s linear forwards;
}
@keyframes drain {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

/* ════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════ */
.tm-footer {
  background: var(--tm-ink);
  padding: 48px;
}
.tm-footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.tm-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tm-footer-addr {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.9;
}

/* ════════════════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════════════════ */
@keyframes tm-fu {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes tm-fadeI {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.tm-nav {
  /* ... existing rules ... */
  overflow: hidden; /* ← add this */
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .logo-img {
    height: 44px;
  }
  .logo-img img {
    height: 120px; /* visually renders smaller due to overflow clipping */
  }

  .tm-nav {
    padding: 0 14px;
    gap: 0;
    justify-content: space-between;
  }

  .tm-nav-login {
    padding: 8px 14px;
    font-size: 12px;
    flex-shrink: 0;
    margin-right: 10px;
  }

  .tm-nav-burger {
    flex-shrink: 0;
  }
  .tm-nav {
    padding: 0 18px;
  }
  .tm-nav-links {
    display: none;
  }
  .tm-nav-burger {
    display: grid;
  }

  .tm-hero {
    grid-template-columns: 1fr;
    padding: 76px 20px 50px;
    text-align: center;
  }
  .tm-hero-left {
    padding: 40px 0 0;
  }
  .tm-hero-sub {
    margin: 0 auto 28px;
  }
  .tm-hero-btns {
    justify-content: center;
  }
  .tm-hero-right {
    display: none;
  }
  .tm-hero-scroll {
    left: 20px;
  }

  .tm-sec-a-inner,
  .tm-sec-b-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 72px 24px;
  }

  .tm-qin {
    flex-direction: column;
    padding: 56px 20px;
    gap: 36px;
  }
  .tm-qleft {
    flex: none;
  }
  .tm-qco {
    width: 400px;
    height: 400px;
  }
  .tm-qc {
    width: 400px;
    height: 400px;
  }
  .tm-qorb {
    inset: -24px;
  }
  .tm-qorb2 {
    inset: -48px;
  }
  .tm-qc-content {
    padding: 0 40px;
  }
  .tm-qcta {
    height: 85px;
  }

  .tm-footer {
    padding: 40px 20px;
  }
}

@media (max-width: 580px) {
  .tm-qco {
    width: 320px;
    height: 320px;
  }
  .tm-qc {
    width: 320px;
    height: 320px;
  }
  .tm-qc-content {
    padding: 0 28px;
  }
  .tm-qcico {
    width: 62px;
    height: 62px;
    margin-bottom: 12px;
  }
  .tm-qlogo {
    width: 46px;
  }
  .tm-qctitle {
    font-size: 17px;
  }
  .tm-qchint {
    font-size: 12px;
    margin-bottom: 12px;
  }
  .tm-qcta {
    height: 72px;
    font-size: 12.5px;
  }
  .tm-qpost {
    font-size: 13px;
    height: 40px;
    width: 50%;
  }
  .tm-hero-btns {
    flex-direction: column;
    align-items: center;
  }
  .logo-img img {
    height: 164px;
  }
}
