/* ==============================================================
   GEO — фирменный тёмный дизайн PRO-САЙТ
   Используется на /portfolio/ (таб GEO) и /geo/case-N/ (страницы кейсов)
   Подключается ПОСЛЕ main.min.css + custom.css
   Цвет: #20AC79 (основной), #178A5E (тёмнее), #4DC594 (светлее)
   Без закруглений, фирменные косые линии, стрелка 45×45.
   ============================================================== */

/* Segoe UI - фирменный для рамочных блоков (baseline, unique, panel, quote) */
.geo-case__baseline, .geo-case__baseline *,
.geo-case__unique, .geo-case__unique *,
.geo-case__panel, .geo-case__panel *,
.geo-case__quote-wrap, .geo-case__quote-wrap *,
.geo-case__semantic, .geo-case__semantic * {
    font-family: "Segoe UI", "Open Sans", Tahoma, Verdana, sans-serif !important;
}

:root {
    --geo-green:       #20AC79;
    --geo-green-dark:  #178A5E;
    --geo-green-light: #4DC594;
    --geo-green-glow:  rgba(32, 172, 121, 0.4);
    --geo-green-soft:  rgba(32, 172, 121, 0.08);
    --geo-green-line:  rgba(32, 172, 121, 0.22);

    --geo-text:        #ffffff;
    --geo-muted:       #7A7A7A;
    --geo-panel:       #2b2b2b;
    --geo-panel-hover: #333333;
    --geo-line:        rgba(255, 255, 255, 0.12);

    --geo-cut:         40px;
}
@media (max-width: 767px) {
    :root { --geo-cut: 20px; }
}

/* Сглаживание шрифтов на тёмном фоне - применяем ко всем GEO-блокам */
.geo-intro, .geo-intro *,
.geo-grid, .geo-grid *,
.geo-case__header, .geo-case__header *,
.geo-case__hero-metrics, .geo-case__hero-metrics *,
.geo-case__strip, .geo-case__strip *,
.geo-case__section, .geo-case__section *,
.geo-case__unique, .geo-case__unique *,
.geo-case__panel, .geo-case__panel *,
.geo-case__quote-wrap, .geo-case__quote-wrap *,
.geo-case__faq, .geo-case__faq *,
.geo-case__competitors, .geo-case__competitors *,
.geo-case__ai, .geo-case__ai *,
.geo-case__methodology, .geo-case__methodology *,
.geo-case__semantic, .geo-case__semantic *,
.geo-case__volume, .geo-case__volume *,
.geo-case__screens, .geo-case__screens *,
.geo-case__back, .geo-case__back *,
.portfolio__menu .nav-item--geo, .portfolio__menu .nav-item--geo * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1, "liga" 1;
}

/* ==============================================================
   PORTFOLIO — таб GEO
   ============================================================== */

/* --- Таб GEO в фильтре --- */
.portfolio .portfolio__menu .nav .nav-item.nav-item--geo .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding-right: 1rem;
}
.portfolio .portfolio__menu .nav .nav-item.nav-item--geo .nav-link .nav-link__text {
    display: inline-block;
}
.portfolio .portfolio__menu .nav .nav-item.nav-item--geo .nav-link .nav-link__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    padding: 0 8px;
    background: var(--geo-green);
    color: #0e1a14;
    font-family: "Open Sans", sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    top: -8px;
    line-height: 1;
}
.portfolio .portfolio__menu .nav .nav-item.nav-item--geo .nav-link.active,
.portfolio .portfolio__menu .nav .nav-item.nav-item--geo .nav-link:hover {
    color: var(--geo-green-light);
}

/* --- Intro-панель над сеткой --- */
.geo-intro {
    margin-bottom: 60px;
    display: flex;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: wrap;
}
.geo-intro__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px 10px 14px;
    background: transparent;
    border: 1px solid var(--geo-green);
    color: var(--geo-green-light);
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1;
    flex-shrink: 0;
}
.geo-intro__dot {
    width: 8px;
    height: 8px;
    background: var(--geo-green);
    display: inline-block;
    box-shadow: 0 0 0 4px var(--geo-green-soft);
    animation: geoPulse 2.2s ease-in-out infinite;
}
@keyframes geoPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(32, 172, 121, 0.25); }
    50%      { box-shadow: 0 0 0 8px rgba(32, 172, 121, 0.05); }
}
.geo-intro__lead {
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    flex: 1 1 400px;
    font-weight: 300;
}
.geo-intro__lead b { color: var(--geo-green-light); font-weight: 600; }
@media (max-width: 767px) {
    .geo-intro { margin-bottom: 40px; gap: 20px; }
    .geo-intro__lead { font-size: 16px; }
}

