/* ===== Палитра ETS (зелёный/золото) ===== */
:root {
    --ets-green: #1e5a3a;
    --ets-green-dark: #11402b;
    --ets-gold: #d4af37;
    --ets-cream: #f6f4ee;
    --ets-text: #2a2a2a;
    --ets-muted: #888;
    --ets-line: #e8e8e8;
}

/* ===== Базовые ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.8;
    color: var(--ets-text);
    background: var(--ets-cream);
    font-weight: 300;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 30px
}

/* ===== Hero ===== */
.hero {
    padding: 120px 0 100px;
    text-align: center;
    background: var(--ets-cream);
    border-bottom: 1px solid var(--ets-line);
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: -2px;
    color: #0f1a14
}

.hero .subtitle {
    font-size: 1.5rem;
    color: #666;
    font-weight: 300;
    margin-bottom: 15px;
    letter-spacing: .5px
}

.hero .description {
    font-size: 1.1rem;
    color: var(--ets-muted);
    max-width: 700px;
    margin: 0 auto 50px;
    font-weight: 300
}

/* ===== Кнопки ===== */
.btn-primary {
    display: inline-block;
    background: var(--ets-green-dark);
    color: #fff;
    padding: 16px 45px;
    font-size: .95rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: .3s;
    border: 2px solid var(--ets-green-dark);
}

.btn-primary:hover {
    background: transparent;
    color: var(--ets-green-dark)
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 16px 45px;
    font-size: .95rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: .3s;
    border: 2px solid #fff;
    margin-top: 30px;
}

.btn-secondary:hover {
    background: #fff;
    color: var(--ets-green-dark)
}

/* ===== Общие секции ===== */
.section {
    padding: 100px 0;
    border-bottom: 1px solid var(--ets-line)
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    color: #0f1a14
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--ets-muted);
    margin-bottom: 80px;
    font-weight: 300
}

/* ===== Pain ===== */
.pain-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 80px
}

.stat-item {
    text-align: center;
    padding: 40px 20px
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 900;
    color: #0f1a14;
    margin-bottom: 20px;
    line-height: 1
}

.stat-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    font-weight: 300
}

.highlight-box {
    background: var(--ets-green-dark);
    color: #fff;
    padding: 60px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: .5px;
    margin: 80px 0
}

.pain-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto
}

.pain-item {
    padding: 30px 0;
    border-bottom: 1px solid var(--ets-line);
    font-size: 1.05rem;
    color: #666;
    font-weight: 300
}

.pain-item::before {
    content: '—';
    margin-right: 15px;
    color: #0f1a14
}

/* ===== Modules ===== */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 80px
}

.module-item {
    text-align: left
}

.module-number {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    font-weight: 900;
    color: #eae5d2;
    line-height: 1;
    margin-bottom: 20px
}

.module-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700
}

.module-tagline {
    font-style: italic;
    color: var(--ets-muted);
    margin-bottom: 25px;
    font-size: .95rem;
    font-weight: 300
}

.module-item ul {
    list-style: none;
    padding: 0
}

.module-item ul li {
    padding: 10px 0;
    color: #666;
    font-size: .95rem;
    padding-left: 20px;
    position: relative;
    font-weight: 300
}

.module-item ul li::before {
    content: '·';
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1
}

/* ===== How it works ===== */
.comparison-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin: 80px auto;
    max-width: 1000px
}

.comparison-box h3 {
    font-size: 1.8rem;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700
}

.comparison-step {
    padding: 20px 0;
    border-bottom: 1px solid var(--ets-line);
    font-size: 1rem;
    color: #666;
    font-weight: 300
}

.comparison-step:last-child {
    border-bottom: none
}

.quote-box {
    text-align: center;
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-style: italic;
    color: #0f1a14;
    max-width: 800px;
    margin: 80px auto 0;
    line-height: 1.5
}

/* ===== Cases / Examples ===== */
.examples-section {
    background: #fff
}

.cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
    margin-top: 80px
}

.case-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px 0;
    border-bottom: 1px solid var(--ets-line)
}

.case-item:last-child {
    border-bottom: none
}

