/* ============================================
   СВОБОДА ОТ АЛЛЕРГИИ — Общие стили
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #009933;
    --teal: #7da89a;
    --yellow: #FFC107;
    --light: #f7f5f0;
    --white: #ffffff;
    --text: #2f3328;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.small-container {
    max-width: 800px;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light);
}

.bg-teal {
    background-color: var(--teal);
}

.text-white {
    color: var(--white) !important;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 50px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h3 {
    font-size: 1.8rem;
    color: var(--primary);
}

h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.highlight {
    color: var(--teal);
}

/* --- Header --- */
.header {
    background: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--teal);
    font-size: 2rem;
    margin-left: 5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 5px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--teal);
    background-color: rgba(125, 168, 154, 0.12);
}

.nav-cta {
    background: var(--yellow);
    color: #1d1d1b !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-cta:hover {
    background: #FFB300;
    transform: translateY(-2px);
}

/* --- Mobile Menu Toggle --- */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

/* --- Buttons --- */
.btn {
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.05rem;
    text-align: center;
}

.btn-primary {
    background: var(--yellow);
    color: #1d1d1b;
}

.btn-primary:hover {
    background: #FFB300;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

.btn-yellow {
    background: var(--yellow);
    color: #1d1d1b;
    width: auto;
    min-width: 250px;
}

.btn-yellow:hover {
    background: #FFB300;
    transform: translateY(-3px);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    min-width: 250px;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

.btn-disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* ============================================
   ГЛАВНАЯ СТРАНИЦА (index2.html)
   ============================================ */

/* --- Hero Section --- */
.hero {
    padding: 120px 0 80px;
    background: var(--light);
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.hero-text h1 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--primary);
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text);
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-result {
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 30px;
    font-weight: 400;
}

.hero-photo {
    background: var(--light);
    border-radius: 20px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 300px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.hero-photo img {
    max-width: 100%;
    max-height: 350px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- Responsive Hero --- */
@media (max-width: 992px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-photo {
        order: 2;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .hero-subtitle,
    .hero-result {
        text-align: center;
    }
}

/* --- Impact Section --- */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.impact-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: var(--transition);
}

.impact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.impact-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--teal);
}

/* --- Cards --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.card {
    background: var(--teal);
    padding: 35px;
    border-radius: 20px;
    color: var(--white);
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.card p {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 15px;
    margin-top: 15px;
}

/* --- Why Not Work List --- */
.why-not-work-list {
    list-style: none;
    max-width: 800px;
    margin: 40px auto 0;
    padding: 0;
}

.why-not-work-list li {
    background: var(--white);
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    transition: var(--transition);
}

.why-not-work-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.list-marker {
    font-size: 1.8rem;
    flex-shrink: 0;
    line-height: 1;
}

/* --- Steps Numbered List --- */
.steps-numbered {
    list-style: none;
    max-width: 700px;
    margin: 30px auto 0;
    padding: 0;
    counter-reset: step-counter;
}

.steps-numbered li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 20px;
    font-size: 1.15rem;
    line-height: 1.5;
    counter-increment: step-counter;
}

.steps-numbered li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--teal);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
}

/* --- Results Section --- */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.result-item {
    text-align: center;
    padding: 25px;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.result-icon {
    font-size: 2.2rem;
    color: var(--teal);
    margin-bottom: 15px;
}

/* --- Simple List (For Whom Section) --- */
.simple-list {
    list-style: none;
    max-width: 600px;
    margin: 30px auto 0;
    padding: 0;
}

.simple-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.5;
}

.simple-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    background: var(--teal);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* --- For Whom Section ---
.allergy-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
    list-style: none;
}

.allergy-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    position: relative;
    padding-left: 35px;
}

.allergy-item:before {
    content: "✓";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--teal);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* --- Reviews Section --- */
.reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.video-button {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    border-radius: 15px;
    padding: 20px 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 4px solid var(--teal);
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
}

.video-button:hover {
    background: var(--light);
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.video-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-button:hover .video-icon {
    background: var(--primary);
}

.video-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.video-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
}

/* --- About Section --- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
    margin-top: 40px;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text h3 {
    color: var(--primary);
    margin-top: 0;
}

.about-image {
    background: var(--light);
    border-radius: 20px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 300px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.about-image img {
    max-width: 100%;
    max-height: 350px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- Guide Section --- */
.guide-container {
    background: white;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    margin-top: 30px;
}

