/* Critical above-the-fold styles for the ravalement service page. */

.rav-site-header {
    padding: 0;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(17, 23, 61, .08);
}

.rav-site-header__shell {
    position: relative;
}

.rav-site-header__bar {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.7rem;
    min-height: 8.4rem;
    padding: .8rem 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.rav-site-header__brand {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

.rav-site-header__logo {
    display: block;
    width: auto;
    height: 9.6rem;
}

.rav-site-nav {
    justify-self: center;
    gap: 1.5rem;
}

.rav-site-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding: .4rem 0;
    border-radius: 0;
    color: rgba(40, 40, 112, .94);
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    background: transparent;
    box-shadow: none;
    transition: color .2s ease;
}

.rav-site-nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -.78rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #6c0c0c 0%, #282870 100%);
    transform: scaleX(0);
    transform-origin: center;
    opacity: 0;
    transition: transform .22s ease, opacity .22s ease;
}

.rav-site-nav__link:hover,
.rav-site-nav__link--active {
    color: #6c0c0c;
    background: transparent;
    box-shadow: none;
}

.rav-site-nav__link:hover::after,
.rav-site-nav__link--active::after {
    transform: scaleX(1);
    opacity: 1;
}

.rav-site-header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.rav-site-header__phone,
.rav-site-header__toggle {
    border: 0;
    transition: color .2s ease, background-color .2s ease;
}

.rav-site-header__phone {
    align-items: center;
    gap: .55rem;
    min-height: auto;
    padding: .3rem 0;
    border-radius: 0;
    background: transparent;
    color: #11173d;
    font-size: 1.06rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
}

.rav-site-header__phone:hover {
    color: #6c0c0c;
    background: transparent;
    border-color: transparent;
    transform: none;
    box-shadow: none;
}

.rav-site-header__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: .9rem;
    background: transparent;
    color: #282870;
    box-shadow: none;
}

.rav-site-header__toggle:hover {
    background: rgba(40, 40, 112, .08);
    border-color: rgba(40, 40, 112, .16);
    transform: none;
}

.rav-site-header__toggle[aria-expanded="true"] {
    background: rgba(40, 40, 112, .1);
    border-color: rgba(40, 40, 112, .18);
}

@media (max-width: 1199px) {
    .rav-site-header__bar {
        grid-template-columns: auto auto;
        gap: .85rem;
        min-height: 7.4rem;
        padding: .7rem 0;
    }

    .rav-site-header__logo {
        height: 8.4rem;
    }

    .rav-site-header__phone {
        font-size: .98rem;
    }
}

