/* Секции, добавленные поверх Tilda. Всё под префиксом .ix- , чтобы не пересекаться с классами Tilda. */

:root {
    --ix-gold: #b99e64;
    --ix-ink: #000;
    --ix-text: #525252;
    --ix-muted: #7d7d7d;
    --ix-line: #e6e2d8;
    --ix-soft: #faf8f4;
}

.ix {
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--ix-ink);
    -webkit-font-smoothing: antialiased;
}

.ix section {
    padding: 90px 0;
}

.ix section.ix-soft {
    background: var(--ix-soft);
}

.ix-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ---------- типографика ---------- */

.ix h1,
.ix h2,
.ix h3 {
    font-weight: 600;
    margin: 0;
    color: var(--ix-ink);
}

.ix h2 {
    font-size: 42px;
    line-height: 1.2;
    letter-spacing: -0.2px;
}

.ix h3 {
    font-size: 21px;
    line-height: 1.35;
}

.ix p {
    margin: 0;
    font-weight: 300;
    color: var(--ix-text);
    font-size: 18px;
    line-height: 1.6;
}

.ix .ix-gold {
    color: var(--ix-gold);
}

.ix-lead {
    font-size: 21px !important;
    line-height: 1.55 !important;
}

.ix-note {
    font-size: 15px !important;
    color: var(--ix-muted) !important;
}

.ix-head {
    max-width: 760px;
    margin-bottom: 54px;
}

.ix-head p {
    margin-top: 18px;
}

.ix-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- кнопки ---------- */

/* #allrecords a{color:#ff8562} из Tilda бьёт по ID, поэтому селектор такой же «тяжёлый» */
#allrecords .ix a.ix-btn,
#allrecords .ix a.ix-btn:link,
#allrecords .ix a.ix-btn:visited,
#allrecords .ix a.ix-btn:hover {
    color: var(--ix-ink);
}

/* белый текст на золотом даёт контраст 2.6:1 и почти не читается,
   поэтому на золотых кнопках текст тёмный. Сам цвет фона фирменный, не менялся. */
#allrecords .t-submit[style*="b99e64"] {
    color: var(--ix-ink) !important;
}

#allrecords .ix a.ix-btn_ghost,
#allrecords .ix a.ix-btn_ghost:link,
#allrecords .ix a.ix-btn_ghost:visited,
#allrecords .ix a.ix-btn_ghost:hover {
    color: var(--ix-ink);
}

.ix-btn {
    display: inline-block;
    padding: 18px 36px;
    border-radius: 10px;
    background: var(--ix-gold);
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1;
    transition: opacity .2s ease;
}

.ix-btn:hover {
    opacity: .85;
}

.ix-btn_ghost {
    background: transparent;
    color: var(--ix-ink);
    box-shadow: inset 0 0 0 1px var(--ix-line);
}

.ix-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

/* ---------- первый экран ---------- */

.ix-hero {
    padding: 70px 0 60px !important;
}

.ix-hero__grid {
    display: flex;
    align-items: center;
    gap: 40px;
}

.ix-hero__text {
    flex: 1 1 auto;
    min-width: 0;
}

.ix-hero__pic {
    flex: 0 0 250px;
    text-align: right;
}

.ix-hero__pic img {
    width: 250px;
    max-width: 100%;
    height: auto;
}

.ix-hero h1 {
    font-size: 46px;
    line-height: 1.15;
    letter-spacing: -0.4px;
    font-weight: 700;
}

.ix-hero__sub {
    margin-top: 22px !important;
    max-width: 640px;
}

.ix-hero .ix-btns {
    margin-top: 34px;
}

.ix-hero__note {
    margin-top: 18px !important;
}

.ix-eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--ix-gold);
    margin-bottom: 18px;
}

/* ---------- карточки ---------- */

.ix-grid {
    display: grid;
    gap: 28px;
}

.ix-grid_3 {
    grid-template-columns: repeat(3, 1fr);
}

.ix-grid_2 {
    grid-template-columns: repeat(2, 1fr);
}

.ix-card {
    background: #fff;
    border: 1px solid var(--ix-line);
    border-radius: 14px;
    padding: 30px;
}

.ix-card h3 {
    margin-bottom: 12px;
}

.ix-card p {
    font-size: 17px;
}

.ix-card_plain {
    background: transparent;
    border: 0;
    padding: 0;
}

/* боли: цитата клиента + расшифровка */

.ix-pain {
    padding-left: 22px;
    border-left: 3px solid var(--ix-gold);
}

