@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --gold: #b8903a;
    --gold-light: #c9a54e;
    --gold-dark: #8a6b2a;
    --cream: #f5f0e8;
    --cream-dark: #ece4d4;
    --dark: #1a1714;
    --dark-bg: #1c1917;
    --dark-card: #2a2520;
    --text: #3d3529;
    --text-light: #6b5f50;
    --white: #ffffff;
    --border: rgba(184,144,58,0.25);
    --border-light: rgba(184,144,58,0.15);
}

* { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior:smooth; font-size:16px; }

body {
    font-family:'Montserrat',sans-serif;
    color:var(--text);
    background:var(--cream);
    overflow-x:hidden;
    line-height:1.6;
}

.container { max-width:1280px; margin:0 auto; padding:0 40px; }

/* ===== HEADER ===== */
header {
    background:var(--dark);
    position:fixed; top:0; left:0; width:100%; z-index:1000;
    padding:0 40px;
    transition:box-shadow .3s;
}
header.scrolled { box-shadow:0 4px 30px rgba(0,0,0,.4); }

.nav {
    display:flex; align-items:center; justify-content:space-between;
    max-width:1280px; margin:0 auto;
    height:70px;
}

.logo { display:flex; align-items:center; gap:10px; text-decoration:none; }
.logo img { height:50px; }
.logo span {
    font-family:'Playfair Display',serif;
    color:var(--white); font-size:18px; font-weight:600;
    letter-spacing:2px; text-transform:uppercase;
}

.nav-links { display:flex; align-items:center; gap:28px; list-style:none; }
.nav-links a {
    color:rgba(255,255,255,.8); text-decoration:none; font-size:14px;
    font-weight:500; transition:color .3s;
}
.nav-links a:hover { color:var(--gold-light); }

.nav-buttons { display:flex; gap:12px; }

.btn-outline {
    padding:10px 22px; border:1px solid rgba(255,255,255,.4);
    border-radius:6px; color:var(--white); background:transparent;
    font-size:13px; font-weight:500; cursor:pointer;
    transition:all .3s; text-decoration:none; font-family:inherit;
}
.btn-outline:hover { background:rgba(255,255,255,.1); border-color:var(--white); }

.btn-gold {
    padding:10px 22px; border:none; border-radius:6px;
    background:var(--gold); color:var(--white);
    font-size:13px; font-weight:600; cursor:pointer;
    transition:all .3s; text-decoration:none; font-family:inherit;
}
.btn-gold:hover { background:var(--gold-light); transform:translateY(-1px); }

/* Burger */
.burger { display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none; padding:5px; }
.burger span { width:24px; height:2px; background:var(--white); transition:all .3s; display:block; }

/* ===== HERO ===== */
.hero {
    margin-top:70px;
    background:var(--cream);
    display:flex; align-items:stretch;
    min-height:calc(100vh - 70px);
    position:relative;
}

.hero-content {
    flex:0 0 50%; padding:80px 40px 80px 60px;
    display:flex; flex-direction:column; justify-content:center;
    position:relative; z-index:2;
}

.section-label {
    display:flex; align-items:center; gap:12px;
    font-size:13px; font-weight:600; color:var(--gold);
    text-transform:uppercase; letter-spacing:2px;
    margin-bottom:24px;
}
.section-label::before {
    content:''; width:50px; height:1.5px; background:var(--gold);
}
.section-label .star { font-size:10px; }

.hero h1 {
    font-family:'Playfair Display',serif;
    font-size:clamp(32px,4vw,52px); font-weight:700;
    line-height:1.15; color:var(--text); margin-bottom:24px;
}

.hero-desc {
    font-size:15px; color:var(--text-light);
    line-height:1.7; margin-bottom:40px; max-width:500px;
}

.hero-features {
    display:flex; gap:0; margin-bottom:40px;
}

.hero-feature {
    text-align:center; padding:0 24px;
    border-right:1px solid var(--border);
}
.hero-feature:last-child { border-right:none; }
.hero-feature:first-child { padding-left:0; }
.hero-feature img { width:40px; height:40px; margin-bottom:10px; }
.hero-feature h4 { font-size:13px; font-weight:700; color:var(--text); margin-bottom:6px; line-height:1.3; }
.hero-feature p { font-size:11px; color:var(--text-light); line-height:1.4; }

.hero-buttons { display:flex; gap:16px; flex-wrap:wrap; }

.btn-primary {
    padding:16px 32px; background:var(--gold); color:var(--white);
    border:none; border-radius:8px; font-size:15px; font-weight:600;
    cursor:pointer; transition:all .3s; font-family:inherit;
    text-decoration:none;
}
.btn-primary:hover { background:var(--gold-light); transform:translateY(-2px); box-shadow:0 8px 25px rgba(184,144,58,.3); }

