:root {
    --orange: #D7543A;
    --orange-light: #E28468;
    --beige: #ebefef;
    --cream: #fff8ef;
    --ink: #202124;
    --muted: #705d51;
}

@font-face {
    font-family: "Commissioner";
    src: url("fonts/Commissioner-Variable.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Commissioner", sans-serif;
    color: var(--ink);
    background: white;
}

.header {
    position: sticky;
    top: 0;
    z-index: 5;

    display: flex;
    align-items: center;
    gap: 20px;

    padding: 10px 6vw;
    background: rgb(255 255 255 / 0.9);
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
    font-size: 18px;
}

.navVk {
    margin-left: 0;
    margin-top: 8px;
}

.nav a {
    color: black;
    text-decoration: none;
}

.nav a.navDonate {
    color: var(--orange);
    font-weight: 600;

}

.menuBtn {
    display: none;
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    color: var(--orange);
    font-weight: 800;
    font-size: 18px;
    background: transparent;
}

section {
    padding: 36px 6vw;
}

[id] {
    scroll-margin-top: 80px;
}

.hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 50%) minmax(0, 50%);
    gap: 32px;
    align-items: center;
    width: calc(100% - 12vw);
    max-width: none;
    margin: 40px 6vw;
    min-height: 560px;
    padding: 35px 40px;
    background: var(--orange);
    color: #fff;
    border-radius: 42px 42px 42px 42px;
}

.hero::before {
    content: "";
    position: absolute;
    width: 560px;
    height: 580px;
    left: 0px;
    top: 0px;
    background: url("images/paw.svg") center / contain no-repeat;
    opacity: 0.08;
    transform: rotate(-25deg);
    pointer-events: none;
}

.hero > div:first-child {
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin: 0 0 24px;
    max-width: 700px;
    font-size: clamp(48px, 6vw, 82px);
    line-height: 0.98;
}

.hero .lead {
    margin: 0 0 10px;
    max-width: 620px;
    font-size: 18px;
    line-height: 1.5;
    color: white;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.heroPhoto {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    min-width: 0;
    height: 100%;
    overflow: hidden;
}

.heroPhoto img {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;
    object-fit: contain;
    margin: 0;
    transform: none;
}

.addresses {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.address {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 210px;
    padding: 16px 20px;
    color: #fff;
    text-decoration: none;
    background: rgb(255 255 255 / 14%);
    border: 1px solid rgb(255 255 255 / 25%);
    border-radius: 24px 24px 24px 8px;
    transition: transform 0.2s ease,
        background 0.2s ease;
}

.address:hover {
    transform: translateY(-3px);
    background: rgb(255 255 255 / 22%);
}

.address b {
    font-size: 15px;
    text-transform: uppercase;
}

.address span {
    font-size: 13px;
    color: rgb(255 255 255 / 78%);
}

h1 {
    max-width: 720px;
    margin: 18px 0;
    font-size: clamp(48px, 7vw, 96px);
    line-height: .9;
}

h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1;
}

.lead,
.sectionHead p,
.catCard p {
    color: var(--muted);
    font-size: 20px;
    line-height: 1.35;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    font: inherit;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
}


.btn.application {
    font-weight: 700;
    background: transparent;
    color: var(--orange);
    border: none;
}

.btn.application:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}


.btn.support,
.btn.catsPlus {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
    font-weight: 700;
}

.btn.catsAll {
    border-color: var(--orange);
    color: var(--orange);
    font-weight: 700;
}

.btn.ghost {
    background: white;
    color: var(--orange);
}


.btn.form {
    width: fit-content;
    max-width: 100%;
    justify-self: start;

    background: var(--orange);
    border-color: var(--orange);
    color: white;
    font-weight: 500;

    white-space: normal;
    text-align: center;
}

