/* Pavone & Figli — custom overrides on top of Archiz base */

:root {
    --pf-ink: #111111;
    --pf-muted: #5c5c5c;
    --pf-border: #e4e1dc;
    --pf-bg: #fdfcfb;
}

/* Preloader: simbolo del marchio (bianco su nero) con dissolvenza lenta. */
.pf-loader-wrap {
    position: fixed;
    inset: 0;
    z-index: 999999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
}

.pf-loader-wrap .pf-loader-mark {
    display: block;
    width: clamp(72px, 9vw, 100px);
    height: auto;
    filter: brightness(0) invert(1);
    animation: pf-loader-mark 1.1s ease-in-out infinite alternate;
}

@keyframes pf-loader-mark {
    0% {
        opacity: 0.25;
    }

    100% {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pf-loader-wrap .pf-loader-mark {
        animation: none;
    }
}

.pf-loader-wrap.pf-loader-hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

/* Header — logo image sized to fit the 80px Archiz nav bar */
.header-area .header-inner-box .logo img {
    width: 175px;
    height: auto;
    display: block;
}

/* Hero — pixel-perfect reproduction of Figma frame 1920x760, node 23:1746 */
#hero-1 {
    padding: 60px 0 0;
}

.pf-hero-canvas {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    aspect-ratio: 1920 / 760;
    container-type: inline-size;
}

/* Keep the hero composition centred in the 1920×760 canvas. */
.pf-hero-canvas > .pf-hero-subtitle,
.pf-hero-canvas > .pf-hero-title,
.pf-hero-canvas > .pf-hero-desc,
.pf-hero-canvas > .pf-hero-sketch,
.pf-hero-canvas > .pf-hero-btn {
    transform: translateY(6.45cqw);
}

.pf-hero-subtitle {
    position: absolute;
    left: 16.8229%;
    top: 5.9211%;
    width: 14.1146%;
    height: 4.7368%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1px solid #000;
    background: #fff;
    color: #000;
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 0.78125cqw;
    letter-spacing: 0.0625cqw;
    text-transform: uppercase;
    text-align: center;
    line-height: normal;
}

#hero-1 .pf-hero-canvas h1.pf-hero-title {
    position: absolute;
    left: 16.8229%;
    top: 13.8158%;
    width: 36.7708%;
    margin: 0;
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 4.6875cqw;
    line-height: 1.005;
    color: #000;
    word-break: break-word;
}

#hero-1 .pf-hero-canvas p.pf-hero-desc {
    position: absolute;
    left: 16.8229%;
    top: 54.6053%;
    width: 34.5313%;
    margin: 0;
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 1.6667cqw;
    line-height: normal;
    color: #000;
}

.pf-hero-sketch {
    position: absolute;
    left: 54.3229%;
    top: 2.3684%;
    width: 32.6042%;
    height: 53.1579%;
    overflow: hidden;
    margin: 0;
}

.pf-hero-sketch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    mix-blend-mode: multiply;
}

.pf-hero-btn {
    position: absolute;
    left: 63.8542%;
    top: 58.8158%;
    width: 13.5714%;
    height: 6.3158%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1px solid #000;
    background: #fff;
    color: #000;
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 0.8333cqw;
    letter-spacing: 0.05cqw;
    text-transform: uppercase;
    transition: 0.3s;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    line-height: normal;
}

.pf-hero-btn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

