* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

header {
    background-color: #FF8080;
    border-radius: 0 0 25px 25px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    flex: 0 0 auto;
}

.logo img {
    max-width: 100%;
    height: auto;
}

.Social {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.Social:hover {
    transform: scale(1.1);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: opacity 0.3s;
    padding: 5px 10px;
}

nav a:hover {
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.section-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    flex-wrap: wrap;
}

.container {
    flex: 1 1 500px;
    text-align: center;
}

.first-line, .second-line {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 15px;
}

.text-bobina, .text-liza {
    font-weight: bold;
    font-size: clamp(40px, 8vw, 80px);
}

.dog-icon, .cat-icon {
    font-size: clamp(30px, 6vw, 60px);
}

.dog-icon img, .cat-icon img {
    max-width: 100%;
    height: auto;
}

.description {
    font-size: clamp(16px, 3vw, 18px);
    text-align: center;
    margin: 30px 0;
    line-height: 1.4;
    padding: 0 10px;
}

.highlight {
    color: #BC3D4A;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-book, .btn-details {
    padding: 12px 30px;
    font-size: clamp(16px, 2.5vw, 18px);
    border: none;
    border-radius: 21px;
    cursor: pointer;
    max-width: 250px;
    transition: all 0.3s ease;
}

.btn-book {
    background-color: #BC3D4A;
    color: white;
}

.btn-book:hover {
    background-color: #a33541;
}

.btn-details {
    background-color: white;
    color: black;
    border: 2px solid #BC3D4A;
}

.btn-details:hover {
    background-color: #f5f5f5;
}

.image-right {
    flex: 0 1 400px;
    text-align: center;
}

.image-right img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.about-section {
    padding: 60px 20px;
    background-color: #fff;
}

.about-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-title {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: bold;
    color: #000;
    text-align: center;
    margin-bottom: 60px;
}

.content-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.text-block {
    flex: 1 1 300px;
    font-size: clamp(16px, 2.5vw, 18px);
    color: #000;
    line-height: 1.6;
}

.text-block p {
    margin-bottom: 20px;
    text-align: left;
}

.center-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 1 300px;
}

.photo-container {
    margin-bottom: 20px;
    width: 100%;
}

.photo-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.appointment-btn {
    background-color: #BC3D4A;
    color: #fff;
    font-size: clamp(16px, 2.5vw, 18px);
    font-weight: normal;
    padding: 15px 30px;
    border: none;
    border-radius: 21px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 250px;
}

.appointment-btn:hover {
    background-color: #a33541;
}

.symbol {
    font-size: clamp(60px, 15vw, 200px);
    color: #FF8080;
    line-height: 1;
    text-align: center;
    margin: 20px 0;
}

.discount-section {
    text-align: center;
    padding: 50px 20px;
}

.discount-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.discount-title {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: bold;
    color: #000000;
    margin-bottom: 30px;
    line-height: 1.2;
}

.discount-subtitle {
    font-size: clamp(20px, 4vw, 40px);
    color: #000000;
    margin-bottom: 50px;
    line-height: 1.3;
    padding: 0 10px;
}

.discount-section .content-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.info-card {
    background-color: #FFCECE;
    border-radius: 20px;
    padding: clamp(20px, 4vw, 40px);
    flex: 1 1 500px;
    max-width: 600px;
    text-align: left;
}

.card-title {
    font-size: clamp(20px, 4vw, 36px);
    font-weight: normal;
    color: #BC3D4A;
    margin-bottom: 20px;
}

.conditions-list {
    font-size: clamp(16px, 3vw, 24px);
    font-weight: normal;
    color: #BC3D4A;
    margin-bottom: 30px;
    padding-left: 20px;
}

.conditions-list li {
    margin-bottom: 10px;
}

.card-text {
    font-size: clamp(16px, 3vw, 24px);
    font-weight: normal;
    color: #BC3D4A;
    line-height: 1.4;
}

.dog-image {
    flex: 0 1 400px;
}

.dog-image img {
    max-width: 100%;
    height: auto;
}

