:root {
    /* Paleta de Colores - Dark Luxury con Azul */
    --primary-500: #3b82f6;
    --primary-rgb: 59, 130, 246;
    /* Valor para RGBA */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;

    --bg-primary: #000000;
    --bg-secondary: #09090b;
    --bg-tertiary: #18181b;

    --text-primary: #ffffff;
    --text-secondary: #e4e4e7;
    --text-tertiary: #a1a1aa;
    --text-quaternary: #71717a;

    --success: #22c55e;
    --info: #3b82f6;
    --warning: #f59e0b;
}


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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

ul {
    list-style: none;
}

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

/* --- Stars & Particles --- */
#stars-container,
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.star {
    position: absolute;
    background: var(--primary-400);
    border-radius: 50%;
    opacity: 0;
    animation: twinkle var(--duration) ease-in-out infinite;
    filter: blur(1px);
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        opacity: var(--max-opacity);
        transform: scale(1.2);
    }
}

.particle {
    position: absolute;
    background: var(--primary-500);
    border-radius: 50%;
    filter: blur(1px);
    box-shadow: 0 0 10px var(--primary-500), 0 0 20px var(--primary-400);
    opacity: 0.6;
    animation: float-particle var(--duration) linear infinite, wander 5s ease-in-out infinite alternate;
}

@keyframes float-particle {
    0% {
        transform: translateY(110vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-10vh) translateX(var(--drift));
        opacity: 0;
    }
}

@keyframes wander {
    0% {
        margin-left: -20px;
    }

    100% {
        margin-left: 20px;
    }
}

/* --- Theme Switcher --- */
.theme-switcher {
    position: fixed;
    top: 24px;
    right: 32px;
    z-index: 2000;
    display: flex;
    gap: 12px;
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 15px;
    border-radius: 100px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.theme-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.theme-dot:hover {
    transform: scale(1.3);
}

.theme-dot.active {
    transform: scale(1.2);
    border-color: white;
    box-shadow: 0 0 15px var(--primary-500);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    padding: 16px 0;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo strong {
    color: var(--primary-500);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-500);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-500);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* --- Buttons --- */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 50%, var(--primary-400) 100%);
    background-size: 200% 200%;
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.5);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-500);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-300);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 24px;
}

.hero-home-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 100px;
    margin-bottom: 40px;
    backdrop-filter: blur(12px);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 20px rgba(var(--primary-rgb), 0.1);
}

.hero-home-badge:hover {
    background: rgba(var(--primary-rgb), 0.12);
    border-color: var(--primary-400);
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 30px rgba(var(--primary-rgb), 0.2);
}

.badge-icon {
    font-size: 1.3rem;
    color: var(--primary-400);
    filter: drop-shadow(0 0 8px var(--primary-500));
}

.badge-text {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.3px;
}

.badge-pulse {
    position: absolute;
    left: 20px;
    width: 25px;
    height: 25px;
    background: var(--primary-500);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.hero-ctas {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: white;
}

.stat-plus {
    color: var(--primary-500);
    font-weight: 800;
    font-size: 1.5rem;
}

.stat-label {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Hero Visual (Sphere) --- */
.hero-visual {
    position: relative;
}

.sphere {
    width: 450px;
    height: 450px;
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.sphere-inner {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(var(--primary-rgb), 0.15), transparent);
    border-radius: 50%;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    backdrop-filter: blur(10px);
}

.visual-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-overlay {
    width: 80%;
    height: 80%;
    object-fit: cover;
    border-radius: 50%;
    mix-blend-mode: luminosity;
    opacity: 0.7;
    filter: drop-shadow(0 0 30px rgba(var(--primary-rgb), 0.3));
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.icon-3d {
    position: absolute;
    font-size: 2.5rem;
    color: var(--primary-400);
    filter: drop-shadow(0 0 10px rgba(var(--primary-rgb), 0.5));
    animation: floatIcon 4s ease-in-out infinite;
}

.icon-3d:nth-child(1) {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.icon-3d:nth-child(2) {
    bottom: 20%;
    left: 0;
    animation-delay: 1s;
}

.icon-3d:nth-child(3) {
    top: 50%;
    left: -10%;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-30px) rotate(2deg);
    }
}

@keyframes floatIcon {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1) translateY(-10px);
    }
}

