@font-face {
  font-family: "Loos";
  src: url("../fonts/fonnts.com-Loos_Normal_Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Loos";
  src: url("../fonts/fonnts.com-Loos_Normal_Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Loos";
  src: url("../fonts/fonnts.com-Loos_Normal_Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Loos";
  src: url("../fonts/fonnts.com-Loos_Normal_Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

:root {
  --color-black: #080706;
  --color-gold: #CF9959;
  --color-white: #FFFFFF;
  --color-cream: #F1EEE9;
  --font-base: "Loos", Arial, Helvetica, sans-serif;
  --header-height: 110px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-black);
  background-color: var(--color-cream);
      overflow-x: hidden!important;
      font-size: 1.1rem;
}

/*AUMENTARE MARGINI MOBILE
 * 10/06/2026
*/
@media (max-width: 768px) {
    .container,
    .container-fluid,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        --bs-gutter-x: 4rem;
    }

    header .container{
      --bs-gutter-x: 1.1rem!important;
    }

    header .d-flex{
      gap: 20px;
    }
}

.site-header {
  width: 100%;
  z-index: 1030;
}

.bg-black {
  background-color: var(--color-black);
}
.t-gold{
  color: var(--color-gold);
}

.py-100{
  padding-top: 100px;
  padding-bottom: 100px;
}


.line{
  border-bottom: 1.5px solid var(--color-gold);
  min-width: 10%;
  display: inline-block;
}
@media (max-width: 768px) {
  .line{
    display: none;
  }
}

/* HEADER */
.btn-contact{
  display: inline-block;
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  border-radius: 0px;
  padding: 10px 25px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 3px;
  transition: background-color 0.2s, color 0.2s;
  text-decoration: none;
  font-size: 1rem;

}
.btn-contact:hover {
  background-color: var(--color-white);
  color: var(--color-black);
}

.language-tab {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 1025;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 64px;
  padding: 0.65rem 0.55rem 0.65rem 0.45rem;
  background-color: rgba(8, 7, 6, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-right: 0;
  border-radius: 14px 0 0 14px;
  box-shadow: 0 14px 30px rgba(8, 7, 6, 0.24);
  transform: translateY(-50%);
  transition: width 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
}

.language-tab:hover,
.language-tab:focus-visible {
  width: 56px;
  background-color: rgba(8, 7, 6, 0.96);
  transform: translateY(-50%);
}

.language-tab:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}

.language-tab__flag {
  display: block;
  width: 24px;
  height: 15px;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.language-tab__flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .language-tab {
    top: 75%;
    bottom: auto;
    width: 44px;
    height: 58px;
    padding: 0.55rem 0.45rem 0.55rem 0.35rem;
    transform: translateY(-50%);
  }

  .language-tab:hover,
  .language-tab:focus-visible {
    width: 50px;
    transform: translateY(-50%);
  }

  .language-tab__flag {
    width: 22px;
    height: 14px;
  }
}

/*hero*/
#hero {
  position: relative;
  height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background-color: var(--color-black);
  background-image: url("../assets/img/poster-tuscany-supercar.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#hero .container,
#hero .row, #video .container, #video .row {
  position: relative;
  z-index: 2;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 7, 6, 0.18) 0%, rgba(8, 7, 6, 0.72) 100%);
}

.hero-content {
  padding-top: calc(var(--header-height) + 2rem);
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 500;
    line-height: 0.95;
}

.hero-description {
  font-size: 2rem;
  line-height: 1.3;
  font-weight: 300;
}

.hero-description-mobile{
  font-size: 1.1em;
  line-height: 1.3;
}

.icon-hero svg{
  background-color: transparent;
  fill: var(--color-white);
  border-radius: 50%;
  border: 2px solid var(--color-white);
  padding: 10px 10px 6px 10px;
  transition: background-color 0.2s, fill 0.2s;
  margin-top: 30px;
  margin-bottom: 30px;
}

.icon-hero svg:hover{
  background-color: var(--color-white);
  fill: var(--color-black);
}

/* video */
#video {
  position: relative;
  height: 80vh;
  min-height: 80svh;
  overflow: hidden;
  background-color: var(--color-black);
  background-image: url("../assets/img/poster-tuscany-supercar.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000000b8;
}

/*SERVICE*/
.box-service{
  background-color: transparent;
  color: var(--color-black);
  padding: 30px;
  margin-bottom: 0px;
  box-shadow: none;
}
/*
@media (max-width: 768px) {
  .box-service{
  background-color: var(--color-gold);
  color: var(--color-black);
  border-radius: 20px;
  padding: 30px;
  min-height: 200px;
  max-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  margin-bottom: 30px;
  box-shadow: 0px 7px 10px #0000007a;
}
}*/



.video-mobile-solo {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .video-mobile-solo {
    height: 50vh;
    width: 100%;
    object-position: center;
  }
}

.video-mobile-desk{
  display: block;
  height: min(32vw, 360px);
  object-fit: cover;
  width: min(80%, 460px);
  aspect-ratio: 4 / 3;
}

.video-preview-trigger {
  display: block;
  position: relative;
  width: min(80%, 460px);
  height: min(32vw, 360px);
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  cursor: pointer;
}

.video-preview-trigger__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.video-preview-trigger__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(8, 7, 6, 0.08) 0%, rgba(8, 7, 6, 0.32) 100%);
  transition: background-color 0.3s ease;
}

