/* AutoHub partners page — revision 5, unified typography and spacing */
:root {
    --ahp-text: #282828;
    --ahp-muted: #6f7378;
    --ahp-accent: #e9551f;
    --ahp-accent-dark: #d74a0f;
    --ahp-soft: #f6f6f7;
    --ahp-soft-accent: #fff3ed;
    --ahp-white: #ffffff;
    --ahp-shadow: 0 14px 38px rgba(31, 35, 38, 0.08);
    --ahp-font-body: 16px;
    --ahp-font-ui: 14px;
    --ahp-font-small: 13px;
    --ahp-font-caption: 12px;
    --ahp-font-h2: clamp(28px, 3vw, 40px);
    --ahp-font-h3: clamp(20px, 1.7vw, 24px);
    --ahp-line-body: 1.2;
    --ahp-line-ui: 1.4;
    --ahp-weight-regular: 400;
    --ahp-weight-medium: 600;
    --ahp-weight-heading: 650;
    --ahp-space-1: 8px;
    --ahp-space-2: 12px;
    --ahp-space-3: 16px;
    --ahp-space-4: 20px;
    --ahp-space-5: 24px;
    --ahp-space-6: 32px;
    --ahp-section-space: clamp(48px, 5vw, 64px);
    --ahp-card-padding: clamp(24px, 3vw, 32px);
}

.ahp-page,
.ahp-page * {
    box-sizing: border-box;
}

.ahp-page {
    width: 100%;
    padding-top: 24px;
    overflow: hidden;
    color: var(--ahp-text);
    background: var(--ahp-white);
    font-family: Montserrat, Arial, sans-serif;
    font-size: var(--ahp-font-body);
    font-weight: var(--ahp-weight-regular);
    line-height: var(--ahp-line-body);
}

.ahp-page h1,
.ahp-page h2,
.ahp-page h3,
.ahp-page p,
.ahp-page ul {
    margin: 0;
}

.ahp-page button,
.ahp-page input,
.ahp-page textarea,
.ahp-page select {
    font: inherit;
}

.ahp-page a {
    color: inherit;
    text-decoration: none;
}

.ahp-container {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

.ahp-breadcrumbs {
    display: flex;
    align-items: center;
    gap: var(--ahp-space-1);
    margin-bottom: 16px;
    color: #92969b;
    font-size: var(--ahp-font-small);
    line-height: var(--ahp-line-ui);
}

.ahp-breadcrumbs a {
    transition: color 0.2s ease;
}

.ahp-breadcrumbs a:hover {
    color: var(--ahp-accent-dark);
}

.ahp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: center;
    padding: clamp(32px, 4vw, 48px);
    border-radius: 24px;
    background:
        radial-gradient(circle at 16% 10%, rgba(233, 85, 31, 0.08), transparent 34%),
        var(--ahp-soft);
}

.ahp-hero h1 {
    max-width: 820px;
    font-size: clamp(35px, 3.8vw, 52px);
    font-weight: var(--ahp-weight-heading);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.ahp-lead {
    max-width: 800px;
    margin-top: 20px !important;
    color: #555a60;
    font-size: var(--ahp-font-body);
    font-weight: var(--ahp-weight-regular);
    line-height: var(--ahp-line-body);
}

.ahp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: var(--ahp-space-5);
}

.ahp-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: var(--ahp-space-4);
    color: #686d72;
    font-size: var(--ahp-font-ui);
    font-weight: var(--ahp-weight-regular);
    line-height: var(--ahp-line-ui);
}

.ahp-hero-points span {
    position: relative;
    padding-left: 13px;
}

.ahp-hero-points span::before {
    position: absolute;
    top: 0.56em;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ahp-accent);
    content: '';
}

.ahp-button {
    display: inline-flex;
    min-height: 48px;
    padding: 12px 20px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
    font-size: var(--ahp-font-ui);
    font-weight: var(--ahp-weight-medium);
    line-height: var(--ahp-line-body);
    text-align: center;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.ahp-button:hover {
    transform: translateY(-1px);
}

.ahp-button:focus-visible,
.ahp-text-link:focus-visible {
    outline: 3px solid rgba(233, 85, 31, 0.25);
    outline-offset: 3px;
}

.ahp-button--primary {
    color: var(--ahp-white) !important;
    background: var(--ahp-accent);
}

.ahp-button--primary:hover {
    background: var(--ahp-accent-dark);
}

.ahp-button--secondary {
    color: var(--ahp-text) !important;
    background: var(--ahp-white);
    box-shadow: 0 5px 18px rgba(31, 35, 38, 0.08);
}

.ahp-button--secondary:hover {
    color: var(--ahp-accent-dark) !important;
}

.ahp-button--light {
    color: var(--ahp-accent-dark);
    background: var(--ahp-white);
}

.ahp-hero__summary {
    display: flex;
    flex-direction: column;
    gap: var(--ahp-space-1);
    padding: var(--ahp-space-5);
    border-radius: 17px;
    background: var(--ahp-white);
    box-shadow: 0 12px 32px rgba(31, 35, 38, 0.08);
}

.ahp-hero__summary h2 {
    margin-bottom: 8px !important;
    font-size: 20px;
    font-weight: var(--ahp-weight-heading);
    line-height: 1.3;
}

.ahp-summary-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px var(--ahp-space-3);
    align-items: center;
    padding: 15px 16px;
    border-radius: 10px;
    background: var(--ahp-soft);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.ahp-summary-row:hover {
    background: var(--ahp-soft-accent);
    transform: translateY(-1px);
}

.ahp-summary-row strong {
    grid-column: 1;
    color: var(--ahp-text);
    font-size: var(--ahp-font-ui);
    font-weight: var(--ahp-weight-heading);
    line-height: var(--ahp-line-ui);
}

.ahp-summary-row span {
    grid-column: 1;
    color: #555a60;
    font-size: var(--ahp-font-small);
    line-height: var(--ahp-line-ui);
}

.ahp-summary-row b {
    grid-column: 2;
    grid-row: 1 / span 2;
    color: var(--ahp-accent-dark);
    font-size: var(--ahp-font-caption);
    font-weight: var(--ahp-weight-heading);
}

.ahp-summary-note {
    margin-top: var(--ahp-space-1);
    padding: var(--ahp-space-1) 4px 0;
    color: #777c81;
    font-size: var(--ahp-font-small);
    line-height: var(--ahp-line-ui);
}

.ahp-section {
    padding: var(--ahp-section-space) 0;
    scroll-margin-top: 100px;
}

.ahp-section--soft {
    background: var(--ahp-soft);
}

.ahp-section-heading {
    max-width: 790px;
    margin-bottom: var(--ahp-space-5);
}

.ahp-section-heading--wide {
    max-width: 920px;
}

.ahp-section-heading h2,
.ahp-legal h2,
.ahp-final-cta h2 {
    font-size: var(--ahp-font-h2);
    font-weight: var(--ahp-weight-heading);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.ahp-section-heading p {
    margin-top: var(--ahp-space-2);
    color: var(--ahp-muted);
    font-size: var(--ahp-font-body);
    font-weight: var(--ahp-weight-regular);
    line-height: var(--ahp-line-body);
}

.ahp-value-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ahp-space-4);
}

