/* ============================================
   Nano Nex - Estilos compartidos de landings
   (misma paleta y tipografía que la home)
   ============================================ */
:root {
    --primary: #E63E2B;
    --primary-gradient: linear-gradient(135deg, #FF7A00 0%, #D92525 100%);
    --secondary: #002B5C;
    --text: #333333;
    --light-bg: #F4F6F8;
    --white: #ffffff;
    --gold: #FFC107;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --success: #28a745;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; color: var(--text); line-height: 1.7; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* TOPBAR */
.topbar {
    background: var(--secondary); color: var(--white);
    position: fixed; width: 100%; top: 0; left: 0; z-index: 1001; height: 34px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; font-weight: 600; letter-spacing: 0.5px; padding: 0 10px;
    text-align: center; white-space: nowrap; overflow: hidden;
}
.tb-short { display: none; }

/* HEADER */
header {
    background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed; width: 100%; top: 34px; z-index: 1000; height: 90px;
    display: flex; align-items: center; justify-content: space-between; padding: 0 5%;
}
.logo img { height: 70px; width: auto; }
.header-right { display: flex; align-items: center; gap: 18px; }
.nav-menu { display: flex; gap: 26px; }
.nav-menu a { font-family: 'Montserrat', sans-serif; font-weight: 600; color: var(--secondary); transition: 0.2s; }
.nav-menu a:hover { color: var(--primary); }
.phone-btn {
    background: var(--secondary); color: var(--white); padding: 10px 20px;
    border-radius: 50px; font-weight: 700; display: flex; align-items: center; gap: 10px; transition: 0.3s;
}
.phone-btn:hover { background: var(--primary); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1002; }
.menu-toggle span { display: block; width: 26px; height: 3px; background: var(--secondary); border-radius: 3px; margin: 5px 0; transition: 0.3s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* HERO LANDING */
.hero-landing {
    background-image: linear-gradient(rgba(0,0,0,0.72), rgba(0,0,0,0.72)), url('Limpieza-de-Hollin.webp');
    background-size: cover; background-position: center;
    min-height: 60vh; display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--white); margin-top: 124px; padding: 60px 20px;
}
.hero-landing-content { max-width: 820px; }
.hero-landing h1 { font-size: 2.5rem; margin-bottom: 18px; text-transform: uppercase; line-height: 1.2; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero-landing p { font-size: 1.2rem; margin-bottom: 28px; font-weight: 600; }

.cta-btn {
    background: var(--primary-gradient); color: var(--white); padding: 16px 40px;
    font-size: 1.1rem; font-weight: 800; border-radius: 50px;
    box-shadow: 0 5px 20px rgba(230, 62, 43, 0.6); border: none; cursor: pointer; transition: 0.3s;
    text-transform: uppercase; letter-spacing: 1px; display: inline-block;
}
.cta-btn:hover { transform: scale(1.05); }

/* BREADCRUMB */
.breadcrumb { background: var(--light-bg); padding: 14px 5%; font-size: 0.9rem; color: #666; }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 6px; color: #888; }

/* LAYOUT CONTENIDO */
.wrap { max-width: 1150px; margin: 0 auto; padding: 0 5%; }
.layout { display: flex; flex-wrap: wrap; gap: 40px; padding: 60px 0; }
.content { flex: 1; min-width: 320px; }
.sidebar { width: 320px; flex-shrink: 0; }
@media (max-width: 900px) { .sidebar { width: 100%; } }

.content h2 { color: var(--secondary); font-size: 1.7rem; margin: 35px 0 15px; }
.content h3 { color: var(--primary); font-size: 1.25rem; margin: 25px 0 10px; }
.content p { margin-bottom: 16px; }
.content ul.bullets { margin: 0 0 18px 0; }
.content ul.bullets li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.content ul.bullets li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.content ol { margin: 0 0 18px 22px; }
.content ol li { margin-bottom: 10px; }

.landing-img { width: 100%; border-radius: 14px; box-shadow: var(--shadow); margin: 20px 0; height: auto; }

.quick-answer { background: #fff5f2; border-left: 5px solid var(--primary); padding: 20px 24px; border-radius: 10px; margin: 10px 0 25px; }
.quick-answer strong { color: var(--primary); }

/* TABLA */
table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.95rem; }
th, td { border: 1px solid #e3e3e3; padding: 12px; text-align: left; }
th { background: var(--secondary); color: var(--white); }
tr:nth-child(even) td { background: var(--light-bg); }

/* FAQ */
.faq-item { background: var(--white); border-radius: 10px; margin-bottom: 14px; padding: 18px 20px; box-shadow: 0 2px 6px rgba(0,0,0,0.05); }
.faq-item h3 { color: var(--secondary); font-size: 1.1rem; margin-bottom: 8px; }

/* SIDEBAR BLOQUES */
.side-box { background: var(--white); border: 1px solid #eee; border-radius: 14px; padding: 24px; margin-bottom: 24px; box-shadow: var(--shadow); }
.side-box.cta-box { background: var(--secondary); color: var(--white); text-align: center; }
.side-box.cta-box .cta-btn { width: 100%; margin-top: 12px; }
.side-box h3 { color: var(--secondary); font-size: 1.1rem; margin-bottom: 14px; }
.side-box.cta-box h3 { color: var(--white); }
.side-links a { display: block; padding: 8px 0; border-bottom: 1px dashed #eee; color: var(--secondary); font-weight: 600; transition: 0.2s; }
.side-links a:hover { color: var(--primary); padding-left: 6px; }
.side-links a::before { content: '→ '; color: var(--primary); }

/* CHIPS (zonas sin landing) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips span { background: #f0f0f0; padding: 5px 14px; border-radius: 20px; font-size: 0.88rem; color: #555; }
.chips a { background: #fff0ec; color: var(--primary); padding: 5px 14px; border-radius: 20px; font-size: 0.88rem; font-weight: 700; }

/* FORM */
.form-section { background: var(--light-bg); padding: 60px 5%; }
.form-card { max-width: 640px; margin: 0 auto; background: var(--white); border-radius: 18px; box-shadow: 0 10px 30px rgba(0,0,0,0.12); padding: 40px; }
.form-card h2 { color: var(--secondary); text-align: center; margin-bottom: 6px; }
.form-card .lead { text-align: center; font-weight: 700; color: var(--primary); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--secondary); }
.form-group input { width: 100%; padding: 14px; border: 2px solid #e0e0e0; border-radius: 10px; font-size: 1rem; }
.form-group input[type="checkbox"] { width: auto; }
.form-group input:focus { border-color: var(--primary); outline: none; }
#success-banner { display: none; background: var(--success); color: #fff; padding: 16px; border-radius: 10px; margin-bottom: 18px; text-align: center; font-weight: bold; }

/* FOOTER */
footer { background: #051429; color: #ccc; padding: 60px 5% 20px; }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; max-width: 1150px; margin: 0 auto; padding-bottom: 30px; border-bottom: 1px solid #ffffff20; }
.footer-col h4 { color: var(--white); margin-bottom: 18px; font-size: 1.15rem; }
.footer-links a { display: block; margin-bottom: 10px; color: #cfd6df; transition: 0.3s; }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.footer-bottom { text-align: center; font-size: 0.8rem; color: #c2cad4; margin-top: 20px; }
.footer-grupo { text-align: center; font-size: 0.75rem; color: #b6bfca; margin-top: 10px; }
.footer-grupo a { color: #dbe1e8; text-decoration: underline; }

/* BOTONES FLOTANTES */
.whatsapp-float, .call-float {
    position: fixed; width: 60px; height: 60px; right: 25px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3); z-index: 999; transition: transform 0.3s; color: #fff;
}
.whatsapp-float { bottom: 25px; background-color: #25d366; }
.call-float { bottom: 95px; background-color: var(--primary); font-size: 1.6rem; }
.whatsapp-float:hover, .call-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 36px; height: 36px; display: block; }

/* Menú: hamburguesa por debajo de 900px (evita solapes en tablet) */
@media (max-width: 900px) {
    .menu-toggle { display: block; }
    .nav-menu {
        display: none; position: fixed; top: 124px; left: 0; width: 100%;
        background: var(--white); flex-direction: column; gap: 0;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15); padding: 10px 0; z-index: 1001;
    }
    .nav-menu.open { display: flex; }
    .nav-menu a { padding: 15px 8%; border-bottom: 1px solid #f0f0f0; font-size: 1.1rem; }
}

@media (max-width: 768px) {
    .topbar { font-size: 0.78rem; letter-spacing: 0; padding: 0 8px; }
    .tb-full { display: none; }
    .tb-short { display: inline; }
    .hero-landing h1 { font-size: 1.8rem; }
    .header-contact { display: none; }
    .cta-btn { padding: 14px 26px; font-size: 1rem; }
}

/* ===== BLOG ===== */
.byline { color: #6b6b6b; font-size: 0.9rem; margin-bottom: 8px; }
.byline strong { color: var(--secondary); }
.article-cat { display: inline-block; background: var(--primary); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px; }
.content blockquote { border-left: 4px solid var(--gold); background: #fffdf5; padding: 14px 20px; margin: 18px 0; font-style: italic; color: #555; border-radius: 0 10px 10px 0; }
.blog-card { background: #fff; border: 1px solid #eee; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-6px); }
.blog-card .bc-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card h3 { color: var(--secondary); font-size: 1.2rem; margin-bottom: 10px; }
.blog-card p { color: #666; font-size: 0.95rem; margin-bottom: 16px; flex: 1; }
.blog-card a.read { color: var(--primary); font-weight: 700; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }

/* ===== BARRA CTA MÓVIL (sustituye a los botones flotantes en móvil) ===== */
.mobile-cta-bar { display: none; }
@media (max-width: 768px) {
    .call-float, .whatsapp-float { display: none !important; }
    .mobile-cta-bar {
        display: flex; position: fixed; bottom: 0; left: 0; width: 100%;
        z-index: 1000; box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    }
    .mobile-cta-bar a {
        flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
        padding: 15px 8px; color: #fff; font-weight: 700; font-size: 1.05rem; font-family: 'Montserrat', sans-serif;
    }
    .mobile-cta-bar .mcb-call { background: var(--primary); }
    .mobile-cta-bar .mcb-wa { background: #25d366; }
    .mobile-cta-bar svg { width: 22px; height: 22px; }
    footer { padding-bottom: 80px; }
}
