/* Stylesheet build 20260401 — if the site looks “old”, hard-refresh (Ctrl+Shift+R) or open styles.css?v= in Network tab */
:root {
  --bg: #f5f5f5;
  --surface: #ffffff;
  --surface-soft: #f3f4f6;
  --text: #0a0a0a;
  --muted: #525252;
  --line: #e5e5e5;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --dark: #0a0a0a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, #eef1f5 55%, var(--bg) 100%);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
p { line-height: 1.6; }
h1, h2, h3 { margin: 0; font-family: "Plus Jakarta Sans", sans-serif; letter-spacing: -.03em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.8rem); line-height: .94; }
h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 8px; top: 8px; z-index: 300; background: #111; color: #fff; padding: .45rem .7rem; border-radius: 8px; }

.noise-film { display: none; }

.ax-topbar {
  position: fixed;
  top: .9rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  width: min(1200px, calc(100% - 1.6rem));
  padding: .45rem .6rem;
  border: 1px solid #ececed;
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 20px -18px rgba(0,0,0,.18);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.ax-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  letter-spacing: -.01em;
}
.ax-logo::before {
  content: "TF";
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 1px solid #111;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .62rem;
  font-weight: 800;
  line-height: 1;
}
.primary-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: .2rem;
  min-width: 0;
  overflow-x: auto;
  background: #fff;
  border: 1px solid #efefef;
  border-radius: 999px;
  padding: .22rem;
}
.primary-nav a {
  padding: .42rem .7rem;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 600;
}
.primary-nav a:hover,
.primary-nav a.active { background: #f2f2f2; color: #111; }
.primary-nav .ax-pill-cta { background: var(--accent); color: #fff; }
.primary-nav .ax-pill-cta:hover { background: var(--accent-dark); color: #fff; }

.ax-contact,
.ax-cartchip {
  flex-shrink: 0;
  border-radius: 999px;
  padding: .42rem .68rem;
  border: 1px solid #ececed;
  background: #fff;
  font-size: .84rem;
  font-weight: 700;
}
.ax-cartchip b { background: #f2f2f2; color: #111; border-radius: 999px; padding: 0 .42rem; margin-left: .2rem; }
.menu-trigger { display: none; }

main { width: 100%; position: relative; z-index: 1; }
body:not([data-page="home"]) main {
  width: min(1200px, calc(100% - 1.6rem));
  margin: 6.5rem auto 3.2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
body:not([data-page="home"]) .ax-section:first-child { margin-top: 0; }
body:not([data-page="home"]) .ax-section h1 {
  font-size: clamp(1.75rem, 4.2vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-top: 0.35rem;
  color: var(--text);
}
body:not([data-page="home"]) .ax-section .section-flag + h1 { margin-top: 0.25rem; }
body:not([data-page="home"]) .ax-lead { margin-top: 0.5rem; }

.section-flag {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #64748b;
  font-size: .7rem;
  font-weight: 800;
}
.tag-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e6e6e8;
  color: #222;
  background: #f7f7f8;
  border-radius: 999px;
  padding: .36rem .8rem;
  font-size: .8rem;
  font-weight: 700;
}
.tag-chip.inverse { color: #e5e5e5; border-color: #5a5a5a; background: transparent; }
.ax-head { display: grid; gap: .36rem; }
.ax-lead { color: var(--muted); max-width: 70ch; margin: .1rem 0 0; }

.hero-rebuild {
  min-height: 96dvh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-darken { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.24) 55%, rgba(0,0,0,.5) 100%); }
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 1.6rem));
  margin: 0 auto 1.8rem;
  color: #fff;
}
.hero-rating { margin: 0 0 .75rem; font-weight: 700; }
.hero-inner p { max-width: 52ch; }
.hero-cta, .fire-btn, .line-btn, .small-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: .88rem;
  padding: .62rem .92rem;
  cursor: pointer;
  transition: .22s cubic-bezier(.16,1,.3,1);
}
.hero-cta, .fire-btn { background: var(--accent); color: #fff; }
.hero-cta:hover, .fire-btn:hover { background: var(--accent-dark); transform: translateY(-2px); }
.line-btn { background: #fff; border-color: var(--line); color: #0f172a; }
.line-btn:hover { background: #f8f9fd; }
.small-action { background: #f2f2f2; color: #111; }
.small-action.alt { background: #111; color: #fff; }

.about-rebuild,
.steps-rebuild,
.flow-section,
.flow-cta,
.ax-section,
.pricing-rebuild,
.cta-panel {
  width: min(1200px, calc(100% - 1.6rem));
  margin: 1.35rem auto 0;
}
.about-rebuild { text-align: center; }
.about-copy p { margin: .8rem auto 0; max-width: 70ch; color: var(--muted); }

.steps-head { display: grid; grid-template-columns: 220px 1fr; gap: 1rem; margin-bottom: .7rem; }
.step-row {
  display: grid;
  grid-template-columns: 140px 120px 1fr;
  gap: .8rem;
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.step-row div:nth-child(2) { color: var(--accent); font-size: 2rem; font-family: "Plus Jakarta Sans", sans-serif; }
.step-row p { margin: .4rem 0 0; color: var(--muted); }

.dark-band { background: var(--dark); margin-top: 1.35rem; }
.dark-inner { width: min(1200px, calc(100% - 1.6rem)); margin: 0 auto; padding: 2.6rem 0; color: #fff; }
.who-grid, .benefit-grid, .program-grid, .price-grid, .faq-grid, .step-grid {
  display: grid;
  gap: .7rem;
}
.who-grid { margin-top: .95rem; grid-template-columns: repeat(3, minmax(0,1fr)); }
.benefit-grid { margin-top: .9rem; grid-template-columns: repeat(4, minmax(0,1fr)); }
.who-grid article img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; }
.who-grid p, .benefit-grid p { color: #c2cada; margin-top: .4rem; }
.benefit-grid article { border: 1px solid #2f3848; border-radius: 18px; padding: .9rem; }

.flow-section {
  padding: .2rem 0 0;
}
.program-kpis { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .6rem; margin: .8rem 0; }
.program-kpis article { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .6rem .7rem; }
.program-kpis strong { display: block; font-size: 1.1rem; font-family: "Plus Jakarta Sans", sans-serif; }
.program-kpis span { color: var(--muted); font-size: .82rem; }

.program-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.program-card,
.price-grid article,
.faq-grid article,
.ax-section,
.cta-actions-card,
.product-box,
.cart-list,
.cart-summary,
.form-card,
.summary-card,
.side-filter,
.deep-section {
  background: #fff;
  border: none;
  border-radius: 16px;
  box-shadow: 0 16px 30px -28px rgba(0,0,0,.18);
}
.program-card { overflow: hidden; }
.program-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.program-content { padding: .82rem; display: grid; gap: .45rem; }
.program-content p { margin: 0; color: var(--muted); }
.program-meta { display: flex; justify-content: space-between; color: #67748a; font-size: .85rem; }
.program-actions { display: flex; gap: .42rem; }

.flow-pricing .price-grid { margin-top: .9rem; grid-template-columns: repeat(3, minmax(0,1fr)); }
.price-grid article { padding: 1rem 1rem 1.05rem; display: grid; gap: .55rem; min-height: 100%; }
.home-price-grid article { align-content: start; }
.price-grid article.featured { background: #f7f7f8; transform: translateY(-3px); }
.plan-kicker { margin: 0; font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; color: #111; font-weight: 800; }
.price-grid ul { margin: 0; padding-left: 1.05rem; color: var(--muted); display: grid; gap: .2rem; }
.price-grid strong { font-size: 1.9rem; letter-spacing: -.03em; }
.price-grid .fire-btn { margin-top: auto; }

.flow-faq .faq-grid { margin-top: .9rem; grid-template-columns: repeat(2, minmax(0,1fr)); }
.faq-grid article { padding: .86rem; }
.faq-grid article span { color: #111; font-weight: 800; display: inline-flex; margin-bottom: .3rem; }
.faq-grid p { margin: .42rem 0 0; color: var(--muted); }

.flow-cta { display: grid; grid-template-columns: 1.25fr .95fr; gap: 1rem; align-items: center; }
.flow-cta p { color: var(--muted); }
.cta-actions-card { padding: .9rem; }
.cta-actions-card p { margin: 0 0 .5rem; color: var(--muted); }
.hero-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

.ax-section { padding: 1.1rem 1.05rem 1.2rem; }
body:not([data-page="home"]) .faq-grid {
  margin-top: 1rem;
  gap: 0.75rem;
}
body:not([data-page="home"]) .faq-grid article {
  padding: 0.95rem 1rem;
  min-height: 0;
}
.title-row { display: grid; gap: .35rem; margin-bottom: .7rem; }
.step-grid { grid-template-columns: repeat(4, minmax(0,1fr)); margin-top: .8rem; }
.step-grid article { padding: .86rem; }
.step-grid article span { color: var(--accent); font-weight: 800; }
.step-grid article p { margin: .4rem 0 0; color: var(--muted); }
.plate-rise { transition: transform .22s ease, box-shadow .22s ease; }
.plate-rise:hover { transform: translateY(-2px); box-shadow: 0 12px 20px -24px rgba(15,23,42,.35); }

.page-wrap {
  width: min(1200px, calc(100% - 1.6rem));
  margin: 1.15rem auto 0;
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 1rem;
  align-items: start;
}
.catalog-panel { min-width: 0; display: grid; gap: 1rem; }
.catalog-topline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.catalog-topline h1,
.catalog-topline h2 { margin: 0; }
.catalog-topline strong { font-size: 0.92rem; color: var(--muted); font-weight: 600; }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
body:not([data-page="home"]) .catalog-grid .program-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
body:not([data-page="home"]) .catalog-grid .program-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
body:not([data-page="home"]) .catalog-grid .program-actions { margin-top: auto; padding-top: 0.2rem; }
.side-filter { padding: .9rem; position: sticky; top: 5.8rem; }
.filter-group { display: grid; gap: .4rem; margin-bottom: .72rem; }
.filter-group label { color: #6b7280; font-size: .83rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  padding: .62rem .66rem;
  background: #fff;
  color: #0f172a;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #bdceff;
  box-shadow: 0 0 0 3px rgba(47,99,255,.12);
}

.empty-note { border: 1px dashed #cbd5e1; border-radius: 12px; padding: .9rem; color: var(--muted); }

.product-wrap { width: min(1200px, calc(100% - 1.6rem)); margin: 1rem auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.product-wrap img { width: 100%; border-radius: 16px; border: 1px solid var(--line); }
.product-box { padding: 1rem 1.05rem; }
.product-box p { color: var(--muted); }
.product-box h1,
.product-box h2 { color: var(--text); }
.product-box .faq-grid article h3 { color: var(--text); }
.product-box .faq-grid article p { color: var(--muted); }
.pill-row { display: flex; flex-wrap: wrap; gap: .38rem; }
.pill { border: 1px solid #dce5f2; border-radius: 999px; background: #f8fbff; color: #516078; font-size: .75rem; padding: .2rem .55rem; }
.deep-section { width: min(1200px, calc(100% - 1.6rem)); margin: 1rem auto 0; padding: 1rem; }

.cart-layout { width: min(1200px, calc(100% - 1.6rem)); margin: 1.15rem auto 0; display: grid; grid-template-columns: 1fr 330px; gap: 1rem; align-items: start; }
.cart-list { overflow: hidden; }
.cart-row { display: grid; grid-template-columns: 90px 1fr auto auto; align-items: center; gap: .65rem; padding: .72rem; border-bottom: 1px solid #edf1f7; }
.cart-row img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.cart-summary { padding: .92rem; position: sticky; top: 5.8rem; }
.sum-line { display: flex; justify-content: space-between; color: #6b7280; padding: .34rem 0; }
.sum-line.total { border-top: 1px solid #e8edf6; margin-top: .45rem; padding-top: .58rem; color: #111827; font-weight: 700; }

.checkout-layout { width: min(1200px, calc(100% - 1.6rem)); margin: 1.15rem auto 0; display: grid; grid-template-columns: 1fr 390px; gap: 1rem; align-items: start; }
.form-card, .summary-card { padding: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .65rem; }
.form-grid .wide { grid-column: 1 / -1; }
.status-msg { margin-top: .8rem; color: #2459dc; min-height: 1rem; }

.accordion-shell { margin-top: .8rem; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.acc-item + .acc-item { border-top: 1px solid #ecf1f8; }
.acc-head { width: 100%; border: none; background: #fff; text-align: left; display: flex; justify-content: space-between; align-items: center; font-weight: 700; padding: .9rem 1rem; cursor: pointer; }
.acc-head span { color: var(--accent); font-size: .82rem; }
.acc-body { max-height: 0; overflow: hidden; padding: 0 1rem; background: #f8fbff; color: var(--muted); transition: max-height .32s ease, padding .32s ease; }
.acc-item.open .acc-body { max-height: 260px; padding: .08rem 1rem .85rem; }

.footer-rebuild {
  width: min(1200px, calc(100% - 1.6rem));
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.3fr;
  gap: 1.1rem;
  padding: 1.5rem 0 1.2rem;
  border-top: 1px solid #e8e8e8;
}
.footer-brand h3 { font-size: 1.5rem; line-height: 1.05; word-break: break-word; }
.footer-brand h3 {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.footer-brand h3::before {
  content: "TF";
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 1px solid #0f172a;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .62rem;
  font-weight: 800;
}
.footer-brand p, .footer-subscribe p { color: var(--muted); margin: .35rem 0 0; }
.footer-subscribe h4 { margin: 0; font-size: 1.18rem; font-family: "Plus Jakarta Sans", sans-serif; }
.sub-row { display: grid; grid-template-columns: 1fr auto; gap: .45rem; margin-top: .55rem; }
.sub-row input, .sub-row button { border-radius: 999px; }
.sub-row button { border: none; background: var(--accent); color: #fff; font-weight: 700; padding: 0 .95rem; }
.footer-links-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .7rem; }
.footer-links-grid h5 { margin: 0 0 .4rem; font-family: "Plus Jakarta Sans", sans-serif; font-size: .98rem; }
.footer-links-grid a { display: block; color: #334155; margin-bottom: .34rem; }
.footer-links-grid a:hover { color: #0f172a; }
.footer-clean { border-top: 1px solid #e8e8e8; }

/* Targeted home sections (without frame clutter) — hero + about-rebuild untouched in HTML */
.home-strip {
  width: min(1200px, calc(100% - 1.6rem));
  margin: 1.65rem auto 0;
}
.home-strip-head {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.home-strip .program-grid,
.home-strip .home-price-grid { gap: 0.85rem; }
.home-strip .section-actions { margin-top: 1.1rem; }
.home-price-grid article.featured {
  background: #f3f4f6;
  transform: none;
}
.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem 1.2rem;
}
.faq-list article {
  padding: .4rem 0;
  border-bottom: 1px solid #ececec;
}
.faq-list p { margin: .35rem 0 0; color: var(--muted); }

.home-cta-clean {
  width: min(1200px, calc(100% - 1.6rem));
  margin: 2rem auto 0;
  padding: 1.35rem 0 1.1rem;
  border-top: 1px solid #e8e8e8;
}
.home-cta-clean h2 { margin-top: 0.35rem; }
.home-cta-clean p { color: var(--muted); max-width: 64ch; margin-top: 0.5rem; }
.home-cta-clean .hero-actions { margin-top: 0.85rem; }

/* Non-home pages: unify clean surface */
body:not([data-page="home"]) .ax-section,
body:not([data-page="home"]) .product-box,
body:not([data-page="home"]) .deep-section,
body:not([data-page="home"]) .side-filter,
body:not([data-page="home"]) .cart-list,
body:not([data-page="home"]) .cart-summary,
body:not([data-page="home"]) .form-card,
body:not([data-page="home"]) .summary-card {
  border-radius: 12px;
  box-shadow: none;
  border: 1px solid #ececec;
}
body:not([data-page="home"]) .faq-grid article,
body:not([data-page="home"]) .price-grid article,
body:not([data-page="home"]) .program-card,
body:not([data-page="home"]) .step-grid article {
  border: 1px solid #ececec;
  box-shadow: none;
}
body:not([data-page="home"]) .footer-rebuild {
  border-top: 1px solid #e8e8e8;
}

.mini-cart-widget,
.quick-contact-widget { display: none; }

.ax-reveal, .reveal-item { opacity: 0; transform: translateY(14px); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid #7c9dff;
  outline-offset: 2px;
}

@media (max-width: 1080px) {
  .program-grid, .catalog-grid, .who-grid, .benefit-grid, .price-grid, .step-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .page-wrap, .product-wrap, .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .side-filter, .cart-summary { position: static; }
  .footer-rebuild { grid-template-columns: 1fr; }
  .footer-links-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .ax-topbar { padding: .38rem .48rem; gap: .4rem; }
  .ax-logo { font-size: .96rem; max-width: 45vw; overflow: hidden; text-overflow: ellipsis; }
  .ax-contact { display: none; }
  .ax-cartchip { font-size: .78rem; padding: .34rem .56rem; }
  .menu-trigger { display: block; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
  .primary-nav {
    position: fixed;
    top: 66px;
    left: .8rem;
    right: .8rem;
    display: grid;
    border-radius: 12px;
    padding: .6rem;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
  }
  .primary-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .steps-head, .step-row { grid-template-columns: 1fr; }
  .step-row div:nth-child(2) { font-size: 1.8rem; }
  .program-grid, .catalog-grid, .faq-grid, .flow-pricing .price-grid, .flow-cta, .program-kpis, .who-grid, .benefit-grid, .step-grid { grid-template-columns: 1fr; }
  .faq-list { grid-template-columns: 1fr; }
  .price-grid article.featured { transform: none; }
  .cart-row { grid-template-columns: 70px 1fr; }
  .footer-links-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(1.9rem, 11vw, 2.6rem); }
  h2 { font-size: clamp(1.4rem, 8vw, 1.9rem); }
  .about-rebuild,
  .steps-rebuild,
  .flow-section,
  .flow-cta,
  .ax-section,
  .pricing-rebuild,
  .cta-panel {
    width: min(1200px, calc(100% - 1.2rem));
    margin-top: .95rem;
  }
  .hero-inner { margin-bottom: 1.3rem; }
  .hero-inner p { font-size: .94rem; }
  .form-grid { grid-template-columns: 1fr; }
  .sub-row { grid-template-columns: 1fr; }
  .sub-row button { min-height: 40px; }
}