.case-content h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 700
}

.case-label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0f1a14;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 25px
}

.case-label:first-of-type {
    margin-top: 0
}

.case-text {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 300
}

.case-results h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600
}

.case-results ul {
    list-style: none
}

.case-results ul li {
    padding: 12px 0;
    color: #666;
    font-size: .95rem;
    padding-left: 20px;
    position: relative;
    font-weight: 300
}

.case-results ul li::before {
    content: '↗';
    position: absolute;
    left: 0;
    color: var(--ets-green-dark)
}

/* ===== Process / Timeline ===== */
.timeline {
    max-width: 800px;
    margin: 80px auto 0
}

.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--ets-line)
}

.timeline-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0
}

.timeline-number {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    color: #eae5d2;
    line-height: 1
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700
}

.timeline-duration {
    color: var(--ets-muted);
    font-size: .9rem;
    margin-bottom: 15px;
    font-weight: 300
}

.timeline-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 300
}

/* ===== Pricing (full-width + один ряд на десктопе) ===== */
.pricing-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
    font-size: 1.1rem;
    color: #666;
    font-weight: 300
}

/* База (мобилка/планшет) */
.pricing-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr;
    margin-bottom: 80px;
}

/* Full-bleed и единый ряд на десктопе */
@media (min-width:1024px) {
    .pricing-grid {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding: 0 clamp(24px, 5vw, 64px);
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        align-items: stretch;
    }
}

@supports (width:100dvw) {
    @media (min-width:1024px) {
        .pricing-grid {
            width: 100dvw;
            margin-left: calc(50% - 50dvw);
            margin-right: calc(50% - 50dvw);
        }
    }
}

/* Карточки */
.pricing-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 40px 32px;
    background: #fff;
    border: 1px solid var(--ets-line);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(17, 64, 43, .06);
    transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}

.pricing-item:hover {
    transform: translateY(-2px);
    border-color: var(--ets-green-dark);
    box-shadow: 0 16px 40px rgba(17, 64, 43, .12)
}

.pricing-item.featured {
    border-color: var(--ets-gold);
    border-width: 2px;
    box-shadow: 0 12px 32px rgba(212, 175, 55, .15)
}

.pricing-item h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700
}

.pricing-target {
    color: var(--ets-muted);
    font-size: .9rem;
    font-style: italic;
    margin-bottom: 30px;
    font-weight: 300
}

.pricing-amount {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--ets-green-dark)
}

.pricing-period {
    color: var(--ets-muted);
    font-size: .9rem;
    margin-bottom: 30px;
    font-weight: 300
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--ets-line);
    line-height: 1;
}

.pricing-features li {
    padding: 12px 0;
    color: #666;
    font-size: .95rem;
    font-weight: 300
}

.pricing-result {
    margin-top: 25px
}

.pricing-result h4 {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 600
}

.pricing-result p {
    color: #666;
    font-size: .9rem;
    line-height: 1.7;
    font-weight: 300
}

/* CTA внизу карточки для выравнивания */
.pricing-item .btn-primary {
    margin-top: auto;
    width: 100%
}

/* ===== Benefits ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 80px
}

.benefit-item {
    text-align: left
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 25px
}

.benefit-item h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: 700
}

.benefit-item ul {
    list-style: none
}

.benefit-item ul li {
    padding: 10px 0;
    color: #666;
    font-size: .95rem;
    font-weight: 300
}

/* ===== CTA (современный вид) ===== */
.cta-section {
    position: relative;
    padding: 120px 0;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background:
        radial-gradient(1100px 480px at 15% -10%, rgba(255, 255, 255, .08), transparent 60%),
        radial-gradient(900px 420px at 85% 120%, rgba(255, 255, 255, .06), transparent 60%),
        linear-gradient(180deg, #0d3a2b, #09261b);
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: -30% -10% -40% -10%;
    pointer-events: none;
    background: radial-gradient(600px 300px at 50% 0, rgba(212, 175, 55, .10), transparent 70%);
}

.cta-section h2 {
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    font-weight: 900;
    letter-spacing: -.02em;
    margin-bottom: 20px;
    color: #fff
}

.cta-section p {
    font-size: 1.1rem;
    max-width: 760px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, .88);
    font-weight: 300
}