@media (max-width: 991.98px) {
    .pf-hero-canvas > .pf-hero-subtitle,
    .pf-hero-canvas > .pf-hero-title,
    .pf-hero-canvas > .pf-hero-desc,
    .pf-hero-canvas > .pf-hero-sketch,
    .pf-hero-canvas > .pf-hero-btn {
        transform: none;
    }

    .pf-hero-canvas {
        aspect-ratio: auto;
        height: auto;
        container-type: normal;
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 100px 15px 60px;
    }

    .pf-hero-subtitle,
    #hero-1 .pf-hero-canvas h1.pf-hero-title,
    #hero-1 .pf-hero-canvas p.pf-hero-desc,
    .pf-hero-sketch,
    .pf-hero-btn {
        position: static;
        width: auto;
        height: auto;
    }

    .pf-hero-subtitle {
        align-self: flex-start;
        padding: 10px 24px;
        font-size: 12px;
        letter-spacing: 1px;
    }

    #hero-1 .pf-hero-canvas h1.pf-hero-title {
        font-size: 48px;
    }

    #hero-1 .pf-hero-canvas p.pf-hero-desc {
        font-size: 18px;
    }

    .pf-hero-sketch {
        order: 2;
        aspect-ratio: 626 / 404;
    }

    .pf-hero-btn {
        order: 3;
        align-self: flex-start;
        padding: 14px 32px;
        font-size: 14px;
    }
}

/* Hero slider — image gallery right below the hero, uses theme's .img-slider-4 owl-carousel init */
.pf-hero-slider-wrap {
    width: 100%;
    padding: 0 15px;
    margin-top: 60px;
}

.pf-hero-slider .single-img-wrap img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    display: block;
}

@media (max-width: 767px) {
    .pf-hero-slider .single-img-wrap img {
        height: 380px;
    }
}

/* Service Section — pixel-perfect reproduction of Figma frame 1920x1085, node 28:5 */
.pf-services-canvas {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    aspect-ratio: 1920 / 1085;
    container-type: inline-size;
}

#service-1.pf-services-canvas h2.pf-services-headline {
    position: absolute;
    left: 16.8229%;
    top: 14.3779%;
    width: 66.6146%;
    margin: 0;
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 2.34375cqw;
    line-height: 1.202;
    color: #000;
}

#service-1.pf-services-canvas a.pf-services-link {
    position: absolute;
    left: 64.4271%;
    top: 39.4470%;
    width: 18.75%;
    height: 5.4378%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #000;
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 1.04167cqw;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    padding: 0 0.83333cqw;
    transition: 0.3s;
    cursor: pointer;
}

#service-1.pf-services-canvas a.pf-services-link:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

#service-1.pf-services-canvas a.pf-services-link i {
    font-size: 1.7708cqw;
    transition: 0.3s;
}

.pf-service-divider {
    position: absolute;
    top: 50.8756%;
    width: 19.2708%;
    height: 2.4885%;
    box-sizing: border-box;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.pf-service-divider span {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 0.78125cqw;
    color: #0a0000;
}

.pf-service-icon {
    position: absolute;
    top: 55.3917%;
    width: 2.6042%;
    height: 4.6083%;
}

.pf-service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.pf-service-textblock {
    position: absolute;
    top: 55.2074%;
    width: 14.4531%;
}

.pf-service-title {
    display: block;
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: 1.25cqw;
    line-height: 1;
    letter-spacing: -0.05208cqw;
    color: #212529;
    margin-bottom: 0.83333cqw;
}

.pf-service-desc {
    margin: 0;
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 0.885417cqw;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.5);
}

.pf-service-list {
    position: absolute;
    top: 67.2811%;
    width: 14.4531%;
    margin: 0;
    padding-left: 1.328125cqw;
    list-style: disc outside;
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 0.885417cqw;
    line-height: 1.53;
    color: #212529;
}

.pf-service-list li {
    display: list-item;
}

.pf-service-divider-1,
.pf-service-icon-1 {
    left: 16.875%;
}

.pf-service-textblock-1 {
    left: 21.6927%;
}

.pf-service-list-1 {
    left: 21.1979%;
}

.pf-service-divider-2,
.pf-service-icon-2 {
    left: 40.5729%;
}

.pf-service-textblock-2 {
    left: 45.3906%;
}

.pf-service-list-2 {
    left: 45.0521%;
}

.pf-service-divider-3,
.pf-service-icon-3 {
    left: 63.75%;
}

.pf-service-textblock-3 {
    left: 68.5677%;
}

.pf-service-list-3 {
    left: 68.0729%;
}

