/* ============================================================
   SLUŽBY / WEB
   Web dizajn a vývoj.
   ============================================================ */

/* All new rules are scoped to this page. */
.av-web {
    background: var(--black);
}

.av-web .avw-shell {
    width: 81.5%;
    max-width: 1560px;
    margin-inline: auto;
    position: relative;
}

.av-web .avw-section {
    padding: clamp(5rem, 8vw, 9rem) 0;
    scroll-margin-top: 90px;
}

.av-web .avw-label {
    margin: 0 0 1.75rem;
    color: var(--primary-light);
    font: 500 .75rem/1.5 'Outfit', sans-serif;
    letter-spacing: .13em;
}

.av-web h1,
.av-web h2,
.av-web h3 {
    font-family: 'Outfit', sans-serif;
}

.av-web .avw-heading {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-items: end;
    gap: 4rem;
    margin-bottom: clamp(3rem, 5vw, 5rem);
}

.av-web .avw-heading h2,
.av-web .avw-preview h2 {
    margin: 0;
    font-size: clamp(2.65rem, 4.5vw, 5.25rem);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -.045em;
}

.av-web .avw-heading>p {
    max-width: 28rem;
    justify-self: end;
    margin: 0;
    color: #aaa;
    font-size: 1rem;
    line-height: 1.85;
}

.av-web .avw-link {
    display: inline-flex;
    align-items: center;
    gap: 1.3rem;
    font: 500 1rem/1.4 'Outfit', sans-serif;
    color: var(--white);
}

.av-web .avw-arrow {
    display: inline-grid;
    place-items: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    transition: background .3s, color .3s, transform .3s;
}

.av-web .avw-arrow svg {
    width: 22px;
    height: 22px;
}

.av-web .avw-link:hover .avw-arrow,
.av-web .avw-project:hover .avw-arrow {
    background: var(--accent);
    color: var(--black);
    transform: rotate(-45deg);
}

.av-web :is(a, summary, button):focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 6px;
}

.av-web .avw-skip {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 2100;
    background: var(--off-white);
    color: var(--black);
    padding: .8rem 1rem;
    transform: translateY(-180%);
}

.av-web .avw-skip:focus {
    transform: none;
}

.av-web #web-content {
    scroll-margin-top: 100px;
}

/* Principles */
.av-web .avw-principle-grid,
.av-photo .avp-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 5rem);
}

.av-web .avw-principle-grid article,
.av-photo .avp-steps>li {
    position: relative;
    border-top: 1px solid #ffffff30;
    padding-top: 1.5rem;
}

.av-web .avw-index,
.av-photo .avp-step-index {
    display: block;
    color: var(--primary-light);
    font: 400 .7rem/1.5 'Outfit', sans-serif;
    letter-spacing: .1em;
}

.av-web .avw-principle-grid h3,
.av-photo .avp-steps h3 {
    font-size: clamp(1.55rem, 2vw, 2.25rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -.03em;
    margin: 2rem 0 1rem;
}

.av-web .avw-principle-grid p,
.av-photo .avp-steps p {
    color: #aaa;
    font-size: .93rem;
    line-height: 1.85;
    margin: 0;
}

.av-web .avw-principle-grid article::before,
.av-photo .avp-steps>li::before {
    content: '';
    position: absolute;
    inset: -1px 0 auto;
    height: 1px;
    background: var(--primary-light);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--transition-smooth);
}

@media (hover: hover) and (pointer: fine) {

    .av-web .avw-principle-grid article:hover::before,
    .av-photo .avp-steps>li:hover::before {
        transform: scaleX(1);
    }
}

/* Method */
.av-web .avw-method {
    color: var(--black);
    background: var(--off-white);
}

.av-web .avw-method .avw-label,
.av-web .avw-method .avw-index,
.av-web .avw-proof .avw-label {
    color: var(--primary-dark);
}

.av-web .avw-method .avw-heading>p,
.av-web .avw-proof .avw-heading>p {
    color: #626262;
}

.av-web .avw-method-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: clamp(3rem, 7vw, 8rem);
    align-items: start;
}

.av-web .avw-method-visual {
    position: sticky;
    top: 120px;
    padding-top: 1rem;
}

.av-web .avw-method-visual>p {
    margin-top: 1.5rem;
    color: #737373;
    font-size: .8rem;
}

.av-web .avw-stack {
    position: relative;
    aspect-ratio: 1;
    margin-top: 2rem;
}

.av-web .avw-stack-plane {
    position: absolute;
    width: 79%;
    aspect-ratio: 1.35;
    padding: 6%;
    border: 1px solid #929ca5;
}

.av-web .avw-stack-plane>span {
    display: block;
    font: 400 .6rem 'Outfit', sans-serif;
    letter-spacing: .12em;
}

.av-web .avw-plane-back {
    top: 0;
    right: 0;
    background: #e3e8ec;
    transform: rotate(-6deg);
}

.av-web .avw-plane-back>i {
    display: inline-block;
    height: 42%;
    width: 27%;
    margin: 15% 4% 0 0;
    border: 1px solid #7e929f;
}

.av-web .avw-plane-middle {
    top: 22%;
    left: 7%;
    background: var(--primary-dark);
    color: var(--white);
    border-color: var(--primary-dark);
    transform: rotate(4deg);
}

.av-web .avw-plane-middle>b {
    font: 400 clamp(3rem, 6vw, 6rem)/1 'Outfit', sans-serif;
    letter-spacing: -.06em;
}

.av-web .avw-plane-middle>div {
    display: flex;
    gap: 6%;
    margin-top: 5%;
}

.av-web .avw-plane-middle i {
    width: 17%;
    height: 10px;
    background: #f5f5f5;
}

.av-web .avw-plane-middle i:nth-child(2) {
    background: #111;
}

.av-web .avw-plane-middle i:nth-child(3) {
    background: var(--accent);
}

.av-web .avw-plane-front {
    bottom: 0;
    left: 0;
    background: #151515;
    color: var(--white);
    transform: rotate(-3deg);
}

.av-web .avw-plane-front>span {
    color: #aaa;
}

.av-web .avw-plane-front>b {
    display: block;
    font: 400 clamp(1.25rem, 2vw, 2rem) 'Outfit', sans-serif;
    color: var(--primary-light);
    margin-block: 13% 8%;
}

.av-web .avw-plane-front>i {
    display: block;
    height: 4px;
    width: 70%;
    background: #525252;
    margin-top: 8px;
}

.av-web .avw-plane-front>i:last-child {
    width: 45%;
    background: #845434;
}

.av-web .avw-steps {
    list-style: none;
    margin: 0;
    padding: 0;
}

.av-web .avw-steps>li {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 1.25rem;
    padding: 2rem 0 2.5rem;
    border-top: 1px solid #0a0a0a30;
}

.av-web .avw-step-number {
    color: var(--primary-dark);
    font: 400 .85rem/1.7 'Outfit', sans-serif;
}

.av-web .avw-steps h3 {
    font-weight: 500;
    font-size: clamp(1.4rem, 1.9vw, 2rem);
    line-height: 1.15;
    letter-spacing: -.025em;
    margin-bottom: 1rem;
}

