Preview de mixed.css
/* MIXED CSS PACK */
/* Template: vargasservicioselectricos.com.ar/index.html */
/* Template mtime: 2026-01-23 13:00:19 */
/* external link (no embedded): https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css */
/* external link (no embedded): https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css */
/* external link (no embedded): https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&family=Inter:wght@300;400;500;600;700&display=swap */
/* external link (no embedded): https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css */
/* external link (no embedded): https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css */
/* ===== INLINE <style> BLOCK #1 ===== */
/* ================== GALLERY (FIX COMPLETO) ================== */
.gallery-section{
background: var(--white);
}
/* contenedor */
#galleryCarousel.gallery-carousel{
border-radius: var(--radius-xl);
overflow: hidden;
box-shadow: var(--shadow-xl);
background: #fff;
}
/* alto del slide */
#galleryCarousel .carousel-item{
height: 520px;
background: #fff;
}
/* ✅ imagen completa (SIN recorte) */
#galleryCarousel .carousel-item img{
width: 100% !important;
height: 100% !important;
object-fit: contain !important; /* clave: no corta */
object-position: center;
display: block;
background: #fff;
}
/* Flechas: SIEMPRE visibles y con contraste */
#galleryCarousel .carousel-control-prev,
#galleryCarousel .carousel-control-next{
width: 54px;
height: 54px;
top: 50%;
transform: translateY(-50%);
opacity: 1 !important; /* nada de opacity 0 */
background: rgba(0,0,0,0.55);
border-radius: 50%;
z-index: 10;
}
/* Para que no “tapen” todo el carrusel */
#galleryCarousel .carousel-control-prev,
#galleryCarousel .carousel-control-next{
bottom: auto !important;
}
#galleryCarousel .carousel-control-prev:hover,
#galleryCarousel .carousel-control-next:hover{
background: rgba(0,0,0,0.75);
}
/* Indicadores */
#galleryCarousel .carousel-indicators{
margin-bottom: 1rem;
}
#galleryCarousel .carousel-indicators button{
width: 12px;
height: 12px;
border-radius: 50%;
background-color: var(--gray-300);
margin: 0 6px;
opacity: 1;
}
#galleryCarousel .carousel-indicators button.active{
background-color: var(--secondary);
}
/* Responsive */
@media (max-width: 768px){
#galleryCarousel .carousel-item{ height: 320px; }
}
@media (max-width: 576px){
#galleryCarousel .carousel-item{ height: 260px; }
}
/* fuerza el eyebrow arriba del título */
.eyebrow{
display: block; /* antes inline-block */
width: fit-content; /* que no se estire */
margin: 0 auto 1rem; /* centrado + separación */
}
/* Eyebrow SIEMPRE arriba y centrado */
.text-center .eyebrow{
display: block;
position: relative;
left: 50%;
transform: translateX(-50%);
width: fit-content;
margin: 0 0 1rem 0;
}
:root {
--primary: #0a2b4a;
--primary-light: #1a3b5a;
--primary-dark: #061d35;
--secondary: #1e88e5;
--success: #25d366;
--accent: #ff9800;
--dark-bg: #0b1220;
--light-bg: #f8fafc;
--white: #ffffff;
--gray-100: #f3f4f6;
--gray-200: #e5e7eb;
--gray-300: #d1d5db;
--gray-600: #4b5563;
--gray-700: #374151;
--gray-900: #111827;
--radius-sm: 8px;
--radius-md: 16px;
--radius-lg: 24px;
--radius-xl: 32px;
--radius-full: 999px;
--shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
--shadow-md: 0 8px 30px rgba(0,0,0,0.08);
--shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
--shadow-xl: 0 30px 80px rgba(0,0,0,0.15);
--transition-fast: 0.2s ease;
--transition-base: 0.3s ease;
--transition-slow: 0.5s ease;
--font-heading: 'Montserrat', sans-serif;
--font-body: 'Inter', system-ui, -apple-system, sans-serif;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
scroll-padding-top: 80px;
}
body {
font-family: var(--font-body);
background-color: var(--white);
color: var(--gray-900);
line-height: 1.6;
overflow-x: hidden;
font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-heading);
font-weight: 800;
line-height: 1.2;
letter-spacing: -0.02em;
}
.display-5 {
font-family: var(--font-heading);
font-weight: 900;
letter-spacing: -0.03em;
}
/* Navbar Premium */
.navbar {
padding: 1rem 0;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
transition: all var(--transition-base);
}
.navbar.scrolled {
padding: 0.75rem 0;
box-shadow: var(--shadow-md);
background: rgba(255, 255, 255, 0.98);
}
.navbar-brand {
font-weight: 900;
font-size: 1.5rem;
color: var(--primary) !important;
display: flex;
align-items: center;
gap: 0.5rem;
}
.navbar-brand i {
color: var(--secondary);
font-size: 1.8rem;
filter: drop-shadow(0 2px 4px rgba(30, 136, 229, 0.2));
}
.nav-link {
font-weight: 600;
color: var(--gray-700) !important;
padding: 0.5rem 1rem !important;
border-radius: var(--radius-full);
transition: all var(--transition-fast);
position: relative;
}
.nav-link:hover, .nav-link.active {
color: var(--primary) !important;
background: rgba(10, 43, 74, 0.05);
}
.nav-link::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
width: 0;
height: 2px;
background: linear-gradient(90deg, var(--secondary), var(--accent));
transition: all var(--transition-base);
transform: translateX(-50%);
border-radius: var(--radius-full);
}
.nav-link:hover::after, .nav-link.active::after {
width: 70%;
}
.navbar-toggler {
border: none;
padding: 0.5rem;
border-radius: var(--radius-sm);
}
.navbar-toggler:focus {
box-shadow: 0 0 0 2px rgba(10, 43, 74, 0.1);
}
.btn-primary {
background: linear-gradient(135deg, var(--primary), var(--primary-light));
border: none;
font-weight: 600;
padding: 0.75rem 2rem;
border-radius: var(--radius-full);
transition: all var(--transition-base);
box-shadow: 0 4px 12px rgba(10, 43, 74, 0.2);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(10, 43, 74, 0.3);
background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.btn-outline-dark {
border: 2px solid var(--gray-300);
color: var(--gray-700);
font-weight: 600;
padding: 0.75rem 2rem;
border-radius: var(--radius-full);
transition: all var(--transition-base);
}
.btn-outline-dark:hover {
border-color: var(--primary);
background-color: rgba(10, 43, 74, 0.05);
color: var(--primary);
transform: translateY(-2px);
box-shadow: var(--shadow-md);
}
/* Hero Section Premium */
.hero {
padding-top: 140px;
padding-bottom: 80px;
background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
position: relative;
overflow: hidden;
}
.hero::before {
content: '';
position: absolute;
top: 0;
right: 0;
width: 60%;
height: 100%;
background:
radial-gradient(circle at 80% 20%, rgba(30, 136, 229, 0.08) 0%, transparent 50%),
radial-gradient(circle at 20% 80%, rgba(37, 211, 102, 0.05) 0%, transparent 50%);
z-index: 0;
}
.hero-content {
position: relative;
z-index: 2;
}
.hero-badge {
display: inline-flex;
align-items: center;
gap: 0.75rem;
background: linear-gradient(135deg, rgba(30, 136, 229, 0.1), rgba(37, 211, 102, 0.1));
border: 1px solid rgba(30, 136, 229, 0.2);
color: var(--primary);
font-weight: 700;
padding: 0.75rem 1.5rem;
border-radius: var(--radius-full);
margin-bottom: 2rem;
backdrop-filter: blur(10px);
animation: float 3s ease-in-out infinite;
}
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}
.hero-title {
font-size: 3.5rem;
margin-bottom: 1.5rem;
background: linear-gradient(135deg, var(--primary), var(--secondary));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-subtitle {
font-size: 1.25rem;
color: var(--gray-600);
margin-bottom: 2.5rem;
max-width: 600px;
}
.hero-feature-list {
list-style: none;
padding: 0;
margin-bottom: 2.5rem;
}
.hero-feature-list li {
display: flex;
align-items: center;
gap: 0.75rem;
margin-bottom: 1rem;
font-weight: 500;
}
.hero-feature-list i {
color: var(--success);
font-size: 1.2rem;
background: rgba(37, 211, 102, 0.1);
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
flex-shrink: 0;
}
.hero-image-container {
position: relative;
border-radius: var(--radius-xl);
overflow: hidden;
box-shadow: var(--shadow-xl);
transform: perspective(1000px) rotateY(-5deg);
transition: transform var(--transition-base);
}
.hero-image-container:hover {
transform: perspective(1000px) rotateY(0deg);
}
.hero-image-container::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(45deg, rgba(10, 43, 74, 0.1), transparent);
z-index: 1;
}
.hero-img {
width: 100%;
height: 100%;
min-height: 500px;
object-fit: cover;
display: block;
}
.contact-info {
margin-top: 2rem;
padding: 1.5rem;
background: var(--white);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-md);
display: flex;
flex-wrap: wrap;
gap: 1.5rem;
}
.contact-item {
display: flex;
align-items: center;
gap: 0.75rem;
color: var(--gray-700);
}
.contact-item i {
color: var(--secondary);
font-size: 1.2rem;
}
/* Section Styles */
.section {
padding: 6rem 0;
position: relative;
}
.section-title {
font-size: 2.5rem;
margin-bottom: 1rem;
position: relative;
display: inline-block;
}
.section-title::after {
content: '';
position: absolute;
bottom: -8px;
left: 0;
width: 60px;
height: 4px;
background: linear-gradient(90deg, var(--secondary), var(--accent));
border-radius: var(--radius-full);
}
.section-subtitle {
font-size: 1.125rem;
color: var(--gray-600);
max-width: 700px;
margin: 0 auto 3rem;
}
.eyebrow {
display: inline-block;
font-size: 0.875rem;
font-weight: 700;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--secondary);
margin-bottom: 1rem;
padding: 0.5rem 1rem;
background: rgba(30, 136, 229, 0.1);
border-radius: var(--radius-full);
}
/* Card Styles */
.card-premium {
background: var(--white);
border: none;
border-radius: var(--radius-lg);
padding: 2.5rem;
height: 100%;
box-shadow: var(--shadow-md);
transition: all var(--transition-base);
position: relative;
overflow: hidden;
}
.card-premium::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 4px;
height: 100%;
background: linear-gradient(180deg, var(--secondary), var(--accent));
opacity: 0;
transition: opacity var(--transition-base);
}
.card-premium:hover {
transform: translateY(-10px);
box-shadow: var(--shadow-xl);
}
.card-premium:hover::before {
opacity: 1;
}
.card-icon {
width: 64px;
height: 64px;
border-radius: var(--radius-md);
background: linear-gradient(135deg, rgba(30, 136, 229, 0.1), rgba(37, 211, 102, 0.1));
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1.5rem;
font-size: 1.75rem;
color: var(--secondary);
box-shadow: var(--shadow-sm);
}
.card-title {
font-size: 1.5rem;
margin-bottom: 1rem;
color: var(--primary);
}
.card-text {
color: var(--gray-600);
margin-bottom: 0;
}
/* Feature Grid */
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.feature-item {
display: flex;
gap: 1.5rem;
align-items: flex-start;
}
.feature-icon {
width: 56px;
height: 56px;
border-radius: var(--radius-md);
background: linear-gradient(135deg, rgba(30, 136, 229, 0.1), rgba(255, 152, 0, 0.1));
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
font-size: 1.5rem;
color: var(--secondary);
}
.feature-content h4 {
margin-bottom: 0.5rem;
color: var(--primary);
}
.feature-content p {
color: var(--gray-600);
margin-bottom: 0;
}
/* About Section */
.about-section {
background: var(--light-bg);
position: relative;
}
.about-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 1px;
background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}
/* Services Section */
.services-section {
background: var(--white);
}
/* Why Choose Us */
.why-choose-section {
background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
}
/* FAQ Section */
.faq-section {
background: var(--light-bg);
}
.accordion-premium {
border: none;
border-radius: var(--radius-lg);
overflow: hidden;
box-shadow: var(--shadow-md);
}
.accordion-item {
background: var(--white);
border: none;
border-bottom: 1px solid var(--gray-200);
}
.accordion-item:last-child {
border-bottom: none;
}
.accordion-button {
background: var(--white);
color: var(--primary);
font-weight: 600;
font-size: 1.125rem;
padding: 1.5rem 2rem;
border: none;
box-shadow: none;
}
.accordion-button:not(.collapsed) {
background: var(--white);
color: var(--primary);
box-shadow: none;
}
.accordion-button::after {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230a2b4a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
transform: scale(1.2);
}
.accordion-button:not(.collapsed)::after {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230a2b4a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-body {
padding: 0 2rem 1.5rem;
color: var(--gray-600);
}
/* Contact Section */
.contact-section {
background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-dark) 100%);
color: var(--white);
}
.contact-section .section-title {
color: var(--white);
}
.contact-section .section-subtitle {
color: rgba(255, 255, 255, 0.8);
}
.contact-form-container {
background: var(--white);
border-radius: var(--radius-xl);
padding: 3rem;
box-shadow: var(--shadow-xl);
}
.contact-info-card {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-radius: var(--radius-lg);
padding: 2.5rem;
height: 100%;
border: 1px solid rgba(255, 255, 255, 0.2);
}
.contact-info-item {
display: flex;
align-items: flex-start;
gap: 1rem;
margin-bottom: 2rem;
}
.contact-info-item:last-child {
margin-bottom: 0;
}
.contact-info-icon {
width: 48px;
height: 48px;
border-radius: var(--radius-md);
background: rgba(255, 255, 255, 0.2);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
font-size: 1.25rem;
color: var(--white);
}
.contact-info-content h4 {
color: var(--white);
margin-bottom: 0.5rem;
font-size: 1.125rem;
}
.contact-info-content p,
.contact-info-content a {
color: rgba(255, 255, 255, 0.8);
margin-bottom: 0;
text-decoration: none;
transition: color var(--transition-fast);
}
.contact-info-content a:hover {
color: var(--white);
text-decoration: underline;
}
.form-control,
.form-select {
border: 2px solid var(--gray-200);
border-radius: var(--radius-md);
padding: 0.875rem 1rem;
font-size: 1rem;
transition: all var(--transition-fast);
}
.form-control:focus,
.form-select:focus {
border-color: var(--secondary);
box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}
/* Footer */
footer {
background: var(--dark-bg);
color: var(--white);
padding: 4rem 0 2rem;
}
.footer-logo {
font-size: 1.75rem;
font-weight: 900;
color: var(--white);
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 1.5rem;
}
.footer-logo i {
color: var(--secondary);
}
.footer-about {
color: rgba(255, 255, 255, 0.7);
margin-bottom: 2rem;
}
.footer-heading {
color: var(--white);
font-size: 1.125rem;
font-weight: 700;
margin-bottom: 1.5rem;
position: relative;
padding-bottom: 0.75rem;
}
.footer-heading::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 40px;
height: 2px;
background: var(--secondary);
}
.footer-links {
list-style: none;
padding: 0;
}
.footer-links li {
margin-bottom: 0.75rem;
}
.footer-links a {
color: rgba(255, 255, 255, 0.7);
text-decoration: none;
transition: all var(--transition-fast);
display: flex;
align-items: center;
gap: 0.5rem;
}
.footer-links a:hover {
color: var(--white);
transform: translateX(5px);
}
.footer-bottom {
margin-top: 4rem;
padding-top: 2rem;
border-top: 1px solid rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.5);
font-size: 0.875rem;
}
.back-to-top {
position: fixed;
bottom: 2rem;
right: 2rem;
width: 50px;
height: 50px;
background: var(--primary);
color: var(--white);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
font-size: 1.25rem;
box-shadow: var(--shadow-lg);
opacity: 0;
visibility: hidden;
transition: all var(--transition-base);
z-index: 1000;
}
.back-to-top.visible {
opacity: 1;
visibility: visible;
}
.back-to-top:hover {
background: var(--primary-dark);
transform: translateY(-5px);
}
/* Responsive */
@media (max-width: 992px) {
.hero-title {
font-size: 2.75rem;
}
.hero-image-container {
margin-top: 3rem;
}
.section {
padding: 4rem 0;
}
.section-title {
font-size: 2rem;
}
}
@media (max-width: 768px) {
.hero-title {
font-size: 2.25rem;
}
.hero-badge {
padding: 0.5rem 1rem;
font-size: 0.875rem;
}
.contact-form-container {
padding: 2rem;
}
.card-premium {
padding: 2rem;
}
.navbar-brand {
font-size: 1.25rem;
}
}
@media (max-width: 576px) {
.hero-title {
font-size: 1.875rem;
}
.section-title {
font-size: 1.75rem;
}
.btn-primary,
.btn-outline-dark {
width: 100%;
justify-content: center;
}
.contact-info {
flex-direction: column;
align-items: flex-start;
}
}
/* Animation Classes */
.fade-in {
animation: fadeIn 0.8s ease-out forwards;
}
.slide-up {
animation: slideUp 0.8s ease-out forwards;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* ===== HERO IMG: evita recorte en mobile ===== */
/* Desktop/normal (podés dejar cover si querés “foto”) */
.hero-image-container{
background:#fff; /* para que si queda “aire” se vea prolijo */
}
.hero-img{
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}
/* Mobile: mostrar más contenido (SIN recorte) */
@media (max-width: 576px){
.hero-image-container{
transform: none; /* saca el tilt en phone (opcional pero mejora) */
}
.hero-img{
min-height: 0 !important; /* mata tu min-height:500px */
height: clamp(220px, 55vw, 360px); /* alto responsivo */
object-fit: contain !important; /* clave: no corta */
object-position: center;
padding: 14px; /* aire para logos */
background: #fff;
}
}
.brand-custom {
font-size: 0.95rem !important; /* achica la fuente */
font-weight: 600;
}
.brand-logo {
height: 52px; /* ajustá acá si lo querés más chico/grande */
width: auto;
}
.brand-text {
white-space: nowrap;
}
/* ===== INLINE <style> BLOCK #2 ===== */
/* Inputs SIEMPRE negros */
#contacto .form-control,
#contacto .form-select,
#contacto textarea {
background-color: #ffffff !important;
color: #000000 !important;
border: 1px solid #ced4da !important;
}
#contacto .form-control::placeholder,
#contacto textarea::placeholder {
color: #6c757d !important;
opacity: 1;
}
#contacto .form-control:focus,
#contacto .form-select:focus,
#contacto textarea:focus {
background-color: #ffffff !important;
color: #000000 !important;
border-color: #0d6efd !important;
box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
}
#contacto .form-label {
color: #000 !important;
font-weight: 600;
}
/* ===== INLINE <style> BLOCK #3 ===== */
:root{
--vg-wa:#25D366;
--vg-wa-dark:#128C7E;
--vg-fb:#1877F2;
--vg-shadow: 0 14px 36px rgba(0,0,0,.28);
--vg-radius: 18px;
}
.vg-float{
position:fixed;
right:18px;
bottom:18px;
z-index:9999;
font-family:inherit;
display:flex;
flex-direction:column;
gap:10px;
align-items:flex-end;
}
/* Botón Facebook */
.vg-fb{
width:52px;height:52px;border-radius:999px;
display:grid;place-items:center;
background:linear-gradient(135deg,var(--vg-fb), #0f5dc7);
color:#fff;text-decoration:none;
box-shadow: var(--vg-shadow);
transition:transform .25s, filter .25s;
}
.vg-fb:hover{ transform:translateY(-2px) scale(1.03); filter:brightness(1.05); }
.vg-fb i{ font-size:20px; }
/* Botón WhatsApp */
.vg-wa-btn{
width:60px;height:60px;border-radius:999px;
border:0;cursor:pointer;
display:grid;place-items:center;
background:linear-gradient(135deg,var(--vg-wa),var(--vg-wa-dark));
color:#fff;
box-shadow: var(--vg-shadow);
transition:transform .25s, filter .25s;
position:relative;
}
.vg-wa-btn:hover{ transform:translateY(-3px) scale(1.05); filter:brightness(1.02); }
.vg-wa-btn i{ font-size:28px; }
/* Card WhatsApp */
.vg-wa-card{
position:absolute;
right:0;
bottom:74px;
width:min(360px,92vw);
border-radius: var(--vg-radius);
overflow:hidden;
background:#0b1220;
color:#fff;
box-shadow: 0 18px 60px rgba(0,0,0,.55);
border:1px solid rgba(255,255,255,.10);
transform:translateY(10px);
opacity:0;
pointer-events:none;
transition:transform .25s, opacity .25s;
}
.vg-wa-card.is-open{
transform:translateY(0);
opacity:1;
pointer-events:auto;
}
.vg-wa-head{
display:flex;align-items:center;gap:12px;
padding:14px;
background:linear-gradient(180deg,#0f1b34,#0b1220);
border-bottom:1px solid rgba(255,255,255,.08);
}
.vg-wa-avatar{
width:40px;height:40px;border-radius:12px;
display:grid;place-items:center;
background:rgba(255,255,255,.10);
border:1px solid rgba(255,255,255,.12);
}
.vg-wa-title{ font-weight:800; letter-spacing:-.01em; }
.vg-wa-status{
font-size:.85rem;
color:rgba(255,255,255,.75);
display:flex;align-items:center;gap:6px;
}
.vg-wa-status::before{
content:"";width:8px;height:8px;border-radius:50%;
background:var(--vg-wa);
}
.vg-wa-close{
margin-left:auto;
width:32px;height:32px;border-radius:999px;
border:0;cursor:pointer;
background:transparent;color:#fff;font-size:24px;
opacity:.75;
display:grid;place-items:center;
transition:background .2s, opacity .2s;
}
.vg-wa-close:hover{ opacity:1; background:rgba(255,255,255,.10); }
.vg-wa-body{
padding:12px 14px;
max-height:40vh;
overflow:auto;
display:flex;
flex-direction:column;
gap:8px;
background:#0b1220;
}
.vg-wa-bubble{
max-width:88%;
padding:10px 12px;
border-radius:14px;
line-height:1.35;
box-shadow:0 4px 14px rgba(0,0,0,.25);
animation:vgFade .2s ease;
}
@keyframes vgFade{ from{opacity:0; transform:translateY(5px)} to{opacity:1; transform:none} }
.vg-bot{
background:rgba(255,255,255,.07);
border:1px solid rgba(255,255,255,.08);
align-self:flex-start;
border-bottom-left-radius:5px;
}
.vg-user{
background:rgba(37,211,102,.28);
border:1px solid rgba(37,211,102,.25);
align-self:flex-end;
border-bottom-right-radius:5px;
}
.vg-wa-compose{
display:grid;
grid-template-columns:1fr auto;
gap:8px;
padding:10px;
border-top:1px solid rgba(255,255,255,.10);
background:#0b1220;
}
.vg-wa-compose textarea{
resize:none;
border-radius:12px;
padding:10px 12px;
border:1px solid rgba(255,255,255,.14);
background:#0a1324;
color:#fff;
outline:none;
min-height:44px;
font-family:inherit;
transition:border-color .2s, box-shadow .2s;
}
.vg-wa-compose textarea:focus{
border-color:var(--vg-wa);
box-shadow:0 0 0 2px rgba(37,211,102,.15);
}
.vg-wa-send{
border:0;
border-radius:12px;
padding:0 16px;
background:var(--vg-wa);
color:#0b1220;
font-weight:800;
cursor:pointer;
display:grid;place-items:center;
transition:transform .2s, background .2s;
}
.vg-wa-send:hover{ background:var(--vg-wa-dark); transform:scale(1.05); }
@media (max-width:480px){
.vg-float{ right:12px; bottom:12px; }
.vg-wa-card{ width:calc(100vw - 24px); }
}