/* === base === */
* { margin: 0; padding: 0; outline: none; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    overflow-x: hidden;
    font-size: 19px;
    font-weight: 400;
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.667em;
    color: #222;
}
a { text-decoration: none; cursor: pointer; color: inherit; }
button, input, select { color: inherit; font: inherit; }

.content {
    margin: 0 4%;
    width: 92%;
    max-width: 1675px;
    text-align: left;
    position: relative;
}

.cols {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.cols > div { width: 50%; }

/* === header === */
header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding: 50px 0 0 0;
    z-index: 1;
}
header .content { display: flex; align-items: flex-start; justify-content: space-between; }

header .logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    letter-spacing: 0.25em;
    font-weight: 400;
    color: #fff;
    line-height: 1;
    padding-top: 4px;
}

header nav ul { list-style: none; }
header nav li { display: inline; margin-left: 40px; }
header nav a {
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.2em;
    font-size: 0.65em;
    font-weight: 400;
}
header nav a:hover { opacity: 0.7; }

/* === hero === */
#container .s1 {
    background: linear-gradient(rgba(30, 42, 56, 0.55), rgba(30, 42, 56, 0.55)),
                url('https://images.unsplash.com/photo-1522083165195-3424ed129620?w=1920&q=80') center/cover no-repeat;
    filter: none;
}
#container .s1 .content {
    color: #fff;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#container .s1 h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5em;
    font-weight: 300;
    line-height: 1.3em;
}
#container .s1 .btn-inquiry {
    font-size: 0.65em;
    width: fit-content;
    margin-top: 40px;
    text-transform: uppercase;
    background: #fff;
    display: inline-block;
    padding: 12px 22px;
    color: #000;
    letter-spacing: 0.15em;
    font-weight: 500;
    transition: opacity 0.2s;
}
#container .s1 .btn-inquiry:hover { opacity: 0.85; }

/* === form section === */
#container .s3 { padding: 125px 0; }
#container .s3 .col-left { padding-right: 40px; }

#container .s3 h5 {
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 15px;
    font-size: 1.35em;
    font-weight: 400;
    position: relative;
    padding-bottom: 40px;
    color: #222;
}
#container .s3 h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 5px;
    width: 220px;
    background: #4D748B;
}
#container .s3 .col-left p {
    max-width: 85%;
    font-size: 0.95em;
    color: #555;
    margin-bottom: 14px;
}

/* form */
#container .s3 form label {
    margin: 20px 0 5px 0;
    display: block;
    font-size: 0.85em;
    color: #444;
}
#container .s3 form label:first-child { margin-top: 0; }

#container .s3 form input[type=text] {
    color: #808285;
    font-size: 0.85em;
    background: #fff;
    width: 100%;
    border: none;
    border-bottom: 1px solid #C7C8C9;
    padding: 6px 0;
}
#container .s3 form input[type=text]:focus { border-bottom-color: #4D748B; }

.dd-select {
    border: none;
    border-bottom: 1px solid #C7C8C9;
    position: relative;
}
.dd-select select {
    width: 100%;
    padding: 10px 0;
    border: none;
    background: transparent;
    color: #808285;
    font-size: 0.85em;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
.dd-select::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -3px;
    width: 0; height: 0;
    border: 5px solid transparent;
    border-top: 5px solid #000;
    pointer-events: none;
}

/* recaptcha mock */
.recaptcha { margin: 28px 0 18px 0; }
.rc-box {
    display: flex;
    align-items: center;
    width: 302px;
    height: 74px;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    padding: 0 12px;
    background: #f9f9f9;
    font-size: 14px;
}
.rc-check {
    width: 24px;
    height: 24px;
    border: 2px solid #c1c1c1;
    border-radius: 2px;
    background: #fff;
    margin-right: 12px;
    cursor: pointer;
}
.rc-label { flex: 1; color: #000; }
.rc-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    color: #555;
}
.rc-logo {
    width: 32px;
    height: 32px;
    background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234285f4'%3e%3cpath d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4z'/%3e%3c/svg%3e") no-repeat center/contain;
    margin-bottom: 2px;
}
.rc-brand small { font-size: 8px; color: #999; }

#container .s3 form button {
    border: none;
    padding: 12px 22px;
    font-size: 0.65em;
    letter-spacing: 0.1em;
    color: #fff;
    text-transform: uppercase;
    background: #323E48;
    display: inline-block;
    cursor: pointer;
    font-weight: 500;
    margin-top: 6px;
}
#container .s3 form button:hover { background: #414e5a; }

/* === footer === */
footer {
    background: #323E48;
    padding: 75px 0 60px 0;
    color: #fff;
    font-size: 0.8em;
}
footer .logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    letter-spacing: 0.25em;
    font-weight: 400;
    color: #fff;
    display: block;
    margin-bottom: 18px;
}
footer .f-left { display: flex; flex-direction: column; justify-content: flex-end; }
footer .f-left p {
    font-size: 0.8em;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0.05em;
    color: #cfd4da;
}
footer .f-left p span { text-transform: uppercase; letter-spacing: 0.1em; }

footer .f-right { text-align: right; }
footer .f-right p { font-size: 0.95em; line-height: 1.8em; }
footer .f-right p.upper {
    font-size: 0.6em;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 4px;
    color: #cfd4da;
}
footer a { color: #fff; }
footer a:hover { opacity: 0.7; }

/* === responsive === */
@media all and (max-width: 1600px) {
    footer .cols { flex-direction: column; }
    footer .cols > div { width: 100% !important; }
    footer .f-left { order: 2; margin-top: 30px; }
    footer .f-right { order: 1; text-align: left; }
    footer .f-right p.upper { text-align: left; }
}

@media all and (max-width: 979px) {
    header .logo { font-size: 22px; }
    footer { padding: 60px 0 40px 0; }
}

@media all and (max-width: 767px) {
    .cols { flex-direction: column; }
    .cols > div { width: 100%; }

    header { padding: 30px 0 0 0; }
    header .content { flex-direction: column; gap: 20px; }
    header nav li { margin-left: 0; margin-right: 20px; }

    #container .s1 h2 { font-size: 1.8em; }
    #container .s3 { padding: 75px 0; }
    #container .s3 .col-left { padding-right: 0; margin-bottom: 40px; }
    #container .s3 .col-left p { max-width: 100%; }

    .rc-box { width: 100%; max-width: 302px; }
}
