* {
    box-sizing: border-box;
}

/* 🔥 FIX GLOBAL (clave) */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    background: radial-gradient(circle at top, #1a1a1a, #000000 80%);
    color: white;
}

/* CONTENEDOR */
.container {
    max-width: 850px;
    margin: 60px auto;
    padding: 50px;

    background: linear-gradient(145deg, #020c45, #00357a);
    border-radius: 20px;

    border: 1px solid rgba(225,202,175,0.4);

    box-shadow: 
        0 0 40px rgba(0,0,0,0.8),
        inset 0 0 40px rgba(255,255,255,0.05);

    text-align: center;
}

/* IMÁGENES */
img {
    max-width: 100%;
    height: auto;
}

/* LOGO */
.logo {
    width: 380px;
    margin-bottom: 15px;
}

/* TITULO */
.title-main {
    font-family: 'Cinzel', serif;
    font-size: 42px;
    letter-spacing: 4px;
    margin: 0;
}

/* SUB */
.sub-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 5px 0 25px;
}

.sub {
    color: #e1caaf;
    letter-spacing: 3px;
    font-size: 18px;
}

/* LINEAS */
.line-deco {
    position: relative;
    width: 60px;
    height: 1px;
    background: #e1caaf;
}

.line-deco::after {
    content: "";
    position: absolute;
    right: -6px;
    top: -3px;
    border: 5px solid transparent;
    border-left-color: #e1caaf;
}

.line-deco:first-child::after {
    left: -6px;
    right: auto;
    border-left-color: transparent;
    border-right-color: #e1caaf;
}

/* PERFIL */
.profile {
    margin: 20px 0;
}

.circle-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 20px auto;
    background: url('abog.png') center/cover;
    border: 2px solid #e1caaf;
}

/* NOMBRE */
.name {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    margin: 10px 0 5px;
}

/* ROL */
.role {
    color: #e1caaf;
    font-size: 14px;
}

/* DESCRIPCIÓN */
.description {
    max-width: 600px;
    margin: 20px auto;
    line-height: 1.6;
    color: #ddd;
}

/* BOTONES */
.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.btn {
    padding: 12px 20px;
    border: 1px solid #e1caaf;
    border-radius: 8px;
    color: #e1caaf;
    text-decoration: none;
    transition: 0.3s;
}

.btn.full {
    width: 60%;
}

.btn:hover {
    background: #e1caaf;
    color: #020c45;
}

/* SECCION */
.section {
    margin-top: 40px;
}

.section h3 {
    font-family: 'Cinzel', serif;
    color: #e1caaf;
}

/* MAPA */
iframe {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    margin-top: 15px;
    border: none;
}

/* ===== RESPONSIVE REAL ===== */
@media (max-width: 768px) {

    /* CONTENEDOR SIN DESBORDE */
    .container {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 25px 15px;
        border-radius: 0;
    }

    /* LOGO */
    .logo {
        width: 180px;
    }

    /* TEXTOS */
    .title-main {
        font-size: 26px;
        letter-spacing: 2px;
    }

    .sub {
        font-size: 14px;
    }

    .name {
        font-size: 18px;
    }

    .role {
        font-size: 13px;
    }

    .description {
        font-size: 14px;
        line-height: 1.5;
    }

    /* 🔥 BOTONES COMO QUIERES */
    .buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 14px;
        font-size: 15px;
    }

    /* WhatsApp grande */
    .btn.full {
        grid-column: span 2;
        width: 100%;
    }

    /* PERFIL */
    .circle-image {
        width: 90px;
        height: 90px;
    }

    /* MAPA */
    iframe {
        height: 180px;
    }
}