/* assets/style.css */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', system-ui, sans-serif; background: #f8fafc; color: #1e293b; line-height: 1.7; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
header { background: #fff; border-bottom: 1px solid #e2e8f0; padding: 12px 0; position: sticky; top: 0; z-index: 100; }
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 700; color: #1e40af; text-decoration: none; }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }
nav a { margin-left: 22px; color: #475569; text-decoration: none; font-weight: 500; }
nav a:hover { color: #1e40af; }
.hero { background: linear-gradient(160deg, #eff6ff 0%, #f8fafc 100%); padding: 90px 0 70px; text-align: center; }
.badge { display: inline-block; background: #dbeafe; color: #1e40af; padding: 6px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 16px; }
.hero h1 { font-size: 2.6rem; color: #1e3a8a; margin-bottom: 16px; line-height: 1.2; }
.hero p { font-size: 1.15rem; color: #475569; max-width: 700px; margin: 0 auto 24px; }
.btn { display: inline-block; background: #1e40af; color: #fff; padding: 14px 32px; border-radius: 8px; text-decoration: none; font-weight: 600; transition: background .2s; }
.btn:hover { background: #1e3a8a; }
.stats { display: flex; justify-content: center; gap: 40px; margin-top: 36px; }
.stats div { text-align: center; }
.stats strong { display: block; font-size: 1.8rem; color: #1e40af; }
.stats span { font-size: 0.9rem; color: #64748b; }
.section { padding: 60px 0; }
.section.alt { background: #fff; }
.section h2 { font-size: 1.9rem; color: #1e3a8a; text-align: center; margin-bottom: 30px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; }
.card h3 { color: #1e40af; margin-bottom: 10px; }
.city-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.city-links a { background: #eff6ff; color: #1e40af; padding: 8px 14px; border-radius: 6px; text-decoration: none; font-size: 0.9rem; }
.city-links a:hover { background: #dbeafe; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gallery img { width: 100%; height: 160px; object-fit: cover; border-radius: 10px; }
.cta { background: #1e40af; color: #fff; text-align: center; padding: 60px 0; }
.cta h2 { color: #fff; }
.cta .btn { background: #fff; color: #1e40af; margin-top: 16px; }
.city-page { padding: 40px 0; }
.city-page .featured { width: 100%; max-height: 380px; object-fit: cover; border-radius: 12px; margin-bottom: 24px; }
.city-page h1 { color: #1e3a8a; margin-bottom: 20px; }
.city-page h2 { color: #334155; margin: 28px 0 12px; font-size: 1.35rem; }
.city-page p { margin-bottom: 14px; }
footer { background: #f1f5f9; color: #475569; padding: 40px 0 20px; border-top: 1px solid #e2e8f0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-bottom: 24px; }
footer a { color: #1e40af; }
.copy { text-align: center; font-size: 0.85rem; border-top: 1px solid #e2e8f0; padding-top: 16px; color: #64748b; }
.dropdown { position: relative; display: inline-block; }
.dropdown-menu { display: none; position: absolute; background: #fff; min-width: 200px; box-shadow: 0 4px 12px rgba(0,0,0,.1); border-radius: 8px; padding: 8px 0; z-index: 200; }
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 8px 16px; margin: 0; color: #334155; }
.dropdown-menu a:hover { background: #eff6ff; }
.banner-rotator { position: relative; height: 280px; overflow: hidden; margin: 0 0 40px; border-radius: 0; }
.banner-slide { position: absolute; inset: 0; background-size: cover; background-position: center center; opacity: 0; transition: opacity 1s; display: flex; align-items: flex-end; }
.logo img { background: #fff; padding: 6px 10px; border-radius: 8px; height: 52px; width: auto; }
.banner-slide.active { opacity: 1; }
.banner-content { background: linear-gradient(transparent, rgba(0,0,0,.6)); width: 100%; padding: 30px; color: #fff; }
.banner-content h2 { color: #fff; margin-bottom: 10px; }
#ai-chat { position: fixed; right: 20px; bottom: 20px; width: 340px; background: #fff; border-radius: 14px; box-shadow: 0 6px 24px rgba(0,0,0,.15); z-index: 999; overflow: hidden; }
#ai-chat.minimized { height: 48px; width: auto; }
#ai-chat.minimized #ai-messages, #ai-chat.minimized #ai-form { display: none; }
.whatsapp-btn { position: fixed; left: 20px; bottom: 20px; background: #25d366; color: #fff; padding: 14px 20px; border-radius: 30px; text-decoration: none; font-weight: 600; z-index: 999; animation: pulse 2s infinite; box-shadow: 0 4px 12px rgba(37,211,102,.4); }
.agendar-btn { position: fixed; right: 20px; bottom: 400px; background: #1e40af; color: #fff; padding: 12px 18px; border-radius: 30px; text-decoration: none; font-weight: 600; z-index: 999; box-shadow: 0 4px 12px rgba(30,64,175,.3); }
#ai-chat { position: fixed; right: 20px; bottom: 20px; width: 340px; background: #fff; border-radius: 14px; box-shadow: 0 6px 24px rgba(0,0,0,.15); z-index: 999; overflow: hidden; transition: height .3s; }
#ai-chat.minimized { height: 48px; }
#ai-chat.minimized #ai-messages, #ai-chat.minimized #ai-form { display: none; }
.ai-header { background: #1e40af; color: #fff; padding: 12px 16px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.ai-header button { background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; }
#ai-messages { height: 260px; overflow-y: auto; padding: 12px; font-size: 0.9rem; }
#ai-messages .user { text-align: right; margin: 8px 0; color: #1e40af; }
#ai-messages .bot { background: #f1f5f9; padding: 10px; border-radius: 8px; margin: 8px 0; }
#ai-suggestions { padding: 8px; display: flex; flex-wrap: wrap; gap: 6px; max-height: 120px; overflow-y: auto; }
#ai-suggestions button { background: #eff6ff; color: #1e40af; border: none; padding: 6px 10px; border-radius: 16px; font-size: 0.75rem; cursor: pointer; }
#ai-suggestions button:hover { background: #dbeafe; }
#ai-chat.minimized #ai-suggestions { display: none; }
#ai-input { flex: 1; border: none; padding: 12px; outline: none; }
#ai-form button { background: #1e40af; color: #fff; border: none; padding: 12px 16px; cursor: pointer; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 20px; border-bottom: 1px solid #e2e8f0; }
    nav.open { display: flex; }
    nav a { margin: 10px 0; }
    .hero h1 { font-size: 1.9rem; }
    .stats { flex-direction: column; gap: 16px; }
    #ai-chat { width: calc(100% - 40px); right: 20px; }
    .agendar-btn { bottom: 360px; right: 20px; }
}