/* --- Сетка карточек GEO: 2 колонки --- */
.geo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}
@media (max-width: 991px) { .geo-grid { grid-template-columns: 1fr; gap: 20px; } }

/* --- Карточка GEO --- */
.geo-card {
    position: relative;
    display: block;
    padding: 34px 34px 32px;
    background: var(--geo-panel);
    color: var(--geo-text);
    text-decoration: none;
    border: 1px solid transparent;
    /* фирменная косая — правый нижний угол срезан */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--geo-cut)), calc(100% - var(--geo-cut)) 100%, 0 100%);
    transition: background 300ms ease, transform 300ms cubic-bezier(.2,.7,.2,1);
    overflow: hidden;
}
.geo-card::before {
    /* тонкая зелёная линия по диагонали среза */
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: calc(var(--geo-cut) * 1.42);
    height: 1px;
    background: var(--geo-green);
    transform-origin: right bottom;
    transform: rotate(-45deg) translateY(-1px);
    z-index: 3;
    opacity: 0.5;
    transition: opacity 300ms ease;
}
.geo-card:hover {
    background: var(--geo-panel-hover);
    color: var(--geo-text);
    text-decoration: none;
    transform: translateY(-4px);
}
.geo-card:hover::before { opacity: 1; }

/* Топ-линия: только бейдж, домен убран */
.geo-card__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
.geo-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--geo-green);
    color: var(--geo-green-light);
    font-family: "Open Sans", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1;
}
.geo-card__badge::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--geo-green);
    box-shadow: 0 0 8px var(--geo-green-glow);
}

/* Заголовок карточки: белый текст, домен — зелёный */
.geo-card__title {
    font-family: "Open Sans", sans-serif;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--geo-text);
    letter-spacing: -0.005em;
}
.geo-card__title .geo-card__title-domain {
    color: var(--geo-green);
    white-space: nowrap;
}

.geo-card__lead {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 0 24px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 300;
}
.geo-card__lead b,
.geo-card__lead .geo-hl {
    color: var(--geo-green-light);
    font-weight: 700;
}
.geo-card__lead .geo-hl-ai {
    color: #fff;
    font-weight: 600;
    border-bottom: 1px dotted var(--geo-green-line);
    padding-bottom: 1px;
}
.geo-card__lead .geo-hl-competitor {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

/* Метрики 3 в ряд */
.geo-card__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--geo-line);
    margin-bottom: 22px;
}
.geo-card__metric {
    padding: 16px 12px 14px;
    background: var(--geo-panel);
    transition: background 250ms ease;
}
.geo-card:hover .geo-card__metric { background: var(--geo-panel-hover); }
.geo-card__metric-value {
    font-family: "Roboto", sans-serif;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    color: var(--geo-green);
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}
.geo-card__metric-label {
    font-family: "Open Sans", sans-serif;
    font-size: 11px;
    line-height: 1.35;
    color: var(--geo-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.geo-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}
.geo-card__tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--geo-line);
    color: rgba(255, 255, 255, 0.72);
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    line-height: 1.2;
}

