:root {
    --font-primary: 'Manrope';
    --font-secondary: 'Grift';
    /* header nav only — see templates/base.html .navbar-menu / .mobile-nav-links */
    --font-nav: 'Posterama';

    /* light, muted text used over dark/photographic surfaces (hero bands, header, loader) */
    --text-white: #b7b7b7;

    /* default site canvas */
    --bg-body: #ffffff;
    --bg-muted: #f6f5f3;
    --text-body: #2a2a2a;
    --text-muted: #6b6b6b;
    --border-soft: rgba(0, 0, 0, .1);
}

body {
    font-family: var(--font-primary), sans-serif;
    background-color: var(--bg-body);
    color: var(--text-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary), sans-serif;
}

html.is-loading, html.is-loading body {
    overflow: hidden;
    height: 100%;
}

/*LOADER*/

.site-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .8s cubic-bezier(.65, 0, .35, 1), visibility 0s linear .8s;
}

.site-loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.site-loader-logo {
    width: 110px;
    opacity: 0;
    transform: scale(.86);
    animation: loaderLogoIn 1.2s cubic-bezier(.16, 1, .3, 1) forwards,
    loaderPulse 2s ease-in-out 1.1s infinite;
}

.site-loader-line {
    width: 110px;
    height: 1px;
    background-color: rgba(183, 183, 183, .18);
    overflow: hidden;
}

.site-loader-line span {
    display: block;
    height: 100%;
    width: 0;
    background-color: #b7b7b7;
    animation: loaderLine 1.3s cubic-bezier(.65, 0, .35, 1) .35s forwards;
}

@keyframes loaderLogoIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes loaderPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}

@keyframes loaderLine {
    to {
        width: 100%;
    }
}

.site-loader.is-loaded {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s cubic-bezier(.65, 0, .35, 1), visibility 0s linear .8s;
}

@media (prefers-reduced-motion: reduce) {
    .site-loader-logo {
        animation: loaderLogoIn .4s ease forwards;
    }

    .site-loader-line span {
        animation: loaderLine .4s ease .1s forwards;
    }
}

/*MESSAGES*/

.site-messages {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(92%, 440px);
}

.site-message {
    padding: 14px 20px;
    font-size: 13px;
    text-align: center;
    background-color: #fff;
    color: var(--text-body);
    border: 1px solid var(--border-soft);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
    animation: messageIn .5s cubic-bezier(.16, 1, .3, 1) forwards;
}

.site-message-success {
    border-color: rgba(28, 124, 63, .35);
    color: #1c7c3f;
}

.site-message-error {
    border-color: rgba(179, 38, 30, .35);
    color: #b3261e;
}

@keyframes messageIn {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*FOOTER*/

.site-footer {
    background-color: #0c0c0c;
    color: var(--text-white);
}

.site-footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 60px;
    padding: 90px 60px 70px;
    max-width: 1440px;
    margin: 0 auto;
}

.site-footer-logo {
    width: 150px;
    margin-bottom: 24px;
}

.site-footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    max-width: 340px;
    color: #8a8a8a;
    margin-bottom: 26px;
}

.site-footer-social {
    display: flex;
    gap: 10px;
}

.site-footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(183, 183, 183, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--text-white);
    transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}

.site-footer-social a:hover {
    background-color: #f2f2f2;
    border-color: #f2f2f2;
    color: #000;
}

.site-footer-heading {
    display: block;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #8a8a8a;
    margin-bottom: 24px;
}

.site-footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.site-footer-col ul li a,
.site-footer-contact li {
    font-size: 14px;
    color: var(--text-white);
    line-height: 1.6;
}

.site-footer-col ul li a {
    position: relative;
    width: fit-content;
    display: inline-block;
}

.site-footer-col ul li a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #f2f2f2;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .35s ease;
}

.site-footer-col ul li a:hover::after {
    transform: scaleX(1);
}

.site-footer-contact li {
    color: #8a8a8a;
}

.site-footer-contact li a {
    color: #8a8a8a;
    transition: color .3s ease;
}

.site-footer-contact li a:hover {
    color: #f2f2f2;
}

.site-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 26px 60px;
    max-width: 1440px;
    margin: 0 auto;
    border-top: 1px solid rgba(183, 183, 183, .14);
    font-size: 12px;
    color: #6f6f6f;
}

.site-footer-bottom a {
    color: #6f6f6f;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color .3s ease, border-color .3s ease;
}

.site-footer-bottom a:hover {
    color: #f2f2f2;
    border-color: #f2f2f2;
}

@media screen and (max-width: 900px) {
    .site-footer-top {
        grid-template-columns: 1fr;
        gap: 44px;
        padding: 70px 24px 50px;
    }

    .site-footer-bottom {
        padding: 22px 24px;
        justify-content: center;
        text-align: center;
    }
}

/*LEAFLET MAP (SHARED)*/

.leaflet-container {
    font-family: var(--font-primary), sans-serif;
}

.brand-map-pin {
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35));
}

