/* Базовые стили */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background:
        linear-gradient(to bottom, rgba(15,23,42,0.96), rgba(2,6,23,0.98)),
        url("images/angar-black-glas-03.jpg") center/cover fixed no-repeat;
    color: #e5e7eb;
    line-height: 1.6;
}

/* Контейнер */
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(3, 7, 18, 0.96);
    border-bottom: 1px solid rgba(148,163,184,0.25);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

/* Логотип */
.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: 18px;
    text-transform: uppercase;
}

.logo-sub {
    font-size: 11px;
    text-transform: uppercase;
    color: #9ca3af;
}

/* Навигация */
.main-nav {
    display: flex;
    gap: 18px;
    font-size: 14px;
}

.main-nav a {
    color: #e5e7eb;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 999px;
    transition: background 0.2s, color 0.2s;
}

.main-nav a:hover {
    background: rgba(148,163,184,0.15);
}

.main-nav a.active {
    background: linear-gradient(90deg, #f97316, #facc15);
    color: #020617;
    font-weight: 600;
}

/* Контакты в хедере */
.header-contacts {
    text-align: right;
    font-size: 13px;
}

.header-contacts .phone {
    display: block;
    color: #f9fafb;
    text-decoration: none;
    font-weight: 600;
}

.header-contacts .phone:hover {
    text-decoration: underline;
}

.header-contacts .city {
    color: #9ca3af;
}

/* HERO */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    color: #f9fafb;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(236, 72, 153, 0.16), transparent 55%),
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 60%),
        linear-gradient(to bottom, rgba(15,23,42,0.95), rgba(15,23,42,0.98));
}

.hero-content {
    position: relative;
    padding: 72px 0 64px;
    max-width: 640px;
}

.hero h1 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #facc15;
}

.hero p {
    color: #e5e7eb;
    margin-bottom: 24px;
    max-width: 520px;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s, color 0.2s;
}

.btn.primary {
    background: linear-gradient(90deg, #f97316, #facc15);
    color: #111827;
    box-shadow: 0 14px 30px rgba(248, 181, 0, 0.35);
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(248, 181, 0, 0.4);
}

.btn.ghost {
    background: transparent;
    border-color: rgba(148,163,184,0.5);
    color: #e5e7eb;
}

.btn.ghost:hover {
    background: rgba(15,23,42,0.8);
}

.btn.large {
    padding: 13px 28px;
    font-size: 15px;
}

.btn.full {
    width: 100%;
}

/* Элементы под hero */
.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.hero-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 4px;
    font-size: 13px;
    color: #cbd5f5;
}

/* Общие секции */
.section {
    padding: 56px 0;
}

