:root {
    --primary-color: #E31E24; /* Win City Red */
    --dark-color: #111111;    /* Deep Black */
    --black-accent: #1a1a1a;
    --light-color: #ffffff;
    --gray-color: #1e1e1e;    /* Dark gray for cards */
    --text-color: #f4f4f4;    /* Light text for dark bg */
    --text-muted: #aaaaaa;
    --container-width: 1200px;
    --header-height: 80px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--light-color);
}

.logo-text .accent {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-primary:hover {
    background-color: #c4191f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 30, 36, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

/* Header */
.header {
    height: var(--header-height);
    background-color: var(--dark-color); /* Always dark */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
    width: 100%; /* Ensure it spans full container width */
}

.nav-list {
    display: flex;
    gap: 40px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.logo, 
.btn-consultation {
    position: relative;
    z-index: 2; /* Keep them above centered nav if overlapping */
}

.nav-list a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.nav-list a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    background: radial-gradient(circle at center, #2a0a0a 0%, #111111 70%);
    text-align: center;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--dark-color), transparent);
}

.hero__title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.1;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(to bottom, #ffffff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Segments */
.segments {
    padding: 100px 0;
    background-color: var(--dark-color);
}

.segment-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.segment-card {
    padding: 50px 40px;
    border-radius: 4px;
    background-color: var(--black-accent);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.segment-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.segment-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

.segment-card p {
    margin-bottom: 30px;
    color: var(--text-muted);
    flex-grow: 1;
}

.segment-card__list {
    margin-bottom: 40px;
}

.segment-card__list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 24px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.segment-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

/* Services */
.services {
    padding: 120px 0;
    background-color: #0c0c0c;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 60px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-item {
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: var(--dark-color);
    transition: var(--transition);
}

.service-item:hover {
    background-color: var(--black-accent);
    border-color: var(--primary-color);
}

.service-item h3 {
    margin-bottom: 16px;
    font-size: 1.4rem;
}

.service-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.more-link {
    display: inline-block;
    margin-top: 24px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.more-link:hover {
    letter-spacing: 2px;
}

/* Contacts */
.contact {
    padding: 120px 0;
    background-color: var(--dark-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-info h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.1;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-links li {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-links a:hover {
    color: var(--primary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px;
    background-color: var(--black-accent);
}

.contact-form input, 
.contact-form textarea {
    padding: 16px;
    background-color: #000; /* Black background as requested */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--light-color); /* Visible text on black */
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form textarea {
    height: 150px;
    resize: none;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background-color: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-nav ul {
    display: flex;
    gap: 30px;
}

.footer-nav a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.footer-legal-info {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-legal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-legal-title {
    font-weight: 700;
    color: var(--light-color);
}

.footer-legal-divider {
    color: var(--primary-color);
    opacity: 0.5;
}

.footer-legal-content a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .nav-list {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 80%;
        height: calc(100vh - var(--header-height));
        background-color: var(--black-accent);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }
    
    .nav-list.active {
        right: 0;
    }

    .burger-menu {
        display: block;
        cursor: pointer;
        width: 30px;
        height: 20px;
        position: relative;
    }

    .burger-menu span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--light-color);
        position: absolute;
        transition: var(--transition);
    }

    .burger-menu span:nth-child(1) { top: 0; }
    .burger-menu span:nth-child(2) { top: 9px; }
    .burger-menu span:nth-child(3) { top: 18px; }

    .burger-menu.active span:nth-child(1) { transform: rotate(45deg); top: 9px; }
    .burger-menu.active span:nth-child(2) { opacity: 0; }
    .burger-menu.active span:nth-child(3) { transform: rotate(-45deg); top: 9px; }
    
    .btn-consultation {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
}