.sectionHead {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.sectionHead p {
    max-width: 460px;
    margin: 0;
}

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

.catCard {
    overflow: hidden;
    padding: 0;
    border-radius: 28px;
    background: rgb(235 239 239 / 0.8);
    box-shadow: 0 14px 30px rgb(105 65 38 / 0.08);
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.catCard:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px var(--orange-light);
}

.catCard:focus-visible {
    outline: 3px solid var(--orange-light);
}

.catNanny__card {
    padding: 24px;
    border: 2px solid #000;
    border-radius: 28px;

}

.catNanny__card h3 {
    margin: 0 0 18px;
    font-size: 24px;
}

.catNanny__price {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
}

.catNanny__details {
    margin-top: 24px;
}

.catNanny__details h4 {
    margin: 0 0 14px;
    font-size: 18px;
}

.catNanny__details p {
    margin: 0 0 12px;
    line-height: 1.4;
}

.catNanny__details p:last-child {
    margin-bottom: 0;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.filter {
    border: 0;
    border-radius: 999px;
    padding: 11px 16px;
    background: rgba(215, 84, 58, 0.12);
    color: var(--muted);
    cursor: pointer;
    font-weight: 700;
}

.filter.active {
    background: var(--orange);
    color: white;
}

.catImg {
    display: block;

    width: 100%;
    height: 360px;

    object-fit: cover;
    object-position: center;
}

.catCard p {
    margin-left: 22px;
    margin-right: 22px;

    margin-top: 5px;
}

.catCard h3 {
    margin-left: 22px;
    margin-right: 22px;
    margin-bottom: 10px;
    font-size: 30px;
}

.catBirthday {
    display: inline-block;

    margin-left: 8px;
    padding: 6px 10px;

    border-radius: 999px;

    background: rgba(225, 113, 86, .12);
    color: var(--orange);

    font-size: 14px;
}

.catCard.hidden {
    display: none;
}

.catNanny {
    display: block;
    margin: 0;
    color: var(--ink);
}

.catNanny__content p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.4;
}

.catNanny__grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 18px;
    align-items: center;
}


.catName {
    color: inherit;
    font: inherit;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal.open {
    display: flex;
}

.modalOverlay {
    position: absolute;
    inset: 0;
    background: rgba(32, 33, 36, .48);
    backdrop-filter: blur(6px);
}

.modalWindow {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    overflow: hidden;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 0;
    border-radius: 34px;
    background: var(--cream);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}

.modalImg {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 460px;

    object-fit: cover;
    object-position: center;
}

.modalContent {
    padding: 38px;
}

.modalLabel {
    display: inline-block;
    margin: 0 0 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(225, 113, 86, .12);
    color: var(--orange);
    font-weight: 800;
}

.modalContent h2 {
    margin-bottom: 18px;
}

.modalContent p {
    color: var(--muted);
    font-size: 20px;
    line-height: 1.4;
}

.modalClose,
.teamModal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: white;
    color: var(--orange);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

.aboutProject {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.aboutProject__label {
    align-self: flex-start;
    display: inline-block;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(215, 84, 58, 0.12);
    color: var(--orange);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.aboutProject__date {
    width: min(600px, 100%);
    animation: dateSwing 4s ease-in-out infinite;
    transform-origin: center top;
}

.aboutProject__sign {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.dateCircle__text {
    fill: white;
    font-family: "Commissioner", sans-serif;
    font-size: 42px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.dateCircle__number {
    fill: white;
    font-family: "Commissioner", sans-serif;
    font-size: 105px;
    font-weight: 700;
}

.aboutProject__content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.aboutProject__content > p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.4;
}

.aboutProject__content .aboutProject__lead {
    max-width: 900px;
    margin: 0 auto;
    color: var(--ink);
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
}

.aboutProject__fact {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    margin: 20px 0;
    padding: 28px;
    border-left: 4px solid var(--orange);
    border-radius: 0 28px 28px 0;
    background: rgba(215, 84, 58, 0.08);
}

.aboutProject__fact span {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: white;
    color: var(--orange);
    font-size: 30px;
}

.aboutProject__fact p {
    margin: 0;
    color: var(--ink);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.45;
}

.aboutProject__content .aboutProject__final {
    color: var(--ink);
    font-weight: 600;
}

.aboutProject__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 22px;
    margin-top: 36px;
}

.visit__grid {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 70%) minmax(0, 30%);
    gap: 32px;
    align-items: center;

}


.visitRules {
    line-height: 1.4;
    padding: 6px 24px 6px 24px;
    background: rgba(215, 84, 58, 0.12);
    border-radius: 28px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .09);
}

.priceCard {
    padding: 24px 24px 12px 24px;
    background: rgb(235, 239, 239, 0.8);
    border-radius: 28px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .07);
}