@media (max-width: 991.98px) {
    .pf-services-canvas {
        aspect-ratio: auto;
        height: auto;
        container-type: normal;
        display: flex;
        flex-direction: column;
        padding: 60px 15px;
        gap: 16px;
    }

    #service-1.pf-services-canvas h2.pf-services-headline {
        position: static;
        width: auto;
        font-size: 32px;
        order: 1;
    }

    #service-1.pf-services-canvas a.pf-services-link {
        position: static;
        width: auto;
        height: auto;
        align-self: flex-start;
        padding: 12px 0;
        font-size: 14px;
        order: 2;
        margin-bottom: 16px;
    }

    #service-1.pf-services-canvas a.pf-services-link i {
        font-size: 18px;
        margin-left: 16px;
    }

    .pf-service-divider {
        position: static;
        width: auto;
        margin-bottom: 12px;
    }

    .pf-service-divider span {
        font-size: 13px;
    }

    .pf-service-icon {
        position: static;
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }

    .pf-service-textblock {
        position: static;
        width: auto;
        margin-bottom: 12px;
    }

    .pf-service-title {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .pf-service-desc {
        font-size: 16px;
    }

    .pf-service-list {
        position: static;
        width: auto;
        padding-left: 20px;
        font-size: 15px;
        margin-bottom: 32px;
    }

    .pf-service-divider-1,
    .pf-service-icon-1,
    .pf-service-textblock-1,
    .pf-service-list-1 {
        left: auto;
    }

    .pf-service-divider-2,
    .pf-service-icon-2,
    .pf-service-textblock-2,
    .pf-service-list-2 {
        left: auto;
    }

    .pf-service-divider-3,
    .pf-service-icon-3,
    .pf-service-textblock-3,
    .pf-service-list-3 {
        left: auto;
    }
}

/* Category grid */
.pf-category-grid-section {
    background: #fff;
}

.pf-category-grid-section.section-padding {
    padding-bottom: 0;
}

.pf-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(50vh, 1fr);
    width: 100%;
    min-height: 100vh;
    border-top: 1px solid var(--pf-border);
}

.pf-category-tile {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: end;
    padding: clamp(24px, 3vw, 56px);
    overflow: hidden;
    border-right: 1px solid var(--pf-border);
    border-bottom: 1px solid var(--pf-border);
    color: var(--pf-ink);
    text-decoration: none;
    background: #111;
}

.pf-category-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--pf-category-image);
    background-size: cover;
    background-position: center;
    transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1),
                filter 0.3s ease;
}

.pf-category-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 25%, rgba(0, 0, 0, 0.58) 100%);
    transition: background 0.3s ease;
}

.pf-category-tile:nth-child(7) {
    grid-column: span 2;
}

.pf-category-name {
    position: relative;
    z-index: 1;
    max-width: 220px;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.1;
    color: #fff;
}

.pf-category-tile:hover::before,
.pf-category-tile:focus-visible::before {
    filter: grayscale(1);
    transform: scale(1.06);
}

.pf-category-tile:hover::after,
.pf-category-tile:focus-visible::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.16) 20%, rgba(0, 0, 0, 0.7) 100%);
}

.pf-category-tile:focus-visible {
    outline: 1px dashed var(--pf-muted);
    outline-offset: -8px;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .pf-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: minmax(42vh, 1fr);
    }

    .pf-category-tile:nth-child(7) {
        grid-column: span 2;
    }

    .pf-category-tile {
        min-height: 42vh;
    }
}

@media (max-width: 767px) {
    .pf-category-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(360px, 1fr);
        min-height: auto;
    }

    .pf-category-tile,
    .pf-category-tile:nth-child(7) {
        grid-column: auto;
        min-height: 360px;
    }

    .pf-category-name {
        font-size: 22px;
    }
}

/* About section: vertical stat list inspired by the Archiz reference counter column. */
.pf-about-stats {
    width: 100%;
    display: grid;
    gap: 34px;
    padding-left: 46px;
    border-left: 1px solid var(--pf-border);
}

.pf-stat-value {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    line-height: 0.85;
}

.pf-stat-row {
    display: grid;
    grid-template-columns: 128px minmax(90px, 1fr);
    align-items: center;
    column-gap: 18px;
    min-width: 0;
}

