/* SwiftRise Markets - TRADEXY Theme Stylesheet */
/* Base Colors & Design Variables */
:root {
  --bodyFont: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --titleFont: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --body_bg: #ffffff;
  --globalColor: #f8fafc;
  --borderColor: #e2e8f0;
  --bodyColor: #475569;
  --titleColor: #1e293b;
  --primaryColor: #2660b5;
  --primaryHover: #1d4b8f;
  --secondaryColor: #eb7a23;
  --secondaryHover: #d46615;
  --whiteColor: #ffffff;
  --blackColor: #0f172a;
  --linkColor: #2660b5;
  --hoverColor: var(--secondaryColor);
  --boxBorderRadius: 16px;
  --imageBorderRadius: 14px;
  --btnBorderRadius: 100px;
}

/* Jost Font and Reset */
body {
  font-family: var(--bodyFont);
  background-color: var(--body_bg);
  color: var(--bodyColor);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--titleFont);
  color: var(--titleColor);
  font-weight: 700;
  line-height: 1.25;
  margin-top: 0;
}

a {
  color: var(--linkColor);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--hoverColor);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Zero-JS Visibility Guarantee (Prevent blank hero or hidden sections) */
.elementor-invisible,
[data-aos],
.wow,
.reveal-item,
.reveal-animation {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* Font: tp-icons */
@font-face {
  font-family: "tp-icons";
  src: url("../fonts/tp-iconse7e9.eot");
  src: url("../fonts/tp-iconse7e9.eot?#iefix") format("embedded-opentype"),
       url("../fonts/tp-iconse7e9.woff2") format("woff2"),
       url("../fonts/tp-iconse7e9.woff") format("woff"),
       url("../fonts/tp-iconse7e9.ttf") format("truetype"),
       url("../fonts/tp-iconse7e9.svg#tp-icons") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
.tp {
  font-family: "tp-icons" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  display: inline-block;
  -webkit-font-smoothing: antialiased;
}
.tp-arrow-up-right:before { content: "\ea65"; }
.tp-arrow-right:before { content: "\ea61"; }
.tp-check:before { content: "\e90a"; }
.tp-plus:before { content: "\e915"; }
.tp-minus:before { content: "\e914"; }
.tp-circle-user-regular:before { content: "\e90f"; }
.tp-clock-regular:before { content: "\e910"; }
.tp-tags:before { content: "\e918"; }

/* Buttons — base shape applies to <a class="themephi-button ..."> (self) AND legacy wrapper patterns */
.themephi-button a,
.themephi-button.primary_btn,
.themephi-button.outline_btn,
.themephi_button,
.tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 13px 26px;
  border-radius: var(--btnBorderRadius);
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
/* Button text label — always transparent background so custom-colored buttons never get an orange box */
.themephi-button .btn_text,
.themephi_button .btn_text,
.tp-btn .btn_text {
  background: transparent !important;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

/* Primary — orange fill (self-selector for <a class="themephi-button primary_btn">) */
.themephi-button.primary_btn,
.themephi-button.primary_btn a,
.themephi_button.primary_btn,
.tp-btn-primary {
  background: #EB7A23;
  color: #ffffff !important;
  border: 1px solid #EB7A23;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.themephi-button.primary_btn:hover,
.themephi-button.primary_btn a:hover,
.themephi-button.primary_btn:focus-visible,
.themephi-button.primary_btn a:focus-visible,
.themephi-button.primary_btn:active,
.themephi-button.primary_btn a:active,
.themephi_button.primary_btn:hover,
.tp-btn-primary:hover,
.tp-btn-primary:focus-visible,
.tp-btn-primary:active {
  background: #D96A15 !important;
  border-color: #D96A15 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 106, 21, 0.35);
}
/* Outline — orange border & rich readable orange text */
.themephi-button.outline_btn,
.themephi-button.outline_btn a,
.themephi_button.outline_btn,
.tp-btn-outline {
  background: transparent;
  color: #D35F0D !important;
  border: 1.5px solid #EB7A23;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.themephi-button.outline_btn:hover,
.themephi-button.outline_btn a:hover,
.themephi-button.outline_btn:focus-visible,
.themephi-button.outline_btn a:focus-visible,
.themephi-button.outline_btn:active,
.themephi-button.outline_btn a:active,
.themephi_button.outline_btn:hover,
.tp-btn-outline:hover,
.tp-btn-outline:focus-visible,
.tp-btn-outline:active {
  background: #EB7A23 !important;
  border-color: #EB7A23 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(235, 122, 35, 0.3);
}
/* Arrow icon circle inside any button variant */
.themephi-button .icon,
.themephi_button .icon,
.tp-btn .icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #ffffff;
  transition: var(--transition);
}
.themephi-button .icon i,
.themephi_button .icon i,
.tp-btn .icon i {
  color: inherit;
  display: inline-block;
  line-height: 1;
}
.themephi-button.primary_btn:hover .icon,
.tp-btn-primary:hover .icon {
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}
.themephi-button.outline_btn .icon,
.themephi-button.outline_btn a .icon,
.tp-btn-outline .icon {
  background: rgba(235, 122, 35, 0.12);
  color: #D35F0D;
}
.themephi-button.outline_btn:hover .icon,
.themephi-button.outline_btn a:hover .icon,
.themephi-button.outline_btn:focus-visible .icon,
.themephi-button.outline_btn a:focus-visible .icon,
.themephi-button.outline_btn:active .icon,
.themephi-button.outline_btn a:active .icon,
.tp-btn-outline:hover .icon,
.tp-btn-outline:focus-visible .icon,
.tp-btn-outline:active .icon {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Header & Navigation (Anti-Overlap Flexbox Architecture) */
.tp-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--borderColor);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.tp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.tp-header-logo {
  flex-shrink: 0;
  /* No min-width — was the primary cause of horizontal overflow on narrow viewports */
  display: flex;
  align-items: center;
  overflow: hidden;         /* prevent wordmark from pushing layout */
}
/* Clip the wordmark text so it can't overflow on very small screens */
.tp-header-logo a {
  overflow: hidden;
  max-width: 100%;
}
.tp-nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tp-nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--titleColor);
  text-decoration: none;
  transition: var(--transition);
  padding: 6px 0;
  position: relative;
}
.tp-nav-link:hover {
  color: #EB7A23;
}
.tp-nav-link.active {
  color: #D35F0D;
  font-weight: 700;
}
.tp-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: #EB7A23;
  border-radius: 2px;
}
.tp-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.tp-mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--borderColor);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 20px;
  color: var(--titleColor);
  cursor: pointer;
}
@media (max-width: 991px) {
  .tp-nav-menu {
    display: none;
  }
  .tp-mobile-toggle {
    display: block;
  }
}

