/* =====================================================================
   BACKSPACE — inner pages (service / legal) in the new design language.
   Loaded AFTER site.css (which provides :root tokens + body + .container).
   Styles the existing semantic classes + the new chrome from chrome.js.
   ===================================================================== */

body.seo-page { background: var(--bg); color: var(--ink); }

/* ---------------- HEADER (chrome.js) ---------------- */
.ihead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 248, 248, 0.85);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.ihead__in {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.ihead__logo { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
.ihead__nav { display: inline-flex; gap: 4px; background: var(--ink); border-radius: 35px; padding: 7px; }
.ihead__nav a {
  color: #fff; padding: 9px 18px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 15px; transition: background .2s, color .2s;
}
.ihead__nav a:hover { background: #fff; color: #000; }
.ihead__right { display: inline-flex; align-items: center; gap: 12px; }

.ilang { position: relative; }
.ilang__btn {
  height: 44px; padding: 0 16px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--stroke-light); color: var(--ink);
  font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 6px;
}
.ilang__menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 130px;
  background: #fff; border: 1px solid var(--stroke-light); border-radius: 16px;
  padding: 8px; display: none; flex-direction: column; gap: 2px; z-index: 60;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.ilang.is-open .ilang__menu { display: flex; }
.ilang__menu a { padding: 9px 14px; border-radius: 10px; color: var(--ink); font-weight: 600; }
.ilang__menu a:hover { background: #f1f1f1; }

.ihead__cta {
  background: var(--orange); color: #fff; height: 44px; padding: 0 22px;
  border-radius: var(--r-pill); font-weight: 700; font-size: 15px;
  display: inline-flex; align-items: center; transition: transform .2s;
}
.ihead__cta:hover { transform: translateY(-2px); }
.ihead__burger {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff; border: none; place-items: center;
}
.ihead__burger svg { width: 22px; height: 22px; }

/* ---------------- MOBILE MENU (chrome.js) ---------------- */
.imenu {
  position: fixed; inset: 0; z-index: 100; background: var(--ink); color: #fff;
  padding: 24px; display: none; flex-direction: column;
}
.imenu.is-open { display: flex; }
.imenu__top { display: flex; align-items: center; justify-content: space-between; }
.imenu__top .ihead__logo { color: #fff; }
.imenu__close { background: none; border: none; color: #fff; font-size: 34px; line-height: 1; }
.imenu nav { display: flex; flex-direction: column; gap: 4px; margin-top: 40px; }
.imenu nav a { color: #fff; font-size: 30px; font-weight: 700; padding: 10px 0; }
.imenu__lang { display: flex; gap: 12px; margin-top: auto; }
.imenu__lang a { padding: 10px 18px; border: 1px solid var(--stroke); border-radius: 100px; color: #fff; font-weight: 700; }
.imenu__lang a.is-active { background: #fff; color: #000; }

/* ---------------- HERO ---------------- */
.seo-page__hero { padding: 56px 0 24px; text-align: center; }
.seo-page__breadcrumbs { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.seo-page__breadcrumbs a { color: var(--muted); }
.seo-page__breadcrumbs a:hover { color: var(--orange); }
.svc-badge {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 10px 20px;
  border-radius: var(--r-pill); background: rgba(255, 28, 0, 0.1); color: #000;
  font-weight: 700; font-size: 15px; margin-bottom: 22px;
}
.seo-page__h1 { font-weight: 800; font-size: clamp(34px, 5vw, 58px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -0.02em; }
.seo-page__lead { color: var(--muted); font-size: 18px; line-height: 1.5; max-width: 680px; margin: 0 auto 28px; }
.seo-page__hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.svc-trust { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.svc-trust__item { display: flex; flex-direction: column; align-items: center; }
.svc-trust__num { font-weight: 800; font-size: 30px; }
.svc-trust__label { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ---------------- SECTIONS ---------------- */
.seo-page__section { padding: 54px 0; }
.svc-head { text-align: center; margin-bottom: 40px; }
.svc-head h2 { font-weight: 800; font-size: clamp(28px, 4vw, 42px); margin: 0 0 12px; letter-spacing: -0.01em; }
.svc-sub { color: var(--muted); font-size: 17px; max-width: 620px; margin: 0 auto; }

/* cards */
.seo-page__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.seo-page__card, .svc-card {
  background: #fff; border: 1px solid #ededed; border-radius: var(--r-card);
  padding: 30px; transition: transform .25s, box-shadow .25s;
}
.seo-page__card:hover, .svc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06); }
.svc-card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(255, 28, 0, 0.1); color: var(--orange); margin-bottom: 18px;
}
.svc-card__num { color: var(--orange); font-weight: 800; font-size: 15px; margin-bottom: 8px; }
.seo-page__card h3, .svc-card h3 { font-weight: 700; font-size: 20px; margin: 0 0 10px; }
.seo-page__card p, .svc-card p { color: var(--muted); margin: 0; line-height: 1.5; }

/* pricing */
.svc-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-price {
  position: relative; background: #fff; border: 1px solid #e3e3e3; border-radius: var(--r-card);
  padding: 30px; display: flex; flex-direction: column;
}
.svc-price--featured { border-color: var(--orange); }
.svc-price__tag {
  position: absolute; top: 22px; right: 22px; background: var(--orange); color: #fff;
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 100px;
}
.svc-price__name { color: var(--muted); font-weight: 600; }
.svc-price__amount { font-weight: 800; font-size: 40px; margin: 16px 0 22px; }
.svc-price__list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.svc-price__list li { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.svc-price__list li::before { content: '✓'; color: var(--orange); font-weight: 800; }
.svc-price .btn { margin-top: auto; }

/* faq (native details) */
.svc-faq { max-width: 820px; margin: 0 auto; }
.svc-faq details { border-bottom: 1px solid #e3e3e3; }
.svc-faq summary {
  list-style: none; cursor: pointer; padding: 22px 0; font-weight: 700; font-size: 19px;
  display: flex; justify-content: space-between; align-items: center;
}
.svc-faq summary::-webkit-details-marker { display: none; }
.svc-faq summary::after { content: '+'; color: var(--orange); font-size: 24px; font-weight: 500; }
.svc-faq details[open] summary::after { content: '×'; }
.svc-faq__a { color: var(--muted); padding: 0 0 22px; line-height: 1.55; max-width: 720px; }

/* CTA box */
.seo-page__cta-box {
  background: var(--ink); color: #fff; border-radius: var(--r-section);
  padding: 64px 40px; text-align: center; margin: 48px 0;
}
.seo-page__cta-box h2 { font-weight: 800; font-size: clamp(28px, 4vw, 44px); margin: 0 0 14px; }
.seo-page__cta-box p { color: rgba(255, 255, 255, 0.65); max-width: 540px; margin: 0 auto 26px; font-size: 17px; }
.seo-page__cta-box .btn { background: #fff; color: #000; }

/* ---------------- BUTTONS (legacy class names) ---------------- */
.btn-primary { background: var(--ink); color: #fff; }
.btn-outline { background: transparent; border: 1px solid #d2d2d2; color: var(--ink); }
.btn-lg { height: 60px; padding: 0 30px; font-size: 17px; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn-full { width: 100%; }

/* ---------------- FOOTER (chrome.js) ---------------- */
.ifooter {
  max-width: var(--maxw); margin: 40px auto 20px; border-radius: var(--r-section);
  overflow: hidden; background: var(--ink); color: #fff; padding: 50px 50px 0;
}
.ifooter__cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.ifooter__brand .name { font-weight: 800; font-size: 24px; }
.ifooter__brand .name span { color: var(--orange); }
.ifooter__brand p { color: rgba(255, 255, 255, 0.5); max-width: 280px; margin: 14px 0 0; }
.ifooter__col h4 { color: rgba(255, 255, 255, 0.4); font-weight: 600; font-size: 13px; letter-spacing: .1em; margin: 0 0 18px; }
.ifooter__col a { display: block; color: rgba(255, 255, 255, 0.85); margin-bottom: 12px; font-weight: 500; }
.ifooter__col a:hover { color: #fff; }
.ifooter__wordmark { width: 100%; display: block; margin-bottom: -2%; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 980px) {
  .ihead__nav, .ihead__cta { display: none; }
  .ihead__burger { display: grid; }
  .seo-page__cards { grid-template-columns: 1fr 1fr; }
  .svc-pricing { grid-template-columns: 1fr; }
  .ifooter__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .seo-page__cards { grid-template-columns: 1fr; }
  .svc-trust { gap: 28px; }
  .seo-page__cta-box { padding: 40px 24px; }
  .ifooter { padding: 32px 24px 0; margin: 24px 14px; }
  .ifooter__cols { grid-template-columns: 1fr; gap: 26px; }
  .ihead__in { padding: 14px; }
}


/* related-services cross-link block */
.svc-related{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.svc-related a{display:block;background:#fff;border:1px solid #ededed;border-radius:var(--r-card);padding:20px 22px;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;}
.svc-related a:hover{transform:translateY(-4px);box-shadow:0 16px 40px rgba(0,0,0,.06);border-color:var(--orange);}
.svc-related h3{font-weight:700;font-size:18px;margin:0 0 6px;color:var(--ink);}
.svc-related p{margin:0;font-size:14px;line-height:1.5;color:var(--muted);}
@media(max-width:860px){.svc-related{grid-template-columns:1fr 1fr;}}
@media(max-width:540px){.svc-related{grid-template-columns:1fr;}}
