/* =========================================================================
   SEO / content + catalog pages — premium dark "fileservice" design system.
   Self-contained (home-redesign.css is only loaded on the landing page), so
   these pages carry their own dark shell, glassmorphism, accent gradients and
   entrance motion. Scoped under .seo-body / bespoke classes to avoid clashes.
   ========================================================================= */

.seo-body {
  --bg: #151419;
  --text: #f5f5f5;
  --muted: rgba(245, 245, 245, 0.66);
  --accent: #f56e0f;
  --accent-2: #ff9a3d;
  --glass-bg: rgba(255, 255, 255, 0.035);
  --glass-brd: rgba(255, 255, 255, 0.09);
  --glass-brd-hover: rgba(245, 110, 15, 0.55);
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --glow: 0 20px 60px rgba(245, 110, 15, 0.16);

  background:
    radial-gradient(1100px 620px at 82% -6%, rgba(245, 110, 15, 0.16), transparent 60%),
    radial-gradient(900px 520px at 4% 2%, rgba(245, 110, 15, 0.07), transparent 55%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  font-family: "Montserrat", system-ui, sans-serif;
}

/* ---- Layout shell ---- */
/* Top padding clears the fixed floating navbar (~110px) so content doesn't
   tuck under it. */
.seo {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(116px, 15vh, 168px) 20px clamp(60px, 8vw, 110px);
}
.seo__section { margin-top: clamp(40px, 6vw, 80px); }
.seo p { color: var(--muted); line-height: 1.7; margin: 0 0 16px; }
/* Generic links accent-colored — but NOT buttons (they keep their own color). */
.seo a:not(.p-btn) { color: var(--accent); text-decoration: none; }
.seo a:not(.p-btn):hover { color: var(--accent-2); }

/* ---- Breadcrumbs ---- */
.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 0.82rem; letter-spacing: 0.01em;
  color: var(--muted); margin-bottom: 26px;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current="page"] { color: var(--text); opacity: 0.85; }
.breadcrumbs span[aria-hidden] { opacity: 0.4; }

/* ---- Hero header ---- */
.seo-hero { position: relative; margin-bottom: 8px; }
.seo-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(245, 110, 15, 0.1);
  border: 1px solid rgba(245, 110, 15, 0.28);
  color: var(--accent-2);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 20px;
}
.seo-eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px 2px rgba(245, 110, 15, 0.7);
}
.seo h1 {
  font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.05;
  letter-spacing: -0.02em; margin: 0 0 18px; font-weight: 700;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.72) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.seo__lead { font-size: clamp(1rem, 1.5vw, 1.18rem); max-width: 68ch; color: rgba(245,245,245,0.78); }
.seo h2 {
  font-size: clamp(1.35rem, 2.3vw, 1.9rem); line-height: 1.2;
  letter-spacing: -0.01em; margin: 0 0 18px; color: #fff; font-weight: 700;
}
.seo h2 .t-accent, .seo .t-accent { color: var(--accent); }
.seo h3 { color: #fff; font-size: 1.1rem; margin: 0 0 8px; }

/* ---- Photo hero (image + legibility scrim + text bottom-left) ---- */
.seo-hero--photo {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(320px, 50vw, 540px);
  border-radius: var(--r-lg); border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow);
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
  padding: clamp(24px, 4vw, 52px);
  margin-bottom: 8px;
}
.seo-hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(21,20,25,0.94) 0%, rgba(21,20,25,0.55) 38%, rgba(21,20,25,0.12) 72%, rgba(21,20,25,0.4) 100%),
    linear-gradient(90deg, rgba(21,20,25,0.72) 0%, rgba(21,20,25,0.15) 52%, transparent 100%);
}
.seo-hero--photo::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), transparent);
}
.seo-hero--photo .seo-hero__inner { max-width: 62ch; }
.seo-hero--photo h1 {
  background: none; -webkit-text-fill-color: #fff; color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55);
}
.seo-hero--photo .seo__lead { color: #f5f5f5; text-shadow: 0 1px 14px rgba(0,0,0,0.6); }
/* Compact banner for catalog (brand/model/engine) pages */
.seo-hero--compact { min-height: clamp(210px, 32vw, 340px); }

/* ---- Standalone figure / media ---- */
.seo-figure {
  margin: 0; border-radius: var(--r-md); overflow: hidden; line-height: 0;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* clip rounded corners cleanly in webkit */
}
.seo-figure img { display: block; width: 100%; height: auto; border-radius: inherit; }
.seo-figure--16x9 img { aspect-ratio: 16 / 9; object-fit: cover; }
.seo-figure--4x3 img { aspect-ratio: 4 / 3; object-fit: cover; }
.seo-figure--21x9 img { aspect-ratio: 21 / 9; object-fit: cover; }

/* ---- Glass card ---- */
.glass {
  position: relative; overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-md);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: var(--shadow);
}
.glass::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 42%);
}

