:root {
    --blue: #0752d9;
    --brand-accent: #12345a;
    --brand-hover: #0643b2;
    --ink: #12284c;
    --muted: #52627c;
    --line: #d7e3f9;
    --pale: #eef1f3;
    --page: #fbfcfd;
    --surface: #ffffff;
    --brand-soft: #e9effc;
    --accent-soft: #e3e7eb;
    --brand-light: #d2e0f8;
    --focus: #457de2;
    --on-brand: #ffffff;
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    font-family: Arial,Helvetica,sans-serif;
    color: var(--ink);
    background: var(--page);
    font-size: 16px;
    line-height: 1.55;
}

button,
input,
select,
textarea,
input[type=text],
input[type=tel] {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 5px;
}

.wrap {
    max-width: 1320px;
    width: calc(100% - 96px);
    margin-inline: auto;
}

.header {
    max-width: 1440px;
    padding: 27px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: auto;
}

.brand {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 32px;
    font-weight: 750;
    letter-spacing: -1.2px;
    line-height: 1;
}

.brand img {
    width: 43px;
    height: 43px;
    object-fit: contain;
}

.brand-domain {
    display: block;
    font-size: 8px;
    letter-spacing: 1.2px;
    font-weight: 600;
    margin-top: 9px;
}

.header nav {
    display: flex;
    gap: 29px;
    font-size: 14px;
}

.header nav a:hover,
.header nav a.active,
.plain-link:hover {
    color: var(--blue);
}

.button {
    border: 0;
    background: var(--blue);
    color: #fff;
    padding: 19px 24px;
    display: inline-flex;
    gap: 32px;
    justify-content: space-between;
    align-items: center;
    border-radius: 9px;
    line-height: 1.3;
    font-weight: 600;
    font-size: 15px;
    transition: background .2s,transform .2s;
}

.button:hover {
    background: var(--brand-hover);
    transform: translateY(-2px);
}

.button span {
    font-size: 20px;
    font-weight: 400;
}

.button.small {
    padding: 14px 18px;
    font-size: 14px;
    gap: 20px;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 588px;
    background: var(--pale);
    border-radius: 24px;
    overflow: hidden;
    margin-top: 15px;
}

.hero-copy {
    padding: 64px 30px 30px 48px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 1.7px;
    font-weight: 650;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
    margin-bottom: 25px;
}

.eyebrow-line:before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--blue);
    display: inline-block;
    vertical-align: middle;
    margin-right: 7px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(42px,4.75vw,68px);
    font-weight: 500;
    line-height: 1.07;
    letter-spacing: -3px;
    margin-bottom: 25px;
}

h1 span {
    color: var(--blue);
}

h2 {
    font-size: 42px;
    font-weight: 500;
    line-height: 1.16;
    letter-spacing: -1.5px;
    margin-bottom: 25px;
}

h3 {
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: -.4px;
    font-weight: 500;
    margin-bottom: 12px;
}

p {
    color: var(--muted);
    line-height: 1.7;
}

.hero-copy>p {
    max-width: 400px;
    font-size: 17px;
    margin-bottom: 29px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.plain-link {
    font-size: 14px;
}

.plain-link span {
    margin-left: 12px;
}

.hero-bottom {
    display: flex;
    gap: 30px;
    margin-top: auto;
    padding-top: 45px;
    color: var(--muted);
    font-size: 12px;
}

.hero-bottom span:before {
    content: '✓';
    color: var(--blue);
    margin-right: 8px;
}

.hero-photo {
    position: relative;
    min-height: 588px;
}

.hero-photo>img {
    height: 100%;
    position: absolute;
}

.photo-label {
    position: absolute;
    bottom: 28px;
    left: 28px;
    right: 28px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--surface) 93%, transparent);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px 20px;
    font-size: 15px;
}

.photo-label small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
}

.label-symbol {
    background: var(--blue);
    color: white;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 22px;
}

.trust {
    display: flex;
    justify-content: space-between;
    padding: 27px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.section {
    padding-top: 100px;
    padding-bottom: 90px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 42px;
}

.section-head h2 {
    margin-bottom: 0;
}

.section-head>p {
    margin-bottom: 3px;
    font-size: 15px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 44px 27px;
}

.card-photo {
    height: 238px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: var(--pale);
    margin-bottom: 23px;
}

.card-photo img {
    height: 100%;
    transition: transform .5s;
}

.service-card:hover img {
    transform: scale(1.04);
}

.card-number {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--surface);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    font-size: 11px;
}

