:root {
    --beige: #F5E6D3;
    --brown: #6B4423;
    --accent: #E8954C;
    --white: #FFFFFF;
    --gray: #F9F9F9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; color: #333; line-height: 1.6; overflow-x: hidden; }
h1, h2, h3 { font-family: 'Playfair Display', serif; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section { padding: 60px 0; }
.section-gray { background: var(--gray); }
.section-highlight { background: var(--beige); }
.section-header { text-align: center; margin-bottom: 40px; }
.section-title { font-size: 2.5rem; color: var(--brown); }
.title-underline { width: 60px; height: 3px; background: var(--accent); margin: 10px auto; }

/* NAV */
.navbar { position: fixed; top: 0; width: 100%; background: var(--white); z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); height: 70px; }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: bold; color: var(--brown); }
.nav-menu { display: flex; gap: 20px; list-style: none; }
.nav-link { text-decoration: none; color: #333; font-weight: 500; font-size: 0.9rem; }
.cta-nav { background: var(--accent); color: white; padding: 8px 15px; border-radius: 20px; }

/* HERO */
.hero { height: 80vh; background: url('https://images.unsplash.com/photo-1509440159596-0249088772ff?w=1200') center/cover; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: white; margin-top: 70px; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); }
.hero-content { z-index: 1; padding: 0 20px; }
.hero-title { font-size: 3rem; margin-bottom: 20px; }
.hero-subtitle { font-size: 1.2rem; margin-bottom: 30px; }

/* BUTTONS */
.btn { display: inline-block; padding: 15px 30px; border-radius: 30px; text-decoration: none; font-weight: 600; transition: 0.3s; border: none; cursor: pointer; }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { transform: scale(1.05); background: #d07d38; }

/* GRID SERVICIOS */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.service-card { background: white; padding: 40px; border-radius: 15px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.service-icon { font-size: 3rem; color: var(--accent); margin-bottom: 20px; }

/* GALERIA */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
.gallery-item { height: 250px; border-radius: 10px; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.gallery-item:hover img { transform: scale(1.1); }

/* TECH PARK */
.tech-park-content { text-align: center; max-width: 800px; margin: 0 auto; }
.tech-park-info { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.info-box { background: white; padding: 20px; border-radius: 10px; }

/* FORM */
.quote-form { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.quote-form input, .quote-form select, .quote-form textarea { padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-family: inherit; }

/* FOOTER */
.footer { background: var(--brown); color: white; padding: 40px 0; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-social { display: flex; gap: 20px; font-size: 1.5rem; }
.footer-social a { color: white; }

/* WHATSAPP */
.whatsapp-float { position: fixed; bottom: 20px; right: 20px; background: #25d366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); z-index: 1000; text-decoration: none; }

/* EDITOR */
.edit-btn { position: fixed; bottom: 20px; left: 20px; z-index: 2000; background: var(--brown); color: white; border: none; padding: 10px 20px; border-radius: 20px; cursor: pointer; }
.save-panel { position: fixed; top: 80px; left: 50%; transform: translateX(-50%); background: white; padding: 20px; border-radius: 10px; box-shadow: 0 5px 30px rgba(0,0,0,0.3); z-index: 2000; display: none; text-align: center; }
.editable-active { outline: 2px dashed var(--accent) !important; background: rgba(232,149,76,0.1); }

/* MOBILE */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.hamburger span { width: 25px; height: 3px; background: var(--brown); }

@media (max-width: 768px) {
    .nav-menu { position: fixed; top: 70px; left: -100%; flex-direction: column; background: white; width: 100%; padding: 40px; text-align: center; transition: 0.3s; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
    .nav-menu.active { left: 0; }
    .hamburger { display: flex; }
    .hero-title { font-size: 2rem; }
    .tech-park-info { grid-template-columns: 1fr; }
    .footer-grid { flex-direction: column; text-align: center; }
    .section-title { font-size: 1.8rem; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
}
.footer a {
    color: inherit;
    text-decoration: none;
}

.footer a:hover {
    opacity: 0.8;
}