/* ========================================
   TRES REYES PROPERTY SOLUTIONS
   Custom Theme - Black & Gold Luxury
   ======================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Raleway:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

/* ---------- CSS Variables ---------- */
:root {
    --gold:        #C9A84C;
    --gold-light:  #E8D48B;
    --gold-dark:   #A68A3E;
    --gold-glow:   rgba(201,168,76,0.35);
    --black:       #0A0A0A;
    --black-soft:  #141414;
    --black-card:  #1A1A1A;
    --dark-gray:   #2A2A2A;
    --medium-gray: #666;
    --light-gray:  #B0B0B0;
    --white:       #F5F5F0;
    --white-pure:  #FFFFFF;
    --font-brand:   'Cinzel', 'Playfair Display', Georgia, serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body:    'Raleway', 'Segoe UI', sans-serif;
    --font-accent:  'Cormorant Garamond', Georgia, serif;
    --transition:   all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-gold:  0 4px 30px rgba(201,168,76,0.15);
    --shadow-deep:  0 20px 60px rgba(0,0,0,0.5);
}

/* ---------- Global Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection {
    background: var(--gold);
    color: var(--black);
}

img { max-width: 100%; height: auto; }

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}
a:hover { color: var(--gold-light); }

/* ---------- Preloader ---------- */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-hammer {
    width: 60px;
    height: 60px;
    position: relative;
    animation: hammerSwing 1s ease-in-out infinite;
}
.loader-hammer::before {
    content: '🔨';
    font-size: 48px;
    position: absolute;
    top: 0; left: 0;
}
@keyframes hammerSwing {
    0%, 100% { transform: rotate(-20deg); }
    50% { transform: rotate(20deg); }
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white-pure);
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: inline-block;
    position: relative;
    padding-left: 50px;
}
.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 35px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1.25rem;
}

.gold-text { color: var(--gold); }
.italic-accent {
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--gold-light);
}

/* ---------- Buttons ---------- */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black) !important;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1;
}
.btn-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}
.btn-gold:hover::before { transform: scaleX(1); }
.btn-gold:hover { color: var(--black) !important; transform: translateY(-2px); box-shadow: var(--shadow-gold); }

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 36px;
    background: transparent;
    color: var(--gold) !important;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid var(--gold);
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--black) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* ---------- Navbar ---------- */
.navbar-custom {
    padding: 18px 0;
    transition: var(--transition);
    background: transparent;
    z-index: 1000;
}
.navbar-custom.scrolled {
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 40px rgba(0,0,0,0.5);
}

.navbar-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.navbar-brand-text .brand-name {
    font-family: var(--font-brand);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: var(--transition);
}
.navbar-brand-text .brand-sub {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--light-gray);
    margin-top: 3px;
    transition: var(--transition);
}
.navbar-custom.scrolled .navbar-brand-text .brand-name { font-size: 1.15rem; }
.navbar-custom.scrolled .navbar-brand-text .brand-sub { font-size: 0.55rem; }

.navbar-custom .nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--white) !important;
    padding: 8px 18px !important;
    position: relative;
}
.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after { transform: scaleX(1); }
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active { color: var(--gold) !important; }

.navbar-cta {
    margin-left: 15px;
}

.navbar-toggler {
    border: 1px solid var(--gold) !important;
    padding: 6px 10px;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23C9A84C' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--black);
    padding-top: 100px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) saturate(0.7);
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.6) 50%, rgba(10,10,10,0.85) 100%),
        linear-gradient(to bottom, transparent 60%, var(--black) 100%);
}

.hero-content { position: relative; z-index: 2; }

.hero-tagline {
    font-family: var(--font-accent);
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    font-style: italic;
    color: var(--gold-light);
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.6);
    background: linear-gradient(135deg, rgba(201,168,76,0.12) 0%, transparent 100%);
    display: inline-block;
    padding: 10px 20px 10px 0;
    border-left: 3px solid var(--gold);
    padding-left: 18px;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}