/* ---- Card grids ---- */
.seo-grid {
  list-style: none; padding: 0; margin: 0; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.seo-grid--wide { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.seo-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px;
  padding: 22px; border-radius: var(--r-md);
  background: var(--glass-bg); border: 1px solid var(--glass-brd);
  color: var(--text); text-decoration: none;
  transition: transform 0.25s cubic-bezier(.2,.7,.2,1), border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.seo-card:hover {
  transform: translateY(-5px); border-color: var(--glass-brd-hover);
  background: rgba(245, 110, 15, 0.05); box-shadow: var(--glow); color: var(--text);
}
.seo-card__title { color: #fff; font-weight: 600; font-size: 1.05rem; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.seo-card__title .arrow { color: var(--accent); transition: transform 0.25s; }
.seo-card:hover .seo-card__title .arrow { transform: translateX(4px); }
.seo-card__text { color: var(--muted); font-size: 0.9rem; line-height: 1.55; }

/* Icon tile for feature/service cards */
.seo-card__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(245, 110, 15, 0.12); border: 1px solid rgba(245, 110, 15, 0.3);
  color: var(--accent-2); font-size: 1.2rem; margin-bottom: 6px;
}

/* ---- Brand grid (catalog hub logos) ---- */
.brand-grid {
  list-style: none; padding: 0; margin: 8px 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px;
}
.seo a.brand-card, .brand-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 20px 14px; border-radius: 16px; text-decoration: none;
  background: var(--glass-bg); border: 1px solid var(--glass-brd);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.seo a.brand-card:hover {
  border-color: var(--glass-brd-hover); transform: translateY(-4px);
  box-shadow: var(--glow); background: rgba(245, 110, 15, 0.04);
}
.brand-card__logo {
  width: 96px; height: 96px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-card__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-card__name { color: #fff; font-weight: 600; font-size: 0.92rem; text-align: center; line-height: 1.2; }

/* ---- Feature list (checkmarks) ---- */
.seo-checklist { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.seo-checklist li {
  position: relative; padding-left: 34px; color: rgba(245,245,245,0.82); line-height: 1.55;
}
.seo-checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px;
  background: rgba(245, 110, 15, 0.14); border: 1px solid rgba(245, 110, 15, 0.4);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ff9a3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* ---- Stat row ---- */
.seo-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin: 8px 0 4px; }
.seo-stat { padding: 22px; border-radius: var(--r-md); background: var(--glass-bg); border: 1px solid var(--glass-brd); text-align: center; }
.seo-stat__num { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; color: #fff; line-height: 1; }
.seo-stat__num .t-accent { color: var(--accent); }
.seo-stat__label { color: var(--muted); font-size: 0.85rem; margin-top: 8px; }

/* ---- Data table (engine gains, model listing) ---- */
.seo-table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--glass-brd); background: var(--glass-bg); }
.seo-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 460px; }
.seo-table thead th {
  text-align: left; padding: 14px 18px; color: #fff; font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-bottom: 1px solid var(--glass-brd); background: rgba(255,255,255,0.02);
}
.seo-table td { padding: 13px 18px; border-bottom: 1px solid rgba(255,255,255,0.05); color: rgba(245,245,245,0.85); }
.seo-table tbody tr:last-child td { border-bottom: 0; }
.seo-table tbody tr { transition: background 0.15s; }
.seo-table tbody tr:hover { background: rgba(245, 110, 15, 0.05); }
.seo-table a { color: #fff; font-weight: 500; }
.seo-table a:hover { color: var(--accent); }
.gain-pos { color: #6ee7a8; font-weight: 600; }

/* Big before/after gain cells on the engine page */
.gain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 6px 0 8px; }
.gain-card { padding: 22px; border-radius: var(--r-md); background: var(--glass-bg); border: 1px solid var(--glass-brd); }
.gain-card__label { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.gain-card__row { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.gain-card__from { color: var(--muted); font-size: 1.1rem; }
.gain-card__arrow { color: var(--accent); }
.gain-card__to { color: #fff; font-size: 1.9rem; font-weight: 700; }
.gain-card__delta { margin-left: auto; color: #6ee7a8; font-weight: 700; font-size: 1rem; }

/* ---- Stage switcher ---- */
.stage-switch { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.stage-switch__item {
  padding: 9px 18px; border-radius: 999px; font-size: 0.9rem; font-weight: 500;
  border: 1px solid var(--glass-brd); color: var(--text); background: var(--glass-bg);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
a.stage-switch__item:hover { border-color: var(--glass-brd-hover); transform: translateY(-2px); }
.stage-switch__item.is-active {
  background: linear-gradient(110deg, var(--accent), rgba(245, 110, 15, 0.9));
  border-color: transparent; color: #fff; box-shadow: var(--glow);
}

/* ---- Spec / definition lists ---- */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2px; margin: 8px 0 8px; }
.spec-grid > div { padding: 14px 18px; background: var(--glass-bg); border: 1px solid var(--glass-brd); border-radius: 12px; }
.spec-grid dt { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.spec-grid dd { margin: 6px 0 0; color: #fff; font-weight: 500; }

/* ---- Glossary ---- */
.glossary { display: grid; gap: 12px; margin: 8px 0 8px; }
.glossary__item { padding: 20px 22px; border-radius: var(--r-md); background: var(--glass-bg); border: 1px solid var(--glass-brd); }
.glossary__term { color: #fff; font-weight: 700; margin: 0 0 6px; font-size: 1.05rem; }
.glossary__def { color: var(--muted); margin: 0; line-height: 1.6; }

/* ---- FAQ accordion ---- */
.faq { display: grid; gap: 12px; margin: 8px 0; }
.faq__item { border-radius: var(--r-md); background: var(--glass-bg); border: 1px solid var(--glass-brd); overflow: hidden; transition: border-color 0.2s; }
.faq__item[open] { border-color: var(--glass-brd-hover); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 18px 22px; color: #fff; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--accent); font-size: 1.5rem; line-height: 1; transition: transform 0.2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 22px 20px; margin: 0; color: var(--muted); line-height: 1.65; }

/* ---- Article body (guides) ---- */
.article-cover {
  display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover;
  border-radius: var(--r-lg); border: 1px solid var(--glass-brd);
  margin: 8px 0 28px; box-shadow: var(--shadow);
}
.article-body { max-width: 74ch; }
.article-body h2 { margin-top: 34px; }
.article-body h3 { margin-top: 24px; }
.article-body p { color: rgba(245,245,245,0.8); }
.article-body ul, .article-body ol { color: rgba(245,245,245,0.8); line-height: 1.7; padding-left: 20px; margin: 0 0 18px; }
.article-body li { margin: 8px 0; }
.article-body strong { color: #fff; }
.article-body a { color: var(--accent); }
/* Images uploaded in the article body (CKEditor wraps them in <figure class="image">) */
.article-body img { max-width: 100%; height: auto; border-radius: var(--r-md); display: block; }
.article-body figure { margin: 24px 0; }
.article-body figure.image { margin: 24px 0; }
.article-body figure img { border-radius: var(--r-md); box-shadow: var(--shadow); }
.article-body figure.image-style-side { float: right; max-width: 48%; margin: 6px 0 18px 24px; }
.article-body figcaption { color: var(--muted); font-size: 0.85rem; text-align: center; margin-top: 8px; }
.article-body blockquote { border-left: 3px solid var(--accent); margin: 22px 0; padding: 4px 0 4px 18px; color: rgba(245,245,245,0.9); }
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.article-body table td, .article-body table th { border: 1px solid var(--glass-brd); padding: 10px 12px; }
.article__meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 24px; }

/* ---- CTA banner ---- */
.seo-cta {
  margin-top: clamp(48px, 7vw, 90px); padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-lg); position: relative; overflow: hidden;
  background:
    radial-gradient(720px 320px at 100% 0%, rgba(245, 110, 15, 0.13), transparent 62%),
    var(--glass-bg);
  border: 1px solid var(--glass-brd);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.seo-cta h2 { margin: 0 0 6px; }
.seo-cta p { margin: 0; }
.seo-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Buttons: use the site-wide .p-btn / .p-btn_orange styles (main.css) as-is so
   hover behaves identically to the landing. Only align sizing on content pages. */
.seo .p-btn { text-align: center; }

.seo__note { color: var(--muted); font-size: 0.85rem; opacity: 0.85; }
.seo-address { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.seo-address > div { padding: 20px; border-radius: var(--r-md); background: var(--glass-bg); border: 1px solid var(--glass-brd); }
.seo-address strong { color: #fff; }

/* ---- HowTo steps ---- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 8px 0; display: grid; gap: 18px; }
.steps > li {
  counter-increment: s; position: relative; overflow: hidden;
  border-radius: var(--r-md); background: var(--glass-bg); border: 1px solid var(--glass-brd);
  display: grid; grid-template-columns: 300px 1fr; align-items: stretch;
}
.steps > li .step-media { margin: 0; }
.steps > li .step-media img { display: block; width: 100%; height: 100%; min-height: 180px; object-fit: cover; }
.steps > li .step-body { position: relative; padding: 26px 26px 26px 78px; }
.steps > li .step-body::before {
  content: counter(s); position: absolute; left: 24px; top: 26px;
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--accent), rgba(245, 110, 15, 0.85));
  box-shadow: var(--glow);
}
.steps h3 { margin: 0 0 6px; }
.steps p { margin: 0; }
@media (max-width: 680px) {
  .steps > li { grid-template-columns: 1fr; }
  .steps > li .step-media img { min-height: 160px; max-height: 220px; }
}

/* ---- Entrance motion (CSS-only, staggered) ---- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); animation: seo-rise 0.7s cubic-bezier(.2,.7,.2,1) forwards; }
  .reveal:nth-child(2) { animation-delay: 0.06s; }
  .reveal:nth-child(3) { animation-delay: 0.12s; }
  .reveal:nth-child(4) { animation-delay: 0.18s; }
  .reveal:nth-child(5) { animation-delay: 0.24s; }
  .reveal:nth-child(6) { animation-delay: 0.3s; }
  .seo-grid .seo-card { opacity: 0; transform: translateY(20px); animation: seo-rise 0.6s cubic-bezier(.2,.7,.2,1) forwards; }
  .seo-grid .seo-card:nth-child(n) { animation-delay: calc(0.04s * var(--i, 0)); }
}
@keyframes seo-rise { to { opacity: 1; transform: none; } }

/* =========================================================================
   Service option groups (the full "All tuning options" catalogue)
   ========================================================================= */
.options-groups {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px; margin-top: 12px;
}
.options-group { padding: 24px; }
.options-group__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.options-group__icon {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(245, 110, 15, 0.12); border: 1px solid rgba(245, 110, 15, 0.3);
  color: var(--accent-2); flex: 0 0 auto;
}
.options-group__title { margin: 0; font-size: 1.1rem; color: #fff; flex: 1; }
.options-group__count {
  color: var(--muted); font-size: 0.78rem; border: 1px solid var(--glass-brd);
  border-radius: 999px; padding: 2px 10px;
}
.options-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seo a.options-chip, .options-chip {
  display: inline-block; font-size: 0.85rem; color: rgba(245, 245, 245, 0.85);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--glass-brd);
  border-radius: 9px; padding: 7px 12px; transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.seo a.options-chip:hover { border-color: var(--glass-brd-hover); background: rgba(245, 110, 15, 0.08); color: #fff; }
.options-group__note { margin: 14px 0 0; color: var(--muted); font-size: 0.8rem; opacity: 0.85; }

/* Section headings with a lead line */
.section-head { margin-bottom: 26px; }
.section-head h2 { margin: 0 0 8px; }
.section-head .seo__lead { margin: 0; }

/* Category blocks + option cards (the "All options by category" layout) */
.option-cat { margin-top: 46px; }
.option-cat:first-of-type { margin-top: 28px; }
.option-cat__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.option-cat__icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(245, 110, 15, 0.12); border: 1px solid rgba(245, 110, 15, 0.3);
  color: var(--accent-2); flex: 0 0 auto;
}
.option-cat__title { margin: 0; font-size: 1.25rem; color: #fff; }
.option-cat__count {
  color: var(--muted); font-size: 0.8rem; border: 1px solid var(--glass-brd);
  border-radius: 999px; padding: 3px 11px;
}
.option-cat__badge {
  color: var(--accent-2); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em;
  border: 1px solid rgba(245, 110, 15, 0.3); background: rgba(245, 110, 15, 0.08);
  border-radius: 999px; padding: 3px 10px;
}
.option-cards {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px;
}
.seo a.option-card, .option-card {
  display: flex; align-items: flex-start; gap: 13px; padding: 16px; border-radius: 14px;
  background: var(--glass-bg); border: 1px solid var(--glass-brd); text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.seo a.option-card:hover {
  border-color: var(--glass-brd-hover); transform: translateY(-3px);
  box-shadow: var(--glow); background: rgba(245, 110, 15, 0.04);
}
.option-card__icon {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(245, 110, 15, 0.1); border: 1px solid rgba(245, 110, 15, 0.25); color: var(--accent-2);
}
.option-card__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.option-card__name { color: #fff; font-weight: 600; font-size: 0.95rem; line-height: 1.25; }
.option-card__desc { color: var(--muted); font-size: 0.8rem; line-height: 1.45; }
.option-card__arrow { color: var(--accent); margin-left: auto; align-self: center; flex: 0 0 auto; transition: transform 0.2s; }
.seo a.option-card:hover .option-card__arrow { transform: translateX(3px); }
@media (max-width: 520px) { .option-cards { grid-template-columns: 1fr; } }

/* =========================================================================
   Blog / guides listing — alternating image + text rows ("Read more")
   ========================================================================= */
.blog-list { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 28px; }
.blog-post {
  display: grid; grid-template-columns: minmax(240px, 44%) 1fr;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--glass-bg); border: 1px solid var(--glass-brd);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.blog-post:hover { border-color: var(--glass-brd-hover); transform: translateY(-4px); box-shadow: var(--glow); }
.blog-post__media { display: block; overflow: hidden; line-height: 0; min-height: 220px; }
.blog-post__media img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block; transition: transform 0.5s ease; }
.blog-post:hover .blog-post__media img { transform: scale(1.04); }
.blog-post__body {
  padding: clamp(22px, 3vw, 38px); display: flex; flex-direction: column;
  align-items: flex-start; gap: 12px; justify-content: center;
}
.blog-post__date { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.09em; }
.blog-post__title { margin: 0; font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.25; }
.seo .blog-post__title a { color: #fff; }
.seo .blog-post__title a:hover { color: var(--accent); }
.blog-post__excerpt { color: var(--muted); margin: 0; line-height: 1.6; }
.blog-post__more { color: var(--accent); font-weight: 600; margin-top: 4px; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.blog-post:hover .blog-post__more { gap: 10px; }
/* Staggered ("шахматный") — image moves to the right on every other row */
.blog-post:nth-child(even) .blog-post__media { order: 2; }
@media (max-width: 720px) {
  .blog-post { grid-template-columns: 1fr; }
  .blog-post:nth-child(even) .blog-post__media { order: 0; }
  .blog-post__media, .blog-post__media img { min-height: 200px; max-height: 260px; }
}

/* ---- Related guides cards (bottom of an article) ---- */
.related-grid {
  list-style: none; padding: 0; margin: 8px 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px;
}
.related-card {
  display: flex; flex-direction: column; border-radius: var(--r-md); overflow: hidden;
  background: var(--glass-bg); border: 1px solid var(--glass-brd); text-decoration: none;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.related-card:hover { border-color: var(--glass-brd-hover); transform: translateY(-4px); box-shadow: var(--glow); }
.related-card__media { display: block; line-height: 0; overflow: hidden; }
.related-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; transition: transform 0.5s ease; }
.related-card:hover .related-card__media img { transform: scale(1.05); }
.related-card__title { color: #fff; font-weight: 600; padding: 16px 18px 0; line-height: 1.3; }
.related-card__more { color: var(--accent); font-weight: 600; padding: 10px 18px 18px; margin-top: auto; }

/* =========================================================================
   Landing "process" step images (added to make the flow more visual)
   ========================================================================= */
.h-process__media {
  margin: -6px -6px 16px; border-radius: 16px; overflow: hidden; line-height: 0;
}
.h-process__media img {
  display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: 16px;
}

/* =========================================================================
   Active nav item (highlights the current page)
   ========================================================================= */
.header__list a.is-active { color: #f56e0f; position: relative; }
.header__list a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  border-radius: 2px; background: #f56e0f;
}

/* =========================================================================
   Footer navigation (premium)
   ========================================================================= */
/* Footer sitemap: one clean wrapping row of links (never overlaps). */
.footer__links {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 12px 26px; padding: 22px 0; margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__links a {
  color: rgba(245, 245, 245, 0.72); text-decoration: none; font-size: 0.9rem;
  white-space: nowrap; transition: color 0.2s;
}
.footer__links a:hover { color: #f56e0f; }

@media (max-width: 560px) {
  .seo-cta { flex-direction: column; align-items: flex-start; }
  .footer__links { gap: 12px 18px; }
}
