:root {
    --color-bg: #FFF7F0;
    --color-footer: #9DB3A1;
    --color-text: #141414;
    --color-accent: #F76608;
    --color-accent-hover: #E55A00;
    --container-width: 1276px;
    --section-spacing: 200px;
    --grid-gap: 20px;
    --radius-card: 28px;
    --radius-button: 14px;
    --font-main: 'Montserrat', sans-serif;
}

/* RESET */

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

img {
    display: block;
    max-width: 100%;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* BODY */

body {
    font-family: var(--font-main);
    background: var(--color-bg);
    color: var(--color-text);
    min-width: 360px;
}

/* --- CONTAINER --- */

.container {
    max-width: unset;
    margin: 0 50px;
}

@media (min-width: 1376px) {
    .container {
        max-width: var(--container-width);
        margin: 0 auto;
    }
}

/* --- SECTIONS --- */

.section {
    margin-top: unset;
    margin-top: var(--section-spacing);
}

/* --- TOP BANNER --- */

.top-banner {
    width: 100%;
    min-height: 114px;
    background-color: var(--color-footer);
    display: flex;
    align-items: center;
}

.top-banner .inner {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-direction: column;
    margin: 40px;
}

@media (min-width: 1200px) {
    .top-banner .inner {
        flex-direction: unset;
        margin: unset;
    }
}

.top-banner .text {
    font-size: 32px;
    font-weight: 500;
    color: var(--color-text);
    text-align: center;
}

@media (min-width: 1200px) {
    .top-banner .text {
        text-align: unset;
    }
}

.top-banner .button {
    height: 55px;
    padding: 8px 35px;
    border-radius: var(--radius-button);
    background-color: var(--color-accent);
    font-size: 32px;
    font-weight: 500;
    color: var(--color-text);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.top-banner .button:hover {
    background-color: var(--color-accent-hover);
}

.top-banner .button:active {
    transform: scale(0.97);
}

/* --- HERO --- */

.hero {
    padding: 20px;
    margin-top: 20px;
}

@media (min-width: 1376px) {
    .hero {
        margin-top: var(--section-spacing);
    }
}

@media (min-width: 1200px) {
    .hero {
        padding: 74px 0;
    }
}

.hero .container {
    display: flex;
    align-items: unset;
    flex-direction: column;
    padding: 20px;
}

@media (min-width: 1200px) {
    .hero .container {
        flex-direction: unset;
        align-items: center;
        padding: unset;
    }
}

.hero img {
        height: 131px;
        width: 180px;
        margin-bottom: 20px;
}

@media (min-width: 520px) {
    .hero img {
        height: 217px;
        width: 300px;
    }
}

@media (min-width: 650px) {
    .hero img {
        height: 297px;
        width: 409px;
    }
}

.hero .text h1 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero .text p {
    font-size: 24px;
    line-height: 140%;
}

/* --- PETS SECTION --- */

.pets .title {
    font-size: 32px;
    font-weight: 600;
    text-align: left;
    margin-bottom: 40px;
    margin-left: 20px;
}

@media (min-width: 741px) {
    .pets .title {
        margin-left: 50px;
    }
}

@media (min-width: 1376px) {
    .pets .title {
        margin-left: unset;
    }
}

.pets .cluster {
    display: grid;
    grid-template-columns: repeat(1, 304px);
    gap: var(--grid-gap);
    justify-content: center;
}


@media (min-width: 741px) {
    .pets .cluster {
        grid-template-columns: repeat(2, 304px);
        justify-content: center;
    }
}

@media (min-width: 1060px) {
    .pets .cluster {
        grid-template-columns: repeat(3, 304px);
        justify-content: center;
    }
}

@media (min-width: 1376px) {
    .pets .cluster {
        grid-template-columns: repeat(4, 304px);
        justify-content: start;
    }
}

.pets .card img {
    width: 100%;
    border-radius: var(--radius-card);
    object-fit: cover;
}

.pets .card h3 {
    margin-top: 40px;
    font-size: 20px;
    font-weight: 600;
    line-height: 120%;
}

.pets .card .text {
    font-size: 16px;
    line-height: 140%;
    font-weight: 400;
    margin-top: 4px;
}

/* HELP SECTION */

.help .title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 80px;
    margin-left: 0px;
}

@media (min-width: 741px) {
    .help .title {
        margin-left: 50px;
    }
}

@media (min-width: 1376px) {
    .help .title {
        margin-left: unset;
    }
}

.help .cards {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    column-gap: 80px;
    gap: 30px;
}

@media (min-width: 1376px) {
    .help .cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.help .card .header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.help .card img {
    width: 32px;
    height: 32px;
    margin-top: 4px;
}

.help .card h3 {
    font-size: 32px;
    font-weight: 600;
    line-height: 120%;
}

.help .card p {
    font-size: 24px;
    line-height: 140%;
}

/* Список с тире */

.help .card .list {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
    margin-bottom: 20px;
}

.help .card .list li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 32px;
    font-size: 24px;
    line-height: 1.4;
}

.help .card .list li::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 0;
    color: #141414;
    font-weight: 400;
}

/* SUPPORT SECTION */

.support .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
}

@media (min-width: 1376px) {
    .support .container {
        flex-direction: unset;
    }
}

.support img {
    height: 225px;
    width: 300px;
    border-radius: var(--radius-card);
}

@media (min-width: 550px) {
    .support img {
        height: 338px;
        width: 450px;
    }
}

@media (min-width: 800px) {
    .support img {
        height: 471px;
        width: 628px;
    }
}

.support .content {
    max-width: 520px;
}

.support .content .title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 24px;
}

.support .content .text {
    font-size: 24px;
    line-height: 140%;
    margin-bottom: 12px;
}

.support .content .button {
    margin-top: 32px;
    height: 72px;
    padding: 0 80px;
    border-radius: var(--radius-button);
    background-color: var(--color-accent);
    font-size: 28px;
    font-weight: 500;
    color: #000;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.support .content .button:hover {
    background-color: var(--color-accent-hover);
}

.support .content .button:active {
    transform: scale(0.97);
}

/* URGENT BLOCK */

.urgent .container {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.urgent .container > div:last-child {
    width: 100%;
}

.urgent img {
    width: 32px;
    height: 32px;
}

.urgent .title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
}

.urgent .text {
    font-size: 24px;
    line-height: 140%;
}

/* FOOTER */

.footer {
    background-color: var(--color-footer);
    margin-top: 200px; /* отступ перед футером */
}

.footer .container {
    max-width: var(--container-width); /* 1276px */
    margin: 0 auto;
    padding-top: 52px;   /* от верха футера до заголовка */
    padding-bottom: 52px; /* от текста до низа футера */
    padding-left: 50px;
    padding-right: 50px;
}

@media (min-width: 1376px) { /* 1276 + 2*50 */
    .footer .container {
        /*background-color: red;*/
        padding-left: unset;
        padding-right: unset;
    }
}

.footer .title {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 20px; /* от заголовка до текста */
}

.footer .address {
    font-size: 24px;
    margin-bottom: 14px; /* расстояние до следующей строки */
    margin-right: 5px;
}

.footer .contact {
    display: flex;
    align-items: center;
    margin-bottom: 14px; /* между строками по 14px */
    font-size: 24px;
}

.footer .contact:last-child {
    margin-bottom: 0;
}

.footer .contact .flags {
    display: flex;
    gap: 10px; /* между флагами */
    margin-right: 14px; /* от флагов до текста */
}

.footer .contact .flags img {
    width: 40px;
    height: 27px;
    flex-shrink: 0;
    object-fit: contain;
}
