.profi-home-content,
.profi-home-content .profi-home-wrap,
.profi-home-content .profi-home {
    width: 100% !important;
    max-width: none;
}

.profi-home {
    --profi-accent: #ac3f21;
    --profi-accent-dark: #7c2b17;
    --profi-gold: #f2bd55;
    --profi-ink: #172225;
    --profi-ink-soft: #253235;
    --profi-muted: #647174;
    --profi-soft: #f6f3f0;
    --profi-line: #e4ddd7;
    --profi-white: #fff;
    overflow: hidden;
    background: #fff;
    color: var(--profi-ink);
}

.profi-home,
.profi-home * {
    box-sizing: border-box;
}

.profi-home-wrap {
    padding: 0 !important;
}

.profi-home h1,
.profi-home h2,
.profi-home h3,
.profi-home p {
    text-transform: none;
    letter-spacing: 0;
}

.profi-home h1,
.profi-home h2,
.profi-home h3,
.profi-home .profi-home__button,
.profi-home .profi-home__eyebrow,
.profi-home .profi-home__stat strong {
    font-family: inherit;
}

.profi-home__section {
    padding: 88px 0;
}

.profi-home__section--soft {
    background: linear-gradient(180deg, var(--profi-soft) 0%, #fff 100%);
}

.profi-home__section--dark {
    background: var(--profi-ink);
    color: #fff;
}

.profi-home__hero {
    position: relative;
    padding: 86px 0 78px;
    background:
        linear-gradient(102deg, rgba(16, 24, 26, .97) 0%, rgba(31, 31, 29, .91) 48%, rgba(172, 63, 33, .68) 100%),
        url('images/gallery/2-1.jpg') center center / cover no-repeat;
}

.profi-home__hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--profi-accent), var(--profi-gold), var(--profi-accent));
}

.profi-home__hero-grid,
.profi-home__split,
.profi-home__final-grid {
    display: grid;
    gap: 42px;
    align-items: center;
}

.profi-home__hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(350px, .72fr);
}

.profi-home__split,
.profi-home__final-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profi-home__eyebrow,
.profi-home__kicker {
    font-weight: 800;
    text-transform: uppercase;
}

.profi-home__eyebrow {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    margin-bottom: 18px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 13px;
}

.profi-home__eyebrow i {
    color: var(--profi-gold);
}

.profi-home__hero h1 {
    max-width: 760px;
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(38px, 4.3vw, 60px);
    font-weight: 800;
    line-height: 1.04;
}

.profi-home__hero-lead {
    max-width: 720px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .88);
    font-size: 19px;
    line-height: 1.65;
}

.profi-home__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.profi-home__button {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 22px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.profi-home__button:hover,
.profi-home__button:focus {
    transform: translateY(-1px);
    text-decoration: none;
}

.profi-home__button--primary {
    background: var(--profi-accent);
    color: #fff;
    box-shadow: 0 16px 36px rgba(172, 63, 33, .3);
}

.profi-home__button--primary:hover,
.profi-home__button--primary:focus {
    background: var(--profi-accent-dark);
    color: #fff;
}

.profi-home__button--light {
    border-color: rgba(255, 255, 255, .38);
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.profi-home__button--light:hover,
.profi-home__button--light:focus {
    background: #fff;
    color: var(--profi-ink);
}

.profi-home__proofs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 30px;
}

.profi-home__proof {
    display: flex;
    gap: 10px;
    align-items: center;
    min-height: 54px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-weight: 700;
    line-height: 1.45;
}

.profi-home__proof i {
    color: var(--profi-gold);
}

.profi-home__form-panel,
.profi-home__card,
.profi-home__reason,
.profi-home__process,
.profi-home__faq,
.profi-home__stat {
    border: 1px solid var(--profi-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(23, 34, 37, .08);
}

.profi-home__form-panel {
    position: relative;
    overflow: hidden;
    padding: 30px;
}

.profi-home__form-panel::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--profi-accent), var(--profi-gold));
}

.profi-home__form-panel h2,
.profi-home__form-panel h3 {
    margin: 0 0 10px;
    color: var(--profi-ink);
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
}

.profi-home__form-panel > p {
    margin: 0 0 20px;
    color: var(--profi-muted);
    line-height: 1.65;
}

.profi-home .profi-contact-form form.row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 14px;
    margin: 0;
}

.profi-home .profi-contact-form form > [class*="col-"] {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    flex: none;
}

.profi-home .profi-contact-form .profi-form-field--name {
    grid-column: 1;
    grid-row: 1;
}

.profi-home .profi-contact-form .profi-form-field--phone {
    grid-column: 2;
    grid-row: 1;
}

.profi-home .profi-contact-form .profi-form-field--email {
    grid-column: 1 / -1;
    grid-row: 2;
}

.profi-home .profi-contact-form .profi-form-field--message,
.profi-home .profi-contact-form .profi-privacy-field,
.profi-home .profi-contact-form form > .col-12 {
    grid-column: 1 / -1;
}

.profi-home .profi-contact-form .profi-form-field--message {
    grid-row: 3;
}

