/* ===== Reset & Variables ===== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #998a77;
    --color-text: #3a3a3a;
    --color-bg-start: #faf9f7;
    --color-bg-end: #f3f0ec;
}

/* ===== Base ===== */

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-text);
    background: linear-gradient(170deg, var(--color-bg-start) 0%, var(--color-bg-end) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* ===== Container ===== */

.container {
    max-width: 700px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* ===== Logo ===== */

.logo-wrapper {
    padding: 10px 0;
}

.logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    display: block;
}

/* ===== Separators ===== */

.separator {
    width: 80%;
    border: none;
    border-top: 1px solid var(--color-primary);
    opacity: 0.3;
}

/* ===== Services ===== */

.services {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.services h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--color-primary);
    letter-spacing: 0.02em;
}

.dot {
    width: 5px;
    height: 5px;
    background-color: var(--color-primary);
    border-radius: 50%;
    opacity: 0.5;
    flex-shrink: 0;
}

/* ===== Contact ===== */

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.address {
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 400;
}

.phone {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: opacity 0.3s ease;
}

.phone:hover {
    opacity: 0.7;
}

/* ===== Fade-in Animations ===== */

.fade-in {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger — separators keep their own lower opacity */
.separator.fade-in.visible {
    opacity: 0.3;
}

/* ===== Responsive ===== */

@media (max-width: 600px) {
    .container {
        gap: 26px;
    }

    .logo {
        max-width: 220px;
    }

    .services {
        flex-direction: column;
        gap: 10px;
    }

    .dot {
        display: none;
    }

    .services h2 {
        font-size: 1.15rem;
    }
}
