/* ============================================================
   BIA GROUP — Landing Page Styles
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'D-DIN-PRO', sans-serif;
    font-weight: normal;
    background-color: #ffffff;
    color: #1a1a1a;
    min-height: 100vh;
}

/* --- Page Wrapper --- */
.page-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px 60px;
    overflow: hidden;
}

/* ============================================================
   Decorative Plus Grids
   ============================================================ */
.dots-grid {
    position: absolute;
    display: grid;
    gap: 10px;
    color: #cccccc;
    font-size: 18px;
    font-weight: 200;
    pointer-events: none;
    z-index: -1;
    line-height: 1;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.5s forwards;
}

.dots-top-right {
    top: -56px;
    right: -40px;
    grid-template-columns: repeat(8, 1fr);
}

.dots-bottom-left {
    bottom: -56px;
    left: -40px;
    grid-template-columns: repeat(8, 1fr);
}

.dots-grid span {
    display: block;
    text-align: center;
}

/* ============================================================
   Header — BIA Logo & Title
   ============================================================ */
.site-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.bia-logo {
    text-align: center;
    margin-bottom: 24px;
}

.bia-outline {
    font-family: 'Square 721', 'D-DIN-PRO', sans-serif;
    font-weight: bold;
    font-size: 160px;
    line-height: 1;
    /* letter-spacing: 0.08em; */
    color: transparent;
    -webkit-text-stroke: 1px #c8c8c8;
    text-stroke: 1px #c8c8c8;
    margin-bottom: -62px;
}

.bia-group {
    font-family: 'Square 721', 'D-DIN-PRO', sans-serif;
    font-weight: bold;
    font-size: 70px;
    line-height: 1;
    /* letter-spacing: 0.06em; */
    color: #1a1a1a;
    text-transform: uppercase;
}

.bia-line {
    width: 160px;
    height: 2px;
    background-color: #1a1a1a;
    margin: 8px auto 0;
}

.section-title {
    font-family: 'Square 721', 'D-DIN-PRO', sans-serif;
    font-weight: bold;
    font-size: 28px;
    /* letter-spacing: 0.2em; */
    text-transform: uppercase;
    color: #1a1a1a;
}

/* ============================================================
   Cards Container
   ============================================================ */
.cards-wrapper {
    position: relative;
    z-index: 1;
}

.cards-container {
    /* border: 1px solid #d0d0d0; */
}

/* ============================================================
   Individual Card
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    display: flex;
    align-items: center;
    padding: 0;
    border: 1px solid #d0d0d0;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
    /* cursor: pointer; */
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.card:nth-child(2) { animation-delay: 0.15s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.45s; }

/* .card:last-child {
    border-bottom: none;
} */

/* Hover state — black background */
.card:hover {
    background-color: #000000;
}

/* --- Logo Section --- */
.card-logo {
    flex: 0 0 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
}

.card-logo img {
    max-width: 220px;
    max-height: 100px;
    width: auto;
    height: auto;
    display: block;
    transition: filter 0.3s ease;
}

.card:hover .card-logo img {
    filter: invert(1) brightness(2);
}

/* --- Vertical Divider --- */
.card-divider {
    width: 1px;
    height: 100px;
    background-color: #d0d0d0;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

.card:hover .card-divider {
    background-color: #444444;
}

/* --- Content Section --- */
.card-content {
    flex: 1;
    padding: 40px 50px;
}

.card-title {
    font-family: 'Square 721', 'D-DIN-PRO', sans-serif;
    font-weight: bold;
    font-size: 16px;
    /* letter-spacing: 0.12em; */
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.card-title strong {
    font-weight: 900;
}

.card:hover .card-title {
    color: #ffffff;
}

.card-desc {
    font-family: 'D-DIN-PRO', sans-serif;
    font-weight: normal;
    font-size: 16px;
    color: #444444;
    line-height: 1.4;
    letter-spacing: 0.01em;
    transition: color 0.3s ease;
}

.card:hover .card-desc {
    color: #cccccc;
}

/* --- Action Section --- */
.card-action {
    flex: 0 0 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
}

.btn-visit {
    display: inline-block;
    padding: 12px 22px;
    background-color: #1a1a1a;
    color: #ffffff;
    font-family: 'D-DIN-PRO', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: nowrap;
    border: 1.5px solid #1a1a1a;
}

.card:hover .btn-visit {
    background-color: #fff;
    color: #000;
    border-color: #ffffff;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    text-align: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.6s forwards;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 1.5px solid #1a1a1a;
    color: #1a1a1a;
    font-family: 'D-DIN-PRO', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
    margin-bottom: 30px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.btn-contact:hover {
    background-color: #1a1a1a;
    color: #ffffff;
}

.envelope-icon {
    font-size: 14px;
}

.footer-legal {
    font-size: 12px;
    color: #888888;
    line-height: 1.7;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
}

.footer-copy {
    font-size: 15px;
    color: #555555;
    letter-spacing: 0.04em;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
    .card {
        flex-wrap: wrap;
    }

    .card-logo {
        flex: 0 0 100%;
        padding: 30px 30px 20px;
    }

    .card-divider {
        display: none;
    }

    .card-content {
        flex: 1 1 auto;
        padding: 10px 30px 20px;
    }

    .card-action {
        flex: 0 0 100%;
        padding: 0 30px 30px;
        justify-content: flex-start;
    }

    .bia-outline {
        font-size: 100px;
    }

    .bia-group {
        font-size: 46px;
    }
}

@media (max-width: 600px) {
    .page-wrapper {
        padding: 40px 20px;
    }

    .dots-top-right,
    .dots-bottom-left {
        display: none;
    }

    .bia-outline {
        font-size: 100px;
    }

    .bia-group {
        font-size: 46px;
    }
    .bia-outline{
        margin-bottom: -34px;
    }
}
