/* ===================================
   CSS RESET - Meyer Reset
   =================================== */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ===================================
   CSS VARIABLES
   =================================== */

:root {
    --header: 15rem;
    --scroll: 15rem;
    --cta-height: 7.6rem;

    --page: #fff;
    --text: #281a19;
    --text-lt: #c6b6a5;
    --title: #281a19;
    --title2: #a69083;
    --subtitle: #281a19;
    --cta: #948068;
    --cta-hover: #b19a7d;
    --link: #948068;
    --menu-back: rgba(40, 26, 25, .7);

    --color1: #281a19;
    --color2: #eadcce;
    --color3: #3a2a29;
    --attention: rgb(255, 0, 21);

    --font1: "Outfit", sans-serif;
    --font2: "Rufina", serif;
}

@media screen and (max-width: 1023px) {
    :root {
        --header: 8rem;
        --scroll: 8rem;
    }
}

@media screen and (max-width: 767px) {
    :root {
        --cta-height: 6rem;
    }
}

/* ===================================
   GLOBAL STYLES
   =================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-tap-highlight-color: transparent;
    font-size: 10px;
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    color: var(--text);
    background-color: var(--page);
    font-family: var(--font1);
    font-size: clamp(18.00px, calc(0.2500vw + 17.2000px), 22.00px);
    line-height: 1.5;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a:hover,
a:active,
a:focus {
    text-decoration: none;
    outline: none;
}

button {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    outline: none;
}

#site {
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* ===================================
   HEADER
   =================================== */

#site-header {
    padding: 9rem min(2vw, 4rem) 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: none;
    z-index: 5;
    transition: background .25s ease, padding .25s ease, box-shadow .25s ease;
}

#site-header.scroll {
    background: #fff;
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0px 0px 15px -2px #ccc;
}

#site-header.scroll .center a {
    width: 30%;
}

#site-header .inner {
    height: var(--header);
    margin: 0 auto;
    display: flex;
    flex-direction: row;
}

#site-header .left,
#site-header .right {
    flex: 0 0 31.3333%;
}

#site-header .left {
    display: flex;
    flex-direction: row;
    padding-left: min(5vw, 10rem);
}

#site-header .center {
    flex: 0 0 37.3333%;
    text-align: center;
    display: flex;
}

#site-header .center a {
    display: block;
    margin: auto;
    text-decoration: none;
    transition: width .25s ease;
}

#site-header .center span {
    font-weight: 400;
    letter-spacing: .1ch;
    color: #000;
    text-transform: uppercase;
}

#site-header .right {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

#site-header .mobile-left,
#site-header .mobile-right {
    display: contents;
}

.header-contacts {
    display: flex;
    flex-direction: row;
    align-self: center;
    height: 8.8rem;
}

.header-contacts li {
    padding: 0 min(1vw, 2rem) 1.8rem;
    display: flex;
    text-align: center;
}

.header-contacts a {
    color: #000;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    margin: auto auto 0;
    transition: color .25s ease;
    position: relative;
}

.header-contacts a .label {
    font-size: 1.8rem;
    line-height: 1.1;
    font-weight: 400;
    margin-top: 0.5rem;
    font-family: var(--font2);
}

.header-contacts a .label strong {
    display: block;
    font-weight: 900;
}

.header-contacts .hide-desktop {
    display: none;
}

.icon-edt-phone-14::after {
    content: '';
    position: absolute;
    top: -0.3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 100%;
    border: 2px solid #000;
}

.icon-edt-phone-14:before {
    content: "\e074";
    font-family: edita-font !important;
    font-size: 2.6rem;
}

/* ===================================
   SLIDER SECTION
   =================================== */

#slider-section {
    background-color: var(--color1);
    width: 100%;
    margin: 0 auto;
    position: relative;
}

#slider-section::before {
    content: '';
    display: block;
    background-color: var(--color1);
    height: var(--header);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
}

#slider-section .slide img {
    width: 100%;
    height: 100vh;
    max-height: 110.2rem;
    object-fit: cover;
}

.single-slide {
    position: relative;
    height: 100vh;
    max-height: 110.2rem;
}

/* ===================================
   TITLES
   =================================== */

