@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #FFFFFF;
  --bg-alt: #F4F7F5;
  --card-bg: #FFFFFF;
  --input-bg: #F8FAF9;
  --border: #E8ECE9;
  --border-hover: #C5A880;
  --primary: #0D7A3E;
  --primary-hover: #0A6031;
  --primary-glow: rgba(13, 122, 62, 0.12);
  --accent: #C5A880;
  --accent-glow: rgba(197, 168, 128, 0.15);
  --text: #1F2937;
  --text-muted: #6B7280;
  --text-dark: #111827;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 12px 30px rgba(13, 122, 62, 0.04);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

* { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font-body); }
html { scroll-behavior: smooth; background: var(--bg); color: var(--text); }
body { background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.w-100 { width: 100%; }
.mt-4 { margin-top: 24px; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; letter-spacing: -0.01em; color: var(--text-dark); text-transform: uppercase; }
h1 { font-size: 58px; line-height: 1.1; margin-bottom: 24px; color: var(--text-dark); text-transform: none; }
h2 { font-size: 40px; line-height: 1.15; margin-bottom: 16px; color: var(--text-dark); text-transform: none; }
h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: -0.01em; color: var(--text-dark); }
p { font-size: 16px; color: var(--text-muted); line-height: 1.6; font-weight: 400; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: var(--radius-md); font-weight: 600; font-size: 15px; cursor: pointer; transition: var(--transition); border: none; text-decoration: none; font-family: var(--font-heading); letter-spacing: 0.05em; text-transform: uppercase; }
.btn-primary { background: var(--primary); color: #FFFFFF; box-shadow: 0 4px 15px var(--primary-glow); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(13, 122, 62, 0.25); color: #FFFFFF; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { background: var(--bg-alt); border-color: var(--text-muted); }
.btn-large { padding: 18px 36px; font-size: 16px; }
.btn-small { padding: 10px 20px; font-size: 13px; border-radius: 30px; }

/* Header */
.header { padding: 16px 0; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 1002; border-bottom: 1px solid var(--border); box-shadow: 0 2px 15px rgba(0,0,0,0.01); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 24px; font-weight: 950; color: var(--text-dark); letter-spacing: -0.04em; }
.logo svg { color: var(--primary); }
.desktop-nav { display: flex; gap: 32px; }
.desktop-nav a { text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-heading); transition: var(--transition); }
.desktop-nav a:hover { color: var(--primary); }

