/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== ПОДКЛЮЧЕНИЕ ШРИФТА OTF =====*/
@font-face {
    font-family: 'MyriadPro';
    src: url('fonts/MyriadPro-BoldCondIt.otf') format('opentype');
    font-weight: bold;
    font-style: italic;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* ===== ТЕМА 1 — СВЕТЛАЯ ===== */
body.theme-light {
    --primary:        #2CC1CF;
    --primary-dark:   #0EA0AD;
    --primary-light:  #3FD5E3;
    --primary-deep:   #22B0BD;
    --accent:         #FFB273;
    --accent-hover:   #FF9900;
    --accent-soft:    #FCD5A6;
    --bg-main:        #ffffff;
    --bg-section:     #f0fafb;
    --bg-section-alt: #e6f7f9;
    --card-bg:        #ffffff;
    --card-border:    #d4f2f5;
    --text-main:      #2a2a2a;
    --text-secondary: #555555;
    --text-light:     #999999;
    --gray-light:     #EBECEC;
    --gray-mid:       #D9DADA;
    --gray:           #C5C6C6;
    --gray-dark:      #B2B3B3;
    --footer-bg:      #0b333a;
    --footer-text:    #D9DADA;
    --footer-accent:  #3FD5E3;
    --shadow-color:   rgba(14, 160, 173, 0.12);
    --shadow-hover:   rgba(14, 160, 173, 0.22);
    --gradient-hero:  linear-gradient(135deg, #e6f7f9 0%, #f0fafb 50%, #fef6ee 100%);
    --gradient-btn:   linear-gradient(135deg, #2CC1CF, #0EA0AD);
    --gradient-btn-hover: linear-gradient(135deg, #3FD5E3, #22B0BD);
    --overlay:        rgba(0, 0, 0, 0.45);

    background-color: var(--bg-main);
    color: var(--text-main);
}

/* ===== ТЕМА 2 — ТЁМНАЯ ===== */
body.theme-dark {
    --primary:        #3FD5E3;
    --primary-dark:   #22B0BD;
    --primary-light:  #5ae0ec;
    --primary-deep:   #2CC1CF;
    --accent:         #FCD5A6;
    --accent-hover:   #FFB273;
    --accent-soft:    #fce8d0;
    --bg-main:        #0f1c1f;
    --bg-section:     #142428;
    --bg-section-alt: #192e33;
    --card-bg:        #1c3238;
    --card-border:    #264048;
    --text-main:      #EBECEC;
    --text-secondary: #C5C6C6;
    --text-light:     #999999;
    --gray-light:     #2a3d42;
    --gray-mid:       #3a5058;
    --gray:           #4a6068;
    --gray-dark:      #607880;
    --footer-bg:      #091517;
    --footer-text:    #B2B3B3;
    --footer-accent:  #3FD5E3;
    --shadow-color:   rgba(63, 213, 227, 0.08);
    --shadow-hover:   rgba(63, 213, 227, 0.18);
    --gradient-hero:  linear-gradient(135deg, #142428 0%, #192e33 50%, #1f2a20 100%);
    --gradient-btn:   linear-gradient(135deg, #3FD5E3, #22B0BD);
    --gradient-btn-hover: linear-gradient(135deg, #5ae0ec, #2CC1CF);
    --overlay:        rgba(0, 0, 0, 0.6);

    background-color: var(--bg-main);
    color: var(--text-main);
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--gradient-btn);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 18px var(--shadow-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px var(--shadow-hover);
    background: var(--gradient-btn-hover);
}

/* ===== SCROLL TO TOP ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--gradient-btn);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.35s;
    box-shadow: 0 6px 24px var(--shadow-hover);
    z-index: 999;
}

.scroll-to-top.show {
    display: flex;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

/* ===== HEADER ===== */
header {
    background: var(--gradient-btn);
    color: #fff;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 3px 12px var(--shadow-color);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'MyriadPro', 'Segoe UI', sans-serif;
    font-size: 48px;
    font-weight: bold;
    font-style: italic;
    letter-spacing: 2px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.2);
    line-height: 1;
}

.logo a {
    text-decoration: none;
    color: inherit;
    font-family: 'MyriadPro', 'Segoe UI', sans-serif;
    font-size: 48px;
    font-weight: bold;
    font-style: italic;
    letter-spacing: 2px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.2);
    line-height: 1;
}

.header-contacts {
    display: flex;
    gap: 30px;
    align-items: center;
}

.phone {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    transition: opacity 0.3s;
    letter-spacing: 0.5px;
}

.phone:hover {
    opacity: 0.8;
}

/* ===== HERO ===== */
.hero {
    background: var(--gradient-hero);
    padding: 80px 20px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.15;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background: var(--gradient-btn);
    color: #fff;
    padding: 16px 44px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.35s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 18px var(--shadow-color);
    letter-spacing: 0.3px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px var(--shadow-hover);
    background: var(--gradient-btn-hover);
}

.hero-image {
    position: relative;
    height: 500px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 18px 50px var(--shadow-hover);
    border: 3px solid var(--card-border);
}

/* ===== WHY CARE ===== */
.why-care {
    background: var(--bg-main);
    padding: 80px 20px;
}

.why-care-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 42px;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 60px;
}

.care-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.care-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    transition: transform 0.35s, box-shadow 0.35s;
    border-left: 5px solid var(--primary);
    border-top: 1px solid var(--card-border);
    border-right: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.care-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px var(--shadow-hover);
    border-left-color: var(--accent);
}

.care-card h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 700;
}

.care-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/*.icon {
    font-size: 42px;
    margin-bottom: 20px;
    display: inline-block;
    background: var(--bg-section);
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    border-radius: 16px;
}*/

.care-img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    display: block;
    box-shadow: 0 2px 8px var(--shadow-color);
}

/* ===== PRICES ===== */
.prices {
    background: var(--bg-section-alt);
    padding: 80px 20px;
}

.prices-container {
    max-width: 1200px;
    margin: 0 auto;
}

.prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.price-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 18px var(--shadow-color);
    transition: transform 0.35s, box-shadow 0.35s;
    border: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-btn);
    opacity: 0;
    transition: opacity 0.35s;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 45px var(--shadow-hover);
}