.hero-title .line-gold {
    display: block;
    color: var(--gold);
    -webkit-text-stroke: 0;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--light-gray);
    max-width: 520px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 40px;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(201,168,76,0.2);
}
.hero-stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}
.hero-stat-item p {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--light-gray);
    margin-top: 4px;
}

/* ---------- Hero Logo Showcase ---------- */
.hero-logo-col {
    display: flex;
    justify-content: center;
}

.hero-logo-showcase {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.hero-logo-container {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-container img {
    width: 220px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(201,168,76,0.3));
    animation: logoFadeIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

/* Rotating ring around logo */
.logo-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 50%;
    animation: ringRotate 20s linear infinite;
}
.logo-ring::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--gold-glow);
}
.logo-ring-outer {
    position: absolute;
    inset: -20px;
    border: 1px dashed rgba(201,168,76,0.08);
    border-radius: 50%;
    animation: ringRotate 35s linear infinite reverse;
}

/* Floating tool icons around logo */
.hero-float-icon {
    position: absolute;
    color: var(--gold);
    opacity: 0;
    font-size: 1.4rem;
    filter: drop-shadow(0 0 8px rgba(201,168,76,0.3));
    animation: floatIcon 3s ease-in-out infinite, floatIconIn 0.8s ease forwards;
}
.hero-float-icon:nth-child(3) { top: -10px; left: 50%; transform: translateX(-50%); animation-delay: 0.3s, 0.3s; }
.hero-float-icon:nth-child(4) { top: 20%; right: -15px; animation-delay: 0.5s, 0.5s; }
.hero-float-icon:nth-child(5) { bottom: 20%; right: -10px; animation-delay: 0.7s, 0.7s; }
.hero-float-icon:nth-child(6) { bottom: -10px; left: 50%; transform: translateX(-50%); animation-delay: 0.9s, 0.9s; }
.hero-float-icon:nth-child(7) { bottom: 20%; left: -15px; animation-delay: 1.1s, 1.1s; }
.hero-float-icon:nth-child(8) { top: 20%; left: -10px; animation-delay: 1.3s, 1.3s; }

@keyframes logoFadeIn {
    0% { opacity: 0; transform: scale(0.7); filter: drop-shadow(0 0 0 rgba(201,168,76,0)); }
    100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 30px rgba(201,168,76,0.3)); }
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes floatIconIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 0.7; transform: scale(1); }
}

/* Floating tool icons in hero (old - replaced) */
.floating-tools {
    display: none;
}

/* ---------- Gold Divider ---------- */
.gold-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border: none;
    margin: 0;
}

/* ---------- Services Section ---------- */
.services-section {
    padding: 100px 0;
    background: var(--black-soft);
    position: relative;
}
.services-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(to bottom, var(--black), transparent);
    pointer-events: none;
}

.service-card {
    background: var(--black-card);
    border: 1px solid rgba(201,168,76,0.1);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201,168,76,0.3);
    box-shadow: var(--shadow-gold);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--gold);
    border: 2px solid rgba(201,168,76,0.3);
    border-radius: 50%;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    transform: rotateY(180deg);
}

.service-card h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 600;
}
.service-card p {
    font-size: 0.9rem;
    color: var(--light-gray);
    line-height: 1.7;
}

/* ---------- Why Choose Us / Features ---------- */
.features-section {
    padding: 100px 0;
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.feature-block {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    background: var(--black-soft);
    border-left: 3px solid var(--gold);
    margin-bottom: 20px;
    transition: var(--transition);
}
.feature-block:hover {
    background: var(--black-card);
    transform: translateX(8px);
    box-shadow: var(--shadow-gold);
}
.feature-block i {
    font-size: 28px;
    color: var(--gold);
    flex-shrink: 0;
}
.feature-block h5 {
    font-size: 1rem;
    margin-bottom: 4px;
}
.feature-block p {
    font-size: 0.85rem;
    color: var(--light-gray);
    margin: 0;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M30 0v60M0 30h60' stroke='%23000' stroke-opacity='.04' stroke-width='1'/%3E%3C/svg%3E");
    opacity: 0.5;
}
.cta-banner h2 {
    color: var(--black);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}
.cta-banner p { color: rgba(0,0,0,0.7); font-size: 1.05rem; }
.cta-banner .btn-dark-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 40px;
    background: var(--black);
    color: var(--gold) !important;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    transition: var(--transition);
}
.cta-banner .btn-dark-gold:hover {
    background: var(--black-soft);
    transform: translateY(-3px);
    box-shadow: var(--shadow-deep);
}