.profi-home .profi-contact-form label {
    display: block;
    margin-bottom: 7px;
    color: var(--profi-ink);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .045em;
    line-height: 1.35;
    text-transform: uppercase;
}

.profi-home .profi-contact-form .sm-form-control {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid #ddd5cf;
    border-radius: 10px;
    background: #fbfaf9;
    color: var(--profi-ink);
    font-size: 15px;
    box-shadow: 0 1px 0 rgba(23, 34, 37, .03);
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.profi-home .profi-contact-form .sm-form-control::placeholder {
    color: #939a9b;
    opacity: 1;
}

.profi-home .profi-contact-form textarea.sm-form-control {
    min-height: 108px;
    resize: vertical;
}

.profi-home .profi-contact-form .sm-form-control:focus {
    border-color: var(--profi-accent);
    outline: 0;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(172, 63, 33, .11);
}

.profi-home .profi-contact-form .profi-privacy-field {
    display: grid;
    grid-template-columns: 19px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin-top: 1px;
    padding: 12px 13px !important;
    border: 1px solid var(--profi-line);
    border-radius: 9px;
    background: var(--profi-soft);
}

.profi-home .profi-contact-form .profi-privacy-field input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--profi-accent);
}

.profi-home .profi-contact-form .profi-privacy-field label {
    display: block;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.5;
    text-transform: none;
}

.profi-home .profi-contact-form .profi-privacy-field a {
    color: var(--profi-accent);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.profi-home .profi-contact-form button[type="submit"] {
    width: 100%;
    min-height: 54px;
    margin: 0 !important;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--profi-accent), #c4522f);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .01em;
    text-transform: none;
    box-shadow: 0 14px 30px rgba(172, 63, 33, .23);
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.profi-home .profi-contact-form button[type="submit"]:hover,
.profi-home .profi-contact-form button[type="submit"]:focus {
    background: var(--profi-accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 17px 34px rgba(124, 43, 23, .29);
}

.profi-home__stats {
    position: relative;
    z-index: 3;
    margin-top: -34px;
}

.profi-home__stats-grid,
.profi-home__services,
.profi-home__reasons,
.profi-home__guarantee-grid,
.profi-home__process-grid,
.profi-home__faq-grid {
    display: grid;
    gap: 20px;
}

.profi-home__stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profi-home__stat {
    padding: 23px;
    background: rgba(255, 255, 255, .98);
}

.profi-home__stat strong {
    display: block;
    margin-bottom: 6px;
    color: var(--profi-accent);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.15;
}

.profi-home__stat span {
    color: var(--profi-muted);
    line-height: 1.55;
}

.profi-home__intro {
    max-width: 880px;
    margin: 0 auto 42px;
    text-align: center;
}

.profi-home__kicker {
    margin: 0 0 10px;
    color: var(--profi-accent);
    font-size: 14px;
}

.profi-home__intro h2,
.profi-home__copy h2,
.profi-home__guarantee-copy h2,
.profi-home__final-copy h2 {
    margin: 0 0 16px;
    color: var(--profi-ink);
    font-size: clamp(31px, 3.4vw, 43px);
    font-weight: 800;
    line-height: 1.13;
}

.profi-home__intro > p:last-child,
.profi-home__copy > p,
.profi-home__final-copy > p {
    margin: 0;
    color: var(--profi-muted);
    font-size: 17px;
    line-height: 1.72;
}

.profi-home__services {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profi-home__card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.profi-home__card-image {
    overflow: hidden;
    height: 210px;
}

.profi-home__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.profi-home__card:hover .profi-home__card-image img {
    transform: scale(1.035);
}

.profi-home__card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 23px;
}

.profi-home__card h3,
.profi-home__reason h3,
.profi-home__process h3,
.profi-home__faq h3,
.profi-home__guarantee-item h3 {
    margin: 0 0 11px;
    color: var(--profi-ink);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.3;
}

.profi-home__card p,
.profi-home__reason p,
.profi-home__process p,
.profi-home__faq p,
.profi-home__guarantee-item p {
    margin: 0;
    color: var(--profi-muted);
    line-height: 1.68;
}

.profi-home__card-link {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    margin-top: auto;
    padding-top: 18px;
    color: var(--profi-accent);
    font-weight: 800;
}

.profi-home__image-frame {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    border-radius: 10px;
    box-shadow: 0 22px 55px rgba(23, 34, 37, .16);
}

.profi-home__image-frame img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.profi-home__image-note {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    padding: 16px 18px;
    border-radius: 8px;
    background: rgba(23, 34, 37, .88);
    color: #fff;
    font-weight: 700;
    line-height: 1.5;
}

.profi-home__reasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
}

.profi-home__reason,
.profi-home__process,
.profi-home__faq {
    padding: 24px;
}

.profi-home__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 8px;
    background: #f8e8e1;
    color: var(--profi-accent);
    font-size: 22px;
}

.profi-home__guarantee {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(112deg, rgba(23, 34, 37, .98), rgba(53, 35, 29, .95)),
        url('images/gallery/20200515_160724.jpg') center center / cover no-repeat;
}