.av-web .avw-steps p {
    color: #626262;
    line-height: 1.85;
    font-size: .93rem;
    margin-bottom: 1.5rem;
}

.av-web .avw-step-output {
    font: 400 .62rem/1.6 'Outfit', sans-serif;
    color: var(--primary-dark);
    letter-spacing: .08em;
}

/* Scope: native, keyboard-accessible accordions. */
.av-web .avw-scope-list {
    width: min(100%, 1000px);
    margin-inline: auto;
}

.av-web .avw-scope-list details {
    border-top: 1px solid #ffffff2a;
}

.av-web .avw-scope-list details:last-child {
    border-bottom: 1px solid #ffffff2a;
}

.av-web .avw-scope-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.65rem 0;
    list-style: none;
    cursor: pointer;
    font: 400 clamp(1.15rem, 1.8vw, 1.8rem)/1.3 'Outfit', sans-serif;
}

.av-web .avw-scope-list summary::-webkit-details-marker {
    display: none;
}

.av-web .avw-scope-list summary:hover,
.av-web .avw-scope-list details[open] summary {
    color: var(--primary-light);
}

.av-web .avw-detail-icon {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    position: relative;
}

.av-web .avw-detail-icon::before,
.av-web .avw-detail-icon::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 1px;
    top: 9px;
    left: 0;
    background: currentColor;
}

.av-web .avw-detail-icon::after {
    transform: rotate(90deg);
    transition: transform .25s;
}

.av-web details[open] .avw-detail-icon::after {
    transform: rotate(0);
}

.av-web .avw-scope-list details>p {
    max-width: 60ch;
    margin: 0;
    padding: 0 2rem 2rem 0;
    color: #aaa;
    line-height: 1.85;
    font-size: .95rem;
}

.av-web .avw-fit {
    max-width: 1100px;
    margin-inline: auto;
    padding: clamp(4rem, 7vw, 7rem) 0 0;
    text-align: center;
}

.av-web .avw-fit>p:last-child {
    font: 400 clamp(1.4rem, 2.3vw, 2.4rem)/1.45 'Outfit', sans-serif;
    letter-spacing: -.025em;
    color: #999;
}

.av-web .avw-fit strong {
    color: var(--white);
    font-weight: 400;
}

.av-web .avw-fit>.avw-label {
    text-align: center;
    margin-bottom: 2.5rem;
}

.av-web .avw-fit-lines {
    margin: 0 auto;
    max-width: 34ch;
}

.av-web .avw-fit-lines>span,
.av-web .avw-fit-lines>strong {
    display: block;
    margin: 0 0 1.1em;
}

.av-web .avw-fit-lines>strong {
    margin-bottom: 0;
}

.av-web .avw-section.avw-scope {
    padding-bottom: 0;
}

.av-web .avw-assurance {
    position: relative;
    isolation: isolate;
    background: var(--black);
    overflow: hidden;
}

.av-web .avw-assurance::before {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: -1;
    width: 130%;
    height: 100%;
    bottom: -30%;
    left: -20%;
    background: linear-gradient(125deg, var(--primary), var(--primary-light) 50%, var(--accent));
    filter: blur(90px);
    opacity: .16;
    transform: rotate(-12deg);
}

.av-web .avw-assurance .avw-section {
    background: transparent;
}

/* Free homepage direction */
.av-web .avw-section.avw-preview {
    padding-top: clamp(3rem, 5vw, 5rem);
    border: 0;
    background: transparent;
}

.av-web .avw-preview-layout {
    top: 24px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(3rem, 6vw, 7rem);
    align-items: center;
}

.av-web .avw-preview h2>span {
    color: var(--accent);
}

.av-web .avw-preview-copy>p {
    color: #cecece;
    font-size: 1.1rem;
    line-height: 1.85;
    margin-bottom: 1.5rem;
}

.av-web .avw-preview-copy>.avw-preview-small {
    color: #a1a1a1;
    font-size: .88rem;
    margin-bottom: 2rem;
}

/* One project only; the full collection stays in Portfolio. */
.av-web .avw-proof {
    background: var(--off-white);
    color: var(--black);
}

.av-web .avw-project {
    display: block;
}

.av-web .avw-project-image {
    overflow: hidden;
    background: var(--black);
}

.av-web .avw-project img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .8s var(--transition-smooth);
}

.av-web .avw-project-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding-block: 1.75rem;
    border-bottom: 1px solid #0a0a0a30;
}

.av-web .avw-project-caption .avw-label {
    margin-bottom: .5rem;
}

.av-web .avw-project-caption p {
    font: 400 clamp(1.25rem, 2vw, 1.9rem)/1.3 'Outfit', sans-serif;
    letter-spacing: -.02em;
    margin: 0;
}

.av-web .avw-project-action {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    font: 400 .9rem 'Outfit', sans-serif;
}

.av-web .avw-project .avw-arrow {
    border-color: var(--primary-dark);
    color: var(--primary-dark);
}

.av-web .avw-project:hover .avw-arrow {
    background: var(--primary-dark);
    color: var(--white);
}

@media (hover: hover) and (pointer: fine) {
    .av-web .avw-project:hover img {
        transform: scale(1.035);
    }
}

.av-web .animate-on-scroll:focus-within {
    opacity: 1;
    transform: none;
}

@media (max-width: 1100px) {
    .av-web .avw-heading {
        gap: 2.5rem;
    }

    .av-web .avw-method-layout {
        gap: 3rem;
    }
}

