Preview de mixed.css
/* MIXED CSS PACK */
/* Template: piscinashm.com.ar/index.html */
/* Template mtime: 2026-02-04 12:31:40 */
/* 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&display=swap */
/* ===== INLINE <style> BLOCK #1 ===== */
:root {
--ink: #0b1220;
--muted: #5b6475;
--brand: #0066FF;
--brand-light: #3D8BFF;
--brand-dark: #0052D4;
--cyan: #00D4FF;
--bg: #f8fafd;
--card: #ffffff;
--ring: rgba(0, 102, 255, 0.12);
--radius: 24px;
--radius-sm: 16px;
--shadow-soft: 0 20px 60px rgba(10, 20, 40, 0.08);
--shadow-medium: 0 25px 50px rgba(10, 20, 40, 0.12);
--shadow-hard: 0 30px 60px rgba(10, 20, 40, 0.18);
--gradient-brand: linear-gradient(135deg, var(--brand), var(--cyan));
--gradient-subtle: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 212, 255, 0.08));
}
* {
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
body {
color: var(--ink);
background: var(--bg);
font-family: 'Inter', system-ui, -apple-system, sans-serif;
overflow-x: hidden;
scroll-behavior: smooth;
}
h1, h2, h3, h4, h5, h6, .fw-bold {
font-weight: 800;
letter-spacing: -0.025em;
}
.section {
padding: 100px 0;
position: relative;
}
.section:nth-child(even) {
background: rgba(248, 250, 253, 0.8);
}
.container {
max-width: 1200px;
}
/* ==================== NAVBAR PREMIUM ==================== */
.navbar {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: saturate(1.8) blur(20px);
border-bottom: 1px solid rgba(11, 18, 32, 0.05);
padding: 1rem 0;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}
.navbar.scrolled {
padding: 0.7rem 0;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.brand-logo {
display: flex;
align-items: center;
gap: 12px;
text-decoration: none;
}
.brand-icon {
width: 48px;
height: 48px;
border-radius: 14px;
display: grid;
place-items: center;
background: var(--gradient-brand);
color: white;
font-weight: 900;
font-size: 1.5rem;
box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}
.brand-text {
font-weight: 900;
font-size: 1.4rem;
background: linear-gradient(135deg, var(--ink), var(--brand));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.nav-link {
color: var(--ink) !important;
font-weight: 600;
padding: 0.5rem 1rem !important;
border-radius: 12px;
margin: 0 0.1rem;
position: relative;
}
.nav-link:hover {
background: rgba(0, 102, 255, 0.05);
transform: translateY(-1px);
}
.nav-link.active {
color: var(--brand) !important;
background: rgba(0, 102, 255, 0.08);
}
.nav-link::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
width: 0;
height: 3px;
background: var(--gradient-brand);
border-radius: 3px;
transition: all 0.3s ease;
transform: translateX(-50%);
}
.nav-link:hover::after {
width: 60%;
}
.btn-whatsapp-nav {
background: var(--gradient-brand);
border: none;
color: white;
font-weight: 700;
padding: 0.6rem 1.5rem;
border-radius: 14px;
box-shadow: 0 10px 25px rgba(0, 102, 255, 0.3);
position: relative;
overflow: hidden;
}
.btn-whatsapp-nav:hover {
transform: translateY(-2px);
box-shadow: 0 15px 30px rgba(0, 102, 255, 0.4);
color: white;
}
.btn-whatsapp-nav::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: 0.5s;
}
.btn-whatsapp-nav:hover::before {
left: 100%;
}
/* ==================== HERO SECTION PREMIUM ==================== */
.hero {
padding: 140px 0 100px;
position: relative;
overflow: hidden;
background: linear-gradient(135deg, #f8fafd 0%, #eef5ff 100%);
}
.hero::before {
content: '';
position: absolute;
top: -50%;
right: -20%;
width: 80%;
height: 200%;
background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
z-index: 0;
}
.hero::after {
content: '';
position: absolute;
bottom: -30%;
left: -10%;
width: 60%;
height: 150%;
background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
z-index: 0;
}
.hero-content {
position: relative;
z-index: 2;
}
.eyebrow {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1.2rem;
border-radius: 50px;
background: var(--gradient-subtle);
color: var(--brand);
font-weight: 700;
font-size: 0.85rem;
letter-spacing: 0.05em;
text-transform: uppercase;
margin-bottom: 2rem;
border: 1px solid rgba(0, 102, 255, 0.15);
}
.hero-title {
font-size: 3.5rem;
line-height: 1.1;
margin-bottom: 1.5rem;
background: linear-gradient(135deg, var(--ink) 0%, var(--brand) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-subtitle {
font-size: 1.25rem;
color: var(--muted);
line-height: 1.6;
margin-bottom: 2.5rem;
max-width: 90%;
}
.feature-list {
list-style: none;
padding: 0;
margin: 0 0 2.5rem 0;
}
.feature-list li {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1rem;
font-size: 1.05rem;
}
.feature-list i {
color: var(--brand);
background: rgba(0, 102, 255, 0.1);
width: 32px;
height: 32px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.hero-buttons {
display: flex;
gap: 1rem;
flex-wrap: wrap;
}
.btn-primary {
background: var(--gradient-brand);
border: none;
color: white;
font-weight: 700;
padding: 1rem 2.5rem;
border-radius: 16px;
box-shadow: var(--shadow-medium);
position: relative;
overflow: hidden;
z-index: 1;
}
.btn-primary:hover {
transform: translateY(-3px);
box-shadow: var(--shadow-hard);
color: white;
}
.btn-primary::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
transition: 0.6s;
z-index: -1;
}
.btn-primary:hover::before {
left: 100%;
}
.btn-secondary {
background: rgba(255, 255, 255, 0.9);
border: 2px solid rgba(0, 102, 255, 0.15);
color: var(--brand);
font-weight: 700;
padding: 1rem 2.5rem;
border-radius: 16px;
backdrop-filter: blur(10px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.btn-secondary:hover {
background: rgba(0, 102, 255, 0.05);
border-color: var(--brand);
transform: translateY(-3px);
box-shadow: var(--shadow-soft);
}
.hero-visual {
position: relative;
z-index: 2;
}
.hero-image-container {
border-radius: var(--radius);
overflow: hidden;
box-shadow: var(--shadow-hard);
transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
border: 12px solid white;
background: white;
position: relative;
}
.hero-image-container::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 212, 255, 0.1));
z-index: 1;
mix-blend-mode: overlay;
pointer-events: none;
}
.hero-image {
width: 100%;
height: 500px;
object-fit: cover;
display: block;
}
.floating-elements {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
pointer-events: none;
z-index: 1;
}
.floating-element {
position: absolute;
background: white;
border-radius: 20px;
padding: 1rem;
box-shadow: var(--shadow-soft);
display: flex;
align-items: center;
gap: 0.75rem;
animation: float 6s ease-in-out infinite;
}
.floating-element:nth-child(1) {
top: 10%;
left: -5%;
animation-delay: 0s;
}
.floating-element:nth-child(2) {
bottom: 20%;
right: -8%;
animation-delay: 2s;
}
.floating-element i {
color: var(--brand);
font-size: 1.5rem;
}
@keyframes float {
0%, 100% { transform: translateY(0) rotate(0deg); }
50% { transform: translateY(-20px) rotate(2deg); }
}
/* ==================== ABOUT SECTION ==================== */
.about-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.about-card {
background: white;
border-radius: var(--radius);
padding: 2.5rem;
box-shadow: var(--shadow-soft);
border: 1px solid rgba(11, 18, 32, 0.05);
height: 100%;
display: flex;
flex-direction: column;
}
.about-card:hover {
transform: translateY(-10px);
box-shadow: var(--shadow-hard);
}
.about-icon {
width: 70px;
height: 70px;
border-radius: 20px;
display: grid;
place-items: center;
background: var(--gradient-subtle);
color: var(--brand);
font-size: 2rem;
margin-bottom: 1.5rem;
}
.about-title {
font-size: 1.5rem;
margin-bottom: 1rem;
color: var(--ink);
}
.about-text {
color: var(--muted);
line-height: 1.6;
margin-bottom: 1.5rem;
flex-grow: 1;
}
.about-stats {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
margin-top: 3rem;
text-align: center;
}
.stat-number {
font-size: 2.5rem;
font-weight: 900;
color: var(--brand);
line-height: 1;
}
.stat-label {
color: var(--muted);
font-size: 0.9rem;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-top: 0.5rem;
}
/* ==================== SERVICES SECTION ==================== */
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
}
.service-card {
background: white;
border-radius: var(--radius);
padding: 2rem;
box-shadow: var(--shadow-soft);
border: 1px solid rgba(11, 18, 32, 0.05);
text-align: center;
height: 100%;
position: relative;
overflow: hidden;
}
.service-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: var(--gradient-brand);
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-medium);
}
.service-icon {
width: 80px;
height: 80px;
border-radius: 20px;
display: grid;
place-items: center;
margin: 0 auto 1.5rem;
background: var(--gradient-subtle);
color: var(--brand);
font-size: 2rem;
}
.service-title {
font-size: 1.3rem;
margin-bottom: 1rem;
color: var(--ink);
}
.service-description {
color: var(--muted);
line-height: 1.6;
}
/* ==================== GALLERY SECTION ==================== */
.gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 1.5rem;
}
.gallery-item {
position: relative;
border-radius: var(--radius-sm);
overflow: hidden;
aspect-ratio: 4/3;
cursor: pointer;
}
.gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}
.gallery-item:hover img {
transform: scale(1.1);
}
.gallery-overlay {
position: absolute;
inset: 0;
background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
display: flex;
align-items: flex-end;
padding: 1.5rem;
opacity: 0;
transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay {
opacity: 1;
}
.gallery-title {
color: white;
font-weight: 600;
margin: 0;
}
/* ==================== FAQ SECTION ==================== */
.faq-container {
max-width: 800px;
margin: 0 auto;
}
.faq-item {
background: white;
border-radius: var(--radius-sm);
margin-bottom: 1rem;
box-shadow: var(--shadow-soft);
border: 1px solid rgba(11, 18, 32, 0.05);
overflow: hidden;
}
.faq-question {
padding: 1.5rem;
font-weight: 700;
font-size: 1.1rem;
color: var(--ink);
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
background: none;
border: none;
width: 100%;
text-align: left;
}
.faq-question:hover {
background: rgba(0, 102, 255, 0.02);
}
.faq-icon {
color: var(--brand);
font-size: 1.2rem;
transition: transform 0.3s ease;
}
.faq-question[aria-expanded="true"] .faq-icon {
transform: rotate(45deg);
}
.faq-answer {
padding: 0 1.5rem;
max-height: 0;
overflow: hidden;
transition: all 0.3s ease;
color: var(--muted);
line-height: 1.6;
}
.faq-answer.show {
padding: 0 1.5rem 1.5rem;
max-height: 500px;
}
/* ==================== CONTACT SECTION ==================== */
.contact-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.contact-form {
background: white;
border-radius: var(--radius);
padding: 2.5rem;
box-shadow: var(--shadow-soft);
border: 1px solid rgba(11, 18, 32, 0.05);
}
.contact-info {
background: white;
border-radius: var(--radius);
padding: 2.5rem;
box-shadow: var(--shadow-soft);
border: 1px solid rgba(11, 18, 32, 0.05);
}
.form-control, .form-select {
border-radius: 12px;
border: 2px solid rgba(11, 18, 32, 0.1);
padding: 0.75rem 1rem;
font-size: 1rem;
}
.form-control:focus, .form-select:focus {
border-color: var(--brand);
box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}
.contact-item {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1.5rem;
padding: 1rem;
border-radius: 12px;
background: rgba(0, 102, 255, 0.02);
border: 1px solid rgba(0, 102, 255, 0.05);
}
.contact-item i {
color: var(--brand);
font-size: 1.5rem;
width: 50px;
height: 50px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
background: rgba(0, 102, 255, 0.1);
flex-shrink: 0;
}
.contact-text h5 {
margin: 0;
color: var(--ink);
}
.contact-text p {
margin: 0.25rem 0 0;
color: var(--muted);
}
.contact-text a {
color: var(--brand);
text-decoration: none;
font-weight: 500;
}
.contact-text a:hover {
text-decoration: underline;
}
/* ==================== FOOTER ==================== */
footer {
background: var(--ink);
color: rgba(255, 255, 255, 0.9);
padding: 4rem 0 2rem;
position: relative;
overflow: hidden;
}
footer::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: var(--gradient-brand);
}
.footer-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 3rem;
margin-bottom: 3rem;
}
.footer-brand {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1.5rem;
}
.footer-brand-icon {
width: 50px;
height: 50px;
border-radius: 12px;
display: grid;
place-items: center;
background: var(--gradient-brand);
color: white;
font-weight: 900;
font-size: 1.5rem;
}
.footer-brand-text {
font-weight: 900;
font-size: 1.5rem;
color: white;
}
.footer-description {
color: rgba(255, 255, 255, 0.7);
line-height: 1.6;
margin-bottom: 1.5rem;
}
.footer-links h5 {
color: white;
margin-bottom: 1.5rem;
font-size: 1.1rem;
}
.footer-links ul {
list-style: none;
padding: 0;
margin: 0;
}
.footer-links li {
margin-bottom: 0.75rem;
}
.footer-links a {
color: rgba(255, 255, 255, 0.7);
text-decoration: none;
display: flex;
align-items: center;
gap: 0.5rem;
transition: all 0.3s ease;
}
.footer-links a:hover {
color: white;
transform: translateX(5px);
}
.footer-social {
display: flex;
gap: 1rem;
margin-top: 1.5rem;
}
.footer-social a {
width: 40px;
height: 40px;
border-radius: 10px;
display: grid;
place-items: center;
background: rgba(255, 255, 255, 0.1);
color: white;
text-decoration: none;
transition: all 0.3s ease;
}
.footer-social a:hover {
background: var(--brand);
transform: translateY(-3px);
}
.footer-bottom {
text-align: center;
padding-top: 2rem;
border-top: 1px solid rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.5);
font-size: 0.9rem;
}
/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 991.98px) {
.hero-title {
font-size: 2.8rem;
}
.section {
padding: 70px 0;
}
.hero {
padding: 120px 0 70px;
}
.hero-image-container {
transform: none;
margin-top: 3rem;
}
}
@media (max-width: 767.98px) {
.hero-title {
font-size: 2.2rem;
}
.hero-subtitle {
font-size: 1.1rem;
}
.btn-primary, .btn-secondary {
padding: 0.8rem 1.8rem;
}
.section {
padding: 60px 0;
}
.about-stats {
grid-template-columns: 1fr;
gap: 1rem;
}
}
@media (max-width: 575.98px) {
.hero-title {
font-size: 1.8rem;
}
.hero-buttons {
flex-direction: column;
}
.btn-primary, .btn-secondary {
width: 100%;
text-align: center;
}
.floating-elements {
display: none;
}
}
/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-fade-in-up {
animation: fadeInUp 0.6s ease forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
/* ==================== CUSTOM SCROLLBAR ==================== */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: rgba(0, 102, 255, 0.05);
}
::-webkit-scrollbar-thumb {
background: var(--brand);
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--brand-dark);
}
/* ===== INLINE <style> BLOCK #2 ===== */
.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 #3 ===== */
/* 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 #4 ===== */
:root{
--wa:#25D366;
--wa-dark:#1fb85a;
--wa-darker:#189a4a;
--light-bg:#ffffff;
--light-bg-soft:#f6f8f7;
--light-border:#dde4df;
--dark-text:#1c1f1d;
--muted-text:#6c756f;
}
.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-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);
}
.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;
}
/* NUEVO: fila contactos */
.wa-contact-row{
display:flex;
gap:10px;
flex-wrap:wrap;
padding:2px 2px 6px 2px;
}
.wa-contact{
border:1px solid var(--light-border);
background:#fff;
color:var(--dark-text);
border-radius:12px;
padding:8px 10px;
font-weight:800;
font-size:.9rem;
cursor:pointer;
box-shadow:0 3px 10px rgba(0,0,0,.06);
transition:.2s;
}
.wa-contact:hover{
transform:translateY(-1px);
border-color:rgba(37,211,102,.55);
box-shadow:0 6px 16px rgba(0,0,0,.10);
}
.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; }
}