/* ═══════════════════════════════════════════════════════════════ */
/* MASIF.TICARET — PREMIUM SINEMATIC DESIGN                       */
/* ═══════════════════════════════════════════════════════════════ */

:root {
    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #0f1419;
    --text-main: #f0f0eb;
    --text-muted: #8b8b83;
    --accent-color: #d3925b;
    --accent-light: #e0a870;
    --accent-dark: #b87a45;
    --accent-glow: rgba(211, 146, 91, 0.3);
    --font-main: 'DM Sans', sans-serif;
    --font-heading: 'Fraunces', serif;
    --transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html { scroll-behavior: smooth; }

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

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

/* ═══════════════════════════════════════════════════════════════ */
/* ANIMATIONS                                                       */
/* ═══════════════════════════════════════════════════════════════ */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 40px rgba(211, 146, 91, 0.3); }
    50% { box-shadow: 0 0 60px rgba(211, 146, 91, 0.5); }
}

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

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.anim-fade-up {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ═══════════════════════════════════════════════════════════════ */
/* NAVBAR                                                           */
/* ═══════════════════════════════════════════════════════════════ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    backdrop-filter: blur(20px);
    background: rgba(5, 5, 5, 0.6);
    border-bottom: 1px solid rgba(211, 146, 91, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

.nav-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-back:hover {
    color: var(--accent-color);
    transform: translateX(-4px);
}

.nav-back svg { width: 18px; height: 18px; }

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.nav-logo span { color: var(--accent-color); }

.nav-cta {
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: var(--bg-primary);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(211, 146, 91, 0.3);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.75rem;
    background: rgba(211, 146, 91, 0.08);
    border: 1px solid rgba(211, 146, 91, 0.2);
    border-radius: 16px;
    padding: 3px 6px;
}

.lang-btn {
    color: var(--text-muted);
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-family: var(--font-main);
}

.lang-btn:hover {
    color: var(--accent-color);
    background: rgba(211, 146, 91, 0.15);
}

.lang-btn.active {
    background: rgba(211, 146, 91, 0.25);
    color: var(--accent-color);
    font-weight: 600;
    box-shadow: 0 0 8px rgba(211, 146, 91, 0.4);
}

/* ═══════════════════════════════════════════════════════════════ */
/* HERO                                                             */
/* ═══════════════════════════════════════════════════════════════ */

.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5,5,5,0.85), rgba(20,15,10,0.8)),
                url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1600&q=80') center/cover;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 800px at 20% 50%, rgba(211,146,91,0.15), transparent 70%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: center;
    padding: 6rem 0;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
    border: 1px solid rgba(211, 146, 91, 0.3);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    width: fit-content;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -1.5px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent-light), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s infinite;
    background-size: 200% auto;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 520px;
    font-weight: 300;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    padding-top: 1rem;
}

