:root {
    --navy: #0a204d;
    --gold: #d4af37;
    --text: #333;
    --bg: #f9f9f9;
}

* { margin:0; padding:0; box-sizing:border-box; font-family:'Segoe UI', sans-serif; }
html { scroll-behavior: smooth; }
body { color: var(--text); background: #fff; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.bg-light { background: var(--bg); }
.section-title { text-align: center; font-size: 2.5rem; color: var(--navy); margin-bottom: 50px; }

/* CONTACTO FLOTANTE */
.floating-contact { position: fixed; bottom: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 12px; }
.floating-contact a { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 28px; text-decoration: none; box-shadow: 0 5px 15px rgba(0,0,0,0.3); transition: 0.3s; }
.whatsapp-btn { background: #25d366; }
.call-btn { background: var(--navy); }
.floating-contact a:hover { transform: scale(1.1); }

/* HEADER */
.main-header { position: fixed; top: 0; width: 100%; z-index: 1000; background: var(--navy); box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.trust-bar { background: #071533; color: white; padding: 8px 0; font-size: 0.8rem; }
.trust-flex { display: flex; justify-content: space-between; align-items: center; }
.trust-phone { color: var(--gold); font-weight: bold; font-size: 1rem; }
.bar-social a { color: white; margin-left: 15px; font-size: 1.1rem; }

.nav-flex { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; }
.logo img { height: 60px; }
.nav-links { display: flex; list-style: none; gap: 20px; align-items: center; }
.nav-links a { color: white; text-decoration: none; font-weight: bold; font-size: 0.85rem; text-transform: uppercase; transition: 0.3s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { background: var(--gold); padding: 10px 20px; border-radius: 5px; color: white !important; }
.menu-toggle { display: none; color: white; font-size: 1.8rem; cursor: pointer; }

/* HERO */
.hero-slider { height: 75vh; margin-top: 115px; position: relative; overflow: hidden; background: #000; }
.slide { position: absolute; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: 1.2s ease-in-out; display: flex; align-items: center; justify-content: center; }
.slide.active { opacity: 1; }
.slide::after { content:''; position:absolute; width:100%; height:100%; background:rgba(0,0,0,0.5); }
.hero-content { position: relative; z-index: 10; color: white; text-align: center; }
.hero-content h1 { font-size: 4rem; margin-bottom: 10px; }
.btn-gold { background: var(--gold); color: white; padding: 15px 40px; text-decoration: none; border-radius: 5px; font-weight: bold; display: inline-block; margin-top: 25px; transition: 0.3s; }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4); }

/* NOSOTROS */
.about-flex { display: flex; gap: 60px; flex-wrap: wrap; align-items: flex-start; }
.about-image-stack { flex: 0 0 320px; text-align: center; margin: 0 auto; }
.photo-frame img { width: 100%; border-radius: 15px; border: 5px solid var(--gold); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.about-logo { height: 70px; margin: 25px 0; }
.about-content { flex: 1; min-width: 350px; }
.about-text { text-align: justify; text-justify: inter-word; margin-bottom: 30px; font-size: 1.1rem; }
.divider { width: 70px; height: 5px; background: var(--gold); margin-bottom: 25px; }
.passion-list { background: #fffcf2; padding: 30px; border-radius: 12px; border-left: 6px solid var(--gold); display: grid; gap: 20px; }
.passion-item { display: flex; gap: 20px; align-items: flex-start; }
.passion-item i { color: var(--gold); font-size: 1.5rem; }

/* SERVICIOS */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; }
.service-card { background: white; padding: 40px 20px; border-radius: 15px; text-align: center; transition: 0.4s ease; box-shadow: 0 6px 20px rgba(0,0,0,0.05); border-bottom: 4px solid transparent; }
.service-card i { font-size: 3.5rem; color: var(--navy); margin-bottom: 20px; transition: 0.4s; }
.service-card:hover { transform: translateY(-12px); border-bottom-color: var(--gold); box-shadow: 0 15px 30px rgba(10,32,77,0.1); }
.service-card:hover i { color: var(--gold); transform: scale(1.1); }

/* GALERIA ROBERTO STYLE */
.carousel { position: relative; overflow: hidden; border-radius: 20px; margin-bottom: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.track { display: flex; transition: 0.6s cubic-bezier(0.45, 0, 0.55, 1); }
.item { min-width: 100%; position: relative; }
.item img { width: 100%; height: 550px; object-fit: cover; }
.cap { position: absolute; bottom: 0; width: 100%; background: linear-gradient(transparent, rgba(10,32,77,0.9)); color: white; padding: 30px; text-align: center; }
.c-btn { position: absolute; top: 50%; transform: translateY(-50%); background: var(--gold); border: none; color: white; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; z-index: 10; font-size: 1.2rem; }
.prev { left: 20px; } .next { right: 20px; }
.grid-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.g-thumb img { width: 100%; height: 280px; object-fit: cover; border-radius: 10px; transition: 0.3s; }
.g-thumb img:hover { filter: brightness(1.1); }

/* TESTIMONIOS (4) */
.test-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.t-card { background: white; padding: 30px; border-radius: 15px; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.stars { color: var(--gold); margin-bottom: 15px; font-size: 1.1rem; }

/* FORMULARIO PREMIUM (INDEX & ESTIMATE) */
.estimate-premium-box { background: white; padding: 50px; border-radius: 25px; box-shadow: 0 15px 50px rgba(0,0,0,0.1); max-width: 800px; margin: 0 auto; }
.e-header { text-align: center; margin-bottom: 40px; }
.e-header h2, .e-header h1 { color: var(--navy); font-size: 2.2rem; margin-bottom: 10px; }
.e-header p { color: #666; font-size: 1rem; }
.e-form { text-align: left; }
.e-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.e-group { margin-bottom: 25px; }
.e-group label { display: block; font-weight: bold; margin-bottom: 8px; color: var(--navy); }
.e-group input, .e-group textarea { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 10px; font-size: 1rem; outline: none; transition: 0.3s; }
.e-group input:focus, .e-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 10px rgba(212,175,55,0.1); }
.e-btn { width: 100%; background: var(--navy); color: white; border: none; padding: 20px; border-radius: 10px; font-weight: bold; cursor: pointer; transition: 0.3s; font-size: 1.1rem; letter-spacing: 1px; }
.e-btn:hover { background: #071533; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

/* PÁGINA ESTIMADO INDEPENDIENTE */
.estimate-page-body { background: var(--navy); background-image: linear-gradient(rgba(10,32,77,0.95), rgba(10,32,77,0.95)), url('img/inicio1.png'); background-size: cover; background-attachment: fixed; }
.estimate-full-wrapper { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.shadow-heavy { box-shadow: 0 25px 60px rgba(0,0,0,0.4); }
.form-logo { height: 80px; margin-bottom: 20px; }
.e-back { display: block; text-align: center; margin-top: 25px; color: #777; text-decoration: none; font-weight: bold; }

/* MAPA */
.map-section { line-height: 0; background: #eee; border-top: 5px solid var(--gold); }

/* FOOTER */
.blue-footer { background: var(--navy); color: white; padding: 40px 0; text-align: center; border-top: 5px solid var(--gold); }

@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--navy); flex-direction: column; padding: 30px; }
    .nav-links.active { display: flex; }
    .menu-toggle { display: block; }
    .hero-content h1 { font-size: 2.8rem; }
    .e-row { grid-template-columns: 1fr; }
    .grid-gallery { grid-template-columns: 1fr; }
    .estimate-premium-box { padding: 30px 20px; }
}