/* Mobile Drawer */
.tp-mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  z-index: 1050;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 24px;
}
.tp-mobile-drawer.open {
  right: 0;
}
.tp-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(15, 23, 42, 0.5);
  z-index: 1040;
  display: none;
}
.tp-drawer-backdrop.open {
  display: block;
}
.tp-mobile-nav {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}
.tp-mobile-nav li {
  margin-bottom: 16px;
}
.tp-mobile-nav a {
  font-size: 17px;
  font-weight: 600;
  color: var(--titleColor);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}
.tp-mobile-nav a.active {
  color: #D35F0D;
  font-weight: 700;
  border-bottom: 2px solid #EB7A23;
}

/* Hero Section */
.tp-hero-section {
  padding: 70px 0 60px;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}
.tp-sub-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F0F2F6;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(34, 46, 72, 0.12);
  margin-bottom: 20px;
}
.tp-sub-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tp-sub-badge span {
  font-size: 13px;
  font-weight: 600;
  color: #222E48;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tp-hero-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.18;
  color: var(--titleColor);
  margin-bottom: 20px;
  letter-spacing: -0.8px;
}
.tp-highlight {
  color: var(--secondaryColor) !important;
}
.tp-hero-desc {
  font-size: 18px;
  color: var(--bodyColor);
  line-height: 1.65;
  margin-bottom: 30px;
  max-width: 580px;
}
.tp-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}
.tp-hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 15px;
  border-top: 1px solid var(--borderColor);
  flex-wrap: wrap;
}
.tp-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bodyColor);
}
.tp-trust-item i {
  color: #10b981;
  font-size: 14px;
}

/* Breadcrumb Banner */
.tp-breadcrumb-area {
  padding: 44px 0;
  background: #f8fafc;
  border-bottom: 1px solid var(--borderColor);
  text-align: center;
}
.tp-breadcrumb-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--titleColor);
  margin-bottom: 10px;
}
.tp-breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}
.tp-breadcrumb-nav a {
  color: #222E48;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.tp-breadcrumb-nav a:hover {
  color: #EB7A23;
  text-decoration: underline;
}
.tp-breadcrumb-nav span {
  color: #64748B;
  font-weight: 500;
}