.cta-section p:last-of-type {
    font-size: .95rem;
    color: rgba(255, 255, 255, .78)
}

/* Карточки-шаги */
.cta-steps {
    max-width: 900px;
    margin: 36px auto 32px;
    text-align: left
}

.cta-steps ol {
    list-style: none;
    counter-reset: list-counter;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.cta-steps ol li {
    position: relative;
    counter-increment: list-counter;
    padding: 16px 18px 16px 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    color: rgba(255, 255, 255, .92);
    font-size: 1.02rem;
}

.cta-steps ol li::before {
    content: counter(list-counter);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--ets-gold, #d4af37), rgba(212, 175, 55, .78));
    color: #0f2b20;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(212, 175, 55, .25);
}

/* CTA-кнопка внутри зелёной секции — «outline» */
.cta-section .btn-secondary {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 12px;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .92);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(255, 255, 255, .18);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}

.cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, .08);
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .32)
}

.cta-section .btn-secondary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .28)
}

/* ===== Contacts ===== */
.contacts-section {
    background: #fff
}

.contacts-lead {
    text-align: center;
    max-width: 760px;
    margin: 10px auto 30px;
    color: #666
}

.contacts-list {
    list-style: none;
    max-width: 520px;
    margin: 0 auto 30px;
    padding: 0
}

.contacts-item {
    padding: 8px 0;
    text-align: center
}

.contacts-cta {
    margin-top: 10px
}

/* ===== Микро-секции ===== */
.section--alt {
    background: #fff
}

/* ——— Было/Стало как карточки со степпером ——— */
.comparison--cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 70px auto 0;
    max-width: 1000px;
}

.comparison-box {
    background: #fff;
    border: 1px solid var(--ets-line);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 24px rgba(17, 64, 43, .05);
    position: relative;
}

.comparison-box h3 {
    font-size: 2rem;
    margin: 0 0 18px;
    text-align: left
}

.card-was {
    box-shadow: 0 10px 24px rgba(0, 0, 0, .03)
}

.card-now {
    border-color: rgba(212, 175, 55, .45);
    box-shadow: 0 14px 30px rgba(212, 175, 55, .10)
}

.comparison-step {
    position: relative;
    padding: 16px 0 16px 38px;
    border-bottom: 1px solid var(--ets-line);
    color: #4d5a55;
}

.comparison-step:last-child {
    border-bottom: 0
}

.card-was .comparison-step::before,
.card-now .comparison-step::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 22px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.card-was .comparison-step::before {
    background: #cfcfcf;
    box-shadow: 0 0 0 4px #f1f1f1
}

.card-now .comparison-step::before {
    background: var(--ets-gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, .20)
}

.comparison-step::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 28px;
    bottom: -28px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .08), rgba(0, 0, 0, 0));
}

.comparison-step:last-child::after {
    display: none
}

.insight-box {
    margin: 50px auto 0;
    max-width: 1000px;
    background: #fff;
    border: 2px solid var(--ets-gold);
    border-radius: 12px;
    padding: 40px 50px;
    box-shadow: 0 12px 30px rgba(212, 175, 55, .12);
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 30px;
    align-items: start;
}

.insight-icon {
    font-size: 3.5rem;
    line-height: 1;
    text-align: center
}

.insight-title {
    font-size: 1.5rem;
    margin-bottom: 18px;
    color: #0f1a14;
    font-weight: 700
}

.insight-content p {
    color: #51605b;
    line-height: 1.8;
    margin-bottom: 20px
}

.insight-highlight {
    background: linear-gradient(90deg, rgba(212, 175, 55, .08), rgba(212, 175, 55, .02));
    border-left: 3px solid var(--ets-gold);
    padding: 18px 22px;
    margin-top: 25px;
    color: #2a2a2a;
    font-size: .98rem;
}

.insight-highlight strong {
    font-weight: 600;
    color: #0f1a14
}

