/* 
   SOMA CONTADORES - LUXURY REDESIGN 
   Theme: New York Hotel / High-End Professional
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Palette: NY Hotel Luxury */
    --color-bg: #0f0f0f;
    /* Deepest Charcoal, almost black */
    --color-bg-secondary: #141414;
    /* Slightly lighter for cards/sections */
    --color-text: #e6e6e6;
    /* Off-white for readability on dark */
    --color-text-muted: #a0a0a0;

    --color-gold: #D4AF37;
    /* Metallic Gold */
    --color-gold-light: #F3cf55;
    /* Highlight Gold */
    --color-gold-dim: #8a7020;
    /* Darker Gold for borders/shadows */

    --color-cream: #F5F5F0;
    /* Warm cream for contrast sections */

    --color-emerald: #0f6b3d;
    /* Dark sophisticated Emerald */
    --color-emerald-light: #21a162;
    /* Lighter for glows */

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --spacing-section: 120px;
}

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

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

::selection {
    background: var(--color-emerald);
    color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-gold);
    /* Gold headings for impact */
    font-weight: 400;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-italic {
    font-style: italic;
    font-weight: 400;
    color: var(--color-gold);
    /* Reverted to Gold per user request */
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    font-weight: 600;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    background: transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    margin-right: 1rem;
}

.btn:hover {
    background: var(--color-gold);
    color: var(--color-bg);
    box-shadow: 0 10px 30px -10px rgba(212, 175, 55, 0.3);
    border-color: var(--color-gold);
}

.btn:hover::after {
    /* Subtle emerald sparkle on hover maybe? */
    box-shadow: 0 0 15px var(--color-emerald-light);
}

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

.btn-primary:hover {
    background: var(--color-gold-light);
    border-color: var(--color-gold-light);
    transform: translateY(-2px);
}

/* NAVBAR */
.menu-toggle {
    display: none;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-gold);
    font-weight: 700;
    letter-spacing: 0.05em;
    display: none;
    /* Hidden now that we have image */
}

.logo-sub {
    display: block;
    font-family: var(--font-body);
    font-size: 0.5rem;
    letter-spacing: 0.4em;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-top: -5px;
    display: none;
    /* Hidden now */
}

/* LOGO IMAGE */
.logo-img {
    height: 60px;
    /* Slightly larger for presence */
    width: auto;
    /* Assumption: Original logo is dark. This filter makes it white/bright for dark mode */
    /* filter: brightness(0) invert(1); REMOVED to show original color */
    transition: all 0.3s ease;
}

.logo-img:hover {
    /* filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.5)); REMOVED */
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
    /* Added gold glow instead */
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--color-text);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    padding: 0.8rem 1.5rem;
    font-size: 0.7rem;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    /* Hero Image with dark overlay for readability */
    background: linear-gradient(to right, rgba(15, 15, 15, 0.95) 0%, rgba(5, 20, 11, 0.8) 100%), url('assets/hero-luxury.png') no-repeat center center/cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 48%, rgba(15, 107, 61, 0.05) 50%, transparent 52%);
    background-size: 200% 200%;
    opacity: 0.5;
    pointer-events: none;
}

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

.hero-label {
    display: block;
    font-family: var(--font-body);
    color: var(--color-gold);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 2rem;
    padding-left: 3rem;
    position: relative;
}

.hero-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 2rem;
    height: 1px;
    background: var(--color-emerald);
    /* Emerald line for subtle contrast */
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    color: var(--color-cream);
    margin-bottom: 2rem;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 500px;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* EXPERTISE SECTION */
.expertise {
    background-color: var(--color-bg);
}

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

.section-subtitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: var(--color-gold);
    display: block;
    margin-bottom: 1rem;
}

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

.service-card {
    background: var(--color-bg-secondary);
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-emerald);
    /* Emerald border on hover */
    box-shadow: 0 10px 30px -15px rgba(15, 107, 61, 0.3);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-emerald);
    /* Emerald icons for impact */
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-cream);
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-link {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    font-weight: 600;
}

/* ACADEMY SECTION */
.academy {
    /* Academy Image with abstract luxury lights */
    background: linear-gradient(rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.8)), url('assets/academy-luxury.png') no-repeat center center/cover;
    position: relative;
    overflow: hidden;
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.academy-info {
    flex: 1;
}

.academy-preview {
    flex: 1;
    position: relative;
}

.course-card-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    position: relative;
}

.course-card-glass::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100px;
    height: 100px;
    height: 100px;
    border-top: 2px solid var(--color-emerald);
    border-right: 2px solid var(--color-emerald);
    opacity: 0.5;
}