.pf-stat-row span.num {
    font-size: 90px;
}

.pf-stat-row span.operator {
    font-size: 68px;
    line-height: 0.95;
}

.pf-stat-row p.title {
    max-width: 130px;
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
    color: var(--pf-muted);
}

.pf-experience-counter p.title {
    max-width: 120px;
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .pf-about-stats {
        padding-left: 28px;
    }

    .pf-stat-row {
        grid-template-columns: 96px minmax(70px, 1fr);
        column-gap: 14px;
    }

    .pf-stat-row span.num {
        font-size: 72px;
    }

    .pf-stat-row span.operator {
        font-size: 54px;
    }

    .pf-stat-row p.title {
        font-size: 12px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .pf-about-stats {
        gap: 24px;
        padding-left: 24px;
    }

    .pf-stat-row {
        grid-template-columns: 74px minmax(58px, 1fr);
        column-gap: 12px;
    }

    .pf-stat-row span.num {
        font-size: 54px;
    }

    .pf-stat-row span.operator {
        font-size: 40px;
    }

    .pf-stat-row p.title {
        font-size: 11px;
    }
}

@media (max-width: 767px) {
    .pf-about-stats {
        max-width: 420px;
        margin: 0 auto;
        padding-left: 24px;
        text-align: left;
    }

    .pf-stat-row {
        grid-template-columns: 118px minmax(100px, 1fr);
        column-gap: 18px;
    }

    .pf-stat-row span.num {
        font-size: 82px;
    }

    .pf-stat-row span.operator {
        font-size: 58px;
    }
}

/* Homepage services list — hover-reveal rows (sprite icons via <use>) */
.pf-icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.pf-services-layout {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.pf-services-media {
    position: sticky;
    top: 140px;
    flex: 0 0 340px;
    width: 340px;
    aspect-ratio: 420 / 260;
    border-radius: 160px 24px 160px 24px;
    overflow: hidden;
    background: var(--pf-border);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.pf-services-media.is-visible {
    opacity: 1;
}

.pf-services-media-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pf-services-media-img.is-active {
    opacity: 1;
    transform: scale(1);
}

.pf-services-list {
    flex: 1 1 auto;
    min-width: 0;
    border-top: 1px solid var(--pf-border);
}

.pf-services-row {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 16px;
    padding: 22px 0;
    border-bottom: 1px solid var(--pf-border);
    cursor: pointer;
    outline: none;
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pf-services-row.is-active {
    padding: 30px 0;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.pf-services-row-left {
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex: 0 0 auto;
}

.pf-services-title {
    margin: 0;
    font-size: clamp(24px, 2.2vw, 34px);
    font-weight: 500;
    color: var(--pf-muted);
    text-decoration: none;
    text-underline-offset: 10px;
    transition: color 0.35s ease;
}

.pf-services-row.is-active .pf-services-title {
    color: var(--pf-ink);
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

.pf-services-details {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: var(--pf-ink);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.pf-services-details svg {
    width: 13px;
    height: 13px;
    stroke: var(--pf-ink);
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf-services-row.is-active .pf-services-details {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.pf-services-progress,
.pf-services-desc,
.pf-services-tag,
.pf-services-index {
    flex: 0 0 0;
    width: 0;
    max-width: 0;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    white-space: nowrap;
    pointer-events: none;
    transition: opacity 0.25s ease;
    transition-delay: 0s;
}

.pf-services-row.is-active .pf-services-progress,
.pf-services-row.is-active .pf-services-desc,
.pf-services-row.is-active .pf-services-tag,
.pf-services-row.is-active .pf-services-index {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.25s ease 0.1s;
}

.pf-services-progress {
    position: relative;
    height: 1px;
    background: var(--pf-border);
}

.pf-services-row.is-active .pf-services-progress {
    flex: 0 0 50px;
    width: 50px;
    max-width: 50px;
    max-height: 1px;
    overflow: visible;
}

.pf-services-dot {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pf-ink);
    transform: translate(-50%, -50%);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pf-services-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--pf-muted);
}

.pf-services-row.is-active .pf-services-desc {
    flex: 1 1 180px;
    width: auto;
    max-width: 300px;
    max-height: 66px;
    overflow: visible;
    white-space: normal;
}

.pf-services-tag {
    padding: 5px 16px;
    border: 1px solid var(--pf-ink);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pf-ink);
}

.pf-services-row.is-active .pf-services-tag {
    flex: 0 0 auto;
    width: auto;
    max-width: 200px;
    max-height: 30px;
    overflow: visible;
}

.pf-services-index {
    font-family: 'Jost', sans-serif;
    font-style: italic;
    font-size: 13px;
    color: var(--pf-muted);
}

.pf-services-row.is-active .pf-services-index {
    flex: 0 0 auto;
    width: auto;
    max-width: 80px;
    max-height: 30px;
    overflow: visible;
}

.pf-services-index b {
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    color: var(--pf-ink);
}

@media (max-width: 1199px) {
    .pf-services-media {
        flex-basis: 260px;
        width: 260px;
    }

    .pf-services-desc {
        display: none;
    }
}

@media (max-width: 991px) {
    .pf-services-layout {
        flex-direction: column;
        gap: 30px;
    }

    .pf-services-media {
        position: static;
        width: 100%;
        flex-basis: auto;
        max-width: 340px;
    }

    .pf-services-list {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .pf-services-desc,
    .pf-services-tag,
    .pf-services-index {
        flex-basis: 100%;
    }

    .pf-services-progress {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pf-services-row,
    .pf-services-title,
    .pf-services-details,
    .pf-services-progress,
    .pf-services-dot,
    .pf-services-desc,
    .pf-services-tag,
    .pf-services-index,
    .pf-services-media-img {
        transition: none !important;
    }
}

/* Footer CTA */
.footer-section {
    min-height: 72vh;
    display: flex;
    align-items: center;
    background: #fff;
    padding-top: 100px !important;
    padding-bottom: 100px !important;
    text-align: left !important;
}

.footer-section .container {
    max-width: 1280px;
}

.footer-section .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: center;
    gap: clamp(56px, 8vw, 140px);
    width: 100%;
}

.footer-title {
    width: 100%;
}

.footer-title span.subtitle {
    display: block;
    margin-bottom: 28px;
    padding-left: 32px;
    font-size: 16px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    position: relative;
}

.footer-title span.subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 18px;
    height: 1px;
    background: var(--pf-ink);
}

.footer-title span.title {
    max-width: 820px;
    margin: 0;
    font-size: clamp(70px, 6.9vw, 118px);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.footer-title p {
    max-width: 520px;
    margin: 28px 0 0;
    color: var(--pf-ink);
    font-size: 18px;
    line-height: 1.55;
}

.footer-title .footer-link {
    margin-top: 40px;
}

.footer-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    align-items: start;
    margin: 58px 0 0;
    text-align: left;
}

.single-info {
    width: 100%;
    flex: unset;
    padding-left: 34px;
}

.single-info span.title {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1;
}

.single-info span.title::before {
    left: -34px;
    width: 20px;
}

.single-info span:not(.title) {
    font-size: 16px;
    line-height: 1.55;
    color: var(--pf-muted);
}

.single-info span.bold-text,
.single-info span.bold-text a {
    font-size: 16px;
    font-weight: 400;
    color: var(--pf-ink);
}

.footer-link .bordered-btn {
    min-width: 288px;
    justify-content: center;
    padding: 22px 40px;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .footer-section {
        min-height: auto;
        padding-top: 82px !important;
        padding-bottom: 82px !important;
    }

    .footer-section .row {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-title span.title {
        font-size: clamp(72px, 11vw, 96px);
    }

    .footer-info {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px;
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .footer-section {
        min-height: auto;
        padding-top: 70px !important;
        padding-bottom: 64px !important;
    }

    .footer-section .row {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .footer-title span.subtitle {
        margin-bottom: 22px;
        font-size: 13px;
    }

    .footer-title span.title {
        font-size: clamp(48px, 15vw, 68px);
        line-height: 1;
    }

    .footer-title p {
        font-size: 16px;
    }

    .footer-info {
        width: min(100%, 360px);
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 0;
    }

    .footer-link,
    .footer-link .bordered-btn {
        width: min(100%, 360px);
    }
}

/* Services — editorial list inspired by the Optik reference. */
.pf-services-section {
    padding: 110px 0 120px !important;
}

.pf-optik-services-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 305px minmax(220px, .62fr);
    gap: clamp(32px, 6vw, 110px);
    align-items: start;
    margin-bottom: 74px;
}

.pf-optik-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pf-optik-eyebrow::before {
    width: 8px;
    height: 8px;
    border: 1px solid currentColor;
    border-radius: 50%;
    content: '';
}

.pf-optik-services-intro h2 {
    margin: 0;
    font-size: clamp(42px, 4.35vw, 76px);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.045em;
}

.pf-optik-services-intro > img {
    width: 100%;
    aspect-ratio: 1 / .8;
    object-fit: cover;
    border-radius: 8px;
}

.pf-optik-services-intro > p {
    max-width: 290px;
    margin: 0;
    padding-top: 18px;
    font-size: 17px;
    line-height: 1.5;
}

.pf-services-layout {
    position: relative;
    display: block;
}

.pf-services-list {
    width: 100%;
}

.pf-services-media,
.pf-services-media.is-visible {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 48%;
    width: min(304px, 28vw);
    aspect-ratio: 1;
    margin: 0;
    border-radius: 8px;
    opacity: 0;
    transform: translate(-50%, -50%) rotate(3deg);
    transition: opacity .25s ease, transform .3s ease;
}

.pf-services-layout:has(.pf-services-row:hover) .pf-services-media,
.pf-services-layout:has(.pf-services-row:focus) .pf-services-media {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0);
}

.pf-services-row,
.pf-services-row.is-active {
    display: grid;
    grid-template-columns: 90px minmax(240px, 1fr) minmax(200px, 300px) auto;
    gap: 24px;
    align-items: center;
    padding: 28px 20px;
    transition: background .25s ease, border-radius .25s ease;
}

.pf-services-row:hover,
.pf-services-row:focus,
.pf-services-row.is-active:hover {
    border-radius: 10px;
    background: #f3f2ef;
}

.pf-services-row-left,
.pf-services-row.is-active .pf-services-row-left {
    display: block;
    min-width: 0;
}

.pf-services-title,
.pf-services-row.is-active .pf-services-title {
    color: #111;
    font-size: clamp(25px, 2.1vw, 37px);
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
}

.pf-services-details,
.pf-services-row.is-active .pf-services-details {
    margin-top: 9px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.pf-services-progress { display: none; }

.pf-services-desc,
.pf-services-row.is-active .pf-services-desc {
    width: auto;
    min-width: 0;
    max-width: none;
    max-height: none;
    margin: 0;
    overflow: visible;
    opacity: 1;
    font-size: 15px;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: break-word;
}

.pf-services-tag,
.pf-services-row.is-active .pf-services-tag {
    width: auto;
    max-width: none;
    max-height: none;
    overflow: visible;
    opacity: 1;
    white-space: nowrap;
    justify-self: end;
}

.pf-services-index,
.pf-services-row.is-active .pf-services-index {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    max-width: none;
    max-height: none;
    opacity: 1;
    color: transparent;
    font-size: 0;
    -webkit-text-stroke: 1px #1d1d1d;
}

.pf-services-index b {
    color: transparent;
    font-size: clamp(40px, 4vw, 62px);
    font-weight: 500;
}

@media (max-width: 991.98px) {
    .pf-optik-services-intro { grid-template-columns: 1fr 1fr; }
    .pf-optik-services-intro > p { grid-column: 1 / -1; }
    .pf-services-media { display: none; }
    .pf-services-row,
    .pf-services-row.is-active { grid-template-columns: 72px minmax(0, 1fr) auto; }
    .pf-services-desc,
    .pf-services-row.is-active .pf-services-desc { grid-column: 2 / -1; }
}

@media (max-width: 767px) {
    .pf-services-section { padding: 72px 0 !important; }
    .pf-optik-services-intro { display: flex; flex-direction: column; margin-bottom: 46px; }
    .pf-optik-services-intro > img { width: min(100%, 380px); }
    .pf-services-row,
    .pf-services-row.is-active { grid-template-columns: 54px minmax(0, 1fr); gap: 16px; padding: 24px 0; }
    .pf-services-tag,
    .pf-services-row.is-active .pf-services-tag { display: none; }
    .pf-services-index b { font-size: 38px; }
}

/* Homepage services: full-width list without the editorial introduction. */
.pf-services-section {
    padding-top: 90px !important;
}

.pf-services-section .container {
    width: 100%;
    max-width: none;
    padding-right: clamp(24px, 5vw, 96px);
    padding-left: clamp(24px, 5vw, 96px);
}

.pf-services-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 304px);
    gap: clamp(34px, 5vw, 84px);
    align-items: start;
}

.pf-services-media,
.pf-services-media.is-visible {
    display: block;
    position: sticky;
    grid-column: 2;
    grid-row: 1;
    top: 130px;
    width: 100%;
    aspect-ratio: 1;
    margin: 0;
    opacity: 1;
    transform: none;
    border-radius: 8px;
}

.pf-services-list {
    grid-column: 1;
    width: 100%;
}

@media (max-width: 991.98px) {
    .pf-services-layout { display: block; }
    .pf-services-media { display: none; }
}

/* Stability reset: preserve the existing service-list behaviour and avoid
   overlapping elements at every viewport size. */
.pf-services-layout {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.pf-services-media,
.pf-services-media.is-visible {
    position: sticky;
    z-index: auto;
    top: 140px;
    left: auto;
    flex: 0 0 340px;
    width: 340px;
    aspect-ratio: 420 / 260;
    margin: 0;
    border-radius: 160px 24px 160px 24px;
    opacity: 0;
    transform: none;
}

.pf-services-media.is-visible { opacity: 1; }
.pf-services-layout:has(.pf-services-row:hover) .pf-services-media,
.pf-services-layout:has(.pf-services-row:focus) .pf-services-media { transform: none; }

.pf-services-list { flex: 1 1 auto; min-width: 0; }

.pf-services-row,
.pf-services-row.is-active {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px 16px;
    padding: 22px 0;
    border-radius: 0;
    background: transparent;
}

.pf-services-row.is-active { padding: 30px 0; flex-wrap: nowrap; justify-content: space-between; }
.pf-services-row:hover,
.pf-services-row:focus,
.pf-services-row.is-active:hover { background: transparent; }

.pf-services-row-left,
.pf-services-row.is-active .pf-services-row-left { display: flex; align-items: baseline; gap: 16px; }
.pf-services-title,
.pf-services-row.is-active .pf-services-title { color: var(--pf-muted); font-size: clamp(24px, 2.2vw, 34px); line-height: normal; }
.pf-services-row.is-active .pf-services-title { color: var(--pf-ink); text-decoration: underline; text-decoration-thickness: 1px; }
.pf-services-details { margin-top: 0; opacity: 0; transform: translateX(-8px); pointer-events: none; }
.pf-services-row.is-active .pf-services-details { opacity: 1; transform: none; pointer-events: auto; }
.pf-services-progress { display: block; }
.pf-services-desc,
.pf-services-tag,
.pf-services-index { width: 0; max-width: 0; max-height: 0; overflow: hidden; opacity: 0; }
.pf-services-row.is-active .pf-services-desc { flex: 1 1 180px; width: auto; max-width: 300px; max-height: 66px; margin: 0; overflow: visible; opacity: 1; font-size: 15px; line-height: 1.5; }
.pf-services-row.is-active .pf-services-tag { flex: 0 0 auto; width: auto; max-width: 200px; max-height: 30px; overflow: visible; opacity: 1; }
.pf-services-index,
.pf-services-row.is-active .pf-services-index { grid-column: auto; grid-row: auto; color: var(--pf-muted); font-size: 13px; -webkit-text-stroke: 0; }
.pf-services-row.is-active .pf-services-index { flex: 0 0 auto; width: auto; max-width: 80px; max-height: 30px; opacity: 1; overflow: visible; }
.pf-services-index b { color: var(--pf-ink); font-size: 18px; font-weight: 600; }

@media (max-width: 991.98px) {
    .pf-services-layout { display: block; }
    .pf-services-media { display: none; }
    .pf-services-row.is-active { flex-wrap: wrap; }
}

/* Optik services layout — keep the editorial composition, with the image in
   its own grid column so that it never clips or sits above the service copy. */
.pf-services-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 304px);
    gap: clamp(34px, 5vw, 84px);
    align-items: start;
}

.pf-services-media,
.pf-services-media.is-visible {
    position: sticky;
    grid-column: 2;
    grid-row: 1;
    top: 130px;
    width: 100%;
    aspect-ratio: 1;
    flex: none;
    border-radius: 8px;
    opacity: 1;
    transform: none;
}

.pf-services-list {
    grid-column: 1;
    width: 100%;
    min-width: 0;
}

.pf-services-row,
.pf-services-row.is-active {
    display: grid;
    grid-template-columns: 78px minmax(220px, 1fr) minmax(170px, 260px) auto;
    gap: 20px;
    align-items: center;
    justify-content: normal;
    padding: 27px 16px;
    border-radius: 8px;
    background: transparent;
}

.pf-services-row:hover,
.pf-services-row:focus,
.pf-services-row.is-active,
.pf-services-row.is-active:hover {
    background: #f3f2ef;
}

.pf-services-row-left,
.pf-services-row.is-active .pf-services-row-left {
    display: block;
    min-width: 0;
}

.pf-services-title,
.pf-services-row.is-active .pf-services-title {
    color: #111;
    font-size: clamp(24px, 2vw, 36px);
    font-weight: 500;
    line-height: 1.02;
    text-decoration: none;
}

.pf-services-details,
.pf-services-row.is-active .pf-services-details {
    display: inline-flex;
    margin-top: 9px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.pf-services-progress { display: none; }

.pf-services-desc,
.pf-services-row.is-active .pf-services-desc {
    width: auto;
    min-width: 0;
    max-width: none;
    max-height: none;
    margin: 0;
    overflow: visible;
    opacity: 1;
    font-size: 15px;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: break-word;
}

.pf-services-tag,
.pf-services-row.is-active .pf-services-tag {
    width: auto;
    max-width: none;
    max-height: none;
    overflow: visible;
    opacity: 1;
    white-space: nowrap;
    justify-self: end;
}

.pf-services-index,
.pf-services-row.is-active .pf-services-index {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    max-width: none;
    max-height: none;
    overflow: visible;
    opacity: 1;
    color: transparent;
    font-size: 0;
    -webkit-text-stroke: 1px #1d1d1d;
}

.pf-services-index b {
    color: transparent;
    font-size: clamp(38px, 3.5vw, 56px);
    font-weight: 500;
}

@media (max-width: 1199.98px) {
    .pf-services-row,
    .pf-services-row.is-active {
        grid-template-columns: 66px minmax(190px, 1fr) minmax(150px, 220px);
    }

    .pf-services-tag,
    .pf-services-row.is-active .pf-services-tag { display: none; }
}

@media (max-width: 991.98px) {
    .pf-services-layout { display: block; }
    .pf-services-media { display: none; }
    .pf-services-row,
    .pf-services-row.is-active {
        grid-template-columns: 66px minmax(0, 1fr) minmax(180px, 260px);
    }
}

@media (max-width: 767px) {
    .pf-services-row,
    .pf-services-row.is-active {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 14px;
        padding: 24px 0;
    }

    .pf-services-desc,
    .pf-services-row.is-active .pf-services-desc {
        grid-column: 2;
    }

    .pf-services-index b { font-size: 38px; }
}
