/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --primary: #FF3D00;        
    --primary-glow: rgba(255, 61, 0, 0.5);
    --dark-bg: #050505;       
    --card-bg: rgba(20, 20, 20, 0.6); 
    --card-border: 1px solid rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --radius: 16px;
    --font-main: 'Outfit', sans-serif;
    --transition-fast: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: var(--font-main);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
}

a { text-decoration: none; color: inherit; }

/* =========================================
   2. BACKGROUND EFFECTS
   ========================================= */
.background-effects {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; pointer-events: none; overflow: hidden;
}
.noise {
    position: absolute; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.07;
}
.blob {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.3;
    animation: float 10s infinite alternate;
}
.blob-1 { width: 300px; height: 300px; background: var(--primary); top: -10%; left: -10%; }
.blob-2 { width: 400px; height: 400px; background: #5a2a00; bottom: -10%; right: -10%; animation-delay: -5s; }

/* =========================================
   3. NAVBAR (FIJA)
   ========================================= */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(5, 5, 5, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000; padding: 15px 0;
    animation: fadeInDown 0.8s ease-out forwards;
}

.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }

.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.1rem; letter-spacing: 1px; color: white; }
.nav-logo { width: 35px; height: 35px; object-fit: contain; filter: drop-shadow(0 0 5px var(--primary-glow)); }
.dot { color: var(--primary); }