@media (max-width: 900px) {
    .av-web .avw-shell {
        width: calc(100% - 64px);
    }

    .av-web .avw-heading,
    .av-web .avw-preview-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .av-web .avw-heading>p {
        justify-self: start;
        max-width: 38rem;
    }

    .av-web .avw-principle-grid {
        gap: 1.75rem;
    }

    .av-web .avw-method-layout {
        grid-template-columns: .75fr 1.25fr;
        gap: 2rem;
    }

    .av-web .avw-preview-copy {
        max-width: 38rem;
    }

    .av-web .avw-preview-layout {
        top: 16px;
    }

    .av-web .avw-project-caption {
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .av-web .avw-shell {
        width: calc(100% - 40px);
    }

    .av-web .avw-section {
        padding-block: 4.5rem;
    }

    .av-web .avw-label {
        font-size: .65rem;
        margin-bottom: 1.25rem;
    }

    .av-web .avw-link {
        font-size: .92rem;
        gap: 1rem;
    }

    .av-web .avw-principle-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .av-web .avw-principle-grid h3 {
        margin-top: 1.25rem;
        font-size: 1.8rem;
    }

    .av-web .avw-principle-grid h3 br {
        display: none;
    }

    .av-web .avw-method-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .av-web .avw-method-visual {
        position: static;
        max-width: 350px;
        width: 90%;
        margin: 0 auto 1rem;
    }

    .av-web .avw-plane-middle>b {
        font-size: 4rem;
    }

    .av-web .avw-plane-front>b {
        font-size: 1.4rem;
    }

    .av-web .avw-steps>li {
        grid-template-columns: 28px 1fr;
        gap: .85rem;
    }

    .av-web .avw-scope-list summary {
        gap: 1rem;
    }

    .av-web .avw-project-caption {
        flex-direction: column;
        gap: 1.5rem;
    }

    .av-web .avw-project-action {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 359px) {
    .av-web .avw-shell {
        width: calc(100% - 32px);
    }

    .av-web .avw-heading h2,
    .av-web .avw-preview h2 {
        font-size: 2.3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .av-web {
        scroll-behavior: auto;
    }

    .av-web *,
    .av-web *::before,
    .av-web *::after {
        animation: none !important;
        transition: none !important;
    }

    .av-web .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

@media (scripting: none) {
    .av-web .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* ============================================================
   SLUŽBY / BRANDING
   Vizuálna identita.
   ============================================================ */

/* ===== SERVICE PAGE: BRANDING =====
   Hero reuses the homepage markup and #home rules.
   New editorial sections are scoped to .av-brand. */
.av-brand {
    background: var(--black);
}

.av-brand .avb-shell {
    width: 81.5%;
    max-width: 1560px;
    margin-inline: auto;
    position: relative;
}

.av-brand .avb-section {
    position: relative;
    padding-block: clamp(5rem, 8vw, 9rem);
    scroll-margin-top: 100px;
}

.av-brand #branding-content {
    scroll-margin-top: 100px;
}

.av-brand .avb-label {
    margin: 0 0 1.75rem;
    color: var(--primary-light);
    font: 500 .75rem/1.5 'Outfit', sans-serif;
    letter-spacing: .13em;
}

.av-brand .avb-heading {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-items: end;
    gap: 4rem;
    margin-bottom: clamp(3rem, 5vw, 5rem);
}

.av-brand .avb-heading h2,
.av-brand .avb-direction h2 {
    margin: 0;
    font: 500 clamp(2.65rem, 4.5vw, 5.25rem)/1.06 'Outfit', sans-serif;
    letter-spacing: -.045em;
}

.av-brand .avb-heading>p {
    justify-self: end;
    max-width: 28rem;
    margin: 0;
    font-size: 1rem;
    line-height: 1.85;
    color: #aaa;
}

.av-brand :is(a, button, summary):focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 6px;
}

.av-brand .animate-on-scroll:focus-within {
    opacity: 1;
    transform: none;
}

/* Principles: long editorial rows, with the same line reveal as Why Aion. */
.av-brand .avb-principle {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 1fr 30px;
    align-items: start;
    gap: clamp(1.5rem, 4vw, 4.5rem);
    padding: clamp(2rem, 4vw, 4rem) 0;
    border-top: 1px solid #ffffff30;
}

.av-brand .avb-principle:last-child {
    border-bottom: 1px solid #ffffff30;
}

.av-brand .avb-principle::before {
    content: '';
    position: absolute;
    inset: -1px 0 auto;
    height: 1px;
    background: var(--primary-light);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--transition-smooth);
}

.av-brand .avb-principle h3 {
    margin: 0;
    font: 500 clamp(2.4rem, 4.3vw, 5rem)/1.08 'Outfit', sans-serif;
    letter-spacing: -.045em;
}

.av-brand .avb-principle p {
    margin: .3rem 0 0;
    color: #aaa;
    max-width: 42ch;
    font-size: .95rem;
    line-height: 1.85;
}

.av-brand .avb-principle>span {
    color: var(--primary-light);
    font-size: 1.6rem;
    line-height: 1.3;
}

@media (hover: hover) and (pointer: fine) {
    .av-brand .avb-principle:hover::before {
        transform: scaleX(1);
    }
}

/* An editorial sheet: type, colour and a repeated graphic motif. */
.av-brand .avb-system,
.av-brand .avb-applications {
    background: var(--off-white);
    color: var(--black);
}

.av-brand :is(.avb-system, .avb-applications) .avb-label {
    color: var(--primary-dark);
}

.av-brand :is(.avb-system, .avb-applications) .avb-heading>p {
    color: #626262;
}

.av-brand .avb-system-board {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    border-block: 1px solid #0a0a0a30;
}

.av-brand .avb-system-board>div {
    padding: clamp(1.5rem, 3vw, 3.5rem);
    min-width: 0;
}

.av-brand .avb-system-board>div+div {
    border-left: 1px solid #0a0a0a30;
}

.av-brand .avb-system-board>div>span {
    display: block;
    font: 500 .63rem/1.5 'Outfit', sans-serif;
    letter-spacing: .09em;
}

.av-brand .avb-system-board p {
    font: 400 .9rem/1.5 'Outfit', sans-serif;
    margin: 0;
}

.av-brand .avb-type-specimen>b {
    display: block;
    font: 600 clamp(6rem, 12vw, 14rem)/1.05 'Outfit', sans-serif;
    letter-spacing: -.08em;
    margin: 2rem 0;
}

.av-brand .avb-type-specimen>b>span {
    color: var(--accent);
}

.av-brand .avb-colour-specimen {
    display: flex;
    flex-direction: column;
}

.av-brand .avb-colour-specimen>div {
    display: flex;
    flex: 1;
    min-height: 140px;
    margin-block: 2.5rem;
}

.av-brand .avb-colour-specimen i {
    width: 42%;
    background: var(--primary-dark);
}

.av-brand .avb-colour-specimen i:nth-child(2) {
    width: 33%;
    background: var(--primary-light);
}

.av-brand .avb-colour-specimen i:nth-child(3) {
    width: 25%;
    background: var(--accent);
}

.av-brand .avb-mark-specimen {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.av-brand .avb-graphic-mark {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    aspect-ratio: 1;
    gap: 4%;
}

.av-brand .avb-graphic-mark i {
    display: block;
    background: currentColor;
    border-radius: 100% 0 0 0;
}

.av-brand .avb-graphic-mark i:nth-child(2) {
    transform: rotate(90deg);
}

.av-brand .avb-graphic-mark i:nth-child(3) {
    transform: rotate(-90deg);
}

.av-brand .avb-graphic-mark i:nth-child(4) {
    transform: rotate(180deg);
}

.av-brand .avb-mark-specimen .avb-graphic-mark {
    max-width: 160px;
    margin: 2.5rem auto;
    color: var(--primary-dark);
}

/* Scope: centered native accordion, keyboard accessible. */
.av-brand .avb-scope-list {
    width: min(100%, 1000px);
    margin-inline: auto;
}

.av-brand .avb-scope-list details {
    border-top: 1px solid #ffffff2a;
}

.av-brand .avb-scope-list details:last-child {
    border-bottom: 1px solid #ffffff2a;
}

.av-brand .avb-scope-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.65rem 0;
    list-style: none;
    cursor: pointer;
    font: 400 clamp(1.15rem, 1.8vw, 1.8rem)/1.3 'Outfit', sans-serif;
}

.av-brand .avb-scope-list summary::-webkit-details-marker {
    display: none;
}

.av-brand .avb-scope-list summary>i {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.av-brand .avb-scope-list summary>i::before,
.av-brand .avb-scope-list summary>i::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 1px;
    top: 9px;
    left: 0;
    background: currentColor;
}

.av-brand .avb-scope-list summary>i::after {
    transform: rotate(90deg);
    transition: transform .25s ease;
}

.av-brand .avb-scope-list details[open] summary>i::after {
    transform: rotate(0);
}

.av-brand .avb-scope-list details[open] summary,
.av-brand .avb-scope-list summary:hover {
    color: var(--primary-light);
}

.av-brand .avb-scope-list details>p {
    max-width: 65ch;
    margin: 0;
    padding: 0 2rem 2rem 0;
    color: #aaa;
    font-size: .95rem;
    line-height: 1.85;
}

/* Application studies: one wide campaign and two independent close-ups. */
.av-brand .avb-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2.5rem, 5vw, 5rem) clamp(1.5rem, 3vw, 3rem);
}

