/* TradeFusion — Responsive overrides (loaded after styles.css) */

/* 3-column grids: auto-fit so cards never get squeezed thin or pushed off-frame.
   Used on the about-page philosophy section and the contact-page card row. */
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important; gap: 20px !important; }
@media (min-width: 1100px) {
  .grid-3 { gap: 28px !important; }
}

/* Footer brand mark — use logo image instead of chevron */
.footer-brand-mark {
  background: transparent !important;
  width: auto !important;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
}
.footer-brand-mark svg { display: none; }
.footer-brand-mark img {
  height: 100%;
  width: auto;
  display: block;
}

@media (max-width: 1080px) {
  .utility-info .utility-divider:nth-of-type(2),
  .utility-info > a:nth-of-type(2),
  .utility-info > span:nth-of-type(2) { display: none; }
  .nav-brand-tag { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .founder-grid { grid-template-columns: 1fr; gap: 56px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .feature-row { grid-template-columns: 1fr; gap: 48px; }
  .feature-row.reverse { direction: ltr; }
  .svc-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  section { padding: 72px 0; }
  .wrap { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .nav-links, .nav-services-wrap, .nav-phone { display: none; }
  .nav-hamburger { display: flex; }
  .utility-bar { display: none; }
  .nav-cta-btn { padding: 9px 16px !important; font-size: 12px !important; }
  .nav-cta-btn .arrow { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card.featured { grid-column: span 2; grid-template-columns: 1fr; padding: 32px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .outcomes { grid-template-columns: 1fr; }
  .outcome { border-right: none; border-bottom: 1px solid var(--border); padding: 32px 24px; }
  .outcome:last-child { border-bottom: none; }
  .cta-banner { grid-template-columns: 1fr; padding: 40px 32px; }
  .process-step { grid-template-columns: 80px 1fr; gap: 20px; }
  .process-step p { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar-stats { gap: 32px; }
  .trust-stat strong { font-size: 22px; }
  /* New: better founder card + service hero + feature row spacing at this width */
  .founder-grid { padding: 40px 28px !important; gap: 40px !important; }
  .svc-hero { padding-top: 56px; padding-bottom: 64px; }
  .svc-hero-ctas { flex-wrap: wrap; }
  .svc-hero-ctas .btn { flex: 1 1 auto; min-width: 0; justify-content: center; }
  .feature-row { gap: 40px !important; }
  .nav-services-text span { font-size: 11px; }
}
@media (max-width: 600px) {
  section { padding: 48px 0; }
  .wrap { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card.featured { grid-column: span 1; padding: 24px !important; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 24px; }
  .cta-banner { padding: 32px 24px; border-radius: var(--radius); }
  .hero { padding: 48px 0 64px; }
  .hero-h1 { font-size: clamp(38px, 11vw, 56px); letter-spacing: -0.025em; }
  .svc-h1 { font-size: clamp(34px, 9vw, 52px) !important; line-height: 1.05; letter-spacing: -0.025em; }
  .svc-sub { font-size: 15px; }
  .founder-grid { padding: 28px 22px !important; gap: 28px !important; border-radius: 18px !important; }
  .outcome { padding: 28px 20px; }
  .outcome-num { font-size: clamp(36px, 12vw, 56px) !important; }
  .faq-question { padding: 22px 20px !important; min-height: 56px; line-height: 1.35; font-size: 15px; }
  .faq-answer p { padding: 0 20px 22px; font-size: 14px; }
  .btn { padding: 14px 22px; font-size: 14px; }
  .btn-arrow { gap: 8px; }
  .nav-cta-btn { padding: 12px 18px !important; font-size: 13px !important; }
  .sec-head h2, h2 { font-size: clamp(28px, 8vw, 40px) !important; line-height: 1.1; letter-spacing: -0.025em; }
  .trust-bar-stats { flex-wrap: wrap; gap: 18px; justify-content: center; }
  .trust-stat { flex: 1 0 calc(50% - 18px); text-align: center; }
  .trust-stat strong { font-size: 20px; }
  .svc-breadcrumb { font-size: 11px; }
  .svc-breadcrumb a, .svc-breadcrumb span { font-size: 11px; }
  .founder-grid .reveal-delay-2 { max-width: 100% !important; }
  .cta-banner-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .cta-banner-actions .btn { width: 100%; justify-content: center; }
  .mobile-menu a { padding: 14px 0; }
  #tf-chat-window { width: calc(100vw - 32px); right: 16px; bottom: 92px; max-height: calc(100vh - 120px); }
  #tf-chat-bubble { right: 16px; bottom: 16px; }
  section .reveal h2[style*="font-size: clamp"] { font-size: clamp(32px, 8.5vw, 56px) !important; }
}
@media (max-width: 380px) {
  .wrap { padding: 0 16px; }
  .founder-grid { padding: 24px 18px !important; }
  .nav-brand { font-size: 18px; }
  .btn { padding: 12px 18px; font-size: 13px; }
}

/* ── Hero "Why us" card ── */
.hero-why {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: 0 24px 64px rgba(15,15,15,0.08), 0 4px 16px rgba(15,15,15,0.04);
  position: relative;
  overflow: hidden;
}
.hero-why::before {
  content: '';
  position: absolute;
  top: -100px; right: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(234,88,12,0.14) 0%, transparent 60%);
  pointer-events: none;
}
.hero-why-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  position: relative;
}
.hero-why-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 22px;
  position: relative;
}
.hero-why-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.hero-why-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.hero-why-check {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(234,88,12,0.25);
}
.hero-why-check svg { width: 14px; height: 14px; }
.hero-why-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 2px;
}
.hero-why-text strong {
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.hero-why-text span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
