:root {
    --color-primary: #0B0C1A;
    --color-secondary: #BC0E4F;
    --color-tertiary: #F886B1;
    --color-quaternary: #FFF4D1;
    --color-accent: #F886B1;
    --color-white: #ffffff;
    --color-gray-light: #f8f9fa;
    --color-gray: #6c757d;
    --color-dark: #212529;
    --font-primary: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-quaternary);
    background: var(--color-primary);
    overflow-x: hidden;
}

.header-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(11, 12, 26, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(188, 14, 79, 0.15);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-quaternary);
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
}

.nav-menu a {
    color: var(--color-quaternary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 4rem;
    position: relative;
}

.hero-content {
    text-align: center;
    position: relative;
}

.hero-number {
    font-size: 18rem;
    font-weight: 700;
    color: rgba(188, 14, 79, 0.08);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    line-height: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-quaternary);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-tertiary);
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.hero-visual {
    position: relative;
    z-index: 1;
    margin-top: 3rem;
}

.hero-visual img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border: 2px solid var(--color-secondary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-quaternary);
    margin-bottom: 3rem;
    text-align: center;
}

.architecture-section {
    padding: 6rem 0;
    position: relative;
}

.architecture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
}

.arch-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
    z-index: 0;
}

.arch-block {
    position: relative;
    z-index: 1;
    padding: 2rem;
    border: 1px solid rgba(188, 14, 79, 0.3);
    background: rgba(11, 12, 26, 0.7);
}

.arch-block h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.arch-block p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-quaternary);
}

.digital-skills {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(188, 14, 79, 0.05) 0%, rgba(248, 134, 177, 0.05) 100%);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.skill-item {
    text-align: left;
}

.tech-icon-box {
    position: relative;
    display: inline-block;
    padding: 1.5rem;
    border: 2px solid var(--color-secondary);
    margin-bottom: 1.5rem;
}

.tech-icon-box .coord {
    position: absolute;
    top: -12px;
    left: 10px;
    background: var(--color-primary);
    padding: 0 8px;
    font-size: 0.75rem;
    color: var(--color-tertiary);
    font-weight: 600;
}

.tech-icon-box i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skill-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-quaternary);
    margin-bottom: 1rem;
}

.skill-item p {
    font-size: 1rem;
    color: var(--color-quaternary);
    line-height: 1.7;
}

.market-panorama {
    padding: 6rem 0;
}

.panorama-wrapper {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.panorama-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
}

.panorama-text {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(11, 12, 26, 0.95));
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.panorama-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-quaternary);
    margin-bottom: 1.5rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
}

.panorama-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-quaternary);
}

.sustainability-typo {
    padding: 8rem 0;
}

.typo-content {
    max-width: 1200px;
    margin: 0 auto;
}

.typo-statement {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-quaternary);
    line-height: 1.3;
    margin-bottom: 3rem;
    width: 80%;
}

.typo-visual {
    margin: 3rem 0;
}

.typo-visual img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    border: 1px solid var(--color-secondary);
}

.typo-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-tertiary);
    margin-top: 2rem;
}

.form-section {
    padding: 6rem 0;
    background: var(--color-quaternary);
}

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    border: 3px double var(--color-secondary);
    padding: 3rem;
}

.form-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.form-content p {
    font-size: 1.1rem;
    color: var(--color-dark);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-primary);
    background: var(--color-white);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.error-message {
    display: block;
    color: var(--color-secondary);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 600;
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--color-secondary);
    color: var(--color-white);
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
    margin-top: 1rem;
}

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

.form-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-section {
    padding: 6rem 0;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(188, 14, 79, 0.3);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--color-secondary);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(11, 12, 26, 0.5);
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(188, 14, 79, 0.1);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-quaternary);
    margin: 0;
}

.faq-question i {
    color: var(--color-secondary);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
}

.faq-answer p {
    padding: 1.5rem 2rem;
    margin: 0;
    color: var(--color-quaternary);
    line-height: 1.7;
    border-top: 1px solid rgba(188, 14, 79, 0.2);
}

.footer {
    background: rgba(11, 12, 26, 0.9);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--color-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-block h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.footer-block p,
.footer-block ul li {
    color: var(--color-quaternary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-block ul {
    list-style: none;
    padding: 0;
}

.footer-block ul li {
    margin-bottom: 0.75rem;
}

.footer-block a {
    color: var(--color-quaternary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-block a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(188, 14, 79, 0.2);
}

.footer-bottom p {
    color: var(--color-quaternary);
    font-size: 0.9rem;
    margin: 0;
}

.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 12, 26, 0.98);
    border-top: 2px solid var(--color-secondary);
    padding: 1.5rem 0;
    z-index: 9999;
    display: none;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.cookie-notice.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-notice.hide {
    opacity: 0;
    transform: translateY(100%);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 2rem;
}

.cookie-content p {
    color: var(--color-quaternary);
    margin: 0;
    font-size: 0.95rem;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.btn-cookie {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--color-secondary);
    background: transparent;
    color: var(--color-quaternary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cookie.accept {
    background: var(--color-secondary);
    color: var(--color-white);
}

.btn-cookie:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-secondary);
}
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-menu span {
    width: 28px;
    height: 3px;
    background: var(--color-quaternary);
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

body.menu-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(11, 12, 26, 0.98);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        transition: right 0.3s ease;
        border-left: 2px solid var(--color-secondary);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(188, 14, 79, 0.2);
    }
}
@media (max-width: 1200px) {
    .hero-number {
        font-size: 12rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .architecture-grid,
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-menu {
        gap: 1.5rem;
        font-size: 0.9rem;
    }

    .hero-number {
        font-size: 8rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

    .form-wrapper {
        grid-template-columns: 1fr;
    }

    .panorama-text {
        width: 100%;
        position: relative;
        background: rgba(11, 12, 26, 0.95);
    }

    .panorama-text h2 {
        writing-mode: horizontal-tb;
        transform: none;
        position: relative;
        right: auto;
        top: auto;
    }

    .typo-statement {
        font-size: 2rem;
        width: 100%;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-cookie {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .form-wrapper {
        padding: 2rem 1rem;
    }
}