.ix-pain h3 {
    font-weight: 600;
    font-size: 19px;
    margin-bottom: 10px;
}

.ix-pain p {
    font-size: 16px;
}

/* принципы: нумерация */

.ix-num {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--ix-gold);
    margin-bottom: 14px;
    letter-spacing: 1px;
}

/* ---------- процесс ---------- */

.ix-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--ix-line);
}

.ix-step {
    padding: 28px 28px 0 0;
    position: relative;
}

.ix-step::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--ix-gold);
}

.ix-step__when {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--ix-muted);
    margin-bottom: 10px;
}

.ix-step h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.ix-step p {
    font-size: 16px;
}

/* ---------- форматы работы ---------- */

.ix-format {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.ix-format__fit {
    margin-top: 18px !important;
    font-size: 15px !important;
    color: var(--ix-ink) !important;
    font-weight: 600;
}

.ix-format ul {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.ix-format li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 9px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ix-text);
    font-weight: 300;
}

.ix-format li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ix-gold);
}

/* ---------- обо мне ---------- */

.ix-about__grid {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.ix-about__pic {
    flex: 0 0 200px;
}

.ix-about__pic img {
    width: 200px;
    max-width: 100%;
    height: auto;
}

.ix-about__text {
    flex: 1 1 auto;
    min-width: 0;
}

.ix-about__text p + p {
    margin-top: 16px;
}

.ix-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--ix-line);
}

.ix-fact strong {
    display: block;
    font-size: 30px;
    font-weight: 600;
    color: var(--ix-ink);
    line-height: 1.1;
}

.ix-fact span {
    display: block;
    margin-top: 6px;
    font-size: 15px;
    color: var(--ix-muted);
    font-weight: 300;
    max-width: 220px;
}

/* ---------- FAQ ---------- */

.ix-faq {
    max-width: 900px;
}

.ix-faq details {
    border-bottom: 1px solid var(--ix-line);
    padding: 22px 0;
}

.ix-faq details:first-of-type {
    border-top: 1px solid var(--ix-line);
}

.ix-faq summary {
    cursor: pointer;
    list-style: none;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    padding-right: 40px;
    position: relative;
}

.ix-faq summary::-webkit-details-marker {
    display: none;
}

.ix-faq summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    font-weight: 300;
    color: var(--ix-gold);
    line-height: 1;
}

.ix-faq details[open] summary::after {
    content: '–';
}

.ix-faq details p {
    margin-top: 14px;
    max-width: 780px;
}

/* ---------- адаптив ---------- */

@media screen and (max-width: 1199px) {
    .ix h2 { font-size: 38px; }
    .ix-hero h1 { font-size: 40px; }
    .ix section { padding: 76px 0; }
}

@media screen and (max-width: 959px) {
    .ix-grid_3 { grid-template-columns: repeat(2, 1fr); }
    .ix-steps { grid-template-columns: repeat(2, 1fr); }
    .ix-step { padding-right: 22px; }
    .ix-hero__pic { flex-basis: 180px; }
    .ix-hero__pic img { width: 180px; }
    .ix-hero h1 { font-size: 34px; }
}

@media screen and (max-width: 639px) {
    .ix section { padding: 56px 0; }
    .ix h2 { font-size: 28px; }
    .ix h3 { font-size: 19px; }
    .ix-hero { padding: 40px 0 44px !important; }
    .ix-hero h1 { font-size: 28px; }
    .ix-hero__grid { flex-direction: column-reverse; align-items: flex-start; gap: 20px; }
    .ix-hero__pic { flex: 0 0 auto; align-self: flex-end; margin-top: -10px; }
    .ix-hero__pic img { width: 130px; }
    .ix-lead { font-size: 18px !important; }
    .ix-grid, .ix-grid_3, .ix-grid_2 { grid-template-columns: 1fr; gap: 22px; }
    .ix-steps { grid-template-columns: 1fr; }
    .ix-step { padding: 24px 0 0; }
    .ix-about__grid { flex-direction: column; gap: 26px; }
    .ix-facts { gap: 26px; }
    .ix-fact strong { font-size: 26px; }
    .ix-btn { display: block; text-align: center; padding: 17px 24px; }
    .ix-btns { display: block; }
    .ix-btns .ix-btn + .ix-btn { margin-top: 12px; }
    .ix-faq summary { font-size: 18px; }
    .ix-head { margin-bottom: 34px; }
}
