Preview de mixed.css
/* MIXED CSS PACK */
/* Template: ritmologia.com.ar/index.html */
/* Template mtime: 2025-12-19 14:30:32 */
/* external link (no embedded): https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;700;800&display=swap */
/* external link (no embedded): https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css */
/* external link (no embedded): https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css */
/* ===== INLINE <style> BLOCK #1 ===== */
:root {
/* PALETA DE COLORES */
--color-bg: #ffffff;
--color-text: #1d1d1d;
--color-text-muted: #4b5563;
/* ACENTOS */
--color-primary: #0f2751;
--color-accent-1: #f69e54;
--color-accent-2: #e05140;
/* UI */
--color-light-gray: #f8f9fa;
--color-border: #e5e7eb;
/* TIPOGRAFÍA */
--font-heading: 'Outfit', sans-serif;
--font-body: 'Inter', sans-serif;
/* ESPACIADO */
--section-padding: 100px 0;
--radius-md: 12px;
--radius-lg: 20px;
}
html { scroll-padding-top: 90px; }
body {
background-color: var(--color-bg);
color: var(--color-text);
font-family: var(--font-body);
overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-heading);
font-weight: 700;
line-height: 1.2;
color: var(--color-primary);
}
p {
line-height: 1.7;
color: var(--color-text-muted);
margin-bottom: 1.5rem;
}
.text-accent-1 { color: var(--color-accent-1); }
.text-accent-2 { color: var(--color-accent-2); }
.text-primary-custom { color: var(--color-primary); }
/* BOTONES */
.btn-primary-custom {
background: linear-gradient(135deg, var(--color-primary) 0%, #1a3c75 100%);
color: #fff;
border: none;
padding: 12px 30px;
border-radius: 50px;
font-weight: 600;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(15, 39, 81, 0.2);
}
.btn-primary-custom:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(15, 39, 81, 0.3);
color: #fff;
}
.btn-outline-custom {
border: 2px solid var(--color-accent-1);
color: var(--color-primary);
padding: 10px 28px;
border-radius: 50px;
font-weight: 600;
text-transform: uppercase;
font-size: 0.9rem;
letter-spacing: 1px;
transition: all 0.3s ease;
}
.btn-outline-custom:hover {
background: var(--color-accent-1);
color: #fff;
}
/* SECTION UTILS */
.section { padding: var(--section-padding); }
.bg-light-alt { background-color: var(--color-light-gray); }
.eyebrow {
font-family: var(--font-heading);
text-transform: uppercase;
color: var(--color-accent-2);
font-weight: 700;
letter-spacing: 3px;
font-size: 0.85rem;
display: block;
margin-bottom: 15px;
}
.section-title { font-size: 2.5rem; margin-bottom: 20px; }
.section-subtitle { font-size: 1.1rem; max-width: 720px; margin: 0 auto 50px; }
/* NAVBAR */
.navbar-custom {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
padding: 15px 0;
box-shadow: 0 2px 20px rgba(0,0,0,0.05);
transition: all 0.3s ease;
}
.navbar-brand {
font-family: var(--font-heading);
font-weight: 800;
font-size: 1.5rem;
color: var(--color-primary);
}
.brand-dot { color: var(--color-accent-2); }
.nav-link {
font-weight: 500;
color: var(--color-text) !important;
margin: 0 10px;
position: relative;
transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--color-accent-2) !important; }
.nav-link::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: 5px;
left: 0;
background-color: var(--color-accent-1);
transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
/* HERO */
.hero {
position: relative;
padding: 140px 0 100px;
overflow: hidden;
min-height: 90vh;
display: flex;
align-items: center;
}
.hero-bg-shape {
position: absolute;
top: -20%;
right: -10%;
width: 50%;
height: 120%;
background: linear-gradient(135deg, rgba(246, 158, 84, 0.1) 0%, rgba(224, 81, 64, 0.05) 100%);
border-radius: 0 0 0 200px;
z-index: 0;
}
.hero-content { position: relative; z-index: 2; }
.hero-title { font-size: 3.5rem; margin-bottom: 22px; color: var(--color-primary); }
.hero-title span { position: relative; display: inline-block; }
.hero-title span::after {
content: '';
position: absolute;
bottom: 10px;
left: 0;
width: 100%;
height: 15px;
background: var(--color-accent-1);
opacity: 0.3;
z-index: -1;
border-radius: 4px;
}
.hero-badges {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin: 18px 0 0;
}
.hero-badge {
border: 1px solid var(--color-border);
background: #fff;
border-radius: 999px;
padding: 8px 12px;
font-size: .92rem;
display: inline-flex;
align-items: center;
gap: 8px;
box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}
.hero-badge i { color: var(--color-accent-2); }
.hero-img-container {
position: relative;
z-index: 2;
border-radius: var(--radius-lg);
overflow: hidden;
box-shadow: none !important;
border: 4px solid #fff;
}
.hero-img {
width: 100%;
height: auto;
display: block;
transition: transform 0.5s ease;
}
.hero-img:hover { transform: scale(1.03); }
/* ABOUT / PERFIL */
.about-card {
background: #fff;
border: 1px solid var(--color-border);
border-radius: var(--radius-lg);
padding: 28px;
box-shadow: 0 10px 30px rgba(0,0,0,0.05);
height: 100%;
}
.about-quick {
display: grid;
grid-template-columns: 1fr;
gap: 12px;
margin-top: 16px;
}
.about-pill {
display: flex;
gap: 12px;
align-items: flex-start;
padding: 12px 14px;
border-radius: 14px;
background: rgba(246, 158, 84, 0.10);
border: 1px solid rgba(246, 158, 84, 0.25);
}
.about-pill i {
font-size: 1.15rem;
color: var(--color-accent-2);
margin-top: 2px;
}
/* PILLARS */
.pillar-card {
background: #fff;
padding: 30px;
border-radius: var(--radius-md);
box-shadow: 0 10px 30px rgba(0,0,0,0.05);
height: 100%;
border-top: 4px solid var(--color-accent-1);
transition: all 0.3s ease;
}
.pillar-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 40px rgba(0,0,0,0.1);
border-color: var(--color-accent-2);
}
.pillar-icon { font-size: 2rem; color: var(--color-primary); margin-bottom: 20px; }
.pillar-title { font-size: 1.25rem; margin-bottom: 15px; }
/* SERVICES (MODALIDADES) */
.service-card {
position: relative;
background: #fff;
border-radius: var(--radius-lg);
overflow: hidden;
box-shadow: 0 5px 20px rgba(0,0,0,0.08);
transition: all 0.3s ease;
height: 100%;
display: flex;
flex-direction: column;
border: 1px solid var(--color-border);
}
.service-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 40px rgba(0,0,0,0.12);
border-color: var(--color-accent-1);
}
.service-header {
background: var(--color-primary);
padding: 25px;
color: #fff;
text-align: center;
}
.service-header i {
font-size: 2.5rem;
color: var(--color-accent-1);
margin-bottom: 10px;
display: block;
}
.service-body { padding: 28px; flex: 1; }
.service-title { color: #fff; margin: 0; font-size: 1.3rem; }
/* SERVICIOS EXTRA */
.mini-service {
background: #fff;
border: 1px solid var(--color-border);
border-radius: 16px;
padding: 18px 18px;
box-shadow: 0 10px 24px rgba(0,0,0,0.04);
height: 100%;
transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.mini-service:hover {
transform: translateY(-6px);
box-shadow: 0 18px 36px rgba(0,0,0,0.08);
border-color: rgba(246, 158, 84, 0.65);
}
.mini-service .ms-icon {
width: 44px;
height: 44px;
border-radius: 12px;
display: inline-flex;
align-items: center;
justify-content: center;
background: rgba(224, 81, 64, 0.10);
color: var(--color-accent-2);
margin-bottom: 12px;
font-size: 1.15rem;
}
/* FEATURES */
.feature-box {
text-align: center;
padding: 40px 20px;
border-radius: var(--radius-md);
transition: all 0.3s ease;
height: 100%;
}
.feature-box:hover {
background: #fff;
box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.feature-icon-circle {
width: 80px;
height: 80px;
border-radius: 50%;
background: rgba(246, 158, 84, 0.1);
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 25px;
color: var(--color-accent-2);
font-size: 2rem;
transition: all 0.3s ease;
}
.feature-box:hover .feature-icon-circle {
background: var(--color-accent-2);
color: #fff;
transform: rotateY(180deg);
}
/* FAQ */
.accordion-custom .accordion-item {
border: none;
margin-bottom: 15px;
border-radius: var(--radius-md) !important;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0,0,0,0.03);
background: #fff;
}
.accordion-custom .accordion-button {
background: #fff;
color: var(--color-primary);
font-weight: 600;
padding: 20px 25px;
box-shadow: none !important;
}
.accordion-custom .accordion-button::after {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e05140'%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-custom .accordion-button:not(.collapsed) {
background-color: rgba(246, 158, 84, 0.1);
color: var(--color-accent-2);
}
.accordion-body { padding: 20px 25px; color: var(--color-text-muted); }
/* CONTACT */
.contact-section {
background-color: var(--color-primary);
color: #fff;
position: relative;
overflow: hidden;
}
.contact-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url('https://www.transparenttextures.com/patterns/cubes.png');
opacity: 0.05;
}
.contact-form-wrapper {
background: #fff;
padding: 40px;
border-radius: var(--radius-lg);
box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.form-label { color: var(--color-text); font-weight: 600; font-size: 0.9rem; }
.form-control, .form-select {
border: 2px solid var(--color-border);
border-radius: 8px;
padding: 12px 15px;
transition: all 0.3s ease;
}
.form-control:focus, .form-select:focus {
border-color: var(--color-accent-1);
box-shadow: 0 0 0 4px rgba(246, 158, 84, 0.15);
}
.contact-info-item { display: flex; align-items: flex-start; margin-bottom: 30px; }
.contact-icon {
width: 50px;
height: 50px;
border-radius: 12px;
background: rgba(255,255,255,0.1);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.25rem;
color: var(--color-accent-1);
margin-right: 20px;
flex-shrink: 0;
}
.contact-label {
display: block;
font-size: 0.85rem;
text-transform: uppercase;
color: rgba(255,255,255,0.6);
margin-bottom: 5px;
letter-spacing: 1px;
}
.contact-val { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; }
/* FOOTER */
.footer {
background: #0b1d3b;
color: #fff;
padding: 60px 0 30px;
font-size: 0.9rem;
}
.footer-brand {
font-family: var(--font-heading);
font-size: 1.8rem;
font-weight: 700;
margin-bottom: 20px;
display: block;
color: #fff;
text-decoration: none;
}
.footer-links a {
color: rgba(255,255,255,0.7);
text-decoration: none;
display: block;
margin-bottom: 10px;
transition: color 0.3s;
}
.footer-links a:hover { color: var(--color-accent-1); }
.social-links a {
display: inline-flex;
width: 40px;
height: 40px;
border-radius: 50%;
background: rgba(255,255,255,0.1);
align-items: center;
justify-content: center;
color: #fff;
margin-right: 10px;
transition: all 0.3s ease;
text-decoration: none;
}
.social-links a:hover { background: var(--color-accent-2); transform: translateY(-3px); }
.footer-bottom {
border-top: 1px solid rgba(255,255,255,0.1);
margin-top: 50px;
padding-top: 25px;
color: rgba(255,255,255,0.5);
text-align: center;
}
/* RESPONSIVE */
@media (max-width: 991.98px) {
.hero-title { font-size: 2.5rem; }
.hero { padding-top: 110px; padding-bottom: 60px; text-align: center; }
.hero-bg-shape { display: none; }
.hero-img-container { margin-top: 40px; box-shadow: 14px 14px 0 var(--color-primary); }
.section-title { font-size: 2rem; }
.hero-badges { justify-content: center; }
}
@media (max-width: 575.98px) {
.btn-primary-custom, .btn-outline-custom { width: 100%; margin-bottom: 10px; }
.wa-float span { display: none; }
.wa-float { width: 52px; height: 52px; justify-content: center; padding: 0; border-radius: 50%; }
}
/* HERO IMAGE FADER */
.hero-img-container.hero-fader{
position: relative;
height: clamp(320px, 54vh, 560px); /* más grande y responsivo */
display: flex;
align-items: center;
justify-content: center;
background: #fff;
}
/* Las 2 imágenes superpuestas */
.hero-fade-img{
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: contain; /* ✅ se ve según su contenido */
object-position: center;
opacity: 0;
transform: scale(1.02);
transition: opacity 900ms ease, transform 1200ms ease;
padding: 18px; /* aire para el logo (y la foto) */
}
/* Activa visible */
.hero-fade-img.is-active{
opacity: 1;
transform: scale(1);
}
.logo-navbar {
height: 52px; /* tamaño normal, no chico */
width: auto;
}
/* No tocamos tamaños de texto */
.brand-main,
.brand-dot {
font-size: inherit;
font-weight: inherit;
}
/* ===== INLINE <style> BLOCK #2 ===== */
:root{
/* Cambiá este color y se actualiza TODO el acento */
--accent:#f69e54;
--ink:#0f2751; /* texto fuerte */
--text:#121212; /* texto normal */
--muted:#5f6674; /* texto secundario */
--bg:#ffffff; /* fondo section */
--soft:#f6f7fb; /* fondo suave */
--border:#e7e9f2; /* borde */
--shadow: 0 18px 60px rgba(15,39,81,.12);
}
.rl-reviews{
background:var(--bg);
padding:80px 0;
}
.rl-wrap{
width:min(1120px, 92vw);
margin:0 auto;
}
.rl-head{
display:flex;
align-items:flex-end;
justify-content:space-between;
gap:18px;
margin-bottom:22px;
border:1px solid var(--border);
background:linear-gradient(135deg, #ffffff 0%, #fff7ef 55%, #ffffff 100%);
border-radius:18px;
padding:18px 18px 16px;
box-shadow:0 10px 35px rgba(0,0,0,.05);
position:relative;
overflow:hidden;
}
/* franjita superior (acento) */
.rl-head::before{
content:"";
position:absolute;
left:0; top:0;
width:100%; height:6px;
background:linear-gradient(90deg, var(--accent), #e05140);
}
.rl-kicker{
margin:0 0 6px 0;
color:var(--muted);
font-weight:700;
letter-spacing:.08em;
text-transform:uppercase;
font-size:.78rem;
}
.rl-title{
margin:0;
font-size:clamp(1.35rem, 2.2vw, 1.85rem);
line-height:1.15;
color:var(--ink);
font-weight:900;
}
.rl-title span{
color:var(--accent);
}
.rl-sub{
margin:8px 0 0 0;
color:var(--muted);
font-size:1rem;
}
.rl-btn{
display:inline-flex;
align-items:center;
gap:10px;
text-decoration:none;
background:var(--ink);
color:#fff;
font-weight:800;
padding:12px 14px;
border-radius:12px;
border:1px solid rgba(15,39,81,.12);
box-shadow:0 12px 30px rgba(15,39,81,.18);
transition:transform .2s, box-shadow .2s, background .2s;
white-space:nowrap;
}
.rl-btn:hover{
transform:translateY(-2px);
box-shadow:0 18px 40px rgba(15,39,81,.24);
background:#0b1d3c;
}
.rl-grid{
display:grid;
grid-template-columns:repeat(3, minmax(0, 1fr));
gap:16px;
margin-top:14px;
}
.rl-card{
display:flex;
flex-direction:column;
gap:12px;
text-decoration:none;
background:#fff;
border:1px solid var(--border);
border-radius:18px;
padding:16px 16px 14px;
box-shadow:0 10px 35px rgba(0,0,0,.05);
transition:transform .2s, box-shadow .2s, border-color .2s;
position:relative;
overflow:hidden;
color:inherit;
}
/* borde/acento al hover */
.rl-card::after{
content:"";
position:absolute;
inset:0;
border:2px solid transparent;
border-radius:18px;
pointer-events:none;
transition:border-color .2s;
}
.rl-card:hover{
transform:translateY(-3px);
box-shadow:var(--shadow);
border-color:rgba(246,158,84,.35);
}
.rl-card:hover::after{
border-color:rgba(246,158,84,.35);
}
.rl-top{
display:flex;
align-items:center;
gap:12px;
}
.rl-avatar{
width:44px; height:44px;
border-radius:14px;
background:linear-gradient(135deg, rgba(246,158,84,.22), rgba(224,81,64,.18));
border:1px solid rgba(246,158,84,.35);
display:grid;
place-items:center;
font-weight:900;
color:var(--ink);
flex:0 0 auto;
}
.rl-meta{ display:flex; flex-direction:column; gap:4px; }
.rl-name{
font-weight:900;
color:var(--ink);
line-height:1.1;
}
.rl-stars{
display:flex;
align-items:center;
gap:10px;
}
.rl-starsTxt{
color:#f6b100;
letter-spacing:1px;
font-size:.95rem;
}
.rl-badge{
font-size:.78rem;
font-weight:800;
color:var(--muted);
background:var(--soft);
border:1px solid var(--border);
padding:5px 8px;
border-radius:999px;
}
.rl-text{
margin:0;
color:#1d2433;
line-height:1.55;
font-size:.98rem;
/* clamp de líneas para prolijidad */
display:-webkit-box;
-webkit-line-clamp:7;
-webkit-box-orient:vertical;
overflow:hidden;
}
.rl-foot{
margin-top:auto;
display:flex;
align-items:center;
justify-content:space-between;
gap:10px;
padding-top:10px;
border-top:1px solid var(--border);
color:var(--muted);
font-weight:800;
}
.rl-link{
color:var(--ink);
display:inline-flex;
align-items:center;
gap:8px;
}
.rl-arrow{
width:34px; height:34px;
border-radius:12px;
display:grid;
place-items:center;
background:linear-gradient(135deg, rgba(246,158,84,.18), rgba(224,81,64,.14));
border:1px solid rgba(246,158,84,.25);
color:var(--ink);
font-size:1.05rem;
}
/* Responsive */
@media (max-width: 980px){
.rl-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width: 620px){
.rl-reviews{ padding:64px 0; }
.rl-head{
flex-direction:column;
align-items:flex-start;
}
.rl-btn{ width:100%; justify-content:center; }
.rl-grid{ grid-template-columns:1fr; }
.rl-text{-webkit-line-clamp:10;}
}
/* ===== 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;
}
.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%;
}
.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; }
#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; }
@media (max-width: 575.98px) {
.gal-frame { height: clamp(200px, 40vh, 360px); }
}
/* ===== INLINE <style> BLOCK #4 ===== */
/* ========= RitmoLogía (usa variables del sitio) =========
Requiere que ya existan:
--color-primary, --color-accent-1, --color-accent-2, --color-border
*/
/* IG button (arriba del WA) */
.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,.20);
transition:transform .25s, box-shadow .25s;
}
.ig-float:hover{
transform:translateY(-2px) scale(1.04);
box-shadow:0 14px 36px rgba(0,0,0,.28);
}
.footer-logo {
height: 68px; /* tamaño normal */
width: auto;
}
/* Mantiene el tamaño original */
.footer-brand span {
font-size: inherit;
font-weight: inherit;
}
/* WhatsApp flotante */
.wa-float{
position:fixed; right:18px; bottom:18px;
z-index:9999; font-family:inherit;
}
/* Botón WA: oficial verde, pero con look claro y borde del sitio */
.wa-btn{
background:#ffffff;
color:#25D366; /* color WA */
border:2px solid var(--color-border, #e5e7eb);
width:60px; height:60px; border-radius:50%;
display:grid; place-items:center;
box-shadow:0 10px 28px rgba(0,0,0,.16);
cursor:pointer;
transition:transform .25s, box-shadow .25s, background .25s, border-color .25s;
position:relative;
overflow:hidden;
}
.wa-btn:hover{
transform:translateY(-3px) scale(1.05);
box-shadow:0 16px 40px rgba(0,0,0,.22);
border-color:rgba(37,211,102,.35);
background:rgba(37,211,102,.08);
}
/* Card chat */
.wa-card{
position:absolute; right:0; bottom:74px;
width:min(360px,92vw);
background:#fff;
color:#111827;
border-radius:18px;
overflow:hidden;
box-shadow:0 18px 60px rgba(0,0,0,.22);
border:1px solid var(--color-border, #e5e7eb);
transform:translateY(10px);
opacity:0;
transition:transform .28s ease, opacity .28s ease;
}
.wa-card[aria-modal="true"]{
transform:translateY(0);
opacity:1;
}
/* Header con “franjita” del acento del sitio */
.wa-head{
display:flex; align-items:center; gap:12px;
padding:14px 16px;
background: linear-gradient(135deg,
rgba(246,158,84,.20),
rgba(224,81,64,.12)
);
border-bottom:1px solid var(--color-border, #e5e7eb);
position:relative;
}
.wa-head::before{
content:"";
position:absolute; left:0; top:0;
width:100%; height:4px;
background: linear-gradient(90deg, var(--color-accent-1, #f69e54), var(--color-accent-2, #e05140));
}
.wa-avatar{
width:42px; height:42px; border-radius:12px;
background:#fff;
display:grid; place-items:center;
border:1px solid rgba(15,39,81,.08);
overflow:hidden;
box-shadow:0 6px 16px rgba(0,0,0,.08);
}
.wa-title{
font-weight:800;
font-size:1.02rem;
color:var(--color-primary, #0f2751);
line-height:1.1;
}
.wa-status{
font-size:.85rem;
color:rgba(17,24,39,.65);
display:flex; align-items:center; gap:6px;
margin-top:2px;
}
.wa-status::before{
content:""; width:8px; height:8px; border-radius:50%;
background:#25D366;
}
.wa-close{
margin-left:auto;
background:transparent;
color:rgba(17,24,39,.6);
border:0;
font-size:24px;
cursor:pointer;
opacity:.8;
width:34px; height:34px;
border-radius:50%;
display:flex; align-items:center; justify-content:center;
transition:.2s;
}
.wa-close:hover{
opacity:1;
background:rgba(0,0,0,.05);
}
.wa-body{
padding:12px 14px;
max-height:40vh;
overflow:auto;
background:#f8f9fa;
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);
font-size:0.92rem;
animation:waFade .22s ease;
}
@keyframes waFade{
from{opacity:0; transform:translateY(5px)}
to{opacity:1; transform:none}
}
.wa-bot{
background:#ffffff;
border:1px solid var(--color-border, #e5e7eb);
align-self:flex-start;
border-bottom-left-radius:4px;
}
.wa-user{
background: linear-gradient(135deg, var(--color-primary, #0f2751), #1a3c75);
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:#fff;
border-top:1px solid var(--color-border, #e5e7eb);
}
.wa-compose textarea{
resize:none;
border-radius:12px;
padding:10px 12px;
border:1px solid var(--color-border, #e5e7eb);
background:#fbfbfb;
color:#111827;
outline:none;
min-height:44px;
font-family:inherit;
font-size:0.92rem;
transition:.2s;
}
.wa-compose textarea:focus{
border-color:rgba(246,158,84,.75);
box-shadow:0 0 0 3px rgba(246,158,84,.18);
background:#fff;
}
.wa-send{
background:#25D366; /* WA oficial */
color:#fff;
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:#1ebd5a;
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,.14); border-radius:3px; }
.wa-body::-webkit-scrollbar-thumb:hover{ background:rgba(0,0,0,.20); }
@media (max-width:480px){
.ig-float{ right:12px; bottom:86px; width:52px; height:52px; }
.wa-float{ right:12px; bottom:12px; }
.wa-card{ width:calc(100vw - 24px); right:0; }
}
.wa-btn { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }