:root {
    --linen: #EEEBDE;
    --muted: #6f6a60;
    --ink: #171714;
    --line: rgba(97, 0, 9, .18);
    
    interpolate-size: allow-keywords;
}
h2 {
    font-family: "Harp";
}
.color-white {
    color: white !important;
}
.color-red {
    color: var(--color-brand-accent-red) !important;
}
.color-blue {
    color: var(--color-brand-accent-blue);
}
.color-beige {
    color: var(--color-brand-accent-beige);
}
.red-section {
    background: var(--color-brand-accent-red);
}
.bold {
    font-weight: 600;
}
.great-h {
    font-size: 5.5rem;
    line-height: 5.5rem;
    margin: 0;
}
.text-uppercase {
    text-transform: uppercase;
}
.big {
    font-size: 1.5rem;
    justify-self: end;
    color: #312d28;
}
.align-items-end {
    align-items: end;
}
.align-items-center {
    align-items: center;
}
.align-items-stretch {
    align-items: stretch;
}


/* ---------- Контейнер секции ---------- */
.land-section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--line);
}
.land-section.extrapadding{
    padding: 6rem 0;
}
.land-section .wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 1rem;
    justify-content: space-between;
}


.eyebrow {
    font-size: 0.8125rem;
    letter-spacing: .16em;
}

/* ---------- Мобилка / планшет: блок = своя строка ---------- */
.d-33,
.d-30,
.d-40,
.d-50,
.d-60,
.d-70,
.m-100 {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.media {
    flex: 1 1 auto;
    width: 100%;
    min-height: 460px; 
    border-radius: 0;
    overflow: hidden;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    
    background-color: var(--color-brand-accent-gold);
}

.bg-1 {
    background-image: url("/template/images/2026.10/55621.jpg");
}
.bg-2 {
    background-image: url("/template/images/2026.10/sav.jpg");
}
.bg-3 {
    background-image: url("/template/images/2026.10/10.png");
}
.bg-4 {
    background-image: url("/template/images/2026.10/31.png");
}
.bg-5 {
    background-image: url("/template/images/2026.10/32.png");
}
.card {
    border: 1px solid var(--line);
}
.card .text {
    padding: 2rem;
    font-size: 1.25rem;
    line-height: 1.25rem;
}
.card .text h3 { 
    margin-top: 0;
}

/* ---------- Кнопки ---------- */
.buttons-line {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0 1rem;
}


/* scenario */
.scenario {
    display: grid;
    grid-template-columns: 3.625rem 1fr;
    gap: 0.75rem;
    padding: 1.625rem 0;
    border-bottom: 1px solid var(--line);
}
.scenario-num {
    color: var(--color-brand-accent-red);
    font-size: 1rem;
}
.scenario h3 {
    font-size: 1.5rem;
    margin-top: 0;
}
.scenario p {
    font-size: 1rem;
    color: var(--muted);
    margin-top: 0.375rem;
}
.scenario-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
}

/* callouts */
.callouts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.call {
    color: white;
    padding: 1.125rem;
    border-top: 1px solid rgba(238, 235, 222, .32);
    font-size: 1.125rem;
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
}
.call small {
    opacity: .72;
    font-size: 0.75rem;
}


/* process-grid  */
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 0.0625rem solid var(--line);
    margin-top: 3.5rem;
}
.step {
    padding: 1.625rem 1.375rem 1.25rem 0;
    border-right: 0.0625rem solid var(--line);
}
.step + .step {
    padding-left: 1.375rem;
}
.step .n {
    font-family: 'Harp Display', Georgia, serif;
    font-size: 2.875rem;
    color: var(--color-brand-accent-red);
    margin-bottom: 1.75rem;
}
.step h3 {
    font-size: 1.3125rem;
    font-weight: 500;
}
.step p {
    font-size: 1rem;
    color: var(--muted);
    margin-top: 0.625rem;
}