.ahp-value-item {
    min-height: 162px;
    padding: var(--ahp-card-padding);
    border-radius: 18px;
    background: var(--ahp-soft);
}

.ahp-value-item h3,
.ahp-promotion-copy h3,
.ahp-categories h3,
.ahp-share h3,
.ahp-ai-stat h3,
.ahp-growth h3 {
    font-size: var(--ahp-font-h3);
    font-weight: var(--ahp-weight-heading);
    line-height: 1.25;
}

.ahp-value-item p,
.ahp-promotion-copy p,
.ahp-categories p,
.ahp-share p,
.ahp-ai-stat p,
.ahp-growth p,
.ahp-two-paths p,
.ahp-legal p,
.ahp-final-cta p {
    color: var(--ahp-muted);
    font-size: var(--ahp-font-body);
    font-weight: var(--ahp-weight-regular);
    line-height: var(--ahp-line-body);
}

.ahp-value-item p {
    margin-top: 12px;
}

.ahp-note {
    max-width: 960px;
    margin-top: 24px !important;
    padding: var(--ahp-space-3) var(--ahp-space-4);
    border-radius: 12px;
    color: #656a70;
    background: var(--ahp-soft-accent);
    font-size: var(--ahp-font-ui);
    font-weight: var(--ahp-weight-regular);
    line-height: var(--ahp-line-ui);
}

.ahp-process {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: var(--ahp-space-5);
    align-items: center;
    margin-top: var(--ahp-space-5);
    padding: var(--ahp-space-5);
    border-radius: 16px;
    background: #242526;
}

.ahp-process>h3 {
    color: var(--ahp-white);
    font-size: 20px;
    font-weight: var(--ahp-weight-heading);
    line-height: 1.3;
}

.ahp-process__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--ahp-space-3);
}

.ahp-process__steps>div {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: var(--ahp-space-2);
    align-items: start;
}

.ahp-process__steps b {
    display: flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--ahp-white);
    background: var(--ahp-accent);
    font-size: var(--ahp-font-caption);
    font-weight: 700;
}

.ahp-process__steps span {
    color: #c9cbce;
    font-size: var(--ahp-font-small);
    font-weight: var(--ahp-weight-regular);
    line-height: var(--ahp-line-ui);
}

.ahp-process__steps strong {
    display: block;
    margin-bottom: 2px;
    color: var(--ahp-white);
    font-size: var(--ahp-font-ui);
    font-weight: var(--ahp-weight-heading);
}

.ahp-showcase {
    padding-top: 0;
}

.ahp-showcase__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ahp-showcase-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border-radius: 18px;
    background: var(--ahp-soft);
}

.ahp-showcase-card__image {
    display: flex;

    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #eceef0;
}

.ahp-showcase-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    transition: transform 0.3s ease;
}

.ahp-showcase-card__image:hover img {
    transform: scale(1.015);
}

.ahp-showcase-card__content {
    display: flex;
    padding: var(--ahp-space-5);
    flex: 1;
    flex-direction: column;
}

.ahp-showcase-card h3 {
    font-size: var(--ahp-font-h3);
    font-weight: var(--ahp-weight-heading);
    line-height: 1.25;
}

.ahp-showcase-card p {
    margin-top: var(--ahp-space-2);
    color: var(--ahp-muted);
    font-size: var(--ahp-font-body);
    font-weight: var(--ahp-weight-regular);
    line-height: var(--ahp-line-body);
}

.ahp-showcase-card__link {
    display: inline-flex;
    gap: var(--ahp-space-1);
    margin-top: var(--ahp-space-3);
    align-items: center;
    align-self: flex-start;
    color: var(--ahp-accent-dark) !important;
    font-size: var(--ahp-font-ui);
    font-weight: var(--ahp-weight-heading);
    line-height: var(--ahp-line-ui);
}

.ahp-showcase-card__link span {
    transition: transform 0.2s ease;
}

.ahp-showcase-card__link:hover span {
    transform: translateX(3px);
}

.ahp-promotion-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
    gap: 24px;
}

.ahp-promotion-copy,
.ahp-categories {
    padding: var(--ahp-card-padding);
    border-radius: 20px;
    background: var(--ahp-white);
    box-shadow: var(--ahp-shadow);
}

.ahp-list {
    display: grid;
    gap: var(--ahp-space-2);
    margin: var(--ahp-space-4) 0 var(--ahp-space-5) !important;
    padding: 0 0 0 20px;
    color: #4f545a;
    font-size: var(--ahp-font-body);
    font-weight: var(--ahp-weight-regular);
    line-height: var(--ahp-line-body);
}

