а/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Фоновое видео */
.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 1;
    filter: brightness(0.9);
}

/* Шапка */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 60px;
}

.logo h1 {
    font-size: 28px;
    color: #ffd700;
    margin: 0 15px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
    white-space: nowrap;
}

.slogan {
    flex-grow: 1;
    text-align: center;
}

.slogan svg {
    width: 100%;
    max-width: 300px;
    height: 40px;
}

.slogan-text {
    
    font-size: 28px;
    fill: transparent;
    stroke: #ffd700;
    stroke-width: 0.1;
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawText 3s ease-in-out forwards;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

@keyframes drawText {
    0% { stroke-dashoffset: 500; }
    50% { stroke-dashoffset: 0; fill: transparent; }
    100% { stroke-dashoffset: 0; fill: #ffd700; }
}

.menu {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: #ffd700;
}

.menu-list {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0 15px;
    padding: 0;
}

.menu-list li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 5px;
    background: rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.menu-list li a:hover, .menu-list li a.active {
    background: #ffd700;
    color: #000;
    transform: scale(1.05);
}

/* Hero-секция (index.html) */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding-bottom: 100px;
}

#shoe-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;
    z-index: 1;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-content h2 {
    font-size: 72px;
    color: #ffd700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 24px;
    color: #fff;
    margin-bottom: 30px;
}

.hero-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #ffd700;
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease, background 0.3s ease;
}

.hero-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Секция услуг (services.html) */
.services {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    margin-top: 60px;
}

