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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --danger-color: #ef4444;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

html {
    -webkit-text-size-adjust: 100%;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
}

.logo h1 span {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.phone-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.phone-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e5e7eb" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--secondary-color);
    color: white;
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.pulse {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    padding: 1rem 2rem;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.9rem 1.25rem;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.10);
    border: 1px solid rgba(16, 185, 129, 0.35);
    text-decoration: none;
    transition: all 0.25s ease;
    min-width: 320px;
}

.btn-whatsapp:hover {
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.5);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp .wa-icon {
    width: 62px;
    height: 62px;
    border-radius: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.btn-whatsapp .wa-icon img {
    width: 48px;
    height: 48px;
    display: block;
    object-fit: contain;
}

.btn-whatsapp .wa-content {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.btn-whatsapp .wa-title {
    font-weight: 700;
    color: #0f3d2e;
    font-size: 1.02rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-whatsapp .wa-subtitle {
    font-size: 0.85rem;
    color: rgba(15, 61, 46, 0.75);
}

.btn-whatsapp .wa-arrow {
    margin-left: auto;
    font-size: 1.4rem;
    color: rgba(15, 61, 46, 0.65);
    line-height: 1;
}

.btn-whatsapp--compact {
    width: fit-content;
    min-width: 0;
    padding: 0.5rem 1.45rem 0.5rem 0.75rem;
    gap: 0.5rem;
    border-radius: var(--radius-xl);
    margin-top: auto;
}

.btn-whatsapp--compact .wa-content {
    flex-direction: row;
    align-items: center;
}

.btn-whatsapp--compact .wa-icon {
    width: 56px;
    height: 56px;
}

.btn-whatsapp--compact .wa-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.btn-whatsapp--compact .wa-title {
    font-size: 0.95rem;
}

.btn-whatsapp--compact .wa-subtitle {
    font-size: 0.8rem;
}

.btn-whatsapp--compact .wa-arrow {
    font-size: 1.25rem;
}

.hero-visual {
    position: relative;
    height: auto;
}

.floating-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
    max-width: 420px;
    margin-left: auto;
}

.card {
    position: static;
    padding: 1.25rem;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.card-icon {
    font-size: 2rem;
}

.card-text {
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature:hover .feature-icon {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.feature h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.service-card .btn-whatsapp--compact {
    margin-left: auto;
    margin-right: auto;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 1.25rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.service-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.service-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.service-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1rem;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
    width: fit-content;
    margin-top: auto;
}

.service-whatsapp:hover {
    filter: brightness(0.95);
    transform: translateY(-1px);
}

/* Live Services Section */
.live-services {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.live-header {
    text-align: center;
    margin-bottom: 3rem;
}

.live-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.live-header p {
    color: var(--text-secondary);
}

.live-activity {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.activity-item:hover {
    box-shadow: var(--shadow-md);
}

.activity-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.activity-content {
    flex: 1;
}

.activity-service {
    font-weight: 600;
    color: var(--text-primary);
}

.activity-location {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.activity-status {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.activity-status.active {
    background: var(--secondary-color);
    color: white;
}

.activity-status.completed {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

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

.stat-item {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

 .stat-number {
     font-size: 2rem;
     font-weight: 700;
     display: block;
 }

.live-stats .stat-item .stat-number {
    color: #ffffff;
}

.live-stats .stat-item .stat-text {
    color: #ffffff;
    opacity: 0.92;
}

.stat-text {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Guarantee Section */
.guarantee {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

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

.guarantee-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.guarantee-item {
    padding: 2rem;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.guarantee-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.guarantee-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.guarantee-item:hover .guarantee-icon {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.guarantee-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.guarantee-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Coverage Section */
.coverage {
    padding: 5rem 0;
    background: var(--bg-primary);
}

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

.coverage-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.coverage-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.coverage-map {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.coverage-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.coverage-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.coverage-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-light);
}

.coverage-item.active .coverage-dot {
    background: var(--secondary-color);
    animation: pulse 2s infinite;
}

.coverage-item.coming .coverage-dot {
    background: var(--accent-color);
}

.coverage-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: white;
    border-radius: var(--radius-xl);
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

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

.footer-logo p {
    color: var(--text-light);
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.inline-icon {
    display: inline-flex;
    vertical-align: middle;
    margin-right: 0.4rem;
    line-height: 0;
}

.inline-icon svg {
    display: block;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

.contact-phone:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-legal p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.footer-disclaimer p {
    color: var(--text-light);
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        height: auto;
    }

    .floating-cards {
        max-width: 520px;
        margin: 1.5rem auto 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .guarantee-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .coverage-map {
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-phone {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .floating-cards {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-whatsapp {
        width: 100%;
        max-width: 300px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .guarantee-content h2 {
        font-size: 2rem;
    }
}

.my-chat {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.my-chat__launcher {
    appearance: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.my-chat__launcher-text {
    font-size: 1.05rem;
    font-weight: 600;
}

.my-chat__launcher-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--secondary-color);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.18);
    animation: myChatPulse 1.8s ease-out infinite;
}

.my-chat__nudge {
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    max-width: 260px;
    background: #111827;
    color: #ffffff;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 0.85rem;
    line-height: 1.25;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
    transform-origin: bottom right;
    animation: myChatNudgeIn 260ms ease-out;
}

.my-chat__nudge::after {
    content: '';
    position: absolute;
    right: 22px;
    bottom: -8px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #111827;
}

@keyframes myChatNudgeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes myChatPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.42);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.my-chat__panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    width: 360px;
    max-width: calc(100vw - 36px);
    height: 540px;
    max-height: calc(100vh - 120px);
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    display: none;
}

@media (max-width: 768px) {
    .my-chat {
        right: 12px;
        bottom: 12px;
    }

    .my-chat__nudge {
        right: 0;
        bottom: calc(100% + 12px);
        max-width: min(290px, calc(100vw - 36px));
        font-size: 0.82rem;
    }

    .my-chat__panel {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        height: 100svh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100svh;
        max-height: 100dvh;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }

    .my-chat__input {
        font-size: 16px;
    }

    .my-chat__header {
        padding: 12px 12px 8px;
    }

    .my-chat__brand-name {
        font-size: 0.9rem;
    }

    .my-chat__brand-status {
        font-size: 0.75rem;
    }

    .my-chat__body {
        padding: 10px 12px;
        gap: 8px;
    }

    .my-chat__msg {
        padding: 9px 10px;
        font-size: 0.85rem;
    }

    .my-chat__chips {
        padding: 0 12px 8px;
    }

    .my-chat__chip {
        padding: 5px 9px;
        font-size: 0.72rem;
    }

    .my-chat__quick {
        padding: 0 12px 10px;
        gap: 8px;
    }

    .my-chat__quick-btn {
        padding: 9px 9px;
        font-size: 0.84rem;
        border-radius: 12px;
    }

    .my-chat__composer {
        padding: 10px 12px 12px;
        gap: 8px;
        grid-template-columns: 1fr 40px;
    }

    .my-chat__send {
        border-radius: 12px;
        font-size: 18px;
        touch-action: manipulation;
    }
}

.my-chat.is-open .my-chat__panel {
    display: flex;
    flex-direction: column;
}

.my-chat__header {
    padding: 14px 14px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.my-chat__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.my-chat__brand-logo {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    object-fit: contain;
    background: #fff;
}

.my-chat__brand-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #111827;
    line-height: 1.1;
}

.my-chat__brand-status {
    font-size: 0.8rem;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.my-chat__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--secondary-color);
}

.my-chat__close {
    appearance: none;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    color: #6b7280;
    padding: 4px 8px;
}

.my-chat__progress {
    height: 3px;
    background: rgba(0, 0, 0, 0.08);
}

.my-chat__progress-bar {
    height: 100%;
    width: 0%;
    background: #111827;
    transition: width 220ms ease;
}

.my-chat__whatsapp {
    margin: 12px 14px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px;
    text-decoration: none;
    border-radius: 14px;
    border: 1px solid rgba(16, 185, 129, 0.25);
    background: rgba(16, 185, 129, 0.08);
}

.my-chat__whatsapp-icon img {
    width: 28px;
    height: 28px;
    display: block;
}

.my-chat__whatsapp-title {
    display: block;
    color: #065f46;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.1;
}

.my-chat__whatsapp-subtitle {
    display: block;
    color: rgba(6, 95, 70, 0.82);
    font-size: 0.78rem;
    margin-top: 2px;
}

.my-chat__body {
    padding: 12px 14px;
    overflow: auto;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.my-chat__msg {
    max-width: 86%;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.35;
    white-space: pre-wrap;
}

.my-chat__msg--bot {
    background: #f3f4f6;
    color: #111827;
    align-self: flex-start;
}

.my-chat__msg--user {
    background: rgba(37, 99, 235, 0.12);
    color: #111827;
    align-self: flex-end;
}

.my-chat__chips {
    padding: 0 14px 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.my-chat__chip {
    appearance: none;
    border: 1px solid rgba(16, 185, 129, 0.25);
    background: rgba(16, 185, 129, 0.08);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.75rem;
    cursor: pointer;
    color: #065f46;
    font-weight: 700;
}

.my-chat__quick {
    padding: 0 14px 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.my-chat__quick-btn {
    appearance: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    border-radius: 14px;
    padding: 10px 10px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    color: #111827;
    text-align: left;
}

.my-chat__composer {
    padding: 12px 14px 14px;
    display: grid;
    grid-template-columns: 1fr 44px;
    gap: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
}

.my-chat__input {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 14px;
    padding: 11px 12px;
    font-size: 0.95rem;
    outline: none;
}

.my-chat__input:focus {
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.my-chat__send {
    appearance: none;
    border: none;
    background: #6b7280;
    color: #fff;
    border-radius: 14px;
    cursor: pointer;
    font-size: 20px;
}

.my-chat__send:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
