* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0066cc;
  --primary-dark: #0052a3;
  --primary-light: #e6f0ff;
  --green: #10b981;
  --green-dark: #059669;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-600: #4b5563;
  --gray-900: #111827;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--gray-900); background-color: var(--white); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

nav { position: fixed; top: 0; width: 100%; background: var(--white); border-bottom: 1px solid var(--gray-200); z-index: 50; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.nav-container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 0.75rem; font-weight: 800; color: var(--primary); font-size: 1.25rem; }
.logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 900; font-size: 0.9rem; box-shadow: 0 4px 12px rgba(0,102,204,0.3); }
.nav-links { display: none; gap: 2rem; list-style: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 1.5rem; padding-bottom: 200px; border-bottom: 1px solid var(--gray-200); box-shadow: 0 8px 16px rgba(0,0,0,0.1); max-height: calc(100vh - 70px); overflow-y: auto; z-index: 40; }
.nav-links.active { display: flex; }
@media (min-width: 768px) { .nav-links { display: flex; position: static; background: transparent; flex-direction: row; padding: 0; border: none; box-shadow: none; padding-bottom: 0; z-index: auto; } }
.nav-links a { font-size: 0.9rem; font-weight: 600; color: var(--gray-600); transition: all 0.2s; }
.nav-links a:hover { color: var(--primary); }
.nav-buttons { display: none !important; }
.nav-buttons.active { display: none !important; }
@media (min-width: 768px) { .nav-buttons { display: none !important; } }
.menu-toggle { display: block; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--gray-900); z-index: 60; padding: 0.5rem; transition: all 0.3s ease; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.menu-toggle.active { font-size: 1.5rem; }
.menu-toggle::after { content: '☰'; }
.menu-toggle.active::after { content: '✕'; }
@media (min-width: 768px) { .menu-toggle { display: none !important; } }

main { margin-top: 70px; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

.hero { background: linear-gradient(135deg, rgba(0,102,204,0.1) 0%, rgba(16,185,129,0.08) 100%); padding: 5rem 0 6rem; }
@media (min-width: 768px) { .hero { padding: 6rem 0 7rem; } }
.hero h1 { font-size: 2.8rem; font-weight: 900; margin-bottom: 1.5rem; line-height: 1.2; letter-spacing: -1.5px; color: var(--gray-900); }
@media (min-width: 768px) { .hero h1 { font-size: 3.8rem; } }
.hero p { font-size: 1.2rem; color: var(--gray-600); max-width: 50rem; margin-bottom: 2.5rem; line-height: 1.8; }

section { padding: 5rem 0; }
@media (min-width: 768px) { section { padding: 6rem 0; } }
h2 { font-size: 2.2rem; font-weight: 900; margin-bottom: 1.5rem; letter-spacing: -1px; color: var(--gray-900); }
@media (min-width: 768px) { h2 { font-size: 2.8rem; } }
h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.75rem; color: var(--gray-900); }
h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--gray-900); }

.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card { background: var(--white); border: 1px solid var(--gray-200); border-radius: 1rem; padding: 2rem; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.card:hover { box-shadow: 0 15px 40px rgba(0,0,0,0.12); border-color: var(--primary); transform: translateY(-6px); }
.card img { width: 100%; height: 240px; object-fit: cover; border-radius: 0.75rem; margin-bottom: 1.5rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 1.2rem 3rem; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); border: none; border-radius: 0.75rem; font-weight: 800; font-size: 1.05rem; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); text-decoration: none; box-shadow: 0 8px 20px rgba(0,102,204,0.3); letter-spacing: 0.5px; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,102,204,0.4); text-decoration: none; color: var(--white); }
.btn-large { padding: 1.3rem 3.5rem; font-size: 1.1rem; }
.btn-outline { background: transparent; color: var(--primary); border: 3px solid var(--primary); box-shadow: none; }
.btn-outline:hover { background: var(--primary-light); box-shadow: 0 8px 20px rgba(0,102,204,0.2); }
.btn-green { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); box-shadow: 0 8px 20px rgba(16,185,129,0.3); }
.btn-green:hover { box-shadow: 0 12px 30px rgba(16,185,129,0.4); }
.btn-demo { padding: 0.95rem 2.25rem; border: 3px solid var(--primary); color: var(--primary); background: transparent; border-radius: 0.75rem; font-size: 1rem; font-weight: 800; cursor: pointer; transition: all 0.3s; box-shadow: none; }
.btn-demo:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,102,204,0.2); }
@media (max-width: 640px) { .btn-demo { padding: 0.7rem 1.5rem; font-size: 0.85rem; } }
.btn-hire { padding: 0.95rem 2.25rem; background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); color: var(--white); border: none; border-radius: 0.75rem; font-size: 1rem; font-weight: 800; cursor: pointer; transition: all 0.3s; box-shadow: 0 8px 20px rgba(16,185,129,0.3); }
.btn-hire:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(16,185,129,0.4); }
@media (max-width: 640px) { .btn-hire { padding: 0.7rem 1.5rem; font-size: 0.85rem; } }