.btn-secondary {
    padding:16px 32px; background:transparent; color:var(--text);
    border:1.5px solid var(--border); border-radius:8px;
    font-size:15px; font-weight:500; cursor:pointer;
    transition:all .3s; font-family:inherit; text-decoration:none;
}
.btn-secondary:hover { border-color:var(--gold); color:var(--gold); }

.hero-image {
    flex:0 0 50%; position:relative; overflow:hidden;
}
.hero-image img {
    width:100%; height:100%; object-fit:cover;
}

.corner-decor {
    position:absolute; bottom:0; left:0;
    width:60px; z-index:3;
}

/* ===== SECTIONS COMMON ===== */
.section { padding:100px 0; }
.section--cream { background:var(--cream); }
.section--white { background:var(--white); }
.section--dark { background:var(--dark-bg); color:var(--white); }

.section-header { margin-bottom:50px; }
.section-header h2 {
    font-family:'Playfair Display',serif;
    font-size:clamp(28px,3.5vw,46px); font-weight:700;
    line-height:1.2; margin-bottom:20px;
}
.section--dark .section-header h2 { color:var(--white); }
.section-header p {
    font-size:15px; color:var(--text-light);
    line-height:1.7; max-width:700px;
}
.section--dark .section-header p { color:rgba(255,255,255,.6); }
.section--dark .section-label { color:var(--gold-light); }
.section--dark .section-label::before { background:var(--gold-light); }

/* ===== FOR WHO ===== */
.services-grid {
    display:grid; grid-template-columns:repeat(4,1fr); gap:24px;
    margin-bottom:40px;
}

.service-card {
    background:var(--white); border:1px solid var(--border-light);
    border-radius:16px; padding:32px 24px;
    transition:all .3s; position:relative;
}
.service-card:hover { transform:translateY(-4px); box-shadow:0 12px 40px rgba(0,0,0,.08); }
.service-card img { width:60px; height:60px; margin-bottom:20px; }
.service-card h4 { font-size:15px; font-weight:700; margin-bottom:12px; color:var(--text); }
.service-card p { font-size:13px; color:var(--text-light); line-height:1.6; }
.service-card .card-line { width:30px; height:2px; background:var(--gold); margin-top:16px; }

.section-footer {
    text-align:center; font-size:14px; color:var(--text-light);
    margin-top:20px; font-style:italic;
}

/* ===== BENEFITS (ВЫ ПОЛУЧАЕТЕ) ===== */
.benefits-layout {
    display:grid; grid-template-columns:1fr 1fr; gap:40px;
    align-items:start;
}

.benefits-image {
    border-radius:16px; overflow:hidden; height:100%;
}
.benefits-image img { width:100%; height:100%; object-fit:cover; border-radius:16px; }

.benefits-grid {
    display:grid; grid-template-columns:1fr 1fr; gap:20px;
}

.benefit-card {
    background:var(--cream); border:1px solid var(--border-light);
    border-radius:14px; padding:24px;
    display:flex; gap:16px; align-items:flex-start;
    transition:all .3s;
}
.benefit-card:hover { transform:translateY(-2px); box-shadow:0 8px 25px rgba(0,0,0,.06); }
.benefit-card img { width:48px; height:48px; flex-shrink:0; }
.benefit-card h4 { font-size:14px; font-weight:700; margin-bottom:6px; color:var(--text); }
.benefit-card p { font-size:12px; color:var(--text-light); line-height:1.5; }

.benefits-desc {
    font-size:15px; color:var(--text-light); line-height:1.7;
    margin-bottom:30px; max-width:600px;
}

/* ===== WHY US (dark) ===== */
.why-bg-image {
    position:absolute; top:0; right:0;
    width:35%; max-width:450px;
    opacity:.08; z-index:0;
    pointer-events:none;
}

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

.why-card {
    background:var(--dark-card); border:1px solid rgba(184,144,58,.2);
    border-radius:14px; padding:28px 24px;
    display:flex; gap:16px; align-items:flex-start;
    transition:all .3s;
}
.why-card:hover { border-color:var(--gold); transform:translateY(-2px); }
.why-card .icon { flex-shrink:0; }
.why-card .icon img { width:44px; height:44px; }
.why-card .problem { font-size:13px; color:rgba(255,255,255,.5); margin-bottom:8px; }
.why-card .arrow { color:var(--gold); margin:0 0 0 auto; font-size:18px; flex-shrink:0; align-self:center; }
.why-card .solution { font-size:13px; color:rgba(255,255,255,.85); font-weight:500; }

.why-card-inner {
    display:flex; align-items:center; gap:16px; width:100%;
}
.why-left { display:flex; align-items:center; gap:12px; flex:1; }
.why-right { flex:1; }