.av-brand .avb-showcase figure {
    margin: 0;
    min-width: 0;
}

.av-brand .avb-showcase-wide {
    grid-column: 1 / -1;
}

.av-brand .avb-showcase figcaption {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.1rem;
}

.av-brand .avb-showcase figcaption>span {
    font: 500 .63rem/1.5 'Outfit', sans-serif;
    color: var(--primary-dark);
    letter-spacing: .1em;
    flex-shrink: 0;
}

.av-brand .avb-showcase figcaption>p {
    font-size: .8rem;
    color: #626262;
    line-height: 1.6;
    margin: 0;
}

.av-brand .avb-campaign {
    display: flex;
    flex-direction: column;
    min-height: 430px;
    padding: clamp(1.5rem, 4vw, 4rem);
    background: var(--primary-dark);
    color: var(--white);
    overflow: hidden;
}

.av-brand .avb-campaign-top,
.av-brand .avb-campaign-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font: 500 .65rem/1.5 'Outfit', sans-serif;
    letter-spacing: .12em;
}

.av-brand .avb-campaign-top {
    padding-bottom: 1rem;
    border-bottom: 1px solid #ffffff40;
}

.av-brand .avb-campaign-body {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
    gap: 2rem;
    flex: 1;
    padding-block: clamp(2rem, 4vw, 4rem);
}

.av-brand .avb-campaign-body>b {
    font: 500 clamp(3rem, 7.5vw, 8.5rem)/.93 'Outfit', sans-serif;
    letter-spacing: -.055em;
}

.av-brand .avb-campaign-body em {
    color: var(--primary-light);
    font-style: normal;
}

.av-brand .avb-campaign-body>img {
    width: 75%;
    max-height: 250px;
    justify-self: center;
    filter: brightness(0) invert(1);
    opacity: .92;
}

.av-brand .avb-campaign-bottom {
    padding-top: 1rem;
    border-top: 1px solid #ffffff40;
}

.av-brand .avb-paper-scene,
.av-brand .avb-social-scene {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    overflow: hidden;
}

.av-brand .avb-paper-scene {
    background: #dfdfdc;
}

.av-brand .avb-paper-back {
    position: absolute;
    top: 12%;
    right: 10%;
    width: 64%;
    aspect-ratio: 1.7;
    padding: 8%;
    background: var(--black);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 12px 28px #00000012;
}

.av-brand .avb-paper-back>img {
    width: 35%;
    max-height: 85px;
    filter: brightness(0) invert(1);
}

.av-brand .avb-paper-back>span {
    font: 400 clamp(.5rem, .9vw, .8rem)/1.4 'Outfit', sans-serif;
    letter-spacing: .1em;
}

.av-brand .avb-paper-front {
    position: absolute;
    bottom: 13%;
    left: 10%;
    width: 72%;
    aspect-ratio: 1.65;
    padding: 6%;
    background: var(--off-white);
    box-shadow: 0 15px 35px #0000001a;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.av-brand .avb-paper-front>span {
    font: 500 clamp(.45rem, .65vw, .7rem)/1.3 'Outfit', sans-serif;
    letter-spacing: .08em;
}

.av-brand .avb-paper-front>b {
    font: 500 clamp(1.4rem, 2.4vw, 2.8rem)/1.05 'Outfit', sans-serif;
    letter-spacing: -.04em;
    padding-block: .75rem;
}

.av-brand .avb-paper-front>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font: 400 clamp(.45rem, .75vw, .75rem)/1.5 'Outfit', sans-serif;
}

.av-brand .avb-paper-front i {
    display: block;
    width: 18%;
    height: 5px;
    background: var(--accent);
}

.av-brand .avb-social-scene {
    background: #e9e9e5;
    padding: 10%;
}

.av-brand .avb-social-layout {
    position: relative;
    width: 88%;
    aspect-ratio: 4 / 5;
    background: var(--accent);
    padding: 9%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--black);
}

.av-brand .avb-social-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    font: 500 clamp(.45rem, .7vw, .72rem)/1.4 'Outfit', sans-serif;
    letter-spacing: .05em;
}

.av-brand .avb-social-heading img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: brightness(0);
}

.av-brand .avb-social-layout>b {
    font: 600 clamp(1.8rem, 3.6vw, 4rem)/.96 'Outfit', sans-serif;
    letter-spacing: -.045em;
    margin-block: 1rem;
}

.av-brand .avb-social-layout>b>span {
    color: var(--white);
}

.av-brand .avb-social-layout>p {
    font: 500 clamp(.5rem, .8vw, .8rem)/1.5 'Outfit', sans-serif;
    letter-spacing: .04em;
    padding-right: 25px;
}

.av-brand .avb-social-layout>svg {
    position: absolute;
    right: 9%;
    bottom: 9%;
}

@media (max-width: 900px) {
    .av-brand .avb-showcase figcaption {
        flex-direction: column;
        gap: .4rem;
    }

    .av-brand .avb-campaign {
        min-height: 350px;
    }
}

@media (max-width: 600px) {
    .av-brand .avb-showcase {
        grid-template-columns: 1fr;
    }

    .av-brand .avb-campaign {
        min-height: 290px;
        padding: 1.25rem;
    }

    .av-brand .avb-campaign-body {
        grid-template-columns: 1.65fr .8fr;
        gap: 1rem;
    }

    .av-brand .avb-campaign-body>b {
        font-size: clamp(2.4rem, 9vw, 4rem);
    }

    .av-brand .avb-campaign-body>img {
        width: 100%;
    }

    .av-brand .avb-campaign-top,
    .av-brand .avb-campaign-bottom {
        font-size: .5rem;
        letter-spacing: .04em;
    }

    .av-brand .avb-paper-front>b {
        font-size: clamp(1.5rem, 5.7vw, 2.5rem);
    }

    .av-brand .avb-paper-front>span,
    .av-brand .avb-paper-front>div {
        font-size: .6rem;
    }

    .av-brand .avb-paper-back>span {
        font-size: .65rem;
    }

    .av-brand .avb-social-layout>b {
        font-size: clamp(2.1rem, 8vw, 3.5rem);
    }

    .av-brand .avb-social-heading,
    .av-brand .avb-social-layout>p {
        font-size: .65rem;
    }
}

/* Free direction: colours and style only. */
.av-brand .avb-assurance {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--black);
}

