/* Custom Properties */
:root {
    --color-bg: #0a0a0a;
    --color-surface: #141414;
    --color-surface-hover: #1a1a1a;
    --color-border: #333;
    --color-text: #e0e0e0;
    --color-text-muted: #a0a0a0;
    --color-white: #ffffff;
    --color-gold: #c5a059;
    --color-gold-hover: #dfb96f;
    --color-whatsapp: #25D366;
    --color-whatsapp-hover: #1EBE5D;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 8px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-weight: 600;
}

.highlight {
    color: var(--color-gold);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-bg);
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-whatsapp {
    background-color: var(--color-whatsapp);
    color: white;
}

.btn-whatsapp:hover {
    background-color: var(--color-whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
    max-height: 100%;
}

#logo-text {
    text-align: center;
    font-family: var(--font-heading);
    color: var(--color-white);
    line-height: 1;
}

.logo-bc {
    font-size: 2rem;
    display: block;
    letter-spacing: 2px;
}

.logo-subtitle {
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--color-gold);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--color-gold);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(197, 160, 89, 0.1);
    color: var(--color-gold);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.sub-cta {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-style: italic;
}

/* Mission Section */
.mission {
    padding: 5rem 0;
    background-color: var(--color-surface);
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-gold);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 800px;
    margin: 0 auto;
}

/* Services */
.services {
    padding: 8rem 0;
}

.services .section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

@keyframes floatRight {
    0% { transform: translateX(0); }
    50% { transform: translateX(10px); }
    100% { transform: translateX(0); }
}

.service-card {
    background-color: var(--color-surface);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    animation: floatRight 4s ease-in-out infinite;
}

.service-card:nth-child(even) {
    animation-delay: 2s;
}

.service-card:hover {
    border-color: var(--color-gold);
    box-shadow: -5px 10px 30px rgba(0, 0, 0, 0.5);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-gold);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-whatsapp-service {
    width: 100%;
    margin-top: auto;
}

.cta-banner {
    background: linear-gradient(135deg, var(--color-surface) 0%, rgba(197, 160, 89, 0.1) 100%);
    padding: 4rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.cta-banner h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: var(--color-surface);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-info p {
    color: var(--color-text-muted);
    margin-top: 1.5rem;
}

.footer h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--color-gold);
}

.footer-contact p, .footer-links a {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    display: block;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover, .footer-links a:hover {
    color: var(--color-gold);
}

.logo-footer img {
    height: 120px;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--color-gold);
    border-color: var(--color-gold);
    background-color: rgba(197, 160, 89, 0.1);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .cta-banner {
        padding: 2rem;
    }
}

/* ==========================================
   Chatbot Widget Styles (Premium dark theme)
   ========================================== */
.chat-widget-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: var(--font-body);
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-gold);
    color: var(--color-bg);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
    transition: var(--transition);
}

.chat-toggle:hover {
    background-color: var(--color-gold-hover);
    transform: scale(1.05);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition);
}

.chat-header {
    background-color: #1a1a1a;
    border-bottom: 1px solid var(--color-border);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--color-gold);
    color: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
}

.chat-header-info h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin: 0;
    color: var(--color-white);
}

.status-indicator {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-indicator::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #25D366;
}

.close-chat {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-chat:hover {
    color: var(--color-white);
}

.chat-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

/* Lead Form */
.lead-form-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.lead-form-container p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--color-text-muted);
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.875rem;
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--color-gold);
    outline: none;
}

/* Messages Area */
.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    line-height: 1.4;
    word-break: break-word;
}

.bot-message {
    background-color: #1a1a1a;
    color: var(--color-text);
    align-self: flex-start;
    border-top-left-radius: 0;
    border: 1px solid var(--color-border);
}

.user-message {
    background-color: var(--color-gold);
    color: var(--color-bg);
    align-self: flex-end;
    border-top-right-radius: 0;
    font-weight: 500;
}

/* Chat Footer */
.chat-footer {
    display: flex;
    padding: 1rem;
    border-top: 1px solid var(--color-border);
    background-color: #1a1a1a;
    gap: 0.5rem;
}

.chat-footer input {
    flex-grow: 1;
    padding: 0.75rem;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.875rem;
}

.chat-footer input:focus {
    border-color: var(--color-gold);
    outline: none;
}

.chat-footer button {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius);
    background-color: var(--color-gold);
    color: var(--color-bg);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chat-footer button:hover {
    background-color: var(--color-gold-hover);
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 0.75rem 1rem;
    background-color: #1a1a1a;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    border-top-left-radius: 0;
    align-self: flex-start;
}

.typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-text-muted);
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Document Download Button in Chat */
.chat-doc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: rgba(197, 160, 89, 0.1);
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    align-self: flex-start;
    text-align: left;
    width: fit-content;
}

.chat-doc-btn:hover {
    background-color: var(--color-gold);
    color: var(--color-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.2);
}

