html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Roboto', sans-serif !important;
}

.grid-layout {
    width: 100%;
    max-width: 100vw;
    display: grid;
    gap: 10px;
}

.box {
    display: flex;
    flex-direction: column;
    align-items: center;      /* keep vertical centering */
    justify-content: center;  /* default for others (like box3) */
}

/* ✅ Box1 → align content to bottom */
.box1 {
    justify-content: flex-end;   /* bottom */
    align-items: flex-start;     /* keep left-aligned */
    padding-left: 20px;
    padding-right: 20px;
}

/* ✅ Box2 → align content to top */
.box2 {
    justify-content: flex-start; /* top */
    align-items: flex-start;     /* left */
    padding-left: 20px;
}

.box4 {
    justify-content: flex-start; /* top */
    align-items: flex-start;     /* left */
    padding-left: 20px;
    padding-top: 20px;
}

/* Make SVG fill Box3 */
.box3 svg {

    width: 100%;
    height: auto;              /* ✅ keep aspect ratio */
    max-width: 100%;           /* ✅ never exceed container */
    max-height: 100%;          /* ✅ prevent vertical overflow */

}

.svg-desktop,
.svg-mobile {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.svg-desktop {
    display: block;
}

.svg-mobile {
    display: none;
}

.section-fo {
    position: relative;
    background: #000;
}

/* Text above shape */
.section-fo .box {
    position: relative;
    z-index: 2;
    color: #fff;
}

/* ✅ Background SVG */
.section-fo .fo-bg {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;     /* spans Box1 + Box2 */
    width: 60%;       /* adjust as needed */
    z-index: 1;
    pointer-events: none;
}

/* Shape color */
.section-fo .fo-bg polyline {
    fill: rgba(40, 40, 40, 0.9);
}

.bottom-banner {
    display: none;
}

.red-fill {
    fill: #aa1f2e;
}

.btn-voy-red
{
  background-color: #AA1F2E !important;
  color: #fff !important;
}

.underline-part {
    border-bottom: 3px solid #AA1F2E;
    padding-bottom: 10px;
}

/* .svg-desktop {
outline: 2px solid red;
}

.svg-mobile {
outline: 2px solid blue;
} */



/* Desktop */
@media (min-width: 768px) {
    body {
    font-size: clamp(0.5rem, 1.2vw, 1rem)
    }

    .grid-layout {
    grid-template-columns: 1fr 2fr;
    grid-template-rows: 1fr 1fr;
    }

    .section-fo.grid-layout {
    grid-template-columns: 40% 60%;
    }

    .box1 {
    grid-column: 1;
    grid-row: 1;
    }

    .box2 {
    grid-column: 1;
    grid-row: 2;
    }

    .box3 {
    grid-column: 2;
    grid-row: 1 / span 2;
    }

    .layout-alt .box1 {
    grid-column: 2;
    grid-row: 1;
    }

    .layout-alt .box2 {
    grid-column: 2;
    grid-row: 2;
    }

    .layout-alt .box3 {
    grid-column: 1;
    grid-row: 1 / span 2;
    }

    

.layout-4box {
grid-template-columns: 40% 60%;
grid-template-rows: auto auto auto;
}

.layout-4box .box4 {
grid-column: 1;
grid-row: 1;
}

.layout-4box .box1 {
grid-column: 1;
grid-row: 2;
}

.layout-4box .box2 {
grid-column: 1;
grid-row: 3;
}

/* ✅ THIS is the key change */
.layout-4box .box3 {
grid-column: 2;
grid-row: 1 / span 3;  /* ✅ fill full height */
}
    
    .section-fo .box3 {
    height: calc(100% - 60px);
    }
    
    .section-fullsvg .box3 {
    grid-column: 1 / -1;
    grid-row: 1 / span 2;
    z-index: 1;
    }

    .section-fullsvg .box1,
    .section-fullsvg .box2 {
    grid-column: 1 / span 2;
    z-index: 2;
    position: relative;
    }

    .svg-desktop {
    display: block;
    }

    .svg-mobile {
    display: none;
    }

    .dt475 {
    height: 475px;
    }

    .pl100 {
    padding-left: 100px;
    }

    .w60 {
    width: 60%;
    }

    .w70 {
    width: 70%;
    }

    .aspect-ratio {
    aspect-ratio: 16 / 9
    }

    .ocpadding {
    padding-top: 80px;
    }

    .bottom-banner {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #aa1f2e;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .grid-layout {
        grid-template-columns: 40% 60%;
    }

    .box {
        align-items: stretch;   /* ✅ allow children to use full width */
    }

    .box p:last-child {
        display: flex;
        justify-content: center;   /* ✅ center the button only */
    }

    .box1 {
    grid-column: 1;
    grid-row: 1;
    }

    .box3 {
    grid-column: 2;
    grid-row: 1;
    }

    .box2 {
    grid-column: 1 / span 2;
    grid-row: 2;
    }

    
.layout-4box {
grid-template-columns: 1fr 1fr;
grid-template-rows: auto auto auto;
}

.layout-4box .box4 {
grid-column: 1 / span 2;
grid-row: 1;
}

.layout-4box .box1 {
grid-column: 1;
grid-row: 2;
}

.layout-4box .box3 {
grid-column: 2;
grid-row: 2;
}

.layout-4box .box2 {
grid-column: 1 / span 2;
grid-row: 3;
}

    
    .section-fullsvg {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    }

    .section-fullsvg .box3 {
    grid-column: 1;
    grid-row: 1;
    }

    .section-fullsvg .box1 {
    grid-column: 1;
    grid-row: 2;
    }

    .section-fullsvg .box2 {
    grid-column: 1;
    grid-row: 3;
    }

    .svg-desktop {
    display: none;
    }

    .svg-mobile {
    display: block;
    }

    .aspect-ratio {
    aspect-ratio: 9 / 16
    }

    .ocpadding {
    padding-bottom: 50px;
    }

}