/*
 * HuaHin MM Group — homepage trust layer
 * Added as a separate, removable stylesheet.
 */

.home-proof-strip {
    position: relative;
    z-index: 5;
    margin: -34px 0 6px;
    padding: 0 15px;
    background: transparent;
}

.home-proof-strip .wrap-cont {
    max-width: 1140px;
    padding: 0;
}

.home-proof-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(18, 48, 75, .08);
    border-radius: 18px;
    box-shadow: 0 16px 42px rgba(24, 58, 87, .14);
}

.home-proof-item {
    position: relative;
    min-height: 112px;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.home-proof-item + .home-proof-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 24px;
    bottom: 24px;
    width: 1px;
    background: #e5ebef;
}

.home-proof-item strong {
    display: block;
    color: #db7f2d;
    font-size: 26px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.04em;
}

.home-proof-item span {
    display: block;
    margin-top: 9px;
    color: #354b5d;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
}

.home-assurance,
.home-sansiri {
    padding: 82px 0;
}

.home-assurance {
    margin-top: 60px;
    background: #f4f8fb;
}

.home-section-heading {
    max-width: 850px;
    margin: 0 auto 40px;
    text-align: center;
}

.home-section-kicker {
    margin-bottom: 12px;
    color: #db7f2d;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.home-section-heading h2,
.home-sansiri-copy h2 {
    margin: 0;
    color: #18384f;
    font-size: 42px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -.035em;
}

.home-section-heading p {
    max-width: 740px;
    margin: 18px auto 0;
    color: #5e7180;
    font-size: 18px;
    line-height: 1.65;
}

.home-assurance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.home-assurance-card {
    min-width: 0;
    padding: 28px;
    background: #fff;
    border: 1px solid #e5edf2;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(25, 58, 85, .07);
}

.home-assurance-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: #fff;
    background: #db7f2d;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 800;
}

.home-assurance-card h3 {
    margin: 0 0 11px;
    color: #18384f;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 800;
}

.home-assurance-card p {
    margin: 0;
    color: #667987;
    font-size: 15px;
    line-height: 1.65;
}

.home-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.home-service-column {
    min-width: 0;
    padding: 34px;
    border-radius: 20px;
}

.home-service-rent {
    background: linear-gradient(145deg, #e7f4fb, #f7fbfd);
    border: 1px solid #d4e9f4;
}

.home-service-buy {
    background: linear-gradient(145deg, #fff3e7, #fffaf5);
    border: 1px solid #f3dfca;
}

.home-service-label {
    display: inline-flex;
    padding: 7px 12px;
    color: #fff;
    background: #1987c5;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.home-service-buy .home-service-label {
    background: #db7f2d;
}

.home-service-column h3 {
    margin: 18px 0 20px;
    color: #18384f;
    font-size: 25px;
    line-height: 1.28;
    font-weight: 800;
    letter-spacing: -.02em;
}

.home-service-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-service-column li {
    position: relative;
    margin-top: 12px;
    padding-left: 26px;
    color: #435c6e;
    font-size: 15px;
    line-height: 1.5;
}

.home-service-column li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #1987c5;
    font-weight: 800;
}

.home-service-buy li::before {
    color: #db7f2d;
}

.home-zero-response {
    display: grid;
    grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
    gap: 44px;
    align-items: center;
    margin-top: 28px;
    padding: 30px 34px;
    color: #fff;
    background: #18384f;
    border-radius: 20px;
}

.home-zero-response span {
    color: #8ed2f4;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-zero-response h3 {
    margin: 7px 0 0;
    color: #fff;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 800;
}

.home-zero-response p {
    margin: 0;
    padding-left: 28px;
    border-left: 3px solid #db7f2d;
    color: rgba(255, 255, 255, .86);
    font-size: 17px;
    line-height: 1.6;
}

.home-trust-link {
    margin-top: 34px;
    text-align: center;
}

.home-sansiri {
    background: #fff;
}

.home-sansiri-card {
    display: grid;
    grid-template-columns: minmax(340px, .85fr) minmax(0, 1.15fr);
    min-height: 500px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5ebef;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(24, 56, 79, .12);
}

.home-sansiri-photo {
    display: block;
    min-width: 0;
    overflow: hidden;
    background: #151515;
}

.home-sansiri-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 36%;
    transition: transform .45s ease;
}

.home-sansiri-photo:hover img {
    transform: scale(1.025);
}

.home-sansiri-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 54px 58px;
}

.home-sansiri-copy h2 {
    max-width: 640px;
    font-size: 35px;
}

.home-sansiri-copy p {
    margin: 22px 0 28px;
    color: #607482;
    font-size: 17px;
    line-height: 1.7;
}

@media (max-width: 960px) {
    .home-proof-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-proof-item:nth-child(4),
    .home-proof-item:nth-child(5) {
        border-top: 1px solid #e5ebef;
    }

    .home-proof-item:nth-child(4)::before {
        display: none;
    }

    .home-assurance-grid {
        grid-template-columns: 1fr;
    }

    .home-assurance-card {
        display: grid;
        grid-template-columns: 52px minmax(0, 1fr);
        column-gap: 18px;
    }

    .home-assurance-icon {
        grid-row: 1 / span 2;
        margin: 0;
    }

    .home-assurance-card h3,
    .home-assurance-card p {
        grid-column: 2;
    }

    .home-service-grid,
    .home-sansiri-card {
        grid-template-columns: 1fr;
    }

    .home-sansiri-card {
        min-height: 0;
    }

    .home-sansiri-photo {
        height: 500px;
    }
}

@media (max-width: 700px) {
    .home-proof-strip {
        margin-top: -22px;
        padding: 0 12px;
    }

    .home-proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-radius: 16px;
    }

    .home-proof-item {
        min-height: 96px;
        padding: 17px 10px;
    }

    .home-proof-item:nth-child(odd)::before {
        display: none;
    }

    .home-proof-item:nth-child(n+3) {
        border-top: 1px solid #e5ebef;
    }

    .home-proof-item:last-child {
        grid-column: 1 / -1;
    }

    .home-proof-item strong {
        font-size: 22px;
    }

    .home-proof-item span {
        max-width: 150px;
        font-size: 12px;
    }

    .home-assurance,
    .home-sansiri {
        padding: 56px 0;
    }

    .home-assurance {
        margin-top: 35px;
    }

    .home-section-heading {
        margin-bottom: 28px;
        text-align: left;
    }

    .home-section-heading h2,
    .home-sansiri-copy h2 {
        font-size: 30px;
        line-height: 1.17;
    }

    .home-section-heading p,
    .home-sansiri-copy p {
        font-size: 16px;
    }

    .home-assurance-card {
        display: block;
        padding: 23px;
    }

    .home-assurance-icon {
        margin-bottom: 18px;
    }

    .home-service-column {
        padding: 26px 22px;
    }

    .home-service-column h3 {
        font-size: 22px;
    }

    .home-zero-response {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 26px 22px;
    }

    .home-zero-response h3 {
        font-size: 23px;
    }

    .home-zero-response p {
        padding: 0 0 0 18px;
        font-size: 15px;
    }

    .home-sansiri-photo {
        height: 360px;
    }

    .home-sansiri-copy {
        padding: 32px 24px 36px;
    }

    .home-sansiri-copy .button,
    .home-trust-link .button {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}

@media (max-width: 380px) {
    .home-proof-item strong {
        font-size: 20px;
    }

    .home-proof-item span {
        font-size: 11px;
    }

    .home-sansiri-photo {
        height: 320px;
    }
}