/* case */
.case-copy dl {
    display: grid;
    grid-template-columns: 9.375rem 1fr;
    gap: 0.625rem 1.125rem;
    margin: 1.75rem 0 0;
}
.case-copy h3 {
    font-size: 2.125rem;
    font-weight: 500;
}
dt {
    font-size: 0.8125rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}
dd {
    margin: 0;
    font-size: 1.0625rem;
    color: var(--ink);
}

/* why */
.why-list {
    border-top: 0.0625rem solid var(--line);
    margin-top: 2.125rem;
}
.why-item {
    padding: 1.5rem 0;
    border-bottom: 0.0625rem solid var(--line);
}
.why-item h3 {
    font-weight: 500;
    margin: 0;
}
.why-item p {
    font-size: 1rem;
    color: var(--muted);
    margin-top: 0.5rem;
}

/* ---------- Галерея 1 + 2 ---------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;              /* 10px — тот же зазор, что на референсе */
    flex: 1 1 auto;             /* см. пункт про растягивание ниже */
}

/* верхняя картинка на всю ширину */
.gallery img:first-child {
    grid-column: 1 / -1;
}

.gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;           /* на референсе углы прямые */
}


/* faq */
.faq {
    max-width: 57.5rem;
    margin: 3rem auto 0;
    border-top: 0.0625rem solid var(--line);
    width: 100%;
}
details {
    border-bottom: 0.0625rem solid var(--line);
    padding: 0;
}
summary {
    list-style: none;
    padding: 1.5rem 0.25rem;
    cursor: pointer;
    font-size: 1.3125rem;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}
details p {
    font-size: 1rem;
    color: var(--muted);
    padding: 0 2.875rem 1.5rem 0.25rem;
}
details[open] summary::after {
    content: '−';
}
summary::after {
    content: '+';
    font-size: 1.5625rem;
    font-weight: 300;
}
details::details-content {
    height: 0;
    overflow: hidden;
    transition: height .35s ease,
                content-visibility .35s allow-discrete;
}
details[open]::details-content {
    height: auto;
}


/* form */
.form {
    background: var(--color-brand-accent-beige);
    color: var(--ink);
    padding: 2.125rem;
}
.form h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.125rem;
}
.field {
    margin-bottom: 1.125rem; 
}
.field label {
    display: block;
    font-size: .75rem;        
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-brand-accent-red);
    margin-bottom: .5rem;  
}
.form .fieldbox {
    display: block;
    width: 100%;
    border: 0;
    border-bottom: .0625rem solid rgba(97, 0, 9, .35);
    border-radius: 0;
    background: transparent;
    font-family: inherit;
    line-height: 1.4;
    color: var(--ink);
    box-shadow: none;
    appearance: none;
}
.form input.fieldbox {
    height: 3.125rem;
    padding: 0;
}
.form textarea.fieldbox {
    min-height: 7.5rem;
    padding: .75rem 0 .5rem;
    resize: vertical;
}
.form .fieldbox::placeholder {
    color: #8a8378; 
    opacity: 1;
}
.form .fieldbox:focus {
    outline: none;
    border-bottom-color: var(--color-brand-accent-red);
}

/* ошибки валидации */
.field-error {
    display: block;
    font-size: .75rem;
    color: #b00020;
    margin-top: .375rem;
}
.field-error:empty { display: none; }

/* файл */
.attach-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
.attach {
    display: block;
    border: .0625rem dashed rgba(97, 0, 9, .35);
    padding: 1rem;
    font-size: .875rem;           
    color: var(--garnet);
    margin: .5rem 0 1.375rem; 
    cursor: pointer;
    transition: border-color .2s, color .2s;
}
.attach:hover { border-color: var(--color-brand-accent-red); }
.attach.is-filled { border-style: solid; color: var(--ink); }