h1.site-title {
    color: var(--title);
    font-family: var(--font2);
    font-size: clamp(50.00px, calc(0.9375vw + 47.0000px), 65.00px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: .05ch;
    margin-bottom: 8rem;
    text-transform: uppercase;
}

h2.site-subtitle {
    font-size: clamp(22.00px, calc(0.2500vw + 21.2000px), 26.00px);
    line-height: 1;
    color: #c89e38;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: .05ch;
    margin-bottom: 3rem;
}

h1.site-title b,
h2.site-subtitle b,
h1.site-title strong,
h2.site-subtitle strong {
    font-weight: 400;
}

/* ===================================
   PAGE CONTENT
   =================================== */

#page-content {
    padding: min(6.5vw, 13rem) 3rem min(5vw, 10rem);
    background-color: #f9f2eb;
}

body.no-slide #page-content {
    padding-top: min(10vw, 20rem);
}

#page-content>.inner {
    width: 100%;
    max-width: 122rem;
    margin: 0 auto;
    text-align: center;
}

#page-content>.inner .editor-content strong {
    font-weight: 700;
}

#page-content>.inner .editor-content p {
    margin: 2rem 0;
}

/* ===================================
   HIGHLIGHTS SECTION
   =================================== */

#highlights-section {
    margin: 0;
    padding: 5rem 0;
}

.highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 60rem;
}

.highlight:nth-child(even) {
    direction: rtl;
}

.highlight:nth-child(even) .text {
    direction: ltr;
}

.highlight .image {
    position: relative;
    overflow: hidden;
}

.highlight .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 12rem 12rem 0;
}

.highlight:nth-child(even) .image img {
    border-radius: 12rem 0 0 12rem;
}

.highlight .text {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem;
}

.highlight .text-inner {
    max-width: 70rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.highlight h3 {
    font-family: var(--font2);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--color1);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1ch;
}

.highlight .description {
    font-size: 3.5rem;
    letter-spacing: 2px;
    line-height: 35px;
    color: #333333;
    font-family: var(--font2);
    margin: 3rem 0;
    text-align: center;
}

.highlight .description p {
    margin: 5rem 0;
}

.highlight .description img {
    display: block;
    margin: 0 auto;
}

.secondary-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05ch;
    transition: all 0.3s ease;
    background-color: #5aa519;
    padding: 1.5rem 2.5rem;
    border-radius: 5rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.secondary-cta:hover {
    background-color: #7ccf2a;
    transform: translateX(5px);
}

.icon-edt-arrow-right-2:before {
    content: "\75";
    font-family: edita-font !important;
    text-transform: lowercase;
}

.highlight:nth-child(even) .secondary-cta {
    background-color: #c8b477;
}

.highlight:nth-child(even) .secondary-cta:hover {
    background-color: #e0c28f;
}

/* ===================================
   DOVE SIAMO SECTION
   =================================== */

#dove-siamo {
    padding: 8rem 0 0;
    text-align: center;
    background-color: #f9f2eb;
}

#dove-siamo .section-title {
    font-family: var(--font2);
    font-size: clamp(35.00px, calc(1vw + 30px), 50.00px);
    font-weight: 400;
    color: var(--color1);
    margin-bottom: 5rem;
    letter-spacing: 0.1ch;
}

#dove-siamo img {
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    display: block;
}

/* ===================================
   FOOTER
   =================================== */

#site-footer {
    background-color: #f9f1eb;
    color: #000;
    padding: 6rem 3rem 3rem;
}

#site-footer .inner {
    max-width: 140rem;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5rem;
    margin-bottom: 4rem;
    align-items: flex-end;
}

#site-footer .inner:first-child {
    padding-bottom: 0;
    margin-bottom: -3rem;
    justify-content: center;
    max-width: 23rem;
}

#site-footer .inner:last-child {
    margin-bottom: 0;
    padding-top: 0;
    margin-top: -3rem;
    justify-content: center;
}

.footer-info dt {
    margin-bottom: 2rem;
}

.footer-info dt h3 {
    font-family: var(--font2);
    font-size: 2.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1ch;
}

.footer-info dd {
    margin-bottom: 2rem;
}

.footer-info address {
    font-style: normal;
    font-size: 2.2rem;
    line-height: 1.6;
}

.footer-info ul li {
    font-size: 2.2rem;
    line-height: 1.4;
}

.footer-info ul li b {
    font-weight: 700;
}

.footer-info ul.legal li {
    font-size: 1.6rem;
}

.footer-info a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: var(--cta);
}

.footer-info .piva li {
    font-size: 1.6rem;
}

.legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal li {
    font-size: 1.6rem;
}

.legal li::after {
    content: '|';
    margin-left: 1rem;
    color: #000;
}

.legal li:last-child::after {
    content: '';
}

.legal a {
    color: #000;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal a:hover {
    color: #000;
    text-decoration: underline;
}

#credits {
    text-align: right;
    font-size: 1.4rem;
    color: #000;
}

#credits img {
    display: inline-block;
    vertical-align: middle;
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.pulse:hover {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* ===================================
   RESPONSIVE - TABLET
   =================================== */

@media screen and (max-width: 1440px) {
    #site-header .left {
        padding-left: 0;
    }

    #site-header .left,
    #site-header .right {
        flex: 0 0 30%;
    }

    #site-header .center {
        flex: 0 0 40%;
    }

    #site-header .center span {
        font-size: 260%;
    }

    #site-header.scroll .center a {
        width: 40%;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1199px) {
    #site-header .center span {
        font-size: 225%;
    }
}

@media screen and (max-width: 1023px) {
    #site-header {
        filter: none;
        padding-top: 3rem;
    }

    #site-header.scroll {
        box-shadow: 0 0 1rem rgba(0, 0, 0, .15);
    }

    #site-header.scroll .center a {
        width: auto;
    }

    #site-header .left,
    #site-header .right {
        display: contents;
    }

    #site-header .center span {
        font-size: 4vw;
        line-height: 1;
        text-align: center;
        padding: 0.5rem;
        width: 100%;
        display: inline-block;
    }

    #site-header .mobile-left,
    #site-header .mobile-right {
        display: initial;
        display: flex;
    }

    #site-header .inner {
        justify-content: space-between;
    }

    #site-header .mobile-left {
        flex: 0 0 33.33%;
        order: 1;
    }

    #site-header .center {
        flex: 0 0 30%;
        order: 2;
    }

    #site-header .mobile-right {
        order: 3;
        flex: 0 0 55%;
        text-align: right;
        justify-content: flex-end;
    }

    .header-contacts li {
        border-left: 0;
        padding: 0 0 1.8rem;
    }

    .header-contacts li:last-of-type {
        padding-left: 3rem;
    }

    .header-contacts .hide-mobile {
        display: none;
    }

    .header-contacts .hide-desktop {
        display: initial;
    }

    .header-contacts a [class^='icon-'] {
        font-size: 1.8rem;
    }

    #page-content>.inner {
        padding-right: 0;
        text-align: left;
    }

    body.no-slide #page-content {
        padding-top: 12rem;
    }

    .highlight {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .highlight:nth-child(even) {
        direction: ltr;
    }

    .highlight .text {
        padding: 4rem 3rem;
    }

    .highlight .image img,
    .highlight:nth-child(even) .image img {
        border-radius: 0;
    }

    #site-footer .inner {
        max-width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4rem;
        text-align: center;
    }

    #site-footer .inner:first-child {
        margin-bottom: 2rem;
    }

    #site-footer .inner img {
        display: block;
        margin: 0 auto;
    }

    .legal {
        flex-direction: column;
        gap: 1rem;
    }

    .legal li::after {
        content: '';
    }

    #credits {
        text-align: left;
        margin-top: 2rem;
    }
}

/* ===================================
   RESPONSIVE - MOBILE
   =================================== */

@media screen and (max-width: 767px) {

    .header-contacts li,
    .header-contacts li:last-of-type {
        padding-left: 1.5rem;
    }

    .header-contacts a [class^='icon-'] {
        font-size: 1.8rem;
    }

    #site-header .center span {
        font-size: 7vw;
    }

    .header-contacts a .label {
        font-size: 1.6rem;
    }

    h1.site-title {
        margin-bottom: 3rem;
    }

    h2.site-subtitle {
        margin-bottom: 4rem;
    }

    #page-content {
        padding: 4rem 3rem 5rem;
    }

    body.no-slide #page-content {
        padding-top: 12rem;
    }

    .highlight .text {
        padding: 3rem 2rem 5rem;
    }

    .highlight h3 {
        font-size: 2.5rem;
    }

    .highlight .description {
        font-size: 1.6rem;
    }

    #dove-siamo {
        padding: 5rem 2rem;
    }

    #dove-siamo .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

    #site-footer {
        padding: 4rem 2rem 2rem;
    }
}