.visitRules p {
    margin: 18px 0 18px;
    font-size: 20px;
    line-height: 1.45;
    color: var(--muted);
}

.visitPrices {
    display: grid;
    grid-template-columns: repeat(1, 2fr);
    gap: 20px;
}

.priceCard h3 {
    margin: 0 0 18px;
    color: black;
}


.priceCard p {
    margin: 0 0 12px;
    line-height: 1.5;
}


.priceCard strong {
    color: black;
}

.team {
    overflow: hidden;
}

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

.teamCard {
    overflow: hidden;
    background: rgb(235 239 239 / 0.8);
    border-radius: 28px;
    box-shadow: 0 8px 24px rgb(0 0 0 / 0.08);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.teamCard:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgb(0 0 0 / 0.12);
}

.teamCard img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
}

.teamCard__content {
    padding: 22px;
}

.teamCard__content h3 {
    margin: 0 0 8px;
    font-size: 26px;
}

.teamCard__content p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.4;
}

.teamGalleryBlock {
    margin-top: 64px;
}

.teamGalleryBlock__title {
    margin: 0 0 22px;
    font-size: 32px;
}

.teamGallery {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 38%);
    gap: 18px;

    overflow-x: auto;
    padding: 4px 4px 18px;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
}

.teamGallery img {
    display: block;
    width: 100%;
    object-fit: cover;

    border-radius: 26px;
    scroll-snap-align: start;
}

.teamGallery__image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
    border-radius: 26px;
    cursor: zoom-in;
}

.teamModal {
    position: fixed;
    inset: 0;
    z-index: 100;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 24px;
}

.teamModal.open {
    display: flex;
}

.teamModal__overlay {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 0.75);
    backdrop-filter: blur(5px);
}

.teamModal__window {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    width: min(1000px, 100%);
    max-height: calc(100vh - 48px);
}

.teamModal__image {
    display: block;

    max-width: 100%;
    max-height: calc(100vh - 48px);

    object-fit: contain;
    border-radius: 24px;
}

.teamJoin {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    margin-top: 58px;
    padding: 36px 44px 36px 44px;

    color: white;
    background: var(--orange);
    border-radius: 34px;
}

.teamJoin__content {
    max-width: 700px;
}

.teamJoin__content h3 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 42px);
}

.teamJoin__content p {
    margin: 0;
    color: rgb(255 255 255 / 0.88);
    font-size: 19px;
    line-height: 1.5;
}

.teamJoin__button {
    flex-shrink: 0;
    background: white;
    border-color: white;
    color: var(--orange);
}

.teamModal__nav {
    position: absolute;
    top: 50%;
    z-index: 3;

    width: 50px;
    height: 50px;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgb(255 255 255 / 0.94);
    color: var(--orange);

    font-size: 36px;
    line-height: 1;

    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 10px 24px rgb(0 0 0 / 0.18);
}

.teamModal__nav--prev {
    left: 14px;
}

.teamModal__nav--next {
    right: 14px;
}

.teamModal__nav:focus-visible {
    outline: 3px solid white;
    outline-offset: 3px;
}


.catNannyGallery {
    margin-top: 32px;
}

.catNannyGallery__title {
    margin: 0 0 20px;
    font-size: 28px;
    line-height: 1.2;
}

.catNannyGallery__carousel {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 12px;
}

.catNannyGallery__viewport {
    overflow: hidden;
}

.catNannyGallery__track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.catNannyGallery__track::-webkit-scrollbar {
    display: none;
}

.catNannyGallery__item {
    flex: 0 0 calc((100% - 24px) / 3);

    display: flex;
    align-items: flex-start;
    justify-content: center;

    min-width: 0;
    padding: 0;
    border: 0;

    background: transparent;
    cursor: zoom-in;
    scroll-snap-align: start;

    overflow: visible;
}

.catNannyGallery__item img {
    display: block;

    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 360px;

    object-fit: contain;
    object-position: center;

    border-radius: 26px;
}

