/* Crypto SEO Agency — loaded AFTER defi-tokenization-development.css, which supplies the shared
   tx-* / rw-* / dtk-* components (the <main> carries both .defi-tk-page and .seo-page).
   This file only adds what that sheet lacks: check lists and the comparison table (as on
   /aptos-blockchain-development/), KPI cards and the CTA line (as on /crypto-twitter-marketing-agency/),
   plus the metric-weight cards that are new on this page. */

/* two-paragraph section intros: the shared `.tx-heading p { margin: auto }` removes the gap */
.seo-page .tx-heading p + p { margin-top: 12px; }

/* ── Why traditional SEO falls short: five numbered cards, 3 + 2 with the last row centred (6-track grid) ── */
.seo-page .seo-why { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.seo-page .seo-reason { grid-column: span 2; display: flex; align-items: flex-start; gap: 16px; padding: 24px 22px; background: var(--rw-card); border: 1px solid var(--rw-border); border-radius: 16px; transition: transform .3s, border-color .3s, box-shadow .3s; }
.seo-page .seo-reason:nth-of-type(4) { grid-column: 2 / span 2; }
.seo-page .seo-reason:hover { transform: translateY(-4px); border-color: rgba(54, 231, 196, .4); box-shadow: 0 14px 36px rgba(78, 31, 163, .28); }
.seo-page .seo-reason-num { flex-shrink: 0; font-family: "Exo 2", sans-serif; font-size: 30px; font-weight: 800; line-height: 1; background: var(--tx-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.seo-page .seo-reason h3 { margin-bottom: 6px; font-size: 17px; font-weight: 700; line-height: 1.35; color: #fff; }
.seo-page .seo-reason p { font-size: 14.5px !important; line-height: 1.55; color: var(--rw-text-mid); }

/* ── Check-mark lists ── */
.seo-page .seo-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.seo-page .seo-points li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border: 1px solid var(--rw-border); border-radius: 14px; background: rgba(28, 29, 37, .55); font-family: Epilogue, sans-serif; font-size: 17px; font-weight: 300; line-height: 1.55; transition: border-color .3s, transform .3s, background .3s; }
.seo-page .seo-points li:hover { border-color: rgba(54, 231, 196, .45); background: rgba(78, 31, 163, .12); transform: translateX(4px); }
.seo-page .seo-points strong { color: #fff; font-weight: 600; }
.seo-page .seo-check { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; margin-top: -1px; border-radius: 8px; background: rgba(54, 231, 196, .12); border: 1px solid rgba(54, 231, 196, .35); color: var(--tx-teal); font-size: 15px; }
.seo-page .seo-points--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1100px; margin: 0 auto; }

/* ── Card tweaks: larger service icons, 4-up equal-size text tiles for sectors, icon rows for the team list ── */
.seo-page .rw-asset-card img { width: 48px; height: 48px; }
.seo-page .rw-tile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; }
.seo-page .rw-tile { display: flex; align-items: center; justify-content: center; padding: 28px 20px; }
.seo-page .rw-tile h3 { margin-bottom: 0; font-weight: 400; color: var(--rw-text-hi); }
/* team list: as tall as the text beside it (heading to last paragraph); the rows share that height */
.seo-page .seo-team { align-items: stretch; }
.seo-page .seo-team .rw-proc-list { display: flex; flex-direction: column; }
.seo-page .seo-team .rw-proc-row { display: flex; flex: 1 1 auto; align-items: center; gap: 18px; padding: 22px 26px; }
.seo-page .seo-team .rw-proc-row p { color: #d9d9d9; }
.seo-page .seo-m-label { margin-bottom: 10px; font-size: 30px; font-weight: 800; line-height: 1.1; background: var(--tx-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* consultants: the two cards span the full container, lining up with the split section above */
.seo-page .dtk-people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seo-page .dtk-person-role { margin-bottom: 6px; }
.seo-page .dtk-person-info p { margin-bottom: 12px; font-size: 14px !important; line-height: 1.55; }

/* ── CTA line under a section ── */
.seo-page .tx-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; margin-top: 44px; text-align: center; }
.seo-page .tx-help p { font-family: "Exo 2", sans-serif; font-size: 20px !important; font-weight: 500; color: #fff; }

/* ── KPI cards ── */
.seo-page .tx-success-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.seo-page .tx-kpi-card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 24px 20px 20px; overflow: hidden; background: radial-gradient(circle at 88% 12%, rgba(54, 231, 196, .06), transparent 55%), #081020; border: 1px solid rgba(54, 231, 196, .16); border-radius: 18px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .35s, border-color .35s, box-shadow .35s; }
.seo-page .tx-kpi-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--tx-gradient); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.seo-page .tx-kpi-card:hover { border-color: rgba(54, 231, 196, .45); transform: translateY(-6px); box-shadow: 0 16px 36px rgba(0, 0, 0, .45), 0 0 24px rgba(54, 231, 196, .14); }
.seo-page .tx-kpi-card:hover::before { transform: scaleX(1); }
.seo-page .tx-kpi-card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.seo-page .tx-kpi-num-badge { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9px; background: rgba(54, 231, 196, .08); border: 1px solid rgba(54, 231, 196, .25); font-family: "Exo 2", sans-serif; font-size: 13px; font-weight: 700; color: var(--tx-teal); transition: background .25s, color .25s; }
.seo-page .tx-kpi-card:hover .tx-kpi-num-badge { background: var(--tx-teal); color: #040914; }
.seo-page .tx-kpi-icon-wrap { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(13, 23, 46, .9); border: 1px solid rgba(217, 217, 217, .1); color: var(--tx-teal); transition: color .3s, border-color .3s, transform .3s; }
.seo-page .tx-kpi-card:hover .tx-kpi-icon-wrap { color: var(--tx-gold); border-color: rgba(245, 210, 85, .5); transform: scale(1.08) rotate(3deg); }
.seo-page .tx-kpi-icon-wrap svg { width: 20px; height: 20px; }
.seo-page .tx-kpi-title { font-size: 17.5px; font-weight: 700; line-height: 1.35; color: #fff; margin-bottom: 8px; transition: color .25s; }
.seo-page .tx-kpi-card:hover .tx-kpi-title { color: var(--tx-teal); }
.seo-page .tx-kpi-desc { font-size: 14.5px !important; line-height: 1.6; color: #cad5e4; }

/* ── Performance weights: avoid (✗) vs focus (✓) per metric ── */
.seo-page .seo-metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.seo-page .seo-metric { display: flex; flex-direction: column; gap: 16px; padding: 26px 22px; background: var(--rw-card); border: 1px solid var(--rw-border); border-radius: 16px; transition: transform .3s, border-color .3s, box-shadow .3s; }
.seo-page .seo-metric:hover { transform: translateY(-4px); border-color: rgba(54, 231, 196, .4); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.seo-page .seo-metric h3 { font-size: 22px; font-weight: 700; color: #fff; }
.seo-page .seo-metric h3 span { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--rw-text-mid); }
.seo-page .seo-metric progress { width: 100%; height: 8px; }
.seo-page .seo-vs { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.seo-page .seo-vs li { display: flex; align-items: flex-start; gap: 10px; font-family: Epilogue, sans-serif; font-size: 15px; line-height: 1.5; }
.seo-page .seo-vs .bi { display: inline-grid; place-items: center; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; font-size: 12px; }
.seo-page .seo-no { color: #8791a8; }
.seo-page .seo-no .bi { color: #ff7a7a; background: rgba(255, 110, 110, .1); }
.seo-page .seo-yes { color: #f2f4f8; }
.seo-page .seo-yes .bi { color: var(--tx-teal); background: rgba(54, 231, 196, .12); }

/* ── Agency vs in-house table ── */
.seo-page .seo-table-wrap { max-width: 1040px; margin-inline: auto; background: linear-gradient(180deg, rgba(14, 26, 52, .8) 0%, rgba(8, 16, 32, .9) 100%); border: 1px solid rgba(54, 231, 196, .22); border-radius: 20px; box-shadow: 0 24px 60px -15px rgba(0, 0, 0, .55); overflow-x: auto; }
.seo-page .seo-table-wrap::-webkit-scrollbar { height: 6px; }
.seo-page .seo-table-wrap::-webkit-scrollbar-thumb { background: rgba(54, 231, 196, .35); border-radius: 10px; }
.seo-page .seo-compare { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; text-align: left; }
.seo-page .seo-compare thead th { padding: 20px 24px; font-family: "Exo 2", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--tx-gold); border-bottom: 1px solid rgba(54, 231, 196, .18); background: rgba(10, 20, 42, .7); white-space: nowrap; }
.seo-page .seo-compare thead th.seo-col-hl { color: var(--tx-teal); }
.seo-page .seo-compare tbody tr { transition: background .28s; }
.seo-page .seo-compare tbody tr:nth-child(even) { background: rgba(255, 255, 255, .015); }
.seo-page .seo-compare tbody tr:hover { background: linear-gradient(90deg, rgba(54, 231, 196, .09) 0%, rgba(78, 31, 163, .16) 100%); }
.seo-page .seo-compare tbody th, .seo-page .seo-compare tbody td { padding: 18px 24px; vertical-align: middle; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.seo-page .seo-compare tbody tr:last-child th, .seo-page .seo-compare tbody tr:last-child td { border-bottom: none; }
.seo-page .seo-compare tbody th { font-family: "Exo 2", sans-serif; font-size: 16px; font-weight: 700; color: #fff; white-space: nowrap; }
.seo-page .seo-compare tbody td { font-family: Epilogue, sans-serif; font-size: 16px; color: rgba(243, 246, 255, .82); line-height: 1.5; }
.seo-page .seo-compare .seo-col-hl { background: rgba(54, 231, 196, .06); }
.seo-page .seo-compare tbody td.seo-col-hl { color: #fff; font-weight: 600; }

/* ── Two long headings: full container width (one line on desktop); where they must wrap, balance it (no lone last word) ── */
.seo-page .tx-heading.seo-heading-wide { max-width: none; }
.seo-page .seo-heading-wide h2 { text-wrap: balance; }
@media (min-width: 1200px) {
    /* scale with the viewport below 1400px so the line still fits the narrower container */
    .seo-page .seo-heading-wide h2 { font-size: min(var(--tx-h2), 2.75vw); }
}

/* ── Process: roadmap of icon nodes joined by a line (4 → 2 per row, vertical timeline on phones) ── */
.seo-page .seo-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 28px; margin-bottom: 0; padding: 0; list-style: none; }
.seo-page .seo-step { position: relative; text-align: center; }
.seo-page .seo-step::after { content: ""; position: absolute; top: 31px; left: calc(50% + 42px); width: calc(100% - 84px + 28px); height: 2px; background: linear-gradient(90deg, rgba(245, 210, 85, .55), rgba(54, 231, 196, .55)); }
.seo-page .seo-step:nth-child(4n)::after { display: none; }
.seo-page .seo-step-node { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #3b1d85, #0b1030 72%); border: 2px solid rgba(54, 231, 196, .75); box-shadow: 0 0 22px rgba(54, 231, 196, .25); color: #fff; transition: transform .3s, box-shadow .3s; }
.seo-page .seo-step:nth-child(even) .seo-step-node { border-color: rgba(245, 210, 85, .8); box-shadow: 0 0 22px rgba(245, 210, 85, .2); }
.seo-page .seo-step:hover .seo-step-node { transform: translateY(-4px) scale(1.06); box-shadow: 0 0 30px rgba(54, 231, 196, .45); }
.seo-page .seo-step-node svg { width: 28px; height: 28px; }
.seo-page .seo-step h3 { margin-bottom: 8px; font-size: 18px; font-weight: 700; color: var(--rw-text-hi); }
.seo-page .seo-step p { font-size: 15px !important; line-height: 1.6; color: var(--rw-text-mid); }

/* ── Expertise: the four milestone cards in one row ── */
.seo-page .seo-m-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.seo-page .seo-m-grid--4 .rw-m-card p { font-size: 15px !important; }

/* ── FAQ keyboard focus: the shared `summary:focus-visible` rule draws a square outline 5px outside the question,
      which sticks out of the rounded card and cuts into the open answer (browsers show it on a click that follows
      any key press). Keep a focus indicator, but draw it as a ring around the whole card. ── */
.seo-page .tx-faq summary:focus-visible { outline: 2px solid var(--tx-teal); outline-offset: -3px; border-radius: 8px; }
@supports selector(:has(*)) {
    .seo-page .tx-faq summary:focus-visible { outline: none; }
    .seo-page .tx-faq details:has(> summary:focus-visible) { box-shadow: 0 0 0 2px rgba(54, 231, 196, .55); }
}

/* ── Responsive ── */
@media (max-width: 1199px) {
    .seo-page .tx-success-kpi-grid, .seo-page .seo-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    /* reasons two per row, the fifth centred */
    .seo-page .seo-why { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
    .seo-page .seo-reason:nth-of-type(4) { grid-column: span 2; }
    .seo-page .seo-reason:nth-of-type(5) { grid-column: 2 / span 2; }
    .seo-page .rw-tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .seo-page .seo-steps, .seo-page .seo-m-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .seo-page .seo-step:nth-child(2n)::after { display: none; }
}
@media (max-width: 767px) {
    .seo-page .seo-points li { padding: 12px 14px; gap: 10px; font-size: 14px; }
    .seo-page .seo-check { width: 24px; height: 24px; font-size: 13px; }
    .seo-page .seo-points--grid { grid-template-columns: minmax(0, 1fr); }
    .seo-page .rw-asset-card img { width: 40px; height: 40px; }
    .seo-page .seo-team .rw-proc-row { padding: 14px 16px; gap: 12px; }
    .seo-page .dtk-people { grid-template-columns: minmax(0, 1fr); }
    .seo-page .seo-m-label { font-size: 24px; }
    .seo-page .seo-step h3 { font-size: 16px; }
    .seo-page .seo-why { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .seo-page .seo-reason:nth-of-type(n) { grid-column: auto; }
    .seo-page .seo-reason { gap: 12px; padding: 14px; }
    .seo-page .seo-reason-num { font-size: 24px; }
    .seo-page .seo-reason h3 { font-size: 15px; }
    .seo-page .seo-reason p { font-size: 13.5px !important; }
    .seo-page .seo-step p, .seo-page .seo-m-grid--4 .rw-m-card p { font-size: 14px !important; }
    .seo-page .tx-help { margin-top: 24px; gap: 12px; }
    .seo-page .tx-help p { font-size: 16px !important; }
    .seo-page .tx-success-kpi-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .seo-page .tx-kpi-card { padding: 14px 12px 12px; gap: 8px; border-radius: 12px; }
    .seo-page .tx-kpi-num-badge { width: 26px; height: 26px; font-size: 11px; border-radius: 7px; }
    .seo-page .tx-kpi-icon-wrap { width: 32px; height: 32px; border-radius: 8px; }
    .seo-page .tx-kpi-icon-wrap svg { width: 16px; height: 16px; }
    .seo-page .tx-kpi-title { font-size: 14.5px; margin-bottom: 4px; }
    .seo-page .tx-kpi-desc { font-size: 12.5px !important; line-height: 1.45; }
    .seo-page .seo-metric { padding: 18px 16px; gap: 12px; }
    .seo-page .seo-metric h3 { font-size: 18px; }
    .seo-page .seo-vs li { font-size: 13.5px; }
    .seo-page .seo-table-wrap { border-radius: 12px; }
    .seo-page .seo-compare { min-width: 520px; }
    .seo-page .seo-compare thead th { padding: 10px 12px; font-size: 11px; }
    .seo-page .seo-compare tbody th, .seo-page .seo-compare tbody td { padding: 10px 12px; font-size: 13px; }
}
@media (max-width: 575px) {
    .seo-page .seo-metric-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .seo-page .seo-m-grid--4 { grid-template-columns: minmax(0, 1fr); }
    /* roadmap becomes a vertical timeline: node on the left, line running down to the next node */
    .seo-page .seo-steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .seo-page .seo-step { padding-left: 68px; text-align: left; }
    .seo-page .seo-step-node { position: absolute; top: 0; left: 0; width: 52px; height: 52px; margin: 0; }
    .seo-page .seo-step-node svg { width: 24px; height: 24px; }
    .seo-page .seo-step:nth-child(n)::after { display: block; top: 60px; left: 25px; width: 2px; height: calc(100% - 40px); background: linear-gradient(180deg, rgba(245, 210, 85, .55), rgba(54, 231, 196, .55)); }
    .seo-page .seo-step:last-child::after { display: none; }
    /* three short columns fit a phone: let cells wrap instead of hiding a column behind a scroll */
    .seo-page .seo-compare { min-width: 0; }
    .seo-page .seo-compare thead th, .seo-page .seo-compare tbody th { white-space: normal; }
    .seo-page .seo-compare thead th, .seo-page .seo-compare tbody th, .seo-page .seo-compare tbody td { padding: 10px 8px; font-size: 12.5px; }
    .seo-page .seo-compare thead th { font-size: 10.5px; letter-spacing: .6px; }
}

/* ── Hero art: static, no motion ──────────────────────────────────────────────
   defi-tokenization-development.css gives .defi-tk-page hero art a permanent
   float (dtkFloat), a pulsing glow (dtkGlow) and a 3D tilt on hover. That sheet
   is shared with /defi-tokenization-development/, so these overrides are scoped
   to .seo-page — which only this page carries — and this file loads after it. */
.seo-page .tx-hero-art img {
    animation: none;
    transition: none;
}

.seo-page .tx-hero-art::before {
    animation: none;
}

.seo-page .tx-hero-art:hover img {
    transform: none;
    filter: none;
}

/* ── Service card icons: inline SVG ───────────────────────────────────────────
   These cards previously used <img>, sized by `.rw-asset-card img` (48px here,
   40px in defi-tokenization-development.css). Inline <svg> does not match those
   selectors, so it needs its own sizing. Colour follows the .tx-kpi-icon-wrap
   treatment further down the page: teal at rest, gold on card hover. */
.seo-page .rw-asset-card svg {
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    color: var(--tx-teal);
    transition: color .3s, transform .3s;
}

.seo-page .rw-asset-card:hover svg {
    color: var(--tx-gold);
    transform: scale(1.08);
}

@media (max-width: 991px) {
    .seo-page .rw-asset-card svg { width: 40px; height: 40px; }
}

/* ── AI Search section: numbered 2-up cards ───────────────────────────────────
   The four cards were bare <h3>+<p> in a 4-column grid (~250px each), so every
   heading wrapped and the copy had no visual anchor. Widen to 2 columns for a
   readable measure and add the number badge + icon treatment already used by
   .tx-kpi-card below. Scoped to .seo-page: .rw-glow-card is shared with
   /defi-tokenization-development/, which must stay as it is. */
.seo-page .seo-ai-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.seo-page .seo-ai-card {
    position: relative;
    overflow: hidden;
    gap: 16px;
}

.seo-page .seo-ai-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--tx-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s;
}

.seo-page .seo-ai-card:hover::before { transform: scaleX(1); }

.seo-page .seo-ai-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.seo-page .seo-ai-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(54, 231, 196, .08);
    border: 1px solid rgba(54, 231, 196, .25);
    font-family: "Exo 2", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--tx-teal);
    transition: background .25s, color .25s;
}

.seo-page .seo-ai-card:hover .seo-ai-num {
    background: var(--tx-teal);
    color: #040914;
}

.seo-page .seo-ai-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(13, 23, 46, .9);
    border: 1px solid rgba(217, 217, 217, .1);
    color: var(--tx-teal);
    transition: color .3s, border-color .3s, transform .3s;
}

.seo-page .seo-ai-ico svg { width: 19px; height: 19px; }

.seo-page .seo-ai-card:hover .seo-ai-ico {
    color: var(--tx-gold);
    border-color: rgba(245, 210, 85, .5);
    transform: scale(1.08) rotate(3deg);
}

.seo-page .seo-ai-card h3 { font-size: 20px; }

@media (max-width: 991px) {
    .seo-page .seo-ai-grid { grid-template-columns: 1fr; gap: 14px; }
    .seo-page .seo-ai-card h3 { font-size: 18px; }
    .seo-page .seo-ai-num,
    .seo-page .seo-ai-ico { width: 32px; height: 32px; border-radius: 8px; }
    .seo-page .seo-ai-ico svg { width: 16px; height: 16px; }
}

/* ── Partnership: org-chart layout ────────────────────────────────────────────
   Was a two-column split (copy left, bordered list right) — the same shape as
   the rest of the page. Rebuilt as a hub that branches into five specialist
   nodes, so the section reads as one team rather than another list. Connectors
   are CSS pseudo-elements, no SVG. Scoped to .seo-page: dtk-split / rw-proc-*
   are shared with /defi-tokenization-development/. */
.seo-page .seo-org {
    --org-line: rgba(54, 231, 196, .35);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* hub */
.seo-page .seo-org-core {
    position: relative;
    max-width: 520px;
    padding: 22px 30px;
    text-align: center;
    border: 1px solid rgba(54, 231, 196, .3);
    border-radius: 16px;
    background: rgba(13, 23, 46, .75);
}

.seo-page .seo-org-core-tag {
    display: inline-block;
    margin-bottom: 8px;
    font-family: "Exo 2", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--tx-teal);
}

.seo-page .seo-org-core-text {
    margin: 0;
    font-size: 19px !important;
    line-height: 1.45;
    color: var(--rw-text-hi);
}

/* stem from hub down to the rail */
.seo-page .seo-org-core::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 34px;
    background: var(--org-line);
}

.seo-page .seo-org-branches {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    margin-top: 34px;
    padding-top: 34px;
}

/* horizontal rail joining the five nodes */
.seo-page .seo-org-branches::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--org-line);
}

.seo-page .seo-org-node {
    position: relative;
    padding: 26px 20px 24px;
    text-align: center;
    border: 1px solid var(--rw-border);
    border-radius: 14px;
    background: rgba(28, 29, 37, .55);
    transition: border-color .3s, transform .3s, box-shadow .3s;
}

/* stub connecting each node up to the rail */
.seo-page .seo-org-node::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    width: 2px;
    height: 34px;
    background: var(--org-line);
}

.seo-page .seo-org-node::after {
    content: "";
    position: absolute;
    bottom: calc(100% + 30px);
    left: 50%;
    width: 9px;
    height: 9px;
    margin-left: -4.5px;
    border-radius: 50%;
    background: var(--tx-teal);
    transition: box-shadow .3s, background .3s;
}

.seo-page .seo-org-node:hover {
    border-color: rgba(54, 231, 196, .45);
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(78, 31, 163, .3);
}

.seo-page .seo-org-node:hover::after {
    background: var(--tx-gold);
    box-shadow: 0 0 0 5px rgba(245, 210, 85, .15);
}

.seo-page .seo-org-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: rgba(13, 23, 46, .9);
    border: 1px solid rgba(217, 217, 217, .1);
    color: var(--tx-teal);
    transition: color .3s, border-color .3s;
}

.seo-page .seo-org-ico svg { width: 21px; height: 21px; }

.seo-page .seo-org-node:hover .seo-org-ico {
    color: var(--tx-gold);
    border-color: rgba(245, 210, 85, .5);
}

.seo-page .seo-org-node h3 {
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    background: var(--rw-head-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.seo-page .seo-org-node p {
    margin: 0;
    font-size: 14.5px !important;
    line-height: 1.55;
    color: var(--rw-text-mid);
}

@media (max-width: 1199px) {
    .seo-page .seo-org-branches { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .seo-page .seo-org-branches::before { left: 16%; right: 16%; }
}

/* below this the chart reads better as a plain stack — drop the connectors */
@media (max-width: 767px) {
    .seo-page .seo-org-branches {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 22px;
        padding-top: 0;
    }

    .seo-page .seo-org-branches::before,
    .seo-page .seo-org-node::before,
    .seo-page .seo-org-node::after,
    .seo-page .seo-org-core::after { display: none; }

    .seo-page .seo-org-core { padding: 18px 20px; }
    .seo-page .seo-org-core-text { font-size: 17px !important; }
    .seo-page .seo-org-node { padding: 20px 16px; }
}
