/* ==========================================================================
   ARREGLOS MANOLO - REFORMAS LOCALES DEMO
   ========================================================================== */

:root {
    --primary: #A83232; /* Brick Red */
    --primary-hover: #8C2929;
    --secondary: #4A4A4A;
    --whatsapp: #25D366;
    --whatsapp-hover: #1EBE5A;
    
    --bg-main: #FDFBF7; /* Warm Cream */
    --bg-white: #FFFFFF;
    
    --text-main: #333333;
    --text-muted: #666666;
    
    --font-heading: 'Lora', serif;
    --font-body: 'Open Sans', sans-serif;
    
    --radius: 8px;
    --shadow: 0 4px 15px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 15px;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }

.container { width: 90%; max-width: 1100px; margin: 0 auto; }
.text-center { text-align: center; }

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp);
    color: #FFF;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-body);
    gap: 8px;
}

.btn-primary { background: var(--primary); color: #fff; border: 2px solid var(--primary); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }

.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-whatsapp { background: var(--whatsapp); color: #fff; border: 2px solid var(--whatsapp); }
.btn-whatsapp:hover { background: var(--whatsapp-hover); border-color: var(--whatsapp-hover); }

/* Top Bar */
.top-bar { background: var(--secondary); color: #fff; padding: 10px 0; font-size: 0.9rem; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar i { color: #f1c40f; margin-right: 5px; }

/* Header */
.header { background: var(--bg-white); padding: 20px 0; border-bottom: 1px solid #EBEBEB; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 10px; }
.logo-icon { color: var(--secondary); }

.header-phone { display: flex; flex-direction: column; align-items: flex-end; }
.phone-label { font-size: 0.85rem; color: var(--text-muted); }
.phone-number { font-size: 1.5rem; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.phone-number i { color: var(--whatsapp); }

/* Navigation */
.main-nav { background: var(--primary); padding: 15px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.nav-inner { display: flex; justify-content: center; gap: 40px; }
.nav-link { color: #fff; font-weight: 600; font-size: 1.05rem; }
.nav-link:hover { color: #f1c40f; }

/* Hero */
.hero { padding: 60px 0; background: var(--bg-main); overflow: hidden; }
.hero-container { display: flex; align-items: center; gap: 60px; }
.hero-content { flex: 1; }
.hero-title { font-size: 3rem; line-height: 1.2; margin-bottom: 20px; color: var(--text-main); }
.hero-desc { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 30px; }

.hero-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; font-weight: 600; color: var(--secondary); }
.hero-features i { color: var(--whatsapp); font-size: 1.2rem; }

.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }

.hero-image { flex: 1; position: relative; }
.hero-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.hero-badge { position: absolute; bottom: -20px; left: -20px; background: #fff; padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); border-left: 5px solid #f1c40f; }
.stars { color: #f1c40f; margin-bottom: 5px; font-size: 1.2rem; }
.hero-badge p { font-weight: 600; color: var(--secondary); margin: 0; }

/* Services */
.section { padding: 80px 0; }
.section-title { font-size: 2.2rem; margin-bottom: 10px; }
.section-subtitle { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 50px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: var(--bg-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid #EBEBEB; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }

.service-img { position: relative; height: 220px; }
.service-img img { width: 100%; height: 100%; object-fit: cover; }
.service-tag { position: absolute; top: 15px; right: 15px; background: var(--primary); color: #fff; padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.service-icon-placeholder { width: 100%; height: 100%; background: #EAEAEA; display: flex; align-items: center; justify-content: center; font-size: 5rem; color: #CCC; }

.service-content { padding: 30px; }
.service-content h3 { font-size: 1.4rem; }
.service-content p { color: var(--text-muted); margin-bottom: 20px; }
.service-content .btn { width: 100%; }

/* Testimonials */
.testimonials-section { background: var(--secondary); color: #fff; }
.testimonials-section .section-title { color: #fff; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 40px; margin-top: 50px; }
.testimonial-card { background: rgba(255,255,255,0.05); padding: 40px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.1); }
.quote { font-size: 1.1rem; font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.author { font-weight: 600; color: #f1c40f; }

/* Footer */
.footer { background: var(--bg-white); padding-top: 60px; border-top: 4px solid var(--primary); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-col p { color: var(--text-muted); margin-bottom: 10px; }
.footer-col h4 { font-family: var(--font-body); font-size: 1.2rem; margin-bottom: 20px; }

.contact-info p { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--text-main); }
.contact-info i { color: var(--primary); width: 20px; }

.footer-bottom { background: var(--secondary); padding: 20px 0; color: rgba(255,255,255,0.7); font-size: 0.9rem; text-align: center; }
.footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 900px) {
    .top-bar { display: none; }
    .hero-container { flex-direction: column; text-align: center; }
    .hero-features { align-items: center; }
    .hero-buttons { justify-content: center; }
    .nav-inner { flex-wrap: wrap; gap: 15px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .contact-info p { justify-content: center; }
    .hero-badge { left: 50%; transform: translateX(-50%); width: 80%; }
}
@media (max-width: 600px) {
    .header-inner { flex-direction: column; gap: 15px; }
    .header-phone { align-items: center; }
    .testimonials-grid { grid-template-columns: 1fr; }
}
