@font-face {
    font-family: 'AB';
    src: url('aset/font/AB-R.woff');
    font-weight: 500;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'AB';
    src: url('aset/font/AB-B.woff');
    font-weight: bold;
    font-style: normal;
    font-display: block;
}

/* 2. UNIVERSAL RESET (CLEAN & COMPACT) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-decoration: none;
    list-style: none;
    outline: none;
    border-color: inherit;
    border-radius: 0;
    text-align: inherit;
}

/* 3. BASE LAYOUT */
html, body {
    font-family: 'AB', sans-serif;
    position: relative;
    font-size: calc(5.6674vw * .7071);
    line-height: 5.6674vw;
    color: #fff;
    background: #333;
}

html:has(.terang), body:has(.terang) {
    color: #333;
    background: #fff;
}

html:has(.terangdua), body:has(.terangdua) {
    color: #333;
    background: #fff;
}

body:has(.terang) main {
    width: 100%;
    padding: 5.6674vw;
    padding-top: calc(5.6674vw * 4);
}

b, .b, strong {
    font-weight: bold;
}

.caption {
    font-size: calc(5.6674vw * .5946);
    line-height: calc(5.6674vw * .84089);
    margin: calc(5.6674vw * .38197) 0 5.6674vw 0;
    display: block;
}

.seratus p {
    float: left;
    margin: 5.6674vw 0;
}

.enamdua {
    width: 62%;
    padding-right: calc(5.6674vw / 2);
}
.tigalapan {
    width: 38%;
    padding-left: calc(5.6674vw / 2);
}
.seratus button, .cta-beli {
    display: block; 
    width: 100%;
    line-height: calc((5.6674vw * 1.618) - 2px);
    padding: 0 2vw;
    border: 1px solid #333;
    margin: calc(((5.6674vw * 3) - (5.6674vw * 1.618)) / 2) 0;
    background: none;
    outline: none;
    position: relative;
}
.seratus button:before, .cta-beli:before {
    content: '';
    display: block;
    width: calc(5.6674vw * .31);
    height: calc(5.6674vw * .31);
    position: absolute;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
    top: 50%;
    right: 2.2vw;
    transform: translateY(-50%) rotate(-45deg);
}
.seratus button:after, .cta-beli:after {
    content: '';
    display: block;
    width: calc(5.6674vw * .6);
    position: absolute;
    border-bottom: 1px solid #333;
    top: 50%;
    right: 2vw;
    transform: translateY(-50%);
}

.cta-beli {
    width: calc(38% - (5.6674vw / 2));
    float: right;
    position: relative;
    top: -5.6674vw;
}

.intro {
    display: none;
}


#masuk {
    padding: 5.6674vw;
    padding-top: calc(5.6674vw * 8);
}

#masuk label {
    display: block;
    width: 100%;
    line-height: calc(5.6674vw * 1.62);
}

#masuk input[type=text], #masuk input[type=password] {
    display: block;
    width: 100%;
    font-size: 5.6674vw;
    border: none;
    outline: none;
    border-radius: 0;
    background: #555;
    color: #fff;
    padding: 0 calc(5.6674vw * .7);
    line-height: calc(5.6674vw * 2.62);
}

#masuk p {
    margin-bottom: calc(5.6674vw * 1);
}

#masuk input[type=submit] {
    display: block;
    width: auto;
    font-size: calc(5.6674vw * .7071);
    font-weight: bold;
    border: none;
    outline: none;
    border-radius: 0;
    background: #597ec2;
    color: #fff;
    padding: 0 calc(5.6674vw * .7);
    line-height: calc(5.6674vw * 2.62);
}