.cta { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); text-align: center; padding: 5rem 2rem; border-radius: 1.5rem; box-shadow: 0 20px 50px rgba(0,102,204,0.3); }
@media (min-width: 768px) { .cta { padding: 6rem 3rem; } }
.cta h2 { color: var(--white); margin-bottom: 1.5rem; }
.cta p { color: rgba(255,255,255,0.95); font-size: 1.2rem; margin-bottom: 2.5rem; max-width: 45rem; margin-left: auto; margin-right: auto; line-height: 1.8; }
.cta .btn { background: var(--white); color: var(--primary); box-shadow: 0 8px 20px rgba(255,255,255,0.3); }
.cta .btn:hover { background: var(--gray-100); color: var(--primary-dark); }

footer { background: var(--gray-900); color: var(--white); padding: 5rem 0 2rem; }
.footer-grid { display: grid; gap: 3rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-section h4 { font-size: 0.9rem; font-weight: 800; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gray-100); }
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 0.9rem; }
.footer-section a { color: rgba(255,255,255,0.8); transition: color 0.2s; font-size: 0.9rem; }
.footer-section a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; text-align: center; color: rgba(255,255,255,0.6); font-size: 0.85rem; }

.whatsapp-btn { position: fixed; bottom: 2.5rem; right: 2.5rem; width: 70px; height: 70px; background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 30px rgba(16,185,129,0.4); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 40; border: none; text-decoration: none; }
.whatsapp-btn:hover { transform: scale(1.2) translateY(-5px); box-shadow: 0 15px 40px rgba(16,185,129,0.5); }
.whatsapp-btn svg { width: 36px; height: 36px; fill: var(--white); }

.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); border-top: 3px solid var(--primary); padding: 2rem; box-shadow: 0 -8px 20px rgba(0,0,0,0.1); z-index: 30; }
.cookie-content { max-width: 1280px; margin: 0 auto; }
.cookie-text { font-size: 0.95rem; color: var(--gray-600); margin-bottom: 1.5rem; line-height: 1.7; }
.cookie-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.cookie-btn { padding: 0.85rem 1.75rem; border: none; border-radius: 0.75rem; font-size: 0.9rem; font-weight: 700; cursor: pointer; transition: all 0.3s; }
.cookie-accept { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); box-shadow: 0 6px 15px rgba(0,102,204,0.3); }
.cookie-accept:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,102,204,0.4); }
.cookie-reject { background: transparent; color: var(--gray-900); border: 2.5px solid var(--gray-300); }
.cookie-reject:hover { background: var(--gray-100); border-color: var(--gray-600); }

.faq-item { border: 2px solid var(--gray-200); border-radius: 1rem; margin-bottom: 1.5rem; overflow: hidden; transition: all 0.3s; }
.faq-item:hover { border-color: var(--primary); box-shadow: 0 8px 20px rgba(0,102,204,0.1); }
.faq-question { padding: 2rem; background: var(--white); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 1.05rem; transition: background 0.3s; user-select: none; }
.faq-question:hover { background: var(--gray-50); }
.faq-answer { padding: 0 2rem 2rem; background: var(--gray-50); border-top: 2px solid var(--gray-200); display: none; line-height: 1.9; color: var(--gray-600); font-size: 0.95rem; }
.faq-answer.active { display: block; }
.faq-toggle { transition: transform 0.3s; font-size: 1.5rem; }
.faq-toggle.active { transform: rotate(180deg); }

.form-group { margin-bottom: 2rem; }
label { display: block; font-size: 0.95rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--gray-900); }
input, textarea { width: 100%; padding: 1rem 1.25rem; border: 2.5px solid var(--gray-200); border-radius: 0.75rem; font-family: inherit; font-size: 1rem; transition: all 0.3s; }
input:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0,102,204,0.1); }
textarea { resize: vertical; min-height: 150px; }

.blog-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { background: var(--white); border: 2px solid var(--gray-200); border-radius: 1rem; overflow: hidden; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.blog-card:hover { box-shadow: 0 15px 40px rgba(0,0,0,0.12); border-color: var(--primary); transform: translateY(-8px); }
.blog-card img { width: 100%; height: 260px; object-fit: cover; }
.blog-card-content { padding: 2rem; }
.blog-category { font-size: 0.8rem; font-weight: 800; background: rgba(0,102,204,0.1); color: var(--primary); padding: 0.6rem 1.2rem; border-radius: 9999px; display: inline-block; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }
.blog-card h3 { font-size: 1.2rem; margin-bottom: 1rem; line-height: 1.4; min-height: 3.6rem; }
.blog-card p { color: var(--gray-600); font-size: 0.95rem; margin-bottom: 1.5rem; line-height: 1.7; min-height: 2.85rem; }
.blog-meta { font-size: 0.85rem; color: var(--gray-600); padding-top: 1.5rem; border-top: 2px solid var(--gray-200); margin-bottom: 1.5rem; }
.blog-card a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--primary); font-weight: 800; transition: all 0.3s; }
.blog-card a:hover { gap: 1rem; }

.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.hidden { display: none; }
.visible { display: block; }

@keyframes slideInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.card { animation: slideInUp 0.6s ease-out forwards; }
.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }
.card:nth-child(4) { animation-delay: 0.3s; }

@media (max-width: 767px) {
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 1rem; border-bottom: 1px solid var(--gray-200); }
  .nav-links.active { display: flex; }
}