.why-footer {
    text-align:center; margin-top:50px;
    font-size:14px; color:rgba(255,255,255,.5); font-style:italic;
}

/* ===== TARIFFS ===== */
.tariffs-top {
    display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
    margin-bottom:24px;
}

.tariff-card {
    background:var(--white); border:1px solid var(--border-light);
    border-radius:16px; padding:30px 28px;
    position:relative; transition:all .3s;
}
.tariff-card:hover { box-shadow:0 12px 40px rgba(0,0,0,.08); }
.tariff-card .tariff-num {
    font-family:'Playfair Display',serif;
    font-size:36px; color:var(--gold); font-weight:700;
    margin-bottom:4px;
}
.tariff-card .tariff-icon { width:40px; height:40px; margin-bottom:8px; }
.tariff-card h3 { font-size:16px; font-weight:700; margin-bottom:6px; }
.tariff-card .tariff-desc { font-size:13px; color:var(--text-light); margin-bottom:16px; }
.tariff-card .tariff-price { font-size:18px; font-weight:700; color:var(--text); margin-bottom:16px; }

.tariff-body { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:20px; }
.tariff-body h5 { font-size:13px; font-weight:700; margin-bottom:8px; }
.tariff-body ul { list-style:none; padding:0; }
.tariff-body li { font-size:12px; color:var(--text-light); padding:3px 0; padding-left:12px; position:relative; }
.tariff-body li::before { content:'•'; position:absolute; left:0; color:var(--gold); }

.tariff-btn { margin-top:auto; }

.tariffs-bottom {
    display:grid; grid-template-columns:1fr 1fr; gap:24px;
    margin-bottom:30px;
}

.tariff-card--popular { position:relative; }
.tariff-card--popular .badge {
    position:absolute; top:-12px; left:50%; transform:translateX(-50%);
    background:var(--gold); color:var(--white);
    padding:4px 16px; border-radius:20px;
    font-size:12px; font-weight:600; white-space:nowrap;
}

.tariff-note {
    display:flex; align-items:flex-start; gap:12px;
    padding:20px; margin-top:10px;
}
.tariff-note img { width:20px; flex-shrink:0; margin-top:2px; }
.tariff-note p { font-size:13px; color:var(--text-light); line-height:1.5; }

/* ===== STEPS ===== */
.steps-row {
    display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
    margin-bottom:24px; position:relative;
}

.step-card {
    background:var(--white); border:1px solid var(--border-light);
    border-radius:16px; padding:28px;
    transition:all .3s;
}
.step-card:hover { transform:translateY(-3px); box-shadow:0 10px 30px rgba(0,0,0,.07); }
.step-card .step-num {
    font-family:'Playfair Display',serif;
    font-size:32px; color:var(--gold); font-weight:600;
    margin-bottom:8px;
}
.step-card .step-icon { width:48px; height:48px; margin-bottom:12px; }
.step-card h4 { font-size:15px; font-weight:700; margin-bottom:8px; }
.step-card p { font-size:13px; color:var(--text-light); line-height:1.5; }

.step-arrow {
    position:absolute; top:50%; transform:translateY(-50%);
    color:var(--gold); font-size:24px;
}

.steps-footer {
    text-align:center; margin-top:40px;
    font-size:14px; color:var(--text-light); font-style:italic;
}

/* ===== CONTACT / FORM ===== */
.contact-section {
    background:var(--dark-bg); padding:100px 0;
    position:relative; overflow:hidden;
}

.contact-layout {
    display:grid; grid-template-columns:1fr 1fr; gap:60px;
    align-items:center;
}

.contact-left { position:relative; z-index:2; }
.contact-left .section-label { color:var(--gold-light); }
.contact-left .section-label::before { background:var(--gold-light); }
.contact-left h2 {
    font-family:'Playfair Display',serif;
    font-size:clamp(28px,3.5vw,44px); font-weight:700;
    color:var(--white); line-height:1.2; margin-bottom:24px;
}
.contact-left p { font-size:15px; color:rgba(255,255,255,.6); line-height:1.7; margin-bottom:30px; }
.contact-image {
    border-radius:16px; overflow:hidden;
    max-width:500px;
}
.contact-image img { width:100%; display:block; border-radius:16px; }

.contact-form-wrap {
    background:var(--white); border-radius:20px;
    padding:40px 36px; position:relative; z-index:2;
}
.contact-form-wrap h3 {
    font-family:'Playfair Display',serif;
    font-size:32px; font-weight:700; color:var(--text);
    margin-bottom:8px;
}
.contact-form-wrap .form-desc {
    font-size:14px; color:var(--text-light); margin-bottom:28px; line-height:1.5;
}