/* Section Containers */
.tp-section {
  padding: 64px 0;
}
.tp-section-alt {
  background: #f8fafc;
}
.tp-section-header {
  margin-bottom: 40px;
}
.tp-section-header.text-center {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.tp-section-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--titleColor);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  text-wrap: balance;
}
.tp-section-subtitle {
  font-size: 17px;
  color: var(--bodyColor);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Stats / Metrics Bar */
.tp-stats-bar {
  background: #ffffff;
  border: 1px solid var(--borderColor);
  border-radius: 16px;
  padding: 30px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  margin-top: -30px;
  position: relative;
  z-index: 10;
}
.tp-stat-box {
  text-align: center;
  padding: 10px;
}
.tp-stat-number {
  font-size: 36px;
  font-weight: 800;
  color: #222E48;
  line-height: 1;
  margin-bottom: 6px;
}
.tp-stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--bodyColor);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Feature & Service Cards */
.tp-card {
  background: #ffffff;
  border: 1px solid var(--borderColor);
  border-radius: var(--boxBorderRadius);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.tp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(34, 46, 72, 0.08);
  border-color: #cbd5e1;
}
.tp-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #F0F2F6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: #222E48;
  font-size: 22px;
}
.tp-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--titleColor);
  margin-bottom: 12px;
}
.tp-card-desc {
  font-size: 15px;
  color: var(--bodyColor);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Card In-Text CTA Links (strictly scoped to cards — never affects header nav, mobile menu or footer) */
.tp-card a.tp-card-link,
.tp-card a.text-primary,
.tp-card .tp-nav-link.text-primary {
  color: #D35F0D !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.tp-card a.tp-card-link:hover,
.tp-card a.text-primary:hover,
.tp-card .tp-nav-link.text-primary:hover {
  color: #B54D06 !important;
  text-decoration: underline !important;
}
.tp-card a.tp-card-link i,
.tp-card a.text-primary i,
.tp-card .tp-nav-link.text-primary i {
  color: inherit !important;
  transition: transform 0.2s ease;
}
.tp-card a.tp-card-link:hover i,
.tp-card a.text-primary:hover i,
.tp-card .tp-nav-link.text-primary:hover i {
  transform: translateX(3px);
}

/* Process Step Cards */
.tp-step-card {
  background: #ffffff;
  border: 1px solid var(--borderColor);
  border-radius: var(--boxBorderRadius);
  padding: 32px 24px;
  position: relative;
  height: 100%;
  transition: var(--transition);
}
.tp-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.05);
  border-color: #EB7A23;
}
.tp-step-num,
.tp-step-number {
  font-size: 14px;
  font-weight: 800;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #222E48;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

/* Trader / Team Cards */
.tp-trader-card {
  background: #ffffff;
  border: 1px solid var(--borderColor);
  border-radius: var(--boxBorderRadius);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.tp-trader-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(34, 46, 72, 0.09);
  border-color: #EB7A23;
}
.tp-trader-photo-wrap {
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;
  background: #f1f5f9;
}
.tp-trader-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.tp-trader-card:hover .tp-trader-photo {
  transform: scale(1.04);
}
.tp-trader-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(34, 46, 72, 0.92);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.tp-trader-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.tp-trader-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--titleColor);
  margin-bottom: 4px;
}
.tp-trader-strategy {
  font-size: 13px;
  color: var(--secondaryColor);
  font-weight: 600;
  margin-bottom: 14px;
}
.tp-trader-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  margin-bottom: 16px;
}
.tp-trader-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.tp-trader-stat-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--titleColor);
}
.tp-trader-stat-val.positive {
  color: #10b981;
}
.tp-trader-bio {
  font-size: 14px;
  color: var(--bodyColor);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* FAQ Accordion */
.tp-accordion-item {
  background: #ffffff;
  border: 1px solid var(--borderColor);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.tp-accordion-header {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 17px;
  font-weight: 600;
  color: var(--titleColor);
  user-select: none;
}
.tp-accordion-header:hover {
  color: #222E48;
}
.tp-accordion-icon {
  font-size: 14px;
  transition: transform 0.3s ease;
  color: #94a3b8;
}
.tp-accordion-item.active .tp-accordion-header {
  color: #222E48;
}
.tp-accordion-item.active .tp-accordion-icon {
  transform: rotate(180deg);
  color: #EB7A23;
}
.tp-accordion-content {
  display: none;
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--bodyColor);
  line-height: 1.6;
}
.tp-accordion-item.active .tp-accordion-content {
  display: block;
}

/* CTA Banner */
.tp-cta-banner {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 20px;
  padding: 60px 50px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.tp-cta-title {
  color: #ffffff;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 14px;
}
.tp-cta-desc {
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 30px;
}

/* Contact Info Cards */
.tp-contact-box {
  background: #ffffff;
  border: 1px solid var(--borderColor);
  border-radius: var(--boxBorderRadius);
  padding: 30px 24px;
  text-align: center;
  height: 100%;
  transition: var(--transition);
}
.tp-contact-box:hover {
  transform: translateY(-4px);
  border-color: #EB7A23;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}
.tp-contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #F0F2F6;
  color: #222E48;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
}

/* Footer */
.tp-footer {
  background: #0f172a;
  color: #94a3b8;
  padding-top: 56px;
  padding-bottom: 28px;
}
.tp-footer-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 22px;
}
.tp-footer-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
  display: block;
  margin-bottom: 12px;
}
.tp-footer-link:hover {
  color: #ffffff;
  padding-left: 4px;
}
.tp-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 50px;
  padding-top: 25px;
  font-size: 13px;
  color: #64748b;
}