.catNannyGallery__arrow {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;

    background: #ffffff;
    color: black;

    appearance: none;
    -webkit-appearance: none;
    -webkit-text-fill-color: black;

    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.catNannyGallery__item:focus-visible,
.catNannyGallery__item:focus-visible img {
    outline: none;
    box-shadow: none;
}

.catNannyGallery__arrow:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

.nannyModal {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;

    padding: 24px;
    border: 0;
    background: transparent;
    overflow: hidden;
}

.nannyModal::backdrop {
    background: rgb(0 0 0 / 0.75);
    backdrop-filter: blur(5px);
}

.nannyModal__window {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: min(1000px, 100%);
    height: 100%;
    margin: auto;
}

.nannyModal__imageWrap {
    max-width: 900px;
    max-height: calc(100vh - 48px);

    overflow: hidden;
    border-radius: 26px;
}

.nannyModal__image {
    display: block;

    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 48px);

    object-fit: contain;
}

.nannyModal__close,
.nannyModal__nav {
    position: absolute;
    z-index: 3;

    width: 50px;
    height: 50px;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgb(255 255 255 / 0.94);
    color: black;

    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 24px rgb(0 0 0 / 0.18);
}

.nannyModal__close {
    top: 16px;
    right: 16px;
    font-size: 30px;
}

.nannyModal__nav {
    top: 50%;
    font-size: 36px;
    transform: translateY(-50%);
}

.nannyModal__nav--prev {
    left: 14px;
}

.nannyModal__nav--next {
    right: 14px;
}

.helpInfo {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    gap: 32px;
    align-items: start;
}

.helpInfo__content {
    min-width: 0;
}

.helpInfo__block {
    margin-bottom: 24px;
    padding: 26px;
    border-radius: 28px;
    background: rgb(235 239 239 / 0.8);
}

.helpInfo__block h3,
.helpInfo__prices h3,
.helpInfo__photoBlock h3 {
    margin: 0 0 16px;
    font-size: 26px;
    line-height: 1.2;
}

.helpInfo__block p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.5;
}

.helpInfo__block p:last-child {
    margin-bottom: 0;
}

.helpInfo__prices {
    margin-bottom: 24px;
    padding: 26px;
    border-radius: 28px;
    background: var(--orange);
    color: white;
}

.helpInfo__price {
    padding: 18px 0;
    border-bottom: 1px solid rgb(255 255 255 / 0.25);
}

.helpInfo__price:last-of-type {
    border-bottom: 0;
}

.helpInfo__price div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.helpInfo__price strong {
    font-size: 34px;
    line-height: 1;
}

.helpInfo__price span {
    font-size: 18px;
}

.helpInfo__note {
    margin: 18px 0 0;
    color: rgb(255 255 255 / 0.86);
    font-size: 16px;
    line-height: 1.5;
}


.helpInfo__list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding-left: 22px;
}

.helpInfo__list li {
    color: var(--muted);
    font-size: 19px;
    line-height: 1.45;
}

.helpInfo__list li::marker {
    color: var(--orange);
}

.helpInfo__important {
    margin-bottom: 24px;
    padding: 26px;
    border: 2px solid var(--orange);
    border-radius: 28px;
    background: rgba(215, 84, 58, 0.08);
}

.helpInfo__importantLabel {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--orange);
    color: white;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.helpInfo__important p {
    margin: 0 0 14px;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.45;
}

.helpInfo__important p:last-child {
    margin-bottom: 0;
}

.helpInfo__type {
    position: relative;
    margin-bottom: 24px;
    padding: 28px;

    border-radius: 28px;
    background: rgb(235 239 239 / 0.6);
}

.helpInfo__type--full {
    border-color: var(--orange);
}

.helpInfo__type--financial {
    border-color: var(--orange-light);
}

.helpInfo__typeLabel,
.helpInfo__pricesLabel {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 12px;

    border-radius: 999px;
    background: rgba(215, 84, 58, 0.12);
    color: var(--orange);

    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.helpInfo__type h3 {
    margin: 0 0 14px;
    font-size: 30px;
}

.helpInfo__type h4 {
    margin: 22px 0 12px;
    font-size: 20px;
}

.helpInfo__type p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.5;
}

