/* =========================
   ABOUT PAGE
========================= */
.about-page {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
    background: #fbfcfb;
    color: #111111;
    font-family: var(--font-main);
    font-size: var(--fs-body);
    /* Restrained brand accents used only on key elements */
    --about-brand-divider:
        linear-gradient(
            to right,
            var(--color-primary) 0 18px,
            transparent 18px 23px,
            var(--color-secondary) 23px 41px,
            transparent 41px 46px,
            var(--color-third) 46px 64px,
            transparent 64px 69px,
            var(--color-raspberry) 69px 87px
        );
    --about-brand-divider-reversed:
        linear-gradient(
            to left,
            var(--color-primary) 0 18px,
            transparent 18px 23px,
            var(--color-secondary) 23px 41px,
            transparent 41px 46px,
            var(--color-third) 46px 64px,
            transparent 64px 69px,
            var(--color-raspberry) 69px 87px
        );
}
.about-page *,
.about-page *::before,
.about-page *::after {
    box-sizing: border-box;
}
.about-page a {
    text-decoration: none;
}
.about-container {
    width: min(1220px, calc(100% - 40px));
    margin-inline: auto;
}
/* =========================
   COMMON ELEMENTS
========================= */
.about-kicker {
    margin: 0 0 12px;
    color: #018d71;
    font-family: var(--font-accent);
    font-size: var(--fs-small);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.about-section {
    padding: 78px 0;
}
.about-section-soft {
    background: #ffffff;
    border-top: 1px solid rgba(17, 17, 17, 0.055);
    border-bottom: 1px solid rgba(17, 17, 17, 0.055);
}
.about-section-head {
    width: min(700px, 100%);
    margin: 0 auto 44px;
    text-align: center;
}
.about-section-head h2 {
    margin: 0;
    color: #111111;
    font-family: var(--font-main);
    font-size: var(--fs-title);
    line-height: 1.06;
    font-weight: 720;
    letter-spacing: -0.045em;
}
.about-section-head h2::after {
    content: "";
    display: block;
    width: 68px;
    height: 2px;
    margin: 18px auto 0;
    border-radius: 3px;
    background:
        linear-gradient(
            to right,
            var(--color-primary) 0 14px,
            transparent 14px 18px,
            var(--color-secondary) 18px 32px,
            transparent 32px 36px,
            var(--color-third) 36px 50px,
            transparent 50px 54px,
            var(--color-raspberry) 54px 68px
        );
}
.about-section-head p:not(.about-kicker) {
    margin: 16px auto 0;
    color: rgba(17, 17, 17, 0.58);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.82;
    font-weight: 430;
}
.about-btn {
    min-height: 42px;
    padding: 0 19px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 780;
    white-space: nowrap;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}
.about-btn:hover {
    transform: translateY(-1px);
}
.about-btn-primary {
    background: #b8325f;
    color: #ffffff;
    border-color: #b8325f;
}
.about-btn-primary:hover {
    background: #9f294f;
    border-color: #9f294f;
    color: #ffffff;
}
.about-btn-secondary {
    background: #ffffff;
    color: #111111;
    border-color: rgba(17, 17, 17, 0.14);
}
.about-btn-secondary:hover {
    background: rgba(238, 218, 6, 0.16);
    border-color: rgba(238, 218, 6, 0.8);
    color: #111111;
}
/* =========================
   HERO
========================= */
.about-hero {
    padding: 84px 0 68px;
}
.about-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    align-items: stretch;
}
.about-hero-content {
    position: relative;
    overflow: hidden;
    padding: clamp(36px, 5vw, 68px);
    border: 1px solid rgba(17, 17, 17, 0.075);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 14px 38px rgba(17, 17, 17, 0.035);
}
.about-hero-content::before {
    content: "";
    position: absolute;
    left: 0;
    top: 38px;
    width: 4px;
    height: 84px;
    background:
        linear-gradient(
            to bottom,
            var(--color-primary) 0 18px,
            transparent 18px 22px,
            var(--color-secondary) 22px 40px,
            transparent 40px 44px,
            var(--color-third) 44px 62px,
            transparent 62px 66px,
            var(--color-raspberry) 66px 84px
        );
}
.about-hero h1 {
    max-width: 820px;
    margin: 0;
    color: #111111;
    font-family: var(--font-main);
    font-size: var(--fs-title);
    line-height: 0.97;
    font-weight: 720;
    letter-spacing: -0.065em;
}
.about-hero h1 span {
    display: block;
    color: #018d71;
}
.about-hero-text {
    max-width: 690px;
    margin: 28px 0 0;
    color: rgba(17, 17, 17, 0.60);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.86;
    font-weight: 420;
}
.about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}
.about-hero-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 360px;
    padding: 28px;
    border: 1px solid rgba(1, 141, 113, 0.18);
    border-radius: 10px;
    background: #018d71;
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(1, 141, 113, 0.105);
}
.about-hero-card img {
    width: 90%;
    height: auto;
    margin: auto;
    display: block;
    border-radius: 10px 10px 0 0;
}
.about-hero-card-number {
    color: #ffffff;
    font-family: var(--font-main);
    font-size: var(--fs-title);
    line-height: 0.9;
    font-weight: 720;
    letter-spacing: -0.065em;
}
.about-hero-card p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.68;
    font-weight: 460;
}
/* =========================
   AGENCIES
========================= */
.about-agencies-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr) minmax(210px, 0.62fr);
    gap: 18px;
    align-items: stretch;
}
.about-agency-card,
.about-agency-story,
.about-agency-selector {
    border: 1px solid rgba(17, 17, 17, 0.075);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(17, 17, 17, 0.03);
}
.about-agency-card {
    overflow: hidden;
    transition:
        opacity 0.18s ease,
        transform 0.28s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}