/* 4. HEADER & LOGO */
.header {
    width: 100%;
    height: 64px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

body:has(.terangdua) .header {
    position: absolute;
}

.header.terang {
    overflow: hidden;
    background: #fff;
    height: calc(5.6674vw * 3);
}

.header-sekunder {
    width: 100%;
    height: calc(5.6674vw * 3);
    position: relative;
    top: 0;
    left: 0;
    background: #fff;
}

header:has(.header-sekunder)  {
    top: 0;
    height: calc(5.6674vw * 3);
    box-shadow: 0 0 100vw rgba(0,0,0,0);
    transition: all .5s ease;
}
header:has(.header-sekunder.on)  {
    top: calc(5.6674vw * -3);
    height: calc(5.6674vw * 6);
}
header:has(.header-sekunder.bay)  {
    box-shadow: 0 0 100vw rgba(0,0,0,.62);
}

.header::after {
    content: '';
    display: block;
    width: 100%;
    height: 23vw;
    position: absolute;
    top: -23vw;
    left: 0;
    box-shadow: 0 0 62vw #000;
    z-index: -1;
}

.header.terang::after {
    display: none;
}

body:has(.terangdua) .header::after {
    display: none;
}

.logo {
    font-size: 0;
    width: calc(28vw * 1.28);
    height: calc(28vw * .64);
    position: relative;
    left: 1.15vw;
    top: .4vw;
    background: url("aset/images/Algefer.svg") center/contain no-repeat;
}

body:has(.terangdua) .logo {
    background: url("aset/images/Algefer-b.svg") center/contain no-repeat;
}

.logo a {
    display: block; 
    width: 100%;
    height: 100%;
}

.logo-judul {
    position: relative;
    padding: 5.6674vw;
    background: #fff;
    line-height: 5.6674vw;
}

.header-sekunder .logo-judul {
    line-height: calc(5.6674vw * .97);
}

.logo-judul span {
    display: inline-block;
    position: relative;
    color: rgba(0,0,0,0);
}

.logo-judul span::after {
    content: '';
    width: 3.5px;
    height: 4.5px;
    position: absolute;
    top: 53%;
    left: 51%;
    transform: translate(-50%, -50%);
    background-color: #333;
    clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
}

/* 5. LANGUAGE SWITCHER */
.alih-bahasa {
    position: absolute;
    top: 7.25vw;
    right: 13vw;
    font-size: calc(5.6674vw * .7071);
    line-height: 5.6674vw;
}

body:has(.terang) .alih-bahasa {
    top: calc(7.25vw - 1.5vw);
}

.alih-bahasa div {
    display: inline-block;
    position: relative;
    color: transparent;
}

.alih-bahasa div::after {
    content: '';
    display: block;
    position: absolute;
    top: 43.08%;
    left: 50%;
    background: #fff;
    width: 1px;
    height: 119.78%;
    transform: translate(-43.08%, -50%);
}

body:has(.terang) .alih-bahasa div::after {
    background: #333;
}

/* 6. MENU TOGGLE */
.menu {
    position: absolute;
    top: 7.4vw;
    right: 3.4vw;
    font-size: 14.35px;
    color: transparent;
    width: 5.6674vw;
    border: none;
    outline: none;
    background: transparent;
}
body:has(.terang) .menu {
    top: calc(7.4vw - 1.5vw);
}

.menu span {
    display: block;
    position: absolute;
    border-top: 3px solid #fff;
    border-bottom: 3px solid #fff;
    top: 43.08%;
    left: 50%;
    width: 3px;
    height: 78.615%;
    transform: translate(-43.08%, -50%);
}

.menu span::after {
    content: '';
    display: block;
    position: absolute;
    border-top: 3px solid #fff;
    top: 50%;
    left: 0;
    width: 3px;
    transform: translateY(-50%);
}

body:has(.terang) .menu span, 
body:has(.terangdua) .menu span {
    border-top: 3px solid #333;
    border-bottom: 3px solid #333;
}

body:has(.terang) .menu span::after, 
body:has(.terangdua) .menu span::after {
    border-top: 3px solid #333;
}

.lantai {
    width: 100%;
    position: relative;
}.ubin a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}


.sampul {
    width: 100%;
    height: 161.803vw;
}

.sampul-2 {
    width: 100%;
    height: 127.27vw;
}