.nav-links { display: none; gap: 30px; list-style: none; }
.nav-links a {
    color: var(--text-muted); font-size: 0.9rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.5px; transition: 0.3s; position: relative;
}
.nav-links a:hover { color: #fff; }
.nav-links a::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0;
    background-color: var(--primary); transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

.btn-nav {
    background: var(--primary); color: white; padding: 8px 24px; border-radius: 50px;
    font-weight: 600; font-size: 0.85rem; letter-spacing: 0.5px; transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 61, 0, 0.2);
}
.btn-nav:hover { background: #fff; color: var(--primary); transform: translateY(-2px); box-shadow: 0 0 15px var(--primary); }

/* =========================================
   4. LAYOUT GENERAL & HERO
   ========================================= */
.container {
    width: 100%; max-width: 1000px; padding: 1rem 1.5rem;
    display: flex; flex-direction: column; gap: 4rem; 
}

.hero-section {
    padding-top: 10rem;
    text-align: center; display: flex; flex-direction: column; align-items: center;
}

.brand-badge {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.3em;
    color: var(--primary); text-transform: uppercase; margin-bottom: 1rem;
    background: rgba(255, 61, 0, 0.1); padding: 5px 15px; border-radius: 50px;
    border: 1px solid rgba(255, 61, 0, 0.2);
}

.guardatti-text {
    font-size: 3.5rem; font-weight: 800; text-transform: uppercase; letter-spacing: -1px; margin: 0;
    background: linear-gradient(to right, #ffffff 0%, #ffffff 40%, var(--primary) 50%, #ffffff 60%, #ffffff 100%);
    background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: shine 6s ease-in-out infinite; line-height: 1.1;
}

.hero-title { font-size: 1.5rem; color: #fff; margin-top: 0.5rem; font-weight: 600; }
.hero-subtitle { font-size: 1rem; color: var(--text-muted); max-width: 600px; margin: 1rem auto 2rem; line-height: 1.6; }

.btn-primary {
    background: var(--primary); color: #fff; padding: 1rem 2rem; border-radius: 50px;
    font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(255, 61, 0, 0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(255, 61, 0, 0.5); }
.microcopy { display: block; margin-top: 0.8rem; font-size: 0.75rem; color: var(--text-muted); opacity: 0.7; }

/* =========================================
   5. SECTIONS, CARDS & SERVICES
   ========================================= */
.section-header {
    font-size: 1.8rem; text-align: center; margin-bottom: 2rem; color: #fff;
    text-transform: uppercase; letter-spacing: 1px;
}
.section-intro p { text-align: center; color: var(--text-muted); margin-top: -1.5rem; margin-bottom: 2rem; }

.card {
    background: var(--card-bg); border: var(--card-border); border-radius: var(--radius);
    padding: 1.5rem; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-fast); position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 10px 30px -5px rgba(255, 61, 0, 0.2); }

.grid-features { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.feature-card .icon-box {
    width: 40px; height: 40px; background: rgba(255,255,255,0.05); border-radius: 8px;
    display: flex; align-items: center; justify-content: center; color: var(--primary);
    font-size: 1.2rem; margin-bottom: 1rem;
}
.feature-card h4 { font-size: 1.1rem; color: #fff; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

.grid-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.service-card { padding: 1.2rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; }
.service-icon { font-size: 2rem; color: var(--primary); margin-bottom: 0.2rem; transition: 0.3s; }
.service-card:hover .service-icon { transform: scale(1.2); }
.service-card h4 { font-size: 0.95rem; color: #fff; }
.service-card p { font-size: 0.75rem; color: var(--text-muted); display: none; } 

.process-steps { display: flex; flex-direction: column; gap: 1rem; }
.step-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.step-number { font-size: 1.5rem; font-weight: 800; color: var(--primary); opacity: 0.8; min-width: 40px; }
.step-content h4 { color: #fff; font-size: 1.1rem; margin-bottom: 0.3rem; }
.step-content p { color: var(--text-muted); font-size: 0.9rem; }

.grid-testimonials { display: grid; gap: 1rem; }
.testimonial-card { font-style: italic; border-left: 3px solid var(--primary); }
.text-icon { color: var(--primary); font-size: 1.5rem; opacity: 0.5; margin-bottom: 0.5rem; }
.quote { color: #ddd; font-size: 0.95rem; margin-bottom: 1rem; line-height: 1.6; }
.author { font-style: normal; font-weight: 600; font-size: 0.85rem; color: var(--text-muted); text-align: right; }

/* =========================================
   6. SECCIÓN ESPECIAL: LOTEAMIENTO DON KIKO
   ========================================= */
.coming-soon-section {
    width: 100%; height: 450px; border-radius: var(--radius); overflow: hidden; position: relative;
    border: var(--card-border); margin: 2rem 0;
    /* Imagen de fondo: Terrenos/Desarrollo */
    background-image: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?q=80&w=2070&auto=format&fit=crop');
    background-size: cover; background-position: center;
}

.coming-soon-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(5,5,5,0.95) 20%, rgba(5,5,5,0.6));
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    padding: 2rem; text-align: center; border: 1px solid rgba(255, 61, 0, 0.2);
}

.neon-badge {
    background: var(--primary); color: white; font-size: 0.8rem; font-weight: 800;
    padding: 6px 18px; border-radius: 50px; letter-spacing: 2px; margin-bottom: 1.5rem;
    box-shadow: 0 0 15px var(--primary-glow); animation: pulseNeon 2s infinite alternate;
}

.coming-soon-overlay h3 {
    font-size: 2.2rem; font-weight: 800; color: #fff; margin-bottom: 1rem;
    text-transform: uppercase; text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.coming-soon-overlay p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin-bottom: 2rem; }
.btn-small { padding: 0.8rem 1.5rem; font-size: 0.85rem; }

/* =========================================
   7. FOOTER SPLIT (CONTACT + MAP)
   ========================================= */
.footer-split-section { margin-top: 4rem; width: 100%; }
.container-split { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; }

.contact-column { display: flex; flex-direction: column; justify-content: center; }
.cta-content h2 { font-size: 2rem; margin-bottom: 1rem; line-height: 1.1; }
.cta-content p { color: var(--text-muted); margin-bottom: 2rem; }

.contact-details { margin-bottom: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-row { display: flex; align-items: center; gap: 15px; }
.contact-row i { font-size: 1.5rem; color: var(--primary); background: rgba(255,61,0,0.1); padding: 10px; border-radius: 50%; }
.contact-row strong { display: block; font-size: 0.9rem; color: #fff; }
.contact-row span { font-size: 0.9rem; color: var(--text-muted); }

.full-width-btn { width: 100%; }

.map-column { height: 350px; width: 100%; }
.map-frame { width: 100%; height: 100%; padding: 0; border: var(--card-border); border-radius: var(--radius); overflow: hidden; }
.map-frame iframe { filter: invert(90%) hue-rotate(180deg) grayscale(20%) contrast(85%); }

.legal-footer-simple { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem; font-size: 0.8rem; color: #555; }

/* =========================================
   8. ANIMACIONES
   ========================================= */
@keyframes shine { 0% { background-position: 200% center; } 15% { background-position: 0% center; } 100% { background-position: 0% center; } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes pulseNeon { from { box-shadow: 0 0 10px var(--primary-glow); opacity: 0.9; } to { box-shadow: 0 0 20px var(--primary), 0 0 5px #fff; opacity: 1; } }

.fade-in { opacity: 0; animation: fadeIn 1s forwards; }
.fade-in-up { opacity: 0; transform: translateY(20px); animation: fadeInUp 0.6s ease-out forwards; animation-delay: var(--d, 0s); }
.visible { opacity: 1 !important; transform: translateY(0) !important; }

/* =========================================
   9. RESPONSIVE
   ========================================= */
@media (min-width: 600px) {
    .grid-features { grid-template-columns: 1fr 1fr; }
    .grid-services { grid-template-columns: repeat(3, 1fr); }
    .service-card p { display: block; }
    .grid-testimonials { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
    .nav-links { display: flex; }
    .container { padding-top: 2rem; }
    .hero-section { padding-top: 10rem; }
    .guardatti-text { font-size: 5rem; }
    .grid-services { grid-template-columns: repeat(3, 1fr); }
    .process-steps { flex-direction: row; }
    .step-item { flex-direction: column; border-bottom: none; border-right: 1px solid rgba(255,255,255,0.05); }
    .step-item:last-child { border-right: none; }
    
    /* Footer & Section Heights */
    .container-split { grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
    .map-column { height: 100%; min-height: 400px; }
    .full-width-btn { width: auto; }
}