.register-btn {
    background-color: #BC3D4A;
    color: white;
    border: none;
    border-radius: 21px;
    padding: 15px 40px;
    font-size: clamp(18px, 3vw, 24px);
    font-weight: normal;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.register-btn:hover {
    background-color: #a33542;
}

.services {
    padding: 50px 20px;
    text-align: center;
}

.services-title {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: bold;
    color: #000;
    margin-bottom: 60px;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: #fff;
    padding: 20px;
    flex: 1 1 300px;
    max-width: 350px;
    text-align: left;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
}

.card-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.card-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.card-service {
    color: #BC3D4A;
    font-size: clamp(16px, 2.5vw, 18px);
    margin-bottom: 10px;
}

.card-description {
    color: #000;
    font-size: clamp(14px, 2.5vw, 18px);
    margin-bottom: 20px;
    line-height: 1.4;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.card-price {
    font-size: clamp(16px, 2.5vw, 18px);
    font-weight: 600;
    color: #000;
}

.card-button {
    background: #BC3D4A;
    color: #fff;
    border: none;
    border-radius: 21px;
    padding: 10px 20px;
    font-size: clamp(14px, 2.5vw, 18px);
    font-weight: normal;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex: 1 1 auto;
}

.card-button:hover {
    background: #a23542;
}

.faq-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.faq-title {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: bold;
    color: #000;
    text-align: center;
    margin-bottom: 50px;
}

.faq-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.faq-left {
    flex: 1 1 500px;
}

.faq-right {
    flex: 1 1 400px;
}

.faq-item {
    border: 2px solid #000;
    border-radius: 30px;
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    background-color: transparent;
    flex-wrap: wrap;
    gap: 10px;
}

.faq-question span {
    font-size: clamp(16px, 3vw, 30px);
    font-weight: normal;
    color: #000;
    flex: 1 1 200px;
}

.faq-toggle {
    background: none;
    border: none;
    font-size: clamp(18px, 3vw, 24px);
    color: #000;
    cursor: pointer;
    transition: transform 0.3s ease;
    flex: 0 0 auto;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 20px 30px;
}

.faq-answer p {
    font-size: clamp(14px, 2.5vw, 18px);
    color: #000;
    line-height: 1.5;
}

.contact-form {
    border: 2px solid #000;
    border-radius: 30px;
    padding: 30px;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-title {
    font-size: clamp(16px, 2.5vw, 18px);
    font-weight: normal;
    color: #000;
    margin-bottom: 20px;
    text-align: center;
}

.input-container {
    position: relative;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #000;
    border-radius: 30px;
    font-size: clamp(14px, 2.5vw, 18px);
    background-color: transparent;
    color: #000;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input::placeholder {
    color: #888;
    font-weight: normal;
}

.form-input:focus {
    border-color: #BC3D4A;
}

.form-input.valid {
    border-color: #4CAF50;
}

.form-input.invalid {
    border-color: #BC3D4A;
}

.error-message {
    display: block;
    color: #BC3D4A;
    font-size: clamp(12px, 2vw, 14px);
    margin-top: 5px;
    padding-left: 20px;
    text-align: left;
    min-height: 20px;
}

.submit-btn {
    background-color: #BC3D4A;
    color: #fff;
    border: none;
    border-radius: 21px;
    padding: 15px 30px;
    font-size: clamp(16px, 2.5vw, 18px);
    font-weight: normal;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: auto;
    align-self: flex-end;
    width: auto;
}

.submit-btn:hover {
    background-color: #a33542;
}

/* ===== СЕКЦИЯ АВТОРИЗАЦИИ ===== */
.auth-section {
    padding: 60px 20px;
    background: #ffffff;
    scroll-margin-top: 80px;
    border-top: 2px solid #eee;
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
    flex: 0 1 auto;
}

.auth-title {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: bold;
    color: #000;
    text-align: center;
    margin-bottom: 30px;
}

.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    border-radius: 30px;
    overflow: hidden;
    border: 2px solid #BC3D4A;
}

.auth-tab {
    flex: 1;
    padding: 15px;
    background: white;
    border: none;
    font-size: clamp(14px, 2vw, 18px);
    font-weight: bold;
    color: #BC3D4A;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-tab.active {
    background: #BC3D4A;
    color: white;
}

.auth-tab:hover:not(.active) {
    background: #fce4e4;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form .input-container {
    margin-bottom: 15px;
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.stay-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

.stay-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #BC3D4A;
    cursor: pointer;
}

.forgot-password {
    color: #BC3D4A;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s;
}

.forgot-password:hover {
    opacity: 0.7;
}

.auth-btn {
    background: #BC3D4A;
    color: white;
    border: none;
    border-radius: 21px;
    padding: 15px;
    font-size: clamp(16px, 2.5vw, 18px);
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.auth-btn:hover {
    background: #a33542;
}

/* ===== СТРАНИЦА РЕЗУЛЬТАТА (auth.php / regist.php) ===== */
.result-box {
    max-width: 600px;
    margin: 80px auto;
    padding: 40px;
    border: 2px solid #BC3D4A;
    border-radius: 30px;
    text-align: center;
    background: #fff;
}

.result-title {
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 25px;
    text-align: center;
}

.result-title.success {
    color: #4CAF50;
}

.result-title.error {
    color: #BC3D4A;
}

.result-line {
    font-size: clamp(16px, 2.5vw, 20px);
    margin-bottom: 15px;
    text-align: center;
    color: #000;
}

.result-line strong {
    color: #BC3D4A;
}

.result-note {
    font-size: clamp(14px, 2vw, 16px);
    color: #888;
    margin-bottom: 25px;
    text-align: center;
}

.result-note.success {
    color: #4CAF50;
}

.result-list {
    list-style: none;
    margin-bottom: 25px;
    padding: 0;
}

.result-list li {
    color: #BC3D4A;
    font-size: clamp(15px, 2.5vw, 18px);
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.result-list li:last-child {
    border-bottom: none;
}

.result-btn {
    display: block;
    text-align: center;
    background: #BC3D4A;
    color: white;
    padding: 15px 30px;
    border-radius: 21px;
    text-decoration: none;
    font-weight: bold;
    font-size: clamp(16px, 2.5vw, 18px);
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.result-btn:hover {
    background: #a33542;
}

/* ===== FOOTER ===== */
footer {
    background-color: #FF8080;
    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    border-radius: 25px 25px 0 0;
}

footer .logo {
    flex: 0 0 auto;
}

footer .text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.copyright {
    color: white;
    font-size: clamp(16px, 2.5vw, 20px);
    margin: 0 0 5px 0;
    text-align: center;
}

.privacy-policy {
    color: white;
    text-decoration: underline;
    font-size: clamp(14px, 2.5vw, 18px);
    margin: 0;
}

.privacy-policy:hover {
    opacity: 0.8;
}

/* ===== МОБИЛЬНОЕ МЕНЮ ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    order: 2;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        width: 100%;
        display: none;
        margin-top: 15px;
        order: 4;
    }
    
    .main-nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .Social {
        width: 30px;
        height: 30px;
    }
    
    .section-flex {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
    
    .first-line, .second-line {
        flex-direction: column;
        margin-bottom: 5px;
    }
    
    .buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-book, .btn-details {
        width: 100%;
        max-width: 300px;
    }
    
    .content-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .text-block p {
        text-align: center;
    }
    
    .faq-container {
        flex-direction: column;
    }
    
    .discount-section .content-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    footer {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    footer .social-icons {
        order: 3;
    }
    
    .auth-tabs {
        flex-direction: column;
        border-radius: 30px;
    }
    
    .auth-tab {
        padding: 12px;
    }
    
    .auth-options {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .result-box {
        margin: 40px 15px;
        padding: 25px 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .section-flex {
        padding: 30px 20px;
    }
    
    .content-wrapper {
        gap: 30px;
    }
    
    .info-card {
        padding: 30px;
    }
}

@media (min-width: 1025px) {
    .mobile-menu-toggle {
        display: none;
    }
}