/* Футер: тип проекта + кнопка «Смотреть кейс» (в духе сайта) */
.geo-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 22px;
    border-top: 1px solid var(--geo-line);
}
.geo-card__type {
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    color: var(--geo-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    padding-right: 10px;
    flex: 1 1 auto;
    min-width: 0;
}
.geo-card__type strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

/* Фирменная кнопка «Смотреть кейс →» (текст + стрелка с подчёркиванием на hover) */
.geo-card__cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--geo-green);
    position: relative;
    padding: 0 6px 4px 0;
    white-space: nowrap;
    transition: color 250ms ease, letter-spacing 250ms ease;
}
.geo-card__cta::after {
    content: "";
    position: absolute;
    left: 0;
    right: 28px;
    bottom: 0;
    height: 1px;
    background: var(--geo-green);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 300ms cubic-bezier(.2,.7,.2,1);
}
.geo-card__cta-arrow {
    display: inline-block;
    width: 18px;
    height: 1px;
    background: var(--geo-green);
    position: relative;
    margin-right: 4px;
    transition: width 300ms cubic-bezier(.2,.7,.2,1), background 250ms ease;
}
.geo-card__cta-arrow::before,
.geo-card__cta-arrow::after {
    content: "";
    position: absolute;
    right: 0;
    width: 8px;
    height: 1px;
    background: var(--geo-green);
    transition: background 250ms ease;
}
.geo-card__cta-arrow::before { top: -3px; transform: rotate(45deg); transform-origin: right center; }
.geo-card__cta-arrow::after  { top:  3px; transform: rotate(-45deg); transform-origin: right center; }
.geo-card:hover .geo-card__cta {
    color: #fff;
    letter-spacing: 0.14em;
}
.geo-card:hover .geo-card__cta::after {
    transform: scaleX(1);
    transform-origin: left center;
    background: #fff;
}
.geo-card:hover .geo-card__cta-arrow { width: 24px; background: #fff; }
.geo-card:hover .geo-card__cta-arrow::before,
.geo-card:hover .geo-card__cta-arrow::after { background: #fff; }

@media (max-width: 1199px) {
    .geo-card { padding: 26px 24px 24px; }
    .geo-card__title { font-size: 22px; }
    .geo-card__metric-value { font-size: 24px; }
}
@media (max-width: 767px) {
    .geo-card { padding: 24px 20px 22px; }
    .geo-card__topline { margin-bottom: 16px; }
    .geo-card__title { font-size: 20px; }
    .geo-card__lead { font-size: 13px; margin-bottom: 20px; }
    .geo-card__metrics { gap: 1px; }
    .geo-card__metric { padding: 12px 8px; }
    .geo-card__metric-value { font-size: 20px; }
    .geo-card__metric-label { font-size: 10px; }
    .geo-card__arrow, .geo-card__arrow svg { width: 40px; height: 40px; flex-basis: 40px; }
}

/* При активном GEO — стандартная сетка и её кнопка скрыты */
.portfolio.is-geo-active .profi-cards__portfolio,
.portfolio.is-geo-active .more-button-row {
    display: none !important;
}

/* ==============================================================
   ANIMATED COUNTER
   ============================================================== */

.geo-counter {
    display: inline-block;
    font-variant-numeric: tabular-nums;
    min-width: 1ch;
}

/* ==============================================================
   CASE PAGE — страницы GEO-кейсов
   ============================================================== */

/* --- Header кейса: eyebrow + огромный H1 + теги --- */
.geo-case__header {
    padding-top: 40px;
    padding-bottom: 40px;
}
.geo-case__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 12px;
    background: transparent;
    border: 1px solid var(--geo-green);
    color: var(--geo-green-light);
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 30px;
}
.geo-case__eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--geo-green);
    box-shadow: 0 0 8px var(--geo-green-glow);
}
.geo-case__h1 {
    font-family: "Open Sans", sans-serif;
    font-weight: 800;
    font-size: 56px;
    line-height: 1.05;
    color: #fff;
    margin: 0 0 18px;
    letter-spacing: -0.015em;
}
.geo-case__h1 .geo-case__h1-domain {
    color: var(--geo-green);
    white-space: nowrap;
}
.geo-case__subline {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    color: var(--geo-muted);
    margin-bottom: 26px;
}
.geo-case__subline a {
    color: var(--geo-green-light);
    text-decoration: none;
    border-bottom: 1px solid var(--geo-green-line);
    transition: color 200ms;
}
.geo-case__subline a:hover { color: var(--geo-green); }
.geo-case__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.geo-case__tag {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--geo-line);
    color: rgba(255, 255, 255, 0.75);
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    line-height: 1.2;
}
@media (max-width: 991px) { .geo-case__h1 { font-size: 42px; } }
@media (max-width: 555px) { .geo-case__h1 { font-size: 32px; } }