.section-alt {
    background: radial-gradient(circle at top, rgba(15,23,42,0.9), #020617 70%);
}

.section h2 {
    font-size: 26px;
    margin-bottom: 18px;
}

/* Cards */
.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.card {
    background: radial-gradient(circle at top, #1f2937, #020617);
    border-radius: 18px;
    padding: 18px;
    border: 1px solid rgba(55,65,81,0.8);
    box-shadow: 0 18px 40px rgba(15,23,42,0.7);
}

.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 12px;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.card p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #d1d5db;
}

.card-link {
    font-size: 13px;
    color: #93c5fd;
    text-decoration: none;
}

.card-link:hover {
    text-decoration: underline;
}

.card.mini {
    padding: 16px;
}

/* BENEFITS */
.benefits-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.benefits-list {
    padding-left: 18px;
    font-size: 14px;
}

.benefits-list li {
    margin-bottom: 8px;
}

.benefits-photo img {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(75,85,99,0.9);
    box-shadow: 0 20px 45px rgba(15,23,42,0.8);
    object-fit: cover;
}

/* PORTFOLIO GRID */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.portfolio-item {
    background: radial-gradient(circle at top, #020617, #020617);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(55,65,81,0.9);
    box-shadow: 0 16px 38px rgba(15,23,42,0.9);
}

.portfolio-item.big {
    grid-column: span 2;
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.portfolio-item figcaption {
    padding: 12px 14px 16px;
    font-size: 13px;
    color: #e5e7eb;
}

.portfolio-item figcaption h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.portfolio-link {
    margin-top: 20px;
    text-align: center;
}

/* STEPS */
.section-steps .steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.step {
    background: radial-gradient(circle at top, #111827, #020617);
    border-radius: 18px;
    padding: 16px;
    border: 1px solid rgba(55,65,81,0.9);
    font-size: 14px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f97316, #facc15);
    color: #111827;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

/* SEO текст */
.section-text p {
    font-size: 14px;
    color: #d1d5db;
    margin-bottom: 10px;
}

/* CTA */
.cta-dark {
    background: radial-gradient(circle at top, #0f172a, #020617);
    border-top: 1px solid rgba(55,65,81,0.8);
    border-bottom: 1px solid rgba(55,65,81,0.8);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

/* PAGE HERO */
.page-hero {
    border-bottom: 1px solid rgba(55,65,81,0.7);
}

.page-hero h1 {
    font-size: 30px;
    margin-bottom: 8px;
}

.page-subtitle {
    color: #9ca3af;
    max-width: 620px;
    font-size: 14px;
}

/* SERVICE SECTIONS */
.service-section {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 26px;
    align-items: center;
}

.service-text p {
    font-size: 14px;
    color: #d1d5db;
}

.service-text ul {
    padding-left: 18px;
    font-size: 14px;
    color: #e5e7eb;
}

.service-text ul li {
    margin-bottom: 6px;
}

.service-photo img {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(55,65,81,0.9);
    box-shadow: 0 18px 40px rgba(15,23,42,0.9);
}

/* ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 28px;
    align-items: flex-start;
}

.about-text p {
    font-size: 14px;
    color: #d1d5db;
}

.about-text ul {
    padding-left: 18px;
    font-size: 14px;
}

/* CONTACTS */
.contacts-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    gap: 26px;
    align-items: flex-start;
}

.contacts-info p {
    font-size: 14px;
    color: #e5e7eb;
}

.contacts-info a {
    color: #93c5fd;
    text-decoration: none;
}

.contacts-info a:hover {
    text-decoration: underline;
}

.contacts-note {
    margin-top: 10px;
    color: #9ca3af;
    font-size: 13px;
}

/* FORM */
.contact-form {
    background: radial-gradient(circle at top, #020617, #020617);
    border-radius: 20px;
    padding: 20px 18px 22px;
    border: 1px solid rgba(55,65,81,0.9);
    box-shadow: 0 18px 40px rgba(15,23,42,0.95);
    font-size: 14px;
}

.contact-form label {
    display: block;
    margin-bottom: 12px;
}

.contact-form label span {
    font-size: 13px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    margin-top: 4px;
    padding: 9px 10px;
    border-radius: 10px;
    border: 1px solid rgba(75,85,99,0.9);
    background: #020617;
    color: #e5e7eb;
    font-family: inherit;
    font-size: 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 1px rgba(249,115,22,0.5);
}

.contact-form textarea {
    resize: vertical;
}

.form-note {
    font-size: 12px;
    color: #9ca3af;
    margin: 6px 0 10px;
}

.form-status {
    font-size: 13px;
    margin-top: 8px;
    color: #a5b4fc;
}

/* FOOTER */
.site-footer {
    border-top: 1px solid rgba(55,65,81,0.8);
    background: #020617;
    padding: 20px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    font-size: 13px;
}

.footer-col h4 {
    margin: 0 0 6px;
    font-size: 14px;
}

.footer-col p {
    margin: 2px 0;
}

.footer-col a {
    color: #93c5fd;
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
}

/* Адаптив */
@media (max-width: 960px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 10px;
    }
    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    .hero {
        min-height: 430px;
    }
    .hero h1 {
        font-size: 30px;
    }
    .cards-3,
    .portfolio-grid,
    .section-steps .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .benefits-inner,
    .service-section,
    .about-grid,
    .contacts-grid,
    .cta-inner {
        grid-template-columns: 1fr;
        display: grid;
    }
}

@media (max-width: 640px) {
    .hero-content {
        padding-top: 60px;
        padding-bottom: 40px;
    }
    .hero h1 {
        font-size: 26px;
    }
    .cards-3,
    .portfolio-grid,
    .section-steps .steps {
        grid-template-columns: 1fr;
    }
    .portfolio-item.big {
        grid-column: span 1;
    }
    .footer-inner {
        flex-direction: column;
    }
}