.av-brand .avb-assurance::before {
    content: '';
    position: absolute;
    z-index: -1;
    pointer-events: none;
    width: 130%;
    height: 75%;
    bottom: -10%;
    left: -20%;
    background: linear-gradient(125deg, var(--primary), var(--primary-light) 50%, var(--accent));
    filter: blur(90px);
    opacity: .16;
    transform: rotate(-12deg);
}

.av-brand .avb-direction {
    border: 0;
    background: transparent;
}

.av-brand .avb-direction-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(3rem, 6vw, 7rem);
    align-items: center;
}

.av-brand .avb-direction h2>span {
    color: var(--accent);
}

.av-brand .avb-direction-copy>p {
    margin-bottom: 1.5rem;
    color: #cecece;
    font-size: 1.1rem;
    line-height: 1.85;
}

.av-brand .avb-direction-copy>.avb-small {
    color: #a1a1a1;
    font-size: .88rem;
    margin-bottom: 2rem;
}

.av-brand .avb-link {
    display: inline-flex;
    align-items: center;
    gap: 1.3rem;
    font: 500 1rem/1.4 'Outfit', sans-serif;
}

.av-brand .avb-link>span {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    transition: background .3s ease, color .3s ease;
}

.av-brand .avb-link svg {
    transition: transform .3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .av-brand .avb-link:hover>span {
        background: var(--accent);
        color: var(--black);
    }

    .av-brand .avb-link:hover svg {
        transform: rotate(-45deg);
    }
}

/* Responsive: the homepage owns the hero layout; only the longer headline is adjusted. */
@media (max-width: 1100px) {
    .av-brand .avb-heading {
        gap: 2.5rem;
    }

    .av-brand .avb-system-board>div {
        padding: 1.5rem;
    }

    .av-brand .avb-system-board>div>span {
        font-size: .55rem;
    }
}

@media (max-width: 900px) {
    .av-brand .avb-shell {
        width: calc(100% - 64px);
    }

    .av-brand .avb-heading,
    .av-brand .avb-direction-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .av-brand .avb-heading>p {
        justify-self: start;
        max-width: 38rem;
    }

    .av-brand .avb-direction-copy {
        max-width: 38rem;
    }

    .av-brand .avb-principle {
        grid-template-columns: 1fr 1.1fr;
        gap: 2rem;
    }

    .av-brand .avb-principle>span {
        display: none;
    }

    .av-brand .avb-system-board {
        grid-template-columns: 1fr 1fr;
    }

    .av-brand .avb-type-specimen {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 1rem;
        border-bottom: 1px solid #0a0a0a30;
    }

    .av-brand .avb-type-specimen>span {
        grid-column: 1 / -1;
    }

    .av-brand .avb-type-specimen>b {
        font-size: 9rem;
        margin: .5rem 0;
    }

    .av-brand .avb-system-board>.avb-colour-specimen {
        border-left: 0;
    }
}

@media (max-width: 767px) {
    .av-brand .avb-shell {
        width: calc(100% - 40px);
    }

    .av-brand .avb-section {
        padding-block: 4.5rem;
    }

    .av-brand .avb-principle {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .av-brand .avb-principle h3 {
        font-size: 2.5rem;
    }

    .av-brand .avb-principle p {
        max-width: 40rem;
    }

    .av-brand .avb-label {
        font-size: .65rem;
        margin-bottom: 1.25rem;
    }

    .av-brand .avb-heading>p {
        font-size: .95rem;
    }

    .av-brand .avb-scope-list summary {
        gap: 1rem;
    }

    .av-brand .avb-scope-list details>p {
        padding-right: 0;
    }
}

@media (max-width: 479px) {
    .av-brand .avb-system-board>div {
        padding: 1.25rem .85rem;
    }

    .av-brand .avb-type-specimen>b {
        font-size: 7rem;
    }

    .av-brand .avb-system-board p {
        font-size: .75rem;
    }

    .av-brand .avb-mark-specimen .avb-graphic-mark {
        max-width: 105px;
    }

    .av-brand .avb-colour-specimen>div {
        min-height: 105px;
    }
}

@media (max-width: 359px) {
    .av-brand .avb-shell {
        width: calc(100% - 32px);
    }

    .av-brand .avb-heading h2,
    .av-brand .avb-direction h2 {
        font-size: 2.35rem;
    }

    .av-brand .avb-system-board {
        grid-template-columns: 1fr;
    }

    .av-brand .avb-system-board>div+div {
        border-left: 0;
        border-top: 1px solid #0a0a0a30;
    }

    .av-brand .avb-type-specimen {
        border-bottom: 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    .av-brand *,
    .av-brand *::before,
    .av-brand *::after {
        animation: none !important;
        transition: none !important;
    }

    .av-brand .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

@media (scripting: none) {
    .av-brand .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* ============================================================
   SLUŽBY / FOTOGRAFIA
   Fotografia.
   ============================================================ */

/* ===== PODSTRÁNKA FOTOGRAFIA — spoločný základ ===== */
.av-photo {
    background: var(--black);
}

.av-photo .avp-shell {
    width: 81.5%;
    max-width: 1560px;
    margin-inline: auto;
}

.av-photo .avp-section {
    padding: clamp(5rem, 8vw, 9rem) 0;
    scroll-margin-top: 100px;
}

.av-photo .avp-label {
    margin: 0 0 1.75rem;
    color: var(--primary-light);
    font: 500 .75rem/1.5 'Outfit', sans-serif;
    letter-spacing: .13em;
}

.av-photo .avp-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: end;
    gap: 4rem;
    margin-bottom: clamp(3rem, 5vw, 5rem);
}

.av-photo .avp-heading h2 {
    margin: 0;
    font: 500 clamp(2.65rem, 4.5vw, 5.25rem)/1.06 'Outfit', sans-serif;
    letter-spacing: -.045em;
}

.av-photo .avp-heading>p {
    justify-self: end;
    max-width: 28rem;
    margin: 0;
    color: #aaa;
    font-size: 1rem;
    line-height: 1.85;
}

.av-photo :is(a, summary):focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 6px;
}

.av-photo .animate-on-scroll:focus-within {
    opacity: 1;
    transform: none;
}

/* PRÍBEH V OBRAZOCH — asymetrický výber troch fotografií */
.av-photo .avp-photo-story {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(3rem, 7vw, 8rem) clamp(3rem, 8vw, 9rem);
    align-items: start;
}

.av-photo .avp-frame {
    margin: 0;
    min-width: 0;
}

.av-photo .avp-frame>a {
    display: block;
    overflow: hidden;
    background: var(--dark);
}

.av-photo .avp-frame img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .8s var(--transition-smooth);
}

.av-photo .avp-frame-portrait {
    grid-column: 2;
    grid-row: 1;
}

.av-photo .avp-frame-movement {
    grid-column: 1;
    grid-row: 1;
    margin-top: clamp(5rem, 14vw, 15rem);
}

.av-photo .avp-frame-stage {
    grid-column: 2;
    grid-row: 2;
    width: 82%;
    justify-self: end;
}

.av-photo .avp-story-note {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    max-width: 25rem;
}

.av-photo .avp-note-title {
    margin: 0 0 1.5rem;
    font: 400 clamp(2.2rem, 3.6vw, 4rem)/1.1 'Outfit', sans-serif;
    letter-spacing: -.04em;
}

.av-photo .avp-story-note>p:last-child {
    color: #aaa;
    font-size: .95rem;
    line-height: 1.85;
}

.av-photo .avp-frame figcaption {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem 1rem;
    padding-top: 1rem;
}

.av-photo .avp-frame figcaption>span {
    color: var(--primary-light);
    font: 500 .65rem/1.7 'Outfit', sans-serif;
    letter-spacing: .1em;
}

.av-photo .avp-frame figcaption>p {
    margin: 0;
    color: #aaa;
    font-size: .75rem;
}

.av-photo .avp-portfolio-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: clamp(3rem, 6vw, 6rem);
    padding-top: 2rem;
    border-top: 1px solid #ffffff30;
}