.ahp-list li::marker {
    color: var(--ahp-accent);
}

.ahp-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ahp-space-1);
    margin: var(--ahp-space-4) 0;
}

.ahp-category-list a {
    padding: 10px 14px;
    border-radius: 8px;
    color: #4f545a;
    background: var(--ahp-soft);
    font-size: var(--ahp-font-ui);
    font-weight: var(--ahp-weight-medium);
    transition: color 0.2s ease, background-color 0.2s ease;
}

.ahp-category-list a:hover {
    color: var(--ahp-accent-dark);
    background: var(--ahp-soft-accent);
}

.ahp-category-list__catalog {
    color: var(--ahp-white) !important;
    background: #242526 !important;
}

.ahp-stats {
    background: var(--ahp-white);
}

.ahp-stats-top {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ahp-share,
.ahp-ai-stat,
.ahp-growth {
    border-radius: 20px;
    background: var(--ahp-soft);
}

.ahp-share {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: var(--ahp-space-5);
    align-items: center;
    padding: var(--ahp-card-padding);
}

.ahp-donut {
    position: relative;
    width: 180px;
    height: 180px;
}

.ahp-donut svg {
    display: block;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ahp-donut circle {
    fill: none;
    stroke-width: 13;
}

.ahp-donut__track {
    stroke: #e4e5e7;
}

.ahp-donut__value {
    stroke: var(--ahp-accent);
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 1.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.ahp-share.is-visible .ahp-donut__value {
    stroke-dashoffset: calc(100 - var(--ahp-progress));
}

.ahp-donut strong {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ahp-text);
    font-size: 32px;
    font-weight: 700;
}

.ahp-share__copy p {
    margin-top: 12px;
}

.ahp-stat-period {
    display: inline-block;
    margin-top: 8px;
    color: var(--ahp-accent-dark);
    font-size: var(--ahp-font-caption);
    font-weight: var(--ahp-weight-heading);
    line-height: var(--ahp-line-ui);
}

.ahp-ai-stat {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--ahp-space-5);
    align-items: start;
    padding: var(--ahp-card-padding);
}

.ahp-ai-stat__number {
    color: var(--ahp-accent-dark);
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
}

.ahp-ai-stat p {
    margin-top: 12px;
}

.ahp-progress {
    grid-column: 1 / -1;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e3e4e6;
}

.ahp-progress span {
    display: block;
    width: var(--ahp-width);
    height: 100%;
    border-radius: inherit;
    background: var(--ahp-accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.ahp-ai-stat.is-visible .ahp-progress span {
    transform: scaleX(1);
}

.ahp-growth {
    margin-top: var(--ahp-space-4);
    padding: var(--ahp-card-padding);
}

.ahp-growth__heading {
    display: flex;
    gap: var(--ahp-space-5);
    align-items: flex-start;
    justify-content: space-between;
}

.ahp-growth__heading p {
    margin-top: 8px;
}

.ahp-growth__heading>strong {
    flex: 0 0 auto;
    color: var(--ahp-accent-dark);
    font-size: clamp(22px, 2.4vw, 34px);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.ahp-chart-legend {
    display: flex;
    gap: var(--ahp-space-4);
    justify-content: flex-end;
    margin-top: 28px;
    color: var(--ahp-muted);
    font-size: var(--ahp-font-caption);
    line-height: var(--ahp-line-ui);
}

.ahp-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ahp-chart-legend span::before {
    width: 18px;
    height: 7px;
    border-radius: 999px;
    background: #c8cbd0;
    content: '';
}

.ahp-chart-legend__after::before {
    background: var(--ahp-accent) !important;
}

.ahp-growth-chart {
    display: grid;
    gap: var(--ahp-space-6);
    margin-top: var(--ahp-space-5);
}

.ahp-growth-row {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: var(--ahp-space-5);
    align-items: center;
}

.ahp-growth-row__label {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ahp-growth-row__label strong {
    font-size: var(--ahp-font-ui);
    font-weight: var(--ahp-weight-heading);
}

.ahp-growth-row__label span {
    color: var(--ahp-muted);
    font-size: var(--ahp-font-small);
    line-height: var(--ahp-line-ui);
}

.ahp-bars {
    display: grid;
    gap: 8px;
}

.ahp-bar-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 66px;
    gap: 12px;
    align-items: center;
    min-height: 13px;
}

.ahp-bar-line b {
    color: #555a60;
    font-size: var(--ahp-font-caption);
    font-weight: var(--ahp-weight-medium);
    text-align: right;
}

.ahp-bar {
    display: block;
    width: var(--ahp-width);
    min-width: 9px;
    height: 10px;
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.ahp-growth.is-visible .ahp-bar {
    transform: scaleX(1);
}

.ahp-bar--before {
    background: #c8cbd0;
}

.ahp-bar--after {
    background: var(--ahp-accent);
    transition-delay: 0.12s;
}

.ahp-chart-note {
    margin-top: var(--ahp-space-5) !important;
    font-size: var(--ahp-font-small) !important;
    font-weight: var(--ahp-weight-regular) !important;
    line-height: var(--ahp-line-ui) !important;
}

.ahp-two-paths {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ahp-two-paths article {
    padding: var(--ahp-card-padding);
    border-radius: 20px;
    background: var(--ahp-white);
}

.ahp-two-paths__free,
.ahp-two-paths__priority {
    display: flex;
    min-height: 280px;
    flex-direction: column;
}

.ahp-two-paths__free {
    box-shadow: 0 10px 30px rgba(31, 35, 38, 0.06);
}

.ahp-two-paths__priority {
    color: var(--ahp-white);
    background: #242526 !important;
}

.ahp-two-paths__priority h2 {
    color: var(--ahp-white);
}

.ahp-two-paths__priority p {
    color: #c9cbce;
}

.ahp-two-paths h2 {
    font-size: clamp(26px, 2.4vw, 34px);
    font-weight: var(--ahp-weight-heading);
    line-height: 1.2;
}

.ahp-two-paths p {
    margin-top: 14px;
}

.ahp-two-paths .ahp-button {
    align-self: flex-start;
    margin-top: auto;
}

.ahp-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 18px 0 24px;
}

.ahp-card-links a {
    color: var(--ahp-accent-dark);
    font-size: var(--ahp-font-ui);
    font-weight: var(--ahp-weight-heading);
}

.ahp-card-links a:hover {
    color: var(--ahp-text);
}

.ahp-priority-stat {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px;
    align-items: center;
    margin: 21px 0 24px;
    padding: 15px 16px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.08);
}

.ahp-priority-stat strong {
    color: #ff7846;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.ahp-priority-stat span {
    color: #d7d9dc;
    font-size: var(--ahp-font-small);
    line-height: var(--ahp-line-ui);
}

.ahp-text-link {
    display: inline-flex;
    margin-top: 24px;
    padding: 0;
    border: 0;
    color: var(--ahp-accent-dark) !important;
    background: transparent;
    cursor: pointer;
    font-size: var(--ahp-font-ui);
    font-weight: var(--ahp-weight-heading);
    line-height: var(--ahp-line-ui);
}

.ahp-text-link:hover {
    color: var(--ahp-text) !important;
}

.ahp-legal {
    padding-top: 0;
}

.ahp-legal__inner {
    margin-top: clamp(24px, 4vw, 48px);
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: var(--ahp-space-6);
    align-items: center;
    max-width: none;
    padding: var(--ahp-card-padding);
    border-radius: 18px;
    background: var(--ahp-soft-accent);
}

.ahp-legal h2 {
    font-size: clamp(26px, 2.4vw, 34px);
}

.ahp-legal p {
    margin-top: 14px;
}

.ahp-legal__list {
    display: grid;
    gap: 10px;
    padding: 0 !important;
    list-style: none;
}

.ahp-legal__list li {
    position: relative;
    padding: 12px 14px 12px 34px;
    border-radius: 9px;
    color: #555a60;
    background: rgba(255, 255, 255, 0.72);
    font-size: var(--ahp-font-ui);
    font-weight: var(--ahp-weight-medium);
    line-height: var(--ahp-line-ui);
}

.ahp-legal__list li::before {
    position: absolute;
    top: 16px;
    left: 15px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ahp-accent);
    content: '';
}

.ahp-faq {
    padding-top: 0;
}

.ahp-faq__layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(30px, 5vw, 68px);
    align-items: start;
}

.ahp-faq .ahp-section-heading {
    margin-bottom: 0;
}

.ahp-faq__list {
    border-top: 1px solid #dedfe1;
}

.ahp-faq-item {
    border-bottom: 1px solid #dedfe1;
}

.ahp-faq-item summary {
    position: relative;
    padding: 20px 42px 20px 0;
    cursor: pointer;
    font-size: var(--ahp-font-body);
    font-weight: var(--ahp-weight-heading);
    line-height: 1.35;
    list-style: none;
}

.ahp-faq-item summary::-webkit-details-marker {
    display: none;
}

.ahp-faq-item summary::before,
.ahp-faq-item summary::after {
    position: absolute;
    top: 50%;
    right: 5px;
    width: 15px;
    height: 1.5px;
    border-radius: 2px;
    background: var(--ahp-accent-dark);
    content: '';
    transition: transform 0.2s ease;
}

.ahp-faq-item summary::after {
    transform: rotate(90deg);
}

.ahp-faq-item[open] summary::after {
    transform: rotate(0deg);
}

.ahp-faq-item summary:focus-visible {
    outline: 3px solid rgba(233, 85, 31, 0.2);
    outline-offset: 3px;
}

.ahp-faq-item__answer {
    padding: 0 42px 20px 0;
}

.ahp-faq-item__answer p {
    max-width: 760px;
    color: var(--ahp-muted);
    font-size: var(--ahp-font-body);
    font-weight: var(--ahp-weight-regular);
    line-height: var(--ahp-line-body);
}

.ahp-form-section {
    padding-top: 0;
}

.ahp-form-layout {
    display: grid;
    grid-template-columns: minmax(310px, 0.7fr) minmax(0, 1.3fr);
    gap: 22px;
    align-items: stretch;
}

.ahp-form-intro {
    padding: var(--ahp-card-padding);
    border-radius: 18px;
    color: var(--ahp-white);
    background: #242526;
}

.ahp-form-intro h2 {
    color: var(--ahp-white);
    font-size: clamp(28px, 2.6vw, 36px);
    font-weight: var(--ahp-weight-heading);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.ahp-form-intro p {
    margin-top: var(--ahp-space-3);
    color: #c9cbce;
    font-size: var(--ahp-font-body);
    font-weight: var(--ahp-weight-regular);
    line-height: var(--ahp-line-body);
}

.ahp-form-intro ul {
    display: grid;
    gap: var(--ahp-space-2);
    margin-top: var(--ahp-space-4) !important;
    padding: 0 !important;
    list-style: none;
}

.ahp-form-intro li {
    position: relative;
    padding-left: 16px;
    color: #e3e4e6;
    font-size: var(--ahp-font-body);
    font-weight: var(--ahp-weight-regular);
    line-height: var(--ahp-line-body);
}

.ahp-form-intro li::before {
    position: absolute;
    top: 0.58em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ahp-accent);
    content: '';
}

.ahp-form-wrap {
    width: 100%;
    height: 100%;
    padding: var(--ahp-card-padding);
    border-radius: 18px;
    background: var(--ahp-soft);
}

.ahp-form-wrap .wpcf7,
.ahp-form-wrap .wpcf7-form {
    width: 100%;
    height: 100%;
}

.ahp-cf7-form {
    width: 100%;
}

.ahp-cf7-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ahp-space-3);
}

