/* Reset básico */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', sans-serif; background: #f9f9f9; color: #1a1a1a; overflow-x: hidden; padding-top: 100px; } .container { width: 90%; max-width: 1200px; margin: auto; } /* Header */ header { background: #ffffff; padding: 20px 0; border-bottom: 1px solid #ddd; } .logo a { color: #00bcd4; font-size: 24px; text-decoration: none; font-weight: bold; } nav ul { list-style: none; display: flex; gap: 20px; justify-content: flex-end; } nav a { color: #1a1a1a; text-decoration: none; font-weight: 600; transition: color 0.3s ease; } nav a:hover { color: #00bcd4; } /* Hero */ .hero { background: linear-gradient(135deg, #ffffff, #e6f7fb); padding: 100px 0; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; } .hero-text { max-width: 600px; } .hero h1 { font-size: 48px; margin-bottom: 20px; color: #1a1a1a; } .hero h1 span { color: #00bcd4; } .hero p { font-size: 20px; color: #555; margin-bottom: 30px; } .btn-outline { border: 2px solid #00bcd4; background: transparent; color: #00bcd4; padding: 12px 24px; border-radius: 8px; text-decoration: none; font-weight: bold; transition: all 0.3s ease; } .btn-outline:hover { background: #00bcd4; color: #ffffff; } /* Imagen de fondo (lado derecho) */ .hero-image img { max-width: 100%; height: auto; } /* Sección de features */ .features { background: #ffffff; padding: 80px 0; } .features h2 { text-align: center; font-size: 32px; margin-bottom: 40px; color: #1a1a1a; } .feature-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; } .feature { background: #f2f2f2; padding: 20px; border-radius: 12px; max-width: 300px; text-align: center; border: 1px solid #ddd; } .feature h3 { color: #00bcd4; margin-bottom: 10px; } /* Footer */ footer { background: #ffffff; text-align: center; padding: 20px 0; color: #888; font-size: 14px; border-top: 1px solid #ddd; } /* Navbar */ .navbar { background: transparent; padding: 30px 0; position: absolute; width: 100%; z-index: 10; transition: background-color 0.3s ease, box-shadow 0.3s ease; } .nav-wrapper { display: flex; justify-content: space-between; align-items: center; } .logo a { font-size: 24px; color: #00bcd4; font-weight: bold; text-decoration: none; } nav ul { display: flex; gap: 40px; list-style: none; } nav a { color: #1a1a1a; text-decoration: none; font-weight: 600; transition: 0.3s ease; } nav a:hover { color: #00bcd4; } /* Hero ajustado */ .hero { display: flex; align-items: center; justify-content: space-between; padding: 180px 0 120px; background: linear-gradient(135deg, #ffffff, #e6f7fb); position: relative; } .hero-wrapper { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; } .hero-text { flex: 1; padding-right: 40px; max-width: 600px; } .hero-image { flex: 1; text-align: right; } .hero-image img { max-width: 100%; height: auto; } .hero h1 { font-size: 56px; line-height: 1.2; margin-bottom: 20px; } .hero h1 span { color: #00bcd4; } .hero p { font-size: 18px; color: #555; margin-bottom: 30px; } .btn-outline { border: 2px solid #00bcd4; background: transparent; color: #00bcd4; padding: 14px 28px; border-radius: 8px; text-decoration: none; font-weight: bold; transition: all 0.3s ease; } .btn-outline:hover { background: #00bcd4; color: #ffffff; } .logo-img { height: 120px; object-fit: contain; display: block; } /* Navbar sticky */ .navbar { position: fixed; top: 0; left: 0; width: 100%; padding: 15px 30px; z-index: 999; } .navbar .container { display: flex; align-items: center; justify-content: space-between; } /* Logo fijo */ .logo img { height: 80px; transition: filter 0.3s ease; } /* Nav links */ .nav-links a { color: #1a1a1a; margin-left: 30px; text-decoration: none; font-weight: bold; transition: color 0.3s ease; } .nav-links a:hover { color: #00bcd4; } /* Scroll behavior */ .navbar.scrolled { background-color: #ffffff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); } .navbar.scrolled .nav-links a { color: #1a1a1a; } .navbar.scrolled .logo img { filter: none; } .navbar { background-color: #ffffff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); } .navbar a { color: #1a1a1a; } .navbar.scrolled { background-color: #ffffff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); } .navbar.scrolled .nav-links a { color: #1a1a1a; } /* ==== Mejoras visuales navbar ==== */ .navbar { background-color: #ffffff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06); padding: 15px 40px; position: fixed; width: 100%; z-index: 999; transition: all 0.3s ease; } .nav-wrapper { display: flex; justify-content: space-between; align-items: center; } /* Logo más compacto y bien alineado */ .logo-img { height: 64px; object-fit: contain; } /* Estilo general para links */ .nav-links { display: flex; align-items: center; gap: 30px; } /* Links normales */ .nav-links a { color: #1a1a1a; font-weight: 600; text-decoration: none; transition: color 0.3s ease; } .nav-links a:hover { color: #00bcd4; } /* Botón CTA (último en el navbar) */ .nav-links .btn-cta { background: #00bcd4; color: #fff; padding: 10px 18px; border-radius: 6px; font-weight: 600; transition: background 0.3s ease; margin-left: 10px; } .nav-links .btn-cta:hover { background: #009cb3; color: #fff; } /* Sticky efecto scroll */ .navbar.scrolled { background-color: #ffffff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); } .navbar.scrolled .nav-links a { color: #1a1a1a; } /* Navbar mejorado */ .navbar { position: fixed; top: 0; left: 0; width: 100%; background: #ffffff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); z-index: 999; padding: 15px 0; transition: background 0.3s, box-shadow 0.3s; } .nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 30px; } .nav-left, .nav-right { display: flex; gap: 30px; align-items: center; } .nav-left a, .nav-right a { color: #1a1a1a; font-weight: 600; text-decoration: none; transition: color 0.3s; } .nav-left a:hover, .nav-right a:hover { color: #00bcd4; } .logo { display: flex; align-items: center; justify-content: center; flex: 1; } .logo-img { height: 80px; object-fit: contain; } /* Botón navbar */ .btn-navbar { padding: 8px 18px; background-color: #00bcd4; color: #fff !important; border-radius: 6px; font-weight: bold; transition: background 0.3s ease; } .btn-navbar:hover { background-color: #0097a7; } /* Responsive */ @media (max-width: 900px) { .nav-left, .nav-right { gap: 20px; } .logo-img { height: 60px; } .btn-navbar { padding: 6px 14px; font-size: 14px; } } @media (max-width: 700px) { .nav-container { flex-direction: column; gap: 10px; } .nav-left, .nav-right { justify-content: center; flex-wrap: wrap; } } /* Navbar nuevo */ .navbar { position: fixed; top: 0; width: 100%; z-index: 999; background: #ffffff; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06); padding: 16px 0; transition: all 0.3s ease; } .nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: auto; padding: 0 30px; } .nav-left, .nav-right { display: flex; align-items: center; gap: 20px; } .navbar a { font-weight: 600; color: #1a1a1a; text-decoration: none; font-size: 16px; transition: color 0.3s ease; } .navbar a:hover { color: #00bcd4; } .logo-img { height: 60px; } /* Botón destacado */ .btn-navbar { background-color: #00bcd4; color: white !important; padding: 10px 18px; border-radius: 6px; font-weight: bold; transition: all 0.3s ease; border: none; } .btn-navbar:hover { background-color: #00a6bb; color: #ffffff; } /* Responsive */ @media screen and (max-width: 768px) { .nav-left, .nav-right { display: none; } .logo-img { height: 50px; } } body { font-family: 'Urbanist', sans-serif; } .hero { position: relative; padding: 180px 0 120px; background: #f7fbff; overflow: hidden; } .hero-bg { position: absolute; bottom: 0; left: 0; width: 100%; z-index: -1; } .hero .subtitle { color: #00bcd4; font-weight: 600; margin-bottom: 10px; } .hero h1 { font-size: 56px; font-weight: 800; line-height: 1.2; color: #111; } .hero h1 span { color: #00bcd4; } .underline-decor { width: 120px; height: 6px; background-image: url('assets/img/underline.svg'); background-repeat: no-repeat; background-size: contain; margin: 10px 0 20px; } .social-icons { display: flex; gap: 12px; margin-bottom: 15px; } .social-icons img { width: 24px; height: 24px; } .btn-solid { background: #00bcd4; color: #fff; padding: 12px 24px; border-radius: 8px; font-weight: bold; text-decoration: none; transition: 0.3s ease; border: 2px solid transparent; } .btn-solid:hover { background: #009cb0; border-color: #007b8a; } .footer { background: #111122; color: #ccc; padding: 60px 20px; } .footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; } .footer-col { flex: 1; min-width: 200px; } .footer-logo { width: 120px; margin-bottom: 15px; } .footer h4 { color: #fff; margin-bottom: 10px; } .footer a { color: #ccc; text-decoration: none; } .footer a:hover { color: #00bcd4; } .footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid #333; font-size: 14px; color: #888; } .logo-cutout { position: relative; width: 120px; height: 120px; margin-top: -30px; z-index: 10; } .logo-cutout::before { content: ''; position: absolute; top: 0; left: -60px; right: -60px; height: 100%; background: white; clip-path: polygon(0% 0%, 100% 0%, 100% 40%, 70% 55%, 50% 100%, 30% 55%, 0% 40%); box-shadow: 0 0 8px rgba(0, 0, 0, 0.05); z-index: -1; } .logo { display: flex; align-items: center; justify-content: center; height: 100%; } .logo-img { max-height: 100%; transform: translateY(10px); } .navbar { position: relative; background: #ffffff; z-index: 100; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); } .logo-wrapper { position: absolute; left: 50%; transform: translateX(-50%); top: 0; width: 140px; height: 120px; z-index: 20; } .logo-clip { position: relative; width: 100%; height: 100%; background: #f8f8f8; /* más gris para notar el corte */ clip-path: polygon(0% 0%, 100% 0%, 100% 40%, 80% 55%, 70% 100%, 30% 100%, 20% 55%, 0% 40%); display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* contorno más notorio */ } .logo-clip img { height: 124px; margin-top: 0px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); } .navbar { position: relative; z-index: 999; } .navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; background: #f2f2f2; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); } /* Estado por defecto (logo visible y navbar roto) */ .logo-wrapper { transition: all 0.3s ease; } .logo-clip { transition: all 0.3s ease; clip-path: polygon(0% 0%, 100% 0%, 100% 40%, 80% 55%, 70% 100%, 30% 100%, 20% 55%, 0% 40%); background: #f2f2f2; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15); } .logo-clip img { transition: opacity 0.3s ease; opacity: 1; } /* Estado al hacer scroll (navbar completo, sin logo ni corte) */ .navbar.scrolled .logo-wrapper { height: 0; overflow: hidden; } .navbar.scrolled .logo-clip { clip-path: none; background: transparent; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15); } .navbar.scrolled .logo-clip img { opacity: 0; } .templates-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; margin-top: 40px; } .template-card { background: white; border: 1px solid #ddd; border-radius: 10px; overflow: hidden; width: 280px; text-align: center; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); transition: transform 0.3s ease; } .template-card:hover { transform: translateY(-5px); } .template-card img { width: 100%; height: auto; display: block; } .template-card h3 { padding: 15px; font-size: 18px; font-weight: 600; } /* ========================== RESET Y VARIABLES ========================== */ :root { --primary: #7f5af0; --accent: #00c2a8; --dark: #1a1a1a; --light: #f9f9f9; --gray: #888; --font-main: 'Urbanist', sans-serif; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: var(--font-main); background: var(--light); color: var(--dark); overflow-x: hidden; padding-top: 100px; } .container { width: 90%; max-width: 1200px; margin: auto; } /* ========================== NAVBAR ========================== */ .navbar { position: fixed; top: 0; width: 100%; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); z-index: 999; padding: 15px 0; transition: all 0.3s ease; } .nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: auto; padding: 0 30px; } .nav-left, .nav-right { display: flex; align-items: center; gap: 20px; } .navbar a { font-weight: 600; color: var(--dark); text-decoration: none; font-size: 16px; transition: color 0.3s ease; } .navbar a:hover { color: var(--primary); } .btn-navbar { background-color: var(--primary); color: white; padding: 10px 18px; border-radius: 6px; font-weight: bold; transition: all 0.3s ease; border: none; } .btn-navbar:hover { background-color: #6b4be0; color: #fff; } .logo-img { height: 64px; object-fit: contain; } /* ========================== HERO SECTION ========================== */ .hero { position: relative; padding: 180px 0 120px; background: #f7fbff; overflow: hidden; } .hero-bg { position: absolute; bottom: 0; left: 0; width: 100%; z-index: -1; } .hero-wrapper { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; } .hero-text { flex: 1; padding-right: 40px; max-width: 600px; } .hero-image { flex: 1; text-align: right; } .hero-image img { max-width: 100%; height: auto; } .hero .subtitle { color: var(--primary); font-weight: 600; margin-bottom: 10px; } .hero h1 { font-size: 56px; font-weight: 800; line-height: 1.2; color: var(--dark); } .hero h1 span { color: var(--primary); } .underline-decor { width: 120px; height: 6px; background-image: url('assets/img/underline.svg'); background-repeat: no-repeat; background-size: contain; margin: 10px 0 20px; } .hero p { font-size: 18px; color: var(--gray); margin-bottom: 30px; } .btn-solid { background: var(--primary); color: #fff; padding: 12px 24px; border-radius: 8px; font-weight: bold; text-decoration: none; transition: 0.3s ease; border: 2px solid transparent; } .btn-solid:hover { background: #6a4de1; border-color: #5a3fd4; } /* ========================== FEATURES + BENEFITS ========================== */ .features, .benefits { background: #ffffff; padding: 80px 0; } .features h2, .benefits h2 { text-align: center; font-size: 32px; margin-bottom: 40px; color: var(--dark); } .feature-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; } .feature { background: #f2f2f2; padding: 20px; border-radius: 12px; max-width: 300px; text-align: center; border: 1px solid #ddd; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); transition: transform 0.3s ease; } .feature:hover { transform: translateY(-5px); } .feature h3 { color: var(--primary); margin-bottom: 10px; } /* ========================== TEMPLATE CARDS ========================== */ .templates-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; margin-top: 40px; } .template-card { background: white; border: 1px solid #ddd; border-radius: 10px; overflow: hidden; width: 280px; text-align: center; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); transition: transform 0.3s ease, box-shadow 0.3s ease; } .template-card:hover { transform: translateY(-10px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1); } .template-card img { width: 100%; height: auto; display: block; } .template-card h3 { padding: 15px; font-size: 18px; font-weight: 600; } /* ========================== FOOTER ========================== */ .footer { background: #111122; color: #ccc; padding: 60px 20px; } .footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; } .footer-col { flex: 1; min-width: 200px; } .footer-logo { width: 120px; margin-bottom: 15px; } .footer h4 { color: #fff; margin-bottom: 10px; } .footer a { color: #ccc; text-decoration: none; transition: color 0.3s; } .footer a:hover { color: var(--primary); } .footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid #333; font-size: 14px; color: #888; } /* SECCIONES */ .section-light { background: #f9f9f9; padding: 100px 0; } .section-dark { background: #ffffff; padding: 100px 0; } /* HERO */ .hero-buttons { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; } .btn-solid { background: #7f5af0; color: white; padding: 12px 26px; border-radius: 8px; font-weight: bold; text-decoration: none; transition: 0.3s; border: 2px solid transparent; } .btn-solid:hover { background: #6943db; } .btn-outline { background: transparent; color: #7f5af0; padding: 12px 26px; border: 2px solid #7f5af0; border-radius: 8px; font-weight: bold; text-decoration: none; transition: 0.3s; } .btn-outline:hover { background: #7f5af0; color: white; } /* TÍTULOS */ h2 { font-size: 36px; font-weight: 700; text-align: center; margin-bottom: 15px; } .centered { text-align: center; color: #666; max-width: 700px; margin: 0 auto 50px; font-size: 18px; } /* Templates Grid */ .templates-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; } .template-card { background: white; border-radius: 10px; overflow: hidden; width: 300px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06); text-align: center; transition: transform 0.3s ease; } .template-card:hover { transform: translateY(-6px); } .template-card h3 { padding: 16px; font-size: 18px; font-weight: 600; } /* FEATURES */ .feature-grid { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 40px; } .feature { background: #f4f4f4; border-radius: 12px; padding: 30px; text-align: center; width: 300px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04); } .feature h3 { font-size: 20px; margin-bottom: 12px; color: #7f5af0; } .feature p { color: #555; font-size: 16px; } .navbar { position: fixed; top: 0; width: 100%; background: white; z-index: 1000; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04); transition: all 0.3s ease; } .navbar.scrolled { background: #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); } .nav-container { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; } .navbar-logo img { max-height: 70px; transition: max-height 0.3s ease; } .navbar-links ul { display: flex; list-style: none; gap: 24px; align-items: center; } .navbar-links a { text-decoration: none; color: #333; font-weight: 500; transition: 0.3s; } .navbar-links a:hover { color: #7f5af0; } .btn-navbar { background: #7f5af0; color: white; padding: 8px 16px; border-radius: 6px; font-weight: bold; transition: background 0.3s; } .btn-navbar:hover { background: #6943db; } .footer { background: #101010; color: #eee; padding: 60px 0 30px; font-size: 15px; } .footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; } .footer-col { flex: 1; min-width: 220px; } .footer-logo { max-height: 60px; margin-bottom: 15px; } .footer-col h4 { margin-bottom: 15px; font-size: 18px; font-weight: 600; color: #fff; } .footer-col ul { list-style: none; padding: 0; } .footer-col ul li a { color: #bbb; text-decoration: none; transition: 0.3s; } .footer-col ul li a:hover { color: #7f5af0; } .footer-col p i { margin-right: 8px; color: #7f5af0; } .footer-bottom { text-align: center; border-top: 1px solid #222; padding-top: 20px; margin-top: 30px; font-size: 14px; color: #777; } /* SECCIÓN DE MÓDULOS */ .modules-preview { padding: 80px 0; background-color: #f5f5f5; } .modules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; margin-top: 40px; } .module-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05); transition: transform 0.3s, box-shadow 0.3s; } .module-card:hover { transform: translateY(-5px); box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08); } .module-card img { width: 100%; height: 180px; object-fit: cover; border-bottom: 1px solid #eee; } .module-info { padding: 20px; } .module-info h3 { margin: 0 0 10px; font-size: 18px; color: #333; } .module-info p { font-size: 14px; color: #666; } .about-grid, .services-grid, .portfolio-grid { display: grid; gap: 2rem; } .about-grid { grid-template-columns: 1fr 1fr; align-items: center; } .about-image img { width: 100%; border-radius: 1rem; } .services-grid, .portfolio-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } .service-card, .portfolio-card { background: #fff; border-radius: 12px; padding: 1.5rem; text-align: center; box-shadow: 0 0 15px rgba(0, 0, 0, 0.05); } .presupuesto-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; } .presupuesto-form input, .presupuesto-form textarea { padding: 1rem; border: 1px solid #ccc; border-radius: 8px; width: 100%; } .presupuesto-form textarea { height: 150px; resize: vertical; } /* Navbar moderna */ .navbar-modern { background-color: #fff; padding: 1rem 2rem; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); position: sticky; top: 0; z-index: 99; } .nav-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; } /* Logo a la izquierda */ .navbar-logo img { height: 60px; transition: transform 0.3s ease; } .navbar-logo img:hover { transform: scale(1.05); } /* Menú horizontal centrado */ .navbar-menu ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; justify-content: center; } .navbar-menu a { text-decoration: none; color: #333; font-weight: 500; transition: color 0.2s; } .navbar-menu a:hover { color: #7f5eff; } /* Botón Contacto a la derecha */ .navbar-cta { display: flex; align-items: center; } .btn-navbar { background-color: #7f5eff; color: white; padding: 0.5rem 1rem; border-radius: 8px; font-weight: 600; transition: background-color 0.2s; } .btn-navbar:hover { background-color: #6b4de0; } /* Responsive */ @media (max-width: 768px) { .nav-flex { flex-direction: column; gap: 1rem; } .navbar-menu ul { flex-direction: column; gap: 0.8rem; } } .navbar-modern { position: sticky; top: 0; z-index: 99; } /* Reset universal */ * { margin: 0; padding: 0; box-sizing: border-box; } html, body { margin: 0; padding: 0; font-family: 'Urbanist', sans-serif; background-color: #f9fbff; } /* Navbar fijo y limpio */ .navbar-modern { background-color: #ffffff; padding: 1rem 2rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); position: fixed; top: 0; left: 0; right: 0; z-index: 99; } .nav-flex { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: auto; } /* Logo */ .navbar-logo img { height: 55px; transition: transform 0.3s ease; } .navbar-logo img:hover { transform: scale(1.05); } /* Menú centrado */ .navbar-menu ul { display: flex; gap: 1.8rem; list-style: none; align-items: center; } .navbar-menu a { text-decoration: none; color: #333; font-weight: 500; transition: color 0.2s; } .navbar-menu a:hover { color: #7f5eff; } /* Botón contacto */ .navbar-cta .btn-navbar { background-color: #7f5eff; color: #fff; padding: 0.5rem 1rem; border-radius: 8px; font-weight: 600; transition: background-color 0.2s ease; } .navbar-cta .btn-navbar:hover { background-color: #6a4fe2; } /* Separación del contenido */ body { padding-top: 90px; /* espacio para el navbar fijo */ } /* Responsive */ @media (max-width: 768px) { .nav-flex { flex-direction: column; gap: 1rem; } .navbar-menu ul { flex-direction: column; gap: 0.8rem; } } .section-dark { background-color: #f9fbff; padding: 4rem 1.5rem; text-align: center; } .section-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; color: #222; } .section-subtitle { font-size: 1.1rem; color: #555; margin-bottom: 2.5rem; } .portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; } /* Tarjetas */ .portfolio-card { background: #fff; border-radius: 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; align-items: center; } .portfolio-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12); } .card-image img { width: 100%; height: 280px; object-fit: cover; } .card-content { padding: 1.2rem; } .card-content h3 { font-size: 1.2rem; color: #111; margin-bottom: 0.5rem; } .card-content p { font-size: 0.95rem; color: #666; } .cta-portfolio { margin-top: 60px; text-align: center; } .cta-portfolio p { font-size: 1.2rem; margin-bottom: 15px; } /* ===== Formulario Presupuestos ===== */ .presupuesto-form { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } .presupuesto-form input[type="text"], .presupuesto-form input[type="email"], .presupuesto-form select, .presupuesto-form textarea { padding: 12px 16px; font-size: 1rem; border: 2px solid #ccc; border-radius: 6px; transition: border-color 0.3s ease; resize: vertical; font-family: inherit; } .presupuesto-form input[type="text"]:focus, .presupuesto-form input[type="email"]:focus, .presupuesto-form select:focus, .presupuesto-form textarea:focus { border-color: #007bff; /* azul destacado */ outline: none; } .presupuesto-form select { appearance: none; background: url("data:image/svg+xml,%3Csvg fill='none' stroke='%23777' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke-linejoin='round' stroke-linecap='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") no-repeat right 16px center/1em 1em; padding-right: 40px; cursor: pointer; } .presupuesto-form button.btn-solid { background-color: #007bff; color: white; font-weight: 600; padding: 14px; border: none; border-radius: 6px; font-size: 1.1rem; cursor: pointer; transition: background-color 0.3s ease; } .presupuesto-form button.btn-solid:hover, .presupuesto-form button.btn-solid:focus { background-color: #0056b3; outline: none; } /* Mensajes de éxito y error */ .alert { max-width: 600px; margin: 0 auto 24px auto; padding: 14px 20px; border-radius: 6px; font-weight: 600; font-size: 1rem; text-align: center; user-select: none; } .alert-success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; } .alert-error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; } /* Responsive */ @media (max-width: 640px) { .presupuesto-form { padding: 0 1rem; } }