/* ==========================================================================
   SEO Services page (Figma: IW / "SEO SERVICES", 1920px)
   Builds on style.css + video.css (hero, form, accordion, offers, FAQ).
   ========================================================================== */

/* ---------- Hero (plain black, pattern only) ---------- */
.seo .ve-hero::after { display: none; }

/* ---------- Selected work: header + one 1920x720 scene ---------- */
.seo-pf { width: 1920px; max-width: 100%; display: flex; flex-direction: column; gap: 40px; }
.seo-pf__head { display: flex; flex-direction: column; gap: 24px; padding: 0 60px; }
.seo-pf__top { display: flex; justify-content: space-between; align-items: center; }
.seo-pf__title { width: 1551px; max-width: 100%; display: flex; flex-direction: column; gap: 12px; }
.seo-pf__title p { font-weight: 500; font-size: 18px; line-height: 26px; color: var(--c-body-gray); }

.seo-pf__scene { position: relative; height: 720px; overflow: hidden; background: var(--c-white); }
.seo-pf__bg { position: absolute; left: -38.8px; top: -165.55px; width: 1997.59px; height: 1124.24px; max-width: none; object-fit: cover; }
.seo-pf__scene::before { content: ""; position: absolute; z-index: 1; left: -38.8px; top: -165.55px; width: 1997.59px; height: 1124.24px; pointer-events: none;
    background: linear-gradient(0deg, #fff 26%, rgba(255, 255, 255, 0) 38%), linear-gradient(180deg, #fff 15%, rgba(255, 255, 255, 0) 29%); }
.seo-pf__main { position: absolute; left: 77.77px; top: -66.61px; width: 1147.48px; height: 645.8px; max-width: none; object-fit: cover; }

.seo-pf__panel { position: absolute; z-index: 2; left: 1256.89px; top: 37px; width: 472px; display: flex; flex-direction: column; gap: 6px; }
.seo-pf__panel h3 { font-weight: 600; font-size: 32px; line-height: 40px; color: var(--c-ink); }
.seo-pf__panel-sub { font-weight: 500; font-size: 16px; color: var(--c-red); }
.seo-pf__panel-text { margin-top: 18px; font-size: 18px; line-height: 26px; color: var(--c-body-gray); }

/* Gallery strip: 10 small tiles (106.67x60) + the featured tile (177.78x100), 24px gap */
.seo-gallery { position: absolute; z-index: 2; left: 77.77px; top: 610px; display: flex; align-items: center; gap: 60px; }
.seo-gallery__viewport { width: 1484px; max-width: 1484px; overflow: hidden; }
.seo-gallery__track { display: flex; align-items: center; gap: 24px; }
.seo-gallery__track.is-sliding { transition: transform .5s cubic-bezier(.22, .8, .24, 1); }
.seo-gallery__tile { position: relative; display: block; flex: none; width: 106.67px; height: 60px; margin-top: 20px; border-radius: 5px; overflow: hidden; opacity: .5; transition: opacity .25s, width .3s ease, height .3s ease, margin-top .3s ease; }
.seo-gallery__tile:hover { opacity: .8; }
.seo-gallery__tile img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.seo-gallery__tile.is-featured { width: 177.78px; height: 100px; margin-top: 0; opacity: 1; border: 2px solid var(--c-red); }
.seo-gallery__tile[hidden] { display: none; }
.seo-gallery__badge { position: absolute; left: 4px; top: 4px; padding: 9px 8px; background: var(--c-red); border-radius: 100px; font-weight: 700; font-size: 14px; line-height: 1; color: var(--c-white); opacity: 0; transition: opacity .2s; }
.seo-gallery__tile.is-featured .seo-gallery__badge { opacity: 1; }

/* ---------- Dark metrics row (4 items) ---------- */
.metrics--dark { background: var(--c-black); border-color: transparent; }
.metrics--dark .metric__icon { border-color: var(--c-white); }
.metrics--dark .metric__value { color: var(--c-white); }
.metrics--dark .metric__label { font-weight: 500; line-height: 30px; color: var(--c-border-gray); }
.seo-metrics { padding: 32px 120px; }

/* ---------- Why cards ---------- */
.seo-why { display: flex; gap: 24px; min-height: 323px; }
.seo-why__card { flex: 1; display: flex; flex-direction: column; }
.seo-why__head { display: flex; justify-content: space-between; align-items: center; height: 100px; padding: 24px; background: var(--c); border-radius: 10px 10px 0 0; }
.seo-why__icon { display: grid; place-items: center; flex: none; width: 64px; height: 64px; background: var(--c-white); border-radius: 32px; }
.seo-why__no { font-family: var(--font-display); font-weight: 500; font-size: 48px; line-height: 60px; }
.seo-why__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 24px 20px 28px; background: var(--c-white); border: 1px solid var(--c); border-top: 0; border-radius: 0 0 10px 10px; }
.seo-why__body h3 { font-weight: 500; font-size: 24px; line-height: normal; color: #1A1A1A; }
.seo-why__body p { font-size: 18px; line-height: 26px; color: var(--c-body-gray); }

/* ---------- Tools strip (dark, photo on the right) ---------- */
.seo-tools { position: relative; width: 1920px; max-width: 100%; height: 500px; overflow: hidden; background: #030202; }
.seo-tools__photo { position: absolute; left: 977.8px; top: -30.27px; width: 942.2px; height: 530.27px; max-width: none; object-fit: cover; }
.seo-tools::after { content: ""; position: absolute; left: 977.8px; top: -30.27px; width: 942.2px; height: 530.27px; background: linear-gradient(90deg, #030202 0%, rgba(3, 2, 2, 0) 23%); }
.seo-tools__grid { position: absolute; z-index: 1; left: 60px; top: 77px; display: flex; align-items: flex-start; gap: 44px; }
.seo-tools__col { display: flex; flex-direction: column; gap: 32px; width: 297px; }
.seo-tools__rule { height: 1px; border: 0; border-radius: 1000px; background: var(--c-divider-gray); }
.seo-tool { display: flex; align-items: center; gap: 20px; }
.seo-tool img { flex: none; width: auto; min-width: 72px; max-width: 128px; height: 72px; object-fit: contain; border-radius: 10px; }
.seo-tool div { display: flex; flex-direction: column; gap: 8px; }
.seo-tool strong { font-weight: 600; font-size: 18px; line-height: normal; color: var(--c-white); }
.seo-tool span { font-size: 16px; line-height: 24px; color: var(--c-off-white); }

/* ---------- Services accordion + image ---------- */
/* Figma: header row is centred with a 16px gap; the H2 is a fixed 552.81px, centred text; the text column fills the rest */
.seo .seo-services__head { gap: 16px; }
.seo .ve-split--center > .seo-services__title { flex: none; width: 820px; text-align: left; }
.seo-services__img { position: sticky; top: 120px; align-self: flex-start; flex: none; width: 809px; max-width: 45%; background: var(--c-white); border: 1px solid var(--c-divider-gray); border-radius: 10px; box-shadow: 0 4px 16px rgba(0, 0, 0, .1); overflow: hidden; }
.seo-services__img img { display: block; width: 100%; height: auto; }
.seo .acc--services .acc-points { width: 100%; max-width: 100%; }

/* ---------- Workflow: 5 steps in one row ---------- */
.seo-workflow { display: flex; align-self: stretch; gap: 60px; width: 1800px; max-width: 100%; }
.seo-step { flex: 1; display: flex; flex-direction: column; gap: 18px; }
.seo-step__art { position: relative; width: 300px; max-width: 100%; height: 300px; background: var(--c-white); }
.seo-step__art img { position: absolute; max-width: none; }
.seo-step__no { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 25px; color: var(--c); }
.seo-step__no span { width: 63px; flex: none; height: 0; border-top: 1.5px solid var(--c); }
.seo-step__copy { display: flex; flex-direction: column; gap: 8px; }
.seo-step__copy h3 { font-weight: 500; font-size: 24px; line-height: normal; color: var(--c-near-black); }
.seo-step__copy p { font-size: 16px; line-height: 24px; color: var(--c-body-gray); }

/* Figma: the copy block starts at the top of the hero columns (breadcrumb at y=229), 14px higher than video.css assumes */
.seo .ve-hero__copy { padding-top: 0; }

/* glyph-on-tile icons (assets/icons/magazine) keep their own small size inside the 72px tile */
.seo-tool .mg-tool__icon img { width: auto; height: auto; border-radius: 0; }

/* process pictures keep their own proportions: each one is fitted inside the 300px frame instead of being stretched to a fixed size */
.seo-step__art img { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; object-fit: contain; object-position: center bottom; }