.guide-promo {
    background: white;
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    margin-top: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.guide-content {
    text-align: center;
}

.guide-lead {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.5;
}

.guide-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
}

.guide-benefits {
    background: var(--light);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: left;
}

.guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.5;
}

.guide-check {
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary);
    font-weight: bold;
}

.guide-cta-text {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-gift {
    background: var(--yellow);
    color: #1d1d1b;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4);
    margin-bottom: 20px;
}

.btn-gift:hover {
    background: #FFB300;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.5);
}

.gift-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.guide-note {
    font-size: 0.9rem;
    color: #888;
    margin-top: 10px;
}

.consent-form {
    margin-top: 30px;
}

.consent-item {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.consent-checkbox {
    margin-right: 10px;
    margin-top: 4px;
    width: 16px;
    height: 16px;
}

.consent-label {
    font-size: 0.95rem;
    line-height: 1.5;
}

.consent-link {
    color: var(--primary);
    text-decoration: underline;
    transition: var(--transition);
}

.consent-link:hover {
    color: var(--teal);
}

.download-link {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 15px 30px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: var(--transition);
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.download-link:hover {
    background: var(--teal);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90, 122, 106, 0.3);
}

/* --- Formats Section --- */
.formats-content {
    background: white;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    margin-top: 30px;
}

/* --- Booking Section --- */
.booking-container {
    background: white;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    margin-top: 30px;
}

.booking-list {
    margin: 25px 0;
    padding-left: 25px;
}

.booking-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.booking-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--teal);
    outline: none;
    box-shadow: 0 0 0 3px rgba(125, 168, 154, 0.2);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* --- FAQ Section --- */
.faq-container {
    background: white;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    margin-top: 30px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--light);
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: inherit;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(125, 168, 154, 0.1);
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-left: 15px;
    stroke: var(--primary);
    stroke-width: 2;
    fill: none;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    padding: 0 20px 20px;
    margin: 0;
    opacity: 0.9;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* --- Contacts Section --- */
.contacts-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contacts-info {
    flex: 1;
}

.contacts-intro {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 30px;
    line-height: 1.6;
}

.contacts-channel {
    margin-bottom: 30px;
}

.contacts-channel h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 700;
}

.contacts-channel a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.1rem;
}

.contacts-channel a:hover {
    color: var(--teal);
    text-decoration: underline;
}

.contacts-nicknames {
    margin-bottom: 40px;
}

.contacts-nicknames p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contacts-nicknames a {
    color: var(--text);
    text-decoration: none;
}

.contacts-nicknames a:hover {
    color: var(--teal);
    text-decoration: underline;
}

.contacts-requisites {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.8;
}

.contacts-requisites p {
    margin-bottom: 5px;
}

.contacts-requisites a {
    color: var(--text);
    text-decoration: none;
}

.contacts-requisites a:hover {
    text-decoration: underline;
}

.contacts-requisites a {
    color: #0891b2;
    text-decoration: underline;
}

.contacts-requisites a:hover {
    color: var(--teal);
}

.contacts-channel a {
    color: #0891b2;
    text-decoration: underline;
}

.contacts-channel a:hover {
    color: var(--teal);
}

.contacts-nicknames a {
    color: #0891b2;
    text-decoration: underline;
}

.contacts-nicknames a:hover {
    color: var(--teal);
}

.contacts-qr {
    flex-shrink: 0;
    width: 280px;
}

.contacts-qr img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Legacy contact styles (for backward compatibility) */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--teal);
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--teal);
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.self-employed-info {
    background: var(--light);
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
    text-align: center;
}

/* ============================================
   СТРАНИЦА СОГЛАСИЙ (agreements.html)
   ============================================ */

.guide-section {
    background: var(--light);
    min-height: calc(100vh - 200px);
}

.guide-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 30px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.guide-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.consent-box {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    max-width: 800px;
    margin: 0 auto 40px;
}

.consent-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.consent-list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--light);
    border-radius: 12px;
    transition: var(--transition);
}

.consent-list-item:hover {
    background: rgba(125, 168, 154, 0.12);
}

.consent-list-item input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-right: 15px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.consent-list-item label {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text);
    cursor: pointer;
}

.consent-list-item a {
    color: var(--teal);
    text-decoration: underline;
    transition: var(--transition);
}

.consent-list-item a:hover {
    color: var(--primary);
}

.download-box {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    max-width: 800px;
    margin: 40px auto 0;
    text-align: center;
}

.download-box h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.download-link-large {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    margin-top: 10px;
}

