Preview de mixed.css
/* MIXED CSS PACK */
/* Template: tecnotapas.com.ar/index.html */
/* Template mtime: 2026-01-30 12:25:00 */
/* 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=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap */
/* ===== INLINE <style> BLOCK #1 ===== */
:root {
--ink: #0b1220;
--ink-light: #1e293b;
--muted: #64748b;
--line: rgba(15, 23, 42, .08);
--bg: #ffffff;
--soft: #f8fafc;
--soft-blue: #f0f9ff;
--brand: #0ea5e9;
--brand-dark: #0284c7;
--brand-light: #7dd3fc;
--accent: #ffce2a;
--accent-light: #c4b5fd;
--radius: 20px;
--radius-sm: 12px;
--radius-lg: 28px;
--shadow: 0 20px 50px rgba(2, 6, 23, .08);
--shadow-lg: 0 32px 64px rgba(2, 6, 23, .12);
--shadow-sm: 0 4px 12px rgba(2, 6, 23, .04);
--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
--gradient-bg: linear-gradient(135deg, #f0f9ff 0%, #fef7ff 50%, #f0f9ff 100%);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
scroll-padding-top: 80px;
}
body {
font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Arial, sans-serif;
color: var(--ink);
background: var(--bg);
line-height: 1.6;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Space Grotesk', 'Inter', sans-serif;
font-weight: 700;
line-height: 1.1;
letter-spacing: -0.02em;
}
a {
color: inherit;
text-decoration: none;
transition: var(--transition);
}
.container {
max-width: 1200px;
padding-left: 24px;
padding-right: 24px;
}
.section {
padding: 100px 0;
position: relative;
}
@media (max-width: 992px) {
.section {
padding: 80px 0;
}
}
@media (max-width: 768px) {
.section {
padding: 60px 0;
}
}
/* ===== NAVBAR PREMIUM ===== */
.navbar {
background: rgba(255, 255, 255, 0.92);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-bottom: 1px solid var(--line);
padding: 16px 0;
transition: var(--transition);
box-shadow: var(--shadow-sm);
}
.navbar.scrolled {
padding: 12px 0;
box-shadow: var(--shadow);
}
.navbar-brand {
font-weight: 800;
font-size: 1.5rem;
letter-spacing: -0.01em;
display: flex;
align-items: center;
gap: 10px;
}
.brand-icon {
width: 40px;
height: 40px;
background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 1.2rem;
transition: var(--transition);
}
.navbar-brand:hover .brand-icon {
transform: rotate(15deg);
}
.nav-link {
color: var(--ink-light);
font-weight: 600;
padding: 8px 16px !important;
border-radius: var(--radius-sm);
transition: var(--transition);
position: relative;
overflow: hidden;
}
.nav-link::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 0;
height: 2px;
background: linear-gradient(90deg, var(--brand), var(--accent));
transition: var(--transition);
border-radius: 2px;
}
.nav-link:hover {
color: var(--brand-dark);
}
.nav-link:hover::after {
width: 80%;
}
.nav-link.active {
color: var(--brand-dark);
}
.nav-link.active::after {
width: 80%;
}
.btn-brand {
background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
border: none;
color: white;
font-weight: 600;
padding: 12px 24px;
border-radius: var(--radius-sm);
transition: var(--transition);
box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
display: inline-flex;
align-items: center;
gap: 8px;
}
.btn-brand:hover {
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
color: white;
}
.btn-ghost {
background: transparent;
border: 2px solid var(--line);
color: var(--ink-light);
font-weight: 600;
padding: 10px 22px;
border-radius: var(--radius-sm);
transition: var(--transition);
display: inline-flex;
align-items: center;
gap: 8px;
}
.btn-ghost:hover {
border-color: var(--brand-light);
background: rgba(14, 165, 233, 0.05);
color: var(--brand-dark);
transform: translateY(-2px);
}
/* ===== HERO SECTION PREMIUM ===== */
.hero {
padding: 160px 0 100px;
position: relative;
overflow: hidden;
background: var(--gradient-bg);
border-bottom: 1px solid var(--line);
}
.hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background:
radial-gradient(circle at 20% 80%, rgba(14, 165, 233, 0.08) 0%, transparent 50%),
radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
pointer-events: none;
}
.hero-content {
position: relative;
z-index: 2;
}
.eyebrow {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
background: rgba(255, 255, 255, 0.9);
border: 1px solid var(--line);
border-radius: 100px;
color: var(--brand-dark);
font-weight: 600;
font-size: 0.875rem;
letter-spacing: 0.02em;
margin-bottom: 24px;
backdrop-filter: blur(10px);
animation: fadeInUp 0.6s ease-out;
}
.hero h1 {
font-size: 3.5rem;
font-weight: 900;
letter-spacing: -0.03em;
line-height: 1.1;
margin-bottom: 24px;
background: linear-gradient(135deg, var(--ink) 0%, var(--brand-dark) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
animation: fadeInUp 0.8s ease-out 0.2s both;
}
@media (max-width: 768px) {
.hero h1 {
font-size: 2.5rem;
}
}
.hero p {
font-size: 1.125rem;
color: var(--muted);
font-weight: 500;
max-width: 600px;
margin-bottom: 32px;
animation: fadeInUp 0.8s ease-out 0.4s both;
}
.hero-pills {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-bottom: 32px;
animation: fadeInUp 0.8s ease-out 0.6s both;
}
.pill {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 18px;
background: rgba(255, 255, 255, 0.9);
border: 1px solid var(--line);
border-radius: 100px;
font-weight: 600;
font-size: 0.875rem;
color: var(--ink-light);
transition: var(--transition);
backdrop-filter: blur(10px);
}
.pill:hover {
border-color: var(--brand);
transform: translateY(-2px);
box-shadow: var(--shadow-sm);
}
.pill i {
color: var(--brand);
}
.hero-actions {
display: flex;
flex-wrap: wrap;
gap: 16px;
margin-bottom: 32px;
animation: fadeInUp 0.8s ease-out 0.8s both;
}
.hero-note {
display: flex;
align-items: center;
gap: 12px;
padding: 16px 24px;
background: rgba(255, 255, 255, 0.9);
border-radius: var(--radius-sm);
border: 1px solid var(--line);
font-weight: 600;
color: var(--ink-light);
backdrop-filter: blur(10px);
animation: fadeInUp 0.8s ease-out 1s both;
}
.hero-note i {
color: var(--brand);
font-size: 1.25rem;
}
.hero-image-container {
position: relative;
animation: float 6s ease-in-out infinite;
}
.hero-card {
background: white;
border-radius: var(--radius-lg);
padding: 24px;
box-shadow: var(--shadow-lg);
border: 1px solid var(--line);
overflow: hidden;
transition: var(--transition);
}
.hero-card:hover {
transform: translateY(-8px);
box-shadow: var(--shadow-lg);
}
.hero-img{
width: 100%;
height: auto; /* clave */
max-height: 520px; /* ajustá si querés */
object-fit: contain; /* clave: NO recorta */
border-radius: calc(var(--radius-lg) - 8px);
border: 1px solid var(--line);
background: #fff; /* por si la imagen no llena */
display: block;
}
.hero-card:hover .hero-img {
transform: scale(1.02);
}
/* ===== CARD COMPONENTS ===== */
.card-premium {
background: white;
border: 1px solid var(--line);
border-radius: var(--radius);
padding: 32px;
height: 100%;
transition: var(--transition);
position: relative;
overflow: hidden;
}
.card-premium::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: linear-gradient(90deg, var(--brand), var(--accent));
transform: scaleX(0);
transform-origin: left;
transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-premium:hover {
transform: translateY(-8px);
box-shadow: var(--shadow-lg);
}
.card-premium:hover::before {
transform: scaleX(1);
}
.icon-badge {
width: 60px;
height: 60px;
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
border: 1px solid rgba(14, 165, 233, 0.2);
color: var(--brand-dark);
font-size: 1.5rem;
margin-bottom: 24px;
transition: var(--transition);
}
.card-premium:hover .icon-badge {
transform: rotate(10deg) scale(1.1);
}
.card-premium h3 {
font-size: 1.5rem;
margin-bottom: 12px;
color: var(--ink);
}
.card-premium p {
color: var(--muted);
font-weight: 500;
margin: 0;
}
/* ===== SERVICE LIST ===== */
.service-item {
display: flex;
align-items: flex-start;
gap: 20px;
padding: 24px;
background: white;
border: 1px solid var(--line);
border-radius: var(--radius);
transition: var(--transition);
height: 100%;
}
.service-item:hover {
border-color: var(--brand);
transform: translateY(-4px);
box-shadow: var(--shadow);
}
.service-icon {
width: 48px;
height: 48px;
border-radius: 12px;
background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 1.25rem;
flex-shrink: 0;
}
.service-content h4 {
font-size: 1.125rem;
margin-bottom: 8px;
color: var(--ink);
}
.service-content p {
color: var(--muted);
font-weight: 500;
font-size: 0.875rem;
margin: 0;
}
/* ===== GALLERY ===== */
.gallery-section {
background: var(--soft);
}
.gallery-carousel {
max-width: 1000px;
margin: 0 auto;
}
.gallery-frame {
height: 400px;
background: white;
border-radius: 20px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
box-shadow: var(--shadow);
border: 1px solid var(--line);
}
@media (max-width: 768px) {
.gallery-frame {
height: 300px;
}
}
.gallery-img {
width: auto;
max-width: 100%;
height: auto;
max-height: 100%;
object-fit: contain;
cursor: pointer;
transition: transform 0.5s ease;
}
.gallery-img:hover {
transform: scale(1.02);
}
.carousel-indicators [data-bs-target] {
width: 10px;
height: 10px;
border-radius: 50%;
background-color: var(--muted);
opacity: 0.5;
margin: 0 6px;
border: none;
}
.carousel-indicators .active {
background-color: var(--brand);
opacity: 1;
transform: scale(1.2);
}
/* ===== FAQ ACCORDION ===== */
.accordion-premium .accordion-item {
border: 1px solid var(--line);
border-radius: var(--radius) !important;
overflow: hidden;
margin-bottom: 16px;
background: white;
}
.accordion-premium .accordion-button {
background: white;
border: none;
padding: 24px;
font-weight: 600;
font-size: 1.125rem;
color: var(--ink);
transition: var(--transition);
}
.accordion-premium .accordion-button:not(.collapsed) {
background: white;
color: var(--brand-dark);
box-shadow: none;
}
.accordion-premium .accordion-button:focus {
box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
border-color: var(--brand);
}
.accordion-premium .accordion-button::after {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230b1220'%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");
transition: var(--transition);
}
.accordion-premium .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='%230284c7'%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: rotate(180deg);
}
.accordion-premium .accordion-body {
padding: 0 24px 24px;
color: var(--muted);
font-weight: 500;
}
/* ===== CONTACT FORM ===== */
.contact-section {
background: var(--soft-blue);
}
.contact-card {
background: white;
border-radius: var(--radius-lg);
padding: 40px;
box-shadow: var(--shadow);
border: 1px solid var(--line);
height: 100%;
}
.form-control, .form-select {
border: 2px solid var(--line);
border-radius: var(--radius-sm);
padding: 14px 18px;
font-weight: 500;
transition: var(--transition);
}
.form-control:focus, .form-select:focus {
border-color: var(--brand);
box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}
.contact-info-item {
display: flex;
align-items: flex-start;
gap: 16px;
padding: 20px;
background: white;
border: 1px solid var(--line);
border-radius: var(--radius);
margin-bottom: 16px;
transition: var(--transition);
}
.contact-info-item:hover {
border-color: var(--brand);
transform: translateX(4px);
}
.contact-icon {
width: 48px;
height: 48px;
border-radius: 12px;
background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 1.25rem;
flex-shrink: 0;
}
.contact-info h5 {
font-size: 1rem;
margin-bottom: 4px;
color: var(--ink);
}
.contact-info p, .contact-info a {
color: var(--muted);
font-weight: 500;
margin: 0;
}
.contact-info a:hover {
color: var(--brand-dark);
}
/* ===== FOOTER ===== */
footer {
background: linear-gradient(135deg, #0b1220 0%, #1e293b 100%);
color: #e2e8f0;
padding: 80px 0 32px;
position: relative;
overflow: hidden;
}
footer::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 1px;
background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.3), transparent);
}
.footer-title {
font-size: 1.25rem;
margin-bottom: 24px;
color: white;
font-weight: 700;
}
.footer-links {
display: flex;
flex-direction: column;
gap: 12px;
}
.footer-links a {
color: #cbd5e1;
font-weight: 500;
transition: var(--transition);
position: relative;
padding-left: 0;
overflow: hidden;
}
.footer-links a::before {
content: '→';
position: absolute;
left: -20px;
transition: var(--transition);
opacity: 0;
}
.footer-links a:hover {
color: white;
padding-left: 20px;
}
.footer-links a:hover::before {
left: 0;
opacity: 1;
color: var(--brand-light);
}
.footer-bottom {
border-top: 1px solid rgba(255, 255, 255, 0.1);
margin-top: 60px;
padding-top: 24px;
color: #94a3b8;
font-weight: 500;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
}
.social-links {
display: flex;
gap: 16px;
}
.social-link {
width: 40px;
height: 40px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
display: flex;
align-items: center;
justify-content: center;
color: white;
transition: var(--transition);
}
.social-link:hover {
background: var(--brand);
transform: translateY(-3px);
}
/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes float {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-20px);
}
}
.animate-on-scroll {
opacity: 0;
transform: translateY(30px);
transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
opacity: 1;
transform: translateY(0);
}
/* ===== UTILITIES ===== */
.section-header {
text-align: center;
max-width: 800px;
margin: 0 auto 60px;
}
.section-header h2 {
font-size: 2.5rem;
margin-bottom: 16px;
background: linear-gradient(135deg, var(--ink) 0%, var(--brand-dark) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
@media (max-width: 768px) {
.section-header h2 {
font-size: 2rem;
}
}
.section-header p {
font-size: 1.125rem;
color: var(--muted);
font-weight: 500;
}
.text-gradient {
background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.badge-premium {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 14px;
background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
border: 1px solid rgba(14, 165, 233, 0.2);
border-radius: 100px;
color: var(--brand-dark);
font-weight: 600;
font-size: 0.875rem;
}
/* ===== INLINE <style> BLOCK #2 ===== */
/* Scope: vids-4 */
.vids-4 .vid-card{
background:#fff;
border:1px solid rgba(15,23,42,.12);
border-radius:18px;
box-shadow:0 10px 30px rgba(2,6,23,.06);
padding:12px;
height:100%;
}
.vids-4 .vid-frame{
width:100%;
aspect-ratio: 9 / 16; /* vertical tipo phone */
border-radius:16px;
overflow:hidden;
background:#f6f8fb;
border:1px solid rgba(15,23,42,.12);
position:relative;
}
/* video ocupa todo */
.vids-4 .vid-el{
width:100%;
height:100%;
object-fit:cover;
display:block;
}
/* preview encima del video (se oculta al reproducir) */
.vids-4 .vid-preview{
position:absolute;
inset:0;
width:100%;
height:100%;
object-fit:cover;
display:block;
background:#f6f8fb;
z-index:2;
}
/* botón play sobre la preview */
.vids-4 .vid-play{
position:absolute;
inset:auto;
left:50%;
top:50%;
transform:translate(-50%,-50%);
width:54px;
height:54px;
border-radius:999px;
border:0;
background:rgba(0,0,0,.55);
color:#fff;
z-index:3;
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
}
.vids-4 .vid-play:hover{ background:rgba(0,0,0,.65); }
.vids-4 .vid-play-ico{ font-size:18px; margin-left:2px; }
/* Cuando está reproduciendo, ocultamos preview + botón */
.vids-4 .vid-frame.is-playing .vid-preview,
.vids-4 .vid-frame.is-playing .vid-play{
display:none !important;
}
/* Mobile compact */
@media (max-width: 575.98px){
.vids-4 .vid-card{ padding:10px; }
}
/* ===== INLINE <style> BLOCK #3 ===== */
.gal-gallery .carousel{max-width:980px;margin-inline:auto;position:relative}
.gal-frame{
height: clamp(220px, 48vh, 440px);
background:#fff;border-radius:16px;overflow:hidden;
box-shadow:0 12px 28px rgba(0,0,0,.12);
display:flex;align-items:center;justify-content:center;padding:8px
}
.gal-img{
width:auto !important;max-width:100%;
height:auto !important;max-height:100%;
object-fit:contain !important;object-position:center;display:block;cursor:zoom-in
}
/* Controles circulares con más contraste */
.gal-gallery .carousel-control-prev,
.gal-gallery .carousel-control-next{
z-index:20;width:50px;height:50px;top:50%;transform:translateY(-50%);
opacity:1;background:rgba(0,0,0,.55);border-radius:50%;margin:0 12px
}
.gal-gallery .carousel-control-prev{left:0}
.gal-gallery .carousel-control-next{right:0}
.gal-gallery .gal-ctrl-icon{width:2.6rem;height:2.6rem;background-size:60% 60%}
/* Indicadores: se sitúan fuera; agregamos espacio inferior para que no se corten */
.gal-gallery .carousel-indicators{z-index:10;bottom:-50px}
.gal-gallery .carousel-indicators button{
width:10px;height:10px;border-radius:50%;
background:rgba(0,0,0,.5);border:none
}
.gal-gallery .carousel-indicators button.active{background:#000}
.gal-gallery{padding-bottom:56px} /* espacio para indicadores */
/* Modal */
#galLightbox .modal-content{background:#000}
#galLightboxImg{max-height:86vh;width:100%;height:auto;object-fit:contain;background:#000}
.gal-lightbox-nav{
position:absolute;top:50%;transform:translateY(-50%);
border:0;width:44px;height:44px;border-radius:999px;
background:rgba(255,255,255,.18);color:#fff;font-size:30px;line-height:44px;text-align:center;z-index:5;cursor:pointer
}
.gal-lightbox-nav:hover{background:rgba(255,255,255,.28)}
.gal-lightbox-nav.gal-prev{left:10px}
.gal-lightbox-nav.gal-next{right:10px}
/* Pequeños ajustes móviles */
@media (max-width: 575.98px){
.gal-frame{height: clamp(200px, 40vh, 360px)}
}
/* ===== INLINE <style> BLOCK #4 ===== */
:root{
/* WhatsApp oficial */
--wa:#25D366;
--wa-dark:#1fb85a;
--wa-darker:#189a4a;
/* UI clara */
--light-bg:#ffffff;
--light-bg-soft:#f6f8f7;
--light-border:#dde4df;
--dark-text:#1c1f1d;
--muted-text:#6c756f;
}
/* FACEBOOK button (arriba del IG) */
.fb-float{
position:fixed; right:18px; bottom:166px;
z-index:9997;
width:54px; height:54px; border-radius:50%;
display:grid; place-items:center; color:#fff; text-decoration:none;
background: linear-gradient(180deg, #1877F2 0%, #0f63d6 100%);
box-shadow:0 10px 30px rgba(0,0,0,.25);
transition:transform .25s, box-shadow .25s, opacity .25s;
}
.fb-float:hover{
transform:translateY(-2px) scale(1.04);
box-shadow:0 14px 36px rgba(0,0,0,.35);
}
/* IG button (medio) */
.ig-float{
position:fixed; right:18px; bottom:92px;
z-index:9998;
width:54px; height:54px; border-radius:50%;
display:grid; place-items:center; color:#fff; text-decoration:none;
background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
box-shadow:0 10px 30px rgba(0,0,0,.25);
transition:transform .25s, box-shadow .25s, opacity .25s;
}
.ig-float:hover{
transform:translateY(-2px) scale(1.04);
box-shadow:0 14px 36px rgba(0,0,0,.35);
}
/* WhatsApp flotante */
.wa-float{
position:fixed; right:18px; bottom:18px;
z-index:9999; font-family:inherit;
}
.wa-btn{
background:var(--wa);
color:#fff;
border:0;
width:60px; height:60px; border-radius:50%;
display:grid; place-items:center;
box-shadow:0 10px 30px rgba(0,0,0,.22);
cursor:pointer; transition:transform .3s, box-shadow .3s, filter .3s;
position:relative; overflow:hidden;
z-index:9999;
}
.wa-btn:hover{
transform:translateY(-3px) scale(1.05);
box-shadow:0 14px 36px rgba(0,0,0,.28);
filter:brightness(.98);
}
.wa-card{
position:absolute; right:0; bottom:74px;
width:min(360px,92vw);
background:var(--light-bg);
color:var(--dark-text);
border-radius:18px;
overflow:hidden;
box-shadow:0 18px 60px rgba(0,0,0,.25);
border:1px solid var(--light-border);
transform:translateY(10px);
opacity:0;
transition:transform .3s, opacity .3s;
z-index:10000;
}
.wa-card[aria-modal="true"]{
transform:translateY(0);
opacity:1;
}
.wa-head{
display:flex; align-items:center; gap:12px;
padding:14px 16px;
background:linear-gradient(135deg, #ffffff, #ecf6f0);
border-bottom:1px solid var(--light-border);
}
.wa-avatar{
width:40px; height:40px; border-radius:10px;
background:#e9f7ef;
display:grid; place-items:center;
border:1px solid #cfeeda;
overflow:hidden;
}
.wa-title{
font-weight:800;
font-size:1.02rem;
color:var(--dark-text);
}
.wa-status{
font-size:.85rem;
color:var(--muted-text);
display:flex; align-items:center; gap:6px;
}
.wa-status::before{
content:""; width:8px; height:8px; border-radius:50%;
background:var(--wa);
}
.wa-close{
margin-left:auto;
background:transparent;
color:var(--muted-text);
border:0;
font-size:24px;
cursor:pointer;
opacity:.75;
width:32px; height:32px;
border-radius:50%;
display:flex; align-items:center; justify-content:center;
transition:.2s;
}
.wa-close:hover{
opacity:1;
background:rgba(0,0,0,.04);
}
.wa-body{
padding:12px 14px;
max-height:40vh;
overflow:auto;
background:var(--light-bg-soft);
display:flex;
flex-direction:column;
gap:8px;
}
.wa-bubble{
max-width:88%;
padding:9px 11px;
border-radius:14px;
line-height:1.35;
box-shadow:0 3px 10px rgba(0,0,0,.06);
animation:fadeIn .25s ease;
font-size:0.9rem;
}
@keyframes fadeIn{
from{opacity:0; transform:translateY(5px)}
to{opacity:1; transform:none}
}
.wa-bot{
background:#ffffff;
border:1px solid var(--light-border);
align-self:flex-start;
border-bottom-left-radius:4px;
}
.wa-user{
background:var(--wa);
color:#fff;
align-self:flex-end;
border-bottom-right-radius:4px;
}
.wa-compose{
display:grid;
grid-template-columns:1fr auto;
gap:8px;
padding:10px 12px;
background:#ffffff;
border-top:1px solid var(--light-border);
}
.wa-compose textarea{
resize:none;
border-radius:12px;
padding:10px 12px;
border:1px solid var(--light-border);
background:#f9fbfa;
color:var(--dark-text);
outline:none;
min-height:44px;
font-family:inherit;
font-size:0.9rem;
transition:.2s;
}
.wa-compose textarea:focus{
border-color:var(--wa);
box-shadow:0 0 0 2px rgba(37,211,102,.15);
background:#ffffff;
}
.wa-send{
background:var(--wa);
color:#ffffff;
border:0;
border-radius:12px;
padding:0 16px;
font-weight:700;
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
transition:.2s;
}
.wa-send:hover{
background:var(--wa-dark);
transform:scale(1.04);
}
.wa-body::-webkit-scrollbar{ width:6px; }
.wa-body::-webkit-scrollbar-track{ background:rgba(0,0,0,.03); border-radius:3px; }
.wa-body::-webkit-scrollbar-thumb{ background:rgba(0,0,0,.12); border-radius:3px; }
.wa-body::-webkit-scrollbar-thumb:hover{ background:rgba(0,0,0,.18); }
@media (max-width:480px){
.fb-float{ right:12px; bottom:160px; width:52px; height:52px; }
.ig-float{ right:12px; bottom:86px; width:52px; height:52px; }
.wa-float{ right:12px; bottom:12px; }
.wa-card{ width:calc(100vw - 24px); right:0; }
}