.video-preview-trigger__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border: 1.5px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background-color: rgba(8, 7, 6, 0.28);
  backdrop-filter: blur(8px);
  transition: transform 0.28s ease, background-color 0.28s ease, border-color 0.28s ease;
}

.video-preview-trigger__play svg {
  width: 74px;
  height: 74px;
  fill: var(--color-white);
  transform: translateX(2px);
}

.video-preview-trigger:hover .video-preview-trigger__image,
.video-preview-trigger:focus-visible .video-preview-trigger__image {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.video-preview-trigger:hover .video-preview-trigger__play,
.video-preview-trigger:focus-visible .video-preview-trigger__play {
  transform: scale(1.08);
  background-color: rgba(207, 153, 89, 0.35);
  border-color: var(--color-white);
}

.video-preview-trigger:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 6px;
}

.video-popup .modal-dialog {
  max-width: min(1100px, calc(100vw - 3rem));
}

.video-popup__content {
  position: relative;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  background-color: var(--color-black);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.video-popup__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 5;
}

.video-popup__media {
  position: relative;
  min-height: min(82vh, 620px);
  background-color: var(--color-black);
}

.video-popup__player {
  display: block;
  width: 100%;
  max-height: 82vh;
  background-color: var(--color-black);
}

.video-popup__cta,
.video-popup__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
  text-align: center;
  background: radial-gradient(circle at center, rgba(8, 7, 6, 0.2) 0%, rgba(8, 7, 6, 0.72) 100%);
  z-index: 3;
}

.video-popup__fallback-text {
  color: var(--color-white);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-popup__cta .btn-contact {
  margin-top: 150px;
}

@media (max-width: 767.98px) {
.video-preview-trigger {
  width: 100%;
  height: 40vh;
  aspect-ratio: auto;
}

  .video-popup .modal-dialog {
    max-width: calc(100vw - 1.5rem);
    margin: 0.75rem;
  }

  .video-popup__content {
    border-radius: 18px;
  }

  .video-popup__media {
    min-height: min(70vh, 360px);
  }

  .video-popup__player {
    max-height: 70vh;
  }

  .video-popup__cta .btn-contact {
    margin-top: 110px;
  }
}

/*SERVICE SHOWCASE*/
  .box-service-showcase{
  background-color: var(--color-gold);
  color: var(--color-black);
  border-radius: 20px;
  padding: 30px;
  min-height: 200px;
  max-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  margin-bottom: 30px;
  box-shadow: 0px 7px 10px #0000007a;
}
.box-service-showcase h3{
  color: var(--color-white);
  z-index: 1;
  position: relative;
  font-weight: 400;
}
.box-service-showcase p{
  z-index: 1;
  position: relative;
  font-weight: 400;
}

.showcase-number {
  display: flex;
  align-items: center;
  justify-content: center;
  inset: 0;
  color: var(--color-white);
  opacity: 0.25;
  font-size: 10rem;
  font-weight: 500;
  line-height: 1;
  z-index: 0;
  position: absolute;
  margin: 0;
  pointer-events: none;
}

/* CONTACT */
.p-contact{
  color: var(--color-gold);
  /*letter-spacing: 3px;*/
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.2;
}
.contact-text p{
  line-height: 1.2;
}

.contact-form {
  max-width: 100%;
}

.contact-feedback {
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-black);
  padding: 1rem 1.25rem;
  text-align: center;
  letter-spacing: 0.04em;
}