.download-link-large:hover {
    background: var(--teal);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(90, 122, 106, 0.3);
}

/* ============================================
   СТРАНИЦЫ ЮРИДИЧЕСКИХ ДОКУМЕНТОВ
   (approval.html, confidentiality.html, public_offer.html)
   ============================================ */

/* --- Content Styles --- */
.consent-content,
.policy-content {
    background: var(--light);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    line-height: 1.7;
    font-size: 16px;
}

.consent-content p,
.policy-content p {
    margin-bottom: 12px;
}

.consent-content ol,
.consent-content ul,
.policy-content ol,
.policy-content ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

.consent-content li,
.policy-content li {
    margin-bottom: 8px;
}

.consent-content .highlight,
.policy-content .highlight {
    font-weight: 700;
    color: var(--primary);
}

/* --- Table Styles --- */
.consent-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 10px;
    overflow: hidden;
}

.consent-table th {
    background-color: var(--primary);
    color: var(--white);
    font-weight: 700;
    text-align: left;
    padding: 15px 20px;
}

.consent-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    background-color: var(--white);
}

.consent-table tr:last-child td {
    border-bottom: none;
}

.consent-table tr:nth-child(even) td {
    background-color: #f8f9fa;
}

/* --- Agreement Container --- */
.agreement-container {
    background: var(--white);
    border: 2px solid var(--teal);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.agreement-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.agreement-checkbox input {
    width: 22px;
    height: 22px;
    margin-right: 15px;
    cursor: pointer;
    accent-color: var(--primary);
}

/* --- Links in content --- */
.consent-content a,
.policy-content a {
    color: var(--teal);
    text-decoration: underline;
    transition: var(--transition);
}

.consent-content a:hover,
.policy-content a:hover {
    color: var(--primary);
}

/* ============================================
   FOOTER
   ============================================ */

/* --- Footer --- */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-brand {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.footer-nav {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--teal);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
}

.footer-copyright {
    margin: 0 0 8px;
    font-size: 0.95rem;
}

.footer-requisites {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ============================================
   АДАПТИВНАЯ ВЕРСТКА
   ============================================ */

@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 350px;
    }

    .about-content,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .about-content .about-text {
        order: 2;
    }

    .about-content .about-image {
        order: 1;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .consent-content,
    .policy-content {
        padding: 30px 25px;
    }

    .consent-table {
        font-size: 14px;
    }

    .consent-table th,
    .consent-table td {
        padding: 12px 15px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background: var(--white);
        width: 90%;
        max-width: 300px;
        height: calc(100vh - 70px);
        flex-direction: column;
        padding: 30px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: 0.4s;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        margin-bottom: 10px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .hero-text h1 {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .guide-container,
    .formats-content,
    .booking-container,
    .faq-container {
        padding: 25px;
    }

    .faq-question {
        font-size: 1rem;
        padding: 15px;
    }

    .faq-icon {
        width: 20px;
        height: 20px;
        margin-left: 10px;
    }

    .faq-answer p {
        padding: 0 15px 15px;
    }

    .consent-content,
    .policy-content {
        padding: 25px 20px;
        font-size: 15px;
    }

    .agreement-container {
        padding: 25px 20px;
    }

    .agreement-checkbox {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .agreement-checkbox input {
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .consent-table {
        display: block;
        overflow-x: auto;
    }

    .contacts-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .contacts-info {
        text-align: center;
    }

    .contacts-qr {
        width: 220px;
    }

    .footer-main {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        justify-content: center;
    }

    .footer-nav a {
        display: block;
        margin: 5px 0;
    }

    /* Mobile styles for agreements page */
    .guide-title {
        font-size: 1.5rem;
    }

    .consent-box,
    .download-box {
        padding: 25px 20px;
    }

    .consent-list-item {
        padding: 12px;
    }

    .consent-list-item label {
        font-size: 0.95rem;
    }

    .download-link-large {
        padding: 15px 25px;
        font-size: 1rem;
    }
}

/* --- Extra small screens --- */
@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .hero-text h1 {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .guide-title {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-result {
        font-size: 1rem;
    }
}

/* ============================================
   COOKIE-BANNER
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
    min-width: 280px;
}

.cookie-banner-text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    text-decoration: none;
}

.cookie-banner-btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.cookie-banner-btn:hover {
    background-color: var(--text);
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner-text {
        min-width: auto;
    }
    
    .cookie-banner-btn {
        width: 100%;
    }
}
