.hero {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    color: var(--bg);
    overflow: hidden;
}
.hero .bg {
    position: absolute;
    inset: 0;
    background-image: url("../images/contact-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.hero .bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.35),
        rgba(0, 0, 0, 0.05) 60%
    );
}
.hero .wrap {
    position: relative;
    left: 90px;
    padding: 0;
    width: 500px;
    display: flex;
    flex-direction: column;
}
.hero h1 {
    font-size: 45px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}
.hero .sub {
    margin-top: 45px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

/* ============== FEATURE-5 ROW ============== */
.intro-section {
    padding-top: 80px;
}

.feature-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    color: #fff;
}
.feature-5 .card {
    text-align: center;
    background: linear-gradient(180deg, #3d9fe8 0%, #2078cb 100%);
    padding: 8px 0 52px 0;
}
.feature-5 .card:first-child {
    background: #177bc9;
}
.feature-5 .card:nth-child(2) {
    background: #2284d0;
    border-left: none;
}
.feature-5 .card:nth-child(3) {
    background: #2390d2;
}
.feature-5 .card:nth-child(4) {
    background: #2e99da;
}
.feature-5 .card:nth-child(5) {
    background: #399edc;
}
.feature-5 .icon {
    min-height: 178px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.feature-5 h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 14px;
}
.feature-5 p {
    margin-top: 40px;
    font-size: 20px;
    line-height: 1.2;
}
.description {
    padding-top: 80px;
    line-height: 1.4;
}
.description h3 {
    font-size: 30px;
    color: var(--ink-3);
}
.description b {
    color: var(--ink-1);
}
.description p {
    font-size: 26px;
    padding-top: 50px;
    color: var(--ink-3);
}
.picture {
    margin-top: 50px;
    width: 100%;
    height: 436px;
    background-image: url("../images/company-picture-1.png");
    background-repeat: no-repeat;
    background-position: center;
}
.diagram {
    width: 1054px;
    height: 966px;
    background: url(../images/company-venn.png) no-repeat;
    margin: 110px auto 0;
}

/* ============== MAP / LOCATION ============== */
.map-block {
    margin-top: 90px;
}
.map {
    aspect-ratio: 16 / 7;
    background: #e9edf2;
    position: relative;
    overflow: hidden;
    background-image:
        linear-gradient(to right, #d2d8de 1px, transparent 1px),
        linear-gradient(to bottom, #d2d8de 1px, transparent 1px);
    background-size: 60px 60px;
}
.map iframe {
    width: 100%;
    height: 100%;
}

.map-block h3 {
    font-size: 30px;
    margin-top: 45px;
}
.map-block .addr {
    margin-top: 45px;
    font-size: 30px;
    color: var(--ink-3);
    line-height: 1.2;
}

.site-footer {
    margin-top: 140px;
}


@media (max-width: 1024px) {
    .intro-section {
        padding-top: 56px;
    }
    .hero {
        min-height: 440px;
    }
    .hero .wrap {
        left: 0;
        width: 100%;
        max-width: 620px;
        padding: 0 24px;
    }
    .hero h1 {
        font-size: 36px;
    }
    .hero .sub {
        margin-top: 28px;
        font-size: 17px;
        line-height: 1.45;
    }
    .feature-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-5 .card {
        padding: 24px 16px 30px;
    }
    .feature-5 .icon {
        min-height: 120px;
    }
    .feature-5 .icon img {
        max-width: 86px;
    }
    .feature-5 h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }
    .feature-5 p {
        margin-top: 24px;
        font-size: 17px;
        line-height: 1.45;
    }
    .description {
        padding-top: 56px;
    }
    .description h3 {
        font-size: 24px;
        line-height: 1.4;
    }
    .description p {
        padding-top: 28px;
        font-size: 20px;
        line-height: 1.6;
    }
    .picture {
        margin-top: 36px;
        height: 320px;
        background-size: cover;
    }
    .diagram {
        width: 100%;
        max-width: 760px;
        height: auto;
        aspect-ratio: 1054 / 966;
        margin-top: 72px;
        background-size: contain;
        background-position: center;
    }
    .map-block {
        margin-top: 56px;
    }
    .map {
        aspect-ratio: 16 / 9;
    }
    .map-block h3 {
        margin-top: 28px;
        font-size: 24px;
    }
    .map-block .addr {
        margin-top: 24px;
        font-size: 20px;
        line-height: 1.5;
    }
}

@media (max-width: 640px) {
    .intro-section {
        padding-top: 40px;
    }
    .hero {
        min-height: 320px;
    }
    .hero .wrap {
        padding: 0 20px;
    }
    .hero h1 {
        font-size: 28px;
        line-height: 1.28;
    }
    .hero .sub {
        margin-top: 18px;
        font-size: 14px;
    }
    .feature-5 {
        grid-template-columns: 1fr;
    }
    .feature-5 .card {
        padding: 20px 16px 24px;
    }
    .feature-5 .icon {
        min-height: 96px;
    }
    .feature-5 .icon img {
        max-width: 72px;
    }
    .feature-5 h3 {
        font-size: 20px;
    }
    .feature-5 p {
        margin-top: 16px;
        font-size: 15px;
    }
    .description {
        padding-top: 40px;
    }
    .description h3 {
        font-size: 20px;
    }
    .description p {
        padding-top: 20px;
        font-size: 16px;
    }
    .picture {
        height: 210px;
        background-size: cover;
    }
    .diagram {
        width: calc(100% - 24px);
        margin-top: 44px;
    }
    .map-block {
        margin-top: 40px;
    }
    .map-block h3 {
        margin-top: 20px;
        font-size: 20px;
    }
    .map-block .addr {
        margin-top: 16px;
        font-size: 16px;
    }
}