.card-arrow {
    position: absolute;
    right: 15px;
    bottom: 15px;
    background: var(--surface);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    font-size: 23px;
}

.service-card p {
    font-size: 14px;
    margin-bottom: 18px;
}

.text-link {
    font-size: 13px;
    color: var(--blue);
    display: flex;
    gap: 12px;
}

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border-radius: 22px;
    background: var(--brand-soft);
}

.feature-image {
    min-height: 485px;
    position: relative;
}

.feature-image img {
    height: 100%;
    position: absolute;
    inset: 0;
}

.feature-copy {
    padding: 55px;
}

.feature-copy p {
    max-width: 410px;
}

.tags {
    display: flex;
    gap: 10px;
    margin: 24px 0 30px;
}

.tags span {
    border: 1px solid var(--line);
    padding: 6px 13px;
    border-radius: 6px;
    font-size: 12px;
}

.process {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 36px;
    margin-top: 42px;
}

.step {
    color: var(--blue);
    display: block;
    font-size: 13px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
    margin-bottom: 24px;
}

.process h3 {
    font-size: 20px;
}

.process p {
    font-size: 14px;
}

.faq {
    padding-top: 15px;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 50px;
}

.faq h2 {
    font-size: 38px;
}

details {
    border-bottom: 1px solid var(--line);
}

summary {
    padding: 23px 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 17px;
}

summary::-webkit-details-marker {
    display: none;
}

summary span {
    color: var(--blue);
    font-size: 23px;
}

details[open] summary span {
    transform: rotate(45deg);
}

details p {
    font-size: 15px;
    padding-right: 30px;
}

.cta {
    background: var(--blue);
    border-radius: 24px;
    color: white;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
}

.cta .eyebrow,
.cta p {
    color: var(--brand-light);
}

.cta p {
    margin-bottom: 0;
}

.white {
    background: var(--surface);
    color: var(--blue);
}

.white:hover {
    background: var(--brand-soft);
}

.footer {
    padding: 50px 0 35px;
}

.footer-main {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer .brand {
    font-size: 27px;
    gap: 0;
}

.dot {
    color: var(--blue);
}

.footer p {
    margin: 0 auto 0 0;
    font-size: 13px;
}

.footer-menu {
    display: flex;
    gap: 30px;
}

.footer-menu a,
.footer-domain {
    font-size: 12px;
    color: var(--muted);
}

.footer-menu a:hover,
.footer-contacts a:hover {
    color: var(--blue);
}

.footer-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 30px;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 14px;
}

.page-intro {
    padding-top: 72px;
    padding-bottom: 65px;
}

.page-intro h1 {
    max-width: 960px;
}

.page-intro p {
    max-width: 600px;
    font-size: 18px;
}

.compact {
    padding-top: 0;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--muted);
    padding-top: 35px;
    padding-bottom: 35px;
}

.detail-hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 65px;
    align-items: center;
    padding-top: 10px;
}

.detail-hero h1 {
    font-size: 53px;
}

.detail-hero p {
    font-size: 17px;
}

.detail-hero>img {
    height: 430px;
    border-radius: 20px;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 90px;
}

.work-list button,
.work-list>div {
    width: 100%;
    background: var(--surface);
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 23px 0;
    text-align: left;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    font-size: 18px;
    color: var(--ink);
}

.work-list button:hover {
    color: var(--blue);
}

.work-list button span:last-child {
    color: var(--blue);
}

.note {
    display: flex;
    align-items: center;
    gap: 25px;
    background: var(--pale);
    padding: 28px 35px;
    border-radius: 15px;
}

.note>span {
    border: 1px solid var(--muted);
    border-radius: 50%;
    min-width: 28px;
    height: 28px;
    text-align: center;
}

.note p {
    margin: 0;
    font-size: 15px;
}

.related {
    padding-bottom: 80px;
}

.related h2 {
    font-size: 32px;
}