.profi-home__guarantee::after {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(242, 189, 85, .2);
    border-radius: 50%;
}

.profi-home__guarantee-copy,
.profi-home__guarantee-grid {
    position: relative;
    z-index: 2;
}

.profi-home__guarantee-copy {
    max-width: 850px;
    margin-bottom: 34px;
}

.profi-home__guarantee .profi-home__kicker {
    color: var(--profi-gold);
}

.profi-home__guarantee-copy h2,
.profi-home__guarantee-copy p {
    color: #fff;
}

.profi-home__guarantee-copy p {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
    line-height: 1.7;
}

.profi-home__guarantee-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profi-home__guarantee-item {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(6px);
}

.profi-home__guarantee-item h3,
.profi-home__guarantee-item p {
    color: #fff;
}

.profi-home__guarantee-item p {
    color: rgba(255, 255, 255, .78);
}

.profi-home__guarantee-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 15px;
    border-radius: 50%;
    background: var(--profi-gold);
    color: #2b1c0c;
    font-weight: 800;
}

.profi-home__guarantee-note {
    position: relative;
    z-index: 2;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
}

.profi-home__process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    counter-reset: profi-step;
}

.profi-home__process {
    position: relative;
    padding-top: 66px;
}

.profi-home__process::before {
    counter-increment: profi-step;
    content: counter(profi-step);
    position: absolute;
    top: 24px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: var(--profi-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.profi-home__gallery {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 18px;
}

.profi-home__gallery-main,
.profi-home__gallery-grid a {
    position: relative;
    overflow: hidden;
    display: block;
    border-radius: 10px;
}

.profi-home__gallery-main {
    min-height: 486px;
}

.profi-home__gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.profi-home__gallery-grid a {
    min-height: 234px;
}

.profi-home__gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.profi-home__gallery a:hover img {
    transform: scale(1.035);
}

.profi-home__gallery-caption {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    padding: 15px 17px;
    border-radius: 8px;
    background: rgba(23, 34, 37, .86);
    color: #fff;
    font-weight: 700;
}

.profi-home__faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profi-home__final {
    background: linear-gradient(135deg, #f6f1ed 0%, #fff 100%);
}

.profi-home__final-copy {
    padding: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--profi-ink) 0%, var(--profi-accent) 100%);
    box-shadow: 0 22px 55px rgba(23, 34, 37, .19);
}

.profi-home__final-copy .profi-home__kicker {
    color: var(--profi-gold);
}

.profi-home__final-copy h2,
.profi-home__final-copy > p {
    color: #fff;
}

.profi-home__check-list {
    display: grid;
    gap: 11px;
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.profi-home__check-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #fff;
    font-weight: 700;
    line-height: 1.55;
}

.profi-home__check-list i {
    margin-top: 3px;
    color: var(--profi-gold);
}

.profi-home__contact-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin: 10px 22px 0 0;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
}

.profi-home__contact-link:hover,
.profi-home__contact-link:focus {
    color: var(--profi-gold);
}

@media (max-width: 1199px) {
    .profi-home__services,
    .profi-home__process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .profi-home__section {
        padding: 72px 0;
    }

    .profi-home__hero {
        padding: 66px 0 58px;
    }

    .profi-home__hero-grid,
    .profi-home__split,
    .profi-home__final-grid,
    .profi-home__gallery {
        grid-template-columns: 1fr;
    }

    .profi-home__stats {
        margin-top: 0;
        padding-top: 24px;
    }

    .profi-home__stats-grid,
    .profi-home__guarantee-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profi-home__guarantee-item:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .profi-home__section {
        padding: 58px 0;
    }

    .profi-home__hero {
        padding: 52px 0 48px;
    }

    .profi-home__hero-lead {
        font-size: 17px;
    }

    .profi-home__proofs,
    .profi-home__stats-grid,
    .profi-home__services,
    .profi-home__reasons,
    .profi-home__guarantee-grid,
    .profi-home__process-grid,
    .profi-home__faq-grid,
    .profi-home__gallery-grid {
        grid-template-columns: 1fr;
    }

    .profi-home__guarantee-item:last-child {
        grid-column: auto;
    }

    .profi-home__form-panel,
    .profi-home__final-copy {
        padding: 24px;
    }

    .profi-home .profi-contact-form form.row {
        grid-template-columns: 1fr;
    }

    .profi-home .profi-contact-form .profi-form-field--name,
    .profi-home .profi-contact-form .profi-form-field--email,
    .profi-home .profi-contact-form .profi-form-field--phone,
    .profi-home .profi-contact-form .profi-form-field--message {
        grid-column: 1;
        grid-row: auto;
    }

    .profi-home__image-frame,
    .profi-home__image-frame img {
        min-height: 390px;
    }

    .profi-home__gallery-main {
        min-height: 360px;
    }

    .profi-home__gallery-grid a {
        min-height: 270px;
    }

    .profi-home__actions .profi-home__button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .profi-home__button,
    .profi-home__card img,
    .profi-home__gallery img {
        transition: none;
    }
}