.glow-primary {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-500);
    filter: blur(150px);
    opacity: 0.2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* --- Social Proof --- */
.social-proof {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.convenios-grid {
    justify-content: center;
    gap: 40px;
}

/* Partner card */
.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 22px 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    min-width: 150px;
    flex: 1;
    max-width: 200px;
    transition: all 0.35s ease;
    cursor: default;
}

.partner-card:hover {
    background: rgba(var(--primary-rgb), 0.07);
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.12);
}

.partner-name {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    text-align: center;
    transition: color 0.3s;
    text-transform: uppercase;
}

.partner-card:hover .partner-name {
    color: white;
}

.partner-subtitle {
    font-size: 0.72rem;
    color: var(--text-quaternary);
    text-align: center;
    line-height: 1.4;
}

/* Legacy selector kept for safety */
.partner-logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-tertiary);
    transition: 0.3s;
}

.partner-logo:hover {
    color: white;
}


/* --- Sections Common --- */
section {
    padding: 120px 0;
}

.section-tag {
    color: var(--primary-500);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 60px;
}

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

/* --- Services Grid & Flip Cards --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card-flip {
    height: 420px;
    perspective: 1000px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.service-card-flip:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
}

.service-card-front {
    background: var(--bg-tertiary);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: 0.5s;
}

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

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.service-title-front {
    font-size: 1.5rem;
    font-weight: 700;
}

.highlight-card {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2), rgba(var(--primary-rgb), 0.05));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(var(--primary-rgb), 0.3);
}

.service-icon-large {
    font-size: 5rem;
    color: var(--primary-500);
    filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.5));
    margin-bottom: 20px;
}

.service-card-back {
    transform: rotateY(180deg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(var(--primary-rgb), 0.15);
}

.glass-card {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--primary-rgb), 0.02) 100%);
    backdrop-filter: blur(20px);
}

.service-title-back {
    font-size: 1.5rem;
    color: var(--primary-500);
    margin-bottom: 20px;
}

.service-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tag {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-400);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-img-card {
    border-radius: 30px;
    padding: 15px;
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: 20px;
    filter: grayscale(0.5);
    transition: 0.5s;
}

.about-img:hover {
    filter: grayscale(0);
}

.about-badge {
    position: absolute;
    bottom: 40px;
    right: -20px;
    background: var(--bg-secondary);
    border: 1px solid var(--primary-500);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.badge-title {
    display: block;
    font-weight: 700;
    color: white;
}

.badge-subtitle {
    display: block;
    font-size: 0.85rem;
    color: var(--primary-500);
}

.about-text {
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.about-feat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.about-feat-item i {
    color: var(--primary-500);
}

.highlight-feat {
    color: var(--primary-400);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.3);
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.testimonial-card:hover {
    border-color: var(--primary-500);
    transform: translateY(-10px);
}

.stars {
    color: #fbbf24;
    margin-bottom: 20px;
}

.test-quote {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.test-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-500);
}

.user-name {
    display: block;
    font-weight: 700;
}

.user-role {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

/* --- CTA Banner --- */
.cta-banner {
    background: radial-gradient(circle at center, rgba(var(--primary-rgb), 0.15), var(--bg-primary));
}

.cta-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pulse-glow {
    animation: pulse-glow 3s linear infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(var(--primary-rgb), 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
    }
}

/* --- Footer --- */
.footer {
    padding: 100px 0 40px;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-desc {
    color: var(--text-tertiary);
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary-500);
    color: black;
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: white;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-tertiary);
}

.footer-links a:hover {
    color: var(--primary-500);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-tertiary);
}

.contact-info i {
    color: var(--primary-500);
    margin-top: 5px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-quaternary);
    font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: flex;
        justify-content: center;
    }

    .sphere {
        width: 350px;
        height: 350px;
    }

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

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

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

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        background: none;
        border: none;
    }

    .mobile-menu-toggle span {
        width: 30px;
        height: 2px;
        background: white;
    }

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

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

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

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

