/* Estilos compartidos entre todas las páginas de digmastu.com
   (header, navegación, footer). Cada página conserva sus propios
   estilos específicos de contenido en su propio <style>. */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #121212;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 40px;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 50px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.header-left {
    display: flex;
    gap: 20px;
    font-size: 1.2rem;
    color: #ffffff;
}

nav.menu {
    display: flex;
    gap: 40px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 1px;
    flex-wrap: wrap;
    justify-content: center;
}

nav.menu a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

nav.menu a.active, nav.menu a:hover {
    color: #e4f061;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn-agencia {
    background-color: #e4f061;
    color: #000000;
    border: 2px solid #e4f061;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 1px;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 0 25px rgba(228, 240, 97, 0.5);
    transition: all 0.25s ease;
}

.btn-agencia:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 35px rgba(228, 240, 97, 0.8);
}

@media (max-width: 1024px) {
    .btn-agencia {
        font-size: 1.3rem;
        padding: 12px 26px;
    }
}

.code-icon {
    background-color: #3131b4;
    color: #ffffff;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 1.1rem;
    position: relative;
}

.code-icon::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 10px;
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: #3131b4 transparent transparent transparent;
}

.logo-img {
    height: 60px;
    object-fit: contain;
}

@media (max-width: 1024px) {
    header {
        flex-direction: column;
        gap: 25px;
    }
    nav.menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

/* Footer compartido */
.site-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 30px 0 10px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'Poppins', sans-serif;
}

.site-footer .website-url {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 1px;
}

.site-footer .social-icons {
    display: flex;
    gap: 15px;
}

.site-footer .social-icons a {
    color: #e4f061;
    text-decoration: none;
    transition: transform 0.2s;
}

.site-footer .social-icons a:hover {
    transform: scale(1.1);
}

.site-footer .social-icons svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.site-footer .copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 600px) {
    .site-footer {
        flex-direction: column;
        text-align: center;
    }
}