.course-date {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.2rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.course-card-glass h4 {
    font-size: 2.5rem;
    color: var(--color-cream);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

/* LEGACY & FOOTER */
.legacy {
    padding: 10rem 0;
    /* Legacy Image with overlay */
    background: linear-gradient(rgba(15, 15, 15, 0.92), rgba(15, 15, 15, 0.85)), url('assets/legacy-pen.png') no-repeat center center/cover;
    background-attachment: fixed;
    /* Parallax effect for luxury feel */
}

.legacy-text {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-top: 2rem;
}

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0 2rem 0;
    color: var(--color-text-muted);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    color: var(--color-cream);
    font-size: 1.5rem;
}

.footer-brand p {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-contact {
    text-align: right;
    font-family: var(--font-body);
}

.footer-bottom {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.5;
}

/* Responsive & Animations */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
    }

    .split-layout {
        flex-direction: column;
    }
}

/* SCROLL REVEAL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* PAGE HEADERS */
.page-header {
    background-color: var(--color-bg);
    padding: 180px 0 80px 0;
    text-align: center;
}

.page-title {
    font-size: 4rem;
    color: var(--color-gold);
    margin-top: 1rem;
}

.highlight-text {
    font-size: 1.2rem;
    color: var(--color-gold);
    font-style: italic;
    margin-bottom: 1rem;
    display: block;
}

/* Custom Page Headers */
.header-legacy {
    background: linear-gradient(rgba(15, 15, 15, 0.9), rgba(15, 15, 15, 0.8)), url('assets/legacy-pen.png') no-repeat center center/cover !important;
}

.header-academy {
    background: linear-gradient(rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.8)), url('assets/academy-luxury.png') no-repeat center center/cover !important;
}

.header-expertise {
    background: linear-gradient(rgba(15, 15, 15, 0.9), rgba(15, 15, 15, 0.8)), url('assets/expertise-chess.png') no-repeat center center/cover !important;
}

/* Update Concierge Info Background */
.concierge-info {
    flex: 1;
    /* Concierge Phone Image with overlay */
    background: linear-gradient(rgba(15, 15, 15, 0.92), rgba(15, 15, 15, 0.85)), url('assets/concierge-phone.png') no-repeat center center/cover !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
}

/* LEGACY PAGE (Nosotros) */
.legacy-content-page {
    padding-bottom: 100px;
}

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

.manifesto-item h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-cream);
    border-bottom: 1px solid var(--color-gold-dim);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.manifesto-item p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* EXPERTISE MENU (Servicios) */
.services-menu {
    padding-bottom: 100px;
}

.menu-category {
    margin-bottom: 6rem;
}

.category-title {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.menu-item {
    margin-bottom: 2rem;
}

.item-header {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.item-header h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-cream);
    margin-right: 1rem;
    white-space: nowrap;
}

.item-header .line {
    flex-grow: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.item-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ACADEMY LIST */
.intro-academy {
    text-align: center;
    display: flex;
    justify-content: center;
}

.academy-grid {
    padding-bottom: 100px;
}

.course-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.course-item {
    display: flex;
    align-items: center;
    background: var(--color-bg-secondary);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.course-item:hover {
    border-color: var(--color-gold);
    transform: translateX(10px);
}

.course-date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 100px;
}

.course-date-box .day {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--color-gold);
    line-height: 1;
}

.course-date-box .month {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
}

.course-details {
    flex-grow: 1;
    padding: 0 2rem;
}

.course-details h3 {
    margin-bottom: 0.5rem;
    color: var(--color-cream);
}

.course-details p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.5rem;
    border: 1px solid var(--color-text-muted);
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    border-radius: 2px;
}

.btn-course {
    padding: 0.8rem 2rem;
    font-size: 0.7rem;
}

/* CONCIERGE PAGE (Contacto) */
.concierge-split {
    display: flex;
    min-height: 100vh;
}

.concierge-info {
    flex: 1;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
}

