﻿
:root {
    /* Colors - Minimalist Palette */
    --color-primary: #0a0a0a;
    --color-secondary: #1a1a1a;
    --color-accent: #8b7355;
    --color-accent-light: #a08968;
    --color-text: #0a0a0a;
    --color-text-muted: #6b6b6b;
    --color-text-light: #999999;
    --color-bg: #ffffff;
    --color-bg-alt: #fafafa;
    --color-bg-dark: #0a0a0a;
    --color-border: #e5e5e5;
    --color-border-light: #f0f0f0;
    /* Typography Scale */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    /* --font-display: 'Bahnschrift Condensed', 'Times New Roman', serif; */
    /* --font-display: 'Bodoni Moda', 'Times New Roman', serif; */
    --font-display: 'Cormorant', 'Times New Roman', serif;
    /* Font Sizes - Fluid Typography */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
    --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
    --text-4xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);
    --text-5xl: clamp(3rem, 2rem + 5vw, 5rem);
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;
    /* Layout */
    --max-width: 1440px;
    --gutter: clamp(1rem, 5vw, 3rem);
    /* Animation */
    --duration-fast: 200ms;
    --duration-normal: 300ms;
    --duration-slow: 600ms;
    --duration-slower: 1000ms;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
    /* Effects */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.12);


    --ldg-psb-background: #ffffff;
    --ldg-psb-border-radius: 0.42em;
    --ldg-psb-box-shadow: 0px 24px 54px 0px rgba(0, 0, 0, 0.1);
    --ldg-psb-padding: 14px;
    --ldg-psb-input-background: #ffffff;
    --ldg-psb-button-border-radius: 0.42em;
    --ldg-psb-color-primary: #fac600;
    --ldg-psb-color-primary-lighter: #fde380;
    --ldg-psb-color-primary-darker: #7d6300;
    --ldg-psb-color-primary-contrast: #333333;
    --ldg-semantic-color-primary: #fac600;
    --ldg-semantic-color-primary-lighter: #fde380;
    --ldg-semantic-color-primary-darker: #7d6300;
    --ldg-semantic-color-primary-contrast: #333333;
    --ldg-component-modal-z-index: 999;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-3xl);
}

h4 {
    font-size: var(--text-2xl);
}

h5 {
    font-size: var(--text-xl);
}

h6 {
    font-size: var(--text-lg);
}

p {
    margin: 0;
    line-height: 1.8;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity var(--duration-normal) var(--ease-out);
}

    a:hover {
        opacity: 0.7;
    }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--color-text-muted);
}

.text-light {
    color: var(--color-text-light);
}

.uppercase {
    text-transform: uppercase;
}

.letter-spacing {
    letter-spacing: 0.1em;
}

/* Loading Screen */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--duration-slow) var(--ease-out);
}

    .loader.fade-out {
        opacity: 0;
        pointer-events: none;
    }

.loader-text {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    letter-spacing: 0.2em;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all var(--duration-normal) var(--ease-out);
}

    .nav.scrolled {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: var(--shadow-sm);
        padding: var(--space-sm) 0;
    }

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 500;
    letter-spacing: 0.15em;
    transition: color var(--duration-normal) var(--ease-out);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
    align-items: center;
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 400;
    letter-spacing: 0.05em;
    position: relative;
    color: black;
    padding: var(--space-xs) 0;
    transition: color var(--duration-normal) var(--ease-out);
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 1px;
        background: var(--color-accent);
        transition: width var(--duration-normal) var(--ease-out);
    }

    .nav-link:hover::after {
        width: 100%;
    }

.nav-cta {
    padding: var(--space-xs) var(--space-md);
    border: 1px solid var(--color-text);
    font-size: var(--text-sm);
    letter-spacing: 0.05em;
    transition: all var(--duration-normal) var(--ease-out);
}

    .nav-cta:hover {
        background: var(--color-text);
        color: var(--color-bg);
        opacity: 1;
    }

/* Mobile Menu */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    position: relative;
    width: 32px;
    height: 32px;
}

    .nav-toggle span {
        display: block;
        width: 24px;
        height: 1px;
        background: var(--color-text);
        position: absolute;
        left: 4px;
        transition: all var(--duration-normal) var(--ease-out);
    }

        .nav-toggle span:nth-child(1) {
            top: 10px;
        }

        .nav-toggle span:nth-child(2) {
            top: 16px;
        }

        .nav-toggle span:nth-child(3) {
            top: 22px;
        }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 16px;
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg);
        top: 16px;
    }

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

    .hero-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        animation: fadeIn 1.5s var(--ease-out) 0.5s forwards;
    }

    .hero-bg video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center; /* Centra el video */
    }

/* Ajuste específico para móviles */
@media (max-width: 768px) {
    .hero-bg video {
        object-position: center top; /* O puedes usar: center bottom, left center, etc. */
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.4) 100% );
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    animation: fadeInUp 1s var(--ease-out) 0.8s both;
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: 400;
    margin-bottom: var(--space-md);
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out) 1s both;
}

