@font-face {
    font-family: "Coolvetica";
    src: url("../fonts/Coolvetica.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Coolvetica Light";
    src: url("../fonts/Coolveticalight.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Czizh";
    src: url("../fonts/Czizh.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

.services-page {
    background: linear-gradient(to bottom, #F5CDD3 0%, #F5CDD3 55%, #e79aab 85%, #e79aab 100%);
    padding: 100px 0 60px;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.services-page .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 30px;
}

.services-header {
    text-align: center;
    margin-bottom: 5px;
    padding-top: 0;
}

.services-header .y {
    font-family: "Czizh";
    font-size: 65px;
    color: #aa4e65;
    font-weight: normal;
    margin-top: 0;
    letter-spacing: 0.5px;
}

.services-header .n {
    font-family: "Coolvetica";
    font-size: 65px;
    color: #aa4e65;
    font-weight: normal;
    margin-top: -5px;
    letter-spacing: 0.5px;
}

.services-header .v {
    font-family: "Coolvetica";
    font-size: 32px;
    color: #aa4e65;
    margin-top: 0;
    font-weight: normal;
    letter-spacing: 0.5px;
}

.animals-icons {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 80px;
    margin: 5px 0 40px;
    flex-wrap: wrap;
}

.animal-link {
    text-decoration: none;
    text-align: center;
    transition: transform 0.3s ease;
}

.animal-link:hover {
    transform: translateY(-8px);
}

.animal-icon {
    width: 100px;
    height: auto;
    display: block;
    margin-bottom: 12px;
}

.animal-link:nth-child(1) .animal-icon { width: 110px; }
.animal-link:nth-child(2) .animal-icon { width: 100px; }
.animal-link:nth-child(3) .animal-icon { width: 100px; }
.animal-link:nth-child(4) .animal-icon { width: 95px; }

.animal-label {
    font-family: "Coolvetica";
    font-size: 18px;
    color: #5B2B37;
    font-weight: normal;
    letter-spacing: 0.5px;
}

.service-section {
    margin-bottom: 80px;
    scroll-margin-top: 120px;
}

.section-title {
    font-family: "Czizh";
    font-size: 48px;
    color: #5B2B37;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 12px;
    border-bottom: 3px solid #aa4e65;
    display: inline-block;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    font-weight: normal;
    letter-spacing: 0.5px;
}

.price-category {
    margin-bottom: 50px;
}

.category-title {
    font-family: "Coolvetica";
    font-size: 28px;
    color: #5B2B37;
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 5px solid #aa4e65;
    font-weight: normal;
    letter-spacing: 0.5px;
}

.table-wrapper {
    width: 100%;
    background: #a44a5d;
    border-radius: 18px;
    padding: 6px;
    border: 5px solid #5B2B37;
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: #ffffff;
    border-radius: 14px;
    font-family: "Coolvetica";
}

.price-table th,
.price-table td {
    padding: 14px 20px;
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0.3px;
}

.price-table thead th {
    text-align: center;
    background: #a44a5d;
    border-bottom: 5px solid #5B2B37;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.price-table tbody td {
    background: #a44a5d;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.price-table th:not(:last-child),
.price-table td:not(:last-child) {
    border-right: 5px solid #5B2B37;
}

.price-table tbody tr:not(:last-child) td {
    border-bottom: 5px solid #5B2B37;
}

.price-table tbody td:first-child {
    text-align: left;
}

.price-table tbody td:last-child {
    text-align: center;
    white-space: nowrap;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    overflow-y: auto;
}

.modal {
    width: 650px;
    max-width: 95%;
    background: #b85c6b;
    border-radius: 40px;
    padding: 35px 40px 45px 40px;
    position: relative;
    color: white;
    z-index: 10000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.modal::-webkit-scrollbar {
    width: 5px;
}

.modal::-webkit-scrollbar-track {
    background: #9e4a5a;
    border-radius: 10px;
}

.modal::-webkit-scrollbar-thumb {
    background: #ffb4c8;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 28px;
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 10001;
    opacity: 0.7;
}

.close:hover {
    transform: scale(1.1);
    opacity: 1;
}

.title {
    font-family: "Coolvetica", sans-serif;
    font-size: 32px;
    text-align: center;
    margin-bottom: 25px;
    color: white;
    padding-right: 20px;
}

.accent {
    font-family: "Czizh", sans-serif;
    color: white;
}

.content {
    background: #f3caca;
    color: #5a3b3b;
    border-radius: 25px;
    padding: 30px 35px;
    font-family: "Coolvetica", sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

.content p {
    margin-bottom: 18px;
}

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

.italic {
    font-style: italic;
}

.bottom {
    margin-top: 25px;
    font-weight: 500;
    color: #aa4e65;
    text-align: center;
    font-size: 16px;
}

/* ===== МНОГО БЛЁСТОК ===== */
.shimmer-dot {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 40%, rgba(255,255,255,0.3) 70%, rgba(255,255,255,0) 100%);
    pointer-events: none;
    z-index: 10;
    animation: shimmerBig 3s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255,255,255,0.8), 0 0 20px rgba(255,255,255,0.4);
}

@keyframes shimmerBig {
    0%, 100% { opacity: 0; transform: scale(0.2) translateY(0); }
    25% { opacity: 1; transform: scale(1.3) translateY(-8px); box-shadow: 0 0 15px rgba(255,255,255,1), 0 0 25px rgba(255,255,255,0.6); }
    50% { opacity: 0.6; transform: scale(0.8) translateY(3px); }
    75% { opacity: 0.8; transform: scale(1.1) translateY(-3px); }
}

.sparkle-star {
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    animation: sparkleTwinkle 2.5s ease-in-out infinite;
    filter: drop-shadow(0 0 4px white);
}

@keyframes sparkleTwinkle {
    0%, 100% { opacity: 0; transform: scale(0.2) rotate(0deg); }
    30% { opacity: 1; transform: scale(1.2) rotate(180deg); filter: drop-shadow(0 0 8px white); }
    60% { opacity: 0.5; transform: scale(0.8) rotate(90deg); }
}

.big-star {
    position: absolute;
    width: 18px;
    height: 18px;
    background: white;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    animation: bigStarTwinkle 3.5s ease-in-out infinite;
    filter: drop-shadow(0 0 8px white);
}

@keyframes bigStarTwinkle {
    0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
    25% { opacity: 1; transform: scale(1.4) rotate(45deg); filter: drop-shadow(0 0 12px white); }
    50% { opacity: 0.7; transform: scale(0.9) rotate(90deg); }
    75% { opacity: 0.9; transform: scale(1.1) rotate(135deg); }
}

.services-page .dot-1 { top: 3%; left: 2%; width: 12px; height: 12px; animation-delay: 0s; }
.services-page .dot-2 { top: 8%; right: 5%; width: 8px; height: 8px; animation-delay: 0.4s; }
.services-page .dot-3 { top: 15%; left: 10%; width: 16px; height: 16px; animation-delay: 0.8s; }
.services-page .dot-4 { top: 22%; right: 15%; width: 6px; height: 6px; animation-delay: 1.2s; }
.services-page .dot-5 { top: 30%; left: 5%; width: 14px; height: 14px; animation-delay: 0.2s; }
.services-page .dot-6 { top: 38%; right: 8%; width: 10px; height: 10px; animation-delay: 0.6s; }
.services-page .dot-7 { top: 45%; left: 15%; width: 18px; height: 18px; animation-delay: 1s; }
.services-page .dot-8 { top: 52%; right: 3%; width: 7px; height: 7px; animation-delay: 1.4s; }
.services-page .dot-9 { top: 60%; left: 8%; width: 13px; height: 13px; animation-delay: 0.3s; }
.services-page .dot-10 { top: 68%; right: 12%; width: 9px; height: 9px; animation-delay: 0.7s; }
.services-page .dot-11 { top: 75%; left: 3%; width: 15px; height: 15px; animation-delay: 1.1s; }
.services-page .dot-12 { top: 82%; right: 6%; width: 8px; height: 8px; animation-delay: 1.5s; }
.services-page .dot-13 { top: 88%; left: 12%; width: 11px; height: 11px; animation-delay: 0.5s; }
.services-page .dot-14 { top: 95%; right: 10%; width: 6px; height: 6px; animation-delay: 0.9s; }
.services-page .dot-15 { top: 50%; left: 25%; width: 5px; height: 5px; animation-delay: 1.3s; }
.services-page .dot-16 { top: 20%; left: 30%; width: 9px; height: 9px; animation-delay: 0.1s; }
.services-page .dot-17 { top: 65%; left: 22%; width: 7px; height: 7px; animation-delay: 0.5s; }
.services-page .dot-18 { top: 35%; left: 20%; width: 11px; height: 11px; animation-delay: 0.9s; }
.services-page .dot-19 { top: 80%; left: 28%; width: 8px; height: 8px; animation-delay: 1.3s; }
.services-page .dot-20 { top: 10%; left: 40%; width: 6px; height: 6px; animation-delay: 1.7s; }
.services-page .dot-21 { top: 55%; right: 20%; width: 10px; height: 10px; animation-delay: 0.2s; }
.services-page .dot-22 { top: 42%; right: 25%; width: 7px; height: 7px; animation-delay: 0.6s; }
.services-page .dot-23 { top: 70%; right: 18%; width: 12px; height: 12px; animation-delay: 1s; }
.services-page .dot-24 { top: 28%; right: 28%; width: 5px; height: 5px; animation-delay: 1.4s; }
.services-page .dot-25 { top: 90%; left: 18%; width: 9px; height: 9px; animation-delay: 0.8s; }

.services-page .star-1 { top: 5%; left: 18%; width: 11px; height: 11px; animation-delay: 0.2s; }
.services-page .star-2 { top: 12%; right: 10%; width: 9px; height: 9px; animation-delay: 0.6s; }
.services-page .star-3 { top: 18%; left: 25%; width: 13px; height: 13px; animation-delay: 1s; }
.services-page .star-4 { top: 25%; right: 22%; width: 8px; height: 8px; animation-delay: 1.4s; }
.services-page .star-5 { top: 32%; left: 8%; width: 10px; height: 10px; animation-delay: 0.3s; }
.services-page .star-6 { top: 40%; right: 18%; width: 12px; height: 12px; animation-delay: 0.7s; }
.services-page .star-7 { top: 48%; left: 20%; width: 7px; height: 7px; animation-delay: 1.1s; }
.services-page .star-8 { top: 55%; right: 8%; width: 14px; height: 14px; animation-delay: 1.5s; }
.services-page .star-9 { top: 62%; left: 12%; width: 9px; height: 9px; animation-delay: 0.4s; }
.services-page .star-10 { top: 70%; right: 25%; width: 11px; height: 11px; animation-delay: 0.8s; }
.services-page .star-11 { top: 78%; left: 5%; width: 8px; height: 8px; animation-delay: 1.2s; }
.services-page .star-12 { top: 85%; right: 15%; width: 10px; height: 10px; animation-delay: 1.6s; }
.services-page .star-13 { top: 92%; left: 22%; width: 12px; height: 12px; animation-delay: 0.5s; }
.services-page .star-14 { top: 15%; left: 35%; width: 6px; height: 6px; animation-delay: 0.9s; }
.services-page .star-15 { top: 45%; left: 30%; width: 8px; height: 8px; animation-delay: 1.3s; }
.services-page .star-16 { top: 60%; left: 28%; width: 10px; height: 10px; animation-delay: 0.1s; }
.services-page .star-17 { top: 75%; left: 32%; width: 7px; height: 7px; animation-delay: 0.5s; }
.services-page .star-18 { top: 35%; left: 40%; width: 9px; height: 9px; animation-delay: 0.9s; }
.services-page .star-19 { top: 50%; right: 30%; width: 11px; height: 11px; animation-delay: 1.3s; }
.services-page .star-20 { top: 65%; right: 35%; width: 6px; height: 6px; animation-delay: 1.7s; }

.services-page .big-star-1 { top: 8%; left: 45%; width: 18px; height: 18px; animation-delay: 0.3s; }
.services-page .big-star-2 { top: 35%; right: 40%; width: 16px; height: 16px; animation-delay: 0.9s; }
.services-page .big-star-3 { top: 58%; left: 38%; width: 20px; height: 20px; animation-delay: 1.5s; }
.services-page .big-star-4 { top: 82%; right: 42%; width: 15px; height: 15px; animation-delay: 0.6s; }
.services-page .big-star-5 { top: 20%; left: 50%; width: 14px; height: 14px; animation-delay: 1.2s; }
.services-page .big-star-6 { top: 48%; left: 48%; width: 17px; height: 17px; animation-delay: 0.1s; }
.services-page .big-star-7 { top: 72%; left: 52%; width: 13px; height: 13px; animation-delay: 0.7s; }
.services-page .big-star-8 { top: 30%; right: 48%; width: 19px; height: 19px; animation-delay: 1.4s; }

@media (max-width: 1024px) {
    .services-page {
        padding: 80px 0 50px;
    }
    
    .services-page .container {
        padding: 0 20px;
    }
    
    .services-header .y,
    .services-header .n {
        font-size: 50px;
    }
    
    .services-header .v {
        font-size: 26px;
    }
    
    .animals-icons {
        gap: 50px;
        margin: 5px 0 30px;
    }
    
    .animal-icon {
        width: 85px;
    }
    
    .animal-link:nth-child(1) .animal-icon { width: 95px; }
    .animal-link:nth-child(2) .animal-icon { width: 85px; }
    .animal-link:nth-child(3) .animal-icon { width: 85px; }
    .animal-link:nth-child(4) .animal-icon { width: 80px; }
    
    .section-title {
        font-size: 42px;
    }
    
    .category-title {
        font-size: 26px;
    }
    
    .price-table th,
    .price-table td {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    .service-section {
        scroll-margin-top: 100px;
    }
    
    .modal {
        padding: 25px 30px 35px 30px;
    }
    
    .title {
        font-size: 28px;
    }
    
    .content {
        padding: 22px 25px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .services-page {
        padding: 60px 0 40px;
    }
    
    .animals-icons {
        gap: 25px;
        margin: 5px 0 25px;
    }
    
    .animal-icon {
        width: 65px;
    }
    
    .animal-link:nth-child(1) .animal-icon { width: 75px; }
    .animal-link:nth-child(2) .animal-icon { width: 65px; }
    .animal-link:nth-child(3) .animal-icon { width: 65px; }
    .animal-link:nth-child(4) .animal-icon { width: 60px; }
    
    .animal-label {
        font-size: 14px;
    }
    
    .services-header .y,
    .services-header .n {
        font-size: 36px;
    }
    
    .services-header .v {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .category-title {
        font-size: 22px;
        padding-left: 12px;
    }
    
    .price-table th,
    .price-table td {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .price-table td:first-child {
        white-space: normal;
    }
    
    .service-section {
        scroll-margin-top: 80px;
    }
    
    .shimmer-dot, .sparkle-star, .big-star {
        display: none !important;
    }
    
    .modal {
        padding: 20px 25px 30px 25px;
    }
    
    .title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .content {
        padding: 18px 20px;
        font-size: 14px;
    }
    
    .bottom {
        font-size: 14px;
        margin-top: 20px;
    }
    
    .close {
        width: 24px;
        top: 14px;
        right: 14px;
    }
}

@media (max-width: 480px) {
    .services-page {
        padding: 50px 0 30px;
    }
    
    .animals-icons {
        gap: 15px;
        margin: 5px 0 20px;
    }
    
    .animal-icon {
        width: 55px;
    }
    
    .animal-link:nth-child(1) .animal-icon { width: 65px; }
    .animal-link:nth-child(2) .animal-icon { width: 55px; }
    .animal-link:nth-child(3) .animal-icon { width: 55px; }
    .animal-link:nth-child(4) .animal-icon { width: 50px; }
    
    .animal-label {
        font-size: 11px;
    }
    
    .services-header .y,
    .services-header .n {
        font-size: 28px;
    }
    
    .services-header .v {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .category-title {
        font-size: 18px;
    }
    
    .price-table th,
    .price-table td {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .service-section {
        scroll-margin-top: 70px;
    }
    
    .modal {
        padding: 15px 20px 20px 20px;
    }
    
    .title {
        font-size: 20px;
    }
    
    .content {
        padding: 15px;
        font-size: 13px;
    }
    
    .italic {
        font-size: 12px;
    }
    
    .bottom {
        font-size: 13px;
    }
}

body.modal-open {
    overflow: hidden;
}