@media (max-width: 1023px) {
    body {
        --rav-header-offset: 7.4rem;
    }

    .rav-site-header__toggle {
        display: inline-flex;
    }

    .rav-hero-v3__content.rav-animate-fade,
    .rav-hero-v3__aside.rav-animate-fade {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 767px) {
    body {
        --rav-header-offset: 5.4rem;
        background: #fbfaf7;
    }

    .rav-site-header {
        padding: 0;
        background: rgba(255, 255, 255, .98);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .rav-site-header__bar {
        min-height: 5.4rem;
        padding: .45rem 0;
    }

    .rav-site-header__logo {
        height: 5.2rem;
    }

    .rav-site-header__toggle {
        width: 3rem;
        height: 3rem;
        border-radius: .9rem;
    }
}

.rav-btn-unified {
    --rav-btn-bg: linear-gradient(180deg, #7e1414 0%, #6c0c0c 100%);
    --rav-btn-bg-hover: linear-gradient(180deg, #731111 0%, #5e0909 100%);
    --rav-btn-color: #ffffff;
    --rav-btn-border: rgba(36, 12, 12, .18);
    --rav-btn-shadow: 0 6px 18px rgba(24, 29, 68, .12);
    --rav-btn-shadow-hover: 0 10px 22px rgba(24, 29, 68, .16);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .62rem;
    min-height: 3.65rem;
    padding: 0 1.45rem;
    border-radius: 999px;
    border: 1px solid var(--rav-btn-border);
    background: var(--rav-btn-bg);
    color: var(--rav-btn-color) !important;
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
    box-shadow: var(--rav-btn-shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.rav-btn-unified > span,
.rav-btn-unified > svg,
.rav-btn-unified > * {
    position: relative;
}

.rav-btn-unified svg {
    flex-shrink: 0;
    transition: transform .18s ease;
}

.rav-btn-unified:hover {
    background: var(--rav-btn-bg-hover);
    transform: translateY(-1px);
    box-shadow: var(--rav-btn-shadow-hover);
    border-color: rgba(20, 24, 58, .2);
}

.rav-btn-unified:hover svg {
    transform: translateX(2px);
}

.rav-btn-unified:active {
    transform: translateY(0);
}

.rav-btn-unified--primary {
    --rav-btn-shadow: 0 6px 18px rgba(108, 12, 12, .14);
    --rav-btn-shadow-hover: 0 10px 22px rgba(108, 12, 12, .18);
}

.rav-btn-unified--secondary {
    --rav-btn-bg: linear-gradient(180deg, #34388f 0%, #282870 100%);
    --rav-btn-bg-hover: linear-gradient(180deg, #2f337f 0%, #232366 100%);
    --rav-btn-border: rgba(20, 24, 58, .2);
    --rav-btn-shadow: 0 6px 18px rgba(40, 40, 112, .14);
    --rav-btn-shadow-hover: 0 10px 22px rgba(40, 40, 112, .18);
}

@media (max-width: 768px) {
    .rav-btn-unified {
        min-height: 3.55rem;
        padding-inline: 1.25rem;
        font-size: .95rem;
    }
}

.rav-hero {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.rav-hero.rav-hero-v3 {
    min-height: 590px;
    background:
        radial-gradient(circle at 14% 16%, rgba(151, 168, 255, .18) 0%, rgba(151, 168, 255, 0) 30%),
        radial-gradient(circle at 88% 14%, rgba(255, 220, 202, .9) 0%, rgba(255, 220, 202, 0) 28%),
        linear-gradient(180deg, #fbfaf7 0%, #f2f1fb 100%);
}

.rav-hero.rav-hero-v3::before {
    content: '';
    position: absolute;
    inset: auto auto -8rem -7rem;
    width: 22rem;
    height: 22rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(129, 145, 255, .12) 0%, rgba(129, 145, 255, 0) 72%);
    pointer-events: none;
}

.rav-hero.rav-hero-v3::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1240px, calc(100% - 2rem));
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(40, 40, 112, .12), transparent);
    pointer-events: none;
}

.rav-hero-v3__inner {
    position: relative;
    z-index: 1;
    width: min(1240px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 4.6rem 0 3.5rem;
}

.rav-hero-v3__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
    gap: 2.35rem;
    align-items: center;
}

.rav-hero-v3__content {
    max-width: 680px;
}

.rav-hero-v3__breadcrumb {
    margin-bottom: 1rem;
}

.rav-hero-v3__breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: rgba(40, 40, 112, .56);
    font-size: .88rem;
    font-weight: 500;
}

.rav-hero-v3__breadcrumb a {
    color: rgba(40, 40, 112, .68);
    text-decoration: none;
}

.rav-hero-v3__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: 1.25rem;
    color: #8a2f2f;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.rav-hero-v3__eyebrow::before {
    content: '';
    width: 2.6rem;
    height: 1px;
    background: rgba(138, 47, 47, .4);
}

.rav-hero-v3__title {
    margin: 0 0 1.35rem;
    max-width: 12ch;
    color: #171d58;
    font-size: clamp(2.55rem, 4.1vw, 4.15rem);
    line-height: .96;
    letter-spacing: -.045em;
    font-weight: 800;
    text-wrap: balance;
}

.rav-hero-v3__description {
    max-width: 57ch;
    margin: 0 0 1.45rem;
    color: rgba(40, 40, 112, .72);
    font-size: 1rem;
    line-height: 1.76;
}

.rav-hero-v3__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-bottom: 1.3rem;
}

.rav-hero-v3__btn {
    min-height: 3.75rem;
    padding-inline: 1.55rem;
}

.rav-hero-v3__proofs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .9rem;
}

.rav-hero-v3__proof {
    padding: .88rem .92rem .92rem;
    border-radius: 1.05rem;
    background: rgba(255, 255, 255, .7);
    border: 1px solid rgba(23, 29, 88, .08);
    box-shadow: 0 12px 28px rgba(17, 23, 61, .05);
}

.rav-hero-v3__proof strong {
    display: block;
    margin-bottom: .35rem;
    color: #171d58;
    font-size: .9rem;
    line-height: 1.28;
    font-weight: 800;
}

.rav-hero-v3__proof span {
    display: block;
    color: rgba(40, 40, 112, .6);
    font-size: .8rem;
    line-height: 1.48;
}

.rav-hero-v3__aside {
    width: 100%;
}

.rav-hero-v3__frame {
    padding: 1rem;
    border-radius: 2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .8) 100%);
    border: 1px solid rgba(23, 29, 88, .08);
    box-shadow: 0 28px 70px rgba(17, 23, 61, .12);
}

.rav-hero-v3__frame-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .85rem;
}

.rav-hero-v3__frame-kicker {
    display: inline-flex;
    margin-bottom: .32rem;
    color: #8a2f2f;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.rav-hero-v3__frame-head strong {
    display: block;
    color: #171d58;
    font-size: 1.02rem;
    line-height: 1.22;
    font-weight: 800;
}

.rav-hero-v3__frame-chip {
    display: inline-flex;
    align-items: center;
    padding: .58rem .88rem;
    border-radius: 999px;
    background: rgba(23, 29, 88, .05);
    border: 1px solid rgba(23, 29, 88, .08);
    color: rgba(23, 29, 88, .72);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.35;
}

.rav-hero-v3__gallery {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(170px, .92fr);
    grid-template-areas:
        "main side-top"
        "main side-bottom";
    gap: .85rem;
}

