:root {
    --bg-white: #FFFFFF;
    --bg-gray: #F9FAFB;
    --text-primary: #1F2937;
    --text-secondary: #4B5563;
    --primary-color: #2563EB;
    --primary-hover: #1D4ED8;
    --whatsapp-green: #25D366;
    --whatsapp-hover: #128C7E;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text-primary); background-color: var(--bg-white); line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', sans-serif; color: var(--text-primary); font-weight: 600; }
a { text-decoration: none; color: var(--primary-color); transition: var(--transition); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.btn-primary { display: inline-block; background-color: var(--primary-color); color: var(--bg-white); padding: 10px 24px; border-radius: 8px; font-weight: 500; font-family: 'Outfit', sans-serif; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background-color: var(--primary-hover); color: var(--bg-white); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-large { padding: 14px 32px; font-size: 1.1rem; border-radius: var(--radius); }
.btn-ghost { display: inline-block; background-color: transparent; color: var(--primary-color); padding: 10px 24px; border-radius: 8px; font-weight: 600; font-family: 'Inter', sans-serif; border: 2px solid var(--primary-color); transition: var(--transition); }
.btn-ghost:hover { background-color: var(--primary-color); color: var(--bg-white); transform: translateY(-2px); }
.btn-pill { display: inline-block; background-color: var(--bg-white); color: var(--primary-color); padding: 14px 32px; font-size: 1.1rem; border-radius: 50px; font-weight: 600; font-family: 'Inter', sans-serif; box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1); border: 1px solid rgba(37, 99, 235, 0.2); transition: var(--transition); }
.btn-pill:hover { box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3); transform: translateY(-2px); border-color: var(--primary-color); }
.btn-whatsapp { display: inline-block; background-color: var(--whatsapp-green); color: white; padding: 10px 24px; border-radius: 8px; font-weight: 500; font-family: 'Outfit', sans-serif; text-align: center; width: 100%; margin-top: 16px; border: none; cursor: pointer; box-shadow: var(--shadow-sm); transition: var(--transition); }
.btn-whatsapp i { margin-right: 8px; font-size: 1.1rem; }
.btn-whatsapp:hover { background-color: var(--whatsapp-hover); color: white; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.header { background-color: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(0,0,0,0.05); padding: 16px 0; }
.header-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo h1 { font-family: 'Inter', sans-serif; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.5px; color: var(--text-primary); }
.logo-image { height: 40px; width: auto; object-fit: contain; }
.header-right { display: flex; align-items: center; gap: 16px; }
.search-icon-wrapper { display: flex; align-items: center; position: relative; background-color: transparent; border-radius: 24px; transition: var(--transition); border: 1px solid transparent; }
.search-icon-wrapper.active { background-color: var(--bg-gray); border-color: #E5E7EB; padding: 0 16px; }
.search-icon-wrapper.active:focus-within { border-color: var(--primary-color); box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2); }
#search-icon-toggle { font-size: 1.2rem; color: var(--text-primary); cursor: pointer; padding: 8px; transition: var(--transition); }
#search-icon-toggle:hover { color: var(--primary-color); }
.search-icon-wrapper.active #search-icon-toggle { color: var(--text-secondary); padding: 8px 0; margin-right: 8px; cursor: default; }
.expandable-search { width: 0; border: none; background: transparent; outline: none; font-family: 'DM Sans', sans-serif; color: var(--text-primary); font-size: 0.95rem; opacity: 0; transition: width 0.3s ease, opacity 0.3s ease; padding: 8px 0; }
.search-icon-wrapper.active .expandable-search { width: 250px; opacity: 1; }
.hero { padding: 120px 24px; text-align: center; background-color: var(--bg-white); background-image: radial-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px); background-size: 30px 30px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; left: -10%; width: 50%; height: 200%; background: radial-gradient(circle, rgba(37,99,235,0.03) 0%, rgba(255,255,255,0) 70%); }
.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero-title { font-family: 'Inter', sans-serif; font-size: 3.2rem; font-weight: 800; line-height: 1.15; margin-bottom: 20px; letter-spacing: -1.2px; color: var(--text-primary); }
.rotating-text-wrapper { display: inline-flex; overflow: visible; align-items: flex-end; transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1); vertical-align: bottom; position: relative; }
.rotating-text { color: var(--primary-color); display: inline-block; transition: opacity 0.3s ease, transform 0.3s ease; white-space: nowrap; }
.hero-subtitle { font-size: 1.15rem; color: #6B7280; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero .btn-pill i { margin-left: 8px; transition: transform 0.3s; }
.hero .btn-pill:hover i { transform: translateX(4px); }
.hero-contacts { margin-top: 40px; display: flex; justify-content: center; gap: 24px; align-items: center; }
.hero-contacts a { color: var(--text-secondary); font-size: 1.2rem; transition: var(--transition); display: flex; align-items: center; gap: 8px; }
.hero-contacts a:hover { color: var(--primary-color); transform: translateY(-2px); }
.hero-contacts a.phone { font-weight: 500; font-size: 1.05rem; }
.custom-project-section { padding: 60px 0; background: linear-gradient(135deg, var(--primary-color) 0%, #1D4ED8 100%); color: var(--bg-white); text-align: center; }
.custom-project-content { max-width: 700px; margin: 0 auto; padding: 0 24px; }
.custom-project-content h2 { color: var(--bg-white); font-size: 2.2rem; margin-bottom: 16px; }
.custom-project-content p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 24px; }
.btn-white { display: inline-block; background-color: var(--bg-white); color: var(--primary-color); padding: 12px 28px; border-radius: 50px; font-weight: 600; font-family: 'Inter', sans-serif; box-shadow: var(--shadow-sm); transition: var(--transition); }
.btn-white:hover { background-color: #F3F4F6; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.projects-section { padding: 80px 0; background-color: var(--bg-gray); }
.projects-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 48px; }
.projects-header h2 { font-size: 2.2rem; }
.projects-counter { color: var(--text-secondary); font-weight: 500; }
.no-results { text-align: center; padding: 80px 0; color: var(--text-secondary); }
.no-results.hidden { display: none; }
.no-results i { font-size: 3rem; color: #D1D5DB; margin-bottom: 16px; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.project-card { background-color: var(--bg-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); transition: var(--transition); display: flex; flex-direction: column; height: 100%; }
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.project-image-placeholder { height: 200px; display: flex; align-items: center; justify-content: center; font-size: 3rem; font-weight: 800; color: rgba(0,0,0,0.1); border-bottom: 1px solid var(--border-color); border-radius: var(--radius) var(--radius) 0 0; }
.project-slider { position: relative; width: 100%; height: 200px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; border-bottom: 1px solid var(--border-color); }
.slider-images { display: flex; width: 100%; height: 100%; transition: transform 0.4s ease-in-out; }
.slider-images img { min-width: 100%; height: 100%; object-fit: cover; }
.slider-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.slider-dots .dot { width: 8px; height: 8px; background: rgba(255,255,255,0.4); border-radius: 50%; cursor: pointer; transition: all 0.3s; box-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.slider-dots .dot.active { background: white; width: 24px; border-radius: 4px; }
.project-content { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; flex: 1; }
.project-title { font-size: 1.25rem; margin-bottom: 12px; line-height: 1.4; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag { background-color: #EFF6FF; color: #1D4ED8; padding: 4px 10px; border-radius: 12px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.5px; }
.project-desc { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 16px; flex-grow: 1; }
.project-pricing { font-family: 'Outfit', sans-serif; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; font-size: 0.95rem; }
.project-card-footer { padding: 0 24px 24px 24px; margin-top: auto; }
.services-section { padding: 80px 0; background-color: var(--bg-white); }
.section-title { font-size: 2.2rem; text-align: center; margin-bottom: 48px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service-card { padding: 32px; border-radius: var(--radius); background-color: var(--bg-gray); text-align: center; transition: var(--transition); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); background-color: var(--bg-white); }
.service-card i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 20px; }
.service-card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.service-card p { color: var(--text-secondary); }
.guarantees-section { padding: 80px 0; background-color: var(--text-primary); color: var(--bg-white); }
.guarantees-section .section-title { color: var(--bg-white); }
.guarantees-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.block { text-align: center; padding: 24px; }
.block i { font-size: 2.5rem; color: var(--whatsapp-green); margin-bottom: 20px; }
.block h3 { color: var(--bg-white); font-size: 1.2rem; margin-bottom: 12px; }
.block p { color: #9CA3AF; font-size: 0.95rem; }
.footer { background-color: #111827; color: #9CA3AF; text-align: center; padding: 32px 0; }
.floating-whatsapp { position: fixed; bottom: 30px; right: 30px; background-color: var(--whatsapp-green); color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 2rem; box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3); z-index: 100; transition: var(--transition); }
.floating-whatsapp:hover { transform: scale(1.1); background-color: var(--whatsapp-hover); color: white; box-shadow: 0 6px 14px rgba(37, 211, 102, 0.4); }

.mobile-search-fab { display: none; }
.contact-us-section { padding: 80px 0; background-color: var(--bg-white); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.contact-card { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px; text-align: center; color: var(--text-primary); transition: var(--transition); text-decoration: none; border-radius: var(--radius); }
.contact-card i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 16px; }
.contact-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.contact-card p { color: var(--text-secondary); font-size: 0.95rem; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* Glassmorphism Classes */
body { background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%); background-attachment: fixed; }
.glass-section { background: rgba(255, 255, 255, 0.3) !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,0.4); border-bottom: 1px solid rgba(255,255,255,0.4); }
.glass-card { background: rgba(255, 255, 255, 0.6) !important; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05) !important; }
.glass-card:hover { background: rgba(255, 255, 255, 0.8) !important; box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1) !important; }
.glass-btn { background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.5); color: var(--primary-color); }
.glass-btn:hover { background: rgba(255, 255, 255, 0.8); color: var(--primary-hover); }
.projects-section, .services-section { background-color: transparent !important; }
.guarantees-section { background-color: rgba(31, 41, 55, 0.8) !important; backdrop-filter: blur(10px); }
.guarantees-section .block { background: rgba(255,255,255,0.1) !important; border: 1px solid rgba(255,255,255,0.2); }
.guarantees-section .block:hover { background: rgba(255,255,255,0.15) !important; }
.custom-project-section { border: none; }

/* Bubble Cursor */
.cursor-bubble { position: fixed; width: 16px; height: 16px; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(37, 99, 235, 0.4)); border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%); animation: floatUp 1.2s ease-out forwards; z-index: 9999; }
@keyframes floatUp { 0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.8; } 100% { transform: translate(-50%, -150%) scale(1.5); opacity: 0; } }
@media (max-width: 1024px) { .projects-grid, .services-grid { grid-template-columns: repeat(2, 1fr); } .guarantees-grid { grid-template-columns: repeat(2, 1fr); } .header-container { flex-direction: row; gap: 16px; } .search-icon-wrapper.active .expandable-search { width: 150px; } .hero-title { font-size: 2.6rem; } }
@media (max-width: 768px) { 
    .projects-grid, .services-grid, .guarantees-grid, .contact-grid { grid-template-columns: 1fr !important; } 
    .hero { padding: 60px 24px; } 
    .hero-title { font-size: 2.2rem; } 
    .floating-whatsapp { bottom: 80px; right: 20px; width: 50px; height: 50px; font-size: 1.5rem; } 
    .header-actions { display: none; } 
    .header-container { justify-content: center; position: relative; }
    .logo h1 { font-size: 1.4rem; text-align: center; }
    .header-right { position: absolute; right: 24px; }
    .mobile-search-fab { display: flex; align-items: center; justify-content: center; position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: 80%; max-width: 350px; padding: 14px 24px; border-radius: 50px; z-index: 1000; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1.1rem; cursor: pointer; gap: 8px; background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.8); color: var(--primary-color); box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15); }
    .search-icon-wrapper { display: none; }
}
