Preview de mixed.css
/* MIXED CSS PACK */
/* Template: alvarezserviciosgenerales.com.ar/index.html */
/* Template mtime: 2025-07-31 15:15:02 */
/* external link (no embedded): https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@700;800&display=swap */
/* external link (no embedded): https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css */
/* ===== INLINE <style> BLOCK #1 ===== */
:root {
--primary: #005f73;
--primary-dark: #0a4c5c;
--secondary: #ee9b00;
--secondary-dark: #ca6702;
--accent: #bb3e03;
--light: #f8f9fa;
--dark: #212529;
--gray: #6c757d;
--light-gray: #e9ecef;
--shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
--shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
--transition: all 0.3s ease;
--border-radius: 8px;
--section-padding: 5rem 0;
--hero-height: 80vh;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Poppins', sans-serif;
line-height: 1.7;
color: var(--dark);
background-color: #fff;
overflow-x: hidden;
}
h1, h2, h3, h4 {
font-family: 'Montserrat', sans-serif;
font-weight: 700;
line-height: 1.2;
}
a {
text-decoration: none;
color: inherit;
transition: var(--transition);
}
img {
max-width: 100%;
height: auto;
display: block;
}
ul {
list-style: none;
}
.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
}
.section {
padding: var(--section-padding);
position: relative;
}
.section-title {
font-size: 2.5rem;
margin-bottom: 2.5rem;
text-align: center;
position: relative;
color: var(--primary);
}
.section-title::after {
content: '';
display: block;
width: 80px;
height: 4px;
background: var(--secondary);
margin: 1rem auto 0;
border-radius: 2px;
}
.text-center {
text-align: center;
}
.btn {
display: inline-block;
padding: 0.8rem 2rem;
background: var(--secondary);
color: white;
border: none;
border-radius: var(--border-radius);
font-weight: 600;
cursor: pointer;
transition: var(--transition);
text-transform: uppercase;
letter-spacing: 1px;
font-size: 0.9rem;
box-shadow: var(--shadow);
}
.btn:hover {
background: var(--secondary-dark);
transform: translateY(-3px);
box-shadow: var(--shadow-lg);
}
.btn-primary {
background: var(--primary);
}
.btn-primary:hover {
background: var(--primary-dark);
}
.btn-accent {
background: var(--accent);
}
.btn-accent:hover {
background: #9a3402;
}
/* Header */
.header {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
background: rgba(255, 255, 255, 0.95);
box-shadow: var(--shadow);
transition: var(--transition);
}
.header.scrolled {
background: rgba(0, 95, 115, 0.95);
}
.header.scrolled .nav-links a,
.header.scrolled .logo {
color: white;
}
.header.scrolled .hamburger span {
background: white;
}
.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
height: 80px;
}
.logo {
font-size: 1.8rem;
font-weight: 800;
color: var(--primary);
display: flex;
align-items: center;
gap: 0.5rem;
}
.logo i {
color: var(--secondary);
}
.nav-links {
display: flex;
gap: 2rem;
}
.nav-links a {
font-weight: 500;
position: relative;
padding: 0.5rem 0;
}
.nav-links a::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background: var(--secondary);
transition: var(--transition);
}
.nav-links a:hover::after {
width: 100%;
}
.hamburger {
display: none;
cursor: pointer;
}
.hamburger span {
display: block;
width: 25px;
height: 3px;
background: var(--primary);
margin: 5px 0;
transition: var(--transition);
}
/* Hero Section */
.hero {
height: var(--hero-height);
background: url('img/heroall.png') center/cover no-repeat;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: white;
margin-top: 80px;
}
.hero-content {
max-width: 800px;
padding: 0 20px;
}
.hero-title {
font-size: 3.5rem;
margin-bottom: 1.5rem;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.hero-subtitle {
font-size: 1.5rem;
margin-bottom: 2rem;
font-weight: 300;
}
.hero-btns {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
margin-top: 18rem; /* 🔽 Baja los botones respecto al contenido anterior */
margin-bottom: 2rem; /* 🔽 Agrega espacio hacia abajo */
}
/* About Section */
.about {
background: var(--light);
}
.about-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 3rem;
align-items: center;
}
.about-img {
border-radius: var(--border-radius);
overflow: hidden;
box-shadow: var(--shadow-lg);
}
.about-img img {
width: 100%;
height: 100%;
object-fit: cover;
transition: var(--transition);
}
.about-img:hover img {
transform: scale(1.05);
}
.about-text h2 {
margin-bottom: 1.5rem;
color: var(--primary);
}
.about-text p {
margin-bottom: 1.5rem;
}
.about-features {
margin-top: 2rem;
}
.feature-item {
display: flex;
align-items: flex-start;
gap: 1rem;
margin-bottom: 1rem;
}
.feature-icon {
color: var(--secondary);
font-size: 1.5rem;
margin-top: 0.2rem;
}
/* Services Section */
.services {
background: white;
}
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.service-card {
background: white;
border-radius: var(--border-radius);
overflow: hidden;
box-shadow: var(--shadow);
transition: var(--transition);
text-align: center;
padding: 2rem;
border-top: 4px solid var(--secondary);
}
.service-card:hover {
transform: translateY(-10px);
box-shadow: var(--shadow-lg);
}
.service-icon {
font-size: 3rem;
color: var(--secondary);
margin-bottom: 1.5rem;
}
.service-title {
font-size: 1.5rem;
margin-bottom: 1rem;
color: var(--primary);
}
.service-desc {
color: var(--gray);
margin-bottom: 1.5rem;
}
/* Why Us Section */
.why-us {
background: var(--light);
}
.features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}
.feature-box {
background: white;
padding: 2rem;
border-radius: var(--border-radius);
text-align: center;
box-shadow: var(--shadow);
transition: var(--transition);
}
.feature-box:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-lg);
}
.feature-icon-box {
width: 70px;
height: 70px;
background: rgba(238, 155, 0, 0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 1.5rem;
color: var(--secondary);
font-size: 1.8rem;
}
.feature-title {
font-size: 1.3rem;
margin-bottom: 1rem;
color: var(--primary);
}
/* Portfolio Section */
.portfolio {
background: white;
}
.portfolio-filter {
display: flex;
justify-content: center;
gap: 1rem;
margin-bottom: 2rem;
flex-wrap: wrap;
}
.filter-btn {
padding: 0.5rem 1.5rem;
background: transparent;
border: 1px solid var(--secondary);
color: var(--secondary);
border-radius: 50px;
cursor: pointer;
transition: var(--transition);
}
.filter-btn.active,
.filter-btn:hover {
background: var(--secondary);
color: white;
}
.portfolio-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 1.5rem;
}
.portfolio-item {
position: relative;
border-radius: var(--border-radius);
overflow: hidden;
box-shadow: var(--shadow);
}
.portfolio-img {
height: 250px;
width: 100%;
object-fit: cover;
transition: var(--transition);
}
.portfolio-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 95, 115, 0.8);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
opacity: 0;
transition: var(--transition);
}
.portfolio-item:hover .portfolio-overlay {
opacity: 1;
}
.portfolio-item:hover .portfolio-img {
transform: scale(1.1);
}
.portfolio-title {
color: white;
font-size: 1.5rem;
margin-bottom: 0.5rem;
transform: translateY(20px);
transition: var(--transition);
}
.portfolio-category {
color: var(--secondary);
transform: translateY(20px);
transition: var(--transition);
}
.portfolio-item:hover .portfolio-title,
.portfolio-item:hover .portfolio-category {
transform: translateY(0);
}
/* Testimonials Section */
.testimonials {
background: var(--light);
}
.testimonials-container {
max-width: 800px;
margin: 0 auto;
}
.testimonial-slide {
background: white;
padding: 2rem;
border-radius: var(--border-radius);
box-shadow: var(--shadow);
margin: 0 1rem;
text-align: center;
}
.testimonial-text {
font-style: italic;
margin-bottom: 1.5rem;
color: var(--gray);
}
.testimonial-author {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
}
.author-img {
width: 60px;
height: 60px;
border-radius: 50%;
object-fit: cover;
}
.author-info h4 {
margin-bottom: 0.2rem;
color: var(--primary);
}
.author-info p {
color: var(--gray);
font-size: 0.9rem;
}
.testimonial-rating {
color: var(--secondary);
margin-top: 0.5rem;
}
/* FAQ Section */
.faq {
background: white;
}
.faq-container {
max-width: 800px;
margin: 0 auto;
}
.faq-item {
margin-bottom: 1rem;
border: 1px solid var(--light-gray);
border-radius: var(--border-radius);
overflow: hidden;
}
.faq-question {
padding: 1.5rem;
background: var(--light);
font-weight: 600;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
transition: var(--transition);
}
.faq-question:hover {
background: var(--primary);
color: white;
}
.faq-question i {
transition: var(--transition);
}
.faq-answer {
padding: 0 1.5rem;
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
}
.faq-item.active .faq-answer {
padding: 1.5rem;
max-height: 500px;
}
.faq-item.active .faq-question i {
transform: rotate(180deg);
}
/* Contact Section */
.contact {
background: var(--light);
}
.contact-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 3rem;
}
.contact-info {
display: flex;
flex-direction: column;
gap: 2rem;
}
.contact-card {
display: flex;
align-items: flex-start;
gap: 1rem;
}
.contact-icon {
width: 50px;
height: 50px;
background: var(--primary);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
flex-shrink: 0;
}
.contact-text h3 {
margin-bottom: 0.5rem;
color: var(--primary);
}
.contact-text a:hover {
color: var(--secondary);
}
.contact-form {
background: white;
padding: 2rem;
border-radius: var(--border-radius);
box-shadow: var(--shadow);
}
.form-group {
margin-bottom: 1.5rem;
}
.form-control {
width: 100%;
padding: 0.8rem 1rem;
border: 1px solid var(--light-gray);
border-radius: var(--border-radius);
font-family: inherit;
transition: var(--transition);
}
.form-control:focus {
outline: none;
border-color: var(--secondary);
box-shadow: 0 0 0 3px rgba(238, 155, 0, 0.2);
}
textarea.form-control {
min-height: 150px;
resize: vertical;
}
.social-links {
display: flex;
gap: 1rem;
margin-top: 2rem;
}
.social-link {
width: 40px;
height: 40px;
border-radius: 50%;
background: var(--primary);
color: white;
display: flex;
align-items: center;
justify-content: center;
transition: var(--transition);
}
.social-link:hover {
background: var(--secondary);
transform: translateY(-3px);
}
/* Footer */
.footer {
background: var(--primary);
color: white;
padding: 3rem 0 1.5rem;
}
.footer-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
}
.footer-col h3 {
margin-bottom: 1.5rem;
position: relative;
padding-bottom: 0.5rem;
}
.footer-col h3::after {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 50px;
height: 2px;
background: var(--secondary);
}
.footer-links li {
margin-bottom: 0.8rem;
}
.footer-links a {
color: rgba(255, 255, 255, 0.7);
transition: var(--transition);
}
.footer-links a:hover {
color: var(--secondary);
padding-left: 5px;
}
.footer-newsletter p {
color: rgba(255, 255, 255, 0.7);
margin-bottom: 1.5rem;
}
.newsletter-form {
display: flex;
margin-bottom: 1rem;
}
.newsletter-input {
flex: 1;
padding: 0.8rem;
border: none;
border-radius: var(--border-radius) 0 0 var(--border-radius);
}
.newsletter-btn {
background: var(--secondary);
color: white;
border: none;
padding: 0 1.5rem;
border-radius: 0 var(--border-radius) var(--border-radius) 0;
cursor: pointer;
transition: var(--transition);
}
.newsletter-btn:hover {
background: var(--secondary-dark);
}
.footer-bottom {
text-align: center;
padding-top: 1.5rem;
border-top: 1px solid rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.7);
font-size: 0.9rem;
}
/* Back to Top */
.back-to-top {
position: fixed;
bottom: 30px;
right: 30px;
width: 50px;
height: 50px;
background: var(--secondary);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
box-shadow: var(--shadow);
z-index: 999;
opacity: 0;
visibility: hidden;
transition: var(--transition);
}
.back-to-top.active {
opacity: 1;
visibility: visible;
}
.back-to-top:hover {
background: var(--secondary-dark);
transform: translateY(-5px);
}
/* Animations */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.fade-in {
animation: fadeIn 1s ease forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
/* Responsive Styles */
@media (max-width: 992px) {
.about-content {
grid-template-columns: 1fr;
}
.about-img {
max-width: 600px;
margin: 0 auto;
}
.hero-title {
font-size: 2.8rem;
}
}
@media (max-width: 768px) {
.nav-links {
position: fixed;
top: 80px;
left: -100%;
width: 100%;
height: calc(100vh - 80px);
background: var(--primary);
flex-direction: column;
align-items: center;
justify-content: center;
gap: 2rem;
transition: var(--transition);
z-index: 999;
}
.nav-links.active {
left: 0;
}
.nav-links a {
color: white;
font-size: 1.2rem;
}
.hamburger {
display: block;
}
.hamburger.active span:nth-child(1) {
transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
opacity: 0;
}
.hamburger.active span:nth-child(3) {
transform: translateY(-8px) rotate(-45deg);
}
.hero-title {
font-size: 2.5rem;
}
.hero-subtitle {
font-size: 1.2rem;
}
.section-title {
font-size: 2rem;
}
}
@media (max-width: 576px) {
.hero-title {
font-size: 2rem;
}
.hero-btns {
flex-direction: column;
gap: 1rem;
}
.btn {
width: 100%;
}
.section {
padding: 3rem 0;
}
}
/* ===== INLINE <style> BLOCK #2 ===== */
.ticker-wrapper {
position: relative;
overflow: hidden;
padding: 1rem;
background: #f8f9fa;
}
.ticker-track {
display: flex;
gap: 1rem;
animation: scroll-left 60s linear infinite;
width: max-content;
align-items: center;
}
.ticker-track img {
max-height: 500px; /* 👈 Altura máxima, pero conserva proporción */
height: auto;
width: auto;
border-radius: 8px;
object-fit: contain;
flex-shrink: 0;
}
@keyframes scroll-left {
0% { transform: translateX(0); }
100% { transform: translateX(-50%); }
}
.btn-ticker {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(255,255,255,0.8);
border: none;
font-size: 2rem;
cursor: pointer;
z-index: 10;
}
.btn-ticker.left { left: 0; }
.btn-ticker.right { right: 0; }
/* Responsive control */
@media (max-width: 768px) {
.ticker-track img {
max-height: 300px;
}
}
@media (max-width: 480px) {
.ticker-track img {
max-height: 200px;
}
}
/* ===== INLINE <style> BLOCK #3 ===== */
/* Contenedor de botones flotantes */
.social-float-container {
position: fixed;
bottom: 30px;
right: 30px;
z-index: 9999;
display: flex;
flex-direction: column-reverse;
gap: 15px;
align-items: flex-end;
}
/* Estilos base para todos los botones sociales */
.social-float {
position: relative;
transition: all 0.3s ease;
transform-style: preserve-3d;
}
.social-float:hover {
transform: translateY(-5px) rotate(5deg) scale(1.1);
}
.social-button {
display: block;
width: 70px;
height: 70px;
border-radius: 50%;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
position: relative;
transition: all 0.3s ease;
animation: float 3s ease-in-out infinite;
color: white;
text-decoration: none;
}
.social-button:hover {
transform: scale(1.1);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
.social-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 30px;
}
.social-pulse {
position: absolute;
width: 100%;
height: 100%;
border-radius: 50%;
opacity: 0;
animation: pulse 2s infinite;
}
.social-pulse-delayed {
position: absolute;
width: 100%;
height: 100%;
border-radius: 50%;
opacity: 0;
animation: pulse 2s infinite 0.5s;
}
.social-tooltip {
position: absolute;
right: 90px;
top: 50%;
transform: translateY(-50%);
background: white;
color: #333;
padding: 12px 15px;
border-radius: 10px;
font-size: 14px;
font-weight: 600;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
width: 200px;
text-align: center;
}
.social-tooltip small {
display: block;
font-size: 12px;
color: #666;
font-weight: normal;
margin-top: 3px;
}
.tooltip-arrow {
position: absolute;
right: -10px;
top: 50%;
transform: translateY(-50%);
width: 0;
height: 0;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
border-left: 10px solid white;
}
.social-float:hover .social-tooltip {
opacity: 1;
visibility: visible;
right: 80px;
}
/* Estilos específicos para cada botón */
.whatsapp-button {
background: #25D366;
box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}
.whatsapp-button:hover {
background: #128C7E;
box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}
.whatsapp-pulse {
background: rgba(37, 211, 102, 0.6);
}
.whatsapp-pulse-delayed {
background: rgba(37, 211, 102, 0.4);
}
.instagram-button {
background: #E1306C;
box-shadow: 0 10px 25px rgba(225, 48, 108, 0.3);
}
.instagram-button:hover {
background: #C13584;
box-shadow: 0 15px 30px rgba(193, 53, 132, 0.4);
}
.instagram-pulse {
background: rgba(225, 48, 108, 0.6);
}
.instagram-pulse-delayed {
background: rgba(193, 53, 132, 0.4);
}
.facebook-button {
background: #1877F2;
box-shadow: 0 10px 25px rgba(24, 119, 242, 0.3);
}
.facebook-button:hover {
background: #166FE5;
box-shadow: 0 15px 30px rgba(22, 111, 229, 0.4);
}
.facebook-pulse {
background: rgba(24, 119, 242, 0.6);
}
.facebook-pulse-delayed {
background: rgba(22, 111, 229, 0.4);
}
/* Animaciones */
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
100% { transform: translateY(0px); }
}
@keyframes pulse {
0% { transform: scale(0.8); opacity: 0; }
70% { transform: scale(1.3); opacity: 0.4; }
100% { transform: scale(1.4); opacity: 0; }
}
/* Efecto de latido al cargar */
@keyframes heartbeat {
0% { transform: scale(1); }
25% { transform: scale(1.1); }
50% { transform: scale(1); }
75% { transform: scale(1.1); }
100% { transform: scale(1); }
}
/* Animación inicial para los botones */
.social-button {
animation: heartbeat 1.5s ease 2s 2, float 3s ease-in-out infinite 3s;
}
/* Mostrar botones con un pequeño retraso entre ellos */
.instagram-float { animation: fadeInUp 0.5s ease 0.2s both; }
.facebook-float { animation: fadeInUp 0.5s ease 0.4s both; }
.whatsapp-float { animation: fadeInUp 0.5s ease 0.6s both; }
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
/* Responsive */
@media (max-width: 768px) {
.social-float-container {
bottom: 20px;
right: 20px;
}
.social-button {
width: 60px;
height: 60px;
}
.social-icon {
font-size: 25px;
}
.social-tooltip {
display: none;
}
}