/* --- RESETEO --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* --- ESTRUCTURA PARA EL FOOTER --- */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
}

.content {
    flex: 1 0 auto; 
    padding: 40px 20px;
    text-align: center;
}

/* --- HEADER --- */
.black-bar {
    background-color: #000;
    padding: 10px 0;
    display: flex;
    justify-content: center;
}

.top-logo {
    height: 52px;
}

/* --- TÍTULO Y SEPARADORES --- */
.separator-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 20px auto;
}

.line {
    flex: 1;
    border: none;
    height: 1px;
    background-color: #e0e0e0;
}

.main-title {
    padding: 0 20px;
    font-size: 22px;
    font-weight: bold;
}

.tagline {
    color: #888;
    font-size: 14px;
    margin: 32px 0;
}

.italic { font-style: italic; }

/* --- TARJETAS (GRID RESPONSIVE) --- */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    max-width: 1100px;
    margin: 40px auto;
}

.card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 40px 20px;
    width: 320px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card h2 {
    font-size: 22px;
    margin-bottom: 15px;
}

.card p {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
}

/* --- BOTONES --- */
.buttons {
    display: flex;
    gap: 10px;
}

.btn-black {
    background: #000;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    transition: 0.3s;
}

.btn-black:hover {
    background: #333;
}

/* --- FOOTER --- */
.footer-black {
    background-color: #000;
    height: 90px; 
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.footer-info {
    background-color: #111;
    padding: 15px 30px;
    border-radius: 5px;
    color: #555;
    font-size: 13px;
    display: flex;
    gap: 15px;
}

.divider { color: #333; }


.main-instagram-container {
    width: 100%;
    display: flex;
    justify-content: center; 
    margin-top: 72px;       
    margin-bottom: 20px;    
}

.btn-main-instagram {
    display: inline-block;
    background-color: #000; 
    color: #fff;             
    text-decoration: none;   
    padding: 12px 24px;     
    border-radius: 6px;     
    font-weight: bold;      
    font-size: 15px;         
    transition: 0.3s;       
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
}


.btn-main-instagram:hover {
    background-color: #333;  
    box-shadow: 0 6px 12px rgba(0,0,0,0.15); 
    transform: translateY(-1px); 
}


@media (max-width: 768px) {
    .main-instagram-container {
        margin-top: 10px; 
        margin-bottom: 30px;
    }
}


/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .card {
        width: 100%;
        max-width: 350px;
    }
    
    .main-title {
        font-size: 18px;
    }

    .footer-info {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .divider { display: none; }
}