/* ---------- Service Area ---------- */
.area-section {
    padding: 100px 0;
    background: var(--black-soft);
}

.area-tag {
    display: inline-block;
    padding: 10px 24px;
    background: var(--black-card);
    border: 1px solid rgba(201,168,76,0.2);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 6px;
    transition: var(--transition);
}
.area-tag:hover {
    border-color: var(--gold);
    background: rgba(201,168,76,0.1);
    transform: translateY(-3px);
    color: var(--gold);
}
.area-tag i { color: var(--gold); margin-right: 6px; }

/* ---------- Testimonials ---------- */
.testimonials-section {
    padding: 100px 0;
    background: var(--black);
}

.testimonial-card {
    background: var(--black-card);
    border: 1px solid rgba(201,168,76,0.1);
    padding: 40px;
    position: relative;
    transition: var(--transition);
}
.testimonial-card:hover {
    border-color: rgba(201,168,76,0.3);
    box-shadow: var(--shadow-gold);
}
.testimonial-card::before {
    content: '"';
    font-family: var(--font-heading);
    font-size: 80px;
    color: var(--gold);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}
.testimonial-card p {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--light-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}
.testimonial-author {
    font-weight: 600;
    color: var(--gold);
    font-size: 0.9rem;
}
.testimonial-role {
    font-size: 0.8rem;
    color: var(--medium-gray);
}

.stars { color: var(--gold); margin-bottom: 15px; font-size: 0.85rem; }

/* ---------- About Page ---------- */
.about-hero {
    padding: 180px 0 100px;
    background: var(--black);
    position: relative;
}
.about-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--black-soft));
}

.about-section { padding: 100px 0; }

.about-image-wrapper {
    position: relative;
    overflow: hidden;
}
.about-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: brightness(0.85);
}
.about-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 60%;
    height: 4px;
    background: var(--gold);
}

.value-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--black-card);
    border: 1px solid rgba(201,168,76,0.1);
    transition: var(--transition);
    height: 100%;
}
.value-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201,168,76,0.3);
}
.value-card i {
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 20px;
}
.value-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
.value-card p { font-size: 0.88rem; color: var(--light-gray); }

/* ---------- Contact Page ---------- */
.contact-section { padding: 100px 0; }

.contact-info-block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(201,168,76,0.1);
}
.contact-info-block:last-child { border-bottom: none; }
.contact-info-block i {
    font-size: 24px;
    color: var(--gold);
    margin-top: 4px;
    flex-shrink: 0;
}
.contact-info-block h5 { font-size: 1rem; margin-bottom: 4px; }
.contact-info-block p { color: var(--light-gray); font-size: 0.9rem; margin: 0; }
.contact-info-block a { color: var(--gold-light); }

.contact-form .form-control,
.contact-form .form-select {
    background: var(--black-card);
    border: 1px solid rgba(201,168,76,0.15);
    color: var(--white);
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border-radius: 0;
    transition: var(--transition);
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
    background: var(--black-soft);
    color: var(--white);
}
.contact-form .form-control::placeholder { color: var(--medium-gray); }
.contact-form label {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-form textarea { min-height: 140px; resize: vertical; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--black-soft);
    border-top: 1px solid rgba(201,168,76,0.15);
    padding: 60px 0 30px;
}
@media (max-width: 991px) {
    .site-footer { padding-bottom: 80px; }
}
.footer-brand p {
    color: var(--light-gray);
    font-size: 0.88rem;
    line-height: 1.8;
}
.footer-heading {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: var(--light-gray);
    font-size: 0.88rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--gold); padding-left: 5px; }