.map-actions {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 500;
    display: flex;
    gap: 10px;
    background-color: rgba(255, 255, 255, .96);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .14);
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 12px;
    letter-spacing: .04em;
    color: var(--text-body);
    text-decoration: none;
    border-radius: 6px;
    transition: background-color .25s ease;
}

.map-btn:hover {
    background-color: var(--bg-muted);
}

.map-btn i {
    font-size: 13px;
    color: var(--text-muted);
}

@media screen and (max-width: 767px) {
    .map-actions {
        left: 12px;
        right: 12px;
        bottom: 12px;
        flex-direction: column;
    }

    .floating-actions {
        right: 16px;
        bottom: 16px;
        gap: 12px;
    }

    .floating-action {
        height: 48px;
        padding: 0 14px;
    }

    .floating-action i {
        font-size: 18px;
    }

    .floating-action-label {
        display: none;
    }
}

/*HEADER*/

header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 101;
    color: var(--text-white);
    width: 100%;
    background-color: transparent;
    box-shadow: none;
    transition: background-color .4s ease, box-shadow .4s ease;
}

header.is-scrolled {
    position: fixed;
    background-color: rgba(10, 10, 10, .92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 2.5rem;
    align-items: center;
    transition: padding .4s ease;
}

header.is-scrolled .navbar {
    padding: .85rem 2.5rem;
}

.navbar-menu ul {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.navbar-menu ul li a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 6px 0;
    font-family: var(--font-nav), var(--font-secondary), sans-serif;
    font-size: 15px;
    letter-spacing: .05em;
    color: var(--text-white);
    opacity: .65;
    transition: opacity .35s ease;
}

.navbar-menu ul li a::before {
    content: '';
    width: 0;
    height: 3px;
    margin-right: 0;
    border-radius: 50%;
    background-color: currentColor;
    transition: width .35s cubic-bezier(.16, 1, .3, 1), margin-right .35s cubic-bezier(.16, 1, .3, 1);
}

.navbar-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}

.navbar-menu ul li a:hover,
.navbar-menu ul li a.is-active {
    opacity: 1;
}

.navbar-menu ul li a:hover::after,
.navbar-menu ul li a.is-active::after {
    transform: scaleX(1);
}

.navbar-menu ul li a.is-active::before {
    width: 4px;
    height: 4px;
    margin-right: 8px;
}

.navbar-logo img {
    width: 140px;
    transition: width .3s ease;
}

header.is-scrolled .navbar-logo img {
    width: 112px;
}

/* FLOATING ACTIONS */

.floating-actions {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.floating-action {
    display: flex;
    align-items: center;
    height: 52px;
    padding: 0 16px;
    border-radius: 999px;
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
    overflow: hidden;
    transition: background-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.floating-action i {
    font-size: 20px;
    width: 20px;
    flex-shrink: 0;
    text-align: center;
}

.floating-action-label {
    max-width: 0;
    margin-left: 0;
    opacity: 0;
    white-space: nowrap;
    overflow: hidden;
    font-size: 13px;
    letter-spacing: .03em;
    transition: max-width .35s ease, opacity .25s ease, margin-left .35s ease;
}

.floating-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .32);
}

.floating-action:hover .floating-action-label {
    max-width: 140px;
    opacity: 1;
    margin-left: 10px;
}

.floating-action-whatsapp {
    background-color: #25d366;
}

.floating-action-whatsapp:hover {
    background-color: #20bd5c;
}

.floating-action-call {
    background-color: #1c1c1c;
}

.floating-action-call:hover {
    background-color: #2c2c2c;
}

.navbar-contact {
    display: flex;
    align-items: center;
    gap: 18px;
}

.navbar-lang-form {
    display: inline-flex;
}

.navbar-lang-form button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font-primary), sans-serif;
    font-size: 13px;
    letter-spacing: .05em;
    color: inherit;
    opacity: .5;
    cursor: pointer;
    transition: opacity .3s ease;
}

.navbar-lang-form button:hover {
    opacity: .8;
}

.navbar-lang-form button.is-active {
    opacity: 1;
}

.navbar-lang-flag {
    width: 18px;
    height: 13px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .25);
}

.navbar-lang-sep {
    opacity: .35;
    font-size: 12px;
}

.navbar-toggler {
    display: none;
    position: relative;
    width: 30px;
    height: 18px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 102;
}

.navbar-toggler span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: #f2f2f2;
    border-radius: 2px;
    transition: transform .45s cubic-bezier(.65, 0, .35, 1), opacity .3s ease, top .45s cubic-bezier(.65, 0, .35, 1);
}

.navbar-toggler span:nth-child(1) {
    top: 0;
}

.navbar-toggler span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.navbar-toggler span:nth-child(3) {
    top: 100%;
    transform: translateY(-100%);
}

.navbar-toggler[aria-expanded="true"] span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] span:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/*MOBILE NAV*/

html.nav-open {
    overflow: hidden;
}

html.nav-open body {
    position: fixed;
    left: 0;
    right: 0;
    overflow: hidden;
}

.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 250;
    visibility: hidden;
    pointer-events: none;
}