.av-photo .avp-portfolio-link>p {
    color: #999;
    font-size: .9rem;
    margin: 0;
}

.av-photo .avp-link {
    display: inline-flex;
    align-items: center;
    gap: 1.3rem;
    font: 500 1rem/1.4 'Outfit', sans-serif;
}

.av-photo .avp-link>span {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    height: 48px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    transition: background .3s ease, color .3s ease;
}

.av-photo .avp-link svg {
    transition: transform .3s ease;
}

/* ČO FOTÍME — svetlá sekcia a otvorené riadky */
.av-photo .avp-services {
    background: var(--off-white);
    color: var(--black);
}

.av-photo .avp-services .avp-label {
    color: var(--primary-dark);
}

.av-photo .avp-services .avp-heading>p {
    color: #626262;
}

.av-photo .avp-service {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr) auto;
    gap: 2rem;
    align-items: start;
    padding: clamp(2rem, 4vw, 4rem) 0;
    border-top: 1px solid #0a0a0a35;
}

.av-photo .avp-service:last-child {
    border-bottom: 1px solid #0a0a0a35;
}

.av-photo .avp-service::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--transition-smooth);
}

.av-photo .avp-service h3 {
    font-size: clamp(2rem, 3.6vw, 4rem);
    font-weight: 500;
    letter-spacing: -.04em;
    line-height: 1.1;
}

.av-photo .avp-service h4 {
    margin: .2rem 0 .85rem;
    font-weight: 500;
    font-size: 1.1rem;
}

.av-photo .avp-service p {
    max-width: 34rem;
    color: #626262;
    font-size: .95rem;
    line-height: 1.85;
}

.av-photo .avp-service-tag {
    padding-top: .5rem;
    font: 500 .65rem/1.5 'Outfit', sans-serif;
    letter-spacing: .11em;
    color: var(--primary-dark);
}

/* PRIEBEH FOTENIA — spoločný dizajn a hover so sekciou Dobrý web má úlohu */
.av-photo .avp-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ODOVZDANIE — rozsah a detaily fotenia */
.av-photo .avp-delivery {
    padding-top: clamp(1rem, 3vw, 3rem);
    isolation: isolate;
    overflow: hidden;
}

.av-photo .avp-delivery::before {
    content: '';
    position: absolute;
    z-index: -1;
    pointer-events: none;
    left: -20%;
    bottom: -35%;
    width: 130%;
    height: 110%;
    background: linear-gradient(125deg, var(--primary), var(--primary-light) 50%, var(--accent));
    filter: blur(90px);
    opacity: .14;
    transform: rotate(-12deg);
}

.av-photo .avp-details {
    max-width: 1100px;
    margin-inline: auto;
}

.av-photo .avp-details details {
    border-top: 1px solid #ffffff30;
}

.av-photo .avp-details details:last-child {
    border-bottom: 1px solid #ffffff30;
}

.av-photo .avp-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.6rem 0;
    cursor: pointer;
    list-style: none;
    font: 500 clamp(1.15rem, 1.9vw, 1.75rem)/1.35 'Outfit', sans-serif;
    transition: color .25s ease;
}

.av-photo .avp-details summary::-webkit-details-marker {
    display: none;
}

.av-photo .avp-details summary>span {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.av-photo .avp-details summary>span::before,
.av-photo .avp-details summary>span::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    width: 18px;
    height: 1px;
    background: currentColor;
}

.av-photo .avp-details summary>span::after {
    transform: rotate(90deg);
    transition: transform .25s ease;
}

.av-photo .avp-details details[open] summary>span::after {
    transform: rotate(0);
}

.av-photo .avp-details details[open] summary {
    color: var(--primary-light);
}

.av-photo .avp-details details>p {
    max-width: 65ch;
    margin: 0;
    padding: 0 2rem 2rem 0;
    color: #aaa;
    font-size: .95rem;
    line-height: 1.85;
}

.av-photo .avp-closing {
    margin: 3rem auto 0;
    max-width: 1100px;
    color: #999;
    font-size: .85rem;
}

/* INTERAKCIE — len na zariadeniach s myšou */
@media (hover: hover) and (pointer: fine) {
    .av-photo .avp-frame a:hover img {
        transform: scale(1.025);
    }

    .av-photo .avp-service:hover::before {
        transform: scaleX(1);
    }

    .av-photo .avp-link:hover>span {
        background: var(--accent);
        color: var(--black);
    }

    .av-photo .avp-link:hover svg {
        transform: rotate(-45deg);
    }

    .av-photo .avp-details summary:hover {
        color: var(--primary-light);
    }
}

/* RESPONZÍVNE ROZLOŽENIE — tablet a telefón */
@media (max-width: 1100px) {
    .av-photo .avp-heading {
        gap: 2.5rem;
    }

    .av-photo .avp-service {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    }

    .av-photo .avp-service-tag {
        grid-column: 2;
        padding: 0;
    }
}

