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

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
    line-height: 1.5;
    scroll-behavior: smooth;
}

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

/* header */
.header {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #e2e8f0;
}

.header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
}

.logo h1 {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e5f2e, #2b7a3e);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.logo p {
    font-size: 0.8rem;
    color: #334155;
}

.contacts-header {
    text-align: right;
}

.phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f3b5f;
    text-decoration: none;
    letter-spacing: -0.3px;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid #2b7a3e;
    padding: 8px 20px;
    border-radius: 60px;
    font-weight: 600;
    color: #2b7a3e;
    cursor: pointer;
    transition: 0.2s;
}

.btn-outline:hover {
    background: #2b7a3e;
    color: white;
}

/* nav */
.nav-links {
    background: white;
    border-bottom: 1px solid #eef2ff;
}

.nav-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    list-style: none;
    padding: 12px 0;
}

.nav-menu a {
    text-decoration: none;
    font-weight: 500;
    color: #1e293b;
}

/* hero */
.hero {
    background: linear-gradient(105deg, #eef5ec 0%, #dce8db 100%);
    border-radius: 2rem;
    margin: 2rem 0;
    padding: 3rem 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.hero h2 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: #1a3c2c;
}

.hero p {
    font-size: 1.2rem;
    margin-top: 1rem;
    max-width: 550px;
}

/* кнопки */
.btn-primary {
    background: #1e5f2e;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.btn-primary:hover {
    background: #0f4520;
    transform: translateY(-2px);
}

/* карточки продукции */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    border-left: 5px solid #2b7a3e;
    padding-left: 1rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.product-card {
    background: white;
    border-radius: 2rem;
    padding: 1.6rem;
    box-shadow: 0 15px 30px -12px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-icon {
    font-size: 2.5rem;
}

.price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e5f2e;
    margin: 1rem 0 0.5rem;
}

.tech-badge {
    background: #f1f5f9;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin: 12px 0;
    font-family: monospace;
}

/* преимущества */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 1.5rem;
    background: white;
    border-radius: 2rem;
    padding: 2rem;
    margin: 1.5rem 0;
}

.adv-item {
    text-align: center;
}

.adv-number {
    font-size: 2rem;
    font-weight: 800;
    color: #2b7a3e;
}

/* таблица */
.spec-table {
    background: white;
    border-radius: 2rem;
    padding: 1rem;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px 8px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

th {
    background: #eef2ff;
}

/* форма + калькулятор */
.form-block {
    background: white;
    border-radius: 2rem;
    padding: 2rem;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

input, select, textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 40px;
    border: 1px solid #cbd5e1;
    margin-top: 6px;
    margin-bottom: 16px;
}

.result-delivery {
    background: #eef5ec;
    padding: 12px;
    border-radius: 24px;
    font-weight: 500;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 4px;
}

.success-message {
    color: #16a34a;
    font-size: 0.875rem;
    margin-top: 4px;
}

@media (max-width: 780px) {
    .form-block { grid-template-columns: 1fr; }
    .hero h2 { font-size: 1.8rem; }
}

.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

button {
    background: #1e5f2e;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.weight-input {
    margin-top: 12px;
}

.weight-input label {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
}