/*
 * FoloGrow colour theme (2026-11-22)
 * Loaded LAST on every public page (layouts/user.php + themes/pergo/views/blocks/header.php),
 * so it wins over the legacy theme CSS without editing those files.
 *
 * Palette
 *   Brand indigo  : #0a0a0a (darkest) #171717 #1f1f1f #15803d #16a34a #22c55e #4ade80 #a3a3a3 #d4d4d4 #e5e5e5
 *   Light accent  : #4ade80 (links/highlights on dark backgrounds)
 *   CTA orange    : #16a34a -> #15803d  (ONLY for buy/order/submit buttons, so they stand out)
 *   Success green : #16a34a
 */
:root {
  --fg-indigo-900: #0a0a0a;
  --fg-indigo-800: #171717;
  --fg-indigo-700: #1f1f1f;
  --fg-indigo-600: #15803d;
  --fg-indigo-500: #16a34a;
  --fg-indigo-100: #e5e5e5;
  --fg-sky-300: #4ade80;
  --fg-cta: linear-gradient(90deg, #16a34a, #15803d);
  --fg-cta-shadow: #14532d;
}

/* ---------- Links: indigo on light backgrounds, light sky on dark ones ---------- */
a { color: var(--fg-indigo-600); }
a:hover { color: var(--fg-indigo-800); }
.section-package a:not(.btn):not(.og-tab):not(.og-more),
.section-package .glass-card a,
.section-package .lead strong,
.section-package .lead a,
.glass-card strong[style*="color"],
.banner a:not(.btn):not(.fg-btn-cta):not(.fg-btn-ghost):not(.og-tab):not(.og-more) { color: var(--fg-sky-300) !important; }
.banner a.fg-btn-cta, .banner a.fg-btn-ghost { color: #fff !important; }
.section-package .glass-card strong { color: inherit; }
.section-package .lead strong, .section-package .lead a { color: var(--fg-sky-300) !important; }
.section-package a.decorated-link { color: var(--fg-sky-300) !important; text-decoration-color: rgba(74,222,128, .5) !important; }

/* Blog lists / posts / terms sit on light cards */
section.blog a.text-default, .blog a.text-default { color: var(--fg-indigo-600) !important; }
section.blog-single a:not(.btn), .blog-single a:not(.btn) { color: var(--fg-indigo-600) !important; }

/* ---------- Headings / small accents that were orange ---------- */
section.our-services .contents .border-line,
section.our-services .contents .border-line::before,
.border-line, .border-line::before { background: var(--fg-sky-300) !important; }
.title-name, section .checkout-header .title strong, section.blog .blog-header .title,
section.package-content .pk-header .title strong { color: inherit !important; }
section.terms .title-name, .terms .title-name { color: var(--fg-indigo-900) !important; }
section.faq .faq-item .bg-question { background: var(--fg-indigo-600) !important; color: #fff !important; }

/* ---------- Secondary buttons (not purchase actions) -> indigo ---------- */
.btn-back-blog, section.blog-single .btn-back-blog,
.btn.btn-gradient:not(.btn-submit):not(.co-cta) {
  background: linear-gradient(90deg, var(--fg-indigo-600), var(--fg-indigo-800)) !important;
  border-color: transparent !important; color: #fff !important;
}

/* ---------- Purchase / submit actions -> the one orange CTA colour ---------- */
section.contact .contact_form .btn-submit,
section.contact .btn-submit,
section.checkout-result .btn-submit,
.btn-order {
  background: var(--fg-cta) !important; background-image: var(--fg-cta) !important;
  border: 0 !important; color: #fff !important; box-shadow: 0 4px 0 var(--fg-cta-shadow), 0 10px 22px rgba(22,163,74, .3) !important;
}

/* ---------- Dark page heroes (FAQ, Contact, Terms, Blog): black -> brand indigo ---------- */
section.faq, section.contact {
  background: linear-gradient(135deg, #0a0a0a 0%, var(--fg-indigo-900) 45%, var(--fg-indigo-800) 100%) !important;
}

/* ---------- Header: active / hover states ---------- */
.header .navbar .nav-link.active, .header .nav-link.active,
.header .navbar ul.navbar-nav li.nav-item.active > a,
.header .dropdown-toggle.active { color: var(--fg-sky-300) !important; }
.header .navbar ul.navbar-nav li.nav-item.active:before { background: var(--fg-sky-300) !important; background-image: none !important; }
section.header-top .mini-menu li.active a, section.header-top .mini-menu li:hover a { color: var(--fg-sky-300) !important; }

/* ---------- Checkout page ---------- */
.checkout-left-title, .checkout-right-title {
  background: linear-gradient(90deg, var(--fg-indigo-600), var(--fg-indigo-800)) !important; color: #fff !important;
}
.checkout-header .public-gradient-btn {
  background: rgba(255, 255, 255, .12) !important; border: 1px solid rgba(255, 255, 255, .3) !important;
  color: #fff !important; box-shadow: none !important;
}
section.checkout-form .checkout-right-content .leading-loose .text-icon,
section.checkout-form .text-icon { color: var(--fg-sky-300) !important; }

/* ---------- Breadcrumbs (Terms etc.) ---------- */
.list-inline-item a { color: var(--fg-indigo-600) !important; }
.list-inline-item.active a { background: var(--fg-indigo-600) !important; color: #fff !important; }

/* =====================================================================
   FoloGrow design tokens for inner-page heroes (single source of truth)
   Every inner page uses the same hero background, top spacing, H1, lead,
   alignment and "card overlaps hero by 64px, 40px below the text" rhythm.
   ===================================================================== */
body { font-family: 'Poppins', sans-serif !important; } /* beats theme_style.css Lato !important */

/* 1. Hero background + top spacing (all inner pages) */
body .fq-hero, body .tm-hero, body .ab-hero, body .ct-hero, body .fg-track-hero, body .fg-blog-hero, body .fg-art-hero, body .ft-hero,
body .section-package.section-common {
  background: radial-gradient(800px 420px at 85% 0%, rgba(74,222,128,.12), transparent 60%), linear-gradient(135deg, #0a0a0a, #171717) !important;
  padding-top: 48px !important;
}

/* 2. Heroes followed by an overlapping card: same depth everywhere */
body .fq-hero, body .tm-hero, body .ab-hero, body .ct-hero, body .fg-track-hero, body .fg-blog-hero, body .fg-art-hero, body .ft-hero.gt-hero { padding-bottom: 104px !important; }
body .fq-search, body .tm-keys, body .ab-overlap, body .ct-box, body .fg-search, body .fg-blog-body, body .fg-art-cover, body .gt-app { margin-top: -64px !important; }

/* 3. One-column heroes are centred */
body .fq-hero, body .tm-hero, body .ab-hero, body .ct-hero, body .fg-track-hero, body .fg-blog-hero, body .fg-art-hero, body .ft-hero.gt-hero { text-align: center; }
body .fg-art-hero ol, body .ft-hero.gt-hero ol, body .fg-blog-hero ol, body .fg-art-meta, body .gt-badges, body .fg-pills { justify-content: center; }
body .fg-art-hero h1, body .ft-hero.gt-hero h1 { margin-left: auto; margin-right: auto; max-width: 860px; }

/* 4. H1 */
body .fq-hero h1, body .tm-hero h1, body .ab-hero h1, body .ct-hero h1, body .fg-track-hero h1, body .fg-blog-hero h1, body .fg-art-hero h1, body .ft-hero h1,
body .section-package h1.title {
  font-size: 2.6rem !important; line-height: 1.2 !important; font-weight: 800 !important; letter-spacing: -.5px !important;
}

/* 5. Lead paragraph right under the H1 */
body .fq-hero h1 + p, body .tm-hero h1 + p, body .ab-hero h1 + p, body .ct-hero h1 + p, body .fg-track-hero h1 + p, body .fg-blog-hero h1 + p, body .ft-hero h1 + p,
body .section-package h1.title + p {
  font-size: 1.06rem !important; line-height: 1.7 !important; color: #d4d4d4 !important; max-width: 680px;
}
body .fq-hero h1 + p, body .tm-hero h1 + p, body .ab-hero h1 + p, body .ct-hero h1 + p, body .fg-track-hero h1 + p, body .fg-blog-hero h1 + p, body .ft-hero.gt-hero h1 + p,
body .section-package h1.title + p { margin-left: auto !important; margin-right: auto !important; }

@media (max-width: 991px) {
  body .fq-hero h1, body .tm-hero h1, body .ab-hero h1, body .ct-hero h1, body .fg-track-hero h1, body .fg-blog-hero h1, body .fg-art-hero h1, body .ft-hero h1,
  body .section-package h1.title { font-size: 2.2rem !important; }
}
@media (max-width: 640px) {
  body .fq-hero, body .tm-hero, body .ab-hero, body .ct-hero, body .fg-track-hero, body .fg-blog-hero, body .fg-art-hero, body .ft-hero,
  body .section-package.section-common { padding-top: 32px !important; }
  body .fq-hero, body .tm-hero, body .ab-hero, body .ct-hero, body .fg-track-hero, body .fg-blog-hero, body .fg-art-hero, body .ft-hero.gt-hero { padding-bottom: 96px !important; }
  body .fq-search, body .tm-keys, body .ab-overlap, body .ct-box, body .fg-search, body .fg-blog-body, body .fg-art-cover, body .gt-app { margin-top: -56px !important; }
  body .fq-hero h1, body .tm-hero h1, body .ab-hero h1, body .ct-hero h1, body .fg-track-hero h1, body .fg-blog-hero h1, body .fg-art-hero h1, body .ft-hero h1,
  body .section-package h1.title { font-size: 1.85rem !important; }
  body .fq-hero h1 + p, body .tm-hero h1 + p, body .ab-hero h1 + p, body .ct-hero h1 + p, body .fg-track-hero h1 + p, body .fg-blog-hero h1 + p, body .ft-hero h1 + p,
  body .section-package h1.title + p { font-size: 1rem !important; }
}

/* 6. Breadcrumbs: same grey links on every page (buy pages inherited green link colour) */
body .section-package .pc-crumbs a:not(.btn):not(.og-tab):not(.og-more) { color: #d4d4d4 !important; text-decoration: none !important; }
body .section-package .pc-crumbs a:not(.btn):not(.og-tab):not(.og-more):hover { color: #fff !important; }

/* 7. One content edge for the whole site: 1120px container with 20px gutters (1080px content).
      Header, homepage hero and every inner page now start their content on the same line. */
body header.header .container { max-width: 1120px !important; padding-left: 20px !important; padding-right: 20px !important; }
body .banner .fg-hero, body .banner .fg-guarantees, body .banner .fg-steps { max-width: 1080px !important; }
body header.header .navbar-brand { padding-left: 0 !important; }          /* logo starts on the content line */
body header.header .fg-nav > li:last-child { padding-right: 0 !important; } /* Track Order ends on the content line */
body .section-common > .container { max-width: 1120px !important; padding-left: 20px !important; padding-right: 20px !important; } /* buy pages */
@media (max-width: 991px) { /* mobile menu: one 12px inset instead of 20px + 20px nested padding */
  body header.header .fg-nav { padding: 12px !important; }
  body header.header .fg-nav li { padding-left: 0 !important; padding-right: 0 !important; }
}
/* homepage SEO rows: decorative .fg-media::before glow stuck out 31px on tablets -> sideways scroll */
body .fg-seo { overflow-x: hidden; overflow-x: clip; }