.about-agency-card-active {
    min-width: 0;
}
.about-agency-card:hover {
    transform: translateX(-4px);
    border-color: rgba(1, 141, 113, 0.18);
    box-shadow: 0 16px 34px rgba(17, 17, 17, 0.055);
}
.about-agency-card.is-changing,
.about-agency-story.is-changing {
    opacity: 0;
    transform: translateX(-10px);
}
.about-agency-image {
    position: relative;
    aspect-ratio: 4 / 3.15;
    overflow: hidden;
    background: #eef7f4;
}
.about-agency-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, 0.045);
    pointer-events: none;
}
.about-agency-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition:
        opacity 0.15s ease,
        transform 0.45s ease;
}
.about-agency-image img.is-changing {
    opacity: 0;
    transform: scale(1.018);
}
.about-agency-carousel-control {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(17, 17, 17, 0.52);
    color: #ffffff;
    font: inherit;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.18s ease, transform 0.18s ease;
}
.about-agency-carousel-control:hover,
.about-agency-carousel-control:focus-visible {
    background: rgba(17, 17, 17, 0.76);
    transform: translateY(-50%) scale(1.05);
}
.about-agency-carousel-control-prev { left: 14px; }
.about-agency-carousel-control-next { right: 14px; }
.about-agency-carousel-dots {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 14px;
    display: flex;
    gap: 7px;
    transform: translateX(-50%);
}
.about-agency-carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.58);
    cursor: pointer;
    transition: width 0.18s ease, background 0.18s ease;
}
.about-agency-carousel-dot[aria-current="true"] {
    width: 24px;
    border-radius: 999px;
    background: #ffffff;
}
.about-agency-card:hover .about-agency-image img {
    transform: scale(1.025);
}
.about-agency-content {
    padding: 22px;
}
.about-agency-tag {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 8px;
    background: rgba(1, 141, 113, 0.075);
    color: #018d71;
    font-family: var(--font-accent);
    font-size: var(--fs-small);
    font-weight: 700;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}
