* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary-green: #4a7c59; --light-green: #8fbc8f; --soft-pink: #d4a5a5;
    --lotus-pink: #e8b4b8; --cream: #faf8f5; --text-dark: #2c3e2d;
    --white: #ffffff; --error-red: #e74c3c;
}
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; background-color: var(--cream); color: var(--text-dark); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; }

header { background: linear-gradient(135deg, var(--cream) 0%, #f0ebe5 100%); padding: 2rem 0; border-bottom: 3px solid var(--primary-green); position: relative; overflow: hidden; }
header::before { content: '🪷'; position: absolute; right: -5%; top: 10%; font-size: 10rem; opacity: 0.05; transform: rotate(-15deg); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.header-content { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; align-items: center; position: relative; z-index: 1; }
.psychologist-photo { width: 100%; max-width: 300px; height: 350px; object-fit: cover; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); border: 5px solid white; justify-self: center; }
.header-text { text-align: left; }
.name { font-size: 2.8rem; color: var(--primary-green); margin-bottom: 0.5rem; letter-spacing: 1px; line-height: 1.1; }
.title { font-size: 1.4rem; color: var(--soft-pink); font-weight: 500; margin-bottom: 1rem; }
.subtitle { font-size: 1.1rem; color: var(--text-dark); line-height: 1.7; margin-bottom: 1.5rem; }

.header-cta { display: inline-block; padding: 1rem 2.5rem; background: linear-gradient(135deg, var(--primary-green), var(--light-green)); color: white; text-decoration: none; border-radius: 30px; font-weight: 600; font-size: 1.1rem; box-shadow: 0 5px 20px rgba(74, 124, 89, 0.3); transition: all 0.3s; border: none; cursor: pointer; margin-bottom: 1rem; }
.header-cta:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(74, 124, 89, 0.4); }

nav { background-color: var(--primary-green); padding: 0.8rem 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
nav ul { list-style: none; display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
@media (max-width: 900px) { nav ul { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; padding: 0 1rem; justify-content: flex-start; -webkit-overflow-scrolling: touch; } nav ul::-webkit-scrollbar { height: 0; } }
nav a { color: var(--white); text-decoration: none; font-weight: 500; transition: all 0.3s; padding: 0.5rem 0.8rem; border-radius: 20px; font-size: 0.95rem; display: inline-block; }
nav a:hover { background-color: rgba(255,255,255,0.2); color: var(--lotus-pink); }
nav a.nav-external { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); }
nav a.nav-lila { background: linear-gradient(135deg, rgba(232,180,184,0.3), rgba(212,165,165,0.3)); border: 1px solid var(--lotus-pink); }

section { padding: 3rem 0; }
.section-title { font-size: 2.2rem; color: var(--primary-green); text-align: center; margin-bottom: 2rem; position: relative; }
.section-title::after { content: ''; display: block; width: 80px; height: 3px; background: linear-gradient(90deg, var(--primary-green), var(--lotus-pink)); margin: 0.8rem auto 0; }

.about { background-color: var(--white); }
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.info-card { background: linear-gradient(135deg, var(--cream), var(--white)); padding: 1.5rem; border-radius: 15px; border-left: 4px solid var(--primary-green); box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.info-card h3 { color: var(--primary-green); margin-bottom: 0.5rem; font-size: 1.2rem; }

.education-section { background: linear-gradient(135deg, #f5f0eb 0%, var(--cream) 100%); }
.education-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.education-card { background: var(--white); padding: 1.5rem; border-radius: 15px; box-shadow: 0 4px 10px rgba(0,0,0,0.08); border-left: 4px solid var(--lotus-pink); transition: transform 0.3s; }
.education-card:hover { transform: translateX(5px); }
.education-card h3 { color: var(--primary-green); margin-bottom: 0.5rem; font-size: 1.1rem; }
.education-main { background: linear-gradient(135deg, var(--primary-green), var(--light-green)); color: white; padding: 2rem; border-radius: 15px; margin-bottom: 2rem; text-align: center; }

.services { background: linear-gradient(135deg, #f5f0eb 0%, var(--cream) 100%); }
.owl-carousel .service-card { background: var(--white); padding: 2rem; border-radius: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); border-top: 4px solid var(--lotus-pink); margin: 1rem; height: auto; }
.owl-carousel .service-card h3 { color: var(--primary-green); font-size: 1.4rem; margin-bottom: 1rem; }
.owl-carousel .service-card ul { list-style: none; padding-left: 0; }
.owl-carousel .service-card li { padding: 0.5rem 0; padding-left: 1.5rem; position: relative; }
.owl-carousel .service-card li::before { content: ''; position: absolute; left: 0; font-size: 0.9rem; }
.owl-theme .owl-nav { margin-top: 2rem; display: flex; justify-content: center; gap: 20px; }
.owl-theme .owl-nav [class*='owl-'] { background: var(--primary-green) !important; color: white !important; border-radius: 50% !important; width: 45px !important; height: 45px !important; display: flex !important; align-items: center !important; justify-content: center !important; transition: all 0.3s !important; font-size: 1.2rem !important; box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important; border: 2px solid white !important; position: static !important; transform: none !important; }
.owl-theme .owl-nav [class*='owl-']:hover { background: var(--lotus-pink) !important; }

.methods { background-color: var(--white); }
.methods-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.method-tag { background: linear-gradient(135deg, var(--primary-green), var(--light-green)); color: var(--white); padding: 0.8rem 1.5rem; border-radius: 25px; font-weight: 500; box-shadow: 0 3px 10px rgba(74, 124, 89, 0.3); font-size: 0.9rem; }
.method-tag.special { background: linear-gradient(135deg, var(--lotus-pink), var(--soft-pink)); }



.pricing { background: linear-gradient(135deg, var(--cream), #f0ebe5); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; max-width: 1000px; margin: 0 auto; }
.pricing-card { background: var(--white); padding: 2.5rem; border-radius: 20px; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.1); border: 2px solid transparent; transition: border-color 0.3s; position: relative; overflow: hidden; }
.pricing-card:hover { border-color: var(--lotus-pink); }
.pricing-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--primary-green), var(--lotus-pink)); }
.price { font-size: 2.5rem; color: var(--primary-green); font-weight: 600; margin: 1rem 0; font-family: 'Cormorant Garamond', serif; }
.price-note { color: var(--soft-pink); font-size: 0.9rem; }

.contact { background-color: var(--white); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info h3 { color: var(--primary-green); margin-bottom: 1.5rem; font-size: 1.5rem; }
.contact-item { margin-bottom: 1.5rem; display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon { width: 50px; height: 50px; background: linear-gradient(135deg, var(--primary-green), var(--light-green)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.3rem; flex-shrink: 0; }
.contact-text strong { display: block; margin-bottom: 0.3rem; color: var(--primary-green); }
.contact-text a { color: var(--text-dark); text-decoration: none; }
.contact-text a:hover { color: var(--primary-green); }
.contact-links { display: flex; gap: 0.8rem; margin-top: 2rem; flex-wrap: wrap; }
.contact-link { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.2rem; border-radius: 25px; text-decoration: none; color: white; font-weight: 500; transition: all 0.3s; font-size: 0.9rem; }
.contact-link:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.contact-link img { width: 20px; height: 20px; object-fit: contain; }
.whatsapp { background: #25D366; } .telegram { background: #0088cc; } .vk { background: #4a76a8; }
.max-messenger { background: #6c5ce7; } .yandex-services { background: #fc3f1d; } .phone-link { background: var(--primary-green); }
.certificates-link { background: var(--soft-pink); display: inline-block; margin-top: 1rem; padding: 0.8rem 1.5rem; border-radius: 25px; color: white; text-decoration: none; font-weight: 500; transition: all 0.3s; }
.certificates-link:hover { background: var(--lotus-pink); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

.contact-form { background: linear-gradient(135deg, var(--cream), var(--white)); padding: 2rem; border-radius: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); border: 2px solid var(--light-green); }
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; margin-bottom: 0.5rem; color: var(--primary-green); font-weight: 500; }
.editable-input { display: block; width: 100%; min-height: 50px; padding: 0.8rem 1rem; border: 2px solid var(--light-green); border-radius: 10px; background: var(--white); font-family: 'Montserrat', sans-serif; font-size: 1rem; transition: border-color 0.3s, box-shadow 0.3s; outline: none; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.editable-input:focus { border-color: var(--primary-green); box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1); }
.editable-input:empty:before { content: attr(data-placeholder); color: #999; font-style: italic; }
#message { min-height: 150px; resize: vertical; }
#phone { font-family: 'Courier New', monospace; font-weight: 600; letter-spacing: 1px; }

.service-select { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.8rem; }
.service-checkbox { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1rem; background: var(--white); border: 2px solid var(--light-green); border-radius: 8px; cursor: pointer; transition: all 0.3s; font-size: 0.9rem; }
.service-checkbox:hover { border-color: var(--primary-green); background: var(--cream); }
.service-checkbox input[type="checkbox"] { display: none; }
.service-checkbox input[type="checkbox"]:checked + span::before { content: '✓'; background: var(--primary-green); color: white; border-color: var(--primary-green); }
.service-checkbox span { display: flex; align-items: center; gap: 0.5rem; width: 100%; }
.service-checkbox span::before { content: ''; width: 20px; height: 20px; border: 2px solid var(--light-green); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: bold; transition: all 0.2s; flex-shrink: 0; }
.service-checkbox input[type="checkbox"]:checked + span { color: var(--primary-green); font-weight: 500; }

.policy-checkboxes { margin: 1.5rem 0; padding: 1rem; background: var(--cream); border-radius: 10px; border-left: 3px solid var(--soft-pink); }
.policy-item { display: flex; align-items: flex-start; gap: 0.8rem; margin-bottom: 1rem; font-size: 0.9rem; line-height: 1.4; }
.policy-item:last-child { margin-bottom: 0; }
.custom-checkbox { position: relative; width: 22px; height: 22px; min-width: 22px; cursor: pointer; margin-top: 2px; }
.custom-checkbox input { position: absolute; opacity: 0; cursor: pointer; width: 100%; height: 100%; z-index: 2; }
.checkmark { position: absolute; top: 0; left: 0; width: 22px; height: 22px; background: var(--white); border: 2px solid var(--light-green); border-radius: 4px; transition: all 0.2s ease; z-index: 1; }
.custom-checkbox:hover .checkmark { border-color: var(--primary-green); box-shadow: 0 2px 5px rgba(74,124,89,0.2); }
.custom-checkbox input:checked ~ .checkmark { background: var(--primary-green); border-color: var(--primary-green); }
.checkmark::after { content: ''; position: absolute; display: none; left: 7px; top: 3px; width: 5px; height: 10px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.custom-checkbox input:checked ~ .checkmark::after { display: block; }

.bot-field { position: absolute; left: -9999px; opacity: 0; }
.submit-btn { width: 100%; padding: 1rem; background: linear-gradient(135deg, var(--primary-green), var(--light-green)); color: white; border: none; border-radius: 10px; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: all 0.3s; font-family: 'Montserrat', sans-serif; }
.submit-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(74,124,89,0.4); }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; background: linear-gradient(135deg, #ccc, #ddd); color: #666; }

footer { background: var(--primary-green); color: white; text-align: center; padding: 2rem 0; }
.footer-lotus { font-size: 3rem; margin-bottom: 1rem; opacity: 0.5; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
section { animation: fadeIn 0.8s ease-out; }
.success-message, .error-message { display: none; padding: 1rem; border-radius: 10px; margin-top: 1rem; text-align: center; }
.success-message { background: var(--primary-green); color: white; }
.error-message { background: var(--error-red); color: white; }
.policy-link { color: var(--primary-green); text-decoration: none; font-weight: 500; border-bottom: 1px dashed var(--primary-green); }
.policy-link:hover { color: var(--lotus-pink); }

.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); box-shadow: 0 -2px 10px rgba(0,0,0,0.1); padding: 1.5rem; z-index: 9998; display: none; border-top: 3px solid var(--lotus-pink); }
.cookie-banner.active { display: block; animation: slideUp 0.3s ease; }
.cookie-banner-content { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cookie-banner-text { flex: 1; min-width: 300px; font-size: 0.95rem; line-height: 1.5; }
.cookie-banner-text a { color: var(--primary-green); text-decoration: underline; }
.cookie-banner-buttons { display: flex; gap: 1rem; flex-shrink: 0; }
.cookie-btn { padding: 0.8rem 1.5rem; border: none; border-radius: 25px; cursor: pointer; font-weight: 600; font-size: 0.9rem; transition: all 0.3s; }
.cookie-accept { background: var(--primary-green); color: white; }
.cookie-accept:hover { background: var(--light-green); transform: translateY(-2px); }
.cookie-decline { background: var(--cream); color: var(--text-dark); border: 2px solid var(--light-green); }
.cookie-decline:hover { background: var(--lotus-pink); color: white; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

.afk-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 9999; align-items: center; justify-content: center; animation: fadeInModal 0.3s ease; }
.afk-modal.active { display: flex; }
.afk-content { background: linear-gradient(135deg, var(--cream), var(--white)); padding: 3rem; border-radius: 20px; max-width: 500px; width: 90%; text-align: center; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.3); border: 3px solid var(--lotus-pink); animation: slideIn 0.4s ease; }
.afk-close { position: absolute; top: 15px; right: 20px; font-size: 2rem; color: var(--text-dark); cursor: pointer; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all 0.3s; background: var(--cream); }
.afk-close:hover { background: var(--error-red); color: white; transform: rotate(90deg); }
.afk-lotus { font-size: 4rem; margin-bottom: 1rem; animation: float 3s ease-in-out infinite; }
.afk-content h2 { color: var(--primary-green); font-size: 2rem; margin-bottom: 1rem; font-family: 'Cormorant Garamond', serif; }
.afk-content p { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 2rem; line-height: 1.6; }
.afk-btn { display: inline-block; padding: 1rem 2.5rem; background: linear-gradient(135deg, var(--primary-green), var(--light-green)); color: white; text-decoration: none; border-radius: 30px; font-weight: 600; font-size: 1.1rem; box-shadow: 0 5px 20px rgba(74, 124, 89, 0.3); transition: all 0.3s; border: none; cursor: pointer; }
.afk-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(74, 124, 89, 0.4); }
@keyframes fadeInModal { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }

@media (max-width: 768px) {
    .header-content { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
    .psychologist-photo { max-width: 220px; height: 280px; margin: 0 auto; }
    .header-text { text-align: center; }
    .name { font-size: 2.2rem; } .title { font-size: 1.2rem; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 2rem; }
    .education-grid { grid-template-columns: 1fr; }
    .service-select { grid-template-columns: 1fr; }
    .info-cards { grid-template-columns: 1fr; }
    .section-title { font-size: 1.8rem; }
    .contact-links { justify-content: center; }
    .afk-content { padding: 2rem 1.5rem; }
    .afk-content h2 { font-size: 1.5rem; }
    .afk-content p { font-size: 1rem; }
    .cookie-banner-content { flex-direction: column; text-align: center; }
    .cookie-banner-buttons { justify-content: center; }
}