.contact-feedback--success {
  background-color: var(--color-black);
  border-color: var(--color-gold);
  color: var(--color-white);
}

.contact-feedback--error {
  background-color: rgba(207, 153, 89, 0.08);
  border-color: var(--color-gold);
  color: var(--color-black);
}

.contact-input {
  min-height: 58px;
  border: 1.5px solid var(--color-black);
  border-radius: 0;
  padding: 0.95rem 1.1rem;
  color: var(--color-black);
  background-color: transparent;
  box-shadow: none;
}

.contact-input::placeholder {
  color: var(--color-black);
  text-transform: uppercase;
}

.contact-input:focus {
  border-color: var(--color-gold);
  box-shadow: none;
}

.contact-input--error {
  border-color: var(--color-gold);
}

.contact-textarea {
  min-height: 320px;
  padding-top: 1.25rem;
  resize: none;
}

.contact-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-check .form-check-input {
  margin-top: 0.2rem;
  border-radius: 0;
  border-color: rgba(8, 7, 6, 0.4);
}

.contact-check .form-check-input:checked {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
}

.contact-check .form-check-label {
  line-height: 1.4;
}

.contact-check--error .form-check-label {
  color: var(--color-gold);
}

.contact-field-error {
  margin-top: 0.55rem;
  color: var(--color-gold);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.btn-contact-submit {
  min-height: 58px;
  border: 1px solid var(--color-gold);
  border-radius: 0;
  background-color: var(--color-gold);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
}

.btn-contact-submit:hover {
  background-color: var(--color-black);
  border-color: var(--color-black);
  color: var(--color-white);
}

@media (max-width: 768px) {
  .p-contact{
    letter-spacing: 0em;
  }
  .contact-form .text-center,
  .contact-textarea {
    text-align: left !important;
  }

  .contact-input {
    border: 0;
    border-bottom: 1.5px solid var(--color-black);
    padding-right: 0;
    padding-left: 0;
  }

  .contact-input:focus {
    border-color: transparent;
    border-bottom-color: var(--color-black);
  }

  .contact-input--error {
    border-bottom-color: var(--color-gold);
  }
}


/*footer*/

footer a{
  color: var(--color-white);
  text-decoration: none;
}

.site-footer {
  overflow: hidden;
}

.footer-brand {
  width: 70%;
}

.footer-logo {
  width: 100%;
  height: auto;
}

.footer-logo-mobile {
  width: 90%;
  margin: 0 auto;
}

.footer-heading {
  color: var(--color-gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0;
}

.footer-contact-list {
  font-size: 1.1rem;
}

.footer-contact-item {
  color: var(--color-white);
  line-height: 1.35;
}

.footer-contact-icon {
  flex: 0 0 18px;
  width: 20px;
  height: 20px;
  color: var(--color-gold);
  margin-top: -1.2px;
}

.footer-contact-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.footer-copy {
  color: var(--color-white);
  font-size: 1.1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-copy{
  font-size: 0.85rem;
}

@media (max-width: 991.98px) {
  .footer-brand {
    width: 100%;
    justify-content: center;
  }

  .footer-copy{
  font-size: 0.6rem;
}
}