.about-agency-content h3 {
    margin: 14px 0 8px;
    color: #111111;
    font-family: var(--font-accent);
    font-size: var(--fs-subtitle);
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.025em;
}
.about-agency-content p {
    margin: 0;
    color: rgba(17, 17, 17, 0.56);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.62;
    font-weight: 420;
}
.about-agency-story {
    min-width: 0;
    padding: clamp(24px, 3vw, 38px);
    transition:
        opacity 0.18s ease,
        transform 0.28s ease;
}
.about-agency-story-eyebrow {
    margin: 0 0 10px;
    color: #b8325f;
    font-family: var(--font-accent);
    font-size: var(--fs-small);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.about-agency-story > h3 {
    position: relative;
    margin: 0;
    color: #111111;
    font-family: var(--font-main);
    font-size: var(--fs-subtitle);
    line-height: 1.2;
    font-weight: 720;
    letter-spacing: -0.035em;
}
.about-agency-story-intro {
    margin: 16px 0 26px;
    color: rgba(17, 17, 17, 0.61);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.78;
}
.about-agency-story-block {
    padding-top: 20px;
    border-top: 1px solid rgba(17, 17, 17, 0.075);
}
.about-agency-story-block + .about-agency-story-block {
    margin-top: 22px;
}
.about-agency-story-block h4 {
    margin: 0 0 9px;
    color: #018d71;
    font-family: var(--font-accent);
    font-size: var(--fs-small);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.about-agency-story-block p {
    margin: 0;
    color: rgba(17, 17, 17, 0.58);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.72;
}
.about-agency-dates {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.about-agency-dates li {
    display: grid;
    grid-template-columns: minmax(76px, auto) 1fr;
    gap: 12px;
    align-items: start;
}
.about-agency-dates strong {
    color: #111111;
    font-family: var(--font-accent);
    font-size: var(--fs-small);
}
.about-agency-dates span {
    color: rgba(17, 17, 17, 0.58);
    font-family: var(--font-main);
    font-size: var(--fs-small);
    line-height: 1.55;
}
.about-agency-selectors {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.about-agency-selector {
    width: 100%;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    appearance: none;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition:
        transform 0.22s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}
.about-agency-selector:hover,
.about-agency-selector:focus-visible {
    transform: translateX(-5px);
    border-color: rgba(1, 141, 113, 0.24);
    box-shadow: 0 16px 32px rgba(17, 17, 17, 0.06);
    outline: none;
}
.about-agency-selector img {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
}
.about-agency-selector > span {
    display: block;
    padding: 16px;
}
.about-agency-selector small,
.about-agency-selector strong {
    display: block;
}
.about-agency-selector small {
    margin-bottom: 6px;
    color: #018d71;
    font-family: var(--font-accent);
    font-size: var(--fs-small);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.about-agency-selector strong {
    color: #111111;
    font-family: var(--font-accent);
    font-size: var(--fs-body);
    line-height: 1.25;
    font-weight: 600;
}
/* =========================
   TEXT CARD
========================= */
.about-text-card {
    padding: clamp(30px, 4vw, 50px);
    border: 1px solid rgba(17, 17, 17, 0.075);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(17, 17, 17, 0.03);
}
.about-text-card-intro {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 36px;
    align-items: start;
    margin-bottom: 36px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.07);
}
.about-text-card-intro h2 {
    position: relative;
    margin: 0;
    color: #111111;
    font-family: var(--font-main);
    font-size: var(--fs-title);
    line-height: 1.08;
    font-weight: 720;
    letter-spacing: -0.045em;
}
.about-text-columns {
    columns: 2;
    column-gap: 48px;
}
.about-text-columns p {
    break-inside: avoid;
    margin: 0 0 18px;
    color: rgba(17, 17, 17, 0.61);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.88;
    font-weight: 420;
}
/* =========================
   HISTORY
========================= */

.about-history-panel {
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, 0.075);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(17, 17, 17, 0.035);
}


/* =========================
   HISTORY — TIMELINE IMAGE
========================= */

.about-history-image {
    position: relative;
    padding:
        clamp(28px, 4vw, 48px)
        clamp(24px, 4vw, 48px)
        clamp(22px, 3vw, 34px);
    background:
        linear-gradient(
            to bottom,
            rgba(1, 141, 113, 0.018),
            transparent 75%
        );
}

.about-history-image::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 0;
    width: 4px;
    height: 64px;
    border-radius: 0 3px 3px 0;
    background: var(--color-secondary);
    pointer-events: none;
}

.about-timeline-full {
    width: 100%;
    height: auto;
    display: block;
}


/* =========================
   HISTORY — DATE DETAILS
========================= */

.about-history-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(17, 17, 17, 0.075);
}

.about-history-detail {
    position: relative;
    min-width: 0;
    min-height: 270px;
    padding: clamp(26px, 3vw, 38px);
    border-right: 1px solid rgba(17, 17, 17, 0.075);
    border-bottom: 1px solid rgba(17, 17, 17, 0.075);
    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.about-history-detail:nth-child(3n) {
    border-right: 0;
}

.about-history-detail:nth-last-child(-n + 3) {
    border-bottom: 0;
}

.about-history-detail:hover {
    background: rgba(1, 141, 113, 0.025);
}

.about-history-detail-year {
    display: block;
    width: fit-content;
    margin-bottom: 20px;
    color: #018d71;
    font-family: var(--font-accent);
    font-size: var(--fs-subtitle);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.035em;
}

.about-history-detail-year::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    margin-top: 11px;
    border-radius: 999px;
    background: #018d71;
    opacity: 0.48;
}

.about-history-detail h3 {
    margin: 0 0 13px;
    color: #111111;
    font-family: var(--font-accent);
    font-size: var(--fs-body);
    line-height: 1.35;
    font-weight: 650;
}

.about-history-detail p {
    margin: 0 0 10px;
    color: rgba(17, 17, 17, 0.58);
    font-family: var(--font-main);
    font-size: var(--fs-small);
    line-height: 1.72;
    font-weight: 420;
}

.about-history-detail p:last-child {
    margin-bottom: 0;
}

.about-history-detail-current {
    background:
        linear-gradient(
            145deg,
            rgba(238, 218, 6, 0.055),
            rgba(1, 141, 113, 0.02)
        );
}

.about-history-detail-current .about-history-detail-year {
    color: #b8325f;
}

.about-history-detail-current .about-history-detail-year::after {
    background: #b8325f;
}


/* =========================
   HISTORY — EVOLUTION
========================= */

.about-history-evolution-block {
    display: grid;
    grid-template-columns:
        minmax(230px, 0.72fr)
        minmax(0, 1.28fr);
    gap: clamp(36px, 5vw, 72px);
    padding: clamp(36px, 5vw, 56px);
    border-top: 1px solid rgba(17, 17, 17, 0.075);
    background: #fbfcfb;
}

.about-history-label {
    margin: 0 0 10px;
    color: #b8325f;
    font-family: var(--font-accent);
    font-size: var(--fs-small);
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.about-history-evolution-heading h3 {
    margin: 0;
    color: #111111;
    font-family: var(--font-main);
    font-size: var(--fs-subtitle);
    line-height: 1.15;
    font-weight: 720;
    letter-spacing: -0.04em;
}
.about-history-more-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    margin-top: 24px;
    padding: 11px 16px;

    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 8px;

    background: #ffffff;
    color: #111111;

    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 700;

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease;
}

.about-history-more-link span {
    color: #b8325f;
    font-size: 1.15em;
    transition: transform 0.18s ease;
}

.about-history-more-link:hover {
    transform: translateY(-1px);
    border-color: rgba(184, 50, 95, 0.3);
    background: rgba(184, 50, 95, 0.025);
    color: #111111;
}

.about-history-more-link:hover span {
    transform: translateX(3px);
}

.about-history-evolution-content {
    min-width: 0;
}

.about-history-evolution-comparison {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, 0.075);
    border-radius: 8px;
    background: #ffffff;
}