.rav-hero-v3__photo {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid rgba(23, 29, 88, .08);
    box-shadow: 0 18px 34px rgba(17, 23, 61, .08);
    background: white;
    aspect-ratio: 1 / 1;
}

.rav-hero-v3__photo--main {
    grid-area: main;
}

.rav-hero-v3__gallery .rav-hero-v3__photo:nth-child(2) {
    grid-area: side-top;
}

.rav-hero-v3__gallery .rav-hero-v3__photo:nth-child(3) {
    grid-area: side-bottom;
}

.rav-hero-v3__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.rav-hero-v3__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 12, 31, 0) 58%, rgba(9, 12, 31, .48) 100%);
    pointer-events: none;
}

.rav-hero-v3__caption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: .8rem .95rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(23, 29, 88, .08);
    box-shadow: 0 10px 24px rgba(17, 23, 61, .08);
}

.rav-hero-v3__caption span {
    color: rgba(40, 40, 112, .62);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rav-hero-v3__caption strong {
    color: #171d58;
    font-size: .95rem;
    line-height: 1.25;
    font-weight: 800;
}

.rav-hero-v3__caption--compact {
    right: auto;
    padding: .52rem .8rem;
    border-radius: 999px;
}

.rav-hero-v3__caption--compact strong {
    display: none;
}

.rav-hero-v3__frame-foot {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin-top: .85rem;
}

.rav-hero-v3__metric {
    padding: .78rem .72rem;
    border-radius: 1rem;
    background: rgba(245, 246, 252, .94);
    border: 1px solid rgba(23, 29, 88, .06);
    text-align: center;
}

.rav-hero-v3__metric strong {
    display: block;
    margin-bottom: .18rem;
    color: #171d58;
    font-size: .96rem;
    line-height: 1;
    font-weight: 800;
}

.rav-hero-v3__metric span {
    display: block;
    color: rgba(40, 40, 112, .6);
    font-size: .74rem;
    line-height: 1.4;
}

@media (max-width: 1180px) {
    .rav-hero-v3__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .rav-hero-v3__content {
        max-width: none;
    }

    .rav-hero-v3__title {
        max-width: 12ch;
    }

    .rav-hero-v3__aside {
        max-width: 760px;
        content-visibility: auto;
        contain-intrinsic-size: 1px 760px;
    }
}

@media (max-width: 767px) {
    .rav-hero.rav-hero-v3 {
        min-height: auto;
        background:
            radial-gradient(circle at 14% 16%, rgba(151, 168, 255, .18) 0%, rgba(151, 168, 255, 0) 30%),
            radial-gradient(circle at 88% 14%, rgba(255, 220, 202, .9) 0%, rgba(255, 220, 202, 0) 28%),
            linear-gradient(180deg, #fbfaf7 0%, #f2f1fb 100%);
    }

    .rav-hero-v3__inner {
        width: min(100%, calc(100% - 1.25rem));
        padding: 3.4rem 0 1.5rem;
    }

    .rav-hero-v3__grid {
        gap: 1.6rem;
    }

    .rav-hero-v3__breadcrumb {
        margin-bottom: .8rem;
    }

    .rav-hero-v3__breadcrumb ol {
        font-size: .8rem;
    }

    .rav-hero-v3__eyebrow {
        margin-bottom: 1rem;
        font-size: .68rem;
        gap: .5rem;
    }

    .rav-hero-v3__eyebrow::before {
        width: 2rem;
    }

    .rav-hero-v3__title {
        max-width: none;
        margin-bottom: .85rem;
        font-size: clamp(1.95rem, 8.2vw, 2.7rem);
    }

    .rav-hero-v3__description {
        margin-bottom: 1.15rem;
        font-size: .94rem;
        line-height: 1.66;
    }

    .rav-hero-v3__actions {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 1.1rem;
    }

    .rav-hero-v3__btn {
        width: 100%;
    }

    .rav-hero-v3__proofs {
        grid-template-columns: 1fr;
        gap: .7rem;
    }

    .rav-hero-v3__proof {
        padding: .92rem .92rem .96rem;
        box-shadow: 0 8px 18px rgba(17, 23, 61, .04);
    }

    .rav-hero-v3__frame {
        padding: .85rem;
        border-radius: 1.45rem;
        box-shadow: 0 14px 30px rgba(17, 23, 61, .08);
    }

    .rav-hero-v3__frame-head {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: .9rem;
    }

    .rav-hero-v3__gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "main main"
            "side-top side-bottom";
        gap: .75rem;
    }

    .rav-hero-v3__photo {
        border-radius: 1.15rem;
    }

    .rav-hero-v3__caption {
        left: .75rem;
        right: .75rem;
        bottom: .75rem;
        padding: .72rem .78rem;
    }

    .rav-hero-v3__caption--compact {
        right: auto;
        padding: .48rem .72rem;
    }

    .rav-hero-v3__frame-foot {
        gap: .55rem;
    }

    .rav-hero-v3__metric {
        padding: .75rem .45rem;
    }

    .rav-hero-v3__metric strong {
        font-size: .92rem;
    }

    .rav-hero-v3__metric span {
        font-size: .7rem;
    }
}
