/*
 * Tinkerbell Theme — tb-modern.css v4
 * CPT styles (service, country), modern UI upgrades,
 * trust strip, pricing table, FAQ accordion, sidebar, cards.
 * Competitors reference: paperwritings.com, essayservice.com, saseni.com
 */

/* ===================================================
   CSS CUSTOM PROPERTIES
   =================================================== */
:root {
  --tb-violet:      #6857d0;
  --tb-violet-dark: #160647;
  --tb-violet-light:#f0eeff;
  --tb-gold:        #f5a623;
  --tb-gold-dark:   #d4891c;
  --tb-green:       #22c55e;
  --tb-white:       #ffffff;
  --tb-slate:       #1e293b;
  --tb-muted:       #64748b;
  --tb-border:      #e2e8f0;
  --tb-radius:      12px;
  --tb-radius-lg:   20px;
  --tb-shadow:      0 4px 24px rgba(104,87,208,.12);
  --tb-shadow-sm:   0 2px 8px rgba(104,87,208,.08);
  --tb-transition:  .22s ease;
  --tb-max-w:       1200px;
  --tb-font:        'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===================================================
   GLOBAL RESETS
   =================================================== */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--tb-font);
  color: var(--tb-slate);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--tb-violet); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===================================================
   TRUST / TICKER STRIP (replaces old static bar)
   =================================================== */