.ahp-cf7-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: var(--ahp-space-1);
    color: var(--ahp-text);
    font-size: var(--ahp-font-ui);
    font-weight: var(--ahp-weight-medium);
    line-height: 1.3;
}

.ahp-cf7-field--wide {
    grid-column: 1 / -1;
}

.ahp-cf7-field small {
    color: #85898e;
    font-size: var(--ahp-font-caption);
    font-weight: var(--ahp-weight-regular);
    line-height: var(--ahp-line-ui);
}

.ahp-form-wrap .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.ahp-form-wrap textarea {
    min-height: 82px !important;
    resize: vertical;
}

.ahp-form-wrap select[multiple] {
    min-height: 96px;
    padding: 8px 10px;
}

.ahp-form-wrap select[multiple] option {
    padding: 5px 7px;
}

.ahp-cf7-policy {
    margin-top: 16px;
    color: var(--ahp-muted);
    font-size: var(--ahp-font-caption);
    line-height: var(--ahp-line-ui);
}

.ahp-cf7-policy .wpcf7-list-item {
    margin: 0 !important;
}

.ahp-cf7-policy label {
    display: inline-flex;
    gap: 8px;
    align-items: flex-start;
}

.ahp-cf7-policy input[type='checkbox'] {
    width: 17px;
    height: 17px;
    margin: 1px 0 0;
    accent-color: var(--ahp-accent);
}

