:root {
    --bg-light: #f4f7f9;
    --bg-dark: #0d1c19;
    --bg-darker: #091311;
    --text-primary: #0d1c19;
    --text-white: #ffffff;
    --accent-orange: #f6d345;
    --accent-orange-hover: #e0be30;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* TOP BAR */
.top-bar {
    background-color: var(--bg-darker);
    color: var(--text-white);
    padding: 8px 0;
    font-size: 13px;
    font-weight: 600;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    margin-right: 15px;
}

.social-links a:hover,
.top-phone a:hover {
    color: var(--accent-orange);
}

/* NAVBAR */
.navbar {
    background-color: var(--bg-darker);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    height: 90px;
    width: auto;
    display: block;
    margin: -22px 0;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-white);
    position: relative;
    text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-orange);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--accent-orange);
    color: var(--text-white);
    border-radius: 50%;
    font-size: 18px;
}

.btn-circle:hover {
    background-color: var(--accent-orange-hover);
}

.btn-outline {
    border: 2px solid var(--accent-orange);
    color: var(--text-white);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
}

.btn-outline:hover {
    background-color: var(--accent-orange);
    color: var(--text-white);
}

.btn-solid {
    background-color: var(--accent-orange);
    color: var(--text-white);
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-solid:hover {
    background-color: var(--accent-orange-hover);
}

/* PAGE HEADER */
.page-content {
    padding: 60px 0 100px;
}

.page-header {
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 40px;
    color: var(--bg-dark);
    margin-bottom: 20px;
}

.divider {
    height: 4px;
    width: 80px;
    background-color: var(--accent-orange);
}

/* CONTACTS WRAPPER */
.contacts-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.contacts-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border-left: 4px solid var(--bg-dark);
}

.c-icon {
    font-size: 30px;
    margin-right: 20px;
}

.c-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--bg-dark);
}

.c-link {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.c-link:hover {
    color: var(--accent-orange-hover);
}

.c-info span {
    font-size: 13px;
    color: #4f5565;
}

.c-info p {
    font-size: 15px;
    line-height: 1.5;
}

/* FORM SECTION */
.form-section {
    flex: 1.5;
    background-color: var(--bg-dark);
    background-image: linear-gradient(rgba(9, 19, 17, 0.85), rgba(9, 19, 17, 0.95)), url('power_grid_background_1776688538426.png');
    background-size: cover;
    background-position: center;
    color: var(--text-white);
    padding: 40px;
    border-radius: 12px;
}

.form-section h2 {
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--text-white);
}

.form-section p {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-white);
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    background: rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-submit {
    margin-top: 10px;
    width: auto;
    align-self: flex-start;
}

/* FOOTER */
.footer {
    background-color: var(--bg-darker);
    color: var(--text-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.white-logo {
    display: block;
    margin-bottom: 20px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--accent-orange);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--accent-orange);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 900px) {
    .contacts-wrapper {
        flex-direction: column;
    }

    .contacts-grid,
    .form-section {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}