/* TaktProduction — shared site chrome (header + footer).
   Scoped to .tpl-root so it styles only the header/footer and never the page
   body. Visually matches the homepage nav/footer. */

.tpl-root .container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }

.tpl-root .tpc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: 'Poppins', -apple-system, sans-serif; font-weight: 600; font-size: 0.92rem; letter-spacing: -0.01em;
  padding: 12px 24px; border-radius: 999px; cursor: pointer; border: 1.5px solid transparent;
  background: #229DBB; color: #fff; box-shadow: 0 6px 18px rgba(34,157,187,0.28);
  transition: all 0.22s cubic-bezier(.4,0,.2,1); white-space: nowrap; text-decoration: none;
}
.tpl-root .tpc-btn:hover { background: #17758F; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(34,157,187,0.34); }

/* ===== Header / nav ===== */
.tpl-root .nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.86); backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.tpl-root .nav.scrolled { border-bottom-color: #E7ECEE; box-shadow: 0 1px 20px rgba(16,27,41,0.05); }
.tpl-root .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 20px; }
.tpl-root .brand { display: inline-flex; align-items: center; line-height: 0; }
.tpl-root .brand img { height: 26px; width: auto; display: block; }
.tpl-root .nav-links { display: none; align-items: center; gap: 24px; flex-wrap: nowrap; flex-shrink: 0; }
.tpl-root .nav-links a { font-size: 0.905rem; font-weight: 500; color: #55707A; position: relative; padding: 8px 0; transition: color 0.2s; white-space: nowrap; text-decoration: none; }
.tpl-root .nav-links a::after { content: ''; position: absolute; bottom: 2px; left: 0; width: 0; height: 2px; background: #FFA900; border-radius: 2px; transition: width 0.25s ease; }
.tpl-root .nav-links a:hover { color: #0E2A33; }
.tpl-root .nav-links a:hover::after { width: 100%; }
.tpl-root .nav-cta { display: flex; align-items: center; gap: 14px; }
.tpl-root .nav-cta .tpc-btn { display: none; }
.tpl-root .hamburger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.tpl-root .hamburger span { width: 22px; height: 2px; background: #0E2A33; border-radius: 2px; transition: all 0.3s; }
.tpl-root .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tpl-root .hamburger.open span:nth-child(2) { opacity: 0; }
.tpl-root .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.tpl-root .mobile-menu {
  display: none; position: fixed; top: 66px; left: 0; right: 0; background: #fff;
  border-bottom: 1px solid #E7ECEE; box-shadow: 0 24px 60px rgba(16,27,41,0.11);
  padding: 12px 26px 26px; z-index: 999; max-height: calc(100vh - 66px); overflow-y: auto;
}
.tpl-root .mobile-menu.open { display: block; }
.tpl-root .mobile-menu a { display: block; padding: 16px 0; min-height: 48px; font-weight: 500; color: #0E2A33; border-bottom: 1px solid #EEF2F4; text-decoration: none; }
.tpl-root .mobile-menu .tpc-btn { display: flex; width: 100%; margin-top: 20px; }

/* ===== Footer ===== */
.tpl-root .foot { background: #0E2A33; color: rgba(255,255,255,0.6); padding: 56px 0 34px; border-top: 1px solid rgba(255,255,255,0.08); }
.tpl-root .foot-in { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.tpl-root .foot-in img { height: 26px; width: auto; display: block; }
.tpl-root .foot-links { display: flex; gap: 14px 24px; flex-wrap: wrap; }
.tpl-root .foot-links a { font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: color .2s; text-decoration: none; }
.tpl-root .foot-links a:hover { color: #fff; }
.tpl-root .foot-right { font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.tpl-root .foot-right a { color: #7EC6D8; text-decoration: none; }
.tpl-root .copyright { margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.84rem; text-align: center; color: rgba(255,255,255,0.42); }

/* ===== Responsive (mobile-first) ===== */
@media (min-width: 640px) {
  .tpl-root .container { padding: 0 28px; }
  .tpl-root .foot-in { flex-direction: row; align-items: center; justify-content: space-between; gap: 30px; }
}
@media (min-width: 900px) {
  .tpl-root .nav-inner { height: 82px; gap: 22px; }
  .tpl-root .brand img { height: 30px; }
  .tpl-root .mobile-menu { top: 82px; }
}
/* Reveal the full inline nav only when all items fit on one row; hamburger below. */
@media (min-width: 1160px) {
  .tpl-root .nav-inner { gap: 20px; }
  .tpl-root .brand img { height: 28px; }
  .tpl-root .nav-links { display: flex; }
  .tpl-root .nav-cta .tpc-btn { display: inline-flex; }
  .tpl-root .hamburger { display: none; }
  .tpl-root .mobile-menu, .tpl-root .mobile-menu.open { display: none; }
}

/* ===== "Before you decide" section (Comparison + ROI) — matches the homepage AI panel ===== */
.tpl-root .tpce { padding: 64px 0; background: #F4F6F7; }
.tpl-root .tpce-panel { position: relative; border-radius: 24px; background: #fff; padding: 42px 32px 40px; overflow: hidden; isolation: isolate; box-shadow: 0 24px 64px -30px rgba(34,157,187,.42); }
.tpl-root .tpce-panel::before { content: ''; position: absolute; inset: -60%; z-index: -2; background: conic-gradient(from 0deg, transparent 0 57%, #229DBB 73%, #7EC6D8 82%, #FFA900 90%, transparent 96% 100%); animation: tpce-rotate 7s linear infinite; }
.tpl-root .tpce-panel::after { content: ''; position: absolute; inset: 2px; z-index: -1; background: #fff; border-radius: 22px; }
@keyframes tpce-rotate { to { transform: rotate(1turn); } }
.tpl-root .tpce-head { max-width: 700px; margin: 0 auto 22px; text-align: center; }
.tpl-root .tpce-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.74rem; letter-spacing: .14em; text-transform: uppercase; color: #17758F; margin-bottom: 14px; }
.tpl-root .tpce-spark { display: inline-block; color: #FFA900; animation: tpce-spark 2.6s ease-in-out infinite; }
@keyframes tpce-spark { 0%,100% { transform: scale(1) rotate(0); opacity: .6; } 50% { transform: scale(1.35) rotate(18deg); opacity: 1; } }
.tpl-root .tpce-head h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: clamp(24px,3.4vw,32px); color: #0E2A33; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 12px; }
.tpl-root .tpce-head p { font-size: 1.05rem; color: #55707A; margin: 0; }
.tpl-root .tpce-assist { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 auto 30px; max-width: 620px; min-height: 24px; font-family: 'Poppins', sans-serif; font-size: 0.95rem; color: #0E2A33; text-align: center; }
.tpl-root .tpce-orb { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #7EC6D8, #229DBB 55%, #17758F); animation: tpce-orb 1.9s ease-out infinite; }
@keyframes tpce-orb { 0% { box-shadow: 0 0 0 0 rgba(34,157,187,.45); } 70% { box-shadow: 0 0 0 9px rgba(34,157,187,0); } 100% { box-shadow: 0 0 0 0 rgba(34,157,187,0); } }
.tpl-root .tpce-caret { display: inline-block; width: 2px; height: 1.05em; background: #229DBB; margin-left: 1px; animation: tpce-caret 1s steps(1) infinite; }
@keyframes tpce-caret { 50% { opacity: 0; } }
.tpl-root .tpce-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.tpl-root .tpce-card { display: block; text-decoration: none; background: linear-gradient(180deg, #F6FAFC, #fff); border: 1px solid #E2EEF2; border-radius: 16px; padding: 24px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.tpl-root .tpce-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(14,42,51,.35); border-color: #cfe6ee; }
.tpl-root .tpce-tag { display: inline-block; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #17758F; background: #E3F2F6; padding: 5px 11px; border-radius: 999px; margin-bottom: 14px; }
.tpl-root .tpce-tag-am { color: #D98C00; background: #FFF3D6; }
.tpl-root .tpce-card h3 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.12rem; color: #0E2A33; margin: 0 0 8px; }
.tpl-root .tpce-card p { font-size: 0.93rem; color: #55707A; margin: 0 0 16px; line-height: 1.55; }
.tpl-root .tpce-link { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.92rem; color: #17758F; }
.tpl-root .tpce-card:hover .tpce-link { color: #0E2A33; }
@media (min-width: 720px) { .tpl-root .tpce-grid { grid-template-columns: 1fr 1fr; gap: 22px; } }
@media (max-width: 560px) { .tpl-root .tpce-panel { padding: 30px 18px; } .tpl-root .tpce-assist { font-size: 0.85rem; } }
@media (prefers-reduced-motion: reduce) { .tpl-root .tpce-panel::before { animation: none; background: linear-gradient(120deg, #229DBB, #FFA900); } .tpl-root .tpce-spark, .tpl-root .tpce-orb { animation: none; } }

/* ===== Case study (matches the homepage) ===== */
.tpl-root .tpcs { padding: 64px 0; background: #fff; }
.tpl-root .tpcs-head { max-width: 820px; margin: 0 auto 30px; text-align: center; }
.tpl-root .tpcs-eyebrow { display: inline-block; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.72rem; letter-spacing: .14em; text-transform: uppercase; color: #17758F; margin-bottom: 12px; }
.tpl-root .tpcs-head h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: clamp(24px,3.4vw,32px); color: #0E2A33; line-height: 1.18; letter-spacing: -.02em; margin: 0; }
.tpl-root .tpcs-card { position: relative; background: #fff; border: 1px solid #E7ECEE; border-radius: 26px; box-shadow: 0 8px 28px rgba(16,27,41,0.07); padding: 34px 30px; max-width: 940px; margin: 0 auto; }
.tpl-root .tpcs-sector { display: inline-block; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #17758F; background: #E3F2F6; padding: 6px 12px; border-radius: 999px; margin-bottom: 22px; }
.tpl-root .tpcs-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.tpl-root .tpcs-lab { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.72rem; letter-spacing: .12em; text-transform: uppercase; color: #D98C00; margin-bottom: 8px; }
.tpl-root .tpcs-grid p { font-size: 0.97rem; color: #55707A; line-height: 1.6; margin: 0; }
.tpl-root .tpcs-results { margin-top: 26px; padding-top: 24px; border-top: 1px solid #E7ECEE; }
.tpl-root .tpcs-results ul { display: grid; grid-template-columns: 1fr; gap: 10px; list-style: none; margin: 0; padding: 0; }
.tpl-root .tpcs-results li { position: relative; padding-left: 28px; font-size: 0.97rem; color: #0E2A33; font-weight: 500; }
.tpl-root .tpcs-results li::before { content: ''; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 5px; background: #E3F2F6; border: 1.5px solid #229DBB; }
.tpl-root .tpcs-results li::after { content: '\2713'; position: absolute; left: 3.5px; top: 1px; color: #17758F; font-weight: 800; font-size: 12px; }
.tpl-root .tpcs-outcome { margin: 22px 0 0; font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 1.05rem; color: #0E2A33; line-height: 1.5; border-left: 3px solid #FFA900; padding-left: 16px; }
@media (min-width: 720px) {
  .tpl-root .tpcs-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .tpl-root .tpcs-results ul { grid-template-columns: 1fr 1fr; gap: 12px 30px; }
  .tpl-root .tpcs-card { padding: 42px 40px; }
}

/* Footer trust line ("Backed by Omega ...") */
.tpl-root .foot-trust { margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); text-align: center; font-family: 'Poppins', sans-serif; font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.72); }
.tpl-root .foot-trust::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #FFA900; margin-right: 9px; vertical-align: middle; }
.tpl-root .foot-trust + .copyright { margin-top: 10px; padding-top: 0; border-top: none; }