/* Hero Premium */
.hero-premium { position: relative; padding: 100px 0 140px; display: flex; align-items: center; min-height: 85vh; margin: 16px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.hero-premium-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('./images/hero_bg.png') center/cover no-repeat; z-index: 1; transition: transform 6s; }
.hero-premium:hover .hero-premium-bg { transform: scale(1.03); }
.hero-premium-bg::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.9) 40%, rgba(255,255,255,0.4) 100%); }
.hero-premium-content { position: relative; z-index: 2; color: var(--text-dark); width: 100%; }
.hero-text-box { max-width: 760px; }
.hero-badge-white { display: inline-flex; align-items: center; background: rgba(13, 122, 62, 0.05); color: var(--primary); padding: 8px 18px; border-radius: 30px; font-weight: 700; font-size: 11px; margin-bottom: 24px; border: 1px solid rgba(13, 122, 62, 0.1); text-transform: uppercase; letter-spacing: 1.5px; font-family: var(--font-heading); }
.hero-premium-content h1 { color: var(--text-dark); margin-bottom: 24px; font-size: 56px; font-weight: 900; }
.hero-premium-content p { color: #4B5563; font-size: 18px; margin-bottom: 40px; font-weight: 400; }

/* Features Premium */
.features-premium { position: relative; z-index: 10; margin-top: -80px; padding-bottom: 80px; }
.features-premium-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; background: var(--card-bg); padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.feature-card { display: flex; gap: 20px; align-items: flex-start; padding: 16px; border-radius: var(--radius-md); border: 1px solid transparent; transition: var(--transition); }
.feature-card:hover { border-color: var(--border-hover); background: var(--bg-alt); }
.fc-icon { background: rgba(13, 122, 62, 0.05); color: var(--primary); width: 56px; height: 56px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 24px; border: 1px solid rgba(13, 122, 62, 0.1); transition: var(--transition); }
.feature-card:hover .fc-icon { color: white; border-color: var(--primary); background: var(--primary); box-shadow: 0 0 12px var(--primary-glow); }
.fc-text h3 { font-size: 18px; margin-bottom: 6px; font-weight: 800; color: var(--text-dark); }
.fc-text p { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* Collections Section */
.collections-section { padding: 80px 0; background: var(--bg); }
.collections-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.collection-card { background: var(--card-bg); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.collection-card:hover { border-color: var(--accent); transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.collection-card img { width: 100%; height: 260px; object-fit: cover; transition: var(--transition); }
.collection-card:hover img { transform: scale(1.03); }
.cc-content { padding: 32px; flex: 1; display: flex; flex-direction: column; }
.cc-content h4 { font-size: 18px; font-weight: 800; text-transform: uppercase; margin-bottom: 12px; letter-spacing: 0.05em; color: var(--text-dark); }
.cc-content p { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; flex: 1; }

/* Modern Quiz Widget */
.quiz-section { padding: 100px 0; background: var(--bg-alt); border-y: 1px solid var(--border); }
.quiz-container { width: 100%; margin: 0 auto; }
.quiz-header { text-align: center; margin-bottom: 48px; }
.quiz-header h2 { font-size: 28px; margin-bottom: 8px; color: var(--text-dark); }
.quiz-header p { font-size: 16px; color: var(--text-muted); }

.quiz-layout { display: flex; gap: 32px; align-items: stretch; height: 600px; }
.quiz-widget { flex: 1; background: var(--card-bg); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }

/* Sidebar */
.quiz-master-sidebar { width: 380px; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 0; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; transition: var(--transition); box-shadow: var(--shadow-lg); }
.quiz-master-sidebar:hover { border-color: var(--accent); }

.master-speech-bubble { margin: 32px 32px 0; position: relative; background: rgba(197, 168, 128, 0.08); border: 1px solid rgba(197, 168, 128, 0.3); padding: 20px; border-radius: var(--radius-md); font-size: 14px; line-height: 1.6; color: var(--text-dark); font-style: italic; z-index: 2; }
.master-speech-bubble::before { content: ''; position: absolute; bottom: -10px; left: 40px; border-width: 10px 10px 0 10px; border-style: solid; border-color: rgba(197, 168, 128, 0.3) transparent transparent transparent; }
.master-speech-bubble::after { content: ''; position: absolute; bottom: -8px; left: 41px; border-width: 9px 9px 0 9px; border-style: solid; border-color: var(--card-bg) transparent transparent transparent; }

.master-profile-large { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; position: relative; padding-top: 24px; min-height: 0; }
.master-info { position: absolute; bottom: 20px; text-align: center; background: rgba(255, 255, 255, 0.98); padding: 10px 24px; border-radius: 30px; backdrop-filter: blur(4px); z-index: 2; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.master-info strong { display: block; font-size: 16px; color: var(--text-dark); font-family: var(--font-heading); }
.master-info span { font-size: 12px; color: var(--text-muted); }
.master-profile-large img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; border-radius: 0 0 var(--radius-lg) var(--radius-lg); filter: contrast(1.02); }

.quiz-progress-bar { width: 100%; height: 6px; background: rgba(0,0,0,0.05); }
.quiz-progress-fill { height: 100%; background: var(--primary); transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 0 8px rgba(13, 122, 62, 0.4); }
.quiz-progress-text { padding: 24px 32px 0; font-size: 13px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-heading); }

.quiz-body { flex: 1; padding: 32px; position: relative; }
.quiz-step { display: none; animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.quiz-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

.quiz-step h3 { font-size: 24px; margin-bottom: 24px; text-align: left; text-transform: uppercase; font-family: var(--font-heading); color: var(--text-dark); }

/* Quiz Image Options */
.quiz-options-image { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 24px; }
.quiz-radio-img { cursor: pointer; }
.quiz-radio-img input { display: none; }
.radio-img-card { display: flex; flex-direction: column; border: 2px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); background: var(--bg); height: 100%; }
.radio-img-card img { width: 100%; height: 110px; object-fit: cover; border-bottom: 1px solid var(--border); transition: var(--transition); }
.radio-img-card span { padding: 12px; font-weight: 700; text-align: center; font-size: 14px; color: var(--text-muted); font-family: var(--font-heading); text-transform: uppercase; }
.quiz-radio-img:hover .radio-img-card { border-color: var(--text-muted); }
.quiz-radio-img input:checked + .radio-img-card { border-color: var(--primary); box-shadow: 0 4px 15px rgba(13, 122, 62, 0.1); }
.quiz-radio-img input:checked + .radio-img-card span { color: var(--primary); }

/* Slider Styling */
.slider-container { max-width: 500px; margin: 40px auto 24px; }
.slider-value-display { text-align: center; font-size: 20px; font-weight: 600; margin-bottom: 24px; }
.slider-value-display span { font-size: 56px; color: var(--primary); font-weight: 900; display: inline-block; min-width: 100px; font-family: var(--font-heading); text-shadow: 0 0 8px rgba(13, 122, 62, 0.15); }
.slider-labels { display: flex; justify-content: space-between; margin-top: 12px; font-size: 13px; color: var(--text-muted); }
.custom-slider { width: 100%; -webkit-appearance: none; height: 6px; background: rgba(0,0,0,0.06); border-radius: 4px; outline: none; transition: 0.3s; }
.custom-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); border: 2px solid white; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,0.15); transition: var(--transition); }
.custom-slider::-webkit-slider-thumb:hover { background: var(--accent); }

