Preview de mixed.css
/* MIXED CSS PACK */
/* Template: xn--cabaaellauchamototurismo-3kc.com/index.html */
/* Template mtime: 2025-12-16 14:35:08 */
/* 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/bootstrap-icons/1.11.3/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 */
/* external link (no embedded): https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css */
/* ===== INLINE <style> BLOCK #1 ===== */
:root {
--cl-primary: #111827;
--cl-secondary: #4b5563;
--cl-accent: #16a34a;
--cl-bg: #ffffff;
--cl-muted: #9ca3af;
--gradient-primary: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
--gradient-dark: linear-gradient(135deg, #111827 0%, #1f2937 100%);
--shadow-sm: 0 2px 8px rgba(17, 24, 39, 0.04);
--shadow-md: 0 8px 24px rgba(17, 24, 39, 0.08);
--shadow-lg: 0 20px 50px rgba(17, 24, 39, 0.15);
--shadow-xl: 0 30px 70px rgba(17, 24, 39, 0.25);
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
color: var(--cl-primary);
scroll-behavior: smooth;
line-height: 1.6;
overflow-x: hidden;
}
a {
text-decoration: none;
color: inherit;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
a:hover {
color: var(--cl-accent);
transform: translateY(-1px);
}
/* ========== NAVBAR ========== */
.navbar {
box-shadow: 0 4px 30px rgba(17, 24, 39, 0.08);
background: rgba(255, 255, 255, 0.85);
backdrop-filter: blur(20px) saturate(180%);
border-bottom: 1px solid rgba(255, 255, 255, 0.18);
transition: all 0.3s ease;
padding: 1rem 0;
}
.navbar.scrolled {
padding: 0.5rem 0;
background: rgba(255, 255, 255, 0.95);
box-shadow: 0 8px 32px rgba(17, 24, 39, 0.12);
}
.navbar-brand {
font-weight: 800;
letter-spacing: 0.02em;
font-size: 1.3rem;
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
transition: all 0.3s ease;
}
.navbar-brand:hover {
transform: scale(1.05);
filter: brightness(1.1);
}
.nav-link {
font-weight: 500;
color: var(--cl-secondary) !important;
position: relative;
padding: 0.5rem 1rem !important;
font-size: 0.95rem;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
width: 0;
height: 2px;
background: var(--cl-accent);
transition: all 0.3s ease;
transform: translateX(-50%);
}
.nav-link:hover::after {
width: 70%;
}
.nav-link:hover {
color: var(--cl-accent) !important;
transform: translateY(-2px);
}
.btn {
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
font-weight: 600;
letter-spacing: 0.02em;
}
.btn::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
border-radius: 50%;
background: rgba(255, 255, 255, 0.3);
transform: translate(-50%, -50%);
transition: width 0.6s, height 0.6s;
}
.btn:hover::before {
width: 300px;
height: 300px;
}
.btn-primary {
background: var(--gradient-primary);
border: none;
border-radius: 999px;
padding: 0.7rem 1.8rem;
box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
transform-origin: center;
}
.btn-primary:hover {
transform: translateY(-3px) scale(1.02);
box-shadow: 0 8px 25px rgba(22, 163, 74, 0.4);
}
.btn-outline-dark {
border: 2px solid var(--cl-primary);
border-radius: 999px;
padding: 0.65rem 1.8rem;
color: var(--cl-primary);
background: transparent;
}
.btn-outline-dark:hover {
background: var(--cl-primary);
color: #fff;
transform: translateY(-3px);
box-shadow: 0 8px 20px rgba(17, 24, 39, 0.2);
}
/* ========== SECTIONS ========== */
section {
padding: 100px 0;
position: relative;
}
section::before {
content: '';
position: absolute;
top: 0;
left: 50%;
width: 80%;
height: 1px;
background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.2), transparent);
transform: translateX(-50%);
}
section:first-of-type::before {
display: none;
}
.section-title {
font-size: 2.8rem;
font-weight: 800;
margin-bottom: 0.5rem;
background: var(--gradient-dark);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
letter-spacing: -0.02em;
line-height: 1.2;
}
.section-subtitle {
color: var(--cl-secondary);
max-width: 680px;
margin: 0 auto;
font-size: 1.1rem;
line-height: 1.7;
}
.eyebrow {
display: inline-block;
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.18em;
color: var(--cl-accent);
font-weight: 700;
margin-bottom: 0.7rem;
padding: 0.4rem 1rem;
background: rgba(22, 163, 74, 0.1);
border-radius: 999px;
backdrop-filter: blur(10px);
}
/* ========== HERO ========== */
#inicio {
padding: 140px 0 100px;
background: linear-gradient(135deg, rgba(22, 163, 74, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
position: relative;
overflow: hidden;
}
#inicio::after {
content: '';
position: absolute;
top: -50%;
right: -20%;
width: 800px;
height: 800px;
background: radial-gradient(circle, rgba(22, 163, 74, 0.08) 0%, transparent 70%);
border-radius: 50%;
pointer-events: none;
animation: float 20s ease-in-out infinite;
}
@keyframes float {
0%,
100% {
transform: translate(0, 0) scale(1);
}
50% {
transform: translate(-30px, -30px) scale(1.1);
}
}
.hero-wrapper {
align-items: center;
position: relative;
z-index: 1;
}
.hero-eyebrow {
color: var(--cl-accent);
font-size: 0.85rem;
letter-spacing: 0.18em;
text-transform: uppercase;
font-weight: 700;
margin-bottom: 1rem;
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1.2rem;
background: rgba(22, 163, 74, 0.1);
border-radius: 999px;
backdrop-filter: blur(10px);
border: 1px solid rgba(22, 163, 74, 0.2);
}
.hero-eyebrow::before {
content: '';
width: 8px;
height: 8px;
background: var(--cl-accent);
border-radius: 50%;
animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
0%,
100% {
opacity: 1;
transform: scale(1);
}
50% {
opacity: 0.5;
transform: scale(1.2);
}
}
.hero-title {
font-size: clamp(2.5rem, 4.5vw, 4rem);
line-height: 1.1;
font-weight: 900;
margin-bottom: 1.2rem;
letter-spacing: -0.03em;
background: linear-gradient(135deg, #111827 0%, #16a34a 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
animation: slideInUp 0.8s ease-out;
}
@keyframes slideInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.hero-subtitle {
font-size: 1.25rem;
color: var(--cl-secondary);
margin-bottom: 1.2rem;
font-weight: 500;
animation: slideInUp 0.8s ease-out 0.1s backwards;
}
.hero-text {
color: var(--cl-secondary);
margin-bottom: 2rem;
font-size: 1.05rem;
line-height: 1.8;
animation: slideInUp 0.8s ease-out 0.2s backwards;
}
.hero-cta {
animation: slideInUp 0.8s ease-out 0.3s backwards;
}
.hero-cta .btn {
margin-right: 1rem;
margin-bottom: 1rem;
}
.hero-contact {
font-size: 0.9rem;
color: var(--cl-muted);
margin-top: 2rem;
animation: slideInUp 0.8s ease-out 0.4s backwards;
}
.hero-contact span {
display: inline-flex;
align-items: center;
gap: 0.4rem;
margin-right: 1.5rem;
margin-bottom: 0.5rem;
transition: all 0.3s ease;
padding: 0.3rem 0.8rem;
border-radius: 8px;
}
.hero-contact span:hover {
background: rgba(22, 163, 74, 0.05);
color: var(--cl-accent);
transform: translateX(3px);
}
.hero-contact i {
font-size: 1.1rem;
color: var(--cl-accent);
}
.hero-media {
position: relative;
animation: slideInRight 0.8s ease-out 0.2s backwards;
}
@keyframes slideInRight {
from {
opacity: 0;
transform: translateX(50px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
.hero-img-wrap {
border-radius: 32px;
overflow: hidden;
box-shadow: 0 30px 80px rgba(17, 24, 39, 0.25);
background: #000;
position: relative;
transform: perspective(1000px) rotateY(-5deg);
transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-img-wrap:hover {
transform: perspective(1000px) rotateY(0deg) translateY(-10px);
box-shadow: 0 40px 100px rgba(17, 24, 39, 0.35);
}
.hero-img-wrap::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, rgba(22, 163, 74, 0.3) 0%, transparent 50%);
opacity: 0;
transition: opacity 0.5s ease;
z-index: 1;
}
.hero-img-wrap:hover::before {
opacity: 1;
}
.hero-img {
width: 100%;
height: 100%;
max-height: 480px;
object-fit: cover;
display: block;
transition: transform 0.6s ease;
}
.hero-img-wrap:hover .hero-img {
transform: scale(1.05);
}
.hero-tag {
position: absolute;
left: 20px;
bottom: 20px;
background: rgba(17, 24, 39, 0.9);
color: #fff;
padding: 0.3rem 0.6rem; /* más chico */
border-radius: 999px;
font-size: 0.65rem; /* más chico */
display: inline-flex;
align-items: center;
gap: 0.3rem; /* más chico */
font-weight: 600;
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.08);
box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
z-index: 2;
transition: all 0.3s ease;
}
@media (max-width: 576px) {
.hero-tag {
padding: 0.25rem 0.5rem;
font-size: 0.55rem;
gap: 0.25rem;
bottom: 10px !important; /* antes 20px → más abajo en phone */
left: 15px; /* opcional: un poquito más al borde */
}
}
.hero-tag:hover {
transform: translateY(-3px);
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.hero-tag i {
color: #facc15;
font-size: 1.2rem;
animation: pulse 2s ease-in-out infinite;
}
/* ========== QUIENES SOMOS ========== */
#quienes {
background: rgba(249, 250, 251, 0.5);
backdrop-filter: blur(10px);
}
#quienes .lead {
color: var(--cl-secondary);
font-size: 1.3rem;
font-weight: 500;
line-height: 1.8;
margin-bottom: 1.5rem;
}
#quienes p {
font-size: 1.05rem;
line-height: 1.9;
color: var(--cl-secondary);
}
/* ========== SERVICIOS ========== */
.service-card {
border-radius: 24px;
border: 1px solid rgba(148, 163, 184, 0.15);
padding: 2rem 1.8rem;
height: 100%;
background: #fff;
box-shadow: var(--shadow-sm);
transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}
.service-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: var(--gradient-primary);
transform: scaleX(0);
transform-origin: left;
transition: transform 0.5s ease;
}
.service-card:hover::before {
transform: scaleX(1);
}
.service-card::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
background: radial-gradient(circle, rgba(22, 163, 74, 0.05) 0%, transparent 70%);
border-radius: 50%;
transform: translate(-50%, -50%);
transition: all 0.6s ease;
}
.service-card:hover::after {
width: 300px;
height: 300px;
}
.service-card:hover {
transform: translateY(-8px);
box-shadow: var(--shadow-lg);
border-color: rgba(22, 163, 74, 0.3);
}
.service-card h3 {
font-size: 1.25rem;
margin-bottom: 0.8rem;
font-weight: 700;
color: var(--cl-primary);
position: relative;
z-index: 1;
}
.service-card p {
font-size: 0.98rem;
color: var(--cl-secondary);
margin: 0;
line-height: 1.7;
position: relative;
z-index: 1;
}
/* ========== POR QUÉ ELEGIRNOS ========== */
#porque {
background: linear-gradient(135deg, rgba(22, 163, 74, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
}
.reason-card {
border-radius: 24px;
padding: 2rem 1.8rem;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(249, 250, 251, 0.95) 100%);
border: 1px solid rgba(148, 163, 184, 0.2);
height: 100%;
display: flex;
flex-direction: column;
gap: 0.8rem;
box-shadow: var(--shadow-sm);
transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
backdrop-filter: blur(10px);
}
.reason-card::before {
content: '';
position: absolute;
top: -50%;
right: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(22, 163, 74, 0.08) 0%, transparent 70%);
opacity: 0;
transition: all 0.7s ease;
transform: rotate(0deg);
}
.reason-card:hover::before {
opacity: 1;
transform: rotate(45deg);
}
.reason-card:hover {
transform: translateY(-10px) scale(1.02);
box-shadow: var(--shadow-xl);
border-color: rgba(22, 163, 74, 0.4);
}
.reason-icon {
width: 56px;
height: 56px;
border-radius: 16px;
display: inline-flex;
align-items: center;
justify-content: center;
background: var(--gradient-dark);
color: #fff;
margin-bottom: 0.8rem;
font-size: 1.5rem;
box-shadow: 0 8px 20px rgba(17, 24, 39, 0.2);
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
z-index: 1;
}
.reason-card:hover .reason-icon {
transform: scale(1.1) rotate(5deg);
box-shadow: 0 12px 30px rgba(17, 24, 39, 0.3);
}
.reason-card h3 {
font-size: 1.15rem;
margin-bottom: 0.5rem;
font-weight: 700;
color: var(--cl-primary);
position: relative;
z-index: 1;
}
.reason-card p {
font-size: 0.98rem;
color: var(--cl-secondary);
margin: 0;
line-height: 1.7;
position: relative;
z-index: 1;
}
/* ========== FAQS ========== */
#faqs {
background: rgba(249, 250, 251, 0.5);
}
#faqs .accordion-item {
border: 1px solid rgba(148, 163, 184, 0.15);
border-radius: 16px !important;
margin-bottom: 1rem;
overflow: hidden;
background: #fff;
box-shadow: var(--shadow-sm);
transition: all 0.3s ease;
}
#faqs .accordion-item:hover {
box-shadow: var(--shadow-md);
transform: translateX(4px);
}
#faqs .accordion-button {
font-weight: 600;
padding: 1.3rem 1.5rem;
font-size: 1.05rem;
background: #fff;
transition: all 0.3s ease;
}
#faqs .accordion-button:focus {
box-shadow: none;
border-color: rgba(22, 163, 74, 0.3);
}
#faqs .accordion-button:not(.collapsed) {
background: linear-gradient(135deg, rgba(236, 253, 243, 0.8) 0%, rgba(220, 252, 231, 0.6) 100%);
color: var(--cl-primary);
box-shadow: inset 0 -1px 0 rgba(22, 163, 74, 0.1);
}
#faqs .accordion-body {
color: var(--cl-secondary);
font-size: 1rem;
line-height: 1.8;
padding: 1.3rem 1.5rem;
}
/* ========== CONTACTO ========== */
#contacto {
background: linear-gradient(135deg, rgba(22, 163, 74, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
}
#contacto .contact-card {
border-radius: 24px;
padding: 2.5rem 2rem;
background: linear-gradient(135deg, rgba(249, 250, 251, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
border: 1px solid rgba(148, 163, 184, 0.2);
height: 100%;
box-shadow: var(--shadow-md);
backdrop-filter: blur(10px);
transition: all 0.4s ease;
}
#contacto .contact-card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-lg);
}
#contacto .contact-card h3 {
font-size: 1.4rem;
margin-bottom: 1.5rem;
font-weight: 700;
color: var(--cl-primary);
}
#contacto .contact-info-line {
display: flex;
align-items: flex-start;
gap: 0.8rem;
margin-bottom: 1rem;
font-size: 1rem;
color: var(--cl-secondary);
padding: 0.6rem;
border-radius: 12px;
transition: all 0.3s ease;
}
#contacto .contact-info-line:hover {
background: rgba(22, 163, 74, 0.05);
transform: translateX(5px);
}
#contacto .contact-info-line i {
margin-top: 0.15rem;
color: var(--cl-accent);
font-size: 1.3rem;
}
#contacto .form-label {
font-weight: 600;
color: var(--cl-primary);
margin-bottom: 0.6rem;
font-size: 0.95rem;
}
#contacto .form-control,
#contacto .form-select {
border: 2px solid rgba(148, 163, 184, 0.2);
border-radius: 12px;
padding: 0.8rem 1rem;
font-size: 1rem;
transition: all 0.3s ease;
background: #fff;
}
#contacto .form-control:focus,
#contacto .form-select:focus {
border-color: var(--cl-accent);
box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1);
outline: none;
}
/* ========== FOOTER ========== */
footer {
background: var(--gradient-dark);
color: #e5e7eb;
padding: 48px 0 32px;
font-size: 0.95rem;
position: relative;
overflow: hidden;
}
footer::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 1px;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}
footer a {
color: #e5e7eb;
text-decoration: none;
transition: all 0.3s ease;
display: inline-block;
}
footer a:hover {
color: #bbf7d0;
transform: translateX(3px);
}
footer .brand {
font-weight: 700;
font-size: 1.1rem;
margin-bottom: 0.5rem;
}
@media (max-width:991.98px) {
#inicio {
padding-top: 120px;
}
.hero-wrapper {
flex-direction: column; /* 👈 antes era column-reverse */
}
.hero-media {
margin-top: 2rem; /* 👈 imagen debajo con un respiro */
margin-bottom: 0;
}
.hero-img-wrap {
transform: perspective(1000px) rotateY(0deg);
}
.section-title {
font-size: 2.2rem;
}
section {
padding: 70px 0;
}
}
@media (max-width:575.98px) {
.section-title {
font-size: 1.8rem;
}
.hero-title {
font-size: 2rem;
}
.hero-subtitle {
font-size: 1.1rem;
}
.hero-cta .btn {
margin-right: 0;
width: 100%;
}
}
/* ========== GALERIA (PERFECTA, SIN CAMBIOS) ========== */
.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 #2 ===== */
.site-footer-dark {
background: #111; /* ⚫ Bien oscuro */
color: #ddd; /* Gris claro para contraste */
padding: 3rem 0;
border-top: 2px solid #5cab7a; /* Línea amarilla tipo ruta */
}
.site-footer-dark .footer-brand {
font-weight: 700;
font-size: 1.3rem;
color: #fff;
}
.site-footer-dark .footer-tagline {
font-size: 0.95rem;
color: #bbb;
}
.site-footer-dark .footer-location {
font-size: 0.9rem;
color: #888;
margin-top: 0.3rem;
}
/* Títulos */
.site-footer-dark .footer-title {
color: #5cab7a;
text-transform: uppercase;
font-size: 0.9rem;
letter-spacing: 0.07em;
font-weight: 600;
margin-bottom: 0.5rem;
}
/* Listas */
.site-footer-dark .footer-links,
.site-footer-dark .footer-contact {
list-style: none;
padding-left: 0;
margin: 0;
}
.site-footer-dark .footer-links li,
.site-footer-dark .footer-contact li {
margin-bottom: 0.35rem;
}
/* Links */
.site-footer-dark a {
color: #ddd;
text-decoration: none;
transition: 0.2s ease;
}
.site-footer-dark a:hover {
color: #5cab7a; /* Hover amarillo contrastado */
text-decoration: underline;
}
/* Texto copyright */
.site-footer-dark .footer-copy {
font-size: 0.85rem;
color: #777;
}
/* ===== INLINE <style> BLOCK #3 ===== */
:root{
/* Color principal del sitio */
--brand:#5cab7a;
/* Derivados para hover */
--brand-dark:#4a9469;
--brand-darker:#3a7554;
/* WhatsApp en modo CLARO usando la paleta del sitio */
--wa:var(--brand);
--wa-dark:var(--brand-dark);
--wa-darker:var(--brand-darker);
--light-bg:#ffffff;
--light-bg-soft:#f6f8f7;
--light-border:#dde4df;
--dark-text:#1c1f1d;
--muted-text:#6c756f;
--ig:#E4405F;
--ig-dark:#C13584;
}
/* 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,.25);
transition:transform .25s, box-shadow .25s, opacity .25s;
}
.ig-float:hover{
transform:translateY(-2px) scale(1.04);
box-shadow:0 14px 36px rgba(0,0,0,.35);
}
/* WhatsApp flotante */
.wa-float{
position:fixed; right:18px; bottom:18px;
z-index:9999; font-family:inherit;
}
.wa-btn{
background:#ffffff;
color:var(--brand);
border:2px solid var(--brand);
width:60px; height:60px; border-radius:50%;
display:grid; place-items:center;
box-shadow:0 8px 24px rgba(0,0,0,.18);
cursor:pointer; transition:transform .3s, box-shadow .3s, background .3s, color .3s, border-color .3s;
position:relative; overflow:hidden;
z-index:9999;
}
.wa-btn svg{
color:var(--brand);
}
.wa-btn::after{
content:"";
position:absolute; inset:0;
background:radial-gradient(circle at 50% 50%, rgba(255,255,255,.7), rgba(255,255,255,0) 70%);
opacity:0; transition:opacity .3s;
}
.wa-btn:hover{
background:var(--brand);
border-color:var(--brand-dark);
color:#fff;
transform:translateY(-3px) scale(1.05);
box-shadow:0 14px 36px rgba(0,0,0,.28);
}
.wa-btn:hover svg{
color:#fff;
}
.wa-btn:hover::after{
opacity:0.2;
}
.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:#e1f1e7;
display:grid; place-items:center;
border:1px solid #c9e4d3;
overflow:hidden;
}
.wa-title{
font-weight:700;
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(--brand);
}
.wa-close{
margin-left:auto;
background:transparent;
color:var(--muted-text);
border:0;
font-size:24px;
cursor:pointer;
opacity:.7;
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(--brand);
color:#fff;
align-self:flex-end;
border-bottom-right-radius:4px;
}
.wa-compose{
display:grid;
grid-template-columns:1fr auto;
gap:8px;
padding:10px 12px;
background:#ffffff;
border-top:1px solid var(--light-border);
}
.wa-compose textarea{
resize:none;
border-radius:12px;
padding:10px 12px;
border:1px solid var(--light-border);
background:#f9fbfa;
color:var(--dark-text);
outline:none;
min-height:44px;
font-family:inherit;
font-size:0.9rem;
transition:.2s;
}
.wa-compose textarea:focus{
border-color:var(--brand);
box-shadow:0 0 0 2px rgba(92,171,122,.15);
background:#ffffff;
}
.wa-send{
background:var(--brand);
color:#ffffff;
border:0;
border-radius:12px;
padding:0 16px;
font-weight:600;
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
transition:.2s;
}
.wa-send:hover{
background:var(--brand-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){
.ig-float{ right:12px; bottom:86px; width:52px; height:52px; }
.wa-float{ right:12px; bottom:12px; }
.wa-card{ width:calc(100vw - 24px); right:0; }
}