.mobile-nav.is-open {
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 6, 6, .6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity .5s ease;
}

.mobile-nav.is-open .mobile-nav-backdrop {
    opacity: 1;
}

.mobile-nav-panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(88vw, 420px);
    display: flex;
    flex-direction: column;
    padding: 26px 28px 40px;
    background-color: #0a0a0a;
    background-image: radial-gradient(120% 60% at 100% 0%, rgba(255, 255, 255, .05), transparent 60%);
    box-shadow: -40px 0 70px rgba(0, 0, 0, .4);
    transform: translateX(100%);
    transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}

.mobile-nav.is-open .mobile-nav-panel {
    transform: translateX(0);
}

.mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 46px;
}

.mobile-nav-logo img {
    width: 116px;
}

.mobile-nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .18);
    background: transparent;
    color: #f2f2f2;
    font-size: 14px;
    cursor: pointer;
    transition: background-color .3s ease, border-color .3s ease, transform .3s ease;
}

.mobile-nav-close:hover {
    background-color: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .35);
    transform: rotate(90deg);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    margin-bottom: auto;
}

.mobile-nav-links li {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .5s ease, transform .55s cubic-bezier(.16, 1, .3, 1);
    transition-delay: calc(var(--i) * 70ms);
}

.mobile-nav.is-open .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-family: var(--font-secondary), sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #f6f6f6;
    opacity: .75;
    text-decoration: none;
    transition: opacity .3s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.is-active {
    opacity: 1;
}

.mobile-nav-links a.is-active::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: currentColor;
    flex-shrink: 0;
}

.mobile-nav-footer {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-top: 30px;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .5s ease, transform .55s cubic-bezier(.16, 1, .3, 1);
    transition-delay: .4s;
}

.mobile-nav.is-open .mobile-nav-footer {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-white);
    text-decoration: none;
}

.mobile-nav-social {
    display: flex;
    gap: 12px;
}

.mobile-nav-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .18);
    color: #f2f2f2;
    text-decoration: none;
    transition: background-color .3s ease, border-color .3s ease;
}

.mobile-nav-social a:hover {
    background-color: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .35);
}

.mobile-nav-lang {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.mobile-nav-lang .navbar-lang-form button,
.mobile-nav-lang .navbar-lang-sep {
    color: #f2f2f2;
}

@media screen and (max-width: 900px) {
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: rgba(10, 10, 10, .55);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
        transition: background-color .3s ease;
    }

    .navbar {
        padding: 1rem 1.25rem;
    }

    .navbar-logo img {
        width: 108px;
    }

    .navbar-menu,
    .navbar-contact {
        display: none;
    }

    .navbar-toggler {
        display: block;
    }
}

@media screen and (max-width: 480px) {
    .mobile-nav-panel {
        width: 100vw;
    }
}

/*HERO*/

.hero {
    height: 100svh;
}

.hero-swiper {
    height: 100%;
}

.hero-media {
    height: 100%;
}

.hero-media img, .hero-media video, .hero-media picture {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    bottom: 60px;
    left: 60px;
    color: var(--text-white);
    z-index: 3;
}

.hero-content h1 {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
}

.hero-content a {
    position: relative;
    font-size: 14px;
}

.hero-content a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background-color: #b7b7b7;
    transform-origin: left center;
    transition: transform 0.5s ease;
    opacity: 30%;
}

.hero-overlay {
    position: absolute;
    z-index: 2;
    background-color: rgba(0, 0, 0);
    inset: 0;
}

.hero-nav {
    position: absolute;
    right: 100px;
    bottom: 60px;
    width: 120px;
}

.hero-nav .swiper-button-next, .hero-nav .swiper-button-prev {
    color: var(--text-white);
    display: flex;
    font-size: 16px;
    padding: 14px;
    border-radius: 50%;
    background-color: rgb(42 42 42 / 0.5);
    width: 50px;
    height: 50px;
    border: 1px solid #3f3f3f
}

.hero-nav .swiper-button-prev {
    left: 0;
}

.hero-nav .swiper-button-next {
    right: 0;
}

.hero-nav svg {
    fill: var(--text-white);
}

@media screen and (max-width: 767px) {
    .hero-content {
        left: 24px;
        bottom: 24px;
        max-width: calc(100% - 48px);
    }

    .hero-nav {
        right: 80px;
        bottom: 60px;
        width: 96px;
    }

    .hero-nav .swiper-button-next, .hero-nav .swiper-button-prev {
        width: 42px;
        height: 42px;
        padding: 10px;
    }
}

.hero-swiper .swiper-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    bottom: 60px;
}

/* Default dot */
.hero-swiper .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    margin: 0 !important;

    background: url("../img/dot.png") center / contain no-repeat;
    opacity: 1;

    border-radius: 0;
    transition: width 0.3s ease,
    height 0.3s ease,
    transform 0.3s ease;
}

/* Current / active dot */
.hero-swiper .swiper-pagination-bullet-active {
    width: 20px;
    height: 20px;

    background-image: url("../img/dot-current.png");
}