.related>div {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.related a {
    padding: 15px 20px;
    background: var(--pale);
    border-radius: 9px;
    font-size: 14px;
}

.related a span {
    margin-left: 15px;
    color: var(--blue);
}

.about-image img {
    max-height: 550px;
    border-radius: 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 90px;
}

.contact-grid>div {
    padding: 50px;
    border-radius: 22px;
    background: var(--pale);
}

.contact-grid>.contact-blue {
    background: var(--blue);
    color: white;
}

.contact-blue p {
    color: var(--brand-light);
}

.contact-grid h2 {
    font-size: 34px;
}

dialog {
    border: 0;
    border-radius: 20px;
    padding: 42px;
    max-width: 560px;
    width: calc(100% - 32px);
    color: var(--ink);
    box-shadow: 0 20px 90px color-mix(in srgb, var(--ink) 19%, transparent);
}

dialog::backdrop {
    background: color-mix(in srgb, var(--ink) 54%, transparent);
    backdrop-filter: blur(4px);
}

dialog h2 {
    font-size: 35px;
}

dialog .eyebrow {
    margin-top: 8px;
}

.close {
    position: absolute;
    right: 18px;
    top: 12px;
    font-size: 28px;
    border: 0;
    background: transparent;
    color: var(--muted);
}

label {
    display: block;
    font-size: 14px;
    margin: 20px 0;
}

select,
textarea,
input[type=text],
input[type=tel] {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px;
    color: var(--ink);
    background: var(--surface);
    margin-top: 8px;
}

textarea {
    resize: vertical;
}

.form-note {
    font-size: 12px;
    margin: 17px 0 0;
}

#form-status {
    color: var(--blue);
    font-size: 14px;
    margin: 12px 0 0;
}

#form-status.error {
    color: #c62828;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.header-phone {
    font-size: 15px;
    white-space: nowrap;
}

.header-phone:hover {
    color: var(--blue);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0;
}

.form-row label {
    margin: 0;
}

.form-website {
    position: absolute!important;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

.form-consent input {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    flex: none;
}

.form-captcha altcha-widget {
    display: block;
    max-width: 100%;
    margin-bottom: 20px;
}
.form-consent a {
    color: var(--blue);
    text-decoration: underline;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}

[aria-invalid=true] {
    border-color: #c62828;
}

#request-form .button[disabled] {
    opacity: .6;
    cursor: wait;
    transform: none;
}

#system-message-container {
    max-width: 1320px;
    width: calc(100% - 96px);
    margin: 0 auto;
}

#system-message-container joomla-alert,
#system-message-container .alert {
    display: block;
    margin: 15px 0;
    padding: 18px 24px;
    border-radius: 12px;
    background: var(--pale);
    font-size: 15px;
}

.detail-hero p {
    color: var(--muted);
}

.mod-custom {
    display: contents;
}

.menu-toggle {
    display: none;
}

.skip {
    position: fixed;
    top: -100px;
    background: var(--surface);
    padding: 12px;
    z-index: 20;
}

.skip:focus {
    top: 0;
}

@media(min-width:1600px) {
    .hero {
        min-height: 640px;
    }

    .hero-photo {
        min-height: 640px;
    }

    .hero-copy {
        padding-top: 80px;
    }
}

@media(max-width:1100px) {
    .wrap,
    #system-message-container {
        width: calc(100% - 48px);
    }

    .header-phone {
        display: none;
    }

    .header {
        padding: 23px 24px;
        gap: 20px;
    }

    .header nav {
        gap: 17px;
    }

    .header-actions>.button {
        display: none;
    }

    .hero-copy {
        padding: 45px 26px;
    }

    .hero {
        min-height: 530px;
    }

    .hero-photo {
        min-height: 530px;
    }

    .hero-actions {
        gap: 20px;
        flex-wrap: wrap;
    }

    h1 {
        font-size: 52px;
    }

    .card-photo {
        height: 200px;
    }

    .feature-copy {
        padding: 35px;
    }

    .detail-hero {
        gap: 35px;
    }

    .detail-hero h1 {
        font-size: 44px;
    }

    .two-col {
        gap: 40px;
    }

    .footer-main {
        flex-wrap: wrap;
    }
}

