* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: Inter, Arial, sans-serif;
    background: radial-gradient(circle at top right, rgba(78, 255, 180, 0.13), transparent 18%), radial-gradient(circle at bottom left, rgba(23, 113, 69, 0.18), transparent 15%), #06100f;
    color: #e6f9e7;
    line-height: 1.65;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(128, 255, 196, 0.07), transparent 18%), radial-gradient(circle at 14% 18%, rgba(110, 255, 186, 0.22), transparent 15%), radial-gradient(circle at 86% 22%, rgba(80, 235, 175, 0.14), transparent 14%);
    pointer-events: none;
    z-index: -1;
}

img {
    max-width: 100%;
    display: block;
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(5, 20, 16, 0.82);
    backdrop-filter: blur(16px);
    color: #dfffe7;
    padding: 22px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 1px solid rgba(76, 255, 177, 0.16);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

header .brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

header .logo {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(76, 255, 177, 0.6);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 18px 38px rgba(0, 0, 0, 0.28);
}

header h1 {
    margin: 0;
    font-size: 1.55rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

header p {
    margin: 0;
    font-size: 0.96rem;
    color: #a8ebb9;
    letter-spacing: 0.02em;
}

nav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

nav a {
    color: #c1f2ce;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.2s ease;
}

nav a.active {
    background: rgba(76, 255, 177, 0.25);
    color: #efffe9;
    box-shadow: inset 0 0 0 1px rgba(76, 255, 177, 0.18);
}

nav a:hover,
nav a:focus {
    background: rgba(76, 255, 177, 0.16);
    color: #efffe9;
    transform: translateY(-1px);
}

main {
    flex: 1 0 auto;
}

.hero {
    min-height: 80vh;
    padding: 90px 24px 70px;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, rgba(15, 28, 22, 0.75), rgba(4, 9, 8, 0.80)), url("images/20260428_130911.jpg") center/cover no-repeat;
    color: #f5ffeb;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(76, 255, 177, 0.08);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 22% 28%, rgba(255, 255, 255, 0.12), transparent 18%), radial-gradient(circle at 82% 56%, rgba(255, 255, 255, 0.08), transparent 20%);
    position: relative;
    z-index: 1;
}

.hero span {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9ef0b0;
}

.hero h2 {
    font-size: clamp(3rem, 5vw, 5rem);
    margin: 0 0 22px;
    text-shadow: 0 25px 50px rgba(0, 0, 0, 0.28);
}

.hero p {
    max-width: 700px;
    margin-bottom: 34px;
    font-size: 1.05rem;
    color: #d8f9d6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.center-actions {
    justify-content: center;
}

.hero-phone {
    margin-top: 28px;
    font-size: 1rem;
    color: #b4f8c7;
}

.hero-phone a {
    color: #e6ffe7;
    text-decoration: underline;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button.primary {
    background: linear-gradient(135deg, #30ffbd, #1ea16f);
    color: #06100c;
    box-shadow: 0 18px 45px rgba(6, 76, 47, 0.25);
}

.button.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #e8ffe7;
    border: 1px solid rgba(86, 255, 170, 0.24);
}

.button:hover {
    transform: translateY(-2px);
}

.section {
    padding: 72px 24px;
    position: relative;
}

.section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(76, 255, 185, 0.04), transparent 20%, rgba(76, 255, 185, 0.02) 50%, transparent 80%);
    pointer-events: none;
}

.section-header {
    max-width: 720px;
    margin: 0 auto 36px;
    text-align: center;
}

.section-header::before {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin: 0 auto 22px;
    background: linear-gradient(135deg, #30ffbd, #1ea16f);
    border-radius: 999px;
}

.section-header h2 {
    margin-bottom: 10px;
    font-size: 2.6rem;
    color: #e6f9e7;
    letter-spacing: -0.02em;
}

.section-header p {
    margin: 0;
    color: #a9d8bc;
    font-size: 1.03rem;
}

.services-section,
.gallery-section,
.contact-section {
    background: rgba(4, 13, 11, 0.92);
    border-top: 1px solid rgba(86, 255, 169, 0.1);
    border-bottom: 1px solid rgba(86, 255, 169, 0.1);
}

.cards {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    background: rgba(10, 24, 20, 0.94);
    border: 1px solid rgba(76, 255, 177, 0.12);
    border-radius: 26px;
    padding: 32px;
    box-shadow: 0 26px 65px rgba(0, 0, 0, 0.22);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 78px rgba(0, 0, 0, 0.27);
    border-color: rgba(76, 255, 177, 0.22);
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle at top right, rgba(74, 255, 180, 0.14), transparent 36%);
    pointer-events: none;
}

.card h3 {
    margin-top: 0;
    color: #efffe7;
    font-size: 1.45rem;
}

.card p {
    color: #b7dec1;
    line-height: 1.75;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 1120px;
    margin: 0 auto;
}

.gallery-card {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 24px 68px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(76, 255, 177, 0.14);
    background: rgba(8, 18, 14, 0.7);
}

.gallery-card img {
    width: 100%;
    min-height: 260px;
    max-height: 380px;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
    will-change: transform;
}

.gallery-card:hover img {
    transform: scale(1.06);
    filter: saturate(1.06);
}

.about-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
}

.about-text {
    padding: 12px 0;
}

.about-text ul {
    margin: 24px 0 0;
    padding-left: 20px;
    color: #b7e6c7;
}

.about-text li {
    margin-bottom: 12px;
}

.about-image {
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(76, 255, 177, 0.14);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
    background: rgba(5, 13, 11, 0.92);
}

.about-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.contact-section {
    background: rgba(6, 18, 15, 0.92);
}

.contact-content {
    display: grid;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(13, 30, 22, 0.95);
    border: 1px solid rgba(74, 255, 172, 0.16);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 28px 68px rgba(0, 0, 0, 0.22);
}

.contact-card h3 {
    margin-top: 0;
    color: #e9ffea;
}

.contact-card p {
    color: #b7dec1;
    line-height: 1.8;
}

.contact-form {
    max-width: 780px;
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.contact-form label {
    display: grid;
    gap: 10px;
    font-weight: 600;
    color: #d8fadd;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(116, 255, 175, 0.18);
    border-radius: 16px;
    padding: 16px 18px;
    font-size: 1rem;
    color: #ecffed;
    background: rgba(3, 10, 8, 0.85);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(64, 255, 151, 0.72);
    border-color: rgba(64, 255, 151, 0.72);
    background: rgba(8, 18, 15, 0.98);
}

footer {
    background: rgba(4, 14, 11, 0.94);
    color: #9de7b4;
    text-align: center;
    padding: 22px 24px;
    margin-top: auto;
    border-top: 1px solid rgba(84, 255, 159, 0.14);
}

@media (max-width: 860px) {
    .cards,
    .gallery-grid,
    .about-section,
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    header {
        justify-content: center;
        gap: 18px;
        text-align: center;
    }

    nav {
        justify-content: center;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h2 {
        font-size: 2.6rem;
    }
}