.about-history-era + .about-history-era {
    border-left: 1px solid rgba(17, 17, 17, 0.075);
}

.about-history-era span {
    display: block;
    padding: 12px 18px;
    color: #ffffff;
    background: #315f50;
    font-family: var(--font-accent);
    font-size: var(--fs-small);
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.about-history-era:nth-child(2) span {
    background: #b8325f;
}

.about-history-era p {
    margin: 0;
    padding: 22px;
    color: rgba(17, 17, 17, 0.58);
    font-family: var(--font-main);
    font-size: var(--fs-small);
    line-height: 1.65;
    text-align: center;
}

.about-history-evolution-text {
    margin: 22px 0 0;
    color: rgba(17, 17, 17, 0.61);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.8;
    font-weight: 420;
}

/* =========================
   VALUES
========================= */
.about-values-layout {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 22px;
    align-items: start;
}
.about-values-intro {
    position: sticky;
    top: 170px;
    padding: clamp(30px, 3vw, 42px);
    border: 1px solid rgba(17, 17, 17, 0.075);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(17, 17, 17, 0.03);
}
.about-values-intro h2 {
    margin: 0 0 18px;
    color: #111111;
    font-family: var(--font-main);
    font-size: var(--fs-title);
    line-height: 1.08;
    font-weight: 720;
    letter-spacing: -0.045em;
}
.about-values-intro p:not(.about-kicker) {
    margin: 0 0 16px;
    color: rgba(17, 17, 17, 0.61);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.82;
    font-weight: 420;
}
.about-values-intro p:last-child {
    margin-bottom: 0;
}
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}
.about-value-card {
    min-height: 178px;
    padding: 24px;
    border: 1px solid rgba(17, 17, 17, 0.075);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.028);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}
