/*
Theme Name:   Astra Child
Description:  Astra Child Theme
Author:       John Doe
Author URI:   http://example.com
Template:     astra
*/

@import(../astra/style.css)

/* UTILIDADES BASICAS */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; color: #1A202C; background-color: #ffffff; line-height: 1.5; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
input, select, button, textarea { font-family: 'Poppins', sans-serif; font-size: 16px; }
strong { font-weight: 700; }

/* UTILIDADES DE LAYOUT */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 10; }
.grid { display: grid; gap: 2rem; }
.grid-cols-1 { grid-template-columns: 1fr; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-0 { gap: 0; }
.w-full { width: 100%; }
#main .elementor-element-populated { padding: 0 !important; }

/* UTILIDADES DE TEXTO Y COLOR */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-accent { color: #D9A05B !important; }
.text-brand-dark { color: #1E2C50; }
.text-white { color: #ffffff; }
.text-muted { color: #6B7280; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; }
.font-bold { font-weight: 700; }
.bg-gray { background-color: #F4F6F9; }
.bg-white { background-color: #ffffff; }

/* UTILIDADES DE ESPACIADO */
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 1.5rem; padding-bottom: 2.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.border-t { border-top: 1px solid #e5e7eb; }
.border-b { border-bottom: 1px solid #e5e7eb; }

/* CABECERA Y MENU */
.site-header { position: absolute; top: 0; left: 0; width: 100%; z-index: 100; border-bottom: 1px solid #ffffff1a; background: linear-gradient(to bottom, rgba(30, 44, 80, 0.8), transparent); }
.header-container { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; max-width: 1200px; margin: 0 auto; }
.logo-img { max-height: 45px; object-fit: contain; }
.nav-menu { display: flex; gap: 2rem; align-items: center; margin: 0; padding: 0; list-style: none; }
.nav-link { color: #ffffff; font-weight: 500; font-family: 'Poppins', sans-serif; display: flex; align-items: center; gap: 0.25rem; transition: color 0.2s; }
.nav-link:hover { color: #D9A05B; }
.has-dropdown { position: relative; padding: 1rem 0; }
.dropdown { position: absolute; top: 100%; left: 0; background: #ffffff; min-width: 220px; border-radius: 0.5rem; box-shadow: 0 10px 25px rgba(0,0,0,0.15); opacity: 0; visibility: hidden; transition: all 0.2s; padding: 0.5rem 0; transform: translateY(10px); border: 1px solid #e5e7eb; }
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { color: #1A202C; padding: 0.75rem 1.25rem; display: block; font-size: 14px; font-weight: 500; font-family: 'Poppins', sans-serif; transition: all 0.2s; }
.dropdown a:hover { background: #F4F6F9; color: #D9A05B; padding-left: 1.5rem; }
.mobile-menu-btn { display: none; color: #ffffff; font-size: 28px; background: none; border: none; cursor: pointer; }
.header-cta { display: none; padding: 0.5rem 1rem; font-size: 14px; }

/* BOTONES Y BADGES */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 1rem 1.5rem; border-radius: 0.5rem; font-weight: 600; cursor: pointer; transition: all 0.2s; border: none; font-family: 'Poppins', sans-serif; font-size: 16px; }
.btn-accent { background-color: #D9A05B !important; color: #ffffff !important; box-shadow: 0 10px 15px -3px rgba(217, 160, 91, 0.3) !important; }
.btn-accent:hover { background-color: #b88548 !important; transform: translateY(-2px); }
.btn-outline { background-color: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: #ffffff; }
.btn-outline:hover { background-color: rgba(255,255,255,0.2); }
.badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.badge-hero { background-color: rgba(255,255,255,0.1) !important; border: 1px solid rgba(255,255,255,0.2) !important; backdrop-filter: blur(4px) !important; margin-bottom: 1.5rem !important; color: #ffffff !important; display: inline-flex !important; align-items: center !important; gap: 0.5rem !important; padding: 0.25rem 0.75rem !important; border-radius: 999px !important; font-size: 14px !important; font-weight: 600 !important; text-transform: uppercase !important; letter-spacing: 0.05em !important; font-family: 'Poppins', sans-serif !important; line-height: 1.5 !important; margin-top: 0 !important; }
.badge-light { background-color: rgba(30, 44, 80, 0.1); color: #1E2C50; margin-bottom: 1rem; }

/* SECCION HERO */
.hero-sec { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 8rem 0 4rem; background-color: #2c3543; background-image: url('https://mrmodulos.es/wp-content/uploads/2024/09/production-of-new-wooden-modular-houses-construct-2024-06-26-18-18-52-utc.jpg'); background-size: cover; background-position: center; overflow: hidden; color: #ffffff; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(44, 53, 67, 0.8), rgba(44, 53, 67, 0.6), rgba(44, 53, 67, 0.1)); z-index: 1; }
.hero-title { display: block !important; font-size: 40px !important; font-weight: 800 !important; line-height: 1.1 !important; margin-bottom: 1rem !important; letter-spacing: -0.02em !important; font-family: 'Poppins', sans-serif !important; color: #ffffff !important; text-transform: uppercase !important; }
.hero-sub { display: block; font-size: 24px; color: #d1d5db; font-weight: 500 !important; margin-bottom: 2rem; font-family: 'Poppins', sans-serif !important; }
.hero-p { font-size: 18px; color: #9ca3af; margin-bottom: 2rem; max-width: 600px; font-family: 'Poppins', sans-serif; }
.check-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 16px; font-family: 'Poppins', sans-serif; }
.check-list i { color: #D9A05B !important; font-size: 20px; margin-top: 0.125rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* COMPONENTES DE FORMULARIO */
.form-card { background-color: #ffffff; border-radius: 1rem; padding: 2rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); border: 1px solid #e5e7eb; color: #1A202C; position: relative; z-index: 10; }
.form-title { font-size: 24px; font-weight: 700 !important; color: #1E2C50; margin-bottom: 0.5rem; font-family: 'Poppins', sans-serif !important; }
.form-p { font-size: 14px; color: #6B7280; margin-bottom: 1.5rem; font-family: 'Poppins', sans-serif; }
.input-row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
.input-group { display: flex; flex-direction: column; margin-bottom: 1rem; }
.input-label { font-size: 14px; font-weight: 500; margin-bottom: 0.25rem; font-family: 'Poppins', sans-serif; }
.input-field { width: 100%; padding: 0.75rem 1rem; border-radius: 0.5rem; border: 1px solid #d1d5db; background-color: #f9fafb; outline: none; transition: border-color 0.2s; color: #1A202C; font-family: 'Poppins', sans-serif; font-size: 16px; }
.input-field:focus { border-color: #D9A05B; }
.checkbox-group { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1.5rem; cursor: pointer; }
.checkbox-group input { margin-top: 0.25rem; width: 1.25rem; height: 1.25rem; accent-color: #D9A05B; }
.checkbox-text { font-size: 12px; color: #6B7280; font-family: 'Poppins', sans-serif; }
.checkbox-text a { color: #D9A05B; text-decoration: underline; }
.form-note { text-align: center; font-size: 12px; color: #9ca3af; margin-top: 1rem; font-family: 'Poppins', sans-serif; }

/* SECCION MARCAS Y LOGOS */
.logos-label { text-align: center; font-size: 14px; font-weight: 600; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; font-family: 'Poppins', sans-serif; }
.logos-wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem; opacity: 0.6; filter: grayscale(100%); }
.logo-item { font-size: 20px; font-weight: 800; color: #4b5563; display: flex; align-items: center; gap: 0.5rem; font-family: 'Poppins', sans-serif; }
.logo-border { border: 2px solid #4b5563; padding: 0.25rem 0.5rem; text-transform: uppercase; letter-spacing: 0.1em; font-size: 16px; font-family: 'Poppins', sans-serif; }

/* ENCABEZADOS DE SECCION */
.sec-header { text-align: center; max-width: 800px; margin: 0 auto 3rem; }
.sec-title { font-size: 30px; font-weight: 700 !important; color: #1E2C50 !important; margin-bottom: 1rem; font-family: 'Poppins', sans-serif !important; }
.sec-p { font-size: 18px; color: #6B7280; font-family: 'Poppins', sans-serif; }

/* SECCION PASOS (STEPS) */
.step-card { position: relative; overflow: hidden; background: #ffffff; border-radius: 1rem; padding: 2rem; border: 1px solid #F4F6F9; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); transition: box-shadow 0.3s; }
.step-card:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.step-num { width: 3rem; height: 3rem; background: #1E2C50; color: #ffffff; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; margin-bottom: 1.5rem; font-family: 'Poppins', sans-serif; position: relative; z-index: 10; }
.step-num-accent { background: #D9A05B; box-shadow: 0 4px 10px rgba(217, 160, 91, 0.4); }
.step-title { font-size: 20px; font-weight: 700; color: #1E2C50; margin-bottom: 0.75rem; font-family: 'Poppins', sans-serif; position: relative; z-index: 10; }
.step-text { color: #6B7280; font-size: 15px; font-family: 'Poppins', sans-serif; position: relative; z-index: 10; }
.step-watermark { position: absolute; bottom: -30px; right: 10px; font-size: 160px; font-weight: 900; color: #e5e7eb; line-height: 1; z-index: 0; user-select: none; opacity: 0.6; font-family: 'Poppins', sans-serif; pointer-events: none; }

/* SECCION CARACTERISTICAS (FEATURES) */
.feature-row { display: flex; gap: 1rem; margin-bottom: 2rem; }
.feature-icon-box { flex-shrink: 0; width: 3rem; height: 3rem; background: #F4F6F9; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #1E2C50; }
.feature-content h3 { font-size: 20px; font-weight: 700; color: #1E2C50; margin-bottom: 0.5rem; font-family: 'Poppins', sans-serif; }
.feature-content p { color: #6B7280; margin-bottom: 0.5rem; font-size: 15px; font-family: 'Poppins', sans-serif; }
.feature-tag { display: inline-flex; align-items: center; gap: 0.25rem; color: #D9A05B; font-size: 14px; font-weight: 600; font-family: 'Poppins', sans-serif; }

/* GALERIA COLLAGE */
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; position: relative; margin-top: 2rem; }
.img-main { width: 100%; height: 26rem; object-fit: cover; border-radius: 1rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.img-stack { display: flex; flex-direction: column; gap: 1rem; }
.img-sub { width: 100%; height: 12.5rem; object-fit: cover; border-radius: 1rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.exp-badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #ffffff; padding: 1rem; border-radius: 1rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); display: flex; align-items: center; gap: 0.75rem; border: 1px solid #F4F6F9; z-index: 10; white-space: nowrap; }
.exp-icon { width: 3rem; height: 3rem; background: rgba(217, 160, 91, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #D9A05B; font-size: 24px; }
.exp-text strong { display: block; font-size: 18px; color: #1E2C50; line-height: 1; font-family: 'Poppins', sans-serif; }
.exp-text span { font-size: 12px; color: #6B7280; font-family: 'Poppins', sans-serif; }

/* SECCION TARJETAS SOLUCIONES */
.sol-card { position: relative; border-radius: 1rem; overflow: hidden; aspect-ratio: 4/3; background: #e5e7eb; cursor: pointer; }
.sol-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.sol-card:hover img { transform: scale(1.05); }
.sol-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30, 44, 80, 0.9), transparent); }
.sol-content { position: absolute; bottom: 0; left: 0; padding: 1.5rem; color: #ffffff; z-index: 2; }
.sol-content i { font-size: 32px; color: #D9A05B; margin-bottom: 0.5rem; display: block; }
.sol-content h3 { font-size: 20px; font-weight: 700 !important; margin-bottom: 0.25rem; font-family: 'Poppins', sans-serif !important; }
.sol-content p { font-size: 14px; color: #d1d5db; font-family: 'Poppins', sans-serif !important; }

/* SECCION TESTIMONIO / QUOTE */
.quote-sec { position: relative; padding: 6rem 0; background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?q=80&w=2069&auto=format&fit=crop'); background-size: cover; background-position: center; background-attachment: fixed; text-align: center; color: #ffffff; }
.quote-overlay { position: absolute; inset: 0; background-color: rgba(30, 44, 80, 0.9); z-index: 1; }
.quote-content { position: relative; z-index: 10; max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.quote-icon { font-size: 48px; color: #D9A05B; line-height: 1; }
.quote-text { font-size: 24px; font-weight: 500; font-style: italic; font-family: 'Poppins', sans-serif; line-height: 1.6; margin-bottom: 0.5rem; }
.quote-author { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #d1d5db; font-family: 'Poppins', sans-serif; }
.quote-author span { color: #D9A05B; }

/* SECCION COBERTURA (OSCURA) */
.cobertura-sec { background-color: #1E2C50; color: #ffffff; padding: 4rem 0; }
.bloque-paginas { margin-bottom: 2.5rem; }
.bloque-paginas:last-child { margin-bottom: 0; }
.bloque-paginas h2.titulo-listado { font-size: 24px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #ffffff; font-family: 'Poppins', sans-serif; display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 1rem; }

/* ESTILOS LISTADO DE PAGINAS (HIJAS/HERMANAS) DINAMICO */
.bloque-paginas ul.lista-enlaces { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important; gap: 0.85rem !important; list-style: none !important; padding: 0 !important; margin: 0 !important; }
.bloque-paginas ul.lista-enlaces li { display: block !important; margin: 0 !important; padding: 0 !important; }
.bloque-paginas ul.lista-enlaces a, ul.lista-enlaces a, ul.lista-hermanas a, ul.lista-hijas a { display: flex !important; align-items: center !important; gap: 0.6rem !important; color: #ffffff !important; text-decoration: none !important; font-family: 'Poppins', sans-serif !important; font-size: 14px !important; font-weight: 500 !important; background-color: rgba(255, 255, 255, 0.05) !important; padding: 0.85rem 1.1rem !important; border-radius: 0.5rem !important; transition: all 0.25s ease-in-out !important; border: 1px solid rgba(217, 160, 91, 0.25) !important; box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important; }
.bloque-paginas ul.lista-enlaces a::before, ul.lista-enlaces a::before, ul.lista-hermanas a::before, ul.lista-hijas a::before { content: "›" !important; color: #D9A05B !important; font-size: 18px !important; font-weight: 800 !important; line-height: 1 !important; transition: transform 0.2s ease !important; }
.bloque-paginas ul.lista-enlaces a:hover, ul.lista-enlaces a:hover, ul.lista-hermanas a:hover, ul.lista-hijas a:hover { background-color: #D9A05B !important; color: #ffffff !important; box-shadow: 0 8px 20px rgba(217, 160, 91, 0.4) !important; transform: translateY(-3px) !important; border-color: #D9A05B !important; font-weight: 600 !important; }
.bloque-paginas ul.lista-enlaces a:hover::before, ul.lista-enlaces a:hover::before, ul.lista-hermanas a:hover::before, ul.lista-hijas a:hover::before { color: #ffffff !important; transform: translateX(3px) !important; }

/* BLOQUE SEO COBERTURA (ACF) */
.seo-content-grid { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid rgba(255,255,255,0.1); }
.seo-img { width: 100%; height: 100%; max-height: 400px; object-fit: cover; border-radius: 1rem; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.5); }
.seo-text-block h2 { font-size: 28px; font-weight: 700; color: #ffffff; margin-bottom: 1rem; font-family: 'Poppins', sans-serif; line-height: 1.2; }
.seo-text-block p { color: #d1d5db; margin-bottom: 1rem; font-size: 16px; line-height: 1.6; font-family: 'Poppins', sans-serif; }
.seo-text-block h3 { font-size: 20px; font-weight: 600; color: #D9A05B; margin-bottom: 0.75rem; margin-top: 1.5rem; font-family: 'Poppins', sans-serif; }

/* FOOTER */
.footer { background: #F4F6F9; padding: 4rem 0 2rem; border-top: 1px solid #e5e7eb; }
.footer-logo { font-size: 30px; font-weight: 900; color: #1E2C50; line-height: 1.1; margin-bottom: 0.5rem; letter-spacing: -0.05em; font-family: 'Poppins', sans-serif; }
.footer-desc { font-size: 14px; color: #6B7280; max-width: 300px; margin-bottom: 1.5rem; font-family: 'Poppins', sans-serif; }
.socials { display: flex; gap: 1rem; }
.social-link { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #ffffff; border: 1px solid #e5e7eb; display: flex; align-items: center; justify-content: center; color: #1E2C50; transition: all 0.2s; }
.social-link:hover { background: #D9A05B; border-color: #D9A05B; color: #ffffff; }
.footer-title { font-weight: 700; color: #1E2C50; text-transform: uppercase; font-size: 14px; letter-spacing: 0.05em; margin-bottom: 1rem; font-family: 'Poppins', sans-serif; }
.footer-list { display: flex; flex-direction: column; gap: 0.75rem; font-size: 14px; color: #6B7280; font-family: 'Poppins', sans-serif; }
.footer-list li { display: flex; align-items: center; gap: 0.5rem; }
.footer-list a:hover { color: #D9A05B; }
.copyright { text-align: center; font-size: 12px; color: #9ca3af; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid #e5e7eb; font-family: 'Poppins', sans-serif; }

/* MEDIA QUERIES REDESIGN */
@media (min-width: 640px) { .input-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .grid-md-2 { grid-template-columns: repeat(2, 1fr); } .grid-md-3 { grid-template-columns: repeat(3, 1fr); } .logos-wrap { gap: 4rem; } .footer-main { grid-template-columns: 2fr 1fr 1fr; } .hero-title { font-size: 56px !important; } .hero-sub { font-size: 28px; } .sec-title { font-size: 32px; } .header-cta { display: inline-flex; } }
@media (min-width: 1024px) { .grid-lg-2 { grid-template-columns: repeat(2, 1fr); } .grid-lg-3 { grid-template-columns: repeat(3, 1fr); } .grid-lg-4 { grid-template-columns: repeat(4, 1fr); } .collage { margin-top: 0; } .hero-title { font-size: 72px !important; } .hero-sub { font-size: 30px; } .sec-title { font-size: 36px; } }
@media (max-width: 767px) { .nav-menu { display: none; } .mobile-menu-btn { display: block; } .header-container { padding: 1rem; } }