@font-face {
    font-family: "Gantari";
    font-style: normal;
    font-weight: 100;
    src: url("/fonts/jVyV7nvyB2HL8iZyDk4GVvSZ5MtC9g0gOw33YZA_100.woff2") format("woff2");
    font-display: optional;
}

@font-face {
    font-family: "Gantari";
    font-style: normal;
    font-weight: 300;
    src: url("/fonts/jVyV7nvyB2HL8iZyDk4GVvSZ5MtC9g1-Og33YZA_300.woff2") format("woff2");
    font-display: optional;
}

@font-face {
    font-family: "Gantari";
    font-style: normal;
    font-weight: 400;
    src: url("/fonts/jVyV7nvyB2HL8iZyDk4GVvSZ5MtC9g0gOg33YZA_400.woff2") format("woff2");
    font-display: optional;
}

@font-face {
    font-family: "Gantari";
    font-style: normal;
    font-weight: 700;
    src: url("/fonts/jVyV7nvyB2HL8iZyDk4GVvSZ5MtC9g3HPQ33YZA_700.woff2") format("woff2");
    font-display: optional;
}

@font-face {
    font-family: "FontAwesome";
    font-style: normal;
    font-weight: 900;
    src: url("/fonts/fa_900.woff2") format("woff2");
    font-display: optional;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

body {
    width: 100%;
    height: auto;
    min-height: 100vh;
    overflow: hidden;
    font-size: 18px;
    font-family: Gantari;
    font-weight: 400;
}

body.global {
    overflow: auto;
    min-height: auto;
}

.logo {
    position: fixed;
    display: flex;
    gap: 1rem;
    align-items: center;
    left: 3rem;
    top: 3rem;
    z-index: 999;
    transition: all 0.25s;
}

.global-logo {
    display: flex;
    gap: 1rem;
    align-items: center;
    transition: all 0.25s;
    margin-bottom: 2rem;
}

.logo img,
.global-logo img {
    width: 4rem;
    height: auto;
    display: block;
    transition: all 0.25s;
}

.logo span,
.global-logo span {
    font-weight: 700;
    font-size: 2rem;
}

.global-logo span {
    color: #727271;
}

.area {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: repeat(3, 1fr);    
}

.area a {
    padding: .75rem 0;
    color: white;
    text-decoration: none;
    display: block;
    text-align: center;
    font-weight: 400;
    position: relative;
    top: -2.1rem;
    transition: all 0.25s;
}

.area a:hover,
.area a:active {
    top: 0;
}

.area:has(li:nth-child(1) a:hover) ~ .logo,
.area:has(li:nth-child(1) a:active) ~ .logo,
.area:has(li:nth-child(2) a:hover) ~ .lang-switch,
.area:has(li:nth-child(2) a:active) ~ .lang-switch,
.area:has(li:nth-child(3) a:hover) ~ .menu-toggle,
.area:has(li:nth-child(3) a:active) ~ .menu-toggle {
    top: 5.1rem;
}

.area:has(li:nth-child(3) a:hover) ~ .menu,
.area:has(li:nth-child(3) a:active) ~ .menu {
    top: 7.6rem;
}

.area a span {
    font-weight: 100;
}

.area li:nth-child(1) a {
    background: #FF1959;
}

.area li:nth-child(1) a:hover {
    border-bottom-right-radius: 9px;
}

.area li:nth-child(2) a {
    background: #3380FF;
}

.area li:nth-child(2) a:hover {
    border-bottom-left-radius: 9px;
    border-bottom-right-radius: 9px;
}

.area li:nth-child(3) a {
    background: #FF6600;
}

.area li:nth-child(3) a:hover {
    border-bottom-left-radius: 9px;
}

.lang-switch {
    position: fixed;
    top: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .4rem .75rem;
    border-radius: 9px;
    background: rgba(0, 0, 0, .65);
    color: white;
    font-weight: 400;
    transition: all 0.25s;
}

.lang-switch a {
    color: white;
    opacity: .65;
    text-decoration: none;
}

.lang-switch a[aria-current="page"],
.lang-switch a:hover,
.lang-switch a:focus-visible {
    opacity: 1;
    font-weight: 700;
}

.menu-toggle {
    width: 4rem;
    line-height: 4rem;
    text-align: center;
    border-radius: 50%;
    border: none;
    background: black;
    color: white;
    cursor: pointer;
    display: inline-block;
    position: fixed;
    right: 3rem;
    top: 3rem;
    transition: all 0.25s;
    font-size: 1.5rem;
    z-index: 999;
}

.menu-toggle.open {
    background: white;
    color: black;
}

.menu-toggle.open:hover,
.menu-toggle.open:active {
    background: black;
    color: white;
}

.menu-toggle::before {
    content: '\f0c9';
    font-family: 'FontAwesome';
}

.menu-toggle.open::before {
    content: '\f00d';
}

.menu {
    display: inline-block;
    position: fixed;
    border-top-left-radius: 9px;
    border-bottom-left-radius: 9px;
    backdrop-filter: blur(.5rem);
    top: 5.5rem;
    right: -20rem;
    background: rgba(0,0,0,0.75);
    padding: 2rem 3rem 2rem 2rem;
    z-index: 998;
    transition: all 0.25s;
}

.menu-toggle.open ~ .menu {
    right: 0;
}

.menu li {
    display: block;
}

.menu li:not(:last-of-type) {
    margin-bottom: .5rem;
}

.menu a {
    color: white;
    text-decoration: none;
}

.menu a:hover {
    color: #727271;
}

.menu a span {
    font-weight: 100;
}

.menu li:nth-child(1 of .sub),
.menu li:nth-child(1 of .act) {
    border-top: 1px dotted silver;
    margin-top: 1rem;
    padding-top: 1rem;
}

.menu li.sub:not(:last-of-type) {
    margin-bottom: .25rem;
}

.menu li.sub a {
    color: silver;
    font-size: .85rem;
    cursor: pointer;
}

.menu li.act.house a { color: #FF1959; }
.menu li.act.services a { color: #3380FF; }
.menu li.act.company a { color: #FF6600; }

.menu li.act a:hover,
.menu li.sub a:hover {
    color: white;
}

.menu li.act .icon {
    margin-right: 0;
    width: 1.85rem
}

div.global {
    margin: 5rem auto 0;
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem 2rem;
    transition: all 0.25s;
}

div.global h2 {
    padding: 0;
    margin-bottom: 1rem;
}

div.global h1 ~ h2,
div.global h2 ~ h2 {
    margin-top: 3rem;
}

div.global p {
    line-height: 1.5rem;
    margin-bottom: 1rem;
}

div.global ul {
    margin-bottom: 1rem;
}

div.global ul li {
    margin: 0 0 1rem 1rem;
}

div.global ul li::before {
    content: '\2022';
    display: inline-block;
    margin-right: .35rem;
}

section {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    height: 100dvh;
    min-height: 100dvh;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

section#legal {
    background-image: linear-gradient(135deg, #3D3D3D 0%, #666666 100%);
}

section:nth-of-type(1) { z-index: 1; }
section:nth-of-type(2) { z-index: 2; }
section:nth-of-type(3) { z-index: 3; }
section:nth-of-type(4) { z-index: 4; }
section:nth-of-type(5) { z-index: 5; }
section:nth-of-type(6) { z-index: 6; }
section:nth-of-type(7) { z-index: 7; }
section:nth-of-type(8) { z-index: 8; }

section .main {
    width: 100%;
    max-width: 1200px;
    max-height: 70vh;
    padding: 0 2rem;
    color: black;
    overflow-y: auto;
    scrollbar-width: none;
    position: relative;
}

section .main::-webkit-scrollbar {
    display: none;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(.5rem);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    transition: all 0.25s;
}

.overlay-content {
    background-color: #ffffff;
    width: calc(100% - 4rem);
    height: auto;
    max-width: 800px;
    max-height: 60%;
    border-radius: 9px;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: black;
}

.overlay-content:has(> img) {
    overflow-y: hidden;
}

.overlay-content p {
    overflow-wrap: break-word;
}

.overlay-content p,
.overlay-content .list {
    padding: 1.5rem;
    margin-top: 0;
}

.overlay-content p + p:not(:last-of-type) {
    padding: 0 1.5rem;
}

.overlay-content img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
}

.overlay-content .flex {
    display: flex;
    padding: 1.5rem;
}

.overlay-content .flex img {
    width: 8rem;
    height: 8rem;
    border-radius: 9px;
}

.overlay-content .flex p {
    padding: 0 0 0 1.5rem;
}

.overlay-content .list {
    padding: 0 1.5rem 1.5rem;
}

.close-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 3rem;
    line-height: 3rem;
    text-align: center;
    cursor: pointer;
    color: white;
    background: black;
    transition: all 0.25s;
    border-bottom-left-radius: 9px;
    z-index: 999;
}

.close-btn::before {
    font-family: 'FontAwesome';
    content: '\f00d';
}

.close-btn:hover {
    background: red;
}

a.top {
    background: black;
    color: white;
    position: fixed;
    bottom: -6rem;
    right: 3rem;
    z-index: 1000;
    width: 4rem;
    line-height: 4rem;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.25s;
    pointer-events: none;
}

a.top.visible {
    bottom: 3rem;
    pointer-events: auto;
}

a.top::before {
    font-family: 'FontAwesome';
    content: '\f062';
}

a.top:hover,
.menu-toggle:hover {
    background: white;
    color: black;
}
sub {
    display: flex;
    align-items: center;
    gap: clamp(.5rem, .75vw, 1.25rem);
    font-size: clamp(1rem, 1.5vw, 2.5rem);
}

sub img {
    height: clamp(1.5rem, 2.5vw, 3.5rem);
    width: auto;
    display: block;
}

sub span {
    font-weight: 700;
}

sub span em,
.global-logo span em {
    font-weight: 100;
    font-style: normal;
}

h1,
h2 {
    font-size: clamp(2rem, 4vw, 11rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 img,
h2 img {
    height: clamp(1.5rem, 2.5vw, 9rem);
    width: auto;
    display: inline-block;
    padding-left: clamp(1rem, 1.5vw, 9rem);
}

h1 span,
h2 span,
h3 span {
    font-weight: 100;
    font-style: normal;
}

h3,
div.global h2 {
    font-size: clamp(2rem, 2vw, 6rem);
    font-weight: 700;
    display: block;
    padding: 1.5rem 1.5rem 0;
}

div.global h3 {
    font-size: clamp(1rem, 1vw, 3rem);
}

div.global h2,
div.global h3 {
    padding: 0;
}

div.global .copy {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px dotted black;
}

p a {
    font-weight: 700;
    text-decoration-line: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    text-decoration-style: dotted;
}

p a:hover {
    color: black;
}

p strong {
    font-weight: 700;
}

h3.header {
    width: 100%;
    color: white;
    padding: clamp(4rem, 5vw, 6rem) 1.5rem 1.5rem;
    position: relative;
    background-image: linear-gradient(45deg, black 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 2;
    transform-style: preserve-3d;
}

h3.header::before {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-size: cover;
    background-position: right center;
    z-index: -1;
    transform: translateZ(-1px); 
    content: '';
}

.list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.list li:not(.overlay) a {
    text-decoration: none;
    padding: 1rem 2rem;
    display: block;
	transition: all 0.25s;
    border-radius: 9px;
    color: white;
    background: black;
    cursor: pointer;
}

.list li a:hover {
    color: black;
    background: white;
}

.list + p {
    margin-top: 2rem;
}

form {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

form .group {
    width: calc(50% - .5rem);
}

form .group:not(:has(~ .group)) {
    width: 100%;
}

form input,
form textarea {
    width: 100%;
    font-size: 1rem;
    font-family: 'Gantari';
    border: 1px solid white;
    padding: 1rem 1.5rem;
    margin: 0;
    background: none;
    border-radius: 9px;
    color: white;
}

form input::placeholder,
form textarea::placeholder {
    color: white;
}

form input.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

form input.invalid, 
form textarea.invalid {
    background: #ff3860;
}

form textarea {
    height: 7.5rem;
}

form button {
    font-family: 'Gantari';
    font-size: 1rem;
    font-weight: 700;
    color: white;
    padding: 1rem 2rem;
	transition: all 0.25s;
    border-radius: 9px;
    border: none;
    background: black;
    cursor: pointer;
    position: relative;
}

form button:hover {
    color: black;
    background: white;
}

form button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

form button.is-loading {
    color: transparent !important;
    cursor: not-allowed;
}

form button.is-loading::after {
    content: '';
    position: absolute;
    width: 1rem;
    height: 1rem;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease-in-out infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.error-text {
    display: block;
    font-size: .85rem;
    font-weight: 700;
}

.success-message {
    background-color: white;
    color: black;
    padding: 1.5rem;
    border-left: 5px solid black;
    border-radius: 9px;
    margin-top: 1.5rem;
}

.success-message strong {
    font-weight: 700;
    font-size: 1.5rem;
    display: block;
    margin-bottom: .25rem;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 2rem auto 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.slider-track {
    display: flex;
    flex: 1;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.slider-item {
    flex: 0 0 calc((100% - (2 * 1rem)) / 3); 
    background-color: white;
    color: black;
    border-radius: 9px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-item p {
    padding: 1rem;
    font-weight: 700;
}

.slider-item img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.nav-btn,
.scroll-arrow {
    transition: all 0.25s;
    background-color: black;
    color: white;
    border: none;
    width: 3rem;
    line-height: 3rem;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.nav-btn {
    flex: 0 0 auto;
}

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.scroll-arrow {
    display: none;
    top: auto;
    transform: translateY(0)
}

.scroll-arrow.is-visible {
    display: block;
}

.arrow-up { top: calc(20vh - 1.5rem); }
.arrow-down { bottom: calc(20vh - 1.5rem); }
.prev-btn { left: -4rem; }
.next-btn { right: -4rem; }

.arrow-up::before { 
    font-family: 'FontAwesome';
    content: '\f062';
}

.arrow-down::before { 
    font-family: 'FontAwesome';
    content: '\f063';
}

.prev-btn::before { 
    font-family: 'FontAwesome';
    content: '\f060';
}

.next-btn::before { 
    font-family: 'FontAwesome';
    content: '\f061';
}

.nav-btn:hover,
.scroll-arrow:hover { 
    background-color: white;
    color: black;
}

@media (max-width: 900px) {
    .slider-item { flex: 0 0 calc((100% - 1rem) / 2); }
}

@media (max-width: 600px) {
    .slider-item { flex: 0 0 100%; }
    .logo { left: 2rem; top: 2rem; }
    .logo img, .global-logo img { width: 3rem; }
    .area a { font-size: .75rem; }
    .lang-switch { top: 2rem; font-size: .75rem; padding: .25rem .55rem; }
    .menu-toggle { right: 2rem; top: 2rem; width: 3rem; line-height: 3rem; }
    .menu { top: 3.5rem; }
    a.top { right: 2rem; width: 3rem; line-height: 3rem; }
    a.top.visible { bottom: 2rem; }
    .list { gap: 1rem; }
    .list li { width: 100%; }
    .list li:not(.overlay) a { padding: .75rem 1.5rem; width: 100%; }
    .overlay-content { width: calc(100% - 2rem) }
    form .group { width: 100%; }
    .overlay-content .flex { display: block; }
    .overlay-content .flex img { width: 100%; }
    .overlay-content .flex p { padding: 1rem 0 0 0; }
    div.global { margin-top: 2rem; }
    .global-logo span { font-size: 1.25rem; }
}