@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Source+Sans+3:wght@300;400;500&display=swap');

:root {
    --primary: #1f3f6c;
    --text: #1e2330;
    --muted: #4f5867;
    --divider: rgba(24, 30, 44, 0.18);
}

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

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Source Sans 3', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.28)), url('./bg.jpg') center/cover no-repeat fixed;
}

.hero {
    position: relative;
    min-height: 100vh;
    padding: clamp(32px, 6vw, 72px) clamp(24px, 8vw, 120px);
    display: flex;
    align-items: center;
}

.hero__grid {
    position: relative;
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(16px, 2vw, 48px);
    row-gap: clamp(20px, 3vw, 48px);
}

.brand {
    grid-column: 1 / span 2;
    align-self: start;
}

.brand img {
    width: clamp(80px, 9vw, 120px);
    height: auto;
}

.intro {
    grid-column: 1 / span 6;
    align-self: end;
}

.intro h1 {
    margin: 0;
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-weight: 600;
    font-size: 96px;
    letter-spacing: 0.04em;
    color: var(--primary);
    text-transform: uppercase;
    line-height: 1.05;
}

.summary {
    grid-column: 1 / span 3;
    font-size: 24px;
    color: var(--muted);
    line-height: 1.5;
}

.info {
    align-self: start;
}

.info h2 {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 2rem;
}

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

.info li {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
}

.info li + li {
    margin-top: 0.45rem;
}

.info--business {
    grid-column: 6 / span 2;
}

.info--realestate {
    grid-column: 8 / span 2;
}

.info--contacts {
    grid-column: 10 / span 3;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-person__name {
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.35rem;
}

.contact-person__line {
    margin: 0 0 0.35rem;
    color: var(--text);
}

.contact-person a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.contact-person a:hover {
    border-color: var(--primary);
}

.contact-person--request {
    padding-top: 1rem;
    border-top: 1px solid var(--divider);
}

.hero__footnote {
    grid-column: 1 / span 4;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

@media (max-width: 1366px) {
    .intro {
        grid-column: 1 / span 7;
    }

    .intro h1 {
        font-size: 32px;
    }

    .summary {
        grid-column: 1 / span 6;
        font-size: 32px;
    }

    .info--business {
        grid-column: 6 / span 3;
    }

    .info--realestate {
        grid-column: 9 / span 3;
    }

    .info--contacts {
        grid-column: 6 / span 5;
    }

    .info h2 {
        font-size: 12px;
    }
}

@media (max-width: 1024px) {
    .hero__grid {
        column-gap: 24px;
    }

    .intro h1 {
        font-size: 32px;
    }

    .summary {
        font-size: 32px;
    }

    .info--business {
        grid-column: 5 / span 4;
    }

    .info--realestate {
        grid-column: 9 / span 4;
    }

    .info--contacts {
        grid-column: 5 / span 8;
    }
}

@media (max-width: 768px) {
    .hero__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .brand {
        grid-column: 1 / span 2;
    }

    .intro,
    .summary {
        grid-column: 1 / span 6;
    }

    .intro h1 {
        font-size: 18px;
    }

    .summary {
        font-size: 18px;
    }

    .info--business,
    .info--realestate {
        grid-column: auto / span 3;
    }

    .info--contacts {
        grid-column: 1 / span 6;
    }

    .hero__footnote {
        grid-column: 1 / span 6;
    }
}

@media (max-width: 480px) {
    .hero__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .brand,
    .intro,
    .summary,
    .info,
    .hero__footnote {
        grid-column: 1 / span 2;
    }

}

@media (max-width: 360px) {
    .intro h1 {
        font-size: 16px;
    }

    .summary {
        font-size: 16px;
    }
}