/* Checkbox */
.quiz-checkbox-wrapper { text-align: center; margin-top: 24px; margin-bottom: 40px; }
.quiz-checkbox { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 15px; user-select: none; color: var(--text); }
.quiz-checkbox input { display: none; }
.checkmark { width: 20px; height: 20px; border: 2px solid var(--border); border-radius: var(--radius-sm); margin-right: 12px; display: inline-flex; align-items: center; justify-content: center; transition: var(--transition); background: var(--bg); }
.quiz-checkbox input:checked + .checkmark { background: var(--primary); border-color: var(--primary); }
.quiz-checkbox input:checked + .checkmark::after { content: '✓'; color: white; font-weight: 900; font-size: 12px; }

/* Input wrapper */
.quiz-input-wrapper { max-width: 450px; margin: 40px auto; }
.text-muted { font-size: 13px; color: var(--text-muted); }

/* Messenger Options */
.messenger-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; margin-top: 16px; }
.messenger-radio { cursor: pointer; }
.messenger-radio input { display: none; }
.msg-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 2px solid var(--border); border-radius: var(--radius-md); padding: 16px 8px; transition: var(--transition); background: var(--bg-alt); color: var(--text-muted); font-size: 13px; font-weight: 600; text-transform: uppercase; font-family: var(--font-heading); }
.messenger-radio:hover .msg-card { border-color: var(--text-muted); }
.messenger-radio input:checked + .msg-card { box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.messenger-radio.whatsapp input:checked + .msg-card { border-color: #25D366; color: #25D366; background: rgba(37,211,102,0.05); }
.messenger-radio.telegram input:checked + .msg-card { border-color: #0088cc; color: #0088cc; background: rgba(0,136,204,0.05); }
.messenger-radio.phone input:checked + .msg-card { border-color: var(--primary); color: var(--primary); background: rgba(13,122,62,0.05); }

/* Final Form */
.quiz-final-form { max-width: 450px; margin: 0 auto; text-align: center; }
.quiz-final-form p { margin-bottom: 24px; font-size: 15px; }
.mb-3 { margin-bottom: 16px; }

/* Quiz Footer */
.quiz-footer { padding: 24px 32px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; background: var(--bg-alt); }
.quiz-footer .btn-primary { margin-left: auto; }
.form-control { width: 100%; padding: 18px 24px; border: 2px solid var(--border); background: var(--input-bg); border-radius: var(--radius-md); font-size: 15px; color: var(--text-dark); outline: none; transition: var(--transition); font-family: var(--font-body); }
.form-control::placeholder { color: #9CA3AF; }
.form-control:focus { border-color: var(--primary); background: white; box-shadow: 0 4px 20px var(--primary-glow); }

/* Horizontal Portfolio */
.section-header { margin-bottom: 48px; }
.section-header p { font-size: 18px; margin-top: 8px; }
.portfolio-horizontal { padding: 100px 0 0; overflow: hidden; background: var(--bg); }
.horizontal-scroll-wrapper { width: 100%; height: 100vh; display: flex; align-items: center; overflow: hidden; position: relative; }
.horizontal-scroll-container { display: flex; gap: 40px; padding: 0 5vw; width: max-content; }
.horiz-card { width: 70vw; max-width: 850px; flex-shrink: 0; background: var(--card-bg); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.horiz-card img { width: 100%; height: 52vh; min-height: 380px; object-fit: cover; }
.horiz-card .port-info { padding: 32px 40px; }
.horiz-card h4 { font-size: 26px; margin-bottom: 12px; color: var(--text-dark); }
.horiz-card p { font-size: 15px; color: var(--text-muted); }

/* Bento Grid About Section */
.about-section { padding: 100px 0; background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; }
.about-card { background: var(--card-bg); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; position: relative; transition: var(--transition); box-shadow: var(--shadow-sm); }
.about-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); }
.about-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; z-index: 1; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.about-card:hover img { transform: scale(1.02); }
.about-card-content { position: relative; z-index: 2; padding: 40px; background: linear-gradient(to top, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.5) 60%, transparent 100%); height: 100%; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; }
.about-card-content h3 { font-size: 24px; margin-bottom: 12px; color: var(--text-dark); }
.about-card-content p { font-size: 15px; color: var(--text-muted); }

.main-card { grid-row: span 2; }
.main-card .about-card-content { min-height: 600px; padding: 50px; background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.6) 50%, transparent 100%); }
.main-card .about-card-content h3 { font-size: 32px; }
.main-card .about-card-content p { font-size: 16px; max-width: 550px; }