.price-card:hover::before {
    opacity: 1;
}

.price-card h3 {
    color: var(--primary-dark);
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

.price-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 14px;
    min-height: 40px;
    line-height: 1.6;
}

.price {
    font-size: 38px;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 20px;
}

.price-unit {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 400;
}

.order-btn {
    background: var(--gradient-btn);
    color: #fff;
    padding: 14px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s;
    width: 100%;
    letter-spacing: 0.3px;
}

.order-btn:hover {
    background: var(--gradient-btn-hover);
    box-shadow: 0 6px 20px var(--shadow-hover);
    transform: translateY(-2px);
}

/* ===== CONTACTS ===== */
.contacts {
    background: var(--bg-main);
    padding: 80px 20px;
}

.contacts-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    color: var(--primary-dark);
    font-size: 38px;
    margin-bottom: 40px;
    font-weight: 800;
}

.contact-item {
    margin-bottom: 35px;
}

.contact-label {
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    display: block;
}

.contact-value {
    color: var(--text-main);
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.7;
}

.contact-value:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--bg-section-alt);
    border: 2px solid var(--card-border);
    border-radius: 50%;
    text-decoration: none;
    color: var(--primary);
    font-size: 22px;
    font-weight: 700;
    transition: all 0.35s;
}

.social-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-hover);
}

.map-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 35px var(--shadow-color);
    border: 2px solid var(--card-border);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== FOOTER ===== */
footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 55px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--footer-accent);
    font-size: 18px;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
    color: var(--footer-text);
    font-size: 14px;
}

.footer-section a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--footer-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    text-align: center;
    color: var(--gray-dark);
    font-size: 14px;
}

.footer-bottom p + p {
    margin-top: 5px;
}

/* Policy Links */
.policy-links {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.policy-links a {
    color: var(--footer-accent);
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
    transition: color 0.3s;
    cursor: pointer;
}

.policy-links a:hover {
    color: var(--accent);
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay);
    overflow-y: auto;
    animation: fadeIn 0.3s;
}

.modal.show {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.modal-content {
    background: var(--card-bg);
    margin: 5% auto;
    padding: 45px;
    border-radius: 16px;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideIn 0.35s;
    border: 1px solid var(--card-border);
}

@keyframes slideIn {
    from { transform: translateY(-40px); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}

.modal-close {
    color: var(--text-light);
    float: right;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary);
}

.modal h2 {
    color: var(--primary-dark);
    margin-top: 10px;
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 800;
}

.modal h3 {
    color: var(--primary);
    margin-top: 28px;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 700;
}

.modal p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.8;
}

.modal ul {
    margin-left: 20px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.modal li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header-contacts {
        flex-direction: column;
        gap: 15px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-image {
        height: 350px;
    }

    .contacts-container {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 30px;
    }

    .map-container {
        height: 300px;
    }

    .theme-toggle {
        top: 10px;
        right: 10px;
        padding: 10px 14px;
        font-size: 13px;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .logo {
        font-size: 38px;
        letter-spacing: 1.5px;
    }

    header {
        padding: 14px 0;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .header-contacts {
        display: none;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .prices-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 15% 10px;
        padding: 20px;
    }

    .theme-toggle {
        padding: 8px 12px;
        font-size: 12px;
        gap: 4px;
    }

    .section-title {
        font-size: 26px;
    }

    .price {
        font-size: 32px;
    }
}
/* ===== FAQ SECTION ===== */
.faq-section {
    background: var(--bg-main);
    padding: 80px 20px;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-section h2 {
    text-align: center;
    font-size: 36px;
    color: var(--primary-dark);
    margin-bottom: 60px;
    font-weight: 800;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.faq-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    transition: all 0.35s;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--shadow-hover);
}

.faq-item h3 {
    color: var(--primary-dark);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.prices-intro {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .faq-section h2 {
        font-size: 28px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}