.ubin {
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.ubin:before, .ubin:before {
    content: '';
    display: block;
    width: calc(100% + 40px);
    height: 50px;
    position: absolute;
    bottom: -50px;
    left: -20px;
    box-shadow: 0 0 143.5px rgba(0, 0, 0, 1);
    opacity: 1;
    transition: all .38s cubic-bezier(0.25, 1, 0.5, 1) .1s;
}

.ubin a .cta {
    display: block;
    position: absolute;
    bottom: 5.6674vw;
    left: 5.6674vw;
}

.ubin a .cta span  {
    display: inline-block;
    width: calc(5.6674vw * .8);
    height: calc(5.6674vw * .25);
    position: relative;
}
.ubin a .cta span:before {
    content: '';
    display: block;
    width: calc(5.6674vw * .31);
    height: calc(5.6674vw * .31);
    position: absolute;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    top: 20%;
    right: 0;
    transform: translateY(-50%) rotate(-45deg);
}
.ubin a .cta span:after {
    content: '';
    display: block;
    width: calc(5.6674vw * .6);
    position: absolute;
    border-bottom: 1px solid #fff;
    top: 20%;
    right: -.075vw;
    transform: translateY(-50%);
}
.ubin img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

.sampul-gender {
    width: 100%;
    height: 88.67vw;
}

.sampul-gender a {
    display: block;
    width: 50%;
    height: 100%;
    position: relative;
    float: left;
}



footer {
    display: block;
    clear: both;
    position: relative;
    padding: 5.6674vw 0;
}
footer > nav > ul > li {
    width: 50%;
    float: left;
    padding: calc(5.6674vw * 2) 5.6674vw;
    padding-bottom: 5.6674vw;
}

footer > nav > ul > li > a {
    font-weight: bold;
    display: block;
}  

footer > nav > ul > li > ul > li {
    margin-top: calc(5.6674vw * .272);
}

footer > div {
    padding: calc(5.6674vw * 2) 5.6674vw;
    clear: both;
}

footer > div a {
    margin-right: 5.6674vw;
}


main.berjarak {
    padding-top: 62px;
    color: #333;
    background: #fff;
}

.kalkulator {
	font-size: 12px;
	width: calc(100vw - 20px);
	margin: auto;
	position: relative;
}

.kalkulator .setengah {
	width: 50%;
	float: left;
	padding: 5px;
	height: 84px;
	position: relative;
}

.kalkulator .satu {
	width: 50%;
	float: left;
	padding: 5px;
	margin-bottom: -27px;
	position: relative;
	height: 168px;
}

.kalkulator input {
	display: block;
    width: 100%;
    border: 1px solid #333;
    border-radius: 0;
    font-size: 25px;
    line-height: 40px;
    padding: 0 7.5px;
    padding-top: 32px;
	height: 100%;
}

.kalkulator .satu input {
	line-height: 72px;
    font-size: 68.5px;
    padding: 0 5px;
    padding-top: 85px;
	height: 100%;
}

.kalkulator input.nois {
	background: #eee;
	border: 1px solid #eee;
}

.kalkulator small:nth-of-type(odd) {
	position: absolute;
	line-height: 12px;
	padding: 10px;
}

.kalkulator small:nth-of-type(even) {
	position: absolute;
    right: 6px;
    top: 47.5px;
    line-height: 12px;
    padding: 10px;
}

.judul-kalkulator {
    padding: 10px 5px;
	padding-top: 27px;
    font-size: 15px;
    font-weight: bold;
    line-height: 20px;
	position: relative;
	margin-bottom: 5px;
	clear: both;
}
.judul-kalkulator div {
    font-weight: normal;
	width: 50%;
	position: absolute;
	top: 0;
	left: 50%;
	padding: 10px 5px;
	padding-top: 27px;
}

.judul-kalkulator div span {
	display: block; 
	float: right;
	margin-left: 15px;
	cursor: pointer;
}

.judul-kalkulator div span.on {
	font-weight: bold;
}

.tabel-ukuran {
	padding: 5px;
}

.t {
	line-height: 11px;
	font-size: 9px;
	width: 100%;
	border-top: 1px solid #333;
	padding-top: 9px;
	clear: both;
}

.tx, .tx-ll {
	line-height: 21px;
	font-size: 15px;
	width: 100%;
	border-top: 1px solid #333;
	padding-top: 9px;
	clear: both;
}

.tx.on, .tx-ll.on {
	background-color: #eee;
}

.tx.on .t1:nth-child(1), .tx-ll.on .t1:nth-child(1) {
	padding-left: 10px;
}
.tx.on .t2:nth-child(2), .tx-ll.on .t2:nth-child(2) {
	padding-left: 6px;
}

.t1 {
	width: calc(100% / 7);
	float: left;
	padding-right: 5px;
	padding-bottom: 10px;
}
.t2 {
	width: calc((100% / 7) * 2);
	float: left;
	padding-right: 5px;
	padding-bottom: 10px;
}
.clr {
	clear: both;
}

.k-i {
	display: none;
}

.k-i.on {
	display: block; 
}