@media (max-width: 900px) {
    .av-photo .avp-shell {
        width: calc(100% - 64px);
    }

    .av-photo .avp-heading {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .av-photo .avp-heading>p {
        justify-self: start;
        max-width: 38rem;
    }

    .av-photo .avp-photo-story {
        gap: 3rem 2rem;
    }

    .av-photo .avp-frame-stage {
        width: 100%;
    }

    .av-photo .avp-steps {
        gap: 1.75rem;
    }
}

@media (max-width: 767px) {
    .av-photo .avp-shell {
        width: calc(100% - 40px);
    }

    .av-photo .avp-section {
        padding-block: 4.5rem;
    }

    .av-photo .avp-label {
        font-size: .65rem;
        margin-bottom: 1.25rem;
    }

    .av-photo .avp-heading>p {
        font-size: .95rem;
    }

    .av-photo .avp-photo-story {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .av-photo .avp-frame-portrait,
    .av-photo .avp-frame-movement,
    .av-photo .avp-frame-stage,
    .av-photo .avp-story-note {
        grid-column: auto;
        grid-row: auto;
    }

    .av-photo .avp-frame-movement {
        margin-top: 0;
        width: 80%;
    }

    .av-photo .avp-frame-stage {
        width: 90%;
        justify-self: end;
    }

    .av-photo .avp-story-note {
        max-width: 30rem;
        padding-block: .5rem;
    }

    .av-photo .avp-note-title {
        font-size: 2.5rem;
    }

    .av-photo .avp-service {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .av-photo .avp-service h3 {
        font-size: 2.6rem;
    }

    .av-photo .avp-service-tag {
        grid-column: auto;
    }

    .av-photo .avp-steps {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .av-photo .avp-steps h3 {
        margin-top: 1.25rem;
        font-size: 1.8rem;
    }

    .av-photo .avp-delivery {
        padding-top: 1rem;
    }

    .av-photo .avp-details details>p {
        padding-right: 0;
    }
}

@media (max-width: 359px) {
    .av-photo .avp-shell {
        width: calc(100% - 32px);
    }

    .av-photo .avp-heading h2 {
        font-size: 2.3rem;
    }

    .av-photo .avp-link {
        font-size: .9rem;
        gap: .85rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .av-photo *,
    .av-photo *::before,
    .av-photo *::after {
        animation: none !important;
        transition: none !important;
    }

    .av-photo .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

@media (scripting: none) {
    .av-photo .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* ============================================================
   SLUŽBY / 3V1
   Kompletný balíček. Spoločné riadky služieb sú v base.css.
   ============================================================ */

/* ===== PODSTRÁNKA 3V1 — tri disciplíny, jeden projekt ===== */
.av-bundle {
    background: var(--black);
}

.av-bundle .av3-shell {
    width: 81.5%;
    max-width: 1560px;
    margin-inline: auto;
}

.av-bundle .av3-section {
    padding: clamp(5rem, 8vw, 9rem) 0;
    scroll-margin-top: 100px;
}

.av-bundle .av3-label {
    margin: 0 0 1.75rem;
    color: var(--accent);
    font: 500 .75rem/1.5 'Outfit', sans-serif;
    letter-spacing: .13em;
}

.av-bundle .av3-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: end;
    gap: 4rem;
    margin-bottom: clamp(3rem, 5vw, 5rem);
}

.av-bundle .av3-heading h2,
.av-bundle .av3-assurance h2 {
    margin: 0;
    font: 500 clamp(2.65rem, 4.5vw, 5.25rem)/1.06 'Outfit', sans-serif;
    letter-spacing: -.045em;
}

.av-bundle .av3-heading>p {
    justify-self: end;
    max-width: 28rem;
    margin: 0;
    color: #aaa;
    font-size: 1rem;
    line-height: 1.85;
}

.av-bundle :is(a, summary):focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 6px;
}

.av-bundle .animate-on-scroll:focus-within {
    opacity: 1;
    transform: none;
}

/* PREPOJENIE — otvorené typografické riadky, bez kariet */
.av-bundle .av3-result {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    margin-top: clamp(3rem, 5vw, 5rem);
}

.av-bundle .av3-result-mark {
    color: var(--accent);
    font: 500 clamp(5rem, 10vw, 10rem)/.85 'Outfit', sans-serif;
    letter-spacing: -.09em;
    white-space: nowrap;
}

.av-bundle .av3-result-mark>span {
    font-size: .6em;
    margin-inline: .06em;
}

.av-bundle .av3-result>p {
    font: 400 clamp(1.3rem, 2.3vw, 2.3rem)/1.3 'Outfit', sans-serif;
    letter-spacing: -.025em;
    margin: 0;
    color: #999;
}

.av-bundle .av3-result strong {
    color: var(--white);
    font-weight: 400;
}

.av-bundle .av3-text-link {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    width: fit-content;
    font: 500 .9rem/1.5 'Outfit', sans-serif;
    text-decoration: underline;
    text-underline-offset: .5em;
    text-decoration-color: #ffffff40;
    transition: color .25s, text-decoration-color .25s;
}

.av-bundle .av3-text-link>span {
    display: inline-flex;
    color: var(--accent);
}

/* PROCES — jedna priebežná línia, štyri spoločné kroky */
.av-bundle .av3-process {
    background: var(--off-white);
    color: var(--black);
}

.av-bundle .av3-process .av3-label {
    color: var(--primary-dark);
}

.av-bundle .av3-process .av3-heading>p {
    color: #626262;
}

.av-bundle .av3-process-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    padding: 0;
    margin: 0;
}

.av-bundle .av3-process-list>li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 2rem 0 0;
    border-top: 1px solid #0a0a0a40;
}

.av-bundle .av3-process-list>li+li {
    padding-left: 1.5rem;
}

.av-bundle .av3-process-list>li:last-child {
    padding-right: 0;
}

.av-bundle .av3-process-list>li:not(:last-child)::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    right: 1rem;
    top: -4.5px;
    border-top: 1px solid var(--primary-dark);
    border-right: 1px solid var(--primary-dark);
    transform: rotate(45deg);
}

.av-bundle .av3-step-number {
    color: var(--primary-dark);
    font: 400 clamp(3.8rem, 5vw, 6rem)/1 'Outfit', sans-serif;
    letter-spacing: -.065em;
    margin-bottom: 2.2rem;
}

.av-bundle .av3-process-list h3 {
    font: 500 clamp(1.35rem, 1.8vw, 2rem)/1.2 'Outfit', sans-serif;
    letter-spacing: -.025em;
    margin-bottom: 1rem;
}

.av-bundle .av3-process-list p {
    margin: 0 0 2rem;
    color: #626262;
    font-size: .9rem;
    line-height: 1.85;
}

.av-bundle .av3-step-output {
    margin-top: auto;
    color: var(--primary-dark);
    font: 500 .6rem/1.5 'Outfit', sans-serif;
    letter-spacing: .07em;
}

/* ROZSAH — ceny viditeľné, obsah otvorí návštevník */
.av-bundle .av3-packages {
    width: min(100%, 1100px);
    margin-inline: auto;
}

.av-bundle .av3-packages details {
    border-top: 1px solid #ffffff30;
}

.av-bundle .av3-packages details:last-child {
    border-bottom: 1px solid #ffffff30;
}

.av-bundle .av3-packages summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 18px;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    cursor: pointer;
    list-style: none;
}

.av-bundle .av3-packages summary::-webkit-details-marker {
    display: none;
}

.av-bundle .av3-package-title {
    font: 500 clamp(1.75rem, 3vw, 3rem)/1.15 'Outfit', sans-serif;
    letter-spacing: -.035em;
}

.av-bundle .av3-package-title>span {
    color: var(--accent);
}

.av-bundle .av3-package-title small {
    display: block;
    margin-top: .7rem;
    color: #999;
    font: 400 .85rem/1.5 'Inter', sans-serif;
    letter-spacing: 0;
}

.av-bundle .av3-package-price {
    font: 400 clamp(1.05rem, 1.8vw, 1.8rem)/1.3 'Outfit', sans-serif;
    white-space: nowrap;
}

.av-bundle .av3-packages summary>i {
    position: relative;
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.av-bundle .av3-packages summary>i::before,
.av-bundle .av3-packages summary>i::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    width: 18px;
    height: 1px;
    background: currentColor;
}

.av-bundle .av3-packages summary>i::after {
    transform: rotate(90deg);
    transition: transform .25s;
}

.av-bundle .av3-packages details[open] summary>i::after {
    transform: rotate(0);
}

.av-bundle .av3-packages details[open] .av3-package-price {
    color: var(--accent);
}

.av-bundle .av3-package-body {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 2rem;
    padding: 0 3.2rem 2rem 0;
}

.av-bundle .av3-package-body ul {
    padding-left: 1.1rem;
    color: #bbb;
    font-size: .93rem;
    line-height: 2;
}

.av-bundle .av3-package-body li::marker {
    color: var(--primary-light);
}

.av-bundle .av3-scope-note {
    max-width: 1100px;
    margin: 2rem auto 0;
    color: #999;
    font-size: .85rem;
    line-height: 1.8;
}

/* ISTOTA — známy tlmený gradient, žiadne nové vizuálne efekty */
.av-bundle .av3-assurance-group {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--black);
}