.form-group { margin-bottom:16px; }
.form-group input,
.form-group textarea,
.form-group select {
    width:100%; padding:16px 20px;
    border:1.5px solid var(--border-light);
    border-radius:10px; font-size:14px;
    font-family:inherit; background:var(--cream);
    color:var(--text); transition:border-color .3s;
    outline:none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color:var(--gold); }
.form-group textarea { resize:vertical; min-height:80px; }
.form-group select { cursor:pointer; appearance:none; }

.form-submit {
    width:100%; padding:18px; background:var(--gold);
    color:var(--white); border:none; border-radius:10px;
    font-size:16px; font-weight:600; cursor:pointer;
    font-family:inherit; transition:all .3s;
    margin-top:8px;
}
.form-submit:hover { background:var(--gold-light); }
.form-submit:disabled { opacity:.6; cursor:not-allowed; }

.form-privacy {
    font-size:11px; color:var(--text-light);
    margin-top:12px; text-align:center;
}
.form-privacy a { color:var(--gold); }

.contact-bg-plan {
    position:absolute; top:0; right:0; width:40%;
    height:100%; opacity:.06; z-index:1;
}
.contact-bg-plan img { width:100%; height:100%; object-fit:contain; }

/* ===== MODAL ===== */
.modal-overlay {
    position:fixed; inset:0; background:rgba(0,0,0,.6);
    z-index:2000; display:none; align-items:center; justify-content:center;
    backdrop-filter:blur(4px);
}
.modal-overlay.active { display:flex; }

.modal {
    background:var(--white); border-radius:20px;
    padding:40px; max-width:480px; width:90%;
    position:relative; animation:modalIn .3s ease;
}
@keyframes modalIn { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }

.modal-close {
    position:absolute; top:16px; right:16px;
    background:none; border:none; font-size:24px;
    cursor:pointer; color:var(--text-light);
    width:36px; height:36px; display:flex;
    align-items:center; justify-content:center;
    border-radius:50%; transition:background .3s;
}
.modal-close:hover { background:var(--cream); }

.modal h3 {
    font-family:'Playfair Display',serif;
    font-size:26px; font-weight:700; margin-bottom:6px;
}
.modal .form-desc { font-size:13px; color:var(--text-light); margin-bottom:20px; }

/* ===== FOOTER ===== */
footer {
    background:var(--dark); color:rgba(255,255,255,.5);
    padding:30px 0; text-align:center; font-size:13px;
}
footer a { color:var(--gold-light); text-decoration:none; }

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity:0; transform:translateY(30px);
    transition:opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity:1; transform:translateY(0); }

/* ===== RESPONSIVE ===== */
@media(max-width:1024px) {
    .services-grid { grid-template-columns:repeat(2,1fr); }
    .tariffs-top { grid-template-columns:1fr; }
    .tariffs-bottom { grid-template-columns:1fr; }
    .why-grid { grid-template-columns:1fr; }
    .benefits-layout { grid-template-columns:1fr; }
    .contact-layout { grid-template-columns:1fr; }
    .hero { flex-direction:column; }
    .hero-content { flex:auto; padding:60px 40px; }
    .hero-image { flex:auto; height:400px; }
    .steps-row { grid-template-columns:1fr; }
}

@media(max-width:768px) {
    .container { padding:0 20px; }
    header { padding:0 20px; }
    .nav-links, .nav-buttons { display:none; }
    .burger { display:flex; }
    .nav-links.open {
        display:flex; flex-direction:column;
        position:absolute; top:70px; left:0; right:0;
        background:var(--dark); padding:20px;
        border-top:1px solid rgba(255,255,255,.1);
    }
    .nav-buttons.open {
        display:flex; flex-direction:column;
        position:absolute; top:calc(70px + var(--nav-height,200px));
        left:0; right:0; background:var(--dark); padding:20px;
    }
    .services-grid { grid-template-columns:1fr; }
    .benefits-grid { grid-template-columns:1fr; }
    .hero-features { flex-direction:column; gap:16px; }
    .hero-feature { border-right:none; border-bottom:1px solid var(--border); padding:12px 0; }
    .hero-feature:last-child { border-bottom:none; }
    .section { padding:60px 0; }
    .contact-form-wrap { padding:28px 20px; }
}

/* Mobile menu open state */
.mobile-menu-open .nav-links { display:flex !important; flex-direction:column; position:absolute; top:70px; left:0; right:0; background:var(--dark); padding:20px 40px; gap:16px; z-index:100; }
.mobile-menu-open .nav-buttons { display:flex !important; flex-direction:column; position:absolute; top:auto; left:0; right:0; background:var(--dark); padding:0 40px 20px; gap:12px; z-index:100; }
