* {
    box-sizing: border-box;
}

:root {
    --bg: #f6f2ee;
    --bg-alt: #efe8e1;
    --surface: #ffffff;
    --surface-soft: #fbf8f5;
    --text: #1f1a17;
    --muted: #6f6259;
    --line: #ddd2c8;
    --accent: #4b2e21;
    --accent-hover: #3d2419;
    --accent-soft: #e7ddd4;
    --shadow: 0 12px 32px rgba(31, 26, 23, 0.08);
    --radius: 20px;
    --radius-sm: 14px;
    --container: 1180px;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, sans-serif;
}

body {
    min-width: 320px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(246, 242, 238, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(75, 46, 33, 0.08);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    font-size: 30px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.main-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.main-nav a {
    font-size: 15px;
    color: var(--text);
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--accent);
}

.section {
    padding: 92px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-contact {
    padding-top: 92px;
    padding-bottom: 92px;
}

.hero-home {
    padding: 80px 0 64px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: center;
}

.hero-label,
.section-label {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
}

.hero h1,
.section h2 {
    margin: 0;
    letter-spacing: -0.03em;
}

.hero h1 {
    max-width: 780px;
    font-size: 60px;
    line-height: 1.04;
}

.hero-text {
    max-width: 720px;
    margin: 22px 0 0;
    font-size: 20px;
    line-height: 1.7;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 12px;
    border: 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    transition: 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-secondary {
    background: var(--accent-soft);
    color: var(--accent);
}

.btn-secondary:hover {
    background: #dccfc3;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
}

.meta-item {
    background: var(--surface);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.meta-title {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.meta-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
}

.hero-image-placeholder,
.visual-placeholder,
.product-image-placeholder,
.article-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: var(--radius);
    border: 1px dashed rgba(75, 46, 33, 0.2);
    color: var(--muted);
    background: linear-gradient(180deg, #fdfbf9 0%, #f0e7df 100%);
}

.hero-image-placeholder {
    min-height: 540px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
}

.section h2 {
    font-size: 44px;
    line-height: 1.08;
    max-width: 760px;
}

.section-note {
    max-width: 420px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.cards {
    display: grid;
    gap: 24px;
}

.cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.card h3 {
    margin: 0 0 12px;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.card-link {
    display: inline-flex;
    margin-top: 18px;
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.feature-box {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.feature-box h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.feature-box p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.split-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.split-block-reverse .split-content {
    order: 2;
}

.split-block-reverse .split-visual {
    order: 1;
}

.split-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
}

.split-content p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.visual-placeholder {
    min-height: 440px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.styled-list {
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.styled-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 14px;
    color: var(--text);
    font-size: 17px;
    line-height: 1.6;
}

.styled-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
}

.product-image-placeholder,
.article-image-placeholder {
    min-height: 220px;
    margin-bottom: 18px;
}

.section-actions {
    margin-top: 28px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
    align-items: start;
}

.contact-box,
.form-box {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.contact-box h2,
.form-box h3 {
    margin-top: 0;
}

.contact-box h2 {
    margin-bottom: 18px;
    font-size: 40px;
    line-height: 1.1;
}

.contact-text {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.contact-list {
    display: grid;
    gap: 16px;
}

.contact-line {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.contact-line:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.contact-line span {
    color: var(--muted);
    font-size: 14px;
}

.contact-line strong {
    font-size: 18px;
}

.form-box h3 {
    margin-bottom: 18px;
    font-size: 28px;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-soft);
    padding: 14px 16px;
    font-size: 15px;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(75, 46, 33, 0.4);
    background: #fff;
}

.site-footer {
    background: #211814;
    color: #f7f2ee;
    padding: 54px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.9fr;
    gap: 28px;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
}

.footer-text {
    margin: 0;
    color: rgba(247, 242, 238, 0.8);
    line-height: 1.7;
    font-size: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
    color: rgba(247, 242, 238, 0.84);
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .hero h1 {
        font-size: 52px;
    }

    .section h2 {
        font-size: 38px;
    }

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cards-3 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-meta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .header-inner {
        min-height: auto;
        padding: 18px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        gap: 14px;
    }

    .hero-home {
        padding: 54px 0 40px;
    }

    .hero-grid,
    .split-block,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .split-block-reverse .split-content,
    .split-block-reverse .split-visual {
        order: initial;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-text {
        font-size: 18px;
    }

    .section {
        padding: 72px 0;
    }

    .section h2 {
        font-size: 32px;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .feature-box,
    .card,
    .contact-box,
    .form-box {
        padding: 24px;
    }

    .hero-image-placeholder,
    .visual-placeholder {
        min-height: 320px;
    }

    .product-image-placeholder,
    .article-image-placeholder {
        min-height: 180px;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(var(--container), calc(100% - 28px));
    }

    .logo {
        font-size: 26px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .btn {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-box h2 {
        font-size: 30px;
    }

    .form-box h3 {
        font-size: 24px;
    }
}