* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #ff8f2b;
    --primary-light: #ffb066;
    --accent: #3f2d20;
    --text: #2f241d;
    --text-light: #6f6156;
    --bg: #ffffff;
    --bg-light: #fff5eb;
    --border: #ecd7c4;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

a {
    color: var(--primary-light);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
.header {
    background: linear-gradient(135deg, #d97012 0%, var(--primary) 100%);
    color: #fff;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    padding: 16px 0;
    color: #fff;
    text-decoration: none;
}

.logo:hover {
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 8px;
}

.nav a {
    color: rgba(255,255,255,0.9);
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.2s;
    font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
    background: rgba(63,45,32,0.22);
    text-decoration: none;
    color: #fff;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #d97012 0%, var(--primary) 45%, var(--primary-light) 100%);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 2.4rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sections */
.section {
    padding: 60px 20px;
}

.section:nth-child(even) {
    background: var(--bg-light);
}

.section-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 32px;
    text-align: center;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px 24px;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.card:hover {
    border-color: rgba(255,143,43,0.45);
    box-shadow: 0 8px 24px rgba(140,82,24,0.14);
    transform: translateY(-2px);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Info blocks */
.info-block {
    max-width: 900px;
    margin: 0 auto 40px;
}

.info-block h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(255,143,43,0.5);
}

.info-block p,
.info-block li {
    margin-bottom: 8px;
    color: var(--text);
}

.info-block ul {
    padding-left: 24px;
}

.info-block table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.info-block table th,
.info-block table td {
    padding: 12px 16px;
    border: 1px solid var(--border);
    text-align: left;
}

.info-block table th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--primary);
}

.info-block table tr:hover {
    background: var(--bg-light);
}

/* Price table */
.price-table {
    max-width: 900px;
    margin: 0 auto;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.price-item:last-child {
    border-bottom: none;
}

.price-item .service-name {
    font-weight: 500;
}

.price-item .service-price {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
}

/* Tech stack */
.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.tech-tag {
    background: #fff;
    border: 1px solid rgba(255,143,43,0.28);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text);
}

/* Requisites */
.requisites {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-light);
    border-radius: 8px;
    padding: 32px;
}

.requisites dl {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 12px 24px;
}

.requisites dt {
    font-weight: 600;
    color: var(--primary);
}

.requisites dd {
    color: var(--text);
}

/* Footer */
.footer {
    background: #3f2d20;
    color: rgba(255,255,255,0.8);
    padding: 40px 20px;
    text-align: center;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-contacts {
    margin-bottom: 16px;
}

.footer-contacts a {
    color: rgba(255,255,255,0.9);
    margin: 0 12px;
}

.footer-copy {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Page header */
.page-header {
    background: linear-gradient(135deg, #d97012 0%, var(--primary) 45%, var(--primary-light) 100%);
    color: #fff;
    padding: 48px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        padding: 12px 20px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .requisites dl {
        grid-template-columns: 1fr;
    }

    .requisites dt {
        margin-top: 8px;
    }

    .price-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}