/* Reviews */
.reviews { padding: 40px 0 100px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--bg-alt); padding: 36px; border-radius: var(--radius-lg); border: 1px solid var(--border); display: flex; flex-direction: column; transition: var(--transition); }
.review-card:hover { border-color: var(--accent); background: white; box-shadow: var(--shadow-lg); }
.stars { color: #F59E0B; font-size: 18px; margin-bottom: 16px; letter-spacing: 4px; }
.review-card p { font-style: italic; margin-bottom: 24px; font-size: 15px; flex-grow: 1; color: #4B5563; }
.rev-author b { display: block; font-size: 16px; color: var(--text-dark); font-family: var(--font-heading); }
.rev-author span { font-size: 13px; color: var(--text-muted); }

/* FAQ Section */
.faq-section { padding: 100px 0; background: var(--bg); }
.faq-list { width: 100%; display: flex; flex-direction: column; gap: 16px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-alt); overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: var(--accent); background: white; }
.faq-question { width: 100%; padding: 24px; border: none; background: transparent; text-align: left; font-size: 18px; font-weight: 700; color: var(--text-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); font-family: var(--font-heading); }
.faq-question:hover { color: var(--primary); }
.faq-icon { font-size: 24px; font-weight: 300; transition: transform 0.3s, color 0.3s; color: var(--text-muted); }
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer p { padding: 0 24px 24px; margin: 0; font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* Contacts & Map Section */
.contacts-section { padding: 100px 0; background: var(--bg-alt); border-t: 1px solid var(--border); }
.contacts-wrapper { display: flex; gap: 0; background: var(--card-bg); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.contacts-form-box { flex: 1; padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.contacts-form-box h2 { font-size: 36px; margin-bottom: 16px; }
.contacts-form-box p { font-size: 15px; color: var(--text-muted); margin-bottom: 32px; }

.contacts-info { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.contact-item { font-size: 15px; }
.contact-item strong { color: var(--primary); display: block; margin-bottom: 4px; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.05em; font-size: 13px; }
.contact-item span { color: var(--text-dark); }

.contacts-map-box { flex: 1; min-height: 500px; position: relative; }
.contacts-map-box iframe { width: 100%; height: 100%; border: none; }
.map-overlay-badge { position: absolute; top: 24px; right: 24px; background: var(--primary); color: white; padding: 12px 24px; border-radius: 30px; font-weight: 700; box-shadow: 0 10px 30px var(--primary-glow); z-index: 10; pointer-events: none; font-family: var(--font-heading); text-transform: uppercase; font-size: 12px; letter-spacing: 0.05em; }

/* Footer */
.footer { padding: 60px 0; border-top: 1px solid var(--border); background: var(--bg); }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer-left p { margin-top: 12px; font-size: 13px; color: var(--text-muted); }
.footer-right { text-align: right; }
.footer-right p { font-size: 13px; color: var(--text-muted); }
.phone-large { font-size: 24px; font-weight: 800; color: var(--text-dark); text-decoration: none; display: block; margin-top: 8px; font-family: var(--font-heading); transition: var(--transition); }
.phone-large:hover { color: var(--primary); }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 24px; left: 24px; right: 24px; background: var(--card-bg); border: 1px solid var(--border); color: var(--text-dark); padding: 20px 32px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: space-between; gap: 20px; z-index: 9999; box-shadow: var(--shadow-lg); transform: translateY(180%); transition: var(--transition); max-width: 800px; margin: 0 auto; }
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { color: var(--text-muted); font-size: 14px; margin: 0; line-height: 1.5; }
.cookie-banner a { color: var(--primary); text-decoration: underline; }

/* Policy Consent & Modal */
.policy-consent { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 12px; }
.policy-consent a { color: var(--primary); text-decoration: underline; }

.policy-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 10000; display: none; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(8px); }
.policy-modal.active { display: flex; animation: fadeIn 0.3s forwards; }
.policy-modal-content { background: var(--card-bg); border: 1px solid var(--border); padding: 40px; border-radius: var(--radius-lg); max-width: 600px; width: 100%; max-height: 85vh; overflow-y: auto; position: relative; box-shadow: var(--shadow-lg); }
.close-policy { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 32px; cursor: pointer; color: var(--text-muted); transition: var(--transition); }
.close-policy:hover { color: var(--text-dark); }
.policy-text { margin-top: 24px; font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.zamer-modal-content { max-width: 480px; text-align: center; padding: 48px 32px; }
.zamer-modal-content h2 { font-size: 32px; line-height: 1.2; letter-spacing: -0.03em; margin-bottom: 12px; }

/* Premium Form Styles */
.premium-form { text-align: left; }
.premium-input { width: 100%; padding: 18px 24px; border-radius: var(--radius-md); border: 2px solid var(--border); background: var(--input-bg); font-size: 15px; margin-bottom: 16px; transition: var(--transition); color: var(--text-dark); outline: none; }
.premium-input:focus { border-color: var(--primary); background: white; box-shadow: 0 4px 20px var(--primary-glow); }
.premium-input::placeholder { color: #9CA3AF; }

.ms-title { font-size: 14px; font-weight: 700; color: var(--text-muted); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; font-family: var(--font-heading); }
.messenger-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.ms-option input { display: none; }
.ms-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px 8px; border-radius: var(--radius-md); border: 2px solid var(--border); background: var(--bg); cursor: pointer; transition: var(--transition); font-size: 12px; font-weight: 600; color: var(--text-muted); font-family: var(--font-heading); text-transform: uppercase; }
.ms-card svg { width: 24px; height: 24px; }
.ms-option:hover .ms-card { border-color: var(--text-muted); }
.ms-option input:checked + .ms-card { color: var(--text-dark); }
.ms-option input:checked + .ms-card.whatsapp { color: #25D366; border-color: #25D366; background: rgba(37, 211, 102, 0.05); }
.ms-option input:checked + .ms-card.telegram { color: #0088cc; border-color: #0088cc; background: rgba(0, 136, 204, 0.05); }
.ms-option input:checked + .ms-card.call { color: var(--primary); border-color: var(--primary); background: rgba(13, 122, 62, 0.05); }

/* Floating WA */
.floating-wa { position: fixed; bottom: 100px; right: 24px; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); z-index: 999; animation: pulse 2s infinite; transition: var(--transition); }
.floating-wa:hover { transform: scale(1.08); }

/* Floating Mobile CTA Sticky */
.mobile-cta-sticky {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 998;
  display: none;
  animation: slideUpCta 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpCta {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Burger Menu Trigger Button */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  cursor: pointer;
  z-index: 1001;
  transition: var(--transition);
}

.burger-menu span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Burger Animation to "X" */
.burger-menu.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-menu.open span:nth-child(2) {
  opacity: 0;
}

.burger-menu.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s;
}

.mobile-menu-overlay.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 80%;
  max-width: 320px;
}

.mobile-nav a {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu-overlay.open .mobile-nav a {
  animation: slideInMobileLink 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mobile-menu-overlay.open .mobile-nav a:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu-overlay.open .mobile-nav a:nth-child(2) { animation-delay: 0.15s; }
.mobile-menu-overlay.open .mobile-nav a:nth-child(3) { animation-delay: 0.2s; }
.mobile-menu-overlay.open .mobile-nav a:nth-child(4) { animation-delay: 0.25s; }
.mobile-menu-overlay.open .mobile-nav a:nth-child(5) { animation-delay: 0.3s; }
.mobile-menu-overlay.open .mobile-nav a:nth-child(6) { animation-delay: 0.35s; }
.mobile-menu-overlay.open .mobile-nav button { animation: slideInMobileLink 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; animation-delay: 0.4s; opacity: 0; }

@keyframes slideInMobileLink {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav a:hover {
  color: var(--primary);
  transform: scale(1.05);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .features-premium-grid { grid-template-columns: 1fr; gap: 16px; }
  .collections-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-premium { margin: 16px; min-height: 60vh; padding: 80px 0 120px; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .portfolio-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 32px; line-height: 1.15; }
  h2 { font-size: 26px; }
  .quiz-header h2 { font-size: 22px; }
  .desktop-nav { display: none; }
  
  /* Burger Menu display on mobile */
  .header { padding: 16px 0; }
  .header .btn { display: none !important; }
  .burger-menu { display: flex !important; }
  .logo { font-size: 18px; }
  .logo svg { width: 20px; height: 20px; }

  .collections-grid { grid-template-columns: 1fr; gap: 20px; }
  .collection-card img { height: 220px; }
  .cc-content { padding: 24px; }

  .hero-premium { margin: 12px; min-height: 50vh; padding: 60px 0 80px; border-radius: var(--radius-md); }
  .hero-premium-bg::after { background: radial-gradient(circle at 50% 50%, rgba(17, 24, 39, 0.6) 0%, rgba(17, 24, 39, 0.45) 100%) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .hero-premium-content h1 { font-size: 32px; margin-bottom: 16px; color: #FFFFFF !important; }
  .hero-premium-content p { font-size: 15px; margin-bottom: 24px; color: rgba(255, 255, 255, 0.85) !important; }
  .hero-badge-white { font-size: 11px; padding: 6px 14px; margin-bottom: 16px; background: rgba(255, 255, 255, 0.1) !important; color: #FFFFFF !important; border: 1px solid rgba(255, 255, 255, 0.25) !important; }

  /* Reduce overlap to prevent button collision */
  .features-premium { margin-top: -40px; padding-bottom: 40px; }
  .features-premium-grid { padding: 20px; border-radius: var(--radius-md); gap: 12px; }
  .feature-card { gap: 12px; padding: 8px; }
  .fc-icon { width: 48px; height: 48px; border-radius: 12px; font-size: 20px; }
  .fc-text h3 { font-size: 16px; margin-bottom: 4px; }
  .fc-text p { font-size: 13px; }

  .portfolio-grid, .reviews-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { width: 100%; }
  
  /* Section Spacing Adaptation */
  .collections-section { padding: 40px 0; }
  .quiz-section, .about-section, .contacts-section, .faq-section { padding: 40px 0; }
  .reviews { padding: 0 0 40px; }

  /* Mobile Quiz Engine */
  .quiz-layout { flex-direction: column; height: auto; gap: 16px; }
  .quiz-widget { height: auto; min-height: auto; }
  .quiz-master-sidebar { display: none; }
  
  .quiz-mobile-master {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 20px 12px;
    border-bottom: 1px solid var(--border);
    background: rgba(13, 122, 62, 0.03);
  }
  .mobile-master-profile { display: flex; align-items: center; gap: 10px; }
  .mobile-master-profile img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); }
  .mobile-master-profile div { display: flex; flex-direction: column; }
  .mobile-master-profile strong { font-size: 14px; color: var(--text-dark); }
  .mobile-master-profile span { font-size: 11px; color: var(--text-muted); }
  .mobile-master-bubble { font-size: 13px; line-height: 1.4; color: var(--text-dark); background: rgba(197, 168, 128, 0.04); border: 1px solid rgba(197, 168, 128, 0.2); padding: 10px 14px; border-radius: 12px; font-style: italic; }

  .quiz-body { padding: 20px; }
  .quiz-step h3 { font-size: 18px; margin-bottom: 16px; }
  .quiz-footer { padding: 16px 20px; }

  /* Horizontal scroll on mobile */
  .portfolio-horizontal { padding: 40px 0; }
  .horizontal-scroll-wrapper {
    height: auto !important;
    overflow-x: auto !important;
    display: block !important;
    padding: 20px 0 !important;
    -webkit-overflow-scrolling: touch;
  }
  .horizontal-scroll-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
    padding: 0 20px !important;
    width: max-content !important;
  }
  .horiz-card {
    width: 280px !important;
    max-width: 280px !important;
    flex-shrink: 0 !important;
  }
  .horiz-card img {
    height: 180px !important;
    min-height: auto !important;
  }
  .horiz-card .port-info {
    padding: 16px !important;
  }
  .horiz-card h4 {
    font-size: 16px !important;
    margin-bottom: 6px !important;
  }
  .horiz-card p {
    font-size: 13px !important;
  }

  /* Active state for sticky floating CTA */
  .mobile-cta-sticky.active {
    display: block;
  }

  /* About section mobile reflow: Image top, text bottom to eliminate contrast & overflow issues */
  .about-grid { gap: 16px; grid-template-columns: 1fr; }
  .main-card { grid-row: auto; }
  .about-card { display: flex; flex-direction: column; height: auto !important; }
  .about-card img { position: relative; height: 180px; width: 100%; object-fit: cover; }
  .about-card-content { position: relative; padding: 20px !important; background: var(--card-bg); color: var(--text) !important; min-height: auto !important; }
  .about-card-content h3 { color: var(--text-dark) !important; font-size: 18px !important; margin-bottom: 8px; }
  .about-card-content p { color: var(--text-muted) !important; font-size: 14px !important; line-height: 1.5; }
  .main-card .about-card-content { padding: 20px !important; min-height: auto !important; }
  .main-card .about-card-content h3 { font-size: 20px !important; }

  .review-card { padding: 24px; }
  
  .contacts-wrapper { flex-direction: column; }
  .contacts-form-box { padding: 24px 20px; }
  .contacts-form-box h2 { font-size: 26px; }
  .contacts-form-box p { margin-bottom: 20px; }
  .contacts-map-box { min-height: 300px; }

  .footer-content { flex-direction: column; align-items: flex-start; gap: 24px; padding: 24px; }
  .footer-right { text-align: left; }

  /* Floating WhatsApp on mobile */
  .floating-wa { bottom: 20px; right: 16px; width: 52px; height: 52px; box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }
  .floating-wa svg { width: 26px; height: 26px; }
}

@media (max-width: 480px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  
  /* Compact 2x2 grid for Option Images on Mobile */
  .quiz-options-image { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .radio-img-card img { height: 75px; }
  .radio-img-card span { padding: 8px; font-size: 13px; }

  /* Horizontal list rows for Messenger Options on Mobile */
  .messenger-options { grid-template-columns: 1fr !important; gap: 8px; }
  .msg-card { flex-direction: row; padding: 12px 20px; justify-content: flex-start; gap: 16px; }
  .msg-card svg { width: 24px; height: 24px; }
  .msg-card span { font-size: 15px; }

  .slider-value-display span { font-size: 38px; min-width: 60px; }
  .slider-container { margin: 24px auto 16px; }

  .cookie-banner { flex-direction: column; text-align: center; bottom: 10px; left: 10px; right: 10px; padding: 16px; }
  .cookie-banner .btn { width: 100%; }
}
