/* Base Styles */
:root {
    --background: #fdf8f1;
    --primary: #3b185f;
    --secondary: #ff6f61;
    --text-dark: #1e1e1e;
    --text-light: #ffffff;
    --gradient-start: #fef4e8;
    --gradient-end: #e3e2f0;
    --shadow: rgba(229, 229, 229, 0.5);
    --max-width: 1200px;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    padding: 0 24px;
    margin: 0 auto;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
}

.rounded-img {
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow);
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--primary);
    margin-bottom: 24px;
}

h1 {
    font-size: 2.8rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 48px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

p {
    margin-bottom: 16px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--secondary);
    color: var(--text-light);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-3px);
}

.btn-primary-small {
    background-color: var(--primary);
    color: var(--text-light) !important;
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 30px;
}

.icon {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
}

/* Иконки для блока преимуществ переопределены в .benefit-icon .icon */

/* Header Styles */
.site-header {
    background-color: var(--background);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
    padding: 10px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.menu {
    display: flex;
    list-style-type: none;
    align-items: center;
}

.menu li {
    margin-left: 24px;
    display: flex;
    align-items: center;
}

.menu a {
    color: var(--text-dark);
    font-weight: 500;
}

.menu a:hover {
    color: var(--secondary);
}

.menu-icon {
    display: none;
    cursor: pointer;
}

.menu-toggle {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary);
    transition: var(--transition);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 9999;
    display: none;
}

.cookie-consent.active {
    display: block;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(59, 24, 95, 0.8), rgba(59, 24, 95, 0.8)), url('../img/GdTZTz.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    text-align: center;
    padding: 140px 0;
    overflow: hidden;
}

.hero h1 {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 3rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn-primary {
    background-color: var(--secondary);
    color: var(--text-light);
    box-shadow: 0 5px 15px rgba(255, 111, 97, 0.4);
    font-size: 1.1rem;
    padding: 16px 32px;
    border-radius: 40px;
    font-weight: 700;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text {
    padding-right: 20px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow);
}

/* Benefits Section */
.benefits {
    background: linear-gradient(to bottom right, var(--gradient-start), var(--gradient-end));
    padding: 100px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.benefit-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px var(--shadow);
}

.benefit-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.benefit-icon .icon {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 6px 15px var(--shadow);
    transition: var(--transition);
}

.benefit-icon .icon:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px var(--shadow);
}

/* Horoscope Types */
.horoscope-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.horoscope-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
}

.horoscope-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow);
}

.horoscope-card p {
    margin-bottom: 30px;
}

/* How It Works */
.how-it-works {
    background-color: var(--background);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-weight: 700;
    font-size: 1.5rem;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(to bottom right, var(--gradient-start), var(--gradient-end));
    padding: 100px 0;
}

.testimonial-container input[type="radio"] {
    display: none;
}

.testimonial-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
    width: calc(33.333% - 20px);
    min-width: 280px;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
    margin-top: 20px;
}

/* Удалены селекторы навигации для карточек отзывов */

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: 0 3px 10px var(--shadow);
    overflow: hidden;
}

.faq-item summary {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item p {
    padding: 0 20px 20px;
}

/* Order Form */
.order {
    padding: 100px 0;
}

.order-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 24, 95, 0.2);
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.form-group.checkbox label {
    font-weight: 400;
    font-size: 0.9rem;
}

.form-group button {
    width: 100%;
}

/* Footer Styles */
.site-footer {
    background-color: #f3f3f3;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.footer-logo p {
    font-size: 0.9rem;
    margin-top: 15px;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    list-style-type: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 0.9rem;
}

/* Extra Pages Styles */
.page {
    padding: 100px 0;
}

.page-content {
    max-width: 760px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow);
}

.page-title {
    margin-bottom: 30px;
    text-align: center;
}

/* Policy Pages */
.policy-container {
    max-width: 760px;
    margin: 40px auto;
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow);
}

.policy-container h1 {
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

.policy-container h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin: 30px 0 15px;
    text-align: left;
}

.policy-container p,
.policy-container ul {
    margin-bottom: 20px;
}

.policy-container ul {
    padding-left: 20px;
}

.policy-container ul li {
    margin-bottom: 10px;
}

/* Contact Info */
.contact-info {
    margin-top: 50px;
    padding: 20px;
    background-color: rgba(59, 24, 95, 0.05);
    border-radius: var(--border-radius);
}

.contact-info h2 {
    margin-bottom: 20px;
    text-align: left;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 10px;
}

/* Thank You Page */
.thank-you {
    text-align: center;
    padding: 100px 0;
}

.thank-you-content {
    max-width: 760px;
    margin: 0 auto;
    background-color: white;
    padding: 60px 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow);
}

.thank-you h1 {
    color: var(--primary);
    margin-bottom: 20px;
}

.thank-you p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        padding-right: 0;
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: white;
        box-shadow: 0 10px 20px var(--shadow);
        transition: var(--transition);
        padding: 20px 0;
        z-index: 999;
    }
    
    .menu li {
        margin: 0;
        text-align: center;
        padding: 15px 0;
        justify-content: center;
    }
    
    .menu-icon {
        display: block;
    }
    
    .menu-toggle:checked ~ .menu {
        left: 0;
    }
    
    .menu-toggle:checked + .menu-icon .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .menu-toggle:checked + .menu-icon .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked + .menu-icon .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .order-form {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 12px 20px;
    }
}

/* Fix for the policy pages on mobile */
@media (max-width: 576px) {
    .policy-container {
        padding: 30px 20px;
    }
}