.helpInfo__typeLead {
    color: var(--ink) !important;
    font-size: 21px !important;
    font-weight: 600;
}

.helpInfo__contactText {
    margin-top: 22px !important;
    padding-top: 18px;
    border-top: 1px solid rgb(32 33 36 / 0.12);
}

.helpInfo__pricesLabel {
    color: white;
    background: rgb(255 255 255 / 0.18);
}

.helpInfo__price div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.helpInfo__price span {
    font-size: 18px;
}

.helpInfo__price strong {
    flex-shrink: 0;
}

.helpInfo__photoBlock {
    position: sticky;
    top: 100px;
    padding: 22px;
    border-radius: 28px;
    background: var(--cream);
}

.helpInfo__photoButton {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 22px;
    background: transparent;
    overflow: hidden;
    cursor: zoom-in;

    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.helpInfo__photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
}

.helpInfo__photoButton:focus {
    outline: none;
}

.helpInfo__photoButton:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 4px;
}

.helpInfo__photoHint {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
}

.helpPhotoModal {
    width: min(1000px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
}

.helpPhotoModal::backdrop {
    background: rgb(0 0 0 / 0.88);
}

.helpPhotoModal__image {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 32px);
    margin: auto;
    object-fit: contain;
    border-radius: 20px;
}