/* --- Hero-метрики: 3 больших числа в тёмном блоке --- */
.geo-case__hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--geo-line);
    margin-bottom: 30px;
    /* фирменная косая: два угла срезаны */
    clip-path: polygon(0 0, calc(100% - var(--geo-cut)) 0, 100% var(--geo-cut), 100% 100%, var(--geo-cut) 100%, 0 calc(100% - var(--geo-cut)));
}
.geo-case__hero-metric {
    padding: 40px 32px 34px;
    background: var(--geo-panel);
    text-align: left;
}
.geo-case__hero-metric-value {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-size: 72px;
    line-height: 1;
    color: var(--geo-green);
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    font-variant-numeric: tabular-nums;
}
.geo-case__hero-metric-label {
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.4;
}
@media (max-width: 767px) {
    .geo-case__hero-metrics { grid-template-columns: 1fr; }
    .geo-case__hero-metric { padding: 28px 22px 26px; }
    .geo-case__hero-metric-value { font-size: 52px; }
}

/* --- Полоса 4 доп.метрик --- */
.geo-case__strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--geo-line);
    margin-bottom: 60px;
    border: 1px solid var(--geo-line);
}
.geo-case__strip-item {
    padding: 18px 20px;
    background: #262626;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    font-weight: 600;
}
.geo-case__strip-item b { color: var(--geo-green); font-weight: 800; }
@media (max-width: 767px) {
    .geo-case__strip { grid-template-columns: repeat(2, 1fr); }
    .geo-case__strip-item { padding: 14px; font-size: 13px; }
}

/* --- Секции: eyebrow + title (фирменная типографика) --- */
.geo-case__section {
    margin-bottom: 70px;
}
.geo-case__section-eyebrow {
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 800;
    color: var(--geo-green);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.geo-case__section-eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--geo-green);
}
.geo-case__section-title {
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    font-size: 42px;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 30px;
    letter-spacing: -0.01em;
}
.geo-case__section-title b {
    font-weight: 800;
    color: var(--geo-green-light);
}
@media (max-width: 767px) {
    .geo-case__section { margin-bottom: 50px; }
    .geo-case__section-title { font-size: 28px; }
}

/* --- About text --- */
.geo-case__text {
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 300;
}
@media (max-width: 767px) { .geo-case__text { font-size: 15px; } }