.attach-input:focus-visible + .attach {
    border-color: var(--color-brand-accent-red);
    outline: .125rem solid var(--color-brand-accent-red);
    outline-offset: .125rem;
}

/* согласие */
.field-agree { margin-bottom: 1.125rem; }
.field-agree label {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
    font-size: .8125rem;            /* 13px */
    letter-spacing: 0;
    text-transform: none;     
    color: var(--ink);
    cursor: pointer;
}
.field-agree input[type="checkbox"] {
    flex: 0 0 auto;
    width: 1.125rem;
    height: 1.125rem;
    margin: .125rem 0 0;
    accent-color: var(--color-brand-accent-red);
}


/* jGrowl */
/* вид всплывашки после успешной отправки */
.jGrowl .jGrowl-notification,
.jGrowl .jGrowl-closer {
    background: #610009;
    background-image: none;
    border: 0.0625rem solid var(--color-brand-accent-red);
    color: #fff;
    opacity: 1;
}
body .jGrowl .jGrowl-notification,
body .jGrowl .jGrowl-notification.ui-state-highlight,
body .jGrowl .jGrowl-notification .jGrowl-message,
body .jGrowl .jGrowl-notification .ui-state-highlight {
    background: #610009 !important;
    background-image: none !important;
    border: 0.0625rem solid #610009 !important;
    color: #fff !important;
    opacity: 1 !important;
    filter: none !important;
}
.jGrowl .jGrowl-notification .jGrowl-close {
    color: #fff;
}








@media (min-width: 992px) {
  .d-70 { flex: 0 0 calc(70% - 1rem); max-width: calc(70% - 1rem); }
  .d-60 { flex: 0 0 calc(60% - 1rem); max-width: calc(60% - 1rem); }
  .d-50 { flex: 0 0 calc(50% - 1rem); max-width: calc(50% - 1rem); }
  .d-40 { flex: 0 0 calc(40% - 1rem); max-width: calc(40% - 1rem); }
  .d-30 { flex: 0 0 calc(30% - 1rem); max-width: calc(30% - 1rem); }
  .d-33 { flex: 0 0 calc(33% - 1rem); max-width: calc(33% - 1rem); }
}

@media (max-width: 1440px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 1200px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    html {
        font-size: 12px;
    }
    .land-section {
        padding: 3rem 0;
    }
    .scenario h3 {
        font-size: 1.75rem;
    }
    .scenario p {
        font-size: 1.25rem;
    }
    .eyebrow {
        font-size: 1.1rem;
    }
    .big {
        font-size: 1.7rem;
    }
    .process-grid {
        grid-template-columns: 1fr;
    }
    .buttons-line {
        flex-direction: column;
    }
    .great-h {
        font-size: 4rem;
        line-height: 4rem;
    }
    .buttons-line .btn {
        flex: 1 1 0;
        white-space: nowrap;
        text-align: center;
    }
    .m-1 {
        order: 1;
    }
    .m-2 {
        order: 2;
    }
    .m-3 {
        order: 3;
    }
    .m-4 {
        order: 4;
    }
    .process-grid {
        margin-top: 0;
    }
    
    
    .step, .step+.step {
        padding: 22px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        display: grid;
        grid-template-columns: 58px 1fr;
        gap: 14px;
    }
    .step .n {
        margin: 0;
    }
    .step p {
        font-size: 1.25rem;
        margin-top: 0.75rem;
        margin-bottom: 0;
    }
    .step h3 {
        font-size: 1.75rem;
        font-weight: 500;
        margin: 0;
    }
    
    dd {
        font-size: 1.25rem;
    }
    dt {
        font-size: 1.1rem;
    }
    .case-copy h3 {
        font-size: 2.75rem;
        line-height: 2.75rem;
    }
    .why-item p {
        font-size: 1.25rem;
    }
    .why-item {
        padding-right: 1rem;
    }
    summary {
        font-size: 1.75rem;
    }
    details p {
        font-size: 1.5rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}