:root{
    --bg:#e9eef6;
    --surface:#edf2fa;
    --text:#1b2a44;
    --muted:#51607a;
    --accent:#667eea;
    --accent2:#7f9cf5;
    --border:rgba(27,42,68,.18);
    --shadow-dark:rgba(27,42,68,.18);
    --shadow-light:rgba(255,255,255,.95);
    --radius:22px;
    --radius-sm:16px;
    --max:980px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
    margin:0;
    font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    background:var(--bg);
    color:var(--text);
    -webkit-font-smoothing:antialiased;
    line-height:1.55;
}

a{color:inherit}
a:hover{color:var(--accent)}
img{max-width:100%;display:block}

.site-header{
    position:sticky;
    top:0;
    z-index:40;
    background:rgba(233,238,246,.78);
    backdrop-filter:saturate(150%) blur(10px);
    border-bottom:1px solid rgba(27,42,68,.06);
}

.topbar{
    max-width:var(--max);
    margin:0 auto;
    padding:12px 16px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.brand{
    width:60px;
    height:60px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:18px;
    background:var(--surface);
    box-shadow: 10px 10px 22px var(--shadow-dark), -10px -10px 22px var(--shadow-light);
    text-decoration:none;
}

.brand img{border-radius:14px}

.burger{
    width:56px;
    height:56px;
    border:0;
    border-radius:18px;
    background:var(--surface);
    box-shadow: 10px 10px 22px var(--shadow-dark), -10px -10px 22px var(--shadow-light);
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.burger:active{transform:translateY(1px)}
.burger-lines{
    width:22px;
    height:2px;
    background:var(--text);
    border-radius:2px;
    position:relative;
    display:block;
    opacity:.9;
}
.burger-lines:before,.burger-lines:after{
    content:"";
    position:absolute;
    left:0;
    width:22px;
    height:2px;
    background:var(--text);
    border-radius:2px;
}
.burger-lines:before{top:-7px}
.burger-lines:after{top:7px}

.menu-panel{
    max-width:var(--max);
    margin:0 auto;
    padding:0 16px 16px;
}

.menu{
    background:var(--surface);
    border-radius:var(--radius);
    box-shadow: 14px 14px 30px var(--shadow-dark), -14px -14px 30px var(--shadow-light);
    padding:12px;
    display:grid;
    gap:10px;
}

.menu-link{
    display:block;
    padding:14px 14px;
    border-radius:18px;
    text-decoration:none;
    color:var(--text);
    background:var(--surface);
    box-shadow: inset 6px 6px 12px rgba(27,42,68,.14), inset -6px -6px 12px rgba(255,255,255,.9);
}

.menu-link[aria-current="page"]{
    color:var(--accent);
}

.page{
    max-width:var(--max);
    margin:0 auto;
    padding:18px 16px 48px;
    display:flex;
    flex-direction:column;
    gap:18px;
}

.intro, .offers, .section-image, .content, .calculator, .faq{
    background:var(--surface);
    border-radius:var(--radius);
    box-shadow: 14px 14px 30px var(--shadow-dark), -14px -14px 30px var(--shadow-light);
    padding:18px;
}

.breadcrumbs{
    margin:0 0 12px;
    padding:0;
}
.breadcrumbs ol{
    list-style:none;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    padding:0;
    margin:0;
    color:var(--muted);
    font-size:13px;
}
.breadcrumbs li{
    display:flex;
    align-items:center;
    gap:10px;
}
.breadcrumbs li+li:before{
    content:"/";
    opacity:.6;
}
.breadcrumbs a{
    text-decoration:none;
    color:var(--muted);
}
.breadcrumbs a:hover{color:var(--accent)}

.intro h1{
    margin:0 0 10px;
    font-size:26px;
    line-height:1.15;
    letter-spacing:-.02em;
}
.intro p{
    margin:0;
    color:var(--muted);
    font-size:15px;
}

.offers-table{
    width:100%;
}

.offer-table{
    width:100%;
    border-collapse:separate;
    border-spacing:0;
    border:2px solid var(--border);
    border-radius:var(--radius);
    overflow:hidden;
    table-layout:fixed;
    background:transparent;
}

.offer-table td{
    padding:14px 12px;
    vertical-align:middle;
    text-align:center;
}

.offer-table tr+tr td{
    border-top:1px solid rgba(27,42,68,.10);
}

.offer-logo{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:100%;
}
.offer-logo img{
    width:160px;
    height:50px;
    object-fit:contain;
}

.offer-sum{
    font-weight:650;
    color:var(--text);
    letter-spacing:.01em;
}

.btn-primary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 16px;
    border-radius:18px;
    text-decoration:none;
    font-weight:700;
    border:0;
    cursor:pointer;
    background:linear-gradient(135deg, #37c878, #22b35f);
    color:#062012;
    box-shadow: 10px 10px 22px rgba(27,42,68,.18), -10px -10px 22px rgba(255,255,255,.9);
    width:100%;
    max-width:210px;
    margin:0 auto;
}

.btn-primary:active{transform:translateY(1px)}

.section-image{
    padding:14px;
}
.section-image img{
    border-radius:var(--radius);
    box-shadow: inset 8px 8px 18px rgba(27,42,68,.12), inset -8px -8px 18px rgba(255,255,255,.9);
    width:100%;
    height:auto;
}

.content{
    padding:18px;
}
.content-block{
    background:var(--surface);
    border-radius:var(--radius);
    padding:16px;
    box-shadow: inset 8px 8px 18px rgba(27,42,68,.12), inset -8px -8px 18px rgba(255,255,255,.9);
}
.content-block+ .content-block{margin-top:14px}

.content h2{
    margin:0 0 10px;
    font-size:18px;
    letter-spacing:-.01em;
}
.content p{
    margin:0 0 10px;
    color:var(--muted);
    font-size:15px;
}
.content p:last-child{margin-bottom:0}
.content a{font-weight:700}

.contact-form{
    display:flex;
    flex-direction:column;
    gap:12px;
}
.contact-form input,
.contact-form textarea{
    width:100%;
    padding:14px 14px;
    border-radius:18px;
    border:0;
    outline:none;
    background:var(--surface);
    color:var(--text);
    box-shadow: inset 8px 8px 16px rgba(27,42,68,.12), inset -8px -8px 16px rgba(255,255,255,.92);
    font-size:15px;
}
.contact-form textarea{resize:vertical;min-height:140px}

.calculator .container{
    width:100%;
    padding:18px;
    border-radius:var(--radius);
    background:var(--surface);
    box-shadow: inset 8px 8px 18px rgba(27,42,68,.12), inset -8px -8px 18px rgba(255,255,255,.9);
}
.calculator .header h1{
    margin:0 0 8px;
    font-size:20px;
    line-height:1.25;
}
.calculator .header p{
    margin:0;
    color:var(--muted);
    font-size:14px;
}
.divider{
    height:1px;
    background:rgba(27,42,68,.12);
    margin:16px 0;
}
.form-group{margin-bottom:18px}
.label{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:10px;
}
.label-text{color:var(--muted);font-size:14px}
.value-display{
    font-weight:800;
    padding:8px 12px;
    border-radius:16px;
    background:var(--surface);
    box-shadow: inset 6px 6px 12px rgba(27,42,68,.12), inset -6px -6px 12px rgba(255,255,255,.92);
}
.slider-container input[type="range"]{
    width:100%;
    appearance:none;
    height:10px;
    border-radius:999px;
    outline:none;
    background:rgba(27,42,68,.10);
}
.slider-container input[type="range"]::-webkit-slider-thumb{
    appearance:none;
    width:24px;
    height:24px;
    border-radius:50%;
    background:var(--accent);
    box-shadow: 10px 10px 22px rgba(27,42,68,.18), -10px -10px 22px rgba(255,255,255,.9);
    cursor:pointer;
}
.slider-container input[type="range"]::-moz-range-thumb{
    width:24px;
    height:24px;
    border-radius:50%;
    background:var(--accent);
    border:0;
    box-shadow: 10px 10px 22px rgba(27,42,68,.18), -10px -10px 22px rgba(255,255,255,.9);
    cursor:pointer;
}
.range-labels{
    display:flex;
    justify-content:space-between;
    color:var(--muted);
    font-size:12px;
    margin-top:8px;
}
.results-section{
    margin-top:6px;
    border-radius:var(--radius);
    padding:14px;
    background:var(--surface);
    box-shadow: inset 8px 8px 18px rgba(27,42,68,.12), inset -8px -8px 18px rgba(255,255,255,.9);
}
.results-title{
    font-weight:800;
    margin-bottom:12px;
}
.result-item{
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding:10px 0;
    border-top:1px solid rgba(27,42,68,.10);
}
.result-item:first-of-type{border-top:0}
.result-label{color:var(--muted)}
.result-value{font-weight:800}
.info-box{
    margin-top:14px;
    padding:14px;
    border-radius:var(--radius);
    background:var(--surface);
    box-shadow: inset 8px 8px 18px rgba(27,42,68,.12), inset -8px -8px 18px rgba(255,255,255,.9);
    color:var(--muted);
    font-size:14px;
}
.disclaimer{
    margin-top:12px;
    color:var(--muted);
    font-size:12px;
}

.faq h2{
    margin:0 0 10px;
    font-size:18px;
}
.faq-item{
    background:var(--surface);
    border-radius:var(--radius);
    box-shadow: inset 8px 8px 18px rgba(27,42,68,.12), inset -8px -8px 18px rgba(255,255,255,.9);
    padding:0;
    overflow:hidden;
}
.faq-item+ .faq-item{margin-top:12px}
.faq-item summary{
    cursor:pointer;
    padding:14px 16px;
    font-weight:750;
    list-style:none;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-answer{
    padding:0 16px 14px;
}
.faq-answer p{
    margin:0;
    color:var(--muted);
    font-size:14px;
}

.site-footer{
    padding:22px 16px 30px;
}
.footer-inner{
    max-width:var(--max);
    margin:0 auto;
    padding:16px 18px;
    background:var(--surface);
    border-radius:var(--radius);
    box-shadow: 14px 14px 30px var(--shadow-dark), -14px -14px 30px var(--shadow-light);
    display:flex;
    justify-content:center;
    gap:10px;
    color:var(--muted);
    font-size:13px;
}
.footer-link{
    text-decoration:none;
    color:var(--muted);
    font-weight:700;
}
.footer-link:hover{color:var(--accent)}
.footer-sep{opacity:.55}

@media (max-width:560px){
    .intro h1{font-size:24px}
    .offer-table, .offer-table tbody, .offer-table tr, .offer-table td{display:block;width:100%}
    .offer-table tr{border-top:1px solid rgba(27,42,68,.10)}
    .offer-table tr:first-child{border-top:0}
    .offer-table td{
        border-top:0;
        padding:12px 14px;
        text-align:center;
    }
    .offer-sum{font-size:16px}
    .btn-primary{max-width:100%}
}