Preview de mixed.css
/* MIXED CSS PACK */
/* Template: capseguridadelectronica/index.html */
/* Template mtime: 2026-03-16 19:17:25 */
/* external link (no embedded): https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Space+Grotesk:wght@400;500;600;700&display=swap */
/* 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.min.css */
/* ===== INLINE <style> BLOCK #1 ===== */
.service-card{
position: relative;
height: 100%;
background: #fff;
border-radius: 18px;
padding: 30px 24px;
box-shadow: 0 10px 30px rgba(0,0,0,.06);
border-left: 5px solid #0286fe;
transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover{
transform: translateY(-6px);
box-shadow: 0 18px 40px rgba(2,134,254,.14);
border-left-color: #026fd1;
}
.service-icon{
width: 64px;
height: 64px;
border-radius: 16px;
background: rgba(2,134,254,.10);
color: #0286fe;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 1.7rem;
margin-bottom: 18px;
transition: transform .25s ease, background .25s ease, color .25s ease;
}
.service-card:hover .service-icon{
transform: scale(1.08);
background: #0286fe;
color: #fff;
}
.service-card h3{
font-size: 1.25rem;
font-weight: 700;
color: #111;
margin-bottom: 12px;
}
.service-card p{
margin: 0;
color: #444;
line-height: 1.7;
font-size: .98rem;
}
@media (max-width: 767.98px){
.service-card{
padding: 24px 20px;
}
.service-icon{
width: 58px;
height: 58px;
font-size: 1.45rem;
margin-bottom: 14px;
}
.service-card h3{
font-size: 1.1rem;
}
.service-card p{
font-size: .95rem;
line-height: 1.65;
}
}
/* ========== VARIABLES Y RESET ========== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
/* Paleta de colores principal (respetada y enriquecida) */
--accent: #0a2b4a; /* Azul profundo y corporativo */
--accent-soft: #1e3a5f; /* Versión más suave para gradientes/hovers */
--accent-light: #e6edf5; /* Fondo muy claro para secciones */
--bg: #ffffff;
--surface: #f9fbfe; /* Fondo sutil para tarjetas */
--text: #121212;
--text-muted: #4f5b68; /* Gris más legible que el anterior */
--border-light: #e9eef2;
--shadow-sm: 0 10px 30px -10px rgba(10, 43, 74, 0.08);
--shadow-md: 0 20px 40px -12px rgba(10, 43, 74, 0.15);
--shadow-lg: 0 30px 60px -15px rgba(10, 43, 74, 0.2);
--radius-sm: 12px;
--radius-md: 20px;
--radius-lg: 32px;
--transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
body {
font-family: "Inter", sans-serif;
color: var(--text);
background-color: var(--bg);
line-height: 1.6;
overflow-x: hidden;
}
/* Tipografía refinada */
h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
font-family: "Space Grotesk", sans-serif;
font-weight: 700;
letter-spacing: -0.02em;
line-height: 1.1;
}
.section {
padding: 110px 0;
position: relative;
}
.container {
max-width: 1280px;
}
/* ========== COMPONENTES REUTILIZABLES ========== */
.eyebrow {
display: inline-block;
font-size: 0.85rem;
font-weight: 700;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--accent);
background-color: rgba(10, 43, 74, 0.05);
padding: 6px 16px;
border-radius: 40px;
margin-bottom: 20px;
border: 1px solid rgba(10, 43, 74, 0.1);
backdrop-filter: blur(4px);
}
.section-title {
font-size: clamp(2.2rem, 4vw, 3.8rem);
font-weight: 700;
margin-bottom: 18px;
color: var(--text);
}
.section-title span {
color: var(--accent);
position: relative;
display: inline-block;
}
.section-title span::after {
content: '';
position: absolute;
bottom: 8px;
left: 0;
width: 100%;
height: 8px;
background-color: rgba(10, 43, 74, 0.15);
z-index: -1;
border-radius: 4px;
}
.section-subtitle {
font-size: 1.1rem;
color: var(--text-muted);
max-width: 720px;
margin-left: auto;
margin-right: auto;
}
/* Botones ultra modernos */
.btn-main {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
padding: 14px 36px;
border-radius: 60px;
font-weight: 600;
font-size: 1rem;
line-height: 1;
border: 1.5px solid transparent;
transition: var(--transition);
cursor: pointer;
text-decoration: none;
white-space: nowrap;
}
.btn-main-primary {
background-color: var(--accent);
color: white;
box-shadow: 0 10px 25px -5px rgba(10, 43, 74, 0.3);
border-color: var(--accent);
}
.btn-main-primary:hover {
background-color: transparent;
color: var(--accent);
border-color: var(--accent);
transform: translateY(-3px);
box-shadow: 0 20px 35px -8px rgba(10, 43, 74, 0.25);
}
.btn-main-outline {
background-color: transparent;
color: var(--text);
border-color: var(--border-light);
box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.btn-main-outline:hover {
border-color: var(--accent);
color: var(--accent);
background-color: rgba(10, 43, 74, 0.02);
transform: translateY(-3px);
box-shadow: 0 15px 30px -8px rgba(10, 43, 74, 0.15);
}
/* ========== NAVBAR DE LUJO ========== */
.navbar {
background: rgba(255, 255, 255, 0.85);
backdrop-filter: blur(16px) saturate(180%);
-webkit-backdrop-filter: blur(16px) saturate(180%);
border-bottom: 1px solid rgba(10, 43, 74, 0.08);
padding: 16px 0;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.navbar-brand {
display: flex;
align-items: center;
gap: 12px;
font-weight: 700;
font-size: 1.1rem;
color: var(--text);
}
.navbar-brand img {
height: 48px;
width: auto;
transition: transform 0.2s;
}
.navbar-brand:hover img {
transform: scale(1.02);
}
.navbar-brand span {
font-family: "Space Grotesk", sans-serif;
letter-spacing: -0.01em;
background: linear-gradient(135deg, var(--accent) 0%, #2d4b6e 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.navbar-nav .nav-link {
color: var(--text);
font-weight: 500;
padding: 8px 18px !important;
margin: 0 4px;
border-radius: 40px;
transition: var(--transition);
font-size: 0.95rem;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
color: var(--accent);
background-color: rgba(10, 43, 74, 0.05);
}
.navbar-toggler {
border: 1px solid var(--border-light);
padding: 8px 12px;
border-radius: 50px;
}
.navbar-toggler:focus {
box-shadow: none;
}
/* ========== HERO SECTION - IMPACTANTE ========== */
.hero {
padding-top: 180px;
padding-bottom: 100px;
background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
position: relative;
overflow: hidden;
}
.hero::before {
content: '';
position: absolute;
top: -20%;
right: -10%;
width: 600px;
height: 600px;
background: radial-gradient(circle, rgba(10, 43, 74, 0.03) 0%, transparent 70%);
border-radius: 50%;
pointer-events: none;
}
.hero-copy {
max-width: 650px;
}
.hero-title {
font-size: clamp(2.8rem, 6vw, 5.2rem);
font-weight: 800;
line-height: 1.0;
letter-spacing: -0.04em;
margin-bottom: 25px;
}
.hero-title span {
color: var(--accent);
display: inline-block;
border-bottom: 4px solid rgba(10, 43, 74, 0.2);
padding-bottom: 6px;
}
.hero-text {
font-size: 1.1rem;
color: var(--text-muted);
margin-bottom: 20px;
line-height: 1.7;
}
.hero-actions {
display: flex;
flex-wrap: wrap;
gap: 16px;
margin-top: 35px;
}
.hero-media-wrap {
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
.hero-media {
width: min(100%, 520px);
aspect-ratio: 1/1;
border-radius: 40% 60% 30% 70% / 50% 40% 60% 50%;
overflow: hidden;
background: var(--accent-light);
box-shadow: var(--shadow-lg);
border: 4px solid white;
transition: var(--transition);
animation: float 6s ease-in-out infinite;
}
@keyframes float {
0% { transform: translateY(0px) rotate(0deg); }
50% { transform: translateY(-15px) rotate(1deg); }
100% { transform: translateY(0px) rotate(0deg); }
}
.hero-media img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
display: block;
filter: grayscale(10%) contrast(105%);
}
/* ========== CARDS CON ESTILO PREMIUM ========== */
.about-card,
.service-card,
.why-card,
.contact-card,
.faq-wrap,
.contact-form {
background: var(--bg);
border: 1px solid var(--border-light);
border-radius: var(--radius-md);
box-shadow: var(--shadow-sm);
transition: var(--transition);
height: 100%;
backdrop-filter: blur(2px);
}
.about-card:hover,
.service-card:hover,
.why-card:hover,
.contact-card:hover,
.faq-wrap:hover {
box-shadow: var(--shadow-md);
transform: translateY(-5px);
border-color: rgba(10, 43, 74, 0.2);
}
.about-card {
padding: 40px;
}
.about-card p {
color: var(--text-muted);
line-height: 1.8;
}
.service-card {
padding: 38px 30px;
text-align: left;
position: relative;
overflow: hidden;
}
.service-card::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 6px;
height: 0%;
background: linear-gradient(to bottom, var(--accent), transparent);
transition: height 0.3s ease;
}
.service-card:hover::after {
height: 100%;
}
.service-card h3 {
font-size: 1.5rem;
margin-bottom: 15px;
font-weight: 600;
}
.service-card p {
color: var(--text-muted);
line-height: 1.7;
margin-bottom: 0;
}
.why-card {
padding: 35px 28px;
}
.why-icon {
width: 70px;
height: 70px;
border-radius: 20px;
background: linear-gradient(145deg, rgba(10, 43, 74, 0.05), rgba(10, 43, 74, 0.1));
color: var(--accent);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 28px;
border: 1px solid rgba(10, 43, 74, 0.1);
}
.why-icon svg {
width: 32px;
height: 32px;
stroke-width: 1.5;
}
.why-card h3 {
font-size: 1.4rem;
margin-bottom: 14px;
font-weight: 600;
}
.why-card p {
color: var(--text-muted);
line-height: 1.7;
}
/* ========== SECCIÓN GALERÍA (INTACTA) ========== */
.gal-gallery .carousel {
max-width: 980px;
margin-inline: auto;
position: relative;
}
.gal-frame {
height: clamp(260px, 52vh, 500px);
background: #fff;
border-radius: 24px;
overflow: hidden;
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
display: flex;
align-items: center;
justify-content: center;
padding: 12px;
border: 1px solid var(--border-light);
}
.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;
border-radius: 18px;
background: #fff;
}
.gal-gallery .carousel-control-prev,
.gal-gallery .carousel-control-next {
z-index: 20;
width: 54px;
height: 54px;
top: 50%;
transform: translateY(-50%);
opacity: 1;
background: rgba(17, 17, 17, 0.72);
border-radius: 50%;
margin: 0 12px;
}
.gal-gallery .carousel-control-prev { left: 0; }
.gal-gallery .carousel-control-next { right: 0; }
.gal-gallery .carousel-indicators { z-index: 10; bottom: -52px; }
.gal-gallery .carousel-indicators button {
width: 11px;
height: 11px;
border-radius: 50%;
background: rgba(17, 17, 17, 0.34);
border: none;
}
.gal-gallery .carousel-indicators button.active { background: var(--accent); }
.gal-gallery { padding-bottom: 58px; }
/* Lightbox */
#galLightbox .modal-content { background: #000; border: none; }
#galLightboxImg { max-height: 86vh; width: 100%; object-fit: contain; background: #000; }
.gal-lightbox-nav {
position: absolute; top: 50%; transform: translateY(-50%);
border: 0; width: 46px; height: 46px; border-radius: 999px;
background: rgba(255,255,255,0.2); color: #fff; font-size: 30px;
line-height: 46px; text-align: center; z-index: 5; cursor: pointer;
transition: background 0.2s;
}
.gal-lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.gal-lightbox-nav.gal-prev { left: 12px; }
.gal-lightbox-nav.gal-next { right: 12px; }
/* ========== ACORDEÓN FAQS ========== */
.faq-wrap {
padding: 12px;
background: var(--surface);
}
.accordion-item {
border: none;
border-bottom: 1px solid var(--border-light);
background: transparent;
}
.accordion-button {
padding: 1.5rem 1.2rem;
font-weight: 600;
font-size: 1.1rem;
color: var(--text);
background: transparent;
box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
color: var(--accent);
background: transparent;
}
.accordion-button:focus {
border-color: transparent;
box-shadow: none;
}
.accordion-button::after {
background-size: 1.2rem;
transition: var(--transition);
}
.accordion-body {
padding: 0 1.2rem 1.5rem;
color: var(--text-muted);
line-height: 1.8;
}
/* ========== FORMULARIO Y CONTACTO ========== */
.contact-card, .contact-form {
padding: 40px;
}
.contact-list {
list-style: none;
padding: 0;
margin: 30px 0 0;
display: grid;
gap: 22px;
}
.contact-item {
display: flex;
align-items: flex-start;
gap: 16px;
color: var(--text);
}
.contact-bullet {
width: 12px;
height: 12px;
border-radius: 4px;
background: var(--accent);
margin-top: 8px;
flex-shrink: 0;
}
.contact-item a {
color: var(--text);
text-decoration: none;
border-bottom: 1px dashed rgba(10, 43, 74, 0.2);
}
.contact-item a:hover {
color: var(--accent);
border-bottom-color: var(--accent);
}
.form-control, .form-select {
min-height: 56px;
border-radius: 16px;
border: 1.5px solid var(--border-light);
padding: 0.9rem 1.2rem;
color: var(--text);
font-size: 0.95rem;
transition: var(--transition);
background-color: var(--surface);
}
.form-control:focus, .form-select:focus {
border-color: var(--accent);
box-shadow: 0 0 0 4px rgba(10, 43, 74, 0.1);
background-color: white;
}
textarea.form-control {
min-height: 140px;
resize: vertical;
}
.form-label {
font-weight: 600;
margin-bottom: 8px;
color: var(--text);
font-size: 0.95rem;
}
/* ========== FOOTER PROFESIONAL ========== */
.site-footer {
background: var(--accent);
color: white;
padding: 80px 0 30px;
position: relative;
}
.footer-brand {
display: flex;
align-items: center;
gap: 15px;
margin-bottom: 25px;
}
.footer-brand img {
height: 55px;
width: auto;
filter: brightness(0) invert(1); /* Logo blanco si es necesario */
}
.footer-brand span {
font-family: "Space Grotesk", sans-serif;
font-size: 1.2rem;
font-weight: 600;
}
.footer-text {
color: rgba(255,255,255,0.8);
line-height: 1.8;
margin-bottom: 25px;
}
.footer-title {
font-size: 1.2rem;
font-weight: 700;
margin-bottom: 25px;
letter-spacing: -0.02em;
color: white;
}
.footer-nav, .footer-contact {
list-style: none;
padding: 0;
margin: 0;
display: grid;
gap: 14px;
}
.footer-link {
color: rgba(255,255,255,0.7);
text-decoration: none;
transition: var(--transition);
display: inline-block;
}
.footer-link:hover {
color: white;
transform: translateX(5px);
}
.footer-contact li {
color: rgba(255,255,255,0.7);
}
.footer-contact .footer-link {
color: rgba(255,255,255,0.7);
}
.footer-bottom {
border-top: 1px solid rgba(255,255,255,0.15);
margin-top: 50px;
padding-top: 25px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
gap: 15px;
}
.footer-copy, .footer-copy a {
color: rgba(255,255,255,0.6);
margin-bottom: 0;
text-decoration: none;
font-size: 0.95rem;
}
.footer-copy a:hover {
color: white;
text-decoration: underline;
}
/* ========== MEDIA QUERIES ========== */
@media (max-width: 991.98px) {
.navbar-collapse {
margin-top: 15px;
background: white;
border-radius: var(--radius-md);
padding: 15px;
box-shadow: var(--shadow-md);
border: 1px solid var(--border-light);
}
.hero { padding-top: 150px; }
.hero-media-wrap { margin-top: 40px; }
}
@media (max-width: 767.98px) {
.section { padding: 80px 0; }
.hero-title { font-size: clamp(2.2rem, 8vw, 3.2rem); }
.hero-actions { flex-direction: column; }
.btn-main { width: 100%; }
.about-card, .service-card, .why-card, .contact-card, .contact-form { padding: 30px; }
}
/* ========== PATCH RESPONSIVE / NAV / HERO ========== */
html, body {
width: 100%;
max-width: 100%;
overflow-x: hidden;
}
body {
position: relative;
}
img, svg, video, canvas, iframe {
max-width: 100%;
}
.container,
.container-fluid,
.row,
[class*="col-"] {
min-width: 0;
}
.navbar .container {
overflow: visible;
}
.navbar-toggler {
flex-shrink: 0;
}
.navbar-collapse {
max-width: 100%;
}
.hero .row {
--bs-gutter-x: 2rem;
}
.hero-media {
width: min(100%, 500px);
max-width: 500px;
padding: 22px;
display: flex;
align-items: center;
justify-content: center;
}
.hero-media img {
width: 100%;
height: 100%;
object-fit: contain;
object-position: center;
padding: 7%;
filter: none;
}
@media (max-width: 991.98px) {
.navbar {
padding: 12px 0;
}
.navbar-collapse {
overflow: hidden;
}
.navbar-nav {
gap: 4px;
}
.navbar-nav .nav-link {
display: block;
width: 100%;
margin: 0;
padding: 12px 14px !important;
white-space: normal;
}
.hero {
padding-top: 130px;
}
.hero-copy,
.hero-media-wrap {
max-width: 100%;
}
}
@media (max-width: 767.98px) {
.container,
.container-fluid {
padding-left: 16px;
padding-right: 16px;
}
.hero .row {
--bs-gutter-x: 1.25rem;
}
.hero-media {
width: min(100%, 340px);
max-width: 340px;
margin-inline: auto;
padding: 18px;
}
.hero-media img {
padding: 10%;
}
}
/* ===== INLINE <style> BLOCK #2 ===== */
.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,#0286fe,#026fce);
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:min(360px, calc(100vw - 24px));
}
}