﻿:root {
    --bg-main: #050708;
    --text-main: #ffffff;
    --blue-light: #4fb8e3;
    --blue-dark: #2793b9;
    --red-dark: #8b1e22;
    --red-light: #c0392b;
    --orange: #c35327;
    --grey-light: #f4f4f4;
    --grey-mid: #888888;
    --radius-lg: 16px;
    --radius-md: 10px;
    --shadow-soft: 0 12px 35px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

.section {
    scroll-margin-top: 96px;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
}

.container {
    width: min(1120px, 100% - 32px);
    margin: 0 auto;
}

.section {
    padding: 4rem 0;
}

.section-light {
    background: #101214;
}

.section-dark {
    background: radial-gradient(circle at top left, #20252a 0, #050708 50%, #050708 100%);
}

.top-bar {
    background: linear-gradient(90deg, var(--orange), var(--blue-light));
    color: #fff;
    font-size: 0.9rem;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
}

.top-bar-phone {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5, 7, 8, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.logo {
    height: 56px;
    width: 56px;
    border-radius: 50%;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.brand-tagline {
    font-size: 0.78rem;
    color: var(--grey-mid);
}

.nav ul {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav a {
    color: #e9eff3;
    text-decoration: none;
    font-size: 0.9rem;
}

    .nav a:hover {
        color: var(--blue-light);
    }

.nav-cta {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--blue-light);
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
    color: #020305 !important;
    font-weight: 600;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

    .nav-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: #ffffff;
        margin: 4px 0;
        transition: 0.2s;
    }

.hero {
    padding: 4.5rem 0 4rem;
    background: radial-gradient(circle at top right, rgba(79, 184, 227, 0.13), transparent 60%), radial-gradient(circle at bottom left, rgba(195, 83, 39, 0.18), transparent 55%), #050708;
}

.hero-inner {
    display: grid;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 768px) {
    .hero-inner {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
    }
}

.hero h1 {
    font-size: clamp(2rem, 2.7vw + 1.4rem, 3rem);
    margin-bottom: 1rem;
}

.hero p {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #d7e0e6;
    max-width: 34rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.hero-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #cfd8de;
    font-size: 0.95rem;
}

    .hero-highlights li + li {
        margin-top: 0.25rem;
    }

.hero-card {
    background: #060708;
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.photo-panel {
    min-height: 320px;
    display: flex;
    align-items: stretch;
}

.photo-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.photo-slot {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0b0f13;
}

    .photo-slot img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

.emergency-panel {
    margin-top: 1.5rem;
    background: #060708;
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

    .emergency-panel h2 {
        margin: 0 0 0.35rem;
        font-size: 1.25rem;
    }

    .emergency-panel p {
        margin: 0 0 0.85rem;
        color: #d7e0e6;
    }

.emergency-contact p {
    margin: 0.2rem 0;
    font-size: 0.9rem;
    color: #cfd8de;
}

.emergency-contact a {
    color: var(--blue-light);
    text-decoration: none;
}

.emergency-cta {
    white-space: nowrap;
}

.service-link {
    display: block;
    color: inherit;
    text-decoration: none;
    text-align: center;
}

    .service-link h3 {
        margin-top: 0;
        margin-bottom: 0.85rem;
        text-align: center;
    }

.service-thumb {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0b0f13;
    aspect-ratio: 4 / 3;
}

    .service-thumb img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

.service-link:hover {
    border-color: rgba(79, 184, 227, 0.35);
    transform: translateY(-2px);
}

.service-link:focus-visible {
    outline: 2px solid rgba(79, 184, 227, 0.75);
    outline-offset: 3px;
}

.gallery-wrap {
    position: relative;
    margin-top: 1.25rem;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(6, 7, 8, 0.86);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 2;
    box-shadow: var(--shadow-soft);
}

    .gallery-btn:hover {
        border-color: rgba(79, 184, 227, 0.6);
    }

    .gallery-btn:active {
        transform: translateY(-50%) scale(0.98);
    }

    .gallery-btn.left {
        left: -10px;
    }

    .gallery-btn.right {
        right: -10px;
    }

.gallery-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 6px 4px;
    border-radius: var(--radius-lg);
}

    .gallery-track::-webkit-scrollbar {
        height: 10px;
    }

    .gallery-track::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.06);
        border-radius: 999px;
    }

    .gallery-track::-webkit-scrollbar-thumb {
        background: rgba(79, 184, 227, 0.35);
        border-radius: 999px;
    }

.gallery-item {
    flex: 0 0 auto;
    width: clamp(220px, 28vw, 340px);
    aspect-ratio: 4 / 3;
    scroll-snap-align: start;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0b0f13;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
    background: var(--blue-light);
    color: #020305;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
}

    .btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    }

.btn-primary-back {
    background: var(--blue-light);
    color: #020305;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
    margin-bottom: 1.5rem;
    font-size: 0.7rem;
}

    .btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    }

.btn-primary-red {
    background: var(--red-light);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
}

    .btn-primary-red:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    }

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: #ffffff;
    color: #000000;
}

    .btn-outline:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    }

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin: 0 0 0.75rem;
}

