@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

:root {
    --primary: #000000;
    --background: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #e8e8e8;
    --accent: #333333;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background);
    color: var(--primary);
    line-height: 1.6;
}

header {
    background-color: var(--primary);
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

header h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.72;
}

.hero {
    background: linear-gradient(135deg, #f7f7f7 0%, #ffffff 100%);
    text-align: center;
    padding: 90px 20px;
}

.hero h2 {
    max-width: 900px;
    margin: 0 auto 20px;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
}

.hero p {
    max-width: 760px;
    margin: 0 auto 32px;
    font-size: 18px;
}

.button {
    display: inline-block;
    padding: 14px 30px;
    background-color: var(--primary);
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: transform 0.25s, background-color 0.25s;
}

.button:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 20px;
    text-align: center;
}

.section h3 {
    margin: 0 0 16px;
    font-size: 30px;
    line-height: 1.25;
}

.section p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    justify-content: center;
    margin-top: 35px;
}

.feature {
    flex: 1 1 260px;
    max-width: 360px;
    background-color: var(--light-gray);
    padding: 28px 22px;
    border-radius: 14px;
    border: 1px solid var(--medium-gray);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform 0.25s, box-shadow 0.25s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.feature h4 {
    margin: 0 0 10px;
    font-size: 20px;
}

.feature p {
    margin: 0;
    font-size: 15px;
}

.photo-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 35px;
}

.photo-placeholder {
    min-height: 230px;
    background-color: var(--light-gray);
    border: 2px dashed #bdbdbd;
    border-radius: 14px;
    text-decoration: none;
    color: #555555;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: transform 0.25s, background-color 0.25s;
}

.photo-placeholder:hover {
    transform: scale(1.02);
    background-color: #eeeeee;
}

.photo-placeholder.two {
    min-height: 270px;
}

.photo-group:has(.two) {
    grid-template-columns: repeat(2, 1fr);
}

footer {
    background-color: var(--primary);
    color: #ffffff;
    padding: 28px 20px;
    text-align: center;
    font-size: 14px;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

.contact-bar {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1001;
}

.contact-bar a {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: #000000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(0,0,0,0.22);
    transition: transform 0.25s, background-color 0.25s;
}

.contact-bar a:hover {
    background-color: #333333;
    transform: scale(1.08);
}

.contact-bar svg {
    width: 25px;
    height: 25px;
    fill: #ffffff;
}

@media (max-width: 900px) {
    .header-inner {
        justify-content: center;
        text-align: center;
    }

    nav ul {
        justify-content: center;
    }

    .hero {
        padding: 70px 18px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .photo-group,
    .photo-group:has(.two) {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    header h1 {
        font-size: 20px;
    }

    nav a {
        font-size: 14px;
    }

    .hero h2 {
        font-size: 27px;
    }

    .hero p,
    .section p {
        font-size: 15px;
    }

    .section {
        padding: 55px 18px;
    }

    .contact-bar {
        right: 16px;
        bottom: 16px;
    }
}
