/* FYGO site pages drawn by the theme (templates/pages/): About Us, Inspiration,
   the exchange policy and the terms. Loaded on those pages only (functions.php,
   PART 6b). The homepage's design language: cream, navy ink, orange accents,
   Bebas Neue headings, Plus Jakarta Sans text, square buttons. */

/* ── Astra layout: full-bleed sections, like the homepage ── */
.fygo-sp-page .site-content,
.fygo-sp-page #content { display: block !important; padding: 0 !important; }
.fygo-sp-page .ast-container {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.fygo-sp {
  --orange: #FF6B35;
  --navy: #0A1628;
  --ink: #0F0F0F;
  --ink-600: #4A4A47;
  --ink-400: #85857F;
  --ink-100: #E8E8E3;
  --ink-50: #F5F5F0;
  --cream: #FAFAF7;
  display: block;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
.fygo-sp *,
.fygo-sp *::before,
.fygo-sp *::after { box-sizing: border-box; }
.fygo-sp-c { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.fygo-sp-read { max-width: 780px; }
@media (max-width: 768px) { .fygo-sp-c { padding: 0 20px; } }

/* ── Type ── */
.fygo-sp-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--orange);
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
}
.fygo-sp-eyebrow::before { content: ''; width: 24px; height: 1px; background: currentColor; }
.fygo-sp h1,
.fygo-sp h2 {
  margin: 0;
  color: var(--navy);
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-weight: 400;
  letter-spacing: .01em;
}
.fygo-sp h1 { margin: 14px 0 18px; font-size: clamp(3rem, 9vw, 5.6rem); line-height: .92; }
.fygo-sp h2 { margin: 8px 0 20px; font-size: clamp(2.1rem, 4.4vw, 3.1rem); line-height: .95; }
.fygo-sp h2.fygo-sp-h2-sm { font-size: clamp(1.8rem, 3.4vw, 2.3rem); }
.fygo-sp h3 { margin: 0 0 8px; color: var(--navy); font-size: 17px; font-weight: 800; line-height: 1.3; }
.fygo-sp p { margin: 0 0 14px; color: var(--ink-600); }
.fygo-sp a { color: var(--navy); }
.fygo-sp-lead { max-width: 640px; font-size: 18px; }
.fygo-sp .fygo-sp-meta { margin: 0; color: var(--ink-400); font-size: 13px; }
.fygo-sp .fygo-sp-more { color: var(--navy); font-size: 14px; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.fygo-sp .fygo-sp-more:hover { color: var(--orange); }
.fygo-sp ul.fygo-sp-list { margin: 0 0 14px; padding-left: 20px; color: var(--ink-600); }
.fygo-sp ul.fygo-sp-list li { margin-bottom: 6px; }

/* ── Buttons ── */
.fygo-sp-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.fygo-sp .fygo-sp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px;
  font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.fygo-sp .fygo-sp-btn--solid { background: var(--ink); color: #fff; }
.fygo-sp .fygo-sp-btn--solid:hover { background: var(--orange); color: #fff; transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.fygo-sp .fygo-sp-btn--line { border: 1.5px solid var(--ink); color: var(--ink); }
.fygo-sp .fygo-sp-btn--line:hover { background: var(--ink); color: #fff; }
@media (max-width: 600px) { .fygo-sp-btns .fygo-sp-btn { flex: 1 1 100%; } }

/* ── Hero and sections ── */
.fygo-sp-hero { padding: 64px 0 52px; border-bottom: 1px solid var(--ink-100); }
.fygo-sp-sec { padding: 64px 0; }
.fygo-sp-sec--white { background: #fff; border-top: 1px solid var(--ink-100); border-bottom: 1px solid var(--ink-100); }
@media (max-width: 768px) {
  .fygo-sp-hero { padding: 40px 0 36px; }
  .fygo-sp-sec { padding: 44px 0; }
  .fygo-sp-lead { font-size: 16.5px; }
}

/* ── On this page (policy and terms) ── */
.fygo-sp-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.fygo-sp-toc a {
  display: inline-block; padding: 8px 14px;
  border: 1.5px solid var(--ink-100); border-radius: 999px; background: #fff;
  color: var(--navy); font-size: 13px; font-weight: 700; text-decoration: none;
}
.fygo-sp-toc a:hover { border-color: var(--navy); }

/* ── Two columns ── */
.fygo-sp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.fygo-sp-split--top { align-items: start; }
.fygo-sp-split--flip > .fygo-sp-media { order: 2; }
@media (max-width: 768px) {
  .fygo-sp-split { grid-template-columns: 1fr; gap: 24px; }
  .fygo-sp-split--flip > .fygo-sp-media { order: 0; }
}

/* ── Photos (Inspiration) ── */
.fygo-sp-media {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 1; border-radius: 12px; background: var(--ink-50);
}
.fygo-sp-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
a.fygo-sp-media:hover img { transform: scale(1.03); }
.fygo-sp-media-tag {
  position: absolute; left: 12px; bottom: 12px;
  padding: 6px 10px; border-radius: 4px;
  background: rgba(10, 22, 40, .88); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.fygo-sp-media--panel { display: flex; align-items: center; justify-content: center; background: var(--navy); }
.fygo-sp-media--panel span { color: var(--orange); font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; }

/* ── Steps (About) ── */
.fygo-sp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: fygo-step; }
.fygo-sp-steps li { padding: 22px 20px; border: 1.5px solid var(--ink-100); border-radius: 10px; background: var(--cream); counter-increment: fygo-step; }
.fygo-sp-steps li::before {
  content: counter(fygo-step, decimal-leading-zero);
  display: block; margin-bottom: 12px;
  color: var(--orange); font-family: 'Bebas Neue', Impact, sans-serif; font-size: 36px; line-height: 1;
}
.fygo-sp-steps p { margin: 0; font-size: 14.5px; }
@media (max-width: 960px) { .fygo-sp-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fygo-sp-steps { grid-template-columns: 1fr; } }

/* ── Cards ── */
.fygo-sp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.fygo-sp-card { padding: 22px 20px; border: 1.5px solid var(--ink-100); border-radius: 10px; background: #fff; }
.fygo-sp-sec--white .fygo-sp-card { background: var(--cream); }
.fygo-sp-card-ico { margin-bottom: 12px; font-size: 24px; line-height: 1; }
.fygo-sp-card p { margin: 0; font-size: 14.5px; }
.fygo-sp-card p a { font-weight: 700; }
.fygo-sp-rich { padding: 26px 24px; }
.fygo-sp-rich p:last-child { margin-bottom: 0; }
.fygo-sp-rich ul { margin: 0 0 14px; padding-left: 20px; color: var(--ink-600); }
.fygo-sp-rich li { margin-bottom: 6px; }
.fygo-sp .fygo-grades-list { margin: 0; padding: 0; list-style: none; }
.fygo-sp .fygo-grades-list li { padding: 12px 0; border-bottom: 1px solid var(--ink-100); color: var(--ink-600); font-size: 14.5px; }
.fygo-sp .fygo-grades-list li:first-child { padding-top: 0; }
.fygo-sp .fygo-grades-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.fygo-sp .fygo-grades-list strong { color: var(--navy); }

/* ── The four promises (templates/global/trust-strip.php): light cards here ── */
.fygo-sp .fygo-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; border-top: 0; background: none; }
.fygo-sp .fygo-tri,
.fygo-sp .fygo-tri:last-child {
  flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 22px 20px; border: 1.5px solid var(--ink-100); border-radius: 10px; background: #fff;
}
.fygo-sp .fygo-tri-ico { background: rgba(255, 107, 53, .12); }
.fygo-sp .fygo-tri-ttl { color: var(--navy); font-size: 15px; font-weight: 800; }
.fygo-sp .fygo-tri-dsc { color: var(--ink-600); font-size: 14px; line-height: 1.5; }
@media (max-width: 960px) { .fygo-sp .fygo-trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .fygo-sp .fygo-trust { grid-template-columns: 1fr; }
  .fygo-sp .fygo-tri,
  .fygo-sp .fygo-tri:last-child { flex-direction: row; gap: 14px; }
}

/* ── Tips (Inspiration) ── */
.fygo-sp-tips { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fygo-sp-tip { padding: 26px 24px; border: 1.5px solid var(--ink-100); border-radius: 10px; background: #fff; }
.fygo-sp-tip ul.fygo-sp-list { margin: 0; }
@media (max-width: 768px) { .fygo-sp-tips { grid-template-columns: 1fr; } }

/* ── Long text (policy, terms) ── */
.fygo-sp-prose h2 { margin: 48px 0 14px; font-size: clamp(1.9rem, 3.6vw, 2.5rem); scroll-margin-top: 150px; }
.fygo-sp-prose h2:first-child { margin-top: 0; }
.fygo-sp-prose ul { margin: 0 0 16px; padding-left: 20px; color: var(--ink-600); }
.fygo-sp-prose li { margin-bottom: 8px; }
.fygo-sp-prose strong { color: var(--navy); }
.fygo-sp-prose .fygo-sp-facts { padding: 0; list-style: none; }
.fygo-sp-note { margin: 0 0 18px; padding: 18px 20px; border-left: 4px solid var(--orange); border-radius: 0 8px 8px 0; background: #fff; }
.fygo-sp-note p:last-child,
.fygo-sp-note ul:last-child { margin-bottom: 0; }
.fygo-sp .fygo-delivery-table { width: 100%; margin: 0 0 14px; border-collapse: collapse; background: #fff; font-size: 14.5px; }
.fygo-sp .fygo-delivery-table th,
.fygo-sp .fygo-delivery-table td { padding: 12px 14px; border-bottom: 1px solid var(--ink-100); text-align: left; }
.fygo-sp .fygo-delivery-table th { color: var(--ink-400); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.fygo-sp-also { padding-top: 18px; border-top: 1px solid var(--ink-100); font-size: 14px; }
.fygo-sp #contact { scroll-margin-top: 150px; }

/* ── Closing band ── */
.fygo-sp-cta { padding: 64px 0; background: var(--navy); text-align: center; }
.fygo-sp-cta h2 { color: #fff; }
.fygo-sp-cta p { max-width: 560px; margin: 0 auto; color: rgba(255, 255, 255, .78); }
.fygo-sp-cta .fygo-sp-btns { justify-content: center; }
.fygo-sp-cta .fygo-sp-btn--solid { background: var(--orange); }
.fygo-sp-cta .fygo-sp-btn--solid:hover { background: #fff; color: var(--ink); box-shadow: 4px 4px 0 var(--orange); }
.fygo-sp-cta .fygo-sp-btn--line { border-color: rgba(255, 255, 255, .55); color: #fff; }
.fygo-sp-cta .fygo-sp-btn--line:hover { background: #fff; color: var(--ink); }
