:root {
      --primary: #0d9488;
      --primary-dark: #0f766e;
      --primary-light: #14b8a6;
      --accent: #f59e0b;
      --text: #0f172a;
      --text-light: #64748b;
      --bg: #ffffff;
      --bg-light: #f8fafc;
      --bg-dark: #0f172a;
      --border: #e2e8f0;
      --danger: #ef4444;
      --success: #10b981;
      --gradient: linear-gradient(135deg, var(--primary) 0%, #0ea5e9 100%);
      --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
      --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.15);
      --radius: 12px;
      --radius-lg: 20px;
      --transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { font-family: 'Cairo', sans-serif; color: var(--text); background: var(--bg); overflow-x: hidden; line-height: 1.7; }
    html[lang="en"] { direction: ltr; }
    h1,h2,h3,h4,h5 { font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.3; }
    a { text-decoration: none; color: inherit; transition: var(--transition); }
    img { max-width: 100%; height: auto; }
    .hidden-lang { display: none !important; }
    .container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
    .section { padding: 100px 0; }
    .text-center { text-align: center; }
    .text-gradient { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

    /* Buttons */
    .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 32px; border-radius: 50px; font-weight: 700; font-size: 16px; cursor: pointer; border: none; transition: var(--transition); font-family: inherit; }
    .btn-primary { background: var(--gradient); color: white; box-shadow: 0 4px 15px rgba(13,148,136,0.4); }
    .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(13,148,136,0.5); }
    .btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
    .btn-outline:hover { background: var(--primary); color: white; }
    .btn-white { background: white; color: var(--primary); box-shadow: var(--shadow-lg); }
    .btn-white:hover { transform: translateY(-3px); }

    /* Navigation */
    .navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 20px 0; transition: var(--transition); }
    .navbar.scrolled { background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); box-shadow: var(--shadow); padding: 15px 0; }
    .navbar .container { display: flex; justify-content: space-between; align-items: center; }
    .nav-logo { font-size: 28px; font-weight: 900; color: white; display: flex; align-items: center; gap: 12px; }
    .navbar.scrolled .nav-logo { color: var(--primary); }
    .nav-menu { display: flex; gap: 8px; list-style: none; align-items: center; }
    .nav-menu a, .nav-menu button { padding: 12px 20px; font-weight: 600; color: rgba(255,255,255,0.9); background: none; border: none; cursor: pointer; transition: var(--transition); font-size: 15px; border-radius: 8px; font-family: inherit; }
    .navbar.scrolled .nav-menu a, .navbar.scrolled .nav-menu button { color: var(--text); }
    .nav-menu a:hover, .nav-menu button:hover { background: rgba(255,255,255,0.15); }
    .navbar.scrolled .nav-menu a:hover, .navbar.scrolled .nav-menu button:hover { background: var(--bg-light); color: var(--primary); }
    .nav-menu .btn-book { background: var(--accent); color: var(--bg-dark) !important; padding: 12px 24px; border-radius: 50px; font-weight: 700; }
    .nav-menu .btn-book:hover { background: #e68a00; transform: scale(1.05); }
    .nav-right { display: flex; align-items: center; gap: 15px; }
    .lang-toggle { width: 45px; height: 45px; border-radius: 50%; background: rgba(255,255,255,0.15); color: white; border: none; cursor: pointer; font-weight: 700; font-size: 14px; transition: var(--transition); }
    .navbar.scrolled .lang-toggle { background: var(--bg-light); color: var(--text); }
    .mobile-toggle { display: none; width: 45px; height: 45px; border-radius: 10px; background: rgba(255,255,255,0.15); color: white; border: none; cursor: pointer; font-size: 20px; align-items: center; justify-content: center; }
    .navbar.scrolled .mobile-toggle { background: var(--bg-light); color: var(--text); }

    @media (max-width: 1024px) {
      .mobile-toggle { display: flex; }
      .nav-menu { position: fixed; top: 0; right: -100%; width: 80%; max-width: 400px; height: 100vh; background: var(--bg-dark); flex-direction: column; padding: 100px 30px 30px; gap: 10px; transition: var(--transition); z-index: 999; }
      .nav-menu.open { right: 0; }
      .nav-menu a, .nav-menu button { color: white !important; width: 100%; text-align: center; padding: 15px; }
      .nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transition: var(--transition); z-index: 998; }
      .nav-overlay.open { opacity: 1; visibility: visible; }
    }

    /* Hero */
    .hero { min-height: 100vh; position: relative; display: flex; align-items: center; overflow: hidden; }
    .hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1920') center/cover; }
    .hero-bg::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(13,148,136,0.9) 0%, rgba(15,23,42,0.95) 100%); }
    .hero-content { position: relative; z-index: 10; max-width: 800px; color: white; padding: 0 20px; }
    .hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); padding: 10px 20px; border-radius: 50px; font-size: 14px; font-weight: 600; margin-bottom: 30px; }
    .hero-title { font-size: clamp(40px, 7vw, 72px); font-weight: 700; margin-bottom: 25px; line-height: 1.1; }
    .hero-subtitle { font-size: clamp(18px, 2.5vw, 22px); opacity: 0.9; margin-bottom: 40px; line-height: 1.8; }
    .hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }
    .hero-stats { position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%); display: flex; gap: 60px; z-index: 10; }
    .hero-stat { text-align: center; color: white; }
    .hero-stat-number { font-size: 48px; font-weight: 900; display: block; line-height: 1; }
    .hero-stat-label { font-size: 14px; opacity: 0.8; margin-top: 5px; }

    @media (max-width: 768px) { .hero-stats { gap: 30px; bottom: 50px; } .hero-stat-number { font-size: 32px; } }

    /* Search Box */
    .search-box { background: white; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg); margin-top: -80px; position: relative; z-index: 20; }
    .search-form { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 20px; align-items: end; }
    .search-field { display: flex; flex-direction: column; gap: 8px; }
    .search-field label { font-size: 13px; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }
    .search-field select, .search-field input { padding: 15px 20px; border: 2px solid var(--border); border-radius: var(--radius); font-size: 15px; font-family: inherit; transition: var(--transition); background: var(--bg-light); }
    .search-field select:focus, .search-field input:focus { outline: none; border-color: var(--primary); background: white; }
    .search-btn { height: 55px; padding: 0 40px; }

    @media (max-width: 1024px) { .search-form { grid-template-columns: repeat(2, 1fr); } .search-btn { grid-column: span 2; } }
    @media (max-width: 600px) { .search-form { grid-template-columns: 1fr; } .search-btn { grid-column: span 1; } }

    /* Features */
    .features { background: var(--bg-light); }
    .features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
    .feature-card { background: white; padding: 40px 30px; border-radius: var(--radius-lg); text-align: center; transition: var(--transition); border: 1px solid var(--border); }
    .feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
    .feature-icon { width: 80px; height: 80px; background: var(--gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 25px; font-size: 32px; color: white; }
    .feature-title { font-size: 20px; margin-bottom: 15px; font-family: 'Cairo', sans-serif; font-weight: 700; }
    .feature-desc { color: var(--text-light); font-size: 15px; }

    @media (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

    /* Properties */
    .section-title { font-size: clamp(32px, 5vw, 48px); margin-bottom: 20px; }
    .section-subtitle { font-size: 18px; color: var(--text-light); max-width: 600px; margin-bottom: 50px; }
    .properties-header { display: flex; justify-content: space-between; align-items: end; margin-bottom: 50px; flex-wrap: wrap; gap: 20px; }
    .properties-filters { display: flex; gap: 10px; flex-wrap: wrap; }
    .filter-btn { padding: 12px 24px; border: 2px solid var(--border); border-radius: 50px; background: white; font-weight: 600; cursor: pointer; transition: var(--transition); font-family: inherit; }
    .filter-btn:hover, .filter-btn.active { border-color: var(--primary); background: var(--primary); color: white; }

    .property-card { background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
    .property-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
    .property-image { position: relative; height: 250px; overflow: hidden; }
    .property-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
    .property-card:hover .property-image img { transform: scale(1.1); }
    .property-badge { position: absolute; top: 15px; right: 15px; background: var(--primary); color: white; padding: 6px 14px; border-radius: 50px; font-size: 12px; font-weight: 700; }
    .property-badge.featured { background: var(--accent); }
    .property-favorite { position: absolute; top: 15px; left: 15px; width: 40px; height: 40px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); box-shadow: var(--shadow); }
    .property-favorite:hover { background: var(--danger); color: white; }
    .property-content { padding: 25px; }
    .property-price { font-size: 28px; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
    .property-price span { font-size: 14px; font-weight: 500; color: var(--text-light); }
    .property-title { font-size: 20px; margin-bottom: 15px; font-family: 'Cairo', sans-serif; font-weight: 700; }
    .property-location { display: flex; align-items: center; gap: 8px; color: var(--text-light); font-size: 14px; margin-bottom: 20px; }
    .property-features { display: flex; gap: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
    .property-feature { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-light); }
    .property-feature i { color: var(--primary); }
    .property-actions { display: flex; gap: 10px; margin-top: 20px; }
    .property-actions .btn { flex: 1; padding: 12px; font-size: 14px; }

    .swiper-pagination-bullet { width: 12px; height: 12px; background: var(--primary); opacity: 0.3; }
    .swiper-pagination-bullet-active { opacity: 1; width: 30px; border-radius: 6px; }

    /* About */
    .about { background: var(--bg-dark); color: white; position: relative; overflow: hidden; }
    .about::before { content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: var(--gradient); opacity: 0.1; clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%); }
    .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
    .about-image { position: relative; }
    .about-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
    .about-image-badge { position: absolute; bottom: -30px; right: -30px; background: var(--gradient); color: white; padding: 30px; border-radius: var(--radius-lg); text-align: center; }
    .about-image-badge .number { font-size: 48px; font-weight: 900; display: block; }
    .about-content .section-title { color: white; }
    .about-content .section-subtitle { color: rgba(255,255,255,0.7); }
    .about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 40px; }
    .about-feature { display: flex; gap: 15px; }
    .about-feature-icon { width: 50px; height: 50px; background: rgba(255,255,255,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--primary-light); flex-shrink: 0; }
    .about-feature-title { font-weight: 700; margin-bottom: 5px; font-family: 'Cairo', sans-serif; }
    .about-feature-desc { font-size: 14px; color: rgba(255,255,255,0.6); }

    @media (max-width: 1024px) { .about-grid { grid-template-columns: 1fr; gap: 50px; } .about-image-badge { right: 20px; bottom: -20px; } }

    /* Areas */
    .areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .area-card { position: relative; height: 300px; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; }
    .area-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
    .area-card:hover img { transform: scale(1.1); }
    .area-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px 20px; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%); color: white; transition: var(--transition); }
    .area-card:hover .area-overlay { background: linear-gradient(to top, var(--primary) 0%, transparent 100%); }
    .area-name { font-size: 22px; font-weight: 700; margin-bottom: 5px; font-family: 'Cairo', sans-serif; }
    .area-count { font-size: 14px; opacity: 0.9; }

    @media (max-width: 1024px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 600px) { .areas-grid { grid-template-columns: 1fr; } .area-card { height: 200px; } }

    /* CTA */
    .cta { background: var(--gradient); padding: 100px 0; text-align: center; color: white; position: relative; overflow: hidden; }
    .cta-content { position: relative; z-index: 10; }
    .cta-title { font-size: clamp(32px, 5vw, 48px); margin-bottom: 20px; }
    .cta-subtitle { font-size: 18px; opacity: 0.9; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
    .cta-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

    /* Contact */
    .contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
    .contact-info { background: var(--bg-dark); color: white; padding: 50px; border-radius: var(--radius-lg); }
    .contact-info .section-title { color: white; font-size: 32px; }
    .contact-details { margin-top: 40px; }
    .contact-item { display: flex; gap: 20px; margin-bottom: 30px; }
    .contact-icon { width: 60px; height: 60px; background: rgba(255,255,255,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--primary-light); flex-shrink: 0; }
    .contact-label { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 5px; }
    .contact-value { font-size: 18px; font-weight: 600; }
    .contact-value a { color: white; }
    .contact-value a:hover { color: var(--primary-light); }
    .contact-social { display: flex; gap: 15px; margin-top: 40px; }
    .social-link { width: 50px; height: 50px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: white; transition: var(--transition); }
    .social-link:hover { background: var(--primary); transform: translateY(-5px); }

    .contact-form-wrapper { background: white; padding: 50px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
    .form-title { font-size: 28px; margin-bottom: 30px; font-family: 'Cairo', sans-serif; }
    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .form-group { margin-bottom: 20px; }
    .form-group.full-width { grid-column: span 2; }
    .form-group label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--text); }
    .form-group input, .form-group select, .form-group textarea { width: 100%; padding: 15px 20px; border: 2px solid var(--border); border-radius: var(--radius); font-size: 15px; font-family: inherit; transition: var(--transition); }
    .form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
    .form-group textarea { resize: vertical; min-height: 120px; }

    @media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; } .form-group.full-width { grid-column: span 1; } }

    /* Footer */
    .footer { background: var(--bg-dark); color: white; padding: 80px 0 30px; }
    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 60px; }
    .footer-logo { font-size: 28px; font-weight: 900; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; color: white; }
    .footer-desc { color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 25px; }
    .footer-title { font-size: 18px; font-weight: 700; margin-bottom: 25px; font-family: 'Cairo', sans-serif; }
    .footer-links { list-style: none; }
    .footer-links li { margin-bottom: 12px; }
    .footer-links a { color: rgba(255,255,255,0.6); transition: var(--transition); }
    .footer-links a:hover { color: var(--primary-light); padding-right: 10px; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
    .footer-copyright { color: rgba(255,255,255,0.6); }

    @media (max-width: 1024px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

    /* Loading */
    .loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-dark); display: flex; align-items: center; justify-content: center; z-index: 9999; transition: opacity 0.5s, visibility 0.5s; }
    .loader.hidden { opacity: 0; visibility: hidden; }
    .loader-content { text-align: center; color: white; }
    .loader-logo { font-size: 36px; font-weight: 900; margin-bottom: 30px; display: flex; align-items: center; justify-content: center; gap: 15px; }
    .loader-spinner { width: 50px; height: 50px; border: 3px solid rgba(255,255,255,0.1); border-top-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto; }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* Back to Top */
    .back-to-top { position: fixed; bottom: 100px; right: 25px; width: 50px; height: 50px; background: white; color: var(--primary); border: none; border-radius: 50%; cursor: pointer; font-size: 20px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999; }
    .back-to-top.visible { opacity: 1; visibility: visible; }
    .back-to-top:hover { background: var(--primary); color: white; transform: translateY(-5px); }

    /* ===== SARA CHAT WIDGET ===== */
    .chat-widget { position: fixed; bottom: 25px; right: 25px; z-index: 1000; }
    .chat-btn { width: 65px; height: 65px; border-radius: 50%; background: var(--gradient); color: white; border: none; cursor: pointer; font-size: 26px; box-shadow: 0 4px 20px rgba(13,148,136,0.4); transition: var(--transition); display: flex; align-items: center; justify-content: center; }
    .chat-btn:hover { transform: scale(1.1); }
    .chat-badge { position: absolute; top: -5px; right: -5px; width: 22px; height: 22px; background: var(--danger); color: white; border-radius: 50%; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
    
    .chat-popup { position: fixed; bottom: 100px; right: 25px; width: 380px; background: white; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); overflow: hidden; z-index: 1001; display: none; }
    .chat-popup.open { display: block; animation: slideUp 0.3s ease; }
    @keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
    
    .chat-header { background: var(--gradient); color: white; padding: 18px 20px; display: flex; align-items: center; gap: 12px; }
    .chat-avatar { width: 50px; height: 50px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; }
    .chat-info { flex: 1; }
    .chat-info h4 { margin: 0 0 3px 0; font-size: 17px; font-family: 'Cairo', sans-serif; }
    .chat-info span { font-size: 13px; opacity: 0.9; display: flex; align-items: center; gap: 6px; }
    .chat-online { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; }
    .chat-close { background: rgba(255,255,255,0.2); border: none; color: white; width: 36px; height: 36px; border-radius: 50%; font-size: 18px; cursor: pointer; transition: var(--transition); }
    .chat-close:hover { background: rgba(255,255,255,0.3); }
    
    .chat-messages { height: 320px; overflow-y: auto; padding: 20px; background: #f1f5f9; display: flex; flex-direction: column; gap: 15px; }
    .chat-msg { display: flex; gap: 10px; max-width: 85%; animation: msgFade 0.3s ease; }
    @keyframes msgFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
    .chat-msg.bot { align-self: flex-start; }
    .chat-msg.user { align-self: flex-end; flex-direction: row-reverse; }
    .chat-msg .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
    .chat-msg.user .avatar { background: #64748b; color: white; }
    .chat-msg .text { background: white; padding: 12px 16px; border-radius: 18px; border-top-left-radius: 4px; font-size: 14px; line-height: 1.5; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
    .chat-msg.user .text { background: var(--gradient); color: white; border-radius: 18px; border-top-right-radius: 4px; }
    
    .chat-typing { display: flex; gap: 4px; padding: 12px 16px; background: white; border-radius: 18px; width: fit-content; }
    .chat-typing span { width: 8px; height: 8px; background: #94a3b8; border-radius: 50%; animation: bounce 1.4s infinite; }
    .chat-typing span:nth-child(2) { animation-delay: 0.2s; }
    .chat-typing span:nth-child(3) { animation-delay: 0.4s; }
    @keyframes bounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-6px); } }
    
    .chat-quick { padding: 12px 20px; background: white; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 8px; }
    .chat-quick button { padding: 8px 16px; background: var(--bg-light); border: 1px solid var(--border); border-radius: 20px; font-size: 13px; cursor: pointer; transition: var(--transition); font-family: inherit; }
    .chat-quick button:hover { border-color: var(--primary); color: var(--primary); background: rgba(13,148,136,0.1); }
    
    .chat-input { display: flex; gap: 10px; padding: 15px 20px; background: white; border-top: 1px solid var(--border); }
    .chat-input input { flex: 1; padding: 12px 18px; border: 2px solid var(--border); border-radius: 25px; font-size: 14px; font-family: inherit; }
    .chat-input input:focus { outline: none; border-color: var(--primary); }
    .chat-input button { width: 46px; height: 46px; background: var(--gradient); color: white; border: none; border-radius: 50%; cursor: pointer; font-size: 18px; transition: var(--transition); }
    .chat-input button:hover { transform: scale(1.05); }
    
    @media (max-width: 480px) { .chat-popup { width: calc(100% - 20px); right: 10px; bottom: 100px; } }

/* ===== v51 additions (no inline styles: required by the strict CSP) ===== */
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section-subtitle.centered { margin: 0 auto 50px; }
.properties-swiper { padding-bottom: 60px; }
.properties-swiper[hidden], .empty-state[hidden] { display: none !important; }
.empty-state { text-align: center; color: var(--text-light); padding: 40px; }
.empty-state .empty-icon { font-size: 48px; color: var(--border); display: block; margin-bottom: 15px; }
.empty-state .btn { margin-top: 20px; }
.property-image .no-photo { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--bg-light); color: var(--border); font-size: 56px; }
.photo-count { position: absolute; bottom: 10px; left: 10px; background: rgba(0,0,0,0.7); color: #fff; padding: 4px 8px; border-radius: 4px; font-size: 12px; }
.property-favorite { border: none; font-size: 16px; color: var(--text); }
.property-favorite.active { background: var(--danger); color: #fff; }
.property-desc { color: var(--text-light); font-size: 14px; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.property-features { flex-wrap: wrap; }
.area-card { border: none; padding: 0; text-align: inherit; font: inherit; color: inherit; width: 100%; display: block; }
.area-card:focus-visible, .filter-btn:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn-outline-light { border-color: #fff; color: #fff; }
.btn-full { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-status { margin-top: 15px; padding: 15px; border-radius: var(--radius); font-weight: 600; }
.form-status[hidden] { display: none; }
.form-status.ok { background: #d1fae5; color: #065f46; }
.form-status.err { background: #fee2e2; color: #991b1b; }
.form-status .btn { margin-top: 12px; padding: 10px 18px; font-size: 14px; }
.selected-property { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: rgba(13,148,136,0.08); border: 1px solid var(--primary); border-radius: var(--radius); padding: 10px 15px; margin-bottom: 20px; font-weight: 600; }
.selected-property[hidden] { display: none; }
.selected-property button { background: none; border: none; cursor: pointer; color: var(--text-light); font-size: 16px; }
.results-note { color: var(--text-light); font-size: 14px; margin: -30px 0 20px; }
.results-note button { background: none; border: none; color: var(--primary); font-weight: 700; cursor: pointer; font-family: inherit; text-decoration: underline; }

/* Chat */
.chat-msg .text { white-space: pre-line; word-break: break-word; }
.chat-msg.bot .avatar { color: #fff; }
.chat-quick .wa-btn { background: #25d366; color: #fff; border: 2px solid #25d366; padding: 10px 16px; border-radius: 20px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.chat-quick .chip-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.chat-badge[hidden] { display: none; }
.chat-header .chat-close + .chat-close { margin-inline-start: 6px; }
.chat-note { font-size: 11px; color: var(--text-light); text-align: center; padding: 0 20px 10px; background: #fff; }

/* Mobile menu: keep the off-canvas menu from widening the page on phones */
html { overflow-x: clip; }
@media (max-width: 1024px) {
  .nav-menu { right: 0; transform: translateX(110%); visibility: hidden; transition: transform .4s cubic-bezier(0.4,0,0.2,1), visibility .4s; }
  html[dir="ltr"] .nav-menu { right: auto; left: 0; transform: translateX(-110%); }
  .nav-menu.open, html[dir="ltr"] .nav-menu.open { transform: none; visibility: visible; }
}