.social-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.social-pill {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black-card);
    border: 1px solid rgba(201,168,76,0.2);
    color: var(--gold);
    font-size: 18px;
    transition: var(--transition);
}
.social-pill:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(201,168,76,0.1);
    text-align: center;
}
.footer-bottom p {
    color: var(--medium-gray);
    font-size: 0.8rem;
}
.footer-bottom a { color: var(--gold); }

/* ---------- AI Chatbot ---------- */
#chatbot-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

/* Trigger Button */
#chatbot-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 25px rgba(201,168,76,0.35);
    transition: var(--transition);
    animation: chatbotBounce 3s ease-in-out infinite;
}
#chatbot-trigger:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 35px rgba(201,168,76,0.5);
}

.chatbot-trigger-icon {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    line-height: 1;
}
.chatbot-trigger-icon .bi-robot {
    font-size: 1.5rem;
}
.chatbot-trigger-icon .chatbot-hammer {
    position: absolute;
    top: -6px;
    right: -10px;
    font-size: 0.85rem;
    animation: hammerSwing 1.2s ease-in-out infinite;
    transform-origin: bottom center;
}
.chatbot-trigger-text { white-space: nowrap; }

@keyframes chatbotBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Chat Window */
#chatbot-window {
    position: absolute;
    bottom: 65px;
    right: 0;
    width: 370px;
    max-height: 520px;
    background: var(--black-card);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.6);
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: scale(1) translateY(0);
}
#chatbot-window.chatbot-closed {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
    pointer-events: none;
}

.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
}
.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.chatbot-header-info i { font-size: 1.6rem; }
.chatbot-header-info strong {
    display: block;
    font-family: var(--font-brand);
    font-size: 0.95rem;
    letter-spacing: 1px;
}
.chatbot-header-info small {
    font-size: 0.7rem;
    opacity: 0.7;
}
#chatbot-close {
    background: none;
    border: none;
    color: var(--black);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}
#chatbot-close:hover { background: rgba(0,0,0,0.1); }

/* Messages */
.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 280px;
    max-height: 350px;
}
.chatbot-messages::-webkit-scrollbar { width: 4px; }
.chatbot-messages::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 2px; }

.chatbot-msg-bot,
.chatbot-msg-user {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.5;
    word-wrap: break-word;
}
.chatbot-msg-bot {
    align-self: flex-start;
    background: var(--dark-gray);
    color: var(--white);
    border-bottom-left-radius: 4px;
}
.chatbot-msg-user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    border-bottom-right-radius: 4px;
    font-weight: 500;
}

/* Typing indicator */
.chatbot-typing {
    display: flex;
    gap: 5px;
    padding: 12px 18px;
}
.chatbot-typing span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: chatDotBounce 1.2s ease-in-out infinite;
}
.chatbot-typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes chatDotBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* Input Area */
.chatbot-input-area {
    display: flex;
    border-top: 1px solid rgba(201,168,76,0.15);
}
.chatbot-input-area input {
    flex: 1;
    padding: 14px 16px;
    background: var(--black-soft);
    color: var(--white);
    border: none;
    font-family: var(--font-body);
    font-size: 0.88rem;
    outline: none;
}
.chatbot-input-area input::placeholder { color: var(--medium-gray); }
.chatbot-input-area input:focus { background: var(--black); }
#chatbot-send {
    padding: 14px 18px;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
}
#chatbot-send:hover { color: var(--gold-light); transform: scale(1.15); }

/* Chatbot responsive */
@media (max-width: 991px) {
    #chatbot-wrapper { bottom: 85px; right: 16px; }
}
@media (max-width: 576px) {
    #chatbot-wrapper { right: 10px; bottom: 80px; }
    #chatbot-trigger { padding: 10px 16px; font-size: 0.75rem; }
    .chatbot-trigger-icon .bi-robot { font-size: 1.3rem; }
    #chatbot-window {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        max-height: 75vh;
        border-radius: 12px 12px 0 0;
    }
}