.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-top: 3rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator span {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Hero Metrics */
.hero-metrics {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.metric-card {
    background: rgba(211, 146, 91, 0.05);
    border: 1px solid rgba(211, 146, 91, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.metric-card:hover {
    background: rgba(211, 146, 91, 0.1);
    border-color: rgba(211, 146, 91, 0.3);
    transform: translateY(-8px);
}

.metric-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* STATS SECTION                                                    */
/* ═══════════════════════════════════════════════════════════════ */

.stats-section {
    background: linear-gradient(90deg, rgba(211,146,91,0.08), rgba(211,146,91,0.04));
    border-top: 1px solid rgba(211, 146, 91, 0.1);
    border-bottom: 1px solid rgba(211, 146, 91, 0.1);
    padding: 6rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.8rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════ */
/* SECTION HEADER                                                   */
/* ═══════════════════════════════════════════════════════════════ */

.section-header {
    margin-bottom: 5rem;
    text-align: center;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.section-header h2 span {
    color: var(--accent-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════════════ */
/* SERVICES SECTION                                                 */
/* ═══════════════════════════════════════════════════════════════ */

.services-section {
    padding: 8rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid rgba(211, 146, 91, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    border-color: rgba(211, 146, 91, 0.3);
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .card-image {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(5,5,5,0.4) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .card-overlay {
    opacity: 1;
}

.card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(211, 146, 91, 0.1);
    border: 1px solid rgba(211, 146, 91, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.card-icon svg { width: 24px; height: 24px; }

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: -0.3px;
}

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

/* Featured Card */
.service-card.featured {
    position: relative;
    border-color: rgba(211, 146, 91, 0.3);
    background: linear-gradient(135deg, rgba(211,146,91,0.08), rgba(211,146,91,0.04));
    box-shadow: 0 0 40px rgba(211, 146, 91, 0.1);
}

.service-card.featured:hover {
    box-shadow: 0 30px 70px rgba(211, 146, 91, 0.2);
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    z-index: 10;
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
    border: 1px solid rgba(211, 146, 91, 0.4);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    background: rgba(5, 5, 5, 0.8);
}

/* ═══════════════════════════════════════════════════════════════ */
/* PROCESS SECTION                                                  */
/* ═══════════════════════════════════════════════════════════════ */

.process-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, rgba(5,5,5,0.5), rgba(15,20,25,0.8));
    border-top: 1px solid rgba(211, 146, 91, 0.1);
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 150px;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-color), transparent);
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 4rem;
    margin-bottom: 5rem;
    align-items: flex-start;
}

.process-step:last-child::before {
    display: none;
}

.step-visual {
    flex-shrink: 0;
    position: relative;
    width: 300px;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 300;
    color: rgba(211, 146, 91, 0.08);
    line-height: 1;
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: -2rem;
}

.step-line {
    position: absolute;
    left: 50%;
    top: 60px;
    width: 2px;
    height: 100px;
    background: var(--accent-color);
    transform: translateX(-50%);
}

.step-content {
    flex: 1;
    padding-top: 2rem;
}

.process-step h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 500px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* CTA SECTION                                                      */
/* ═══════════════════════════════════════════════════════════════ */

.cta-section {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 600px at 50% 0%, rgba(211,146,91,0.15), transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-header h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.cta-header p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.cta-guarantee {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 3rem 0;
}

.guarantee-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    text-align: left;
}

.guarantee-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
}

.guarantee-item strong {
    display: block;
    margin-bottom: 0.5rem;
}

.guarantee-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════ */
/* BUTTONS                                                          */
/* ═══════════════════════════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(211, 146, 91, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(211, 146, 91, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════════ */
/* FOOTER                                                           */
/* ═══════════════════════════════════════════════════════════════ */

.footer {
    background: rgba(15, 20, 25, 0.8);
    border-top: 1px solid rgba(211, 146, 91, 0.1);
    padding: 5rem 0 2rem;
}

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

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent-color);
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-divider {
    height: 1px;
    background: rgba(211, 146, 91, 0.1);
    margin: 2rem 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════════ */
/* GRADIENT TEXT                                                    */
/* ═══════════════════════════════════════════════════════════════ */

.gradient-text {
    background: linear-gradient(135deg, var(--accent-light), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ═══════════════════════════════════════════════════════════════ */
/* CHAT WIDGET (Preserved from original)                           */
/* ═══════════════════════════════════════════════════════════════ */

.chat-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    border: none;
    color: var(--bg-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 30px rgba(211, 146, 91, 0.4);
    transition: all 0.3s ease;
    z-index: 998;
}

.chat-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 40px rgba(211, 146, 91, 0.5);
}

.chat-fab svg { width: 28px; height: 28px; }
.chat-fab .fab-icon-close { display: none; }
.chat-fab.active .fab-icon-open { display: none; }
.chat-fab.active .fab-icon-close { display: block; }

.fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--bg-primary);
    color: var(--accent-color);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 2px 6px;
    border-radius: 8px;
    border: 1px solid rgba(211, 146, 91, 0.3);
}

.chat-fab.active .fab-badge { display: none; }

.chat-panel {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 380px;
    height: 520px;
    background: var(--bg-secondary);
    border: 1px solid rgba(211, 146, 91, 0.15);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 997;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s ease;
}

.chat-panel.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(211, 146, 91, 0.06);
    border-bottom: 1px solid rgba(211, 146, 91, 0.1);
    flex-shrink: 0;
}

.chat-header-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.chat-header-info { flex: 1; }

.chat-header-brand {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-main);
}

.chat-header-brand span { color: var(--accent-color); }

.chat-header-status {
    font-size: 0.62rem;
    color: #4ade80;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}

.chat-status-dot {
    width: 5px;
    height: 5px;
    background: #4ade80;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.chat-reset-btn {
    background: transparent;
    border: 1px solid rgba(211, 146, 91, 0.15);
    color: var(--text-muted);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.chat-reset-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(211, 146, 91, 0.15) transparent;
}

.chat-messages::-webkit-scrollbar { width: 3px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(211, 146, 91, 0.2); border-radius: 3px; }

.chat-msg {
    display: flex;
    gap: 8px;
    animation: fadeUp 0.25s ease;
    max-width: 90%;
}

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

.chat-msg-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.chat-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.82rem;
    line-height: 1.55;
    max-width: 100%;
}

.chat-bot .chat-bubble {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-top-left-radius: 4px;
    color: var(--text-main);
}

.chat-user .chat-bubble {
    background: rgba(211, 146, 91, 0.15);
    border: 1px solid rgba(211, 146, 91, 0.2);
    border-top-right-radius: 4px;
    color: var(--text-main);
}

.chat-buttons-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 2px 0 4px 34px;
    animation: fadeUp 0.3s ease;
}

.chat-qr-btn {
    background: transparent;
    border: 1px solid rgba(211, 146, 91, 0.3);
    color: var(--accent-color);
    padding: 6px 12px;
    border-radius: 18px;
    font-size: 0.72rem;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
}

.chat-qr-btn:hover {
    background: rgba(211, 146, 91, 0.1);
    border-color: var(--accent-color);
    color: var(--text-main);
}

.chat-qr-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.chat-typing-dots {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 14px;
    border-radius: 14px;
    border-top-left-radius: 4px;
}

.chat-typing-dots span {
    width: 5px;
    height: 5px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: bounce-dots 1.2s infinite;
}

.chat-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce-dots {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-4px); }
}