.tb-trust-strip {
  background: linear-gradient(90deg, var(--tb-violet-dark) 0%, #2d1b69 100%);
  color: #fff;
  font-size: .82rem;
  font-weight: 500;
  padding: .45rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.tb-trust-strip-inner {
  display: inline-flex;
  gap: 2.5rem;
  animation: tb-scroll 35s linear infinite;
  padding-right: 2.5rem;
}
.tb-trust-strip-inner:hover { animation-play-state: paused; }
.tb-trust-strip-inner span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  opacity: .92;
}
@keyframes tb-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===================================================
   SERVICE / COUNTRY HERO
   =================================================== */
.tb-service-hero {
  background: linear-gradient(135deg, var(--tb-violet) 0%, var(--tb-violet-dark) 100%);
  color: #fff;
  padding: 3.5rem 1.5rem 3rem;
  position: relative;
  overflow: hidden;
}
.tb-service-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='white' opacity='.04'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.tb-service-hero-inner { max-width: var(--tb-max-w); margin: 0 auto; position: relative; }

/* Country colour variants */
.tb-hero-us { background: linear-gradient(135deg, #3b4fd6 0%, #0f1e6b 100%); }
.tb-hero-uk { background: linear-gradient(135deg, #c0392b 0%, #6b0f0f 100%); }
.tb-hero-ca { background: linear-gradient(135deg, #c0392b 0%, #7b1010 100%); }
.tb-hero-au { background: linear-gradient(135deg, #1a6bb5 0%, #0a2e4d 100%); }
.tb-hero-ae { background: linear-gradient(135deg, #006400 0%, #002600 100%); }
.tb-hero-kw { background: linear-gradient(135deg, #007a3d 0%, #003018 100%); }
.tb-hero-cn { background: linear-gradient(135deg, #c0392b 0%, #600c0c 100%); }

.tb-breadcrumb {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}
.tb-breadcrumb a { color: rgba(255,255,255,.8); }
.tb-breadcrumb a:hover { color: #fff; }

.tb-hero-cat-badge {
  display: inline-block;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .75rem;
  border-radius: 30px;
  margin-bottom: .75rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tb-service-hero-title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin: .5rem 0 1rem;
  color: #fff;
}
.tb-hero-accent { color: var(--tb-gold); }

.tb-service-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  max-width: 680px;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.tb-service-hero-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.tb-service-rating {
  font-size: .88rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}

.tb-country-flag-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
}
.tb-country-flag { font-size: 1.8rem; }
.tb-country-label { font-size: .95rem; font-weight: 600; color: rgba(255,255,255,.9); }

/* ===================================================
   SINGLE SERVICE LAYOUT (Content + Sidebar)
   =================================================== */
.tb-single-service-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  max-width: var(--tb-max-w);
  margin: 2.5rem auto;
  padding: 0 1.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .tb-single-service-layout { grid-template-columns: 1fr; }
  .tb-service-sidebar { order: -1; }
}

.tb-service-article {
  background: #fff;
  border-radius: var(--tb-radius);
  overflow: hidden;
}
.tb-service-content {
  padding: 0 0 1.5rem;
  font-size: 1.02rem;
  line-height: 1.75;
}
.tb-service-content h2 { font-size: 1.4rem; margin: 2rem 0 .75rem; color: var(--tb-slate); }
.tb-service-content h3 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
.tb-service-content p  { margin: 0 0 1rem; }
.tb-service-content ul { padding-left: 1.4rem; margin: .75rem 0 1rem; }
.tb-service-content ul li { margin-bottom: .4rem; }

.tb-service-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.tb-badge-cat, .tb-badge-tag {
  display: inline-block;
  padding: .22rem .7rem;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
}
.tb-badge-cat { background: var(--tb-violet-light); color: var(--tb-violet); }
.tb-badge-tag { background: #f8fafc; color: var(--tb-muted); border: 1px solid var(--tb-border); }

/* ===================================================
   SECTION HEADINGS
   =================================================== */
.tb-section-heading {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--tb-slate);
  margin: 2.5rem 0 1.25rem;
  padding-bottom: .6rem;
  border-bottom: 3px solid var(--tb-violet-light);
  position: relative;
}
.tb-section-heading::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 60px; height: 3px;
  background: var(--tb-violet);
  border-radius: 2px;
}

/* ===================================================
   PRICING TABLE
   =================================================== */
.tb-pricing-section { margin: 2.5rem 0; }
.tb-pricing-table-wrap {
  background: #fff;
  border-radius: var(--tb-radius);
  box-shadow: var(--tb-shadow);
  overflow: hidden;
  border: 1px solid var(--tb-border);
}
.tb-pricing-table { width: 100%; }
.tb-pt-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  background: var(--tb-violet);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
}
.tb-pt-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--tb-border);
  transition: background var(--tb-transition);
}
.tb-pt-row:hover { background: var(--tb-violet-light); }
.tb-pt-row:last-child { border-bottom: 0; }
.tb-pt-popular {
  background: #fff8ee;
  border-left: 3px solid var(--tb-gold);
}
.tb-pt-popular:hover { background: #fff3dd; }
.tb-pt-cell {
  padding: .9rem 1.1rem;
  font-size: .92rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.tb-pt-level { font-weight: 600; color: var(--tb-slate); }
.tb-pt-cell strong { color: var(--tb-violet); font-weight: 700; }
.tb-pt-cell small  { color: var(--tb-muted); font-size: .75rem; }
.tb-pt-badge {
  display: inline-block;
  background: var(--tb-gold);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-left: .5rem;
}
.tb-pricing-cta-bar {
  padding: 1.25rem 1.5rem;
  background: #f8faff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid var(--tb-border);
}
.tb-pricing-note { font-size: .82rem; color: var(--tb-muted); margin: 0; }

@media (max-width: 600px) {
  .tb-pt-header, .tb-pt-row { grid-template-columns: 1.8fr 1fr 1fr 1fr; font-size: .8rem; }
  .tb-pt-cell { padding: .7rem .6rem; }
}

/* ===================================================
   HOW IT WORKS — STEPS
   =================================================== */
.tb-how-section { margin: 2.5rem 0; }
.tb-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.25rem;
}
@media (max-width: 700px) { .tb-steps-grid { grid-template-columns: 1fr; } }
.tb-step {
  display: flex;
  gap: 1rem;
  background: var(--tb-violet-light);
  padding: 1.4rem;
  border-radius: var(--tb-radius);
  align-items: flex-start;
}
.tb-step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--tb-violet);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tb-step-body h3 { margin: 0 0 .4rem; font-size: 1rem; font-weight: 700; }
.tb-step-body p  { margin: 0; font-size: .9rem; color: var(--tb-muted); }

/* ===================================================
   FAQ ACCORDION
   =================================================== */
.tb-faq-section { margin: 2.5rem 0; }
.tb-faq-item {
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius);
  margin-bottom: .75rem;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--tb-shadow-sm);
  transition: box-shadow var(--tb-transition);
}
.tb-faq-item:hover { box-shadow: var(--tb-shadow); }
.tb-faq-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 1.25rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.tb-faq-btn h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--tb-slate);
  flex: 1;
}
.tb-faq-btn[aria-expanded="true"] h3 { color: var(--tb-violet); }
.tb-faq-icon {
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--tb-violet);
  line-height: 1;
  transition: transform var(--tb-transition);
}
.tb-faq-btn[aria-expanded="true"] .tb-faq-icon { transform: rotate(45deg); }
.tb-faq-panel {
  padding: 0 1.25rem 1.1rem;
  font-size: .95rem;
  color: var(--tb-muted);
  line-height: 1.6;
}
.tb-faq-panel[hidden] { display: none; }
.tb-faq-panel p { margin: 0; }

/* ===================================================
   RELATED SERVICES
   =================================================== */
.tb-related-section { margin: 2rem 0; }
.tb-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-top: 1rem;
}
@media (max-width: 500px) { .tb-related-grid { grid-template-columns: 1fr; } }
.tb-related-card {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1rem;
  background: var(--tb-violet-light);
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--tb-violet);
  transition: background var(--tb-transition), transform var(--tb-transition);
  border: 1px solid rgba(104,87,208,.12);
}
.tb-related-card:hover {
  background: #e4deff;
  transform: translateY(-2px);
  text-decoration: none;
}
.tb-related-icon { font-size: 1.25rem; }

/* ===================================================
   SIDEBAR
   =================================================== */
.tb-service-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.tb-sidebar-box {
  background: #fff;
  border-radius: var(--tb-radius);
  box-shadow: var(--tb-shadow-sm);
  padding: 1.4rem;
  border: 1px solid var(--tb-border);
}
.tb-sidebar-box h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 .75rem;
  color: var(--tb-slate);
  border-bottom: 1px solid var(--tb-border);
  padding-bottom: .6rem;
}
.tb-sidebar-order { background: linear-gradient(135deg, var(--tb-violet) 0%, var(--tb-violet-dark) 100%); border: none; }
.tb-sidebar-order h3 { color: #fff; border-color: rgba(255,255,255,.2); }
.tb-sidebar-order p  { color: rgba(255,255,255,.85); font-size: .9rem; margin: 0; }
.tb-sidebar-note { font-size: .78rem !important; color: rgba(255,255,255,.7) !important; margin-top: .4rem !important; }
.tb-guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--tb-border);
  font-size: .88rem;
}
.tb-guarantee-item:last-child { border-bottom: none; }
.tb-guarantee-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: .1rem; }
.tb-sidebar-discount { background: #fff8ee; border-color: var(--tb-gold); }

/* ===================================================
   SERVICES ARCHIVE — GRID & CARDS
   =================================================== */
.tb-services-archive { }
.tb-services-wrap { padding: 2.5rem 0; }
.tb-archive-intro-box {
  background: var(--tb-violet-light);
  border-radius: var(--tb-radius);
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--tb-violet);
}
.tb-archive-intro-box h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 .75rem;
  color: var(--tb-slate);
}
.tb-archive-intro-box p {
  margin: .5rem 0 0;
  color: var(--tb-muted);
  font-size: .96rem;
  line-height: 1.65;
}

