:root { --accent: #d4af37; --primary: #3a0d0d; --glass: rgba(255, 255, 255, 0.95); --dark-bg: #1a0505; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #1e2937; line-height: 1.6; overflow-x: hidden; }
#bodyobject_main { background: var(--dark-bg); position: fixed; top: 0; left: 0; width: 100%; height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 9999; transition: opacity 0.5s ease; }
@keyframes heartbeat { 0% { transform: scale(1); } 14% { transform: scale(1.3); } 28% { transform: scale(1); } 42% { transform: scale(1.3); } 70% { transform: scale(1); } }
#bodyobject_main img { animation: heartbeat 1.5s infinite; max-width: 200px; margin-bottom: 20px; }
.preloader-text { color: var(--accent); font-size: 1.5rem; font-weight: bold; letter-spacing: 3px; animation: fadeInOut 1.5s infinite; text-align: center; }
@keyframes fadeInOut { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
header { position: sticky; top: 0; backdrop-filter: blur(20px); background: rgba(58, 13, 13, 0.95); border-bottom: 2px solid var(--accent); z-index: 1000; padding: 1rem 0; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
header.shrink { padding: 0.3rem 0; }
nav { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 2rem; }
.logo-title { display: flex; flex-direction: column; align-items: center; gap: 5px; transition: all 0.3s; flex-grow: 1; }
.header-logo-img { height: 90px; transition: all 0.3s; }
.header-title { color: var(--accent); font-size: 2rem; line-height: 1.1; margin: 0; text-transform: uppercase; letter-spacing: 2px; text-align: center; transition: all 0.3s; }
header.shrink .logo-title { flex-direction: row; justify-content: flex-start; gap: 15px; }
header.shrink .header-logo-img { height: 40px; }
header.shrink .header-title { font-size: 1.3rem; margin: 0; }
.lang-select { appearance: none; -webkit-appearance: none; -moz-appearance: none; background-color: rgba(255, 255, 255, 0.05); color: var(--accent); border: 1px solid var(--accent); padding: 8px 36px 8px 16px; font-size: 1rem; font-weight: 700; border-radius: 8px; cursor: pointer; outline: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d4af37'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 10px center; background-size: 20px; transition: 0.3s; font-family: inherit; }
.lang-select:hover { background-color: rgba(212, 175, 55, 0.1); }
.lang-select option { background-color: var(--primary); color: var(--accent); font-weight: bold; }
.marquee-text { color: var(--accent); font-size: 1.1em; padding: 8px 0; }
.hero { min-height: 100vh; display: flex; align-items: center; background: linear-gradient(135deg, #3a0d0d 0%, #1a0505 100%); color: white; padding-top: 2rem; }
.hero-content { max-width: 1280px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.hero-h1 { font-size: 3rem; line-height: 1.1; margin-bottom: 1rem; color: var(--accent); }
.hero-p { font-size: 1.25rem; opacity: 0.95; margin-bottom: 2rem; color: #f8fafc; }
.hero-img-container { text-align: center; }
.hero-logo-img { width: 100%; max-width: 320px; filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.4)); }
.section { max-width: 1280px; margin: 0 auto; padding: 5rem 2rem; }
.section-light { background: #f8fafc; padding: 4rem 2rem; }
.section-title { font-size: 2.3rem; color: var(--primary); text-align: center; margin-bottom: 2rem; text-transform: uppercase; line-height: 1.2; }
.section-text { font-size: 1.2rem; text-align: center; margin-bottom: 2rem; }
.glass { background: var(--glass); backdrop-filter: blur(24px); border-radius: 24px; border: 1px solid rgba(212, 175, 55, 0.4); box-shadow: 0 20px 40px -10px rgba(58, 13, 13, 0.15); padding: 3rem; }
.btn { background: var(--accent); color: var(--primary); padding: 15px 36px; border-radius: 9999px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: .3s; font-size: 1.2rem; border: 2px solid var(--accent); cursor: pointer; }
.btn:hover { background: transparent; color: var(--accent); transform: translateY(-4px); }
.btn-hero { background: transparent; color: var(--accent); }
.btn-hero:hover { background: var(--accent); color: var(--primary); }
.whatsapp-btn { background: #25D366 !important; color: white !important; border-color: #25D366 !important; padding: 15px 36px; font-size: 1.2rem; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
.whatsapp-btn:hover { background: white !important; color: #25D366 !important; border-color: #25D366 !important; transform: translateY(-4px); }
.slider { max-width: 1200px; margin: 30px auto; overflow: hidden; border-radius: 16px; position: relative; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12); border: 2px solid var(--accent); }
.slider-track { display: flex; transition: transform 0.6s cubic-bezier(0.32, 0.72, 0, 1); }
.slider-item { min-width: 100%; position: relative; }
.slider-item img { width: 100%; height: 460px; object-fit: cover; }
.slider-caption { position: absolute; bottom: 20px; left: 20px; right: 20px; background: rgba(58, 13, 13, 0.85); color: var(--accent); padding: 10px 20px; border-radius: 8px; font-size: 1.15rem; border: 1px solid var(--accent); text-align: center; pointer-events: none; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(58, 13, 13, 0.8); color: var(--accent); border: 1px solid var(--accent); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; z-index: 100; transition: 0.3s; pointer-events: auto; }
.slider-arrow:hover { background: var(--primary); color: var(--accent); }
.slider-arrow.left { left: 10px; }
.slider-arrow.right { right: 10px; }
.docs-wrapper { max-width: 900px; margin: 30px auto; }
details { background: #fff; border: 1px solid var(--accent); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); }
summary { padding: 15px 20px; background: var(--primary); color: var(--accent); font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem; }
summary::after { content: '▼'; font-size: 14px; transition: 0.3s; }
details[open] summary::after { content: '▲'; }
.file-list-container { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--accent); }
.file-link { display: flex; align-items: center; background: white; padding: 12px 20px; text-decoration: none; color: #333; transition: 0.2s; word-break: break-all; }
.file-link:hover { background: #fdfaf2; }
.icon { font-size: 24px; margin-right: 12px; }
.pdf { color: #e74c3c; } .word { color: #2b579a; } .image { color: #27ae60; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card { padding: 2rem 1.5rem; text-align: center; }
.card-title { color: var(--primary); margin-bottom: 1rem; font-size: 1.4rem; }
.card-text { color: #4a5568; font-size: 1.1rem; }
.reviews-container { padding: 2rem; }
.review { margin-bottom: 2rem; }
.review:last-child { margin-bottom: 0; }
.stars { color: var(--accent); font-size: 1.5rem; margin-bottom: 10px; }
.contacts-wrapper { max-width: 700px; margin: 0 auto; text-align: center; }
.addr-text { font-size: 1.1rem; padding: 0 10px; }
.phone-number { font-size: 2rem; margin: 1rem 0; color: var(--primary); font-weight: 700; word-break: break-word; }
.contacts-btns { display: flex; flex-direction: column; gap: 1rem; align-items: center; margin-bottom: 2rem; }
.map-links { margin-bottom: 1rem; display: flex; flex-direction: column; gap: 10px; }
.map-container { border-radius: 12px; overflow: hidden; border: 1px solid var(--accent); }
.to-top-btn { position: fixed; bottom: 30px; left: 30px; z-index: 9998; background: var(--primary); color: var(--accent); border: 2px solid var(--accent); border-radius: 50%; width: 50px; height: 50px; display: flex; justify-content: center; align-items: center; cursor: pointer; opacity: 0; pointer-events: none; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.to-top-btn.visible { opacity: 1; pointer-events: auto; }
.to-top-btn:hover { background: var(--accent); color: var(--primary); transform: translateY(-5px); }
#ai-widget { position: fixed; bottom: 30px; right: 30px; z-index: 9998; font-family: -apple-system, sans-serif; display: flex; flex-direction: column; align-items: flex-end; }
.chat-toggle-btn { background: linear-gradient(135deg, var(--accent), #f1d570); color: var(--primary); border: none; border-radius: 50px; padding: 14px 24px; box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4); cursor: pointer; display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 1.1rem; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); position: relative; overflow: hidden; }
.chat-toggle-btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); transition: left 0.5s; }
.chat-toggle-btn:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(212, 175, 55, 0.6); }
.chat-toggle-btn:hover::before { left: 100%; }
.chat-toggle-icon { font-size: 1.5rem; }
#chat-window { visibility: hidden; opacity: 0; transform: scale(0.9) translateY(20px); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 350px; max-width: calc(100vw - 40px); height: 450px; background: white; border-radius: 16px; box-shadow: 0 15px 40px rgba(0,0,0,0.3); margin-bottom: 15px; overflow: hidden; display: flex; flex-direction: column; border: 2px solid var(--accent); transform-origin: bottom right; }
#chat-window.show { visibility: visible; opacity: 1; transform: scale(1) translateY(0); }
.chat-header { background: var(--primary); color: var(--accent); padding: 15px; font-weight: bold; text-align: center; border-bottom: 2px solid var(--accent); font-size: 1.1rem; }
#chat-messages { flex: 1; padding: 15px; overflow-y: auto; background: #fdfaf2; display: flex; flex-direction: column; }
.chat-input-wrapper { padding: 12px; border-top: 1px solid var(--accent); display: flex; background: white; gap: 8px; }
.chat-input-wrapper input { flex: 1; padding: 12px 15px; border: 1px solid #ccc; border-radius: 24px; outline: none; background: #f8fafc; transition: 0.3s; font-size: 0.95rem; }
.chat-input-wrapper input:focus { border-color: var(--accent); background: white; }
.chat-send-btn { background: var(--primary); color: var(--accent); border: none; border-radius: 50%; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; cursor: pointer; transition: .3s; }
.chat-send-btn:hover { background: var(--accent); color: var(--primary); transform: scale(1.05); }
.ai-msg { margin-bottom: 12px; padding: 12px 16px; border-radius: 12px; max-width: 85%; line-height: 1.4; font-size: 0.95rem; word-wrap: break-word; }
.ai-msg.user { background: var(--accent); color: var(--primary); margin-left: auto; font-weight: 500; border-bottom-right-radius: 4px; }
.ai-msg.bot { background: var(--primary); color: var(--accent); margin-right: auto; border-bottom-left-radius: 4px; }
.chat-btn-group { margin-top: 10px; display: flex; gap: 10px; flex-wrap: wrap; }
.chat-link-btn { padding: 8px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.9rem; display: inline-block; transition: 0.2s; }
.chat-link-btn.wa { background: #25D366; color: white; border: 1px solid #25D366; }
.chat-link-btn.wa:hover { background: white; color: #25D366; }
.chat-link-btn.em { background: var(--primary); color: var(--accent); border: 1px solid var(--primary); }
.chat-link-btn.em:hover { background: white; color: var(--primary); }
.typing-dots { padding: 10px 15px; color: #555; font-size: 14px; }
.typing-dot { display: inline-block; width: 6px; height: 6px; background: var(--primary); border-radius: 50%; margin: 0 2px; animation: smoothScale 1.4s infinite ease-in-out; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
footer { background: var(--dark-bg); color: #e2e8f0; padding: 4rem 2rem 1.5rem; border-top: 2px solid var(--accent); }
.footer-container { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-bottom: 3rem; }
.footer-brand h3 { color: var(--accent); margin: 1.5rem 0 0.5rem; font-size: 1.4rem; }
.footer-logo { max-width: 140px; filter: drop-shadow(0 0 10px rgba(212,175,55,0.2)); }
.director-text { font-weight: 500; color: #cbd5e1; }
.footer-contacts { display: flex; flex-direction: column; gap: 12px; }
.footer-contacts h4 { color: var(--accent); margin-bottom: 1rem; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-btn { background: rgba(255,255,255,0.05); color: var(--accent); text-decoration: none; padding: 12px 20px; border-radius: 8px; border: 1px solid rgba(212,175,55,0.3); transition: 0.3s; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.05rem; }
.footer-btn:hover { background: var(--accent); color: var(--primary); border-color: var(--accent); transform: translateY(-2px); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(212,175,55,0.2); font-size: 0.95rem; color: #94a3b8; }
@media(max-width: 768px) {
    nav { padding: 1rem; flex-direction: column; gap: 10px; }
    .logo-title { flex-direction: column; width: 100%; }
    .header-title { font-size: 1.6rem; }
    header.shrink nav { flex-direction: row; }
    header.shrink .logo-title { flex-direction: row; justify-content: space-between; }
    header.shrink .header-title { font-size: 1rem; margin-left: auto; text-align: right; }
    header.shrink .lang-select { padding: 6px 24px 6px 10px; font-size: 0.85rem; }
    .hero-content { grid-template-columns: 1fr; text-align: center; padding: 0 1rem; margin-top: 2rem; }
    .hero-h1 { font-size: 2.2rem; }
    .hero-p { font-size: 1.1rem; }
    .section { padding: 3rem 1rem; }
    .section-title { font-size: 1.8rem; }
    .glass { padding: 1.5rem; border-radius: 16px; }
    .slider-item img { height: 280px; }
    .slider-caption { font-size: 0.95rem; padding: 8px 12px; bottom: 10px; left: 10px; right: 10px; }
    .phone-number { font-size: 1.5rem; }
    .to-top-btn { bottom: 15px; left: 15px; width: 45px; height: 45px; }
    #ai-widget { right: 15px; bottom: 15px; }
    .chat-toggle-btn { font-size: 1rem; padding: 10px 18px; }
    #chat-window { max-width: calc(100vw - 30px); height: 400px; }
    .footer-container { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
    .footer-contacts { align-items: center; }
    .footer-btn { width: 100%; justify-content: center; max-width: 300px; }
}
