Preview de mixed.css
/* MIXED CSS PACK */
/* Template: serviciotecnicomario.com.ar/index.html */
/* Template mtime: 2025-11-07 18:00:52 */
/* external link (no embedded): https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css */
/* external link (no embedded): https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.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://unpkg.com/[email protected]/dist/aos.css */
/* ===== INLINE <style> BLOCK #1 ===== */
:root {
--color-bg: #ffffff;
--color-text: #111111;
--color-primary: #111111; /* primary = black for links, text, borders */
--color-primary-600: #000000;
--color-secondary: #111111;
--color-accent: #ffca18; /* accent = yellow */
--color-muted: #6c727f;
--color-soft: #faf9f4; /* subtle warm background */
--card-bg: #ffffff;
--card-bd: #e7ebf0;
--gradient-primary: linear-gradient(135deg, #ffca18 0%, #e0b20d 100%);
--gradient-secondary: linear-gradient(135deg, #111111 0%, #333333 100%);
--gradient-hero: linear-gradient(135deg, #111111 0%, #ffca18 100%);
--shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
--shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
--shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
--border-radius: 16px;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Inter', sans-serif;
background: var(--color-bg);
color: var(--color-text);
overflow-x: hidden;
line-height: 1.6;
}
a {
color: var(--color-primary);
text-decoration: none;
transition: all 0.3s ease;
}
a:hover {
color: var(--color-accent);
}
/* Botones */
.btn {
border-radius: 12px;
font-weight: 600;
padding: 12px 24px;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.btn-primary {
background: var(--gradient-primary);
border: none;
box-shadow: var(--shadow-sm);
color:#111111;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-md);
}
.btn-secondary {
background: var(--gradient-secondary);
border: none;
color: white;
box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-md);
}
.btn-outline-primary {
border: 2px solid var(--color-accent);
color: var(--color-accent);
background: transparent;
}
.btn-outline-primary:hover {
background: var(--color-accent);
color: #111111;
transform: translateY(-2px);
}
/* Navbar */
.navbar {
background: rgba(255, 255, 255, 0.95) !important;
backdrop-filter: blur(10px);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
padding: 16px 0;
transition: all 0.3s ease;
}
.navbar.scrolled {
padding: 12px 0;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.navbar-brand {
font-weight: 800;
font-size: 1.5rem;
background: var(--gradient-hero);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.nav-link {
font-weight: 500;
position: relative;
margin: 0 8px;
}
.nav-link::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background: var(--gradient-primary);
transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
width: 100%;
}
/* Hero Section */
#inicio {
padding: 140px 0 80px;
position: relative;
overflow: hidden;
}
.hero-bg {
position: absolute;
top: 0; left: 0; width: 100%; height: 100%;
background: radial-gradient(1200px 600px at 10% 20%, rgba(255,202,24,0.08), transparent 60%),
radial-gradient(1000px 500px at 80% 10%, rgba(0,0,0,0.08), transparent 60%);
z-index: -1;
}
.hero-text h1 {
font-weight: 900;
line-height: 1.1;
margin-bottom: 24px;
background: var(--gradient-hero);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.hero-text p {
color: var(--color-muted);
font-size: 1.1rem;
margin-bottom: 32px;
}
.hero-media {
position: relative;
}
.hero-media .media-frame {
aspect-ratio: 16/10;
width: 100%;
border-radius: var(--border-radius);
overflow: hidden;
box-shadow: var(--shadow-lg);
background: var(--color-soft);
transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
transition: transform 0.5s ease;
}
.hero-media:hover .media-frame {
transform: perspective(1000px) rotateY(0) rotateX(0);
}
.hero-media img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
display: block;
}
/* Secciones */
section {
padding: 100px 0;
position: relative;
}
.section-title {
font-weight: 800;
letter-spacing: -0.5px;
margin-bottom: 16px;
position: relative;
display: inline-block;
}
.section-title::after {
content: '';
position: absolute;
bottom: -8px;
left: 0;
width: 60px;
height: 4px;
background: var(--gradient-primary);
border-radius: 2px;
}
.section-sub {
color: var(--color-muted);
margin: 0;
font-size: 1.1rem;
}
/* Cards */
.card-modern {
background: var(--card-bg);
border: 1px solid var(--card-bd);
border-radius: var(--border-radius);
box-shadow: var(--shadow-sm);
transition: all 0.3s ease;
overflow: hidden;
position: relative;
}
.card-modern:hover {
transform: translateY(-8px);
box-shadow: var(--shadow-lg);
}
.icon-badge {
width: 60px;
height: 60px;
border-radius: 16px;
display: grid;
place-items: center;
background: rgba(255, 202, 24, 0.18);
color: var(--color-primary);
font-size: 24px;
margin-bottom: 20px;
transition: all 0.3s ease;
}
.card-modern:hover .icon-badge {
transform: scale(1.1);
background: var(--gradient-primary);
color: #111111;
}
/* FAQ */
.accordion-button {
font-weight: 600;
padding: 20px;
border-radius: 12px !important;
background: white;
border: 1px solid var(--card-bd);
margin-bottom: 8px;
}
.accordion-button:not(.collapsed) {
color: var(--color-primary);
background: rgba(255, 202, 24, 0.12);
box-shadow: none;
}
.accordion-button:focus {
box-shadow: 0 0 0 3px rgba(255, 202, 24, 0.25);
border-color: var(--color-accent);
}
.accordion-body {
padding: 20px;
}
/* Form */
.contact-card .form-control,
.contact-card .form-select {
border-radius: 12px;
padding: 12px 16px;
border: 1px solid var(--card-bd);
transition: all 0.3s ease;
}
.contact-card .form-control:focus,
.contact-card .form-select:focus {
border-color: var(--color-primary);
box-shadow: 0 0 0 3px rgba(12, 110, 253, 0.1);
}
.hidden-hp {
position: absolute;
left: -9999px;
top: -9999px;
}
/* Footer */
footer {
background: #000;
color: #f1f1f1;
padding: 80px 0 40px;
}
footer a {
color: #ffca18;
transition: all 0.3s ease;
}
footer a:hover {
color: #ffffff;
transform: translateX(5px);
}
footer .small-muted {
color: #cfcfcf;
}
/* Utilidades */
.soft {
background: linear-gradient(135deg, rgba(255, 202, 24, 0.06) 0%, rgba(0,0,0,0.03) 100%);
}
.bg-gradient {
background: var(--gradient-primary);
}
.text-gradient {
background: var(--gradient-hero);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
/* Animaciones personalizadas */
@keyframes float {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}
.float-animation {
animation: float 5s ease-in-out infinite;
}
/* Efectos de scroll reveal */
.reveal {
opacity: 0;
transform: translateY(30px);
transition: all 0.6s ease;
}
.reveal.active {
opacity: 1;
transform: translateY(0);
}
/* Stats counter */
.stat-item {
text-align: center;
padding: 20px;
}
.stat-number {
font-size: 3rem;
font-weight: 800;
background: var(--gradient-hero);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
margin-bottom: 10px;
}
.stat-label {
color: var(--color-muted);
font-weight: 500;
}
/* --- Force hero title black --- */
#inicio h1, .hero h1, .hero-title, .hero .display-4, .hero .display-5 {
color: #111111 !important;
}
/* === FIX MOBILE-ONLY: evitar scroll horizontal y desbordes sin tocar desktop === */
@media (max-width: 767.98px){
html, body { max-width: 100%; overflow-x: hidden; }
/* Evita que componentes con posicionamiento relativo se salgan del viewport en XS */
.offcanvas, .navbar, .navbar .container, .navbar .container-fluid { max-width: 100%; }
/* Carruseles / galerías que a veces sobresalen */
.carousel, .carousel-inner { overflow: hidden; }
/* Filas con gutters negativos dentro de contenedores no estándar */
.row { --bs-gutter-x: 1rem; margin-left: 0; margin-right: 0; }
/* Imágenes y elementos que pueden crecer más que su contenedor */
img, video, svg { max-width: 100%; height: auto; }
}
/* ===== INLINE <style> BLOCK #2 ===== */
#inicio .hero-media .media-frame{
/* Elimina recortes previos */
overflow: visible !important;
border-radius: 1rem;
box-shadow: 0 10px 30px rgba(0,0,0,.08);
padding: 1rem;
background: #fff;
/* Quita altos fijos heredados */
height: auto !important;
min-height: 0 !important;
/* Contenedor flexible centrado */
display: grid;
place-items: center;
}
#inicio .hero-media img{
/* Mostrar la imagen según su contenido (sin recortar) */
width: 100%;
height: auto; /* respeta proporción */
object-fit: contain !important; /* por si hay reglas previas */
max-height: 520px; /* límite razonable en desktop */
}
@media (max-width: 991.98px){
#inicio .hero-media img{
max-height: 360px; /* más chico en phone/tablet */
}
}
.hero-badge {
display: inline-flex;
align-items: center;
gap: .5rem;
padding: .5rem 1rem;
border-radius: 999px;
background: rgba(255,255,255,0.8);
color: var(--brand-1);
font-weight: 600;
backdrop-filter: blur(10px);
box-shadow: var(--shadow-sm);
}
/* ===== INLINE <style> BLOCK #3 ===== */
#quienes .card-modern{
border-radius: 1rem;
box-shadow: 0 10px 30px rgba(0,0,0,.08);
background: #fff;
overflow: hidden;
padding: 0;
}
/* El visor define la ALTURA. Usamos clamp para que siempre se vea grande. */
#quienes .fade-viewport{
position: relative;
width: 100%;
height: clamp(260px, 45vw, 560px); /* ⇠ subí/bajá a gusto */
background: #fff;
}
/* Capas apiladas con fundido */
#quienes .fade-slide{
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
animation: quienesCrossfade 20s ease-in-out infinite;
will-change: opacity;
background: #fff; /* letterbox prolijo cuando la proporción no coincide */
}
/* 👉 CLAVE para que NO se vean chicas:
llenamos la ALTURA del visor.
- Mantiene proporción
- Sin recortes
- Sin estirar
*/
#quienes .fade-slide img{
height: 100%; /* llena la altura disponible */
width: auto; /* ajusta el ancho proporcionalmente */
max-width: none;
display: block;
image-rendering: auto;
}
/* Desfasaje (4 imágenes) */
#quienes .fade-slide:nth-child(1){ animation-delay: 0s; }
#quienes .fade-slide:nth-child(2){ animation-delay: 5s; }
#quienes .fade-slide:nth-child(3){ animation-delay: 10s; }
#quienes .fade-slide:nth-child(4){ animation-delay: 15s; }
/* Fundido suave (sin zoom) */
@keyframes quienesCrossfade{
0% { opacity: 0; }
5% { opacity: 1; } /* aparece */
25% { opacity: 1; } /* visible */
30% { opacity: 0; } /* se va */
100% { opacity: 0; }
}
/* Accesibilidad: si prefieren menos movimiento, fijamos la 1ra */
@media (prefers-reduced-motion: reduce){
#quienes .fade-slide{ animation: none; opacity: 0; }
#quienes .fade-slide:nth-child(1){ opacity: 1; }
}
/* ===== INLINE <style> BLOCK #4 ===== */
.gal-gallery .carousel{max-width:980px;margin-inline:auto;position:relative}
.gal-frame{
height: clamp(220px, 48vh, 440px);
background:#fff;border-radius:16px;overflow:hidden;
box-shadow:0 12px 28px rgba(0,0,0,.12);
display:flex;align-items:center;justify-content:center;padding:8px
}
.gal-img{
width:auto !important;max-width:100%;
height:auto !important;max-height:100%;
object-fit:contain !important;object-position:center;display:block;cursor:zoom-in
}
/* Controles circulares con más contraste */
.gal-gallery .carousel-control-prev,
.gal-gallery .carousel-control-next{
z-index:20;width:50px;height:50px;top:50%;transform:translateY(-50%);
opacity:1;background:rgba(0,0,0,.55);border-radius:50%;margin:0 12px
}
.gal-gallery .carousel-control-prev{left:0}
.gal-gallery .carousel-control-next{right:0}
.gal-gallery .gal-ctrl-icon{width:2.6rem;height:2.6rem;background-size:60% 60%}
/* Indicadores: se sitúan fuera; agregamos espacio inferior para que no se corten */
.gal-gallery .carousel-indicators{z-index:10;bottom:-50px}
.gal-gallery .carousel-indicators button{
width:10px;height:10px;border-radius:50%;
background:rgba(0,0,0,.5);border:none
}
.gal-gallery .carousel-indicators button.active{background:#000}
.gal-gallery{padding-bottom:56px} /* espacio para indicadores */
/* Modal */
#galLightbox .modal-content{background:#000}
#galLightboxImg{max-height:86vh;width:100%;height:auto;object-fit:contain;background:#000}
.gal-lightbox-nav{
position:absolute;top:50%;transform:translateY(-50%);
border:0;width:44px;height:44px;border-radius:999px;
background:rgba(255,255,255,.18);color:#fff;font-size:30px;line-height:44px;text-align:center;z-index:5;cursor:pointer
}
.gal-lightbox-nav:hover{background:rgba(255,255,255,.28)}
.gal-lightbox-nav.gal-prev{left:10px}
.gal-lightbox-nav.gal-next{right:10px}
/* Pequeños ajustes móviles */
@media (max-width: 575.98px){
.gal-frame{height: clamp(200px, 40vh, 360px)}
}
/* ===== INLINE <style> BLOCK #5 ===== */
:root{
--wa:#25D366; --wa-dark:#128C7E; --wa-darker:#075E54;
--dark-bg:#0b0f18; --darker-bg:#0a1324;
--light-text:#ffffff; --muted-text:rgba(255,255,255,.7);
}
.wa-float{ position:fixed; right:18px; bottom:18px; z-index:9999; font-family:inherit; }
.wa-btn{
background:linear-gradient(135deg,var(--wa),var(--wa-dark));
color:#fff; border:0; width:60px; height:60px; border-radius:50%;
display:grid; place-items:center; box-shadow:0 10px 30px rgba(0,0,0,.25);
cursor:pointer; transition:transform .3s, box-shadow .3s, background .3s; position:relative; overflow:hidden;
}
.wa-btn::after{ content:""; position:absolute; inset:0;
background:radial-gradient(circle at 50% 50%, rgba(255,255,255,.18), rgba(255,255,255,0) 70%);
opacity:0; transition:opacity .3s;
}
.wa-btn:hover{ transform:translateY(-3px) scale(1.05); box-shadow:0 14px 36px rgba(0,0,0,.35); }
.wa-btn:hover::after{ opacity:1; }
.wa-card{
position:absolute; right:0; bottom:74px; width:min(360px,92vw);
background:var(--dark-bg); color:var(--light-text); border-radius:18px; overflow:hidden;
box-shadow:0 18px 60px rgba(0,0,0,.5); border:1px solid rgba(255,255,255,.08);
transform:translateY(10px); opacity:0; transition:transform .3s, opacity .3s;
}
.wa-card[aria-modal="true"]{ transform:translateY(0); opacity:1; }
.wa-head{ display:flex; align-items:center; gap:12px; padding:14px;
background:linear-gradient(180deg,#0d162c,var(--darker-bg)); border-bottom:1px solid rgba(255,255,255,.06);
}
.wa-avatar{ width:40px; height:40px; border-radius:8px; background:#0e1a33;
display:grid; place-items:center; border:1px solid rgba(255,255,255,.08); overflow:hidden; }
.wa-title{ font-weight:700; font-size:1.05rem; }
.wa-status{ font-size:.85rem; color:var(--muted-text); display:flex; align-items:center; gap:6px; }
.wa-status::before{ content:""; width:8px; height:8px; border-radius:50%; background:var(--wa); }
.wa-close{ margin-left:auto; background:transparent; color:#fff; 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(255,255,255,.1); }
.wa-body{ padding:12px 14px; max-height:40vh; overflow:auto; background:var(--dark-bg);
display:flex; flex-direction:column; gap:8px; }
.wa-bubble{ max-width:88%; padding:10px 12px; border-radius:14px; line-height:1.35; box-shadow:0 4px 14px rgba(0,0,0,.25); animation:waFade .25s ease; }
@keyframes waFade{ from{opacity:0; transform:translateY(5px)} to{opacity:1; transform:none} }
.wa-bot{ background:#0c1428; border:1px solid rgba(255,255,255,.06); align-self:flex-start; border-bottom-left-radius:4px; }
.wa-user{ background:var(--wa-darker); align-self:flex-end; border-bottom-right-radius:4px; }
.wa-compose{ display:grid; grid-template-columns:1fr auto; gap:8px; padding:10px; background:var(--dark-bg); border-top:1px solid rgba(255,255,255,.08); }
.wa-compose textarea{
resize:none; border-radius:12px; padding:10px 12px; border:1px solid rgba(255,255,255,.12);
background:#0a1324; color:var(--light-text); outline:none; min-height:44px; font-family:inherit; transition:.2s;
}
.wa-compose textarea:focus{ border-color:var(--wa); box-shadow:0 0 0 2px rgba(37,211,102,.15); }
.wa-send{ background:var(--wa); color:#0b1220; border:0; border-radius:12px; padding:0 16px; font-weight:700; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:.2s; }
.wa-send:hover{ background:var(--wa-dark); transform:scale(1.05); }
/* Scrollbar */
.wa-body::-webkit-scrollbar{ width:6px; }
.wa-body::-webkit-scrollbar-track{ background:rgba(255,255,255,.05); border-radius:3px; }
.wa-body::-webkit-scrollbar-thumb{ background:rgba(255,255,255,.2); border-radius:3px; }
.wa-body::-webkit-scrollbar-thumb:hover{ background:rgba(255,255,255,.3); }
/* Responsive */
@media (max-width:480px){
.wa-float{ right:12px; bottom:12px; }
.wa-card{ width:calc(100vw - 24px); right:0; }
}