/* ==========================================================================
   Nobel Web — minimalist green & white
   ========================================================================== */

:root {
    /* Colors */
    --green:        #0F8A5F;
    --green-dark:   #0A6A49;
    --green-light:  #E8F5EF;
    --green-line:   #CBE5DA;

    --ink:          #0E1512;
    --ink-2:        #35453D;
    --muted:        #6B7C74;

    --white:        #FFFFFF;
    --bg-soft:      #F7FBF9;
    --line:         #E6EDE9;

    /* Layout */
    --container:    1160px;
    --radius:       14px;
    --radius-lg:    20px;

    /* Motion */
    --ease:         cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.container--narrow { max-width: 760px; }

.accent { color: var(--green); }

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s var(--ease), color .2s var(--ease),
                border-color .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-dark); }

.btn--ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }

.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }

/* ==================== HEADER ==================== */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 68px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.02em; }
.logo__mark {
    display: grid;
    place-items: center;
    width: 30px; height: 30px;
    border-radius: 9px;
    background: var(--green);
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
}
.logo__text { font-size: 17px; }
.logo__accent { color: var(--green); }
.logo--sm .logo__text { font-size: 16px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 28px; }
.nav__list a {
    position: relative;
    font-size: 15px;
    color: var(--ink-2);
    transition: color .2s var(--ease);
}
.nav__list a:hover { color: var(--green); }
.nav__list a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 1.5px;
    background: var(--green);
    transition: width .25s var(--ease);
}
.nav__list a:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 14px; }

/* Language switcher */
.lang {
    display: inline-flex;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
}
.lang__btn {
    padding: 5px 11px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font: inherit;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--muted);
    cursor: pointer;
    transition: background .2s var(--ease), color .2s var(--ease);
}
.lang__btn:hover { color: var(--ink); }
.lang__btn.is-active { background: var(--green-light); color: var(--green-dark); }

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
}
.burger span {
    display: block;
    width: 16px; height: 1.5px;
    margin: 0 auto;
    background: var(--ink);
    transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ==================== HERO ==================== */
.hero {
    position: relative;
    padding: 110px 0 90px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -180px; left: 50%;
    width: 900px; height: 500px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, var(--green-light) 0%, transparent 70%);
    pointer-events: none;
}
.hero__inner { position: relative; text-align: center; }

.badge {
    display: inline-block;
    margin-bottom: 22px;
    padding: 6px 14px;
    border: 1px solid var(--green-line);
    border-radius: 999px;
    background: var(--white);
    font-size: 13px;
    color: var(--green-dark);
}

.hero__title {
    max-width: 860px;
    margin: 0 auto;
    font-size: clamp(34px, 6vw, 62px);
    font-weight: 600;
}
.hero__title span { display: block; }

.hero__sub {
    max-width: 620px;
    margin: 22px auto 0;
    font-size: 17px;
    color: var(--muted);
}

.hero__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.hero__stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 64px;
}
.hero__stats li {
    flex: 1 1 200px;
    max-width: 260px;
    padding: 22px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}
.hero__stats strong {
    display: block;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--green);
}
.hero__stats span { font-size: 14px; color: var(--muted); }

/* ==================== SECTIONS ==================== */
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section--soft { background: var(--bg-soft); }
.section--cta { background: var(--bg-soft); }

.section__head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section__label {
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--green);
}
.section__title { font-size: clamp(26px, 3.6vw, 40px); }
.section__sub { margin-top: 14px; font-size: 16px; color: var(--muted); }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ==================== CARDS ==================== */
.card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.card:hover { border-color: var(--green-line); transform: translateY(-3px); }
.card__title { font-size: 18px; margin-bottom: 10px; }
.card__text { font-size: 15px; color: var(--muted); }

/* ==================== STEPS ==================== */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    counter-reset: step;
}
.step { padding-top: 22px; border-top: 2px solid var(--green-line); }
.step__num {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    color: var(--green);
}
.step__title { font-size: 17px; margin-bottom: 8px; }
.step__text { font-size: 14.5px; color: var(--muted); }