.hero-subtitle {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: 300;
    letter-spacing: 0.1em;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out) 1.2s both;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeIn 1s var(--ease-out) 1.5s both;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 auto var(--space-xs);
    position: relative;
    overflow: hidden;
}

    .scroll-line::after {
        content: '';
        position: absolute;
        top: -20px;
        left: 0;
        width: 100%;
        height: 20px;
        background: white;
        animation: scrollDown 2s linear infinite;
    }

@keyframes scrollDown {
    to {
        top: 100%;
    }
}

/* Sections */
.section {
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--duration-slow) var(--ease-out);
}

    .section-header.in-view {
        opacity: 1;
        transform: translateY(0);
    }

.section-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-content {
    opacity: 0;
    transform: translateX(-30px);
    transition: all var(--duration-slow) var(--ease-out);
}

    .about-content.in-view {
        opacity: 1;
        transform: translateX(0);
    }

.about-text {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    color: var(--color-accent);
    display: block;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
}

.about-image {
    position: relative;
    opacity: 0;
    transform: translateX(30px);
    transition: all var(--duration-slow) var(--ease-out) 0.2s;
}

    .about-image.in-view {
        opacity: 1;
        transform: translateX(0);
    }

    .about-image img {
        width: 100%;
        height: 600px;
        object-fit: cover;
    }

/* Features */
.features {
    background: var(--color-bg-alt);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature {
    background: var(--color-bg);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--duration-normal) var(--ease-out);
    opacity: 0;
    transform: translateY(30px);
}

    .feature.in-view {
        opacity: 1;
        transform: translateY(0);
    }

    .feature:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .feature-icon svg {
        width: 100%;
        height: 100%;
        stroke: var(--color-accent);
        stroke-width: 1;
    }

.feature-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
}

.feature-description {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    line-height: 1.6;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 300px;
    gap: var(--space-sm);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.95);
    transition: all var(--duration-slow) var(--ease-out);
}

    .gallery-item.in-view {
        opacity: 1;
        transform: scale(1);
    }

    .gallery-item:nth-child(1) {
        grid-column: span 8;
        grid-row: span 2;
    }

    .gallery-item:nth-child(2) {
        grid-column: span 4;
    }

    .gallery-item:nth-child(3) {
        grid-column: span 4;
    }

    .gallery-item:nth-child(4) {
        grid-column: span 6;
    }

    .gallery-item:nth-child(5) {
        grid-column: span 6;
    }

    .gallery-item:nth-child(6) {
        grid-column: span 4;
    }

    .gallery-item:nth-child(7) {
        grid-column: span 4;
    }

    .gallery-item:nth-child(8) {
        grid-column: span 4;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform var(--duration-slow) var(--ease-out);
    }

    .gallery-item:hover img {
        transform: scale(1.05);
    }

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
    color: white;
    transform: translateY(100%);
    transition: transform var(--duration-normal) var(--ease-out);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Contact */
.contact {
    background: var(--color-bg-dark);
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.contact-info {
    opacity: 0;
    transform: translateX(-30px);
    transition: all var(--duration-slow) var(--ease-out);
}

    .contact-info.in-view {
        opacity: 1;
        transform: translateX(0);
    }

.contact-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-lg);
}

.contact-text {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xl);
}

.contact-details {
    list-style: none;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.8);
}

.contact-icon {
    width: 24px;
    height: 24px;
    stroke: var(--color-accent);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--space-xl);
    opacity: 0;
    transform: translateX(30px);
    transition: all var(--duration-slow) var(--ease-out) 0.2s;
}

    .contact-form.in-view {
        opacity: 1;
        transform: translateX(0);
    }

.form-grid {
    display: grid;
    gap: var(--space-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    position: relative;
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-xs);
    color: rgba(255, 255, 255, 0.6);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-sm);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-family: var(--font-primary);
    font-size: var(--text-base);
    transition: all var(--duration-normal) var(--ease-out);
}

    .form-input:focus,
    .form-textarea:focus {
        outline: none;
        border-color: var(--color-accent);
        background: rgba(255, 255, 255, 0.05);
    }

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    display: inline-block;
    padding: var(--space-sm) var(--space-xl);
    background: var(--color-accent);
    color: white;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    margin-top: var(--space-md);
}

    .form-submit:hover {
        background: var(--color-accent-light);
        transform: translateY(-2px);
    }

/* Footer */
.footer {
    background: var(--color-bg-dark);
    color: white;
    padding: var(--space-xl) 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-text {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-lg);
        transition: right var(--duration-normal) var(--ease-out);
    }

        .nav-menu.active {
            right: 0;
        }

    .nav-toggle {
        display: block;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .gallery-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: 200px;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 6;
    }

    .gallery-item:nth-child(2) {
        grid-column: span 3;
    }

    .gallery-item:nth-child(3) {
        grid-column: span 3;
    }

    .gallery-item:nth-child(4) {
        grid-column: span 6;
    }

    .gallery-item:nth-child(5) {
        grid-column: span 6;
    }

    .gallery-item:nth-child(6) {
        grid-column: span 2;
    }

    .gallery-item:nth-child(7) {
        grid-column: span 2;
    }

    .gallery-item:nth-child(8) {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: var(--text-4xl);
    }

    .section {
        padding: var(--space-3xl) 0;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .gallery-item {
        grid-column: span 1 !important;
    }
}