.chat-lead-wrap {
    padding: 2px 0 4px 34px;
    animation: fadeUp 0.3s ease;
}

.chat-lead-form {
    background: rgba(211, 146, 91, 0.05);
    border: 1px solid rgba(211, 146, 91, 0.15);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 280px;
}

.chat-lead-form p {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.chat-lead-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 0.5px;
}

.chat-lead-form input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 10px;
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 0.78rem;
    outline: none;
    transition: border-color 0.2s;
}

.chat-lead-form input:focus { border-color: var(--accent-color); }
.chat-lead-form input::placeholder { color: var(--text-muted); }

.chat-lead-submit {
    background: linear-gradient(to right, var(--accent-color), var(--accent-dark));
    border: none;
    color: var(--bg-primary);
    padding: 9px 16px;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.chat-lead-submit:hover { opacity: 0.88; }
.chat-lead-submit:disabled { opacity: 0.4; cursor: not-allowed; }

.chat-input-area {
    padding: 10px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    gap: 8px;
    align-items: flex-end;
    background: rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.chat-text-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 9px 14px;
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 0.82rem;
    outline: none;
    resize: none;
    max-height: 100px;
    line-height: 1.4;
    transition: border-color 0.2s;
}

.chat-text-input:focus { border-color: rgba(211, 146, 91, 0.3); }
.chat-text-input::placeholder { color: var(--text-muted); }

.chat-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    border: none;
    color: var(--bg-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity 0.2s, transform 0.15s;
}

.chat-send-btn:hover:not(:disabled) { opacity: 0.88; transform: scale(1.05); }
.chat-send-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* ═══════════════════════════════════════════════════════════════ */
/* RESPONSIVE                                                       */
/* ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title { font-size: 3.5rem; }
    .section-header h2 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; align-items: flex-start; }
    .btn { width: 100%; justify-content: center; }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline::before { left: 75px; }
    .step-number { font-size: 5rem; }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .cta-guarantee {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .chat-panel {
        width: calc(100vw - 16px);
        height: calc(100dvh - 100px);
        right: 8px;
        bottom: 90px;
        border-radius: 14px;
    }

    .chat-fab {
        bottom: 16px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; }
    .navbar .nav-cta { display: none; }

    .section-header h2 { font-size: 2rem; }
    .hero-metrics { display: none; }

    .services-grid {
        gap: 1.5rem;
    }

    .process-timeline::before { display: none; }
    .step-line { display: none; }
}
