:root { --brand-dark: #3A2007; --brand-green: #95C11F; } /* Reset básico */ * { margin:0; padding:0; box-sizing:border-box; } body { font-family: 'Roboto', Arial, sans-serif; color: var(--brand-dark); line-height: 1.6; background: #f9f9f9; } .container { width:90%; max-width:1200px; margin:auto; } /* HEADER */ .site-header { background: linear-gradient(135deg, #3A2007 0%, #95C11F 100%); padding:16px 0; position:sticky; top:0; z-index:999; box-shadow:0 4px 12px rgba(0,0,0,0.08); } .site-header .nav { display:flex; justify-content:space-between; align-items:center; } .site-header .brand img { max-height:50px; width:auto; display:block; } nav { display:flex; gap:20px; align-items:center; } nav a { text-decoration:none; color: #fff; margin-right:20px; white-space:nowrap; font-weight:500; transition: color 0.3s; } nav a:hover { color: #f0f0f0; } .menu-toggle { display:none; flex-direction:column; cursor:pointer; gap:5px; } .menu-toggle span { width:25px; height:3px; background: #fff; border-radius:4px; transition: all 0.3s ease; } .menu-toggle.open span:nth-child(1) { transform:rotate(45deg) translate(5px,5px); } .menu-toggle.open span:nth-child(2) { opacity:0; } .menu-toggle.open span:nth-child(3) { transform:rotate(-45deg) translate(5px,-5px); } @media (max-width:768px){ nav{ display:none; flex-direction:column; position:fixed; top:70px; right:20px; background:#3A2007; border-radius:12px; padding:16px; box-shadow:0 6px 20px rgba(0,0,0,0.15); width:calc(100% - 40px); max-width:300px; z-index:999; } nav.active { display:flex; animation: fadeIn 0.3s ease-in-out; } .menu-toggle { display:flex; } } @keyframes fadeIn { from {opacity:0; transform:translateY(-10px);} to {opacity:1; transform:translateY(0);} } /* HERO */ .hero { position:relative; height:500px; text-align:center; overflow:hidden; } .hero-overlay { position:absolute; top:0; left:0; width:100%; height:100%; background-color: rgba(58,32,7,0.4); z-index:1; } .hero-slide { position:absolute; top:0; left:0; width:100%; height:100%; display:none; } .hero-slide.active { display:block; } .hero-slide video { width:100%; height:100%; object-fit:cover; position:absolute; top:0; left:0; z-index:0; } .hero-text { position:relative; z-index:2; padding-top:40px; text-align:center; } .hero-text h1 { font-size:2.8rem; margin-bottom:15px; color:#fff; font-weight:700; } .hero-text p { color:#fff; font-size:1.2rem; margin-bottom:15px; } .btn-hero { background: var(--brand-green); color:#fff; padding:12px 25px; border-radius:12px; text-decoration:none; font-weight:600; transition: all 0.3s ease; } .btn-hero:hover { background: #fff; color: var(--brand-dark); } /* Secciones y cards */ .section { padding:80px 0; scroll-margin-top:90px; text-align:center; } .section h2 { font-size:2rem; margin-bottom:20px; background: linear-gradient(90deg, var(--brand-dark), var(--brand-green)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .section p { font-size:1.05rem; margin-bottom:20px; } /* Grid */ .grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; align-items:start; } @media (max-width:768px) { .grid-2 { grid-template-columns:1fr; } } .cards { display:grid; gap:30px; grid-template-columns:repeat(3,1fr); } @media (max-width:1024px) { .cards { grid-template-columns:repeat(2,1fr); } } @media (max-width:768px) { .cards { grid-template-columns:1fr; } } /* ====== SERVICIOS CON FONDO BORROSO ====== */ #servicios { position: relative; padding: 80px 0; overflow: hidden; color: #fff; } #servicios::before { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: url('assets/img/backgrounds/servicios-bg.jpg') center/cover no-repeat; filter: blur(4px); opacity: 0.7; z-index:0; } #servicios > .container { position: relative; z-index:1; } /* Cards transparentes */ .service-card { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 15px; text-align: center; background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 30px 25px; border-radius: 20px; box-shadow: 0 12px 24px rgba(0,0,0,0.15); border: 2px solid var(--brand-green); transition: all 0.3s ease; position: relative; overflow: hidden; } .service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.2); border-color: var(--brand-dark); } .service-card img { width: 140px; height: 140px; object-fit: contain; display: block; margin-bottom: 15px; transition: transform 0.3s ease; } .service-card:hover img { transform: scale(1.1); } .service-card h3, .service-card p { color:#fff; margin-bottom:10px; } .service-card .btn-vermas { display: inline-block; background: var(--brand-green); color: #fff; padding: 10px 25px; border-radius: 25px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.15); position: relative; overflow: hidden; } .service-card .btn-vermas:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.25); } .service-card .btn-vermas::after { content: '→'; margin-left: 8px; transition: transform 0.3s ease; } .service-card .btn-vermas:hover::after { transform: translateX(5px); } /* Portfolio / Galería */ .portfolio-card { background:#fff; padding:0; border-radius:20px; box-shadow:0 8px 20px rgba(0,0,0,0.08); border:2px solid var(--brand-green); text-align:center; transition:all 0.3s ease; overflow:hidden; } .portfolio-card img { width:100%; height:220px; object-fit:cover; border-radius:16px; display:block; transition: transform 0.4s ease, box-shadow 0.4s ease; } .portfolio-card:hover img { transform: scale(1.1); box-shadow: 0 12px 30px rgba(0,0,0,0.3); } /* Zoom al tocar en móviles */ @media (max-width:768px){ .portfolio-card:active img { transform: scale(1.1); box-shadow: 0 12px 30px rgba(0,0,0,0.3); } } /* ===== FORMULARIO CONTACTO ===== */ .contacto-bg { position: relative; background: url('assets/img/backgrounds/contacto-bg.jpg') no-repeat center center fixed; background-size: cover; padding: 80px 0; display: flex; justify-content: center; align-items: center; overflow: hidden; } .contacto-bg::before { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(58, 32, 7, 0.5); z-index:1; } .contact-card-premium { position: relative; z-index:2; background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 30px 25px; border-radius: 20px; box-shadow: 0 12px 24px rgba(0,0,0,0.15); border: 2px solid var(--brand-green); display:flex; flex-direction:column; align-items:center; justify-content:center; max-width:400px; } .contact-card-premium h2, .contact-card-premium p { color:#fff; text-align:center; } .contact-card-premium form { width:100%; display:flex; flex-direction:column; gap:12px; } form input, form select, form textarea { width:100%; padding:12px; border-radius:8px; border:1px solid #ccc; font-size:1rem; resize: none; } form button.btn-primary { background:var(--brand-dark); color:#fff; padding:12px 25px; border-radius:10px; border:none; transition: all 0.3s ease; } form button.btn-primary:hover { background:var(--brand-green); } /* Iframe */ iframe { width:100%; max-width:900px; height:400px; border:none; border-radius:12px; display:block; margin:auto; overflow:auto; } /* Clientes carrusel */ .clients-slider { overflow:hidden; width:100%; padding:20px 0; display:flex; justify-content:center; } .clients-track { display:flex; gap:30px; transition: transform 0.4s linear; width:max-content; } .clients-track .card { flex:0 0 auto; height:100px; display:flex; align-items:center; justify-content:center; background:#fff; border-radius:16px; box-shadow:0 8px 20px rgba(0,0,0,0.08); padding:10px; } .clients-track .card img { max-width:140px; max-height:70px; object-fit:contain; transition: transform 0.3s ease; } .clients-track .card img:hover { transform:scale(1.05); } /* Footer */ .site-footer { background: linear-gradient(135deg, #3A2007 0%, #95C11F 100%); color:#fff; font-family: 'Roboto', sans-serif; padding:50px 0 20px; } .footer-top { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-start; margin-bottom:30px; } .footer-columns { display:flex; flex-wrap:wrap; gap:30px; flex:1; } .footer-column { flex:1 1 200px; } .footer-column h3 { color: #fff; font-size:18px; margin-bottom:12px; } .footer-column ul { list-style:none; padding:0; } .footer-column ul li { margin-bottom:10px; } .footer-column a { color:#fff; text-decoration:none; transition:all 0.3s ease; } .footer-column a:hover { color:#f0f0f0; text-decoration:underline; } .social-icons { display:flex; gap:15px; } .social-icons a { display:flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:50%; background:#fff; color:var(--brand-dark); transition:all 0.3s ease; font-size:16px; } .social-icons a:hover { background: var(--brand-green); color:#fff; transform:scale(1.1); } .footer-bottom { text-align:center; border-top:1px solid rgba(255,255,255,0.2); padding-top:20px; } .footer-bottom p { margin-bottom:10px; } .legal-links { list-style:none; padding:0; display:inline-flex; gap:20px; } .legal-links li a { font-size:14px; color:#fff; } .legal-links li a:hover { color: #f0f0f0; } /* MODALES CENTRADOS */ .modal { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; border-radius: 20px; padding: 30px 25px; box-shadow: 0 12px 40px rgba(0,0,0,0.25); z-index: 1000; width: 90%; max-width: 500px; max-height: 80vh; overflow-y: auto; transition: all 0.3s ease; } .modal h3 { font-size: 1.5rem; color: var(--brand-dark); margin-bottom: 15px; text-align: center; } .modal p { font-size: 1rem; color: #555; line-height: 1.5; text-align: justify; } .modal .close { position: absolute; top: 12px; right: 15px; font-size: 1.4rem; font-weight: bold; color: var(--brand-dark); cursor: pointer; transition: color 0.3s ease; } .modal .close:hover { color: var(--brand-green); } /* Animaciones */ .hero .badge, .hero-vals span, .section, .cards .card { opacity:0; transform:translateY(20px); transition: all 0.6s ease; } .hero .badge.visible, .hero-vals span.visible, .section.visible, .cards .card.visible { opacity:1; transform:translateY(0); } /* Texto hero móvil */ @media (max-width:768px){ .hero-text { padding-top:40px; transform:translateY(0); } .hero-text h1 { font-size:2.5rem; } .hero-text p { font-size:1.1rem; } } /* BOTÓN WHATSAPP FLOTANTE */ .whatsapp-float { position: fixed; bottom: 25px; right: 25px; background-color: #25D366; color: #fff; width:60px; height:60px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:30px; z-index:1000; box-shadow: 0 6px 15px rgba(0,0,0,0.3); transition: transform 0.3s ease, box-shadow 0.3s ease; } .whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 20px rgba(0,0,0,0.35); }