/*
|--------------------------------------------------------------------------
| VOLKANSERVICES styles
|--------------------------------------------------------------------------
| Sections:
| 1. Base
| 2. Header / Шапка
| 3. Hero
| 4. Sections
| 5. Services
| 6. About
| 7. Gallery
| 8. Contact
| 9. Footer / Подвал
| 10. Responsive
*/

/* ==================== 1. BASE ==================== */
:root {
    --bg: #f6f7f9;
    --card: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --dark: #111827;
    --accent: #d97706;
    --accent-dark: #b45309;
    --border: #e5e7eb;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

/* ==================== 2. HEADER / ШАПКА ==================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--card);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.logo-img {
    width: 42px;
    height: 42px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
}

.site-nav a:hover {
    color: var(--accent);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--dark);
}

/* ==================== 3. HERO ==================== */
.hero {
    padding: 78px 0;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(31, 41, 55, 0.92)),
        url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 42px;
    align-items: center;
}

.hero-content {
    max-width: 680px;
}

.eyebrow {
    margin: 0 0 14px;
    color: #fbbf24;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 14px;
}

.hero h1 {
    margin: 0 0 20px;
    font-size: clamp(36px, 6vw, 60px);
    line-height: 1.05;
}

.hero-text {
    margin: 0 0 30px;
    max-width: 640px;
    font-size: 20px;
    color: #e5e7eb;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    transition: 0.2s ease;
}

.button-primary {
    background: var(--accent);
    color: #ffffff;
}

.button-primary:hover {
    background: var(--accent-dark);
}

.button-secondary {
    background: #ffffff;
    color: var(--dark);
}

.button-secondary:hover {
    background: #f3f4f6;
}

.hero-photo {
    overflow: hidden;
    border: 8px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(0,0,0,0.32);
}

.hero-photo img {
    width: 100%;
    height: 430px;
    object-fit: cover;
}

/* ==================== 4. SECTIONS ==================== */
.section {
    padding: 68px 0;
}

.section-white {
    background: #ffffff;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-heading.align-left {
    margin-left: 0;
    text-align: left;
}

.section-heading h2 {
    margin: 0 0 12px;
    color: var(--dark);
    font-size: 34px;
    line-height: 1.2;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

/* ==================== 5. SERVICES ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service-card,
.info-card,
.contact-card {
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

.service-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.service-card-body,
.info-card,
.contact-card {
    padding: 26px;
}

.service-card h3 {
    margin: 0 0 10px;
    color: var(--dark);
    font-size: 21px;
}

.service-card p {
    margin: 0;
    color: var(--muted);
}

/* ==================== 6. ABOUT ==================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: start;
}

.check-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 28px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 900;
}

/* ==================== 7. GALLERY / МЕСТО ПОД КАРТИНКИ ==================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-grid img {
    width: 100%;
    height: 245px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

/* ==================== 8. CONTACT ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.contact-card-wide {
    grid-column: 1 / -1;
}

.contact-label {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 14px;
}

.contact-card a,
.contact-card address {
    color: var(--dark);
    font-size: 18px;
    font-weight: 800;
    font-style: normal;
}

.contact-card a:hover {
    color: var(--accent);
}

/* ==================== 9. FOOTER / ПОДВАЛ ==================== */
.site-footer {
    background: var(--dark);
    color: #d1d5db;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1fr;
    gap: 32px;
    padding: 46px 0 34px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.footer-logo img {
    width: 40px;
    height: 40px;
}

.footer-company p {
    max-width: 440px;
    margin: 0;
    color: #cbd5e1;
}

.footer-block h3 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 17px;
}

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

.footer-block li {
    margin-bottom: 9px;
    color: #cbd5e1;
}

.footer-block a:hover {
    color: #fbbf24;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px 0 24px;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 14px;
    color: #cbd5e1;
}

/* ==================== 10. RESPONSIVE ==================== */
@media (max-width: 900px) {
    .hero-grid,
    .services-grid,
    .about-grid,
    .gallery-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-photo img {
        height: 320px;
    }
}

@media (max-width: 820px) {
    .nav-toggle {
        display: inline-block;
    }

    .site-nav {
        display: none;
        width: 100%;
        padding: 12px 0 18px;
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav.is-open {
        display: flex;
    }

    .header-inner {
        min-height: 68px;
        flex-wrap: wrap;
    }

    .hero {
        padding: 58px 0;
    }

    .section {
        padding: 52px 0;
    }
}

/* ==================== 11. IMPROVEMENTS ==================== */
.service-list {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 15px;
}

.service-list li {
    position: relative;
    margin-bottom: 7px;
    padding-left: 18px;
}

.service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.section-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
    padding: 26px;
    background: var(--dark);
    color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.12);
}

.section-cta h3 {
    margin: 0 0 4px;
    font-size: 24px;
}

.section-cta p {
    margin: 0;
    color: #cbd5e1;
}

.info-card h3 {
    margin: 0 0 16px;
    color: var(--dark);
    font-size: 22px;
}

.button-outline {
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--dark);
}

.button-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.map-button {
    width: fit-content;
    margin-top: 18px;
    font-size: 15px;
}

.mobile-call {
    display: none;
}

@media (max-width: 900px) {
    .section-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    body {
        padding-bottom: 72px;
    }

    .logo {
        font-size: 18px;
    }

    .logo-img {
        width: 36px;
        height: 36px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-text,
    .section-heading p {
        font-size: 16px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .mobile-call {
        position: fixed;
        right: 16px;
        bottom: 16px;
        left: 16px;
        z-index: 80;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 52px;
        border-radius: 999px;
        background: var(--accent);
        color: #ffffff;
        font-weight: 900;
        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
    }
}