/* --- Baseline (точка 0) --- */
.geo-case__baseline {
    margin-top: 26px;
    display: grid;
    grid-template-columns: minmax(180px, auto) 1fr;
    gap: 0;
    background: var(--geo-panel);
    border-left: 3px solid #E85555;
}
.geo-case__baseline-badge {
    padding: 20px 24px;
    background: rgba(232, 85, 85, 0.12);
    color: #ff9a9a;
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-size: 24px;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.geo-case__baseline-text {
    padding: 20px 24px;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: var(--geo-muted);
    line-height: 1.5;
    display: flex;
    align-items: center;
}
@media (max-width: 767px) {
    .geo-case__baseline { grid-template-columns: 1fr; }
}

/* --- Methodology 4 контура (2×2 сетка карточек) --- */
.geo-case__methodology {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--geo-line);
    border: 1px solid var(--geo-line);
}
.geo-case__method-card {
    padding: 34px 32px 30px;
    background: var(--geo-panel);
    transition: background 250ms ease;
}
.geo-case__method-card:hover { background: var(--geo-panel-hover); }
.geo-case__method-n {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-size: 42px;
    line-height: 1;
    color: var(--geo-green);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.geo-case__method-title {
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.25;
}
.geo-case__method-text {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: var(--geo-muted);
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}
@media (max-width: 767px) {
    .geo-case__methodology { grid-template-columns: 1fr; }
    .geo-case__method-card { padding: 26px 22px; }
    .geo-case__method-n { font-size: 34px; }
}

/* --- Semantic map (крупная формула + описание) --- */
.geo-case__semantic {
    padding: 48px 44px;
    background: var(--geo-panel);
    border-left: 3px solid var(--geo-green);
    display: grid;
    grid-template-columns: minmax(220px, 300px) 1fr;
    gap: 40px;
    align-items: center;
}
.geo-case__semantic-formula {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-size: 54px;
    line-height: 1;
    color: var(--geo-green);
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}
.geo-case__semantic-desc {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
    font-weight: 300;
}
@media (max-width: 767px) {
    .geo-case__semantic { grid-template-columns: 1fr; gap: 20px; padding: 30px 24px; }
    .geo-case__semantic-formula { font-size: 40px; }
    .geo-case__semantic-desc { font-size: 14px; }
}

/* --- Work Volume 6 плиток --- */
.geo-case__volume {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: var(--geo-line);
    border: 1px solid var(--geo-line);
}
.geo-case__volume-item {
    padding: 26px 16px 22px;
    background: var(--geo-panel);
    text-align: center;
}
.geo-case__volume-value {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-size: 32px;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.geo-case__volume-label {
    font-family: "Open Sans", sans-serif;
    font-size: 11px;
    color: var(--geo-muted);
    line-height: 1.4;
    letter-spacing: 0.02em;
}
@media (max-width: 991px) { .geo-case__volume { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) {
    .geo-case__volume { grid-template-columns: repeat(2, 1fr); }
    .geo-case__volume-value { font-size: 26px; }
}

/* --- Competitors bar chart --- */
.geo-case__competitors {
    padding: 32px;
    background: var(--geo-panel);
}
.geo-case__competitors-title {
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--geo-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 26px;
}
.geo-case__bar-row {
    display: grid;
    grid-template-columns: 32px minmax(160px, 240px) 1fr 80px;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.geo-case__bar-row:last-child { border-bottom: none; }
.geo-case__bar-rank {
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.05em;
}
.geo-case__bar-name {
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}
.geo-case__bar-row--ours .geo-case__bar-name {
    color: #fff;
    font-weight: 700;
}
.geo-case__bar-row--ours .geo-case__bar-rank {
    color: var(--geo-green);
    font-weight: 900;
}
.geo-case__bar-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}
.geo-case__bar-fill {
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    width: 0;
    transition: width 1200ms cubic-bezier(.2, .7, .2, 1);
}
.geo-case__bar-row--ours .geo-case__bar-fill {
    background: var(--geo-green);
    box-shadow: 0 0 16px var(--geo-green-glow);
}
.geo-case__bar-value {
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    text-align: right;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.geo-case__bar-row--ours .geo-case__bar-value { color: var(--geo-green); }
@media (max-width: 767px) {
    .geo-case__competitors { padding: 22px 18px; }
    .geo-case__bar-row {
        grid-template-columns: 24px 1fr 70px;
        gap: 10px;
        padding: 12px 0;
    }
    .geo-case__bar-track { grid-column: 1 / -1; margin-top: 4px; }
    .geo-case__bar-name { font-size: 13px; }
    .geo-case__bar-value { font-size: 13px; }
}

/* --- AI metrics grid --- */
.geo-case__ai {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px;
    background: var(--geo-line);
    border: 1px solid var(--geo-line);
}
.geo-case__ai-item {
    padding: 22px 22px 18px;
    background: var(--geo-panel);
}
.geo-case__ai-name {
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    color: var(--geo-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    font-weight: 600;
}
.geo-case__ai-value {
    font-family: "Roboto", sans-serif;
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.geo-case__ai-track {
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}
.geo-case__ai-fill {
    height: 100%;
    background: var(--geo-green);
    width: 0;
    transition: width 1200ms cubic-bezier(.2, .7, .2, 1);
}

/* --- Unique block (яркий, с косой + зелёный акцент) --- */
.geo-case__unique {
    padding: 50px 44px;
    background:
        radial-gradient(60% 100% at 100% 0%, rgba(32, 172, 121, 0.18) 0%, rgba(32, 172, 121, 0) 55%),
        var(--geo-panel);
    border: 1px solid var(--geo-green-line);
    /* косые углы (top-right + bottom-left) — фирменный slide-block паттерн */
    clip-path: polygon(0 0, calc(100% - var(--geo-cut)) 0, 100% var(--geo-cut), 100% 100%, var(--geo-cut) 100%, 0 calc(100% - var(--geo-cut)));
    position: relative;
}
.geo-case__unique-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 10px;
    background: var(--geo-green);
    color: #0e1a14;
    font-family: "Open Sans", sans-serif;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1;
    margin-bottom: 22px;
}
.geo-case__unique-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #0e1a14;
}
.geo-case__unique-title {
    font-family: "Open Sans", sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -0.015em;
}
.geo-case__unique-title a {
    color: var(--geo-green);
    text-decoration: none;
    border-bottom: 2px solid var(--geo-green-line);
    transition: color 250ms ease, border-color 250ms ease;
}
.geo-case__unique-title a:hover {
    color: var(--geo-green-light);
    border-color: var(--geo-green);
}
.geo-case__unique-lead {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 24px;
    font-weight: 300;
}
.geo-case__unique-lead p { margin: 0 0 14px; }
.geo-case__unique-lead p:last-child { margin-bottom: 0; }
.geo-case__unique-lead b, .geo-case__unique-lead strong {
    color: var(--geo-green-light);
    font-weight: 700;
}
.geo-case__unique-lead a {
    color: var(--geo-green);
    text-decoration: none;
    border-bottom: 1px dashed var(--geo-green-line);
    transition: color 200ms;
}
.geo-case__unique-lead a:hover { color: var(--geo-green-light); border-bottom-style: solid; }
.geo-case__unique-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    margin-bottom: 24px;
}
.geo-case__unique-platform {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--geo-green-line);
    color: rgba(255, 255, 255, 0.9);
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.geo-case__unique-insight {
    padding: 22px 24px;
    border-left: 3px solid var(--geo-green);
    background: rgba(32, 172, 121, 0.08);
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-style: italic;
}
@media (max-width: 767px) {
    .geo-case__unique { padding: 34px 26px; }
    .geo-case__unique-title { font-size: 26px; }
    .geo-case__unique-lead { font-size: 14px; }
    .geo-case__unique-insight { font-size: 14px; }
}

/* --- ЯРКИЕ БЛОКИ: Ком.эффект + Работа над ошибками (зелёная тема с катом) --- */
.geo-case__highlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.geo-case__panel {
    padding: 38px 34px 34px;
    background: var(--geo-green);
    color: #0e1a14;
    position: relative;
    /* косой левый нижний угол */
    clip-path: polygon(0 0, 100% 0, 100% 100%, var(--geo-cut) 100%, 0 calc(100% - var(--geo-cut)));
}
.geo-case__panel--mistakes {
    background: #2b2b2b;
    color: #fff;
    border: 1px solid var(--geo-green-line);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--geo-cut)), calc(100% - var(--geo-cut)) 100%, 0 100%);
}
.geo-case__panel-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 10px;
    background: rgba(14, 26, 20, 0.15);
    color: #0e1a14;
    font-family: "Open Sans", sans-serif;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1;
    margin-bottom: 24px;
}
.geo-case__panel-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #0e1a14;
}
.geo-case__panel--mistakes .geo-case__panel-eyebrow {
    background: rgba(32, 172, 121, 0.2);
    color: var(--geo-green-light);
}
.geo-case__panel--mistakes .geo-case__panel-eyebrow::before {
    background: var(--geo-green);
    box-shadow: 0 0 8px var(--geo-green-glow);
}
.geo-case__panel-title {
    font-family: "Open Sans", sans-serif;
    font-weight: 800;
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}
.geo-case__panel dl {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px 0;
}
.geo-case__panel dl > div {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(14, 26, 20, 0.15);
}
.geo-case__panel dl > div:last-child { border-bottom: none; padding-bottom: 0; }
.geo-case__panel dt {
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    color: rgba(14, 26, 20, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}
.geo-case__panel dd {
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    color: #0e1a14;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}
.geo-case__panel--mistakes .geo-case__panel-text {
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
    margin: 0;
    font-weight: 300;
}
@media (max-width: 991px) {
    .geo-case__highlight-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .geo-case__panel { padding: 28px 22px; }
    .geo-case__panel-title { font-size: 22px; }
    .geo-case__panel dl > div { grid-template-columns: 1fr; gap: 4px; }
}

/* --- FAQ (аккордеон, стилистика как .questions-accordion) --- */
.geo-case__faq {
    margin-bottom: 20px;
}
.geo-case__faq-item {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
}
.geo-case__faq-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.geo-case__faq-item summary {
    padding: 24px 60px 24px 0;
    font-family: "Roboto", sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    cursor: pointer;
    position: relative;
    list-style: none;
    line-height: 1.3;
    transition: color 200ms ease;
    outline: none;
}
.geo-case__faq-item summary::-webkit-details-marker { display: none; }
.geo-case__faq-item summary::marker { content: ''; }

/* Иконка + (плюс) → − (минус) как на /geo/ */
.geo-case__faq-item summary::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='35' height='36' viewBox='0 0 35 36' fill='none'><line y1='17.127' x2='35' y2='17.127' stroke='%23ffffff'/><line x1='17' y1='35.127' x2='17' y2='0.126953' stroke='%23ffffff'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 300ms ease;
}
.geo-case__faq-item[open] summary { color: var(--geo-green-light); }
.geo-case__faq-item[open] summary::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='35' height='2' viewBox='0 0 35 2' fill='none'><line y1='0.626953' x2='35' y2='0.626953' stroke='%2320AC79'/></svg>");
    transform: translateY(-50%) rotate(180deg);
}
.geo-case__faq-item .geo-case__faq-a {
    padding: 0 60px 30px 0;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
}
@media (max-width: 767px) {
    .geo-case__faq-item summary { font-size: 18px; padding: 20px 45px 20px 0; }
    .geo-case__faq-item summary::after { width: 28px; height: 28px; background-size: contain; }
    .geo-case__faq-item .geo-case__faq-a { font-size: 14px; padding-right: 40px; }
}