@media(max-width:760px) {
    .wrap,
    #system-message-container {
        width: calc(100% - 36px);
    }

    .header-actions {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .header {
        padding: 20px 18px;
        flex-wrap: wrap;
    }

    .brand {
        font-size: 28px;
    }

    .brand-domain {
        font-size: 7px;
    }

    .brand img {
        width: 36px;
        height: 36px;
    }

    .menu-toggle {
        display: flex;
        gap: 15px;
        align-items: center;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 7px;
        padding: 8px 12px;
        font-size: 14px;
    }

    .header nav {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 15px 0;
        font-size: 17px;
        gap: 20px;
    }

    .header nav.open {
        display: flex;
    }

    .hero {
        grid-template-columns: 1fr;
        margin-top: 4px;
    }

    .hero-copy {
        padding: 36px 25px 28px;
    }

    .eyebrow {
        font-size: 10px;
        margin-bottom: 23px;
    }

    h1 {
        font-size: 47px;
        letter-spacing: -2px;
    }

    h2 {
        font-size: 33px;
        letter-spacing: -1px;
    }

    .hero-copy>p {
        font-size: 16px;
    }

    .hero-bottom {
        padding-top: 28px;
        gap: 22px;
        font-size: 11px;
    }

    .hero-photo {
        min-height: 350px;
    }

    .photo-label {
        left: 18px;
        right: 18px;
        bottom: 18px;
        font-size: 14px;
        padding: 14px;
    }

    .trust {
        gap: 14px;
        padding: 22px 0;
        font-size: 10px;
        align-items: flex-start;
    }

    .section {
        padding: 65px 0;
    }

    .section-head {
        display: block;
        margin-bottom: 30px;
    }

    .section-head>p {
        margin-top: 22px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 33px;
    }

    .card-photo {
        height: 265px;
    }

    .service-card h3 {
        font-size: 23px;
    }

    .service-card p {
        font-size: 15px;
    }

    .feature {
        grid-template-columns: 1fr;
    }

    .feature-image {
        min-height: 280px;
        max-height: 320px;
    }

    .feature-copy {
        padding: 30px 25px;
    }

    .process {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .process h3 {
        font-size: 18px;
    }

    .faq {
        display: block;
    }

    .faq h2 {
        font-size: 33px;
    }

    .faq>div+div {
        margin-top: 25px;
    }

    summary {
        font-size: 16px;
    }

    .cta {
        padding: 35px 27px;
        display: block;
    }

    .cta>.button {
        margin-top: 28px;
    }

    .footer {
        padding: 35px 0 100px;
    }

    .footer-main {
        gap: 20px;
    }

    .footer p {
        margin-right: 0;
    }

    .footer-menu {
        width: 100%;
        flex-wrap: wrap;
        gap: 12px 24px;
    }

    .footer-domain {
        width: 100%;
    }

    .page-intro {
        padding-top: 42px;
        padding-bottom: 45px;
    }

    .page-intro p {
        font-size: 16px;
    }

    .compact {
        padding-top: 0;
    }

    .detail-hero {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .detail-hero h1 {
        font-size: 41px;
    }

    .detail-hero>img {
        height: 300px;
    }

    .breadcrumbs {
        padding-top: 15px;
        font-size: 11px;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .work-list button,
    .work-list>div {
        font-size: 16px;
    }

    .note {
        padding: 23px;
        align-items: flex-start;
    }

    .note p {
        font-size: 14px;
    }

    .related {
        padding-bottom: 55px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-grid>div {
        padding: 30px;
    }

    .contact-grid h2 {
        font-size: 30px;
    }

    dialog {
        padding: 30px 22px;
    }

    .hero-actions .button {
        font-size: 14px;
    }

    .about-image img {
        height: 320px;
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto!important;
        transition: none!important;
    }
}

@media(max-width:400px) {
    .process {
        grid-template-columns: 1fr;
    }
}

.mobile-bar {
    display: none;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 30;
    gap: 10px;
    padding: 8px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px color-mix(in srgb, var(--ink) 14%, transparent);
}

.mobile-bar .button {
    flex: 1;
    padding: 15px 18px;
    font-size: 15px;
}

.mobile-bar-icon {
    flex: none;
    width: 52px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--pale);
    color: var(--blue);
}

.work-side {
    display: flex;
    gap: 22px;
    align-items: baseline;
    white-space: nowrap;
}

.work-price {
    color: var(--ink);
    font-size: 16px;
}

.compact-bottom {
    padding-bottom: 20px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 44px 27px;
}

.post-card .card-photo {
    height: 220px;
}

.post-card:hover img {
    transform: scale(1.04);
}

.post-meta {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 10px;
}

.post-card h3 {
    font-size: 21px;
}

.post-card p {
    font-size: 14px;
    margin-bottom: 0;
}

.post-card:hover h3 {
    color: var(--blue);
}

.section-head .plain-link {
    white-space: nowrap;
    color: var(--blue);
}

.post-hero {
    padding-top: 10px;
    padding-bottom: 40px;
}

.post-hero h1 {
    max-width: 980px;
    font-size: clamp(36px, 4.2vw, 56px);
    letter-spacing: -2px;
}

.post-lead p {
    max-width: 760px;
    font-size: 19px;
    color: var(--muted);
}

.post-cover {
    margin-top: 0;
    margin-bottom: 60px;
}

.post-cover img {
    max-height: 520px;
    border-radius: 20px;
}

.post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 80px;
    align-items: start;
    padding-bottom: 30px;
}

.post-body {
    max-width: 760px;
    font-size: 17px;
}

.post-body p,
.post-body li {
    color: var(--ink);
    line-height: 1.75;
}

.post-body h2 {
    font-size: 30px;
    letter-spacing: -.8px;
    margin: 48px 0 18px;
}

.post-body h3 {
    font-size: 21px;
    margin: 32px 0 12px;
}

.post-body ul,
.post-body ol {
    padding-left: 22px;
    margin: 0 0 24px;
}

.post-body li {
    margin-bottom: 8px;
}

.post-body li::marker {
    color: var(--blue);
}

.post-body a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post-body img {
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    margin: 30px 0 10px;
    background: var(--pale);
}

.item-page > .note:last-child {
    margin-bottom: 90px;
}

.post-body figure {
    margin: 30px 0;
}

.post-body figcaption {
    font-size: 13px;
    color: var(--muted);
}

.post-body .tip,
.post-body .warning {
    border-radius: 14px;
    padding: 22px 26px;
    margin: 28px 0;
    background: var(--brand-soft);
}

.post-body .warning {
    background: var(--accent-soft);
}

.post-body .tip p,
.post-body .warning p {
    margin: 0;
    color: var(--ink);
}

.post-body .tip strong,
.post-body .warning strong {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.post-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}

.post-body th,
.post-body td {
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.post-body th {
    font-weight: 600;
    background: var(--pale);
}

.post-body .table-scroll {
    overflow-x: auto;
}

.post-aside {
    position: sticky;
    top: 30px;
}

.post-cta {
    background: var(--pale);
    border-radius: 20px;
    padding: 32px;
}

.post-cta h2 {
    font-size: 25px;
    letter-spacing: -.5px;
}

.post-cta p {
    font-size: 14px;
}

.post-cta .button {
    width: 100%;
    margin-bottom: 18px;
}

.price-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px 70px;
}

.price-group h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.price-group h3 span {
    color: var(--blue);
    font-size: 17px;
}

.price-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-group li {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
}

.price-value {
    white-space: nowrap;
}

.price-value.is-empty {
    color: var(--muted);
}

.pagination-wrap {
    margin-top: 50px;
}

.pagination-wrap ul {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
}

.pagination-wrap a,
.pagination-wrap span {
    display: block;
    padding: 8px 14px;
    border-radius: 8px;
    background: var(--pale);
}

@media(max-width:1100px) {
    .post-grid {
        grid-template-columns: 1fr 1fr;
    }

    .post-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .post-aside {
        position: static;
    }

    .post-cta {
        max-width: 760px;
    }
}

@media(max-width:760px) {
    .post-grid,
    .price-list {
        grid-template-columns: 1fr;
        gap: 33px;
    }

    .post-card .card-photo {
        height: 220px;
    }

    .post-lead p {
        font-size: 17px;
    }

    .post-cover {
        margin-bottom: 35px;
    }

    .post-cover img {
        height: 240px;
    }

    .post-body {
        font-size: 16px;
    }

    .post-body h2 {
        font-size: 25px;
        margin-top: 38px;
    }

    .post-cta {
        padding: 26px 22px;
    }

    .work-side {
        gap: 12px;
    }

    .work-price {
        font-size: 14px;
    }

    .mobile-bar {
        display: flex;
    }
}

.item-page>.note:last-child {
    margin-bottom: 90px;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 44px 27px;
}

.work-card .card-photo {
    height: 260px;
}

.work-card:hover img {
    transform: scale(1.04);
}

.work-card h3 {
    font-size: 21px;
}

.work-card p {
    font-size: 14px;
    margin-bottom: 0;
}

.work-card:hover h3 {
    color: var(--blue);
}

.work-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    background: var(--surface);
    font-size: 12px;
}

.work-object {
    font-size: 15px;
}

.work-object:before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--blue);
}

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 70px;
}