.ahp-cf7-policy a {
    color: var(--ahp-accent-dark);
}

.ahp-cf7-submit {
    width: 100%;
    min-height: 46px;
    margin-top: 16px;
    padding: 11px 20px;
    border: 0;
    border-radius: 9px;
    color: var(--ahp-white);
    background: var(--ahp-accent);
    cursor: pointer;
    font-size: var(--ahp-font-ui);
    font-weight: var(--ahp-weight-heading);
    transition: background-color 0.2s ease;
}

.ahp-cf7-submit:hover {
    background: var(--ahp-accent-dark);
}

.ahp-form-wrap .blockAddCompanyForm {
    width: 100%;
    margin: 0;
}

.ahp-form-wrap .inBlockAddCompnayForm {
    display: block;
    width: 100%;
    height: 100%;
    padding: var(--ahp-card-padding);
    border-radius: 18px;
    background: var(--ahp-soft);
}

.ahp-form-wrap .leftPartAddCompanyForm {
    display: none !important;
}

.ahp-form-wrap .rightPartAddCompnay {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}

.ahp-form-wrap .itemInputsForm {
    display: flex;
    flex-direction: column;
    gap: 9px;
    width: 100%;
}

.ahp-form-wrap .itemInputsForm:nth-child(3),
.ahp-form-wrap .blockCheckBoxAddCompnay,
.ahp-form-wrap .cf7ResponseHere,
.ahp-form-wrap .btnAddCompany,
.ahp-form-wrap .wpcf7-spinner {
    grid-column: 1 / -1;
}

.ahp-form-wrap .titleInput {
    color: var(--ahp-text);
    font-size: var(--ahp-font-ui);
    font-weight: var(--ahp-weight-medium);
    line-height: 1.3;
}

.ahp-form-wrap input[type='text'],
.ahp-form-wrap input[type='email'],
.ahp-form-wrap input[type='tel'],
.ahp-form-wrap input[type='url'],
.ahp-form-wrap textarea,
.ahp-form-wrap select {
    width: 100%;
    min-height: 44px;
    padding: 10px 13px;
    border: 0;
    border-radius: 9px;
    outline: 0;
    color: var(--ahp-text);
    background: var(--ahp-white);
    box-shadow: 0 0 0 1px transparent;
    font-size: var(--ahp-font-ui);
    line-height: var(--ahp-line-body);
    transition: box-shadow 0.2s ease;
}

.ahp-form-wrap input:focus,
.ahp-form-wrap textarea:focus,
.ahp-form-wrap select:focus {
    box-shadow: 0 0 0 2px rgba(233, 85, 31, 0.26);
}

.ahp-form-wrap .blockItemSelectMessanger {
    display: flex;
    gap: 6px;
    margin-bottom: 7px;
    padding: 4px;
    border-radius: 9px;
    background: #e9eaec;
}

.ahp-form-wrap .itemSelectMessenger {
    flex: 1 1 0;
    padding: 8px 12px;
    border-radius: 7px;
    color: #5c6167;
    background: transparent;
    cursor: pointer;
    font-size: var(--ahp-font-ui);
    font-weight: var(--ahp-weight-medium);
    text-align: center;
}

.ahp-form-wrap .itemSelectMessenger.active {
    color: var(--ahp-white);
    background: var(--ahp-accent);
}

.ahp-form-wrap .blockCheckBoxAddCompnay {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.ahp-form-wrap .blockCheckBoxAddCompnay input[type='checkbox'] {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--ahp-accent);
}

.ahp-form-wrap .blockCheckBoxAddCompnay label,
.ahp-form-wrap .blockCheckBoxAddCompnay label span {
    color: var(--ahp-muted);
    font-size: var(--ahp-font-small);
    line-height: var(--ahp-line-ui);
}

.ahp-form-wrap .blockCheckBoxAddCompnay a {
    color: var(--ahp-accent-dark);
}

.ahp-form-wrap .btnAddCompany {
    width: 100%;
    min-height: 46px;
    padding: 11px 20px;
    border: 0;
    border-radius: 9px;
    color: var(--ahp-white);
    background: var(--ahp-accent);
    cursor: pointer;
    font-size: var(--ahp-font-ui);
    font-weight: var(--ahp-weight-heading);
    transition: background-color 0.2s ease;
}

.ahp-form-wrap .btnAddCompany:hover {
    background: var(--ahp-accent-dark);
}