.section-subtitle {
    text-align: center;
    color: #c2ccd4;
    margin: 0 auto 2.25rem;
    max-width: 36rem;
}

#service-area .section-subtitle {
    white-space: nowrap;
    max-width: none;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .why-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.card {
    background: #090c10;
    border-radius: var(--radius-md);
    padding: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.15s ease, border-color 0.15s ease;
}

    .card h3 {
        margin-top: 0;
        margin-bottom: 0.5rem;
    }

    .card p {
        margin: 0;
        color: #d0d7dd;
    }

.section-light .card {
    background: #12171d;
}

.logo-frame {
    display: block;
    width: fit-content;
    margin: 0 auto;

    padding: 6px;
    border-radius: 12px;
    background: conic-gradient(from 180deg, var(--orange) 0deg 180deg, var(--blue-light) 180deg 360deg);
}

.center-img {
    display: block;
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.contact-grid {
    display: flex;
    justify-content: center;
}

    .contact-grid > div {
        width: 100%;
        max-width: 560px;
        text-align: center;
    }

.contact-form {
    background: #12171d;
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
}

.form-row {
    margin-bottom: 1rem;
}

    .form-row label {
        display: block;
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .form-row input,
    .form-row textarea {
        width: 100%;
        padding: 0.6rem 0.7rem;
        border-radius: 8px;
        border: 1px solid #29323b;
        background: #0b0f13;
        color: #ffffff;
        font-family: inherit;
    }

        .form-row input:focus,
        .form-row textarea:focus {
            outline: 1px solid var(--blue-light);
            border-color: var(--blue-light);
        }

.site-footer {
    background: #020304;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    text-align: center;
    color: #9da5af;
    font-size: 0.85rem;
}

.footer-small {
    margin-top: 0.2rem;
}

@media (max-width: 767px) {
    .top-bar-inner {
        flex-direction: column;
        gap: 0.2rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        inset: 100% 0 auto;
        background: #050708;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.18s ease-out;
    }

        .nav.open {
            max-height: 260px;
        }

        .nav ul {
            flex-direction: column;
            align-items: flex-start;
            padding: 0.75rem 1rem 1rem;
            gap: 0.8rem;
        }

    .nav-cta {
        width: 100%;
        text-align: center;
    }

    .logo {
        height: 46px;
        width: 46px;
    }

    .hero {
        padding-top: 3.5rem;
    }

    .hero-card {
        padding: 1.4rem 1.25rem;
    }

    .photo-panel {
        min-height: 280px;
    }

    .emergency-panel {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }

    .emergency-cta {
        width: 100%;
    }

    .gallery-btn {
        display: none;
    }

    #service-area .section-subtitle {
        white-space: normal;
    }

    .contact-form {
        padding: 1.4rem;
    }
}
