Preview de mixed.css
/* MIXED CSS PACK */
/* Template: cortinasmetalicastomas.com.ar/index.html */
/* Template mtime: 2026-03-17 18:35:33 */
/* external link (no embedded): https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css */
/* external link (no embedded): https://fonts.googleapis.com/css2?family=Inter:opsz,[email protected],400;14..32,500;14..32,600;14..32,700;14..32,800;14..32,900&display=swap */
/* external link (no embedded): https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css */
/* external link (no embedded): https://unpkg.com/[email protected]/dist/aos.css */
/* external link (no embedded): https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css */
/* ===== INLINE <style> BLOCK #1 ===== */
/* ===== VARIABLES ===== */
:root {
--accent-red: #b81415;
--accent-red-dark: #8f0f10;
--accent-blue: #0a2b4a;
--accent-blue-light: #1c3e5e;
--text-primary: #111111;
--text-secondary: #4a4a4a;
--text-muted: #6c6c6c;
--bg-primary: #ffffff;
--bg-secondary: #f8fafc;
--border-light: #e9edf2;
--shadow-sm: 0 10px 30px -15px rgba(0,0,0,0.1);
--shadow-md: 0 20px 40px -20px rgba(10,43,74,0.15);
--shadow-lg: 0 30px 60px -20px rgba(184,20,21,0.25);
--shadow-xl: 0 40px 80px -20px rgba(10,43,74,0.3);
--radius-sm: 16px;
--radius-md: 24px;
--radius-lg: 32px;
--radius-full: 9999px;
--transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
/* ===== RESET Y BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
font-family: 'Inter', sans-serif;
color: var(--text-primary);
background: var(--bg-primary);
overflow-x: hidden;
line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
/* ===== UTILIDADES ===== */
.section {
padding: 120px 0;
position: relative;
}
.section-title {
font-size: clamp(2.5rem, 5vw, 3.8rem);
font-weight: 800;
line-height: 1.1;
letter-spacing: -0.03em;
margin-bottom: 1rem;
}
.section-title span { color: var(--accent-red); }
.section-subtitle {
font-size: 1.2rem;
color: var(--text-secondary);
max-width: 700px;
margin: 0 auto;
}
.eyebrow {
display: inline-block;
font-size: 0.8rem;
font-weight: 700;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--accent-red);
background: rgba(184,20,21,0.08);
padding: 0.4rem 1.2rem;
border-radius: var(--radius-full);
margin-bottom: 1.5rem;
}
/* ===== BOTONES MÁGICOS ===== */
.btn-main, .btn-outline-main {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.8rem;
min-height: 64px;
padding: 0 2.5rem;
font-weight: 700;
font-size: 1rem;
border: none;
border-radius: var(--radius-full);
transition: var(--transition);
cursor: pointer;
overflow: hidden;
z-index: 1;
}
.btn-main {
background: var(--accent-red);
color: white;
box-shadow: 0 15px 30px -10px rgba(184,20,21,0.4);
}
.btn-main::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: left 0.6s ease;
z-index: -1;
}
.btn-main:hover {
background: var(--accent-red-dark);
transform: translateY(-3px) scale(1.02);
box-shadow: 0 25px 40px -10px rgba(184,20,21,0.6);
}
.btn-main:hover::before { left: 100%; }
.btn-outline-main {
background: transparent;
color: var(--accent-blue);
border: 2px solid var(--accent-blue);
}
.btn-outline-main:hover {
background: var(--accent-blue);
color: white;
transform: translateY(-3px) scale(1.02);
box-shadow: 0 20px 35px -10px rgba(10,43,74,0.5);
}
/* ===== NAVBAR GALÁCTICO ===== */
.navbar {
background: transparent !important;
padding: 20px 0;
transition: all 0.4s ease;
z-index: 1000;
}
.navbar.scrolled {
background: rgba(255,255,255,0.95) !important;
backdrop-filter: blur(10px);
padding: 10px 0;
box-shadow: 0 5px 30px rgba(0,0,0,0.05);
}
.navbar-brand {
display: flex;
align-items: center;
gap: 15px;
font-weight: 800;
color: var(--accent-blue) !important;
font-size: 1.2rem;
}
.navbar-brand img {
height: 50px;
transition: var(--transition);
}
.navbar.scrolled .navbar-brand img { height: 45px; }
.navbar-nav .nav-link {
font-weight: 600;
color: var(--text-primary) !important;
padding: 0.5rem 1.2rem !important;
border-radius: var(--radius-full);
transition: var(--transition);
position: relative;
}
.navbar-nav .nav-link::before {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%) scaleX(0);
width: 30px;
height: 3px;
background: var(--accent-red);
border-radius: 2px;
transition: transform 0.3s ease;
}
.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before { transform: translateX(-50%) scaleX(1); }
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--accent-red) !important; }
/* ===== HERO ÉPICO ===== */
.hero {
min-height: 100vh;
display: flex;
align-items: center;
position: relative;
overflow: hidden;
background: linear-gradient(135deg, #ffffff 0%, #f2f6fc 100%);
}
/* Partículas */
#particles {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-title {
font-size: clamp(3rem, 7vw, 5.5rem);
font-weight: 900;
line-height: 1;
letter-spacing: -0.04em;
margin-bottom: 1.5rem;
}
.hero-title .typewriter {
color: var(--accent-red);
border-right: 4px solid var(--accent-red);
animation: blink 0.75s step-end infinite;
}
@keyframes blink { from, to { border-color: transparent; } 50% { border-color: var(--accent-red); } }
.hero-text {
font-size: 1.25rem;
color: var(--text-secondary);
max-width: 600px;
margin-bottom: 2rem;
}
.hero-points {
display: flex;
flex-wrap: wrap;
gap: 1rem;
margin: 3rem 0 0;
list-style: none;
padding: 0;
}
.hero-points li {
background: white;
padding: 0.8rem 1.8rem;
border-radius: var(--radius-full);
font-weight: 600;
color: var(--accent-blue);
border: 1px solid var(--border-light);
box-shadow: var(--shadow-sm);
backdrop-filter: blur(5px);
}
.hero-media {
position: relative;
perspective: 1000px;
display: flex;
justify-content: center;
}
.hero-card {
background: white;
border-radius: var(--radius-lg);
padding: 15px;
box-shadow: var(--shadow-xl);
transform: rotateY(-5deg) rotateX(5deg);
transition: var(--transition);
animation: float 6s ease-in-out infinite;
width: 100%;
max-width: 620px;
}
@keyframes float {
0% { transform: rotateY(-5deg) rotateX(5deg) translateY(0px); }
50% { transform: rotateY(-5deg) rotateX(5deg) translateY(-20px); }
100% { transform: rotateY(-5deg) rotateX(5deg) translateY(0px); }
}
.hero-card:hover { transform: rotateY(0) rotateX(0) scale(1.02); }
.hero-card img {
width: 100%;
height: auto;
max-height: 560px;
object-fit: contain;
object-position: center;
border-radius: var(--radius-md);
}
/* ===== TARJETAS 3D ===== */
.card-3d {
background: white;
border-radius: var(--radius-md);
padding: 2rem;
height: 100%;
border: 1px solid var(--border-light);
box-shadow: var(--shadow-md);
transition: transform 0.1s ease, box-shadow 0.3s ease;
transform-style: preserve-3d;
position: relative;
}
.card-3d:hover {
box-shadow: var(--shadow-xl);
}
.icon-3d {
width: 70px;
height: 70px;
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, var(--accent-red), var(--accent-blue));
color: white;
font-size: 2rem;
margin-bottom: 1.5rem;
transition: var(--transition);
transform: translateZ(20px);
}
.card-3d h3 {
font-size: 1.4rem;
font-weight: 700;
margin-bottom: 1rem;
color: var(--accent-blue);
transform: translateZ(15px);
}
.card-3d p {
color: var(--text-secondary);
transform: translateZ(10px);
}
/* ===== CONTADOR ===== */
.counter-item {
text-align: center;
padding: 2rem;
background: white;
border-radius: var(--radius-lg);
box-shadow: var(--shadow-lg);
border: 1px solid var(--border-light);
}
.counter-number {
font-size: 4rem;
font-weight: 900;
color: var(--accent-red);
line-height: 1;
margin-bottom: 0.5rem;
}
.counter-label {
font-size: 1.1rem;
font-weight: 600;
color: var(--accent-blue);
text-transform: uppercase;
letter-spacing: 0.05em;
}
/* ===== FAQS ===== */
.accordion-item {
border: 1px solid var(--border-light);
border-radius: var(--radius-lg) !important;
overflow: hidden;
box-shadow: var(--shadow-sm);
margin-bottom: 1rem;
background: white;
}
.accordion-button {
font-weight: 700;
color: var(--text-primary);
padding: 1.8rem 2rem;
font-size: 1.1rem;
box-shadow: none !important;
background: white;
}
.accordion-button:not(.collapsed) {
background: linear-gradient(90deg, rgba(184,20,21,0.03) 0%, rgba(255,255,255,1) 100%);
color: var(--accent-red);
}
.accordion-body {
color: var(--text-secondary);
line-height: 1.7;
padding: 0 2rem 2rem;
}
/* ===== GALERÍA (RESPETADA) ===== */
.gal-gallery .carousel{max-width:980px;margin-inline:auto;position:relative}
.gal-frame{
height: clamp(220px, 48vh, 440px);
background:#fff;border-radius:var(--radius-md);overflow:hidden;
box-shadow:var(--shadow-lg);
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(10,43,74,0.7);backdrop-filter:blur(4px);border-radius:50%;margin:0 12px;
border:1px solid rgba(255,255,255,0.2);
}
.gal-gallery .carousel-control-prev:hover,
.gal-gallery .carousel-control-next:hover{background:var(--accent-blue);}
.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(10,43,74,0.3);border:none
}
.gal-gallery .carousel-indicators button.active{background:var(--accent-red)}
.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}
/* ===== CONTACTO ===== */
.contact-card {
background: white;
border-radius: var(--radius-lg);
padding: 3rem;
height: 100%;
border: 1px solid var(--border-light);
box-shadow: var(--shadow-xl);
}
.form-control, .form-select {
min-height: 60px;
border-radius: var(--radius-full);
border: 1px solid var(--border-light);
padding: 0 1.5rem;
background: var(--bg-secondary);
transition: var(--transition);
}
.form-control:focus, .form-select:focus {
border-color: var(--accent-red);
box-shadow: 0 0 0 4px rgba(184,20,21,0.15);
background: white;
}
textarea.form-control {
min-height: 150px;
padding: 1.2rem 1.5rem;
border-radius: var(--radius-md);
}
/* ===== FOOTER ===== */
.footer {
background: var(--accent-blue);
color: white;
padding: 80px 0 30px;
position: relative;
overflow: hidden;
}
.footer::before {
content: '';
position: absolute;
top: -50%;
right: -10%;
width: 80%;
height: 200%;
background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
border-radius: 50%;
}
.footer .container { position: relative; z-index: 2; }
.footer a { color: rgba(255,255,255,0.8); transition: var(--transition); }
.footer a:hover { color: white; text-decoration: underline; }
.footer-brand {
display: flex;
align-items: center;
gap: 14px;
margin-bottom: 1rem;
}
.footer-brand img {
height: 52px;
width: auto;
object-fit: contain;
}
.footer-brand-text {
font-size: 1.1rem;
font-weight: 800;
letter-spacing: 0.02em;
}
.footer-title {
font-size: 1rem;
font-weight: 700;
margin-bottom: 1rem;
color: white;
}
.footer-text,
.footer-list li,
.footer-contact li {
color: rgba(255,255,255,0.84);
font-size: 0.96rem;
line-height: 1.7;
}
.footer-list,
.footer-contact {
list-style: none;
padding: 0;
margin: 0;
}
.footer-list li,
.footer-contact li {
margin-bottom: 0.7rem;
}
.footer-contact i {
margin-right: 0.6rem;
color: white;
}
.footer-bottom {
margin-top: 3rem;
padding-top: 1.35rem;
border-top: 1px solid rgba(255,255,255,0.18);
}
.footer-bottom p {
margin: 0;
color: rgba(255,255,255,0.8);
font-size: 0.92rem;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
.navbar-collapse {
background: white;
padding: 1.5rem;
border-radius: var(--radius-md);
margin-top: 1rem;
box-shadow: var(--shadow-lg);
}
.hero-card img { max-height: 400px; height: auto; object-fit: contain; }
}
/* ===== AJUSTE GENERAL DE ESCALA TIPOGRÁFICA ===== */
body {
font-size: 15px;
line-height: 1.45;
}
.section {
padding: 100px 0;
}
.section-title {
font-size: clamp(2rem, 4.2vw, 3.15rem);
margin-bottom: 0.85rem;
}
.section-subtitle {
font-size: 1.02rem;
max-width: 640px;
}
.eyebrow {
font-size: 0.74rem;
padding: 0.34rem 1rem;
margin-bottom: 1.15rem;
}
.btn-main, .btn-outline-main {
min-height: 54px;
padding: 0 2rem;
font-size: 0.95rem;
gap: 0.65rem;
}
.navbar {
padding: 14px 0;
}
.navbar.scrolled {
padding: 8px 0;
}
.navbar-brand {
gap: 12px;
font-size: 1.05rem;
}
.navbar-brand img {
height: 42px;
}
.navbar.scrolled .navbar-brand img {
height: 38px;
}
.navbar-nav .nav-link {
font-size: 0.95rem;
padding: 0.45rem 1rem !important;
}
.hero-title {
font-size: clamp(2.35rem, 5.6vw, 4.45rem);
margin-bottom: 1.1rem;
}
.hero-text {
font-size: 1.05rem;
max-width: 560px;
margin-bottom: 1.5rem;
}
.hero-points {
gap: 0.8rem;
margin-top: 2.2rem;
}
.hero-points li {
padding: 0.65rem 1.3rem;
font-size: 0.92rem;
}
.hero-card img {
height: auto;
max-height: 500px;
object-fit: contain;
}
.card-3d {
padding: 1.6rem;
}
.icon-3d {
width: 60px;
height: 60px;
font-size: 1.65rem;
margin-bottom: 1.1rem;
}
.card-3d h3 {
font-size: 1.18rem;
margin-bottom: 0.8rem;
}
.card-3d p,
.accordion-body,
.contact-card p,
.footer p,
.footer li,
.footer a {
font-size: 0.97rem;
}
.counter-item {
padding: 1.6rem;
}
.counter-number {
font-size: 3.1rem;
}
.counter-label {
font-size: 0.95rem;
}
.accordion-button {
font-size: 1rem;
padding: 1.45rem 1.6rem;
}
.accordion-body {
padding: 0 1.6rem 1.6rem;
line-height: 1.6;
}
.contact-card {
padding: 2.2rem;
}
.form-control, .form-select {
min-height: 54px;
font-size: 0.96rem;
padding: 0 1.2rem;
}
textarea.form-control {
min-height: 135px;
padding: 1rem 1.2rem;
}
.footer {
padding: 64px 0 26px;
}
@media (max-width: 991px) {
body {
font-size: 14.5px;
}
.section {
padding: 82px 0;
}
.hero-title {
font-size: clamp(2rem, 9vw, 3.2rem);
}
.hero-text {
font-size: 0.98rem;
}
.hero-card img {
height: auto;
max-height: 350px;
object-fit: contain;
}
.navbar-collapse {
padding: 1.1rem;
}
.btn-main, .btn-outline-main {
min-height: 50px;
padding: 0 1.5rem;
}
}
/* ===== FIX MOBILE / OVERFLOW / NAV ===== */
html, body {
max-width: 100%;
overflow-x: hidden;
}
.container, .container-fluid {
width: 100%;
}
.row {
--bs-gutter-x: 1.5rem;
}
.navbar .container {
overflow: visible;
}
.navbar-toggler {
flex: 0 0 auto;
padding: .45rem .7rem;
border-radius: 12px;
background: rgba(255,255,255,0.92);
box-shadow: 0 10px 24px -14px rgba(0,0,0,.28);
}
.navbar-toggler:focus {
box-shadow: 0 0 0 0.2rem rgba(184,20,21,.16);
}
.navbar-toggler-icon {
width: 1.5em;
height: 1.5em;
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2810,43,74,0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-brand {
min-width: 0;
max-width: calc(100% - 74px);
}
.navbar-brand span {
display: block;
min-width: 0;
white-space: normal;
line-height: 1.05;
word-break: break-word;
}
.navbar-collapse.show,
.navbar-collapse.collapsing {
display: block;
}
@media (max-width: 991px) {
.navbar-collapse {
max-width: 100%;
}
.navbar-nav,
.navbar-nav .nav-item,
.navbar-nav .nav-link,
.navbar-nav .btn-main {
width: 100%;
}
.navbar-nav .btn-main {
justify-content: center;
}
.hero {
min-height: auto;
padding: 110px 0 48px;
}
.hero .row {
min-height: auto !important;
row-gap: 2rem;
}
.hero-media,
.hero-card {
width: 100%;
}
.hero-card {
max-width: 100%;
transform: none;
animation: none;
padding: 10px;
}
.hero-card:hover {
transform: none;
}
.contact-card,
.about-card {
padding: 1.4rem !important;
}
}
@media (max-width: 767.98px) {
.navbar {
padding: 10px 0;
}
.navbar .container {
padding-left: 14px;
padding-right: 14px;
}
.navbar-brand {
gap: 10px;
font-size: 0.92rem;
max-width: calc(100% - 64px);
}
.navbar-brand img,
.navbar.scrolled .navbar-brand img {
height: 36px;
}
.navbar-brand span {
font-size: .9rem;
}
.navbar-collapse {
margin-top: .85rem;
padding: .95rem;
border-radius: 18px;
}
.navbar-nav {
align-items: stretch !important;
gap: .2rem;
}
.navbar-nav .nav-item {
margin-left: 0 !important;
}
.navbar-nav .nav-link {
display: block;
padding: .85rem 1rem !important;
}
.navbar-nav .nav-link::before {
display: none;
}
.navbar-nav .btn-main {
min-height: 48px;
width: 100%;
margin-top: .5rem;
padding: 0 1rem;
}
.hero-title {
font-size: clamp(1.9rem, 8vw, 2.7rem);
}
.hero-text {
font-size: .96rem;
}
.hero-points {
gap: .55rem;
}
.hero-points li {
width: 100%;
justify-content: flex-start;
}
.section {
padding: 72px 0;
}
.section-title {
font-size: clamp(1.7rem, 7.3vw, 2.35rem);
}
.counter-number {
font-size: 2.5rem;
}
.gal-gallery .carousel-control-prev,
.gal-gallery .carousel-control-next {
width: 42px;
height: 42px;
margin: 0 6px;
}
.wa-float {
right: 12px;
bottom: 12px;
}
}
/* ===== INLINE <style> BLOCK #2 ===== */
.about-pro{
position: relative;
overflow: hidden;
}
.about-shell{
position: relative;
padding: clamp(28px, 4vw, 56px);
border-radius: 28px;
background:
radial-gradient(circle at top left, rgba(220, 38, 38, 0.10), transparent 34%),
linear-gradient(135deg, #fff 0%, #fff7f7 100%);
border: 1px solid rgba(220, 38, 38, 0.10);
box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}
.about-copy .section-title{
margin-bottom: 14px;
}
.about-copy .section-title span{
color: #dc2626;
}
.about-copy .section-subtitle{
max-width: 560px;
color: #5b6472;
}
.about-badges{
display: flex;
flex-wrap: wrap;
gap: 12px;
}
.about-badges span{
display: inline-flex;
align-items: center;
gap: 10px;
padding: 11px 16px;
border-radius: 999px;
background: #ffffff;
border: 1px solid rgba(220, 38, 38, 0.12);
box-shadow: 0 10px 30px rgba(2, 6, 23, 0.05);
font-size: .95rem;
font-weight: 600;
color: #1f2937;
}
.about-badges i{
color: #dc2626;
}
.pro-card{
position: relative;
height: 100%;
padding: 28px 24px;
border-radius: 24px;
background: rgba(255,255,255,.96);
border: 1px solid rgba(220, 38, 38, 0.10);
box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pro-card:hover{
transform: translateY(-6px);
box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
border-color: rgba(220, 38, 38, 0.22);
}
.about-icon{
width: 58px;
height: 58px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 18px;
margin-bottom: 18px;
background: linear-gradient(135deg, #dc2626, #991b1b);
color: #fff;
font-size: 1.25rem;
box-shadow: 0 14px 30px rgba(220, 38, 38, 0.26);
}
.pro-card h3{
font-size: 1.15rem;
font-weight: 800;
color: #111827;
margin-bottom: 12px;
}
.pro-card p{
margin: 0;
color: #5b6472;
line-height: 1.75;
font-size: 1rem;
}
@media (max-width: 991.98px){
.about-shell{
padding: 24px 18px;
border-radius: 22px;
}
}
@media (max-width: 767.98px){
.about-copy{
text-align: center;
}
.about-badges{
justify-content: center;
}
.pro-card{
padding: 22px 18px;
border-radius: 20px;
text-align: center;
}
.about-icon{
margin-left: auto;
margin-right: auto;
}
}
/* ===== INLINE <style> BLOCK #3 ===== */
.contact-logo{
max-width: 180px;
width: 100%;
height: auto;
object-fit: contain;
display: inline-block;
}
.wa-float{
position:fixed;
right:18px;
bottom:18px;
z-index:2147483647;
display:flex;
flex-direction:column;
align-items:flex-end;
font-family:inherit;
}
.wa-btn{
width:60px;
height:60px;
border-radius:50%;
border:none;
background:linear-gradient(135deg,#25D366,#128C7E);
color:#fff;
display:grid;
place-items:center;
cursor:pointer;
box-shadow:0 10px 30px rgba(37,211,102,.45);
transition:transform .25s, box-shadow .25s;
}
.wa-btn:hover{
transform:translateY(-3px) scale(1.05);
box-shadow:0 14px 36px rgba(37,211,102,.55);
}
.wa-card{
position:absolute;
right:0;
bottom:74px;
width:min(360px,92vw);
background:#fff;
border-radius:18px;
border:1px solid #e3e6ea;
box-shadow:0 18px 60px rgba(0,0,0,.25);
overflow:hidden;
transform:translateY(10px);
opacity:0;
transition:.25s ease;
}
.wa-card[aria-modal="true"]{ transform:none; opacity:1; }
.wa-head{
display:flex;
align-items:center;
gap:12px;
padding:14px;
background:linear-gradient(135deg,#25D366,#128C7E);
color:#fff;
}
.wa-avatar{
width:40px;
height:40px;
background:#fff;
border-radius:10px;
display:grid;
place-items:center;
overflow:hidden;
}
.wa-avatar img{
width:26px;
height:26px;
object-fit:contain;
}
.wa-title{ font-weight:800; }
.wa-status{ font-size:.85rem; opacity:.9; }
.wa-close{
margin-left:auto;
border:none;
background:transparent;
color:#fff;
font-size:24px;
cursor:pointer;
width:32px;
height:32px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
opacity:.9;
}
.wa-close:hover{ opacity:1; background:rgba(255,255,255,.14); }
.wa-body{
padding:14px;
max-height:40vh;
overflow:auto;
background:#f8f9fa;
display:flex;
flex-direction:column;
gap:8px;
}
.wa-bubble{
max-width:88%;
padding:10px 12px;
border-radius:14px;
font-size:.95rem;
box-shadow:0 4px 10px rgba(0,0,0,.08);
}
.wa-bot{
background:#fff;
border:1px solid #e3e6ea;
align-self:flex-start;
}
.wa-user{
background:#eaf7f0;
border:1px solid #cfeedd;
align-self:flex-end;
}
.wa-compose{
display:grid;
grid-template-columns:1fr auto;
gap:8px;
padding:10px;
border-top:1px solid #e3e6ea;
background:#fff;
}
.wa-compose textarea{
resize:none;
border-radius:12px;
padding:10px;
border:1px solid #e3e6ea;
font-family:inherit;
outline:none;
}
.wa-send{
background:#25D366;
color:#fff;
border:none;
border-radius:12px;
padding:0 16px;
cursor:pointer;
}
.wa-send:hover{ background:#1fb85a; }
@media(max-width:480px){
.wa-float{ right:12px; bottom:12px; }
.wa-card{ width:calc(100vw - 24px); }
}