/* ==================== PRICING ==================== */
.pricing { align-items: stretch; }

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
}
.plan:hover { border-color: var(--green-line); }
.plan__head { padding-bottom: 24px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan__name { font-size: 20px; }
.plan__desc { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.plan__price { margin-top: 20px; display: flex; align-items: baseline; gap: 6px; }
.plan__num { font-size: 46px; font-weight: 600; letter-spacing: -0.03em; }
.plan__cur { font-size: 22px; font-weight: 500; color: var(--green); }

/* «Что это такое?» — раскрывающееся объяснение внутри тарифа */
.what { margin-bottom: 22px; }
.what summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid var(--green-line);
    border-radius: 999px;
    background: var(--white);
    font-size: 14px;
    font-weight: 500;
    color: var(--green-dark);
    cursor: pointer;
    list-style: none;
    transition: background .2s var(--ease), border-color .2s var(--ease);
}
.what summary::-webkit-details-marker { display: none; }
.what summary::after {
    content: '+';
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    transition: transform .25s var(--ease);
}
.what summary:hover { background: var(--green-light); border-color: var(--green); }
.what[open] summary { background: var(--green-light); border-color: var(--green); }
.what[open] summary::after { transform: rotate(45deg); }
.what > p {
    margin-top: 14px;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: var(--bg-soft);
    font-size: 14.5px;
    color: var(--ink-2);
}

.plan__list { flex: 1; margin-bottom: 28px; }
.plan__list li {
    position: relative;
    padding: 8px 0 8px 28px;
    font-size: 15px;
    color: var(--ink-2);
}
.plan__list li::before {
    content: '';
    position: absolute;
    left: 4px; top: 15px;
    width: 11px; height: 6px;
    border-left: 1.8px solid var(--green);
    border-bottom: 1.8px solid var(--green);
    transform: rotate(-45deg);
}

.pricing__note {
    margin-top: 26px;
    text-align: center;
    font-size: 14px;
    color: var(--muted);
}

/* ==================== FAQ ==================== */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    font-size: 16.5px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    transition: color .2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: '+';
    flex: 0 0 auto;
    font-size: 20px;
    font-weight: 400;
    color: var(--green);
    transition: transform .25s var(--ease);
}
.faq__item[open] summary { color: var(--green); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 40px 22px 0; font-size: 15px; color: var(--muted); }

/* ==================== CALL CARD ==================== */
.callcard {
    padding: 44px 32px;
    border: 1px solid var(--green-line);
    border-radius: var(--radius-lg);
    background: var(--white);
    text-align: center;
    box-shadow: 0 22px 54px -34px rgba(15,138,95,.45);
}
.callcard__label {
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}
.callcard__phone {
    display: inline-block;
    font-size: clamp(32px, 6.5vw, 52px);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
    transition: color .2s var(--ease);
}
.callcard__phone:hover { color: var(--green); }
.callcard__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}
.callcard__note { margin-top: 22px; font-size: 14px; color: var(--muted); }

/* ==================== FOOTER ==================== */
.footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}
.footer__text, .footer__copy { font-size: 14px; color: var(--muted); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1000px) {
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .burger { display: flex; }
    .nav {
        position: fixed;
        inset: 68px 0 auto;
        margin: 0;
        padding: 18px 24px 26px;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        transform: translateY(-140%);
        transition: transform .3s var(--ease);
    }
    .nav.is-open { transform: translateY(0); }
    .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav__list li + li { border-top: 1px solid var(--line); }
    .nav__list a { display: block; padding: 14px 0; font-size: 16px; }
    .nav__list a::after { display: none; }
    .header__actions .btn { display: none; }

    .hero { padding: 72px 0 64px; }
    .section { padding: 68px 0; }
    .grid--2, .grid--3 { grid-template-columns: 1fr; }
    .plan { padding: 26px; }
    .callcard { padding: 32px 20px; }
    .callcard__actions .btn { width: 100%; }
    .footer__inner { justify-content: center; text-align: center; }
}

@media (max-width: 520px) {
    .steps { grid-template-columns: 1fr; }
    .hero__stats li { max-width: none; }
    .hero__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