.ahp-form-wrap .wpcf7-not-valid-tip {
    margin-top: 6px;
    color: #b6331d;
    font-size: var(--ahp-font-caption);
    line-height: var(--ahp-line-ui);
}

.ahp-form-wrap .wpcf7-response-output {
    margin: 12px 0 0 !important;
    padding: 12px 14px !important;
    border: 0 !important;
    border-radius: 8px;
    background: var(--ahp-white);
    font-size: var(--ahp-font-small);
    line-height: var(--ahp-line-ui);
}

.ahp-final-cta {
    padding: 0 0 var(--ahp-section-space);
}

.ahp-final-cta__inner {
    display: flex;
    gap: var(--ahp-space-6);
    align-items: center;
    justify-content: space-between;
    padding: var(--ahp-card-padding);
    border-radius: 18px;
    color: var(--ahp-white);
    background: #242526;
}

.ahp-final-cta h2 {
    max-width: 740px;
    color: var(--ahp-white);
    font-size: var(--ahp-font-h2);
}

.ahp-final-cta p {
    max-width: 750px;
    margin-top: 12px;
    color: #c9cbce;
}

/* Совместимость с существующим попапом обратной связи в теме. */
.popUpArea {
    position: fixed;
    top: -2000px;
    left: 0;
    z-index: 999;
    display: flex;
    width: 100%;
    height: 100vh;
    align-items: center;
    justify-content: center;
    overflow: auto;
    opacity: 0;
    transition: opacity 0.24s ease, top 0s linear 0.24s;
}

.popUpArea.show {
    top: 0;
    opacity: 1;
    transition-delay: 0s;
}

.inPopUpArea {
    display: flex;
    width: 100%;
    padding: 24px 16px;
    align-items: center;
    justify-content: center;
}

.backgroundPopUp {
    position: fixed;
    inset: 0;
    z-index: 8;
    display: none;
    background: rgba(43, 43, 43, 0.5);
    backdrop-filter: blur(3px);
}

.areaPopUp {
    display: flex;
    width: min(600px, 100%);
    padding: var(--ahp-space-5);
    flex-direction: column;
    align-items: flex-start;
    border-radius: 16px;
    background: var(--ahp-white);
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.16);
}

.titlePopUp {
    display: flex;
    width: 100%;
    gap: 12px;
    margin-bottom: 18px;
    align-items: flex-start;
    justify-content: space-between;
}