.services h2 {
    font-size: 48px;
    color: #ffd700;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    opacity: 0;
    transform: translateY(50px);
    animation: cardAppear 0.5s ease-out forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

@keyframes cardAppear {
    to { opacity: 1; transform: translateY(0); }
}

.service-icon {
    display: block;
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-3d { background-image: url('../icons/3d.svg'); }
.icon-scan { background-image: url('../icons/scan.svg'); }
.icon-design { background-image: url('../icons/design.svg'); }
.icon-editor { background-image: url('../icons/editor.svg'); }

.service-card h3 {
    font-size: 24px;
    color: #ffd700;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 20px;
}

.service-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #ffd700;
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    transition: transform 0.3s ease, background 0.3s ease;
}

.service-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

/* Секция о нас (about.html) */
.about {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    margin-top: 60px;
}

.about h2 {
    font-size: 48px;
    color: #ffd700;
    margin-bottom: 40px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: #ccc;
}

.about-content p {
    margin-bottom: 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    opacity: 0;
    transform: translateY(50px);
    animation: cardAppear 0.5s ease-out forwards;
}

.about-card:nth-child(1) { animation-delay: 0.1s; }
.about-card:nth-child(2) { animation-delay: 0.2s; }
.about-card:nth-child(3) { animation-delay: 0.3s; }

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

.about-icon {
    display: block;
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Секция процесса (design-process.html) */
.process {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    margin-top: 60px;
}

.process h2 {
    font-size: 48px;
    color: #ffd700;
    margin-bottom: 40px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.process-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    opacity: 0;
    transform: translateY(50px);
    animation: cardAppear 0.5s ease-out forwards;
}

.process-card:nth-child(1) { animation-delay: 0.1s; }
.process-card:nth-child(2) { animation-delay: 0.2s; }
.process-card:nth-child(3) { animation-delay: 0.3s; }
.process-card:nth-child(4) { animation-delay: 0.4s; }

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

.process-icon {
    display: block;
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Секция контактов (contacts.html) */
.contacts {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    margin-top: 60px;
}

.contacts h2 {
    font-size: 48px;
    color: #ffd700;
    margin-bottom: 40px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
	align-items: stretch; /* Карточки одной высоты */
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    opacity: 0;
    transform: translateY(50px);
    animation: cardAppear 0.5s ease-out forwards;
	display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    opacity: 0;
    transform: translateY(50px);
    animation: cardAppear 0.5s ease-out forwards;
    animation-delay: 0.2s;
}

.studio-image {
    width: 100%;
    max-width: 300px; /* Ограничение размера */
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    object-fit: cover;
}

.contact-info h3, .contact-form h3 {
    font-size: 24px;
    color: #ffd700;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 10px;
}

.contact-info a {
    color: #ffd700;
    text-decoration: none;
}

.contact-social img {
    width: 40px;
    margin: 10px;
    transition: transform 0.3s ease;
}

.contact-social img:hover {
    transform: scale(1.2);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    padding: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 16px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .form-btn {
    padding: 10px 20px;
    background: #ffd700;
    color: #000;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.contact-form .form-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

/* Секция галереи (portfolio) */
.portfolio {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    margin-top: 60px;
}

.portfolio h2 {
    font-size: 48px;
    color: #ffd700;
    margin-bottom: 40px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    opacity: 0;
    transform: translateY(50px);
    animation: cardAppear 0.5s ease-out forwards;
}

.portfolio-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(3) { animation-delay: 0.3s; }
.portfolio-item:nth-child(4) { animation-delay: 0.4s; }

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.portfolio-item .overlay p {
    color: #ffd700;
    font-size: 18px;
    font-weight: bold;
}

/* Преимущества (index.html) */
.advantages {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
}

.advantages h2 {
    font-size: 48px;
    color: #ffd700;
    margin-bottom: 40px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    opacity: 0;
    transform: translateY(50px);
    animation: cardAppear 0.5s ease-out forwards;
}

.advantage-card:nth-child(1) { animation-delay: 0.1s; }
.advantage-card:nth-child(2) { animation-delay: 0.2s; }
.advantage-card:nth-child(3) { animation-delay: 0.3s; }

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

.advantage-icon {
    display: block;
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Футер */
footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info h3 {
    font-size: 24px;
    color: #ffd700;
    margin-bottom: 10px;
}

.footer-info p {
    font-size: 16px;
    color: #ccc;
}

.footer-info a {
    color: #ffd700;
    text-decoration: none;
}

.footer-social img {
    width: 40px;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.footer-social img:hover {
    transform: scale(1.2);
}

/* Адаптивность */
@media (max-width: 1145px) {
    .menu-toggle {
        display: block;
    }

    .menu-list {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        padding: 10px 0;
        z-index: 999;
    }

    .menu-list.active {
        display: flex;
    }

    .menu-list li a {
        padding: 10px;
        font-size: 16px;
		text-align: center;
    }

    .logo h1 {
        font-size: 24px;
    }

    .slogan-text {
        font-size: 22px;
    }

    .slogan svg {
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 48px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-btn, .service-btn, .form-btn {
        padding: 12px 24px;
        font-size: 16px;
    }

    .services, .advantages, .about, .process, .contacts, .portfolio {
        padding: 40px 10px;
    }

    .services h2, .advantages h2, .about h2, .process h2, .contacts h2, .portfolio h2 {
        font-size: 36px;
    }

    .service-card, .advantage-card, .about-card, .process-card, .contact-info, .contact-form, .portfolio-item {
        padding: 20px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

.tools {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    margin-top: 60px;
}

.tools h2 {
    font-size: 48px;
    color: #ffd700;
    margin-bottom: 40px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tool-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    opacity: 0;
    transform: translateY(50px);
    animation: cardAppear 0.5s ease-out forwards;
}

.tool-card:nth-child(1) { animation-delay: 0.1s; }
.tool-card:nth-child(2) { animation-delay: 0.2s; }
.tool-card:nth-child(3) { animation-delay: 0.3s; }
.tool-card:nth-child(4) { animation-delay: 0.4s; }

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

.tool-icon {
    display: block;
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-customizer { background-image: url('../icons/customizer.svg'); }
.icon-calculator { background-image: url('../icons/calculator.svg'); }
.icon-fitting { background-image: url('../icons/fitting.svg'); }
.icon-quiz { background-image: url('../icons/quiz.svg'); }

.tool-card h3 {
    font-size: 24px;
    color: #ffd700;
    margin-bottom: 10px;
}

.tool-card p {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 20px;
}

.tool-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #ffd700;
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    transition: transform 0.3s ease, background 0.3s ease;
}

.tool-btn:hover {
    background: #fff;
    transform: scale(1.1);
}