.helpPhotoModal__close {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2;

    display: grid;
    place-items: center;

    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 50%;

    background: white;
    color: var(--orange);

    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.helpPhotoModal__close:focus-visible {
    outline: 3px solid white;
    outline-offset: 4px;
}

.helpPhotoModal,
.helpPhotoModal__image {
    outline: none;
    border: 0;
    -webkit-tap-highlight-color: transparent;
}

.contacts__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.contacts__branch {
    padding: 24px;
    border-radius: 28px;
    background: rgb(235 239 239 / 0.8);
    box-shadow: 0 5px 10px rgb(0 0 0 / 0.07);
}

.contacts__branch h3 {
    margin: 0 0 14px;
    font-size: 26px;
    line-height: 1.2;
}

.contacts__address,
.contacts__phone {
    display: block;
    width: fit-content;
    color: #202124;
    text-decoration: none;
}

.contacts__address {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.4;
}

.contacts__phone {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.contacts__address:hover,
.contacts__phone:hover {
    color: var(--orange);
}

.contacts__hours {
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid rgb(32 33 36 / 0.12);
    color: var(--muted);
    font-size: 16px;
    line-height: 1.4;
}

.footer {
    margin-top: 24px;
    padding: 18px 6vw 12px;
    color: #202124;
    background: var(--orange);
}

.footer__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer__logo img {
    display: block;
    width: 90px;
    height: auto;
}

.footer__vk {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 7px 11px;
    border-radius: 999px;
    background-color: white;

    color: black;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.footer__vk img {
    display: block;
    width: 23px;
    height: 23px;
}

.footer__bottom {
    margin-top: 12px;
    padding-top: 9px;
    border-top: 1px solid rgb(32 33 36 / 0.15);
    color: rgb(32 33 36 / 0.62);
    font-size: 12px;
}

.helpInfo__type a,
.helpInfo__list a {
    color: var(--orange);
}

.privacyPage {
    min-height: 100vh;
    background: #fff;
}

.privacyHeader {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 6vw;
    background: rgb(255 255 255 / 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgb(32 33 36 / 0.08);
}

.privacyHeader__logo img {
    display: block;
    width: 82px;
    height: auto;
}

.privacyHeader__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 2px solid var(--orange);
    border-radius: 999px;
    color: var(--orange);
    font-weight: 700;
    text-decoration: none;
}

.privacyHeader__back:hover {
    color: white;
    background: var(--orange);
}

.privacyMain {
    width: min(980px, calc(100% - 12vw));
    margin: 36px auto 70px;
}

.privacyHero {
    margin-bottom: 28px;
    padding: clamp(28px, 5vw, 54px);
    color: white;
    background: var(--orange);
    border-radius: 36px;
}

.privacyHero__label {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.18);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.privacyHero h1 {
    max-width: 820px;
    margin: 0 0 18px;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1;
}

.privacyHero p {
    max-width: 760px;
    margin: 0;
    color: rgb(255 255 255 / 0.88);
    font-size: 18px;
    line-height: 1.5;
}

.privacyContent {
    display: grid;
    gap: 18px;
}

.privacySection {
    padding: clamp(22px, 4vw, 34px);
    border-radius: 28px;
    background: rgb(235 239 239 / 0.62);
}

.privacySection h2 {
    margin: 0 0 18px;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.15;
}

.privacySection h3 {
    margin: 24px 0 12px;
    font-size: 21px;
    line-height: 1.3;
}

.privacySection p,
.privacySection li {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.62;
}

.privacySection p {
    margin: 0 0 13px;
}

.privacySection p:last-child {
    margin-bottom: 0;
}

.privacySection ul {
    display: grid;
    gap: 8px;
    margin: 12px 0;
    padding-left: 22px;
}

.privacySection li::marker {
    color: var(--orange);
}

.privacyDetails {
    display: grid;
    grid-template-columns: minmax(170px, 0.45fr) minmax(0, 1fr);
    gap: 10px 18px;
    margin: 18px 0 18px;
}

.privacyDetails dt {
    font-weight: 700;
}

.privacyDetails dd {
    margin: 0;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.privacyLink {
    color: var(--orange);
    font-weight: 600;
    text-underline-offset: 4px;
}

.privacyPlaceholder {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 8px;
    background: rgb(215 84 58 / 0.12);
    color: var(--orange);
    font-weight: 700;
}

.privacyFooter {
    margin-top: 0;
}

.footer__bottom,
.privacyFooter__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 12px;
    padding-top: 9px;
    border-top: 1px solid rgb(32 33 36 / 0.15);
    font-size: 12px;
}

.footer__bottom a,
.privacyFooter__legal a {
    color: rgb(32 33 36 / 0.72);
    text-decoration: none;
}

.footer__bottom a:hover,
.privacyFooter__legal a:hover {
    color: #202124;
    text-decoration: underline;
}

@keyframes dateSwing {

    0%,
    100% {
        transform: rotate(-3deg);
    }

    50% {
        transform: rotate(3deg);
    }
}

@media (max-width:1080px) {
    .header {
        justify-content: flex-start;
        gap: 5px;
    }

    .menuBtn {
        display: block;
        margin-left: auto;
    }

    .nav {
        display: none;
        position: absolute;
        top: 76px;
        right: 20px;

        width: max-content;

        flex-direction: column;
        gap: 4px;

        border-radius: 18px;
        background: white;
        box-shadow: 0 14px 35px rgba(0, 0, 0, 0.16);
        z-index: 10;
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        display: block;
        padding: 12px 14px;

        width: 100%;
        text-align: left;

        border-radius: 12px;
        color: var(--ink);
        text-decoration: none;
        white-space: nowrap;
    }

    .nav a:hover {
        background: rgba(215, 84, 58, 0.1);
        color: var(--orange);
    }
}


@media (max-width:900px) {

    .hero {
        grid-template-columns: 1fr;
    }

    .catsGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catNanny__grid,
    .visitPrices,
    .visit__grid {
        grid-template-columns: 1fr;
    }

    .teamLeaders {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .teamGallery {
        grid-auto-columns: minmax(260px, 65%);
    }

    .teamJoin {
        align-items: flex-start;
        flex-direction: column;
        padding: 30px;
    }

    .teamJoin__button {
        align-self: flex-start;
    }

    .catNannyGallery__item {
        flex: 0 0 calc((100% - 12px) / 2);
        overflow: visible;
    }

    .catNannyGallery__item img {
        width: auto;
        max-width: 100%;

        height: auto;
        max-height: 340px;

        object-fit: contain;
        border-radius: 22px;
    }

    .helpInfo {
        grid-template-columns: 1fr;
    }

    .helpInfo__photoBlock {
        position: static;
        width: min(600px, 100%);
        margin: 0 auto;
    }


}

@media (max-width: 760px) {
    .modal {
        padding: 16px;
    }

    .modalWindow {
        width: min(440px, 100%);
        max-height: calc(100vh - 32px);
        grid-template-columns: 1fr;
        overflow-y: auto;
    }

    .modalImg {
        height: 360px;
        min-height: 0;
    }

    .modalContent {
        padding: 24px;
    }

    .sectionHead {
        display: block;
    }

    .sectionHead h2 {
        margin-bottom: 14px;
    }

    .sectionHead p {
        max-width: none;
    }

    .teamLeaders {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .teamCard {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

    .teamCard__content {
        padding: 20px;
    }

    .teamCard__content h3 {
        font-size: 24px;
        line-height: 1.2;
    }

    .teamCard__content p {
        font-size: 17px;
        line-height: 1.45;
    }

    .teamJoin {
        align-items: stretch;
        gap: 24px;

        padding: 26px;
    }

    .teamJoin__content {
        max-width: none;
    }

    .teamJoin__content h3 {
        font-size: 30px;
        line-height: 1.15;
    }

    .teamJoin__content p {
        font-size: 17px;
    }

    .teamJoin__button {
        width: 100%;
        white-space: normal;
        text-align: center;
    }

    .privacyMain {
        width: min(100% - 32px, 980px);
        margin-top: 20px;
    }

    .privacyHeader {
        padding-inline: 16px;
    }

    .privacyHeader__logo img {
        width: 68px;
    }

    .privacyHeader__back {
        min-height: 40px;
        padding-inline: 14px;
        font-size: 14px;
    }

    .privacyHero {
        border-radius: 28px;
    }

    .privacyDetails {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .privacyDetails dd {
        margin-bottom: 10px;
    }

}

@media (max-width: 560px) {
    .aboutProject {
        gap: 34px;
    }

    .aboutProject__content > p {
        font-size: 17px;
    }

    .aboutProject__content .aboutProject__lead {
        font-size: 23px;
        text-align: left;
    }

    .aboutProject__fact {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .aboutProject__fact p {
        font-size: 18px;
    }

    .aboutProject__actions {
        align-items: stretch;
    }

    .catNanny__card {
        padding: 20px;
        border-radius: 22px;
    }

    .catNanny__card h3 {
        font-size: 26px;
    }

    .catNanny__price {
        flex-direction: column;
        gap: 4px;
    }

    .catNanny__price strong {
        text-align: left;
    }

    .catsGrid {
        grid-template-columns: 1fr;
    }

    .teamLeaders {
        gap: 18px;
    }

    .teamCard {
        border-radius: 22px;
    }

    .teamCard img {
        height: 400px;
    }

    .teamCard__content {
        padding: 18px;
    }

    .teamCard__content h3 {
        font-size: 23px;
    }

    .teamCard__content p {
        font-size: 16px;
    }

    .teamGalleryBlock {
        margin-top: 44px;
    }

    .teamGalleryBlock__title {
        margin-bottom: 16px;
        font-size: 27px;
    }

    .teamGallery {
        grid-auto-columns: 88%;
        gap: 12px;
        padding-bottom: 14px;
    }

    .teamGallery img {
        border-radius: 20px;
    }

    .teamJoin {
        padding: 22px;
        border-radius: 24px;
    }

    .teamJoin__content h3 {
        font-size: 27px;
    }

    .teamModal {
        padding: 12px;
    }

    .teamModal__window,
    .teamModal__image {
        max-height: calc(100vh - 24px);
    }

    .teamModal__image {
        border-radius: 16px;
    }

    .catNannyGallery__title {
        margin-bottom: 16px;
        font-size: 24px;
    }

    .catNannyGallery__carousel {
        grid-template-columns: 36px minmax(0, 1fr) 36px;
        gap: 8px;
    }

    .catNannyGallery__arrow {
        width: 36px;
        height: 36px;
        font-size: 26px;
    }

    .helpInfo {
        gap: 24px;
    }

    .helpInfo__block,
    .helpInfo__prices,
    .helpInfo__important,
    .helpInfo__photoBlock {
        padding: 20px;
        border-radius: 22px;
    }

    .helpInfo__block h3,
    .helpInfo__prices h3,
    .helpInfo__photoBlock h3 {
        font-size: 23px;
    }

    .helpInfo__block p,
    .helpInfo__list li,
    .helpInfo__important p {
        font-size: 17px;
    }

    .helpInfo__price strong {
        font-size: 30px;
    }

    .helpPhotoModal {
        width: calc(100% - 16px);
        max-height: calc(100vh - 16px);
    }

    .helpPhotoModal__image {
        max-height: calc(100vh - 16px);
        border-radius: 14px;
    }

    .contacts__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contacts__branch {
        padding: 20px;
        border-radius: 22px;
    }

    .contacts__branch h3 {
        font-size: 23px;
    }

    .contacts__phone {
        font-size: 18px;
    }

    .footer {
        padding: 16px 6vw 10px;
    }

    .footer__logo img {
        width: 75px;
    }

    .footer__vk {
        padding: 6px 10px;
    }

    .footer__bottom {
        margin-top: 10px;
    }

    .teamGallery__image {
        aspect-ratio: 1 / 1;
        border-radius: 20px;
    }

    .nannyModal {
        padding: 12px;
    }

    .nannyModal__imageWrap,
    .nannyModal__image {
        max-height: calc(100vh - 24px);
    }

    .teamModal__close,
    .teamModal__nav,
    .nannyModal__close,
    .nannyModal__nav,
    .helpPhotoModal__close {
        display: none;
    }

    .teamModal__window,
    .nannyModal__window,
    .helpPhotoModal {
        touch-action: none;
        user-select: none;
    }

    .teamModal__image,
    .nannyModal__imageWrap,
    .helpPhotoModal__image {
        transition:
            transform 0.2s ease,
            opacity 0.2s ease;
    }

    .catNannyGallery__item {
        flex: 0 0 100%;
        overflow: visible;
        scroll-snap-stop: always;
    }

    .catNannyGallery__item img {
        width: auto;
        max-width: 100%;

        height: auto;
        max-height: 430px;

        object-fit: contain;
        border-radius: 20px;
    }

    .helpInfo__type {
        padding: 20px;
        border-radius: 22px;
    }

    .helpInfo__type h3 {
        font-size: 25px;
    }

    .helpInfo__typeLead {
        font-size: 19px !important;
    }

    .helpInfo__price div {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .errorMain {
        padding: 20px 4vw 40px;
    }

    .errorCard {
        min-height: 500px;
        padding: 34px 22px;
        border-radius: 28px;
    }

    .errorCard__code {
        font-size: 96px;
    }

    .errorCard h1 {
        font-size: 40px;
    }

    .errorCard__text {
        font-size: 17px;
    }

    .errorCard__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .errorButton {
        width: 100%;
    }

    .catImg {
        height: 260px;
    }
}


.errorPage {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.errorMain {
    display: flex;
    flex: 1;
    align-items: center;
    padding: 40px 6vw 60px;
}

.errorCard {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 560px;
    overflow: hidden;

    padding: 50px;

    color: white;
    background: var(--orange);
    border-radius: 42px;
}

.errorCard__content {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 900px;

    text-align: center;
}

.errorCard__code {
    margin: 0 0 12px;

    color: rgb(255 255 255 / 0.7);

    font-size: clamp(90px, 15vw, 190px);
    font-weight: 700;
    line-height: 0.8;
}

.errorCard h1 {
    max-width: 720px;
    margin: 0 auto 22px;

    font-size: clamp(42px, 6vw, 76px);
    line-height: 1;
}

.errorCard__text {
    max-width: 650px;
    margin: 0 auto;

    color: rgb(255 255 255 / 0.9);

    font-size: 20px;
    line-height: 1.5;
}

.errorCard__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;

    margin-top: 32px;
}

.errorButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0 24px;

    border: 2px solid white;
    border-radius: 999px;

    font-weight: 700;
    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.errorButton:hover {
    transform: translateY(-2px);
}

.errorButton--main {
    color: var(--orange);
    background: white;
}

.errorButton--secondary {
    color: white;
    background: transparent;
}

.errorButton--secondary:hover {
    color: var(--orange);
    background: white;
}

.errorFooter {
    margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
    .aboutProject__date {
        animation: none;
        transform: none;
    }
}