.boxTitle,
.formPopup,
.itemInput {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.boxTitle {
    gap: 4px;
}

.formPopup {
    gap: 16px;
}

.itemInput {
    gap: 10px;
}

.namePopUp {
    color: var(--ahp-text);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 24px;
    font-weight: var(--ahp-weight-heading);
    line-height: 1.25;
}

.descPopup,
.labelInput {
    color: var(--ahp-text);
    font-family: Montserrat, Arial, sans-serif;
    font-size: var(--ahp-font-ui);
    line-height: var(--ahp-line-ui);
}

.closePopup {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.closePopup svg path {
    fill: var(--ahp-text);
}

.itemInput input {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 0;
    border-radius: 9px;
    outline: 0;
    color: var(--ahp-text);
    background: var(--ahp-soft);
    font-family: Montserrat, Arial, sans-serif;
    font-size: var(--ahp-font-ui);
    line-height: var(--ahp-line-body);
}

.itemSelectMessanger {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 4px;
    border-radius: 9px;
    background: var(--ahp-soft);
}

.itemMessenger {
    padding: 9px 12px;
    border-radius: 7px;
    color: var(--ahp-text);
    cursor: pointer;
    font-family: Montserrat, Arial, sans-serif;
    font-size: var(--ahp-font-ui);
    font-weight: var(--ahp-weight-medium);
    text-align: center;
}

.itemMessenger.active,
.btnSend {
    color: var(--ahp-white);
    background: var(--ahp-accent);
}

.btnSend {
    display: flex;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    cursor: pointer;
    font-family: Montserrat, Arial, sans-serif;
    font-size: var(--ahp-font-ui);
    font-weight: var(--ahp-weight-medium);
}

.colorRed {
    color: var(--ahp-accent-dark);
}

@media (max-width: 1080px) {
    .ahp-hero {
        grid-template-columns: 1fr;
        gap: var(--ahp-space-6);
    }

    .ahp-hero__summary {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--ahp-space-1);
    }

    .ahp-hero__summary h2,
    .ahp-summary-note {
        grid-column: 1 / -1;
    }

    .ahp-form-layout {
        grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    }

    .ahp-process {
        grid-template-columns: 1fr;
    }

    .ahp-legal__inner {
        grid-template-columns: 1fr;
        gap: var(--ahp-space-5);
    }

    .ahp-promotion-grid,
    .ahp-stats-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .ahp-page {
        padding-top: 18px;
    }

    .ahp-breadcrumbs {
        margin-bottom: var(--ahp-space-3);
    }

    .ahp-hero {
        padding: var(--ahp-space-6) var(--ahp-space-4);
        border-radius: 20px;
    }

    .ahp-hero h1 {
        font-size: clamp(32px, 9vw, 43px);
    }

    .ahp-hero__summary {
        grid-template-columns: 1fr;
        gap: var(--ahp-space-1);
        padding: var(--ahp-space-4);
    }

    .ahp-summary-row {
        grid-template-columns: 1fr auto;
        gap: 4px var(--ahp-space-2);
    }

    .ahp-value-grid,
    .ahp-two-paths,
    .ahp-showcase__grid,
    .ahp-faq__layout {
        grid-template-columns: 1fr;
    }

    .ahp-faq__layout {
        gap: var(--ahp-space-5);
    }

    .ahp-process__steps {
        grid-template-columns: 1fr;
    }

    .ahp-share {
        grid-template-columns: 138px 1fr;
        gap: 20px;
    }

    .ahp-donut {
        width: 138px;
        height: 138px;
    }

    .ahp-donut strong {
        font-size: 25px;
    }

    .ahp-ai-stat {
        grid-template-columns: 1fr;
    }

    .ahp-progress {
        grid-column: auto;
    }

    .ahp-growth__heading {
        flex-direction: column;
        gap: var(--ahp-space-3);
    }

    .ahp-chart-legend {
        justify-content: flex-start;
    }

    .ahp-growth-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ahp-growth-row__label {
        flex-direction: row;
        align-items: baseline;
        justify-content: space-between;
    }

    .ahp-form-wrap .rightPartAddCompnay {
        grid-template-columns: 1fr;
    }

    .ahp-form-layout {
        grid-template-columns: 1fr;
    }

    .ahp-cf7-grid {
        grid-template-columns: 1fr;
    }

    .ahp-cf7-field--wide {
        grid-column: auto;
    }

    .ahp-form-wrap .itemInputsForm:nth-child(3),
    .ahp-form-wrap .blockCheckBoxAddCompnay,
    .ahp-form-wrap .cf7ResponseHere,
    .ahp-form-wrap .btnAddCompany,
    .ahp-form-wrap .wpcf7-spinner {
        grid-column: auto;
    }

    .ahp-final-cta__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .ahp-container {
        width: min(100% - 24px, 1240px);
    }

    .ahp-actions,
    .ahp-actions .ahp-button,
    .ahp-final-cta .ahp-button,
    .ahp-two-paths .ahp-button {
        width: 100%;
    }

    .ahp-hero-points {
        display: grid;
        gap: 6px;
    }

    .ahp-showcase-card__image {
        aspect-ratio: 16 / 10;
    }

    .ahp-showcase-card__content {
        padding: var(--ahp-space-4);
    }

    .ahp-faq-item summary {
        padding: 18px 34px 18px 0;
        font-size: var(--ahp-font-body);
    }

    .ahp-faq-item__answer {
        padding: 0 34px 18px 0;
    }

    .ahp-share {
        grid-template-columns: 1fr;
    }

    .ahp-donut {
        margin: 0 auto;
    }

    .ahp-bar-line {
        grid-template-columns: minmax(0, 1fr) 55px;
        gap: 8px;
    }

    .ahp-chart-legend {
        flex-direction: column;
        gap: 8px;
    }

    .ahp-form-wrap .inBlockAddCompnayForm,
    .areaPopUp {
        padding: 22px 16px;
    }

    .ahp-priority-stat {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .ahp-page *,
    .ahp-page *::before,
    .ahp-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Блок сравнения AutoHub и Яндекс.Директа для страницы партнёров. */
.ahp-channel-section {
    background: var(--ahp-white);
}

.ahp-channel-comparison {
    display: grid;
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
    gap: 20px;
    align-items: stretch;
}

.ahp-channel-intro,
.ahp-channel-table {
    overflow: hidden;
    border-radius: 20px;
}

.ahp-channel-intro {
    display: flex;
    padding: var(--ahp-card-padding);
    flex-direction: column;
    color: var(--ahp-white);
    background: #242526;
}

.ahp-channel-intro h2 {
    color: var(--ahp-white);
    font-size: clamp(28px, 2.6vw, 36px);
    font-weight: var(--ahp-weight-heading);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.ahp-channel-intro>p {
    margin-top: var(--ahp-space-3) !important;
    color: #c9cbce;
    font-size: var(--ahp-font-body);
    font-weight: var(--ahp-weight-regular);
    line-height: var(--ahp-line-body);
}

.ahp-channel-intro .ahp-button {
    align-self: flex-start;
    margin-top: var(--ahp-space-5);
}

.ahp-payback {
    display: grid;
    gap: var(--ahp-space-2);
    margin-top: var(--ahp-space-5);
    padding-top: var(--ahp-space-5);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.ahp-payback strong {
    max-width: 470px;
    color: var(--ahp-white);
    font-size: var(--ahp-font-h3);
    font-weight: var(--ahp-weight-heading);
    line-height: 1.25;
}

.ahp-payback span {
    color: #aeb1b5;
    font-size: var(--ahp-font-small);
    font-weight: var(--ahp-weight-regular);
    line-height: var(--ahp-line-ui);
}

.ahp-channel-table {
    display: grid;
    align-content: stretch;
    background: var(--ahp-soft);
}

.ahp-channel-row {
    display: grid;
    grid-template-columns: minmax(115px, 0.62fr) minmax(150px, 1fr) minmax(165px, 1.08fr);
    min-height: 84px;
    border-bottom: 1px solid #e2e3e5;
}

.ahp-channel-row:last-child {
    border-bottom: 0;
}

.ahp-channel-row>* {
    display: flex;
    padding: var(--ahp-space-4);
    align-items: center;
    color: #60656b;
    font-size: var(--ahp-font-ui);
    font-weight: var(--ahp-weight-regular);
    line-height: var(--ahp-line-ui);
}

.ahp-channel-row>strong {
    color: var(--ahp-text);
    font-weight: var(--ahp-weight-medium);
}

.ahp-channel-row> :last-child {
    color: var(--ahp-text);
    background: var(--ahp-soft-accent);
    font-weight: var(--ahp-weight-regular);
}

.ahp-channel-row--head {
    min-height: 58px;
    color: var(--ahp-white);
    background: #242526;
}

.ahp-channel-row--head>* {
    color: var(--ahp-white) !important;
    background: transparent !important;
    font-size: var(--ahp-font-caption);
    font-weight: var(--ahp-weight-heading);
}

/* Основной текст: единый размер и ритм во всех содержательных блоках. */
.ahp-page .ahp-lead,
.ahp-page .ahp-section-heading p,
.ahp-page .ahp-value-item p,
.ahp-page .ahp-showcase-card p,
.ahp-page .ahp-promotion-copy p,
.ahp-page .ahp-categories p,
.ahp-page .ahp-share p,
.ahp-page .ahp-ai-stat p,
.ahp-page .ahp-growth p:not(.ahp-chart-note),
.ahp-page .ahp-two-paths p,
.ahp-page .ahp-legal p,
.ahp-page .ahp-faq-item__answer p,
.ahp-page .ahp-form-intro p,
.ahp-page .ahp-final-cta p,
.ahp-page .ahp-list,
.ahp-page .ahp-form-intro li {
    font-size: var(--ahp-font-body);
    font-weight: var(--ahp-weight-regular);
    line-height: var(--ahp-line-body);
}

.ahp-development__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
    gap: clamp(32px, 4vw, 48px);
    align-items: center;
    padding: var(--ahp-card-padding);
    border-radius: 20px;
    background: var(--ahp-soft);
}

.ahp-development__copy h2 {
    max-width: 700px;
    font-size: var(--ahp-font-h2);
    font-weight: var(--ahp-weight-heading);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.ahp-development__copy>p {
    margin-top: 16px !important;
    color: var(--ahp-muted);
    font-size: var(--ahp-font-body);
    font-weight: var(--ahp-weight-regular);
    line-height: var(--ahp-line-body);
}

.ahp-development__list {
    display: grid;
    gap: var(--ahp-space-2);
    margin-top: 24px !important;
    padding-left: 19px !important;
    color: #4f545a;
    font-size: var(--ahp-font-body);
    font-weight: var(--ahp-weight-regular);
    line-height: var(--ahp-line-body);
}

.ahp-development__list li::marker {
    color: var(--ahp-accent);
}

.ahp-development__data {
    min-width: 0;
}

.ahp-development__period {
    display: block;
    margin-bottom: var(--ahp-space-2);
    color: #85898e;
    font-size: var(--ahp-font-caption);
    font-weight: var(--ahp-weight-medium);
    line-height: var(--ahp-line-ui);
}

.ahp-development__numbers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ahp-development__numbers>div {
    display: flex;
    min-height: 122px;
    padding: 20px;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 13px;
    background: var(--ahp-white);
}

.ahp-development__numbers strong {
    color: var(--ahp-accent-dark);
    font-size: clamp(25px, 2.8vw, 34px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.035em;
}

.ahp-development__numbers span {
    color: #5e6368;
    font-size: var(--ahp-font-ui);
    font-weight: var(--ahp-weight-regular);
    line-height: var(--ahp-line-ui);
}

.ahp-development__note {
    margin-top: var(--ahp-space-3) !important;
    color: #777c81;
    font-size: var(--ahp-font-small);
    font-weight: var(--ahp-weight-regular);
    line-height: var(--ahp-line-ui);
}

@media (max-width: 1080px) {

    .ahp-channel-comparison,
    .ahp-development__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .ahp-channel-row {
        grid-template-columns: minmax(105px, 0.72fr) minmax(145px, 1fr) minmax(160px, 1.08fr);
    }
}

@media (max-width: 520px) {
    .ahp-channel-table {
        gap: 12px;
        overflow: visible;
        background: transparent;
    }

    .ahp-channel-row,
    .ahp-channel-row--head {
        display: grid;
        grid-template-columns: 1fr;
        min-height: 0;
        overflow: hidden;
        border: 0;
        border-radius: 13px;
        background: var(--ahp-soft);
    }

    .ahp-channel-row--head {
        display: none;
    }

    .ahp-channel-row>* {
        padding: var(--ahp-space-2) var(--ahp-space-3);
    }

    .ahp-channel-row>strong {
        padding-bottom: 5px;
        font-size: var(--ahp-font-ui);
    }

    .ahp-channel-row>span:nth-child(2)::before,
    .ahp-channel-row>span:last-child::before {
        display: block;
        flex: 0 0 105px;
        color: #85898e;
        font-size: var(--ahp-font-caption);
        font-weight: var(--ahp-weight-heading);
        line-height: var(--ahp-line-ui);
        text-transform: uppercase;
    }

    .ahp-channel-row>span:nth-child(2)::before {
        content: 'Яндекс.Директ';
    }

    .ahp-channel-row>span:last-child::before {
        color: var(--ahp-accent-dark);
        content: 'AutoHub';
    }

    .ahp-channel-row>span {
        gap: var(--ahp-space-2);
        align-items: flex-start;
    }

    .ahp-channel-intro .ahp-button {
        width: 100%;
    }
}

.ahp-ad-case {
    display: grid;
    grid-template-columns: minmax(190px, 0.35fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 40px);
    align-items: center;
    margin-top: var(--ahp-space-4);
    padding: var(--ahp-card-padding);
    border-radius: 20px;
    color: var(--ahp-white);
    background: #242526;
}

.ahp-ad-case__metric strong {
    display: block;
    color: #ff7846;
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.ahp-ad-case__metric span {
    display: block;
    margin-top: var(--ahp-space-2);
    color: #d7d9dc;
    font-size: var(--ahp-font-ui);
    font-weight: var(--ahp-weight-regular);
    line-height: var(--ahp-line-ui);
}

.ahp-ad-case__copy h3 {
    color: var(--ahp-white);
    font-size: clamp(22px, 2vw, 28px);
    font-weight: var(--ahp-weight-heading);
    line-height: 1.25;
}

.ahp-ad-case__copy p {
    margin-top: var(--ahp-space-2) !important;
    color: #d7d9dc;
    font-size: var(--ahp-font-body);
    font-weight: var(--ahp-weight-regular);
    line-height: var(--ahp-line-body);
}

.ahp-ad-case__note {
    display: block;
    margin-top: var(--ahp-space-3);
    color: #9fa3a7;
    font-size: var(--ahp-font-small);
    font-weight: var(--ahp-weight-regular);
    line-height: var(--ahp-line-ui);
}

@media (max-width: 760px) {
    .ahp-ad-case {
        grid-template-columns: 1fr;
        gap: var(--ahp-space-5);
    }
}