/* =============================================
   Responsive — overflow prevention & mobile layout
   ============================================= */

/* Global overflow guard — clip (not hidden, to avoid creating scroll context) */
html, body {
  overflow-x: clip;
  max-width: 100%;
}

/* Ensure images and SVGs never blow out the layout */
img, svg {
  max-width: 100%;
  height: auto;
}

/* Tablet: ≤768px */
@media (max-width: 768px) {
  .tp-hero-title {
    font-size: 34px;
    letter-spacing: -0.4px;
  }
  .tp-section-title {
    font-size: 28px;
  }
  .tp-cta-banner {
    padding: 40px 24px;
  }
  .tp-stats-bar {
    padding: 20px;
  }
  .tp-section {
    padding: 48px 0;
  }
  .tp-breadcrumb-area {
    padding: 32px 0;
  }
  .tp-section-header {
    margin-bottom: 32px;
  }
}

/* Small mobile: ≤480px — 2-col grids collapse to 1 col */
@media (max-width: 480px) {
  .tp-hero-title {
    font-size: 30px;
    letter-spacing: -0.2px;
  }
  /* Header: responsive logo sizing on small screens */
  .tp-header-logo img {
    height: 30px !important;
    width: auto !important;
    max-width: 100% !important;
  }
  .tp-header-logo-wordmark {
    display: none;
  }
  /* Header actions: hide all buttons except the hamburger at ≤480px */
  .tp-header-actions .themephi-button {
    display: none !important;
  }
  .tp-header-actions .tp-mobile-toggle {
    display: block !important;
  }
  /* Stats bar: 2 columns max on small screens */
  .tp-stats-bar .row > [class*="col-"] {
    flex: 0 0 50%;
    max-width: 50%;
  }
  /* Stats padding reduced */
  .tp-stats-bar {
    padding: 16px 12px;
  }
  /* 2-col grids collapse */
  .tp-checklist-grid,
  .tp-about-features-grid,
  .tp-bullet-list {
    grid-template-columns: 1fr !important;
  }
  /* Section padding tighter */
  .tp-section {
    padding: 36px 0;
  }
  .tp-cta-banner {
    padding: 32px 20px;
  }
  .tp-cta-title {
    font-size: 26px;
  }
  /* Breadcrumb title */
  .tp-breadcrumb-title {
    font-size: 28px;
  }
  .tp-breadcrumb-area {
    padding: 24px 0;
  }
  .tp-section-header {
    margin-bottom: 24px;
  }
  /* Hero actions stack vertically */
  .tp-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Narrow mobile: ≤390px */
@media (max-width: 390px) {
  .tp-hero-title {
    font-size: 27px;
  }
  .tp-section-title {
    font-size: 23px;
  }
  /* Testimonial cards: reduce padding */
  .tp-testimonial-card {
    padding: 20px 16px;
  }
  .tp-cta-banner {
    padding: 28px 16px;
  }
  /* Header inner gap tighter */
  .tp-header-inner {
    gap: 10px;
  }
}

@media (max-width: 360px) {
  .tp-header-logo img {
    height: 26px !important;
  }
}

/* Mobile drawer: prevent body layout shift when open */
/* JS sets body.style.overflow=hidden — that's acceptable for overlay prevention */
/* but must not create a scroll position jump — ensure no width change */
body.drawer-open {
  overflow-y: hidden;
  /* Compensate for scrollbar disappearance to prevent layout shift */
  padding-right: var(--scrollbar-width, 0px);
}