.before-after figure {
    position: relative;
    margin: 0;
}

.before-after img {
    height: 460px;
    border-radius: 20px;
}

.before-after figcaption {
    position: absolute;
    left: 18px;
    top: 18px;
    padding: 7px 14px;
    border-radius: 20px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    font-size: 13px;
}

.work-facts {
    padding-bottom: 60px;
}

.work-facts p {
    font-size: 17px;
}

.work-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 70px;
}

.work-gallery>*:not(figure):not(img) {
    grid-column: 1 / -1;
}

.work-gallery figure {
    margin: 0;
}

.work-gallery img {
    height: 280px;
    border-radius: 16px;
}

.work-gallery figcaption {
    margin-top: 8px;
    font-size: 13px;
    color: var(--muted);
}

.work-gallery p:has(img) {
    display: contents;
}

.is-zoomable {
    cursor: zoom-in;
}

.work-cta {
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 90px;
}

.work-cta p {
    flex: 1;
    min-width: 200px;
}

.zoom-dialog {
    max-width: min(1400px, 96vw);
    width: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.zoom-dialog::backdrop {
    background: color-mix(in srgb, var(--ink) 90%, transparent);
}

.zoom-dialog img {
    width: auto;
    max-width: 96vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
}

.zoom-dialog .close {
    top: -46px;
    right: 0;
    color: #fff;
    font-size: 34px;
}

@media(max-width:1100px) {
    .work-grid,
    .work-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .before-after img {
        height: 340px;
    }
}

@media(max-width:760px) {
    .work-grid {
        grid-template-columns: 1fr;
        gap: 33px;
    }

    .before-after {
        grid-template-columns: 1fr;
        margin-bottom: 45px;
    }

    .before-after img {
        height: 260px;
    }

    .work-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .work-gallery img {
        height: 150px;
        border-radius: 12px;
    }
}

.popular {
    padding-bottom: 70px;
}

.popular h2 {
    font-size: 32px;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.popular-grid a {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 26px;
    border-radius: 16px;
    background: var(--pale);
    transition: background .2s;
}

.popular-grid a:hover {
    background: var(--brand-soft);
}

.popular-grid strong {
    font-weight: 500;
    font-size: 18px;
}

.popular-grid a:hover strong {
    color: var(--blue);
}

.popular-grid span {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
}

.popular-grid em {
    font-style: normal;
    font-size: 15px;
    margin-top: auto;
}

.subservice-price {
    font-size: 15px;
}

.subservice-price strong {
    font-weight: 600;
    color: var(--ink);
}

.subservice-layout {
    padding-top: 80px;
    padding-bottom: 20px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 32px;
    border-radius: 20px;
    background: var(--pale);
}

.review-rating {
    color: #f5a524;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.review-rating span {
    color: var(--line);
}

.review-card blockquote {
    margin: 0 0 24px;
}

.review-card blockquote p {
    margin: 0;
    color: var(--ink);
    font-size: 16px;
}

.review-card figcaption {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: var(--muted);
}

.review-card figcaption strong {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
}

.review-card figcaption a {
    color: var(--blue);
}

.faq-groups {
    display: grid;
    gap: 60px;
}

.faq-group {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 50px;
}

.faq-group h2 {
    font-size: 30px;
}

.faq-group h2 a:hover {
    color: var(--blue);
}

@media(max-width:1100px) {
    .popular-grid,
    .review-grid {
        grid-template-columns: 1fr 1fr;
    }

    .faq-group {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media(max-width:760px) {
    .popular-grid,
    .review-grid {
        grid-template-columns: 1fr;
    }

    .popular h2 {
        font-size: 26px;
    }

    .subservice-layout {
        padding-top: 50px;
    }

    .review-card {
        padding: 26px 22px;
    }

    .faq-groups {
        gap: 40px;
    }

    .faq-group h2 {
        font-size: 25px;
    }
}

.catalog-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-bottom: 30px;
    scrollbar-width: thin;
}

.catalog-tabs button {
    flex: none;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    border-radius: 40px;
    padding: 11px 20px;
    font-size: 14px;
    white-space: nowrap;
}

.catalog-tabs button:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.catalog-tabs button[aria-selected=true] {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.catalog-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 60px;
}

.catalog-list button {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    width: 100%;
    padding: 18px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    text-align: left;
    font-size: 16px;
}

.catalog-list button:hover span:first-child {
    color: var(--blue);
}

.catalog-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.catalog-links a {
    padding: 13px 18px;
    border-radius: 9px;
    background: var(--pale);
    font-size: 14px;
}

.catalog-links a span {
    margin-left: 10px;
    color: var(--blue);
}

.price-list {
    display: block;
}

.price-heading {
    font-size: 30px;
    margin: 50px 0 10px;
}

.price-heading:first-child {
    margin-top: 0;
}

details.price-group {
    border-bottom: 1px solid var(--line);
}

details.price-group summary {
    align-items: center;
    font-size: 20px;
}

details.price-group summary strong {
    font-weight: 500;
}

details.price-group summary small {
    margin-left: auto;
    font-size: 13px;
    color: var(--muted);
}

details.price-group ul {
    columns: 2;
    column-gap: 60px;
    margin-bottom: 20px;
}

details.price-group li {
    break-inside: avoid;
}

details.price-group .text-link {
    margin-bottom: 26px;
}

.work-more {
    border: 0;
}

.work-more summary {
    padding: 20px 0;
    color: var(--blue);
    font-size: 16px;
}

.work-more[open] summary {
    display: none;
}

.card-photo img[src$=".svg"] {
    object-fit: contain;
    padding: 30px;
    background: var(--brand-soft);
}

.detail-hero>img[src$=".svg"] {
    object-fit: contain;
    padding: 50px;
    background: var(--brand-soft);
}

.catalog-list button .price-value {
    font-size: 15px;
}

@media(max-width:1100px) {
    .catalog-list {
        column-gap: 40px;
    }
}

@media(max-width:760px) {
    .catalog-list {
        grid-template-columns: 1fr;
    }

    .catalog-list button {
        font-size: 15px;
        padding: 15px 0;
    }

    details.price-group ul {
        columns: 1;
    }

    details.price-group summary {
        font-size: 17px;
    }

    .price-heading {
        font-size: 25px;
    }
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.terms-grid>div {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 26px 28px;
    border-radius: 16px;
    background: var(--pale);
}

.terms-grid strong {
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -.5px;
    color: var(--blue);
}

.terms-grid span {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
}

.note p a {
    color: var(--blue);
    white-space: nowrap;
}

.terms-note {
    margin-top: -40px;
    margin-bottom: 90px;
}

@media(max-width:1100px) {
    .terms-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:760px) {
    .terms-grid {
        grid-template-columns: 1fr;
    }

    .terms-grid strong {
        font-size: 22px;
    }

    .terms-note {
        margin-top: -20px;
        margin-bottom: 60px;
    }

    .note p a {
        white-space: normal;
    }
}


/* Request action in the homepage process heading. */
#process .section-head > .button { flex-shrink: 0; }
@media (max-width: 760px) {
    #process .section-head > .button { margin-top: 24px; }
}
/* The secondary logo color gives each preview its own supporting accents. */
.cta { background: linear-gradient(120deg, var(--blue), color-mix(in srgb, var(--blue) 86%, var(--brand-accent))); }
.process-step { border-color: var(--line); }

body {
    font-family: Montserrat, Arial, Helvetica, sans-serif;
}

h1,
h2,
h3 {
    color: var(--blue);
}

h1,
h2 {
    font-weight: 700;
    letter-spacing: -.5px;
}

h1 {
    font-size: clamp(36px, 4.2vw, 58px);
    line-height: 1.12;
}

h2 {
    font-size: clamp(28px, 3vw, 40px);
}

h3 {
    font-weight: 600;
    letter-spacing: 0;
}

h1 span {
    color: var(--brand-accent);
}

.button {
    background: var(--brand-accent);
    border-radius: 12px;
    font-weight: 700;
}

.button:hover {
    background: #d91d34;
}

.promo .button,
.promo .button:hover {
    color: #fff;
}

.booking__form h2 {
    color: #fff;
}

.booking__visual {
    overflow: hidden;
}