/* Service Filter Tags */
.tb-service-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.75rem;
}
.tb-filter-tag {
  display: inline-block;
  padding: .35rem .9rem;
  background: #f8faff;
  border: 1px solid var(--tb-border);
  border-radius: 30px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--tb-muted);
  transition: all var(--tb-transition);
}
.tb-filter-tag:hover, .tb-filter-tag.active {
  background: var(--tb-violet);
  border-color: var(--tb-violet);
  color: #fff;
  text-decoration: none;
}

/* Services Grid */
.tb-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.4rem;
  margin-bottom: 2rem;
}
@media (max-width: 600px) { .tb-services-grid { grid-template-columns: 1fr; } }

.tb-service-card {
  background: #fff;
  border-radius: var(--tb-radius);
  box-shadow: var(--tb-shadow-sm);
  border: 1px solid var(--tb-border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: box-shadow var(--tb-transition), transform var(--tb-transition);
}
.tb-service-card:hover {
  box-shadow: var(--tb-shadow);
  transform: translateY(-3px);
}
.tb-service-card-icon { font-size: 2rem; }
.tb-service-card-title { margin: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.tb-service-card-title a { color: var(--tb-slate); }
.tb-service-card-title a:hover { color: var(--tb-violet); text-decoration: none; }
.tb-service-card-excerpt { margin: 0; font-size: .9rem; color: var(--tb-muted); line-height: 1.55; flex: 1; }
.tb-service-card-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tb-service-tag {
  display: inline-block;
  padding: .2rem .55rem;
  background: var(--tb-violet-light);
  color: var(--tb-violet);
  border-radius: 20px;
  font-size: .73rem;
  font-weight: 600;
}
.tb-service-card-footer {
  display: flex;
  gap: .6rem;
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid var(--tb-border);
}
.tb-service-card-btn-view {
  flex: 1;
  text-align: center;
  padding: .5rem .75rem;
  border: 1.5px solid var(--tb-violet);
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--tb-violet);
  transition: all var(--tb-transition);
}
.tb-service-card-btn-view:hover { background: var(--tb-violet); color: #fff; text-decoration: none; }
.tb-service-card-btn-order {
  flex: 1;
  text-align: center;
  padding: .5rem .75rem;
  background: var(--tb-gold);
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  transition: background var(--tb-transition);
}
.tb-service-card-btn-order:hover { background: var(--tb-gold-dark); text-decoration: none; }

/* ===================================================
   CTA BANNER
   =================================================== */
.tb-cta-banner {
  background: linear-gradient(135deg, var(--tb-violet) 0%, var(--tb-violet-dark) 100%);
  border-radius: var(--tb-radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  color: #fff;
  margin: 3rem 0;
}
.tb-cta-banner h2 { font-size: 1.7rem; font-weight: 800; margin: 0 0 .75rem; color: #fff; }
.tb-cta-banner p  { margin: 0 0 1.5rem; color: rgba(255,255,255,.85); font-size: 1rem; }
.tb-cta-banner .content_button { display: inline-block; }

/* ===================================================
   INTERNAL LINKS WIDGET (SEO)
   =================================================== */
.tb-internal-links {
  background: #f8faff;
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius);
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
}
.tb-internal-links h4 { margin: 0 0 .75rem; font-size: .95rem; font-weight: 700; color: var(--tb-slate); }
.tb-internal-links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tb-internal-links li a {
  display: inline-block;
  padding: .28rem .7rem;
  background: var(--tb-violet-light);
  color: var(--tb-violet);
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 600;
  transition: all var(--tb-transition);
}
.tb-internal-links li a:hover { background: var(--tb-violet); color: #fff; text-decoration: none; }

/* ===================================================
   MODERN HEADER UPGRADES
   =================================================== */
header {
  background: linear-gradient(90deg, var(--tb-violet) 0%, #5243b3 100%);
  box-shadow: 0 2px 16px rgba(104,87,208,.18);
}
header.scrolled {
  background: rgba(104,87,208,.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(104,87,208,.25);
}

.logo-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}

/* ===================================================
   MODERN BUTTON UPGRADES
   =================================================== */
.gold_button {
  background: linear-gradient(135deg, #f5a623 0%, #e8920e 100%);
  box-shadow: 0 4px 14px rgba(245,166,35,.35);
  transition: all var(--tb-transition);
  font-weight: 700;
}
.gold_button:hover {
  background: linear-gradient(135deg, #f5b23a 0%, #d4850c 100%);
  box-shadow: 0 6px 20px rgba(245,166,35,.45);
  transform: translateY(-1px);
}
.violet_button {
  transition: all var(--tb-transition);
  font-weight: 700;
}
.violet_button:hover { transform: translateY(-1px); }

/* ===================================================
   MODERN FOOTER UPGRADES
   =================================================== */
footer { font-size: .92rem; }
footer .bottom {
  background: var(--tb-violet-dark);
}
footer a:hover { color: var(--tb-gold); }

/* ===================================================
   BREADCRUMB
   =================================================== */
.tb-breadcrumb {
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
}
.tb-breadcrumb a { color: rgba(255,255,255,.82); transition: color var(--tb-transition); }
.tb-breadcrumb a:hover { color: #fff; text-decoration: none; }

/* ===================================================
   SINGLE POST IMPROVEMENTS (single.php)
   =================================================== */
.tb-post-hero {
  background: linear-gradient(135deg, var(--tb-violet) 0%, var(--tb-violet-dark) 100%);
  padding: 3rem 1.5rem 2.5rem;
  color: #fff;
}
.tb-post-hero-inner { max-width: var(--tb-max-w); margin: 0 auto; }
.tb-post-hero-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin: .75rem 0 1rem;
  line-height: 1.2;
}
.tb-post-meta-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.tb-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: rgba(255,255,255,.14);
  padding: .28rem .75rem;
  border-radius: 20px;
  font-size: .8rem;
  color: rgba(255,255,255,.9);
}
.tb-cat-badge {
  display: inline-block;
  background: var(--tb-gold);
  color: #fff;
  padding: .28rem .75rem;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
}

/* ===================================================
   ARCHIVE BLOG (category.php / archive-blog.php)
   =================================================== */
.tb-layout-wrap { max-width: var(--tb-max-w); margin: 0 auto; padding: 2rem 1.5rem; }
.tb-layout-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 900px) { .tb-layout-grid { grid-template-columns: 1fr; } }
.tb-main { min-width: 0; }
.tb-sidebar { position: sticky; top: 80px; }

/* ===================================================
   DISCOUNT CHIP MODERNISED
   =================================================== */
.discount_chip {
  background: linear-gradient(135deg, var(--tb-gold) 0%, #e07c00 100%);
  box-shadow: 0 3px 12px rgba(245,166,35,.3);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1.2rem;
  font-size: .9rem;
}

/* ===================================================
   PAGE HERO (page.php) — upgrade slogan area
   =================================================== */
.main_calculator .slogan h1 {
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.trustpilot_rating {
  border-radius: var(--tb-radius) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.08) !important;
}

/* ===================================================
   GUARANTEES STRIP (single.php)
   =================================================== */
.tb-guarantees-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  background: #f0eeff;
  border-radius: var(--tb-radius);
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
  border: 1px solid rgba(104,87,208,.15);
}
.tb-guarantee-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--tb-violet);
}
.tb-g-icon { color: var(--tb-green); font-size: 1rem; }

/* ===================================================
   INLINE CTA (single.php)
   =================================================== */
.tb-inline-cta {
  background: linear-gradient(135deg, #f0eeff 0%, #e4d9ff 100%);
  border: 1.5px solid rgba(104,87,208,.25);
  border-radius: var(--tb-radius);
  padding: 1.75rem 2rem;
  margin: 2rem 0;
}
.tb-cta-mid .tb-icta-label { background: var(--tb-violet); }
.tb-cta-late .tb-icta-label { background: var(--tb-gold); }
.tb-icta-label {
  display: inline-block;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .65rem;
  border-radius: 20px;
  margin-bottom: .65rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tb-icta-heading { font-size: 1.15rem; font-weight: 800; margin: 0 0 .5rem; color: var(--tb-slate); }
.tb-icta-text    { font-size: .9rem; color: var(--tb-muted); margin: 0 0 1.1rem; }
.tb-icta-actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.tb-icta-btn-primary {
  display: inline-block;
  padding: .6rem 1.25rem;
  background: var(--tb-violet);
  color: #fff !important;
  border-radius: 8px;
  font-weight: 700;
  font-size: .9rem;
  transition: all var(--tb-transition);
}
.tb-icta-btn-primary:hover { background: #5243b3; text-decoration: none; transform: translateY(-1px); }
.tb-icta-btn-gold {
  display: inline-block;
  padding: .6rem 1.25rem;
  background: var(--tb-gold);
  color: #fff !important;
  border-radius: 8px;
  font-weight: 700;
  font-size: .9rem;
  transition: all var(--tb-transition);
}
.tb-icta-btn-gold:hover { background: var(--tb-gold-dark); text-decoration: none; transform: translateY(-1px); }
.tb-icta-btn-ghost {
  display: inline-block;
  padding: .6rem 1.25rem;
  border: 1.5px solid var(--tb-violet);
  color: var(--tb-violet) !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  transition: all var(--tb-transition);
}
.tb-icta-btn-ghost:hover { background: var(--tb-violet); color: #fff !important; text-decoration: none; }
.tb-icta-code { font-size: .82rem; color: var(--tb-muted); }

/* ===================================================
   MODERN CARD SHADOWS + HOVER GLOBAL
   =================================================== */
.white_bg.shadow_large, .white_bg.shadow_middle {
  border-radius: var(--tb-radius-lg) !important;
}

/* ===================================================
   PAGINATION MODERN
   =================================================== */
.pagination {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}
.page-numbers {
  border-radius: 8px !important;
  transition: all var(--tb-transition);
}
.page-numbers.current {
  background: var(--tb-violet) !important;
  color: #fff !important;
}

/* ===================================================
   404 PAGE
   =================================================== */
.tb-404-wrap {
  max-width: 560px;
  margin: 6rem auto;
  text-align: center;
  padding: 0 1.5rem;
}
.tb-404-num { font-size: 7rem; font-weight: 900; color: var(--tb-violet); line-height: 1; opacity: .12; }
.tb-404-title { font-size: 1.8rem; font-weight: 800; margin: -1rem 0 .75rem; }

/* ===================================================
   RESPONSIVE UTILITIES
   =================================================== */
@media (max-width: 768px) {
  .tb-pricing-cta-bar { flex-direction: column; text-align: center; }
  .tb-cta-banner { padding: 2rem 1.5rem; }
  .tb-cta-banner h2 { font-size: 1.35rem; }
  .tb-service-hero { padding: 2.5rem 1rem 2rem; }
  .tb-archive-intro-box { padding: 1.25rem; }
}

@media (max-width: 480px) {
  .tb-service-hero-cta { flex-direction: column; align-items: flex-start; }
  .tb-service-hero-cta .content_button { width: 100%; text-align: center; }
}
