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

html {
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #111111;
    background-color: #fcfcfc;
    line-height: 1.6;
}

body {
    font-size: 16px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(252, 252, 252, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 4%;
    border-bottom: 1px solid #eaeaea;
    z-index: 1000;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav a:hover, 
.header-phone a:hover {
    color: #707070;
}

main {
    margin-top: 80px;
}

section {
    padding: 100px 4%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

h1, h2, h3 {
    font-weight: 400;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#about {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#about p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
    max-width: 600px;
}

#about ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

#about li {
    background: #f5f5f7;
    padding: 25px;
    border-radius: 4px;
    font-size: 1rem;
    border-left: 3px solid #111;
}

#catalog {
    border-top: 1px solid #eaeaea;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #eee;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.product-card img {
    max-width: 100%;
    height: 250px;
    object-fit: contain;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.product-card .price {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 20px 0;
    display: block;
}

.btn, 
button[type="submit"] {
    display: inline-block;
    background-color: #111111;
    color: #ffffff;
    padding: 12px 35px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    text-align: center;
}

.btn:hover, 
button[type="submit"]:hover {
    background-color: #333333;
}

#calc {
    background-color: #f5f5f7;
    max-width: 100%;
}

#calc h2, 
#calc > p {
    text-align: center;
}

#calc > p {
    margin-bottom: 40px;
    color: #666;
}

form {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.form-group {
    margin-bottom: 25px;
}

form label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

input[type="text"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    background-color: #fafafa;
    font-family: inherit;
    font-size: 14px;
    border-radius: 0;
    outline: none;
    transition: border-color 0.3s ease;
}

input:focus, 
select:focus, 
textarea:focus {
    border-color: #111111;
    background-color: #ffffff;
}

.privacy-text {
    font-size: 0.75rem;
    color: #888;
    margin: 0;
    text-align: center;
}

footer {
    background-color: #111111;
    color: #ffffff;
    padding: 60px 4%;
    text-align: center;
    font-size: 0.9rem;
}

footer p {
    margin-bottom: 15px;
}

footer a {
    text-decoration: underline;
}

footer a:hover {
    color: #ccc;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        position: relative;
    }
    
    main {
        margin-top: 0;
    }

    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }

    section {
        padding: 60px 20px;
    }

    form {
        padding: 20px;
    }
}