/* ===== CF7: две колонки через flex ===== */
.cta-form-wrapper .cf7-two-col {
    display: flex;
    gap: 24px;
    align-items: stretch
}

.cta-form-wrapper .cf7-col {
    flex: 1 1 0;
    min-width: 0
}

.cta-form-wrapper .cf7-right {
    display: flex;
    flex-direction: column;
    gap: 18px
}

.cta-form-wrapper .cf7-right .grow {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column
}

.cta-form-wrapper .cf7-right .grow textarea {
    flex: 1 1 auto;
    min-height: 220px
}

.cta-form-wrapper .submit-row {
    margin-top: auto
}

.cta-form-wrapper .submit-row .btn-primary,
.cta-form-wrapper input[type="submit"] {
    width: 100%
}

/* Контролы */
.cta-form-wrapper label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--ets-text);
    font-weight: 500
}

.cta-form-wrapper input[type="text"],
.cta-form-wrapper input[type="email"],
.cta-form-wrapper input[type="tel"],
.cta-form-wrapper textarea {
    width: 100%;
    padding: 16px 18px;
    background: #fff;
    border: 2px solid var(--ets-line);
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.4;
    color: var(--ets-text);
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.cta-form-wrapper input:hover,
.cta-form-wrapper textarea:hover {
    border-color: rgba(0, 0, 0, .18)
}

.cta-form-wrapper input:focus,
.cta-form-wrapper textarea:focus {
    outline: none;
    border-color: var(--ets-gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, .15)
}

/* ===== Адаптив ===== */
@media (max-width:1024px) {
    .cta-form-wrapper .cf7-two-col {
        flex-direction: column
    }

    .cta-form-wrapper .submit-row {
        margin-top: 0
    }
}

@media (max-width:968px) {
    .hero h1 {
        font-size: 3rem
    }

    .section-title {
        font-size: 2.2rem
    }

    .pain-stats,
    .modules-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .comparison-wrapper {
        grid-template-columns: 1fr;
        gap: 50px
    }

    .case-item {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .pain-list {
        grid-template-columns: 1fr
    }

    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: 25px
    }

    .timeline-number {
        font-size: 2.5rem
    }

    .comparison--cards {
        grid-template-columns: 1fr
    }

    .cta-steps ol {
        grid-template-columns: 1fr
    }

    .cta-section {
        padding: 90px 0
    }
}

@media (max-width:640px) {
    .hero h1 {
        font-size: 2.2rem
    }

    .hero .subtitle {
        font-size: 1.2rem
    }

    .section {
        padding: 60px 0
    }

    .section-title {
        font-size: 1.8rem
    }

    .stat-number {
        font-size: 3.5rem
    }

    .quote-box {
        font-size: 1.3rem
    }
}

/* ===== Accessibility: reduce motion ===== */
@media (prefers-reduced-motion:reduce) {
    * {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important
    }
}

/* ===== Contacts: карточки без формы ===== */
.contact-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:24px;
  margin-top:20px;
}
@media (max-width: 820px){
  .contact-grid{ grid-template-columns:1fr; }
}

.contact-card{
  display:flex; gap:18px; align-items:center;
  background:#fff;
  border:1px solid var(--ets-line);
  border-radius:16px;
  padding:22px;
  box-shadow:0 10px 24px rgba(17,64,43,.06);
}

.contact-icon{
  flex:0 0 56px; width:56px; height:56px; border-radius:50%;
  display:grid; place-items:center;
  background:linear-gradient(180deg, var(--ets-gold), rgba(212,175,55,.75));
  color:#0f2b20; font-size:26px; box-shadow:0 8px 20px rgba(212,175,55,.25);
}

.contact-content h3{
  font-size:1.05rem; margin:0 0 6px; color:#0f1a14; font-weight:700;
}
.contact-link{
  display:block;
  font-size:1.4rem; font-weight:800; letter-spacing:.2px;
  color:var(--ets-green-dark); text-decoration:none; margin-bottom:10px;
}
.contact-link:hover{ text-decoration:underline; }

.contact-action{
  display:inline-block; margin-top:2px; width:auto; padding:12px 18px;
}