.about-value-card:hover {
    transform: translateY(-2px);
    border-color: rgba(1, 141, 113, 0.18);
    box-shadow: 0 14px 30px rgba(17, 17, 17, 0.05);
}
.about-value-card span {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 30px;
    padding: 0 9px;
    border-radius: 8px;
    background: rgba(238, 218, 6, 0.14);
    color: #111111;
    font-family: var(--font-accent);
    font-size: var(--fs-small);
    font-weight: 700;
}
.about-value-card h3 {
    position: relative;
    margin: 20px 0 12px;
    color: #111111;
    font-family: var(--font-accent);
    font-size: var(--fs-subtitle);
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.025em;
}
.about-value-card p {
    margin: 0;
    color: rgba(17, 17, 17, 0.56);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.7;
    font-weight: 420;
}
/* =========================
   TEAM
========================= */
.about-team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.about-team-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, 0.075);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.028);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}
.about-team-card::before {
    content: "";
    position: absolute;
    z-index: 3;
    top: 28px;
    left: 0;
    width: 7px;
    height: 62px;
    background: var(--color-primary);
    pointer-events: none;
}
.about-team-card:nth-child(4n + 2)::before {
    background: var(--color-secondary);
}
.about-team-card:nth-child(4n + 3)::before {
    background: var(--color-third);
}
.about-team-card:nth-child(4n)::before {
    background: var(--color-raspberry);
}
.about-team-card:hover {
    transform: translateY(-2px);
    border-color: rgba(1, 141, 113, 0.18);
    box-shadow: 0 14px 30px rgba(17, 17, 17, 0.05);
}
.about-team-image {
    position: relative;
    aspect-ratio: 4 / 4.35;
    overflow: hidden;
    background: #eef7f4;
}
.about-team-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.about-team-card:hover .about-team-image img {
    transform: scale(1.022);
}
.about-team-content {
    padding: 18px;
}
.about-team-content h3 {
    margin: 0;
    color: #111111;
    font-family: var(--font-accent);
    font-size: var(--fs-subtitle);
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.025em;
}
.about-team-job {
    position: relative;
    width: fit-content;
    margin: 10px 0 0;
    padding-left: 13px;
    color: #018d71;
    font-family: var(--font-accent);
    font-size: var(--fs-small);
    line-height: 1.4;
    font-weight: 700;
}
.about-team-job::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.18em;
    width: 3px;
    height: 1em;
    border-radius: 999px;
    background: var(--color-raspberry);
}
.about-team-card:nth-child(3n + 2) .about-team-job::before {
    background: var(--color-secondary);
}
.about-team-card:nth-child(3n) .about-team-job::before {
    background: var(--color-third);
}
.about-team-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 14px;
    width: fit-content;
    color: black;
    font-family: var(--font-main);
    font-size: var(--fs-small);
    line-height: 1.35;
    font-weight: 480;
    transition: color 0.18s ease;
}
.about-team-contact:hover {
    color: #b8325f;
}
.about-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 24px;
    border: 1px solid rgba(17, 17, 17, 0.075);
    border-radius: 10px;
    background: #ffffff;
    color: rgba(17, 17, 17, 0.60);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 620;
    text-align: center;
}
/* =========================
   JOIN US STRIP
========================= */
.about-join-strip {
    position: relative;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
    min-height: 190px;
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 12px;
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 72%, #fbfcfb 100%);
    box-shadow: 0 12px 32px rgba(17, 17, 17, 0.055);
}
.about-join-strip::before {
    content: "";
    position: absolute;
    top: 0;
    left: 260px;
    width: 52px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--color-raspberry);
    pointer-events: none;
}
.about-join-strip-media {
    align-self: stretch;
    min-height: 190px;
    overflow: hidden;
    background: #eef7f4;
}
.about-join-strip-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}
.about-join-strip:hover .about-join-strip-media img {
    transform: scale(1.025);
}
.about-join-strip-content {
    min-width: 0;
    max-width: 760px;
    padding: 30px 0;
}
.about-join-strip h3 {
    margin: 0;
    color: #111111;
    font-family: var(--font-accent);
    font-size: var(--fs-subtitle);
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: -0.035em;
}
.about-join-strip p {
    margin: 10px 0 0;
    color: rgba(17, 17, 17, 0.58);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.65;
}
.about-join-strip .about-btn-primary {
    margin-right: 28px;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(184, 50, 95, 0.16);
}
.about-join-strip .about-btn-primary:hover {
    box-shadow: 0 10px 22px rgba(184, 50, 95, 0.22);
}
/* =========================
   ADDITIONAL BRAND ACCENTS
========================= */
/* Approach card: a secondary vertical barcode */
.about-text-card {
    position: relative;
    overflow: hidden;
}
.about-text-card::before {
    content: "";
    position: absolute;
    top: 38px;
    right: 0;
    width: 6px;
    height: 70px;
    background:
        linear-gradient(
            to bottom,
            var(--color-secondary) 0 14px,
            transparent 14px 18px,
            var(--color-primary) 18px 32px,
            transparent 32px 36px,
            var(--color-raspberry) 36px 50px,
            transparent 50px 54px,
            var(--color-third) 54px 70px
        );
    pointer-events: none;
}
/* Values introduction: solid green edge */
.about-values-intro {
    overflow: hidden;
}
.about-values-intro::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 0;
    width: 5px;
    height: 68px;
    border-radius: 0 3px 3px 0;
    background: #018d71;
    pointer-events: none;
}
/* Values: one agency color per card */
.about-value-card {
    position: relative;
    overflow: hidden;
}
.about-value-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22px;
    width: 38px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--color-primary);
    pointer-events: none;
}
.about-value-card:nth-child(4n + 2)::before {
    background: var(--color-secondary);
}
.about-value-card:nth-child(4n + 3)::before {
    background: var(--color-third);
}
.about-value-card:nth-child(4n)::before {
    background: var(--color-raspberry);
}
/* Active agency: compact horizontal barcode beneath the image */
.about-agency-content {
    position: relative;
}
.about-agency-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22px;
    width: 76px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background:
        linear-gradient(
            to right,
            var(--color-primary) 0 14px,
            transparent 14px 18px,
            var(--color-secondary) 18px 32px,
            transparent 32px 36px,
            var(--color-third) 36px 50px,
            transparent 50px 54px,
            var(--color-raspberry) 54px 76px
        );
    pointer-events: none;
}
/* Agency selectors: alternating single-color side markers */
.about-agency-selector {
    position: relative;
}
.about-agency-selector::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 18px;
    width: 4px;
    height: 38px;
    border-radius: 0 3px 3px 0;
    background: var(--color-secondary);
    pointer-events: none;
}
.about-agency-selector:nth-child(even)::after {
    background: var(--color-primary);
}
/* Agency story labels: small single-color accents */
.about-agency-story-block h4 {
    position: relative;
    padding-left: 14px;
}
.about-agency-story-block h4::before {
    content: "";
    position: absolute;
    top: 0.15em;
    left: 0;
    width: 4px;
    height: 1em;
    border-radius: 3px;
    background: var(--color-third);
}
.about-agency-story-block:nth-of-type(even) h4::before {
    background: var(--color-raspberry);
}
/* =========================
   RESPONSIVE
========================= */