/* ---------- Counter Animation ---------- */
.counter-section {
    padding: 60px 0;
    background: var(--black-card);
    border-top: 1px solid rgba(201,168,76,0.1);
    border-bottom: 1px solid rgba(201,168,76,0.1);
}
.counter-item { text-align: center; padding: 20px; }
.counter-item h3 {
    font-size: 3rem;
    color: var(--gold);
    font-weight: 800;
}
.counter-item p {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--light-gray);
    margin-top: 5px;
}

/* ---------- Process / How It Works ---------- */
.process-section {
    padding: 100px 0;
    background: var(--black);
    overflow: hidden;
}
.process-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}
.process-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: var(--gold);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: -10px;
}
.process-step h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.process-step p {
    font-size: 0.88rem;
    color: var(--light-gray);
}
/* Connector line between steps */
.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    pointer-events: none;
}
.col-md-3:last-child .process-step::after { display: none; }

/* ---------- Alert Messages ---------- */
.alert-success-custom {
    background: rgba(201,168,76,0.1);
    border: 1px solid var(--gold);
    color: var(--gold-light);
    padding: 20px;
    margin-bottom: 20px;
}

/* ---------- Particle Canvas ---------- */
#particles-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .hero-stats { gap: 25px; }
    .process-step::after { display: none; }
    .navbar-collapse {
        background: rgba(10,10,10,0.98);
        padding: 20px;
        margin-top: 10px;
        border: 1px solid rgba(201,168,76,0.15);
    }
    .navbar-cta { margin-left: 0; margin-top: 10px; }
    .navbar-cta .btn-gold { width: 100%; justify-content: center; padding: 12px 20px; }
    .hero-logo-container { width: 220px; height: 220px; }
    .hero-logo-container img { width: 170px; }
    .logo-ring-outer { inset: -15px; }
}

@media (max-width: 767px) {
    .hero { min-height: auto; padding: 120px 0 60px; }
    .hero .row { flex-direction: column-reverse; }
    .hero-logo-col { margin-bottom: 1.5rem; }
    .hero-logo-showcase { margin-bottom: 0; }
    .hero-logo-container { width: 180px; height: 180px; }
    .hero-logo-container img { width: 140px; }
    .logo-ring-outer { inset: -10px; }
    .hero-float-icon { font-size: 1.1rem; }
    .hero-stats { flex-direction: column; gap: 15px; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn-gold,
    .hero-btns .btn-outline-gold { width: 100%; justify-content: center; }
    section { padding: 70px 0; }
    .hero-tagline { padding: 8px 14px; font-size: 1rem; }
    .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
    .navbar-brand-text .brand-name { font-size: 1.1rem; letter-spacing: 2px; }
    .navbar-brand-text .brand-sub { font-size: 0.5rem; letter-spacing: 2.5px; }
    .btn-gold, .btn-outline-gold { padding: 12px 24px; font-size: 0.8rem; letter-spacing: 1.5px; }
    .feature-block { flex-wrap: wrap; }
    .feature-block:hover { transform: none; }
    .counter-item h3 { font-size: 2.2rem; }
    .testimonial-card { padding: 25px; }
    .area-tag { padding: 8px 16px; font-size: 0.8rem; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hero .row { flex-direction: column-reverse; }
    .hero-logo-col { margin-bottom: 2rem; }
    .hero-logo-showcase { margin-bottom: 0; }
}

@media (max-width: 480px) {
    .hero { padding: 100px 0 50px; }
    .hero-logo-container { width: 150px; height: 150px; }
    .hero-logo-container img { width: 115px; }
    .hero-float-icon { font-size: 0.9rem; }
    .navbar-custom { padding: 12px 0; }
    .navbar-brand-text .brand-name { font-size: 1rem; }
    .hero-stats { margin-top: 2rem; }
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.4); }
    50% { box-shadow: 0 0 0 15px rgba(201,168,76,0); }
}

.shimmer-text {
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Phone CTA pulse */
.phone-pulse { animation: pulse-gold 2s infinite; }

/* Tilt effect on cards */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Image reveal animation */
.img-reveal {
    position: relative;
    overflow: hidden;
}
.img-reveal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    z-index: 2;
    transform: scaleX(1);
    transform-origin: right;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}
.img-reveal.revealed::before { transform: scaleX(0); }