/* --- Modal Styles --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 100%;
    max-width: 480px;
    padding: 50px 40px 44px;
    border-radius: 30px;
    position: relative;
    border: 1px solid rgba(var(--primary-rgb), 0.25);
    transform: translateY(30px) scale(0.97);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
    line-height: 1;
}

.modal-close:hover {
    opacity: 1;
    color: var(--primary-500);
}

/* --- Phone modal specific --- */
.modal-phone {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.phone-modal-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-700), var(--primary-500));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    margin: 0 auto 28px;
    box-shadow: 0 0 0 12px rgba(var(--primary-rgb), 0.12),
        0 0 0 24px rgba(var(--primary-rgb), 0.06);
    animation: phonePulse 2.5s ease-in-out infinite;
}

@keyframes phonePulse {

    0%,
    100% {
        box-shadow: 0 0 0 12px rgba(var(--primary-rgb), 0.12), 0 0 0 24px rgba(var(--primary-rgb), 0.06);
    }

    50% {
        box-shadow: 0 0 0 18px rgba(var(--primary-rgb), 0.16), 0 0 0 36px rgba(var(--primary-rgb), 0.04);
    }
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.phone-modal-desc {
    color: var(--text-tertiary);
    font-size: 0.95rem;
    margin-bottom: 36px;
    max-width: 320px;
}

.phone-number-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 1.9rem;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: 2px;
    color: white;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--primary-700), var(--primary-500));
    padding: 20px 36px;
    border-radius: 20px;
    margin-bottom: 28px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.35);
    width: 100%;
}

.phone-number-link i {
    font-size: 1.8rem;
    animation: ringShake 2s ease-in-out infinite;
}

@keyframes ringShake {

    0%,
    90%,
    100% {
        transform: rotate(0deg);
    }

    92% {
        transform: rotate(-15deg);
    }

    96% {
        transform: rotate(15deg);
    }
}

.phone-number-link:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 40px rgba(var(--primary-rgb), 0.5);
    filter: brightness(1.1);
}

.phone-modal-hours {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-tertiary);
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.phone-modal-hours i {
    color: var(--primary-400);
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .modal-content {
        padding: 40px 24px;
        width: 90%;
    }

    .phone-number-link {
        font-size: 2rem;
        padding: 18px 24px;
    }
}


/* --- Chatbot Widget --- */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    font-family: 'Inter', sans-serif;
}

.chatbot-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chatbot-button:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.6);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 550px;
    background: rgba(9, 9, 11, 0.9);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(34, 197, 94, 0.1);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.chatbot-header {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 24px 20px;
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}


.agent-avatar {
    width: 45px;
    height: 45px;
    background: var(--primary-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 1.2rem;
    position: relative;
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border: 2px solid var(--bg-secondary);
    border-radius: 50%;
}

.agent-info h4 {
    margin: 0;
    font-size: 1rem;
    color: white;
}

.agent-info p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--primary-400);
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-700) transparent;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: var(--primary-700);
    border-radius: 10px;
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
    animation: messageIn 0.3s ease-out;
}

@keyframes messageIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.agent {
    align-self: flex-start;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-bottom-left-radius: 2px;
}

.message.user {
    align-self: flex-end;
    background: var(--primary-600);
    color: white;
    border-bottom-right-radius: 2px;
}

.chatbot-input {
    padding: 15px;
    background: var(--bg-tertiary);
    border-top: 1px solid rgba(34, 197, 94, 0.1);
    display: flex;
    gap: 10px;
}

.chatbot-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 15px;
    color: white;
    outline: none;
    transition: 0.3s;
}

.chatbot-input input:focus {
    border-color: var(--primary-500);
    background: rgba(255, 255, 255, 0.1);
}

.chatbot-send {
    background: var(--primary-600);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.chatbot-voice {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-400);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.chatbot-voice:hover,
.chatbot-mute:hover {
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary-500);
    border-color: var(--primary-500);
}

.chatbot-mute {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-400);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.chatbot-mute.muted {
    color: var(--text-quaternary);
    background: rgba(255, 255, 255, 0.02);
}

.chatbot-voice.listening {
    background: var(--primary-500);
    color: black;
    animation: voicePulse 1.5s infinite;
}

@keyframes voicePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.chatbot-send:hover {
    background: var(--primary-500);
    transform: scale(1.05);
}

.typing-indicator {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin: 0 20px 10px;
    display: none;
    font-style: italic;
}

@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100vw - 40px);
        right: -10px;
        bottom: 80px;
        height: 450px;
    }
}