@import url('https://fonts.googleapis.com/css2?family=SF+Pro+Display:wght@300;400;600&display=swap');

:root {
    --apple-blue: #0071e3;
    --apple-gray: #f5f5f7;
    --apple-dark: #1d1d1f;
}

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

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--apple-dark);
    background-color: #fff;
}

header {
    background-color: var(--apple-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    text-align: center;
    padding: 1rem 0;
    background-color: var(--apple-blue);
}

.logo h1 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0;
}

nav {
    padding: 1rem 0;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 0 1rem;
}

nav ul li {
    margin: 0 0.75rem; /* Увеличиваем отступ между пунктами меню */
}

nav ul li a {
    text-decoration: none;
    color: var(--apple-dark);
    font-weight: 400;
    font-size: 1.1rem; /* Увеличиваем размер шрифта */
    transition: color 0.3s ease;
}

@media (max-width: 768px) {
    nav ul {
        justify-content: flex-start;
    }
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: calc(100vh - 100px);
}

section {
    margin-bottom: 4rem;
}

h1, h2, h3 {
    font-weight: 600;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

#home h2 {
    font-size: 1.8rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1rem;
}

.price {
    font-weight: 600;
    color: var(--apple-blue);
}

.client-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.client-logos img {
    margin: 1rem;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
}

input, textarea, button {
    margin-bottom: 1rem;
    padding: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background-color: var(--apple-blue);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #005bbf;
}

footer {
    background-color: var(--apple-gray);
    padding: 2rem;
    text-align: center;
}

footer nav {
    margin-top: 1rem;
}

footer nav a {
    margin: 0 1rem;
    color: var(--apple-dark);
    text-decoration: none;
}

footer nav a:hover {
    text-decoration: underline;
}

.active {
    color: var(--apple-blue);
    font-weight: 400;
}

@media (max-width: 480px) {
    nav ul li a {
        font-size: 1rem; /* Немного уменьшаем на маленьких экранах, но оставляем больше, чем было */
        padding: 0.5rem;
    }
}

.client-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.client-item {
    background-color: var(--apple-gray);
    color: var(--apple-blue);
    font-size: 1.2rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .client-item {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}