.concierge-form-section {
    flex: 1;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-details {
    margin-top: 3rem;
}

.contact-block {
    margin-bottom: 3rem;
}

.contact-block h4 {
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.contact-block p,
.contact-block a {
    color: var(--color-text);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: block;
}

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

/* Luxury Form */
.luxury-form {
    width: 100%;
    max-width: 500px;
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.luxury-form input,
.luxury-form select,
.luxury-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
    color: var(--color-cream);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.luxury-form input:focus,
.luxury-form textarea:focus {
    border-bottom-color: var(--color-gold);
}

@media (max-width: 900px) {
    .concierge-split {
        flex-direction: column !important;
        padding-top: 80px;
        /* Navbar safety */
    }

    .concierge-info,
    .concierge-form-section {
        width: 100% !important;
        padding: 3rem 1.5rem;
    }

    .page-title {
        font-size: 3rem;
    }

    .menu-items {
        grid-template-columns: 1fr;
    }

    .course-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .course-date-box {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 1rem;
        padding-right: 0;
        width: 100%;
    }

    .course-details {
        padding: 1rem 0;
    }
}

/* MOBILE RESPONSIVE STYLES */
@media (max-width: 768px) {

    /* Navigation */
    .menu-toggle {
        display: block;
        font-size: 2rem;
        color: var(--color-gold);
        cursor: pointer;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-bg);
        border-bottom: 1px solid var(--color-gold-dim);
        padding: 2rem;
        transform: translateY(-150%);
        /* Hidden by default */
        transition: transform 0.4s ease;
        opacity: 0;
        pointer-events: none;
        gap: 2rem;
        text-align: center;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .mobile-hidden {
        display: none;
        /* Hide 'Agendar Cita' button in header to save space usually, or keep it */
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    /* Hero */
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-label {
        font-size: 0.7rem;
        padding-left: 0;
        margin-bottom: 1rem;
    }

    .hero-label::before {
        display: none;
    }

    /* General Layout */
    .split-layout {
        flex-direction: column;
        gap: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-contact {
        text-align: center;
    }

    /* Concierge mobile fix */
    .concierge-split {
        flex-direction: column !important;
        padding-top: 80px;
        /* Navbar clearance */
    }

    .concierge-info,
    .concierge-form-section {
        width: 100% !important;
        padding: 3rem 1.5rem;
        flex: auto;
        /* Allow natural height */
    }

    /* Luxury Form */
    .luxury-form {
        width: 100%;
    }

    /* Prevent Grid Overflow on small screens */
    .services-grid,
    .manifesto-grid,
    .menu-items {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   CHAT WIDGET STYLES (SOMA CONCIERGE)
   ========================================= */

.chat-widget-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
}

.chat-widget-button:hover {
    transform: translateY(-5px);
    background: var(--color-gold);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.chat-widget-button:hover ion-icon {
    color: var(--color-bg);
}

.chat-window {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 380px;
    height: 600px;
    max-height: 80vh;
    background: var(--color-bg);
    border: 1px solid var(--color-gold-dim);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.chat-window.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

/* Header */
.chat-header {
    padding: 1.5rem;
    background: var(--color-bg-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
}

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

.chat-avatar-header {
    width: 40px;
    height: 40px;
    background: var(--color-gold);
    color: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

.chat-title-group {
    display: flex;
    flex-direction: column;
}

.chat-header-title {
    font-family: var(--font-heading);
    color: var(--color-cream);
    font-size: 1.1rem;
}

.chat-header-status {
    font-size: 0.7rem;
    color: var(--color-emerald);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

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

/* Body */
.chat-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chat-message {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    max-width: 85%;
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-avatar {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-gold-dim);
    color: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.chat-message.user .chat-avatar {
    display: none;
    /* Hide user avatar */
}

.chat-bubble {
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.chat-message.bot .chat-bubble {
    background: var(--color-bg-secondary);
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom-left-radius: 0;
}

.chat-message.user .chat-bubble {
    background: var(--color-gold-dim);
    color: var(--color-white);
    border: 1px solid var(--color-gold);
    border-bottom-right-radius: 0;
}

/* Footer */
.chat-footer {
    padding: 1.5rem;
    background: var(--color-bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0 0 8px 8px;
}

#chat-form {
    display: flex;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#chat-input {
    flex: 1;
    background: none;
    border: none;
    color: var(--color-cream);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
}

#chat-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

#chat-form button {
    background: none;
    border: none;
    color: var(--color-gold);
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
}

#chat-form button:hover {
    transform: translateX(3px);
    color: var(--color-cream);
}

/* Typing Indicator */
.chat-message.typing .chat-bubble {
    padding: 0.5rem 1rem;
    font-style: italic;
    opacity: 0.7;
}

/* Scrollbar */
.chat-body::-webkit-scrollbar {
    width: 6px;
}

.chat-body::-webkit-scrollbar-track {
    background: var(--color-bg);
}

.chat-body::-webkit-scrollbar-thumb {
    background: var(--color-bg-secondary);
    border-radius: 3px;
}

.chat-body::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-dim);
}

/* =========================================
   DEFINITIVE MOBILE FIX (NUCLEAR OPTION)
   ========================================= */
@media (max-width: 900px) {
    section.concierge-split {
        flex-direction: column !important;
        display: flex !important;
        padding-top: 100px !important;
    }

    .concierge-info,
    .concierge-form-section {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        padding: 2rem 1.5rem !important;
    }
}