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

:root {
    --primary: #138275;
    --text: #212121;
    --muted: #555;
    --white: #fff;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: 'Merriweather', serif;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px;
}

.intro {
    background-color: #138275;
}


/* Headings & text (readable names) */

.section-title {
    font-family: 'PT Sans', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin: 0 0 60px;
}

p,
.feature-text {
    font-size: 16px;
    margin: 0.5rem 0 0;
}

.intro-line {
    text-align: center;
    font-size: 18px;
}


/* Header */


/* Header */

.site-header {
    background: transparent;
    border-bottom: none;
    position: absolute;
    /* щоб він накладався на банер */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}

.brand {
    display: inline-block;
    padding: 16px 0;
    font-family: 'PT Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    /* білий текст для контрасту з банером */
    text-decoration: none;
}


/* Hero */

.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: translateZ(0);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .4);
}

.hero-content {
    position: relative;
    text-align: center;
    width: 100%;
}

.hero-title {
    font-family: 'PT Sans', sans-serif;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0 0 8px;
}

.hero-subtitle {
    font-family: 'PT Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    opacity: .95;
}


/* Features */

.features {
    margin-top: 70px;
    margin-bottom: 110px;
    background: var(--white);
    padding: 24px 0
}

.feature-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    border: 1px solid #eee;
    border-radius: 14px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
    display: flex;
    flex-direction: column;
}

.feature-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.feature-title {
    font-family: 'PT Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin: 16px 0 0;
}

.feature-text {
    color: var(--muted);
    text-align: center;
    padding: 0 16px 16px;
}


/* Footer */

.site-footer {
    background: var(--primary);
    color: var(--white);
    padding: 32px 0;
}

.footer-title {
    font-family: 'PT Sans', sans-serif;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 50px;
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-list li {
    font-size: 16px
}