Preview de mixed.css
/* MIXED CSS PACK */
/* Template: lsbturismoytraslados.com/index.html */
/* Template mtime: 2026-03-03 14:07:09 */
/* 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],300..700&display=swap */
/* ===== INLINE <style> BLOCK #1 ===== */
/* ----------------------------------------------
· ROOT · Variables refinadas y expansivas
------------------------------------------------ */
:root {
--accent: #27979d; /* Tu color, inmutable */
--accent-dark: #1c6f73; /* Sutilmente más oscuro para hovers */
--ink: #0b1a1e; /* Casi negro azulado, más profundo */
--muted: #5b6e7a; /* Gris más elegante */
--bg-light: #f6fafc; /* Fondo ligerísimo azulado */
--white: #ffffff;
--radius-md: 20px; /* Unifica bordes */
--radius-lg: 32px;
--shadow-sm: 0 8px 20px -6px rgba(0,50,60,0.08), 0 4px 12px rgba(0,0,0,0.02);
--shadow-md: 0 20px 35px -12px rgba(0,90,100,0.18), 0 8px 18px rgba(0,40,50,0.06);
--shadow-lg: 0 30px 55px -12px rgba(0,70,80,0.28);
--transition: all 0.25s ease-out;
--font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
html { scroll-behavior: smooth; }
body {
font-family: var(--font-sans);
color: var(--ink);
background-color: var(--white);
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
/* ----------------------------------------------
· NAVBAR · Más ligera y con más presencia
------------------------------------------------ */
.navbar {
background: rgba(255,255,255,0.75);
backdrop-filter: blur(12px) saturate(180%);
-webkit-backdrop-filter: blur(12px) saturate(180%);
border-bottom: 1px solid rgba(39,151,157,0.15);
box-shadow: 0 4px 20px -10px rgba(0,30,40,0.08);
padding: 12px 0;
}
.navbar-brand {
display: flex;
align-items: center;
gap: 0.8rem;
font-weight: 600;
letter-spacing: -0.02em;
color: var(--ink) !important;
}
.navbar-brand img {
height: 44px;
width: auto;
transition: var(--transition);
}
.navbar-brand:hover img { transform: scale(1.02); }
.navbar-brand span {
font-size: 1.2rem;
background: linear-gradient(145deg, var(--ink) 0%, var(--accent-dark) 90%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.navbar-nav .nav-link {
font-weight: 500;
font-size: 0.95rem;
padding: 0.5rem 1rem !important;
color: var(--ink);
border-radius: 40px;
transition: var(--transition);
}
.navbar-nav .nav-link:hover {
color: var(--accent);
background: rgba(39,151,157,0.06);
}
/* ----------------------------------------------
· HELPERS GLOBALES · Tipografía y espaciado pro
------------------------------------------------ */
.section {
padding: 100px 0;
}
@media (max-width: 768px) {
.section { padding: 70px 0; }
}
.eyebrow {
display: inline-block;
font-size: 0.75rem;
letter-spacing: 0.4em;
text-transform: uppercase;
color: var(--accent);
font-weight: 700;
margin-bottom: 0.75rem;
background: rgba(39,151,157,0.1);
padding: 0.3rem 1rem;
border-radius: 40px;
border: 1px solid rgba(39,151,157,0.2);
backdrop-filter: blur(4px);
}
.section-title {
font-weight: 700;
font-size: clamp(2rem, 5vw, 2.8rem);
letter-spacing: -0.03em;
line-height: 1.2;
margin-bottom: 1.2rem;
color: var(--ink);
}
.section-subtitle {
color: var(--muted);
font-size: 1.2rem;
max-width: 720px;
margin-left: auto;
margin-right: auto;
}
/* ----------------------------------------------
· CARDS · eleganza, profundidad, suavidad
------------------------------------------------ */
.kcard, .contact-card, .hero-card {
border: none;
border-radius: var(--radius-md);
background: var(--white);
box-shadow: var(--shadow-sm);
padding: 2rem 1.8rem;
transition: var(--transition);
height: 100%;
backdrop-filter: blur(2px);
border: 1px solid rgba(255,255,255,0.6);
}
.kcard:hover, .contact-card:hover {
box-shadow: var(--shadow-md);
transform: translateY(-6px);
}
/* Icon badges dentro de cards */
.icon-badge {
width: 56px;
height: 56px;
border-radius: 18px;
background: rgba(39,151,157,0.12);
display: flex;
align-items: center;
justify-content: center;
flex: 0 0 auto;
transition: var(--transition);
}
.kcard:hover .icon-badge {
background: var(--accent);
transform: scale(1.05);
}
.icon-badge svg {
width: 28px;
height: 28px;
fill: var(--accent);
transition: var(--transition);
}
.kcard:hover .icon-badge svg {
fill: white;
}
/* ----------------------------------------------
· BOTONES · con personalidad
------------------------------------------------ */
.btn-accent {
background: var(--accent);
border: none;
color: white;
border-radius: 50px;
padding: 0.7rem 1.8rem;
font-weight: 600;
letter-spacing: 0.3px;
box-shadow: 0 8px 18px -6px rgba(39,151,157,0.4);
transition: var(--transition);
}
.btn-accent:hover {
background: var(--accent-dark);
transform: translateY(-2px);
box-shadow: 0 12px 24px -8px rgba(39,151,157,0.6);
color: white;
}
.btn-outline-accent {
background: transparent;
border: 1.5px solid var(--accent);
color: var(--accent);
border-radius: 50px;
padding: 0.7rem 1.8rem;
font-weight: 600;
transition: var(--transition);
}
.btn-outline-accent:hover {
background: var(--accent);
color: white;
transform: translateY(-2px);
box-shadow: 0 8px 16px -8px var(--accent);
}
/* ----------------------------------------------
· HERO · La entrada triunfal
------------------------------------------------ */
.hero {
padding-top: 140px;
padding-bottom: 80px;
background: linear-gradient(145deg, rgba(246,250,252,0.5) 0%, rgba(255,255,255,1) 100%);
}
.hero-card {
padding: 0;
overflow: hidden;
border-radius: var(--radius-lg);
box-shadow: var(--shadow-lg);
border: 1px solid rgba(255,255,255,0.8);
}
.hero-img {
width: 100%;
height: 100%;
min-height: 400px;
object-fit: cover;
transition: transform 1.2s cubic-bezier(0.25, 0.45, 0.45, 0.95);
}
.hero-card:hover .hero-img {
transform: scale(1.03);
}
.hero-points {
list-style: none;
padding: 0;
margin-top: 1.5rem;
}
.hero-points li {
display: flex;
gap: 1rem;
align-items: center;
margin-bottom: 0.8rem;
font-size: 1.05rem;
}
.hero-points .dot {
width: 10px;
height: 10px;
border-radius: 50%;
background: var(--accent);
opacity: 0.8;
box-shadow: 0 0 0 3px rgba(39,151,157,0.2);
}
/* ----------------------------------------------
· FORMULARIOS · suaves y orgánicos
------------------------------------------------ */
.form-control, .form-select {
border-radius: 60px;
border: 1px solid rgba(39,151,157,0.25);
padding: 0.85rem 1.2rem;
background-color: rgba(255,255,255,0.8);
backdrop-filter: blur(4px);
transition: var(--transition);
}
.form-control:focus, .form-select:focus {
border-color: var(--accent);
box-shadow: 0 0 0 4px rgba(39,151,157,0.2);
background-color: white;
}
/* ----------------------------------------------
· GALERÍA · refinada, con marco y zoom elegante
------------------------------------------------ */
.gal-gallery .carousel {
max-width: 900px;
margin: 0 auto;
border-radius: var(--radius-lg);
}
.gal-frame {
background: #f3f7f9;
border-radius: var(--radius-lg);
height: clamp(280px, 55vh, 500px);
display: flex;
align-items: center;
justify-content: center;
padding: 12px;
box-shadow: inset 0 2px 8px rgba(0,0,0,0.02), var(--shadow-md);
border: 1px solid rgba(255,255,255,0.8);
}
.gal-img {
max-width: 100%;
max-height: 100%;
width: auto !important;
height: auto !important;
object-fit: contain;
border-radius: 16px;
cursor: zoom-in;
transition: var(--transition);
box-shadow: 0 4px 14px rgba(0,30,30,0.1);
}
.gal-img:hover {
transform: scale(1.01);
}
/* Controles rediseñados */
.gal-gallery .carousel-control-prev,
.gal-gallery .carousel-control-next {
width: 56px;
height: 56px;
background: white;
border-radius: 56px;
top: 50%;
transform: translateY(-50%);
opacity: 0.9;
box-shadow: var(--shadow-md);
border: 1px solid rgba(39,151,157,0.2);
transition: var(--transition);
}
.gal-gallery .carousel-control-prev:hover,
.gal-gallery .carousel-control-next:hover {
background: var(--accent);
opacity: 1;
border-color: var(--accent);
}
.gal-gallery .carousel-control-prev-icon,
.gal-gallery .carousel-control-next-icon {
filter: brightness(0.2);
width: 28px;
height: 28px;
}
.gal-gallery .carousel-control-prev:hover .carousel-control-prev-icon,
.gal-gallery .carousel-control-next:hover .carousel-control-next-icon {
filter: brightness(0) invert(1);
}
.carousel-indicators {
position: static;
margin-top: 2rem;
gap: 0.6rem;
}
.carousel-indicators button {
width: 10px !important;
height: 10px !important;
border-radius: 10px !important;
background-color: rgba(39,151,157,0.3) !important;
border: none;
transition: var(--transition);
}
.carousel-indicators button.active {
background-color: var(--accent) !important;
width: 30px !important;
}
/* Lightbox modal elegante */
#galLightbox .modal-content {
background: rgba(10,20,25,0.95);
backdrop-filter: blur(18px);
border: 1px solid rgba(255,255,255,0.2);
}
.gal-lightbox-nav {
background: rgba(255,255,255,0.15);
backdrop-filter: blur(8px);
border: 1px solid rgba(255,255,255,0.3);
color: white;
width: 56px;
height: 56px;
border-radius: 56px;
font-size: 2.5rem;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
transition: var(--transition);
}
.gal-lightbox-nav:hover {
background: var(--accent);
border-color: var(--accent);
transform: scale(1.05) translateY(-50%);
}
/* ----------------------------------------------
· ACORDEÓN FAQ · limpio y expansivo
------------------------------------------------ */
.accordion-item {
border: none;
background: transparent;
margin-bottom: 1rem;
border-radius: 60px !important;
overflow: hidden;
background: white;
box-shadow: var(--shadow-sm);
border: 1px solid rgba(0,0,0,0.02);
}
.accordion-button {
border-radius: 60px !important;
font-weight: 600;
padding: 1.4rem 1.8rem;
background: white;
color: var(--ink);
font-size: 1.1rem;
box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
background: rgba(39,151,157,0.05);
color: var(--accent);
}
.accordion-button:focus {
box-shadow: none;
border-color: transparent;
}
.accordion-body {
padding: 0.2rem 1.8rem 1.4rem;
color: var(--muted);
}
/* ----------------------------------------------
· FOOTER · con personalidad de marca
------------------------------------------------ */
footer {
background: var(--ink);
color: rgba(255,255,255,0.85);
padding: 64px 0 32px;
border-top: 6px solid var(--accent);
}
footer a {
color: rgba(255,255,255,0.8);
text-decoration: none;
transition: var(--transition);
font-weight: 400;
}
footer a:hover {
color: white;
transform: translateX(4px);
opacity: 1;
}
.footer-brand {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1rem;
}
.footer-brand img {
height: 52px;
width: auto;
}
.footer-brand span {
font-weight: 600;
font-size: 1.3rem;
letter-spacing: -0.02em;
}
.footer-title {
font-weight: 700;
font-size: 1.1rem;
margin-bottom: 1.5rem;
color: white;
letter-spacing: -0.01em;
}
hr {
opacity: 0.15;
}
/* ----------------------------------------------
· RESPONSIVE FINO · sin scroll horizontal
------------------------------------------------ */
.container {
overflow-x: hidden;
}
img, svg {
max-width: 100%;
vertical-align: middle;
}
/* ===== INLINE <style> BLOCK #2 ===== */
/* Variables para facilitar ajustes */
:root {
--ig-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
--ig-transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ig-grid-gallery {
padding: 72px 0;
position: relative;
overflow: hidden;
}
@media (max-width: 575.98px) {
.ig-grid-gallery {
padding: 54px 0;
}
}
/* Animación de entrada para los textos */
.ig-grid-gallery .eyebrow,
.ig-grid-gallery .section-title,
.ig-grid-gallery .section-subtitle {
animation: slideUpFade 0.8s var(--ig-transition-bounce) forwards;
opacity: 0;
}
.ig-grid-gallery .section-title { animation-delay: 0.1s; }
.ig-grid-gallery .section-subtitle { animation-delay: 0.2s; }
@keyframes slideUpFade {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* GRID mejorado con animaciones */
.ig-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 22px;
align-items: stretch;
}
@media (max-width: 575.98px) {
.ig-grid {
grid-template-columns: 1fr;
gap: 14px;
}
}
.ig-item {
margin: 0;
opacity: 0;
animation: fadeScale 0.6s var(--ig-transition-bounce) forwards;
}
/* Animación escalonada para cada item */
.ig-item:nth-child(1) { animation-delay: 0.1s; }
.ig-item:nth-child(2) { animation-delay: 0.15s; }
.ig-item:nth-child(3) { animation-delay: 0.2s; }
.ig-item:nth-child(4) { animation-delay: 0.25s; }
.ig-item:nth-child(5) { animation-delay: 0.3s; }
.ig-item:nth-child(6) { animation-delay: 0.35s; }
.ig-item:nth-child(7) { animation-delay: 0.4s; }
@keyframes fadeScale {
from {
opacity: 0;
transform: scale(0.9);
}
to {
opacity: 1;
transform: scale(1);
}
}
/* MARCO mejorado con efectos hover */
.ig-frame {
background: #fff;
border: 1px solid rgba(17, 17, 17, 0.10);
border-radius: 18px;
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
overflow: hidden;
height: 560px;
display: flex;
align-items: center;
justify-content: center;
padding: 14px;
cursor: zoom-in;
transition: all var(--ig-transition-slow);
position: relative;
}
.ig-frame::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
opacity: 0;
transition: opacity var(--ig-transition-slow);
pointer-events: none;
z-index: 1;
}
.ig-frame:hover {
transform: translateY(-8px) scale(1.02);
box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
border-color: rgba(17, 17, 17, 0.2);
}
.ig-frame:hover::before {
opacity: 1;
}
.ig-frame img {
width: auto;
height: auto;
max-width: 100%;
max-height: 100%;
object-fit: contain;
object-position: center;
display: block;
user-select: none;
-webkit-user-drag: none;
transition: transform var(--ig-transition-slow);
}
.ig-frame:hover img {
transform: scale(1.05);
}
/* Ajustes responsive */
@media (max-width: 1199.98px) {
.ig-frame { height: 520px; }
}
@media (max-width: 991.98px) {
.ig-frame { height: 480px; }
}
@media (max-width: 575.98px) {
.ig-frame {
height: clamp(320px, 60vh, 520px);
padding: 12px;
}
.ig-frame:hover {
transform: translateY(-4px) scale(1.01);
}
}
/* ===== Modal mejorado ===== */
.ig-modal {
position: fixed;
inset: 0;
z-index: 9999;
display: none;
align-items: center;
justify-content: center;
padding: 16px;
}
.ig-modal.is-open {
display: flex;
animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
from {
opacity: 0;
backdrop-filter: blur(0);
}
to {
opacity: 1;
backdrop-filter: blur(4px);
}
}
.ig-modal-backdrop {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.85);
backdrop-filter: blur(4px);
transition: all 0.3s ease;
}
.ig-modal-dialog {
position: relative;
z-index: 1;
width: min(1200px, 96vw);
height: min(88vh, 820px);
background: #000;
border-radius: 18px;
overflow: hidden;
box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
display: flex;
align-items: center;
justify-content: center;
animation: modalSlideIn 0.4s var(--ig-transition-bounce);
}
@keyframes modalSlideIn {
from {
opacity: 0;
transform: scale(0.9) translateY(20px);
}
to {
opacity: 1;
transform: scale(1) translateY(0);
}
}
.ig-modal-img {
width: 100%;
height: 100%;
object-fit: contain;
display: block;
background: #000;
transition: transform 0.3s ease;
}
/* Botones del modal mejorados */
.ig-modal-close {
position: absolute;
top: 16px;
right: 16px;
width: 46px;
height: 46px;
border-radius: 999px;
border: 0;
background: rgba(255, 255, 255, 0.16);
color: #fff;
font-size: 30px;
line-height: 46px;
cursor: pointer;
z-index: 2;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
backdrop-filter: blur(4px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.ig-modal-close:hover {
background: rgba(255, 255, 255, 0.24);
transform: rotate(90deg);
}
.ig-modal-nav {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 52px;
height: 52px;
border-radius: 999px;
border: 0;
background: rgba(255, 255, 255, 0.16);
color: #fff;
cursor: pointer;
z-index: 2;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
backdrop-filter: blur(4px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.ig-modal-nav:hover {
background: rgba(255, 255, 255, 0.24);
transform: translateY(-50%) scale(1.1);
}
.ig-modal-nav:active {
transform: translateY(-50%) scale(0.95);
}
.ig-modal-nav.ig-prev { left: 16px; }
.ig-modal-nav.ig-next { right: 16px; }
.ig-modal-nav svg {
width: 24px;
height: 24px;
stroke: white;
}
/* Contador de imágenes */
.ig-modal-counter {
position: absolute;
bottom: 16px;
left: 50%;
transform: translateX(-50%);
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(4px);
color: white;
padding: 8px 16px;
border-radius: 999px;
font-size: 14px;
font-weight: 500;
border: 1px solid rgba(255, 255, 255, 0.1);
animation: counterFadeIn 0.3s ease;
}
@keyframes counterFadeIn {
from {
opacity: 0;
transform: translateX(-50%) translateY(20px);
}
to {
opacity: 1;
transform: translateX(-50%) translateY(0);
}
}
@media (max-width: 575.98px) {
.ig-modal-dialog {
height: min(84vh, 680px);
}
.ig-modal-nav {
width: 42px;
height: 42px;
}
.ig-modal-nav.ig-prev { left: 8px; }
.ig-modal-nav.ig-next { right: 8px; }
.ig-modal-close {
top: 8px;
right: 8px;
width: 42px;
height: 42px;
}
}
/* ===== INLINE <style> BLOCK #3 ===== */
/* ------------------------------------------------
EXCURSIONES · Tarjetas de destino con personalidad
------------------------------------------------ */
#excursiones .ex-card {
background: var(--white);
border-radius: var(--radius-md);
padding: 1.8rem 1.5rem 1.5rem 1.5rem;
box-shadow: var(--shadow-sm);
border: 1px solid rgba(39,151,157,0.1);
transition: var(--transition);
height: 100%;
display: flex;
flex-direction: column;
position: relative;
overflow: hidden;
}
#excursiones .ex-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 6px;
background: linear-gradient(90deg, var(--accent), #4dc3c9);
opacity: 0;
transition: var(--transition);
}
#excursiones .ex-card:hover {
box-shadow: var(--shadow-lg);
transform: translateY(-8px);
}
#excursiones .ex-card:hover::before {
opacity: 1;
}
/* Header de la tarjeta: bandera + badge */
#excursiones .ex-card__header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 1.2rem;
}
#excursiones .ex-flag {
display: inline-flex;
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
background: #f0f6f8;
border-radius: 50%;
box-shadow: 0 6px 16px rgba(0,0,0,0.05);
}
#excursiones .ex-flag::after {
content: '';
width: 32px;
height: 32px;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
/* Asignamos las banderas vía attr + content con un pequeño script */
#excursiones .ex-badge {
background: rgba(39,151,157,0.1);
color: var(--accent-dark);
font-size: 0.75rem;
font-weight: 700;
padding: 0.35rem 1rem;
border-radius: 40px;
border: 1px solid rgba(39,151,157,0.2);
letter-spacing: 0.3px;
}
/* Cuerpo de la tarjeta */
#excursiones .ex-card__body {
flex: 1;
}
#excursiones .ex-card__title {
font-size: 1.8rem;
font-weight: 700;
letter-spacing: -0.02em;
margin-bottom: 0.4rem;
color: var(--ink);
line-height: 1.2;
}
#excursiones .ex-card__subtitle {
color: var(--muted);
font-size: 0.95rem;
margin-bottom: 1.5rem;
border-left: 3px solid var(--accent);
padding-left: 0.8rem;
}
#excursiones .ex-card__list {
list-style: none;
padding: 0;
margin: 0 0 1rem 0;
}
#excursiones .ex-card__list li {
padding: 0.45rem 0 0.45rem 1.6rem;
position: relative;
color: var(--ink);
font-weight: 400;
border-bottom: 1px dashed rgba(39,151,157,0.1);
}
#excursiones .ex-card__list li::before {
content: "✓";
position: absolute;
left: 0;
top: 0.4rem;
color: var(--accent);
font-weight: 700;
font-size: 1rem;
}
#excursiones .ex-card__list-more {
color: var(--muted) !important;
font-size: 0.9rem;
font-style: italic;
border-bottom: none !important;
}
#excursiones .ex-card__list-more::before {
content: "⋯" !important;
color: var(--muted) !important;
font-size: 1.2rem;
top: 0.2rem;
}
/* Footer */
#excursiones .ex-card__footer {
margin-top: 1.5rem;
padding-top: 0.8rem;
border-top: 1px solid rgba(0,0,0,0.05);
}
#excursiones .ex-card__link {
color: var(--accent);
text-decoration: none;
font-weight: 600;
font-size: 0.95rem;
display: inline-flex;
align-items: center;
gap: 0.4rem;
transition: var(--transition);
}
#excursiones .ex-card__link:hover {
gap: 0.8rem;
color: var(--accent-dark);
}
/* Ajuste para móvil */
@media (max-width: 768px) {
#excursiones .ex-card__title {
font-size: 1.6rem;
}
}
/* ===== INLINE <style> BLOCK #4 ===== */
.media-showcase{ padding:72px 0; }
/* ===== IMÁGENES ===== */
.ms-grid-images{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
margin-bottom:30px;
}
@media(max-width:575.98px){
.ms-grid-images{ grid-template-columns:1fr; }
}
.ms-frame{
background:#fff;
border-radius:18px;
box-shadow:0 15px 40px rgba(0,0,0,.10);
height:420px;
display:flex;
align-items:center;
justify-content:center;
padding:12px;
overflow:hidden;
}
.ms-frame img{
max-width:100%;
max-height:100%;
object-fit:contain;
}
/* ===== VIDEOS ===== */
.ms-grid-videos{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:20px;
}
@media(max-width:575.98px){
.ms-grid-videos{ grid-template-columns:1fr; }
}
/* IMPORTANTE: quitamos aspect-ratio fijo */
.ms-video-frame{
background:#fff; /* blanco en vez de negro */
border-radius:18px;
box-shadow:0 18px 45px rgba(0,0,0,.12);
padding:12px;
display:flex;
justify-content:center;
align-items:center;
}
/* Video mantiene su proporción real */
.ms-video-frame video{
width:100%;
height:auto; /* NO forzamos alto */
max-height:650px; /* tamaño grande en desktop */
object-fit:contain; /* nunca recorta */
background:#fff; /* si sobra espacio, blanco */
border-radius:12px;
}
@media(max-width:575.98px){
.ms-frame{ height:360px; }
.ms-video-frame video{ max-height:520px; }
}
/* ===== INLINE <style> BLOCK #5 ===== */
/* ===== Contenedor fijo (solo WA) ===== */
.wa-float{
position:fixed;
right:18px;
bottom:18px;
z-index:2147483647;
display:flex;
flex-direction:column;
align-items:flex-end;
font-family:inherit;
}
/* ===== Botón flotante ===== */
.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);
}
/* ===== Card ===== */
.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; }
/* ===== Head ===== */
.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); }
/* ===== Body ===== */
.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;
}
/* ===== Compose ===== */
.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); }
}