/* --- Скриншоты 3×2 + Fancybox thumbnails --- */
.geo-case__screens {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.geo-case__screen {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--geo-panel);
    border: 1px solid var(--geo-line);
    overflow: hidden;
    transition: border-color 250ms ease, transform 300ms cubic-bezier(.2,.7,.2,1);
    cursor: zoom-in;
}
.geo-case__screen:hover {
    border-color: var(--geo-green);
    transform: translateY(-3px);
}
.geo-case__screen img,
.geo-case__screen svg.geo-case__screen-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.geo-case__screen-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 16px 20px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.8) 100%);
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    z-index: 2;
    opacity: 0;
    transition: opacity 250ms ease;
}
.geo-case__screen:hover .geo-case__screen-overlay { opacity: 1; }
.geo-case__screen-zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 3;
    opacity: 0;
    transition: opacity 250ms ease, background 200ms ease;
}
.geo-case__screen:hover .geo-case__screen-zoom {
    opacity: 1;
}
.geo-case__screen-zoom svg { width: 16px; height: 16px; }
@media (max-width: 991px) { .geo-case__screens { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .geo-case__screens { grid-template-columns: 1fr; } }

/* --- Quote (переопределение под GEO) --- */
.geo-case__quote-wrap {
    padding: 60px 40px;
    background: var(--geo-panel);
    border-left: 3px solid var(--geo-green);
    position: relative;
}
.geo-case__quote-wrap::before {
    content: "\201C";
    position: absolute;
    top: -20px;
    left: 30px;
    font-family: "Roboto", sans-serif;
    font-size: 180px;
    color: var(--geo-green);
    line-height: 1;
    opacity: 0.15;
}
.geo-case__quote-text {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-size: 26px;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 24px;
    font-style: italic;
    position: relative;
    z-index: 1;
}
.geo-case__quote-author {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 4px;
}
.geo-case__quote-company {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: var(--geo-muted);
}
@media (max-width: 767px) {
    .geo-case__quote-wrap { padding: 40px 26px; }
    .geo-case__quote-text { font-size: 20px; }
}

/* --- Bottom CTA --- */
.geo-case__back {
    padding: 60px 0 80px;
    text-align: center;
}
.geo-case__back .btn.btn__dark-light {
    border-color: var(--geo-green);
    color: var(--geo-green-light);
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 16px 40px;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    transition: background 250ms, color 250ms;
    display: inline-block;
}
.geo-case__back .btn.btn__dark-light:hover {
    background: var(--geo-green);
    color: #0e1a14;
    border-color: var(--geo-green);
}