/* Cursor Effect */
.cursor {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: all 0.1s ease;
    z-index: 9998;
    opacity: 0;
}

    .cursor.active {
        opacity: 1;
    }

    .cursor.hover {
        transform: translate(-50%, -50%) scale(1.5);
        background: rgba(139, 115, 85, 0.1);
    }

@media (hover: none) {
    .cursor {
        display: none;
    }
}


.carousel-inner img {
    height: 100px;
    width: 500px;
    object-fit: cover;
}


/* Chat Widget Styles */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-accent);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--duration-normal) var(--ease-out);
}

    .chat-toggle:hover {
        transform: scale(1.05);
        box-shadow: var(--shadow-xl);
    }

    .chat-toggle svg {
        width: 24px;
        height: 24px;
        stroke: white;
        transition: opacity var(--duration-fast) var(--ease-out);
    }

    .chat-toggle .close-icon {
        display: none;
    }

    .chat-toggle.active .chat-icon {
        display: none;
    }

    .chat-toggle.active .close-icon {
        display: block;
    }

.chat-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 600px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all var(--duration-normal) var(--ease-out);
}

    .chat-container.active {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: all;
    }

.chat-header {
    padding: var(--space-md);
    background: var(--color-accent);
    color: white;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: var(--text-lg);
}

.chat-header-info h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: 2px;
}

.chat-status {
    font-size: var(--text-sm);
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.chat-messages {
    flex: 1;
    padding: var(--space-md);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.message {
    max-width: 80%;
    word-wrap: break-word;
    animation: messageIn var(--duration-normal) var(--ease-out);
}

@keyframes messageIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.bot {
    align-self: flex-start;
}

.message.user {
    align-self: flex-end;
}

.message-bubble {
    padding: var(--space-sm) var(--space-md);
    border-radius: 18px;
    font-size: var(--text-sm);
    line-height: 1.5;
}

.message.bot .message-bubble {
    background: var(--color-bg-alt);
    color: var(--color-text);
    border-bottom-left-radius: 4px;
}

.message.user .message-bubble {
    background: var(--color-accent);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-time {
    font-size: var(--text-xs);
    color: var(--color-text-light);
    margin-top: 4px;
    text-align: right;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: var(--space-sm) var(--space-md);
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--color-text-light);
    border-radius: 50%;
    animation: typingAnimation 1.4s infinite;
}

    .typing-dot:nth-child(2) {
        animation-delay: 0.2s;
    }

    .typing-dot:nth-child(3) {
        animation-delay: 0.4s;
    }

@keyframes typingAnimation {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }

    30% {
        opacity: 1;
        transform: translateY(-10px);
    }
}

.chat-input-container {
    padding: var(--space-md);
    border-top: 1px solid var(--color-border);
    display: flex;
    gap: var(--space-sm);
}

.chat-input {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    outline: none;
    transition: all var(--duration-normal) var(--ease-out);
}

    .chat-input:focus {
        border-color: var(--color-accent);
    }

.chat-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-accent);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-normal) var(--ease-out);
}

    .chat-send:hover {
        transform: scale(1.05);
    }

    .chat-send:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .chat-send svg {
        width: 20px;
        height: 20px;
        stroke: white;
    }

/* Quick Actions */
.quick-actions {
    padding: var(--space-sm) var(--space-md);
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.quick-action {
    padding: 6px 12px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    font-size: var(--text-xs);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
}

    .quick-action:hover {
        background: var(--color-accent);
        color: white;
        border-color: var(--color-accent);
    }

/* Mobile Responsive */
@media (max-width: 480px) {
    .chat-container {
        width: calc(100vw - 48px);
        height: calc(100vh - 120px);
        right: -12px;
    }
}

/*:root {
    --ldg-psb-background: #ffffff;
    --ldg-psb-border-radius: 0.42em;
    --ldg-psb-box-shadow: 0px 24px 54px 0px rgba(0, 0, 0, 0.1);
    --ldg-psb-padding: 14px;
    --ldg-psb-input-background: #ffffff;
    --ldg-psb-button-border-radius: 0.42em;
    --ldg-psb-color-primary: #fac600;
    --ldg-psb-color-primary-lighter: #fde380;
    --ldg-psb-color-primary-darker: #7d6300;
    --ldg-psb-color-primary-contrast: #333333;
    --ldg-semantic-color-primary: #fac600;
    --ldg-semantic-color-primary-lighter: #fde380;
    --ldg-semantic-color-primary-darker: #7d6300;
    --ldg-semantic-color-primary-contrast: #333333;
    --ldg-component-modal-z-index: 999;
}*/

#lodgify-search-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;  Asegura que esté por encima de todo 
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
    background: var(--ldg-psb-background);
}