@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-bottom: 84px;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    color: #1e293b;
}

*, *::before, *::after { box-sizing: border-box; }
img, video, iframe { max-width: 100%; }
section, header, nav, footer, main { max-width: 100%; }

.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width .3s;
}

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.logo-top {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #64748b;
    line-height: 1;
}

.logo-mid {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.01em;
    color: #1e3a8a;
    line-height: 1.1;
    text-transform: uppercase;
}

.logo-bot {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3b82f6;
    line-height: 1;
}

.bottom-contact-menu {
    position: fixed;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 100;
    width: min(calc(100% - 24px), 520px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    background: rgba(15, 23, 42, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.28);
    backdrop-filter: blur(14px);
}

.bottom-contact-menu a {
    min-width: 0;
    min-height: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 13px;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    transition: transform .2s ease, background .2s ease;
}

.bottom-contact-menu a:hover { transform: translateY(-2px); }
.bottom-contact-menu i { font-size: 18px; }
.bottom-contact-menu .bottom-whatsapp { background: #16a34a; }
.bottom-contact-menu .bottom-phone { background: #2563eb; }
.bottom-contact-menu .bottom-mail { background: #0f766e; }
.bottom-contact-menu .bottom-maps { background: #f8fafc; color: #1e3a8a; }

#mobile-menu {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

#mobile-menu.translate-x-full { pointer-events: none; }

.blog-prose h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #172554;
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.blog-prose h3 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: #1e3a8a;
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
}

.blog-prose p,
.blog-prose li {
    color: #475569;
    font-size: 1.03rem;
    line-height: 1.9;
}

.blog-prose p + p { margin-top: 1.1rem; }

.blog-prose strong { color: #172554; }

.blog-prose ul {
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: grid;
    gap: 0.8rem;
}

.blog-figure {
    margin: 2.4rem 0;
}

.blog-figure img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.blog-figure figcaption {
    margin-top: 0.75rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.blog-figure-grid {
    margin: 2.4rem 0;
    display: grid;
    gap: 1rem;
}

.blog-figure-grid img {
    width: 100%;
    height: 18rem;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.blog-hero-card {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.96), rgba(15, 23, 42, 0.98));
}

.blog-article-card {
    border-radius: 2.5rem;
}

@media (min-width: 768px) {
    body { padding-bottom: 0; }

    .blog-figure-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bottom-contact-menu {
        left: auto;
        right: 18px;
        bottom: 24px;
        transform: none;
        width: 52px;
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 7px;
        background: rgba(15, 23, 42, 0.72);
        border-radius: 999px;
        box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22);
    }

    .bottom-contact-menu a {
        width: 38px;
        height: 38px;
        min-height: 38px;
        border-radius: 999px;
        font-size: 0;
        gap: 0;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
    }

    .bottom-contact-menu a:hover { transform: translateX(-4px) scale(1.04); }
    .bottom-contact-menu i { font-size: 17px; }

    .bottom-contact-menu span {
        position: absolute;
        right: 48px;
        opacity: 0;
        pointer-events: none;
        background: #0f172a;
        color: #fff;
        padding: 8px 10px;
        border-radius: 999px;
        font-size: 10px;
        line-height: 1;
        white-space: nowrap;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
        transition: opacity .2s ease, transform .2s ease;
        transform: translateX(6px);
    }

    .bottom-contact-menu a:hover span {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 420px) {
    body { padding-bottom: 78px; }

    .bottom-contact-menu {
        bottom: 8px;
        width: calc(100% - 16px);
        gap: 6px;
        padding: 6px;
        border-radius: 16px;
    }

    .bottom-contact-menu a {
        min-height: 50px;
        font-size: 9px;
    }

    .blog-article-card { border-radius: 1.5rem; }
}