.av-bundle .av3-assurance-group::before {
    content: '';
    position: absolute;
    z-index: -1;
    pointer-events: none;
    left: -20%;
    bottom: -20%;
    width: 130%;
    height: 65%;
    background: linear-gradient(125deg, var(--primary), var(--primary-light) 50%, var(--accent));
    filter: blur(90px);
    opacity: .16;
    transform: rotate(-12deg);
}

.av-bundle .av3-section.av3-assurance {
    padding-top: clamp(3.5rem, 6.5vw, 7.5rem);
}

.av-bundle .av3-assurance-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(3rem, 6vw, 7rem);
}

.av-bundle .av3-assurance h2>span {
    color: var(--accent);
}

.av-bundle .av3-assurance-layout>div>p {
    margin: 0 0 1.5rem;
    color: #cecece;
    font-size: 1.1rem;
    line-height: 1.85;
}

.av-bundle .av3-assurance-layout>div>.av3-assurance-note {
    color: #a1a1a1;
    font-size: .88rem;
    margin-bottom: 2rem;
}

.av-bundle .av3-link {
    display: inline-flex;
    align-items: center;
    gap: 1.3rem;
    font: 500 1rem/1.4 'Outfit', sans-serif;
}

.av-bundle .av3-link>span {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    height: 48px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    transition: background .3s, color .3s;
}

.av-bundle .av3-link svg {
    transition: transform .3s;
}

/* INTERAKCIE A RESPONZÍVNE ROZLOŽENIE */
@media (hover: hover) and (pointer: fine) {
    .av-bundle .av3-link:hover>span {
        background: var(--accent);
        color: var(--black);
    }

    .av-bundle .av3-link:hover svg {
        transform: rotate(-45deg);
    }

    .av-bundle .av3-text-link:hover {
        color: var(--accent);
        text-decoration-color: var(--accent);
    }

    .av-bundle .av3-packages summary:hover .av3-package-price {
        color: var(--accent);
    }
}

@media (max-width: 1100px) {
    .av-bundle .av3-heading {
        gap: 2.5rem;
    }

    .av-bundle .av3-process-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3rem 0;
    }

    .av-bundle .av3-process-list>li:nth-child(3) {
        padding-left: 0;
    }

    .av-bundle .av3-process-list>li:nth-child(2) {
        padding-right: 0;
    }

    .av-bundle .av3-process-list>li:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 900px) {
    .av-bundle .av3-shell {
        width: calc(100% - 64px);
    }

    .av-bundle .av3-heading,
    .av-bundle .av3-assurance-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .av-bundle .av3-heading>p {
        justify-self: start;
        max-width: 38rem;
    }

    .av-bundle .av3-result {
        grid-template-columns: auto 1fr;
        gap: 2rem;
    }

    .av-bundle .av3-result>a {
        grid-column: 2;
    }

    .av-bundle .av3-package-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .av-bundle .av3-shell {
        width: calc(100% - 40px);
    }

    .av-bundle .av3-section {
        padding-block: 4.5rem;
    }

    .av-bundle .av3-label {
        font-size: .65rem;
        margin-bottom: 1.25rem;
    }

    .av-bundle .av3-heading>p {
        font-size: .95rem;
    }

    .av-bundle .av3-process-list {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .av-bundle .av3-process-list>li,
    .av-bundle .av3-process-list>li+li {
        padding: 1.5rem 0 0;
    }

    .av-bundle .av3-process-list>li::after {
        display: none;
    }

    .av-bundle .av3-step-number {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }

    .av-bundle .av3-process-list h3 {
        font-size: 1.7rem;
    }

    .av-bundle .av3-packages summary {
        gap: .9rem;
        padding-block: 1.5rem;
    }

    .av-bundle .av3-package-title small {
        font-size: .75rem;
    }

    .av-bundle .av3-package-body {
        padding-right: 0;
    }
}

@media (max-width: 479px) {
    .av-bundle .av3-result {
        column-gap: 1.5rem;
    }

    .av-bundle .av3-result-mark {
        font-size: 5rem;
    }

    .av-bundle .av3-result>a {
        grid-column: 1 / -1;
    }

    .av-bundle .av3-packages summary {
        grid-template-columns: minmax(0, 1fr) 18px;
    }

    .av-bundle .av3-package-title {
        grid-column: 1;
    }

    .av-bundle .av3-package-price {
        grid-column: 1;
        grid-row: 2;
    }

    .av-bundle .av3-packages summary>i {
        grid-column: 2;
        grid-row: 1 / 3;
    }
}

@media (max-width: 359px) {
    .av-bundle .av3-shell {
        width: calc(100% - 32px);
    }

    .av-bundle .av3-heading h2,
    .av-bundle .av3-assurance h2 {
        font-size: 2.3rem;
    }

    .av-bundle .av3-link {
        font-size: .9rem;
        gap: .8rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .av-bundle *,
    .av-bundle *::before,
    .av-bundle *::after {
        animation: none !important;
        transition: none !important;
    }

    .av-bundle .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

@media (scripting: none) {
    .av-bundle .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* 3v1 — portfolio CTA on dark background and a white decision section. */
.av-bundle .av3-result {
    --av-work-cta-color: var(--white);
}

.av-bundle .av3-fit {
    background: var(--white);
    color: var(--black);
}

.av-bundle .av3-fit .av3-label {
    color: var(--primary-dark);
}

.av-bundle .av3-fit .av3-heading>p {
    color: #626262;
}

.av-bundle .av3-fit-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 5rem);
    padding: clamp(2rem, 3.5vw, 3.5rem) 0;
    border-top: 1px solid #0a0a0a30;
}

.av-bundle .av3-fit-row::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .55s var(--transition-smooth);
}

.av-bundle .av3-fit-row:hover::before,
.av-bundle .av3-fit-row:focus-within::before {
    transform: scaleX(1);
}

.av-bundle .av3-fit-row:last-child {
    border-bottom: 1px solid #0a0a0a30;
}

.av-bundle .av3-fit-row h3 {
    margin: 0;
    font: 600 clamp(1.9rem, 3.2vw, 3.5rem)/1.1 'Outfit', sans-serif;
    letter-spacing: -.04em;
}

.av-bundle .av3-fit-row p {
    margin: 0;
    max-width: 36rem;
    font: 400 1rem/1.8 'Inter', sans-serif;
    color: #626262;
}

@media (max-width: 767px) {
    .av-bundle .av3-fit-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