/* =========================
   RESPONSIVE
========================= */

@media (min-width: 641px) and (max-width: 1200px) {
.about-hero-grid {
        grid-template-columns: 1fr;
    }
    .about-hero-card {
        min-height: auto;
    }
    .about-team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .about-values-layout {
        grid-template-columns: 1fr;
    }
    .about-values-intro {
        position: static;
    }

.about-container {
        width: min(100%, calc(100% - 24px));
    }
    .about-section {
        padding: 56px 0;
    }
    .about-agencies-showcase {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .about-agency-selectors {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
    }
    .about-agency-selector {
        display: grid;
        grid-template-columns: 140px 1fr;
        align-items: center;
    }
    .about-agency-selector img {
        height: 100%;
        aspect-ratio: auto;
    }
    .about-history-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .about-history-detail {
        border-right: 1px solid rgba(17, 17, 17, 0.075);
        border-bottom: 1px solid rgba(17, 17, 17, 0.075);
    }
    .about-history-detail:nth-child(3n) {
        border-right: 1px solid rgba(17, 17, 17, 0.075);
    }
    .about-history-detail:nth-child(2n) {
        border-right: 0;
    }
    .about-history-detail:nth-last-child(-n + 3) {
        border-bottom: 1px solid rgba(17, 17, 17, 0.075);
    }
    .about-history-detail:nth-last-child(-n + 2) {
        border-bottom: 0;
    }
    .about-history-evolution-block {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .about-text-card-intro {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .about-text-columns {
        columns: 1;
    }
    .about-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .about-join-strip {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 24px;
    }
    .about-join-strip::before {
        left: 210px;
    }
    .about-join-strip .about-btn-primary {
        grid-column: 2;
        justify-self: start;
        margin: 0 0 26px;
    }
}

@media (max-width: 640px) {
.about-hero-grid {
        grid-template-columns: 1fr;
    }
    .about-hero-card {
        min-height: auto;
    }
    .about-team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .about-values-layout {
        grid-template-columns: 1fr;
    }
    .about-values-intro {
        position: static;
    }

.about-container {
        width: min(100%, calc(100% - 24px));
    }
    .about-section {
        padding: 56px 0;
    }
    .about-agencies-showcase {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .about-agency-selectors {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
    }
    .about-agency-selector {
        display: grid;
        grid-template-columns: 140px 1fr;
        align-items: center;
    }
    .about-agency-selector img {
        height: 100%;
        aspect-ratio: auto;
    }
    .about-history-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .about-history-detail {
        border-right: 1px solid rgba(17, 17, 17, 0.075);
        border-bottom: 1px solid rgba(17, 17, 17, 0.075);
    }
    .about-history-detail:nth-child(3n) {
        border-right: 1px solid rgba(17, 17, 17, 0.075);
    }
    .about-history-detail:nth-child(2n) {
        border-right: 0;
    }
    .about-history-detail:nth-last-child(-n + 3) {
        border-bottom: 1px solid rgba(17, 17, 17, 0.075);
    }
    .about-history-detail:nth-last-child(-n + 2) {
        border-bottom: 0;
    }
    .about-history-evolution-block {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .about-text-card-intro {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .about-text-columns {
        columns: 1;
    }
    .about-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .about-join-strip {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 24px;
    }
    .about-join-strip::before {
        left: 210px;
    }
    .about-join-strip .about-btn-primary {
        grid-column: 2;
        justify-self: start;
        margin: 0 0 26px;
    }

.about-container {
        width: calc(100% - 16px);
    }
    .about-hero {
        padding: 34px 0 40px;
    }
    .about-hero-content {
        padding: 26px;
    }
    .about-hero-content::before {
        top: 26px;
        width: 6px;
        height: 58px;
        background:
            linear-gradient(
                to bottom,
                var(--color-primary) 0 12px,
                transparent 12px 15px,
                var(--color-secondary) 15px 27px,
                transparent 27px 30px,
                var(--color-third) 30px 42px,
                transparent 42px 45px,
                var(--color-raspberry) 45px 58px
            );
    }
    .about-hero h1 {
        font-size: var(--fs-title);
    }
    .about-hero-actions {
        flex-direction: column;
    }
    .about-btn {
        width: 100%;
    }
    .about-section {
        padding: 44px 0;
    }
    .about-section-head {
        margin-bottom: 28px;
    }
    .about-section-head h2 {
        font-size: var(--fs-title);
    }
    .about-agencies-showcase {
        grid-template-columns: 1fr;
    }
    .about-agency-card:hover,
    .about-agency-selector:hover {
        transform: none;
    }
    .about-agency-selectors {
        grid-column: auto;
        grid-template-columns: 1fr;
    }
    .about-agency-selector {
        grid-template-columns: 112px 1fr;
    }
    .about-agency-story {
        padding: 24px;
    }
    .about-history-image {
        overflow-x: auto;
        padding: 20px 12px;
        scrollbar-width: thin;
    }
    .about-history-image::before {
        top: 20px;
        height: 48px;
    }
    .about-timeline-full {
        width: 900px;
        max-width: none;
    }
    .about-history-details {
        grid-template-columns: 1fr;
    }
    .about-history-detail,
    .about-history-detail:nth-child(2n),
    .about-history-detail:nth-child(3n) {
        min-height: 0;
        padding: 26px 24px;
        border-right: 0;
        border-bottom: 1px solid rgba(17, 17, 17, 0.075);
    }
    .about-history-detail:nth-last-child(-n + 2) {
        border-bottom: 1px solid rgba(17, 17, 17, 0.075);
    }
    .about-history-detail:last-child {
        border-bottom: 0;
    }
    .about-history-evolution-block {
        padding: 30px 24px;
    }
    .about-history-evolution-comparison {
        grid-template-columns: 1fr;
    }
    .about-history-era + .about-history-era {
        border-left: 0;
        border-top: 1px solid rgba(17, 17, 17, 0.075);
    }
    .about-history-era p {
        padding: 18px;
    }
    .about-values-grid {
        grid-template-columns: 1fr;
    }
    .about-value-card {
        min-height: auto;
    }
    .about-team-grid {
        grid-template-columns: 1fr;
    }
    .about-join-strip {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: 0;
    }
    .about-join-strip::before {
        top: 220px;
        left: 22px;
    }
    .about-join-strip-media {
        height: 220px;
        min-height: 0;
    }
    .about-join-strip-content {
        padding: 24px 22px 18px;
    }
    .about-join-strip .about-btn-primary {
        grid-column: auto;
        width: calc(100% - 44px);
        margin: 0 22px 22px;
    }
    .about-values-intro::before {
        top: 20px;
        height: 52px;
    }
    .about-text-card::before {
        top: 24px;
        height: 54px;
    }
    .about-agency-selector::after {
        bottom: 14px;
        height: 30px;
    }

.about-team-card::before {
        top: 22px;
        width: 6px;
        height: 58px;
        background:
            linear-gradient(
                to bottom,
                var(--color-primary) 0 12px,
                transparent 12px 15px,
                var(--color-secondary) 15px 27px,
                transparent 27px 30px,
                var(--color-third) 30px 42px,
                transparent 42px 45px,
                var(--color-raspberry) 45px 58px
            );
    }
    .about-team-card:nth-child(even)::before {
        background:
            linear-gradient(
                to bottom,
                var(--color-raspberry) 0 12px,
                transparent 12px 15px,
                var(--color-third) 15px 27px,
                transparent 27px 30px,
                var(--color-secondary) 30px 42px,
                transparent 42px 45px,
                var(--color-primary) 45px 58px
            );
    }

    .about-history-more-link {
        width: 100%;
        justify-content: center;
    }
}
