/* ===== CSS/nosotros.css | Amazonía Viajes - VERSIÓN AISLADA ===== */

/* 1. OBLIGAR AL MAIN A IGNORAR RESTRICCIONES GLOBALES */
.nw-main { max-width: 100% !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
.nw-container { max-width: 1400px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }

/* 2. HERO (Texto nítido + overlay seguro) */
.nw-hero {
    position: relative; min-height: 55vh; display: flex; align-items: center; justify-content: center;
    text-align: center; color: #fff; overflow: hidden;
    max-width: var(--max-width);
    margin: 0 auto;
}
.nw-hero::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: url('/PICTURES/FRECUENTES/nosotros-hero.webp') center/cover no-repeat;
    filter: brightness(1.06); /* Oscurece la foto sin afectar el texto */
}
.nw-hero .nw-container { position: relative; z-index: 2; }
.nw-hero__title {
    font-size: clamp(2.5rem, 5vw, 3.8rem); font-weight: 800; margin-bottom: 15px;
    /* Efecto stroke compatible con todos los navegadores */
    text-shadow: 0 0 4px #000, 2px 2px 0 #000, -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000;
}
.nw-hero__text {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem); max-width: 700px; margin: 0 auto;
    text-shadow: 0 0 4px #000, 1px 1px 0 #000; opacity: 1;
}

/* 3. SECCIONES BASE */
.nw-section { padding: 80px 0; }
.nw-bg-alt { background: #f5f7f5; }
.nw-header-center { text-align: center; margin-bottom: 40px; }
.nw-badge {
    display: inline-block; padding: 6px 16px; background: rgba(13,145,28,0.1);
    color: #0d911c; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 15px;
}
.nw-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.nw-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.nw-text p { margin-bottom: 15px; line-height: 1.7; color: #444; }
.nw-highlight { font-weight: 600; color: #0d911c; border-left: 4px solid #e8c046; padding-left: 15px; }
.nw-image img { width: 100%; border-radius: 16px; box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.nw-card, .nw-team {
    background: #fff; padding: 25px; border-radius: 12px; text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: transform 0.3s;
}
.nw-card:hover, .nw-team:hover { transform: translateY(-5px); }
.nw-icon { font-size: 2.5rem; margin-bottom: 15px; }
.nw-photo { height: 180px; overflow: hidden; border-radius: 12px; margin-bottom: 15px; }
.nw-photo img { width: 100%; height: 100%; object-fit: cover; }
.nw-role { display: block; font-size: 0.9rem; color: #0d911c; margin-top: 5px; font-weight: 500; }

/* 4. CTA FINAL: ANCHO COMPLETO 100% GARANTIZADO */
.nw-full-bg {
    /* ✅ Esta es la clave: usa DIV, no SECTION. Ignora las reglas de globales.css */
    max-width: var(--max-width);
margin: 0 auto;
    background: linear-gradient(135deg, #023877 0%, #0a2a12 100%);
    color: #fff;
    padding: 80px 20px;
    box-sizing: border-box;
    overflow: visible;
}
.nw-cta-content { max-width: 1400px; margin: 0 auto; text-align: center; }
.nw-cta-content h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 15px; }
.nw-cta-content p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }
.nw-cta-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

.nw-btn {
    display: inline-flex; align-items: center; padding: 12px 28px; border-radius: 50px;
    font-weight: 600; text-decoration: none; transition: all 0.3s; cursor: pointer; border: none;
}
.nw-btn--primary { background: #0d911c; color: #fff; box-shadow: 0 4px 15px rgba(13,145,28,0.4); }
.nw-btn--primary:hover { background: #e8c046; color: #1a1a1a; transform: translateY(-3px); }
.nw-btn--secondary { background: transparent; color: #fff !important; border: 2px solid rgba(255,255,255,0.8); }
.nw-btn--secondary:hover { background: rgba(255,255,255,0.15); border-color: var(--backg-rs); transform: translateY(-3px); }

/* RESPONSIVE */
@media (max-width: 900px) {
    .nw-grid-2 { grid-template-columns: 1fr; }
    .nw-hero { min-height: 45vh; }
}

/* ===== CTA FINAL para nosotros.php (clases nw-) ===== */
.nw-cta-full {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: linear-gradient(135deg, #023877 0%, #0a2a12 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
    box-sizing: border-box;
}
.nw-cta-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}
.nw-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.nw-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    min-width: 200px;
    justify-content: center;
}
.nw-btn--primary {
    background: #0d911c;
    color: white;
    box-shadow: 0 4px 15px rgba(13,145,28,0.4);
}
.nw-btn--primary:hover {
    background: #e8c046;
    color: #1a1a1a;
    transform: translateY(-3px);
}
.nw-btn--secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.8);
}
.nw-btn--secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
    transform: translateY(-3px);
}