@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --brand-background: #EFEFE5;
  --brand-brown: #6D5749;
  --branding-hovered: #84B2A7;
  --brand-white: #FFFFFF;
  --brand-black: #000000;
  --brand-shadow: 0px 0px 10px 5px #00000011;
  
  --font-family-1: "Raleway", sans-serif;
  --font-family-2: "Arvo", "Lucida Console", lucida, monospace;
  
  --custom-transition: all 0.5s ease;
  
  --img-ratio-rate-primary: 4 / 3;
  --img-ratio-rate-primary-mobile: 4 / 3;
  --img-ratio-rate-secondary: 4 / 3;
  --img-ratio-rate-secondary-mobile: 4 / 3;
  --img-ratio-mda-secondary-rate: 4 / 3;
  --img-ratio-mda-secondary-rate-mobile: 4 / 3;
}

@media screen {
  
  body {
    font-family: var(--font-family-1);
    background-color: var(--brand-background);
  }

  h1, h2, h3, h4, h5, h6,
  .header1, .header2, .header3, .header4, .header5, .header6,
  .heading-1, .heading-2, .heading-3, .heading-4, .heading-5, .heading-6 {
    font-family: var(--font-family-2);
  }
  
  .main-be-area {
    background-color: transparent;
  }

  .avvio-calendar__date,
  .button, 
  .button--secondary,
  .button--branded {
    transition: var(--custom-transition); 
  }

  .button__text {
    font-family: var(--font-family-2);
  }

  .card-grid__title h4, 
  .card-grid__title h5 {
    text-decoration: none!important;
    font-family: var(--font-family-2);
    transition: var(--custom-transition);
  }

  .card-grid__title h4:hover, 
  .card-grid__title h5:hover {
    color: var(--branding-hovered);
  }

  .avvio-incentives__item {
    background: var(--branding-hovered);
    color: var(--brand-white);
    font-family: var(--font-family-2);
    padding-inline: var(--spacing-2x);
    /*font-size: 14px;*/
  }
  
  .header a i,
  .backtotop a i,
  .footer a i {
    margin-right: 0px;
  }
  
  .header {
    display: flex;
    justify-content: center;
    align-items: center;
    
    font-family: var(--font-family-2);
    
    background-color: var(--brand-brown);
    color: var(--brand-white);
    
    padding: 0px; 
    border-bottom: 1px solid var(--border-default);
    z-index: 4;
  }
  
  .header .container {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .header .invisible-flex-item {
    display: block;
    
    height: 100%;
    width: 122.67px;
    margin-right: 170px;
  }
  
  .header .logo {
    position: absolute;
    background-color: var(--brand-white);
    box-shadow: var(--brand-shadow);
    
    top: 0px;
    width: 240px;
  }
  
  .header .logo a {
    display: flex;
    justify-content: center;
    align-items: center;
    
    padding-block: 10px;
    padding-inline: 30px;
  }
  
  .header .logo img {
    display: block;

    height: 70px;
    width: auto;
    
    transition: var(--custom-transition);
  }

  .header .logo img:hover {
    filter: invert(0.06);
  }



  /* --- Back to Site button --- */
  .header .backtosite {
    position: static;
    
    margin-left: 170px;
  }

  .header .backtosite a {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    
    color: var(--brand-white);
    background-color: transparent;
    
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 19.5px;
    text-align: center;
    text-indent: 0px;
    text-transform: uppercase;
    
    padding-inline: 9px;
    padding-block: 24px;
    
    transition: var(--custom-transition);
  }
  
  .header .backtosite:hover a {
    background-color: var(--brand-background);
    color: var(--brand-brown);
  }
  
  .header .backtosite:active a {
    top: 1px;
  }
  
  .footer {
    box-sizing: border-box;
    
    background-color: var(--brand-brown);
    color: var(--brand-white);
    
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 24px;
    text-align: center;
    
    width: 100%;
    padding: 20px;
    gap: 10px;
  }
  
  .five-element-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .five-element-footer > * {
    flex-grow: 1;
  }
  
  .five-element-footer > *:first-child,
  .five-element-footer > *:last-child {
    flex-basis: 100%;
  }
  
  .footer a {
    color: var(--brand-white);
    
    text-decoration: none;
    
    transition: var(--custom-transition);
  }
  
  .footer .backtotop {
    display: flex;
    justify-content: center;
    align-items: center;
    
    font-size: 16px;
    font-weight: 900;
    line-height: 16px;
    
    padding-inline: 15px;
    padding-bottom: 30px;
  }
  
  .footer .backtotop a i {
    
    transition: var(--custom-transition);
  }
  
  .footer .backtotop:hover a i {
    color: var(--brand-color);
  }
  
  .footer .footer-logo {
    display: flex;
    justify-content: left;
    
    max-width: 33%;
  }
  
  .footer .footer-logo img {
    display: block;
    
    filter: brightness(1000%);
    
    height: 150px;
    width: auto;
    
    transition: var(--custom-transition);
  }
  
  .footer .footer-logo:hover img {
    filter: brightness(350%);
  }
  
  .footer .center {
    max-width: 33%;
    gap: 10px;
  }
  
  .footer .address {
    padding-bottom: 20px;
  }
  
  .footer .contact {
    font-weight: 700;
  }
  
  .footer .contact br {
    line-height: 10px;
  }
  
  .footer .contact a {
    font-weight: 400;
    
    border-bottom: 1px solid transparent;
    
    transition: var(--custom-transition);
  }
  
  .footer .contact a:hover {
    border-bottom: 1px solid var(--brand-white);
  }
  
  .footer .socials {
    display: flex;
    justify-content: right;
    
    font-size: 28.8px;
    
    max-width: 33%;
    gap: 20px;
  }

  .footer .socials a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 5px;
    min-width: 40px;
  }

  .footer .socials a path {
    fill: var(--brand-white);
    transition: var(--custom-transition);
  }
  
  .footer .socials a i {
    color: var(--brand-white);
    
    transition: var(--custom-transition);
  }
  
  .footer .socials a:hover i {
    color: var(--brand-color);
  }

  .footer .socials a:hover path {
    fill: var(--brand-color);
  }
  
  .footer .socials a img {
    display: block;
    
    height: 34px;
    width: auto;
    margin-top: -4px;
    
    transition: var(--custom-transition);
  }
  
  .footer .socials a:hover img {
    filter: invert(58%) sepia(49%) saturate(273%) hue-rotate(114deg) brightness(98%) contrast(85%);
  }
  
  .footer small {
    display: flex;
    justify-content: center;
    
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
  }
  
  .footer small a {
    padding-top: 40px;
    border-bottom: 1px solid transparent;
    margin-bottom: 80px;
    
    transition: var(--custom-transition);
  }
  
  .footer small a:hover {
    border-bottom: 1px solid var(--brand-white);
  }
  
}



@media screen and (max-width: 1099px) {
  
  .header .logo {
    position: static;
    
    box-shadow: unset;
  }
  
  .header .container {
    justify-content: space-between;
    
    padding-inline: 20px;
  }
  
  .footer .socials {
    gap: 10px;
  }
  
}



/* ----- Tablet specific ----- */
@media screen and (max-width: 999px) {
  
  .header .container {
    padding-left: 0px;
  }
  
  .header .invisible-flex-item {
    display: none;
  }
  
  .header .logo {
    width: 220px;
  }
  
  .header .logo img {
    height: 65px;
  }
  
  .header .backtosite {
    margin-left: 0px;
  }
  
  .footer .footer-logo img {
    height: 130px;
  }
  
  .footer .socials {
    font-size: 26.4px;
  }
  
}



@media screen and (max-width: 799px) {
  
  .footer .container {
    flex-direction: column;
    
    gap: 10px;
  }
  
  .footer .footer-logo {
    justify-content: center;
    
    max-width: 100%;
  }
  
  .footer .footer-logo img {
    height: 120px;
  }
  
  .footer .center {
    max-width: 100%;
  }
  
  .footer .socials {
    justify-content: center;
    
    max-width: 100%;
    padding-block: 10px;
  }
  
}



/* ----- Mobile specific ----- */
@media screen and (max-width: 499px) {

  .header .container {
    justify-content: center;
    
    padding-right: 0px;
  }
  
  .header .logo {
    width: 200px;
  }
  
  .header .logo img {
    height: 60px;
  }
  
  .header .backtosite {
    display: none;
  }
  
  .footer {
    font-size: 14px;
  }
  
  .footer .footer-logo img {
    height: 100px;
  }
  
  .footer .socials {
    font-size: 24px;
  }
  
}

/* --- Desktop specific for abandonment message --- */

.exitIntentContainer.color .exitIntentContent {
  background: none;
}

div#exitIntentPopupContainer {
  width: min(80vw, 1000px);
}

.popup-content {
  display: flex;
  flex-direction: row;
}

.left-cover {
  width: 60%;
}

.exitIntentContent {
  box-shadow: none;
}

.exitIntentDesc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.right-content {
  width: 50%;
  background-color: #538074;
  padding: 30px;
}

.right-content-img {
  width: 180px!important;
  height: auto!important;
  padding-bottom: 80px;
}

.right-content .text-1 span {
  font-family: "Arvo", serif;
  font-size: 24px;
  font-weight: 600;
}

.right-content .text-3 span {
  font-family: "Arvo", serif;
  font-size: 18px;
}

#exitIntentHeading {
  visibility: hidden;
  position: absolute;
}

.exitIntentSpacing {
  margin: 0;
}

.exitIntentDesc p {
  margin: 0;
  padding: 0 0 30px 0;
  font: 16px/25px "Raleway", sans-serif !important;
  font-weight: normal !important;
  color: white;
}

.cta-container {
  padding-bottom: 20px;
}

.cta-button {
  background: #6d5749;
  color: #fff;
  font: 700 18px "Arvo", serif;
  margin: 0;
  padding: 8px 25px;
  border: 1px solid #fff;
  transition: var(--custom-transition);
}

.cta-button:hover {
  background: #a48978;
  color: #fff;
}

#exitIntentCtaButton {
  visibility: hidden;
  position: absolute;
}

/* --- Tablet specific for abandonment message --- */

@media screen and (max-width: 900px) {
  div#exitIntentPopupContainer {
    width: 90vw; /* allow more breathing space */
    height: auto; /* let it expand naturally */
  }

  .popup-content {
    flex-direction: column; /* stack vertically on tablet */
  }

  .left-cover {
    width: 100%; 
    height: 250px; /* fixed height for image */
  }

  .exitIntentDesc img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .right-content {
    width: 100%; 
    padding: 20px;
    text-align: center; /* more natural for tablet */
  }

  .right-content-img {
    width: 150px !important; 
    padding-bottom: 40px;
  }

  .right-content .text-1 span {
    font-size: 22px; /* slightly smaller heading */
  }

  .right-content .text-3 span {
    font-size: 16px;
  }

  .exitIntentDesc p {
    font-size: 15px;
    line-height: 22px;
    padding: 0 0 20px 0;
  }

  .cta-button {
    font-size: 16px;
    padding: 10px 20px;
  }
}

/* --- Mobile specific for abandonment message --- */

@media screen and (max-width: 450px) {
  div#exitIntentPopupContainer {
    width: 95vw;
    height: auto;
  }

  .popup-content {
    flex-direction: column;
  }

  .left-cover {
    width: 100%;
    height: 270px;
  }

  .exitIntentDesc img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .right-content {
    width: 100%; /* full width */
    padding: 20px; /* reduce padding for small screen */
    text-align: center; /* center text for mobile */
  }

  .right-content-img {
    width: 120px !important; /* smaller logo */
    padding-bottom: 40px;
  }

  .right-content .text-1 span {
    font-size: 20px; /* smaller heading */
  }

  .right-content .text-3 span {
    font-size: 16px; /* smaller subheading */
  }

  .exitIntentDesc p {
    font-size: 14px!important;
    line-height: 22px!important;
    padding: 0 0 10px 0;
  }

  .cta-container {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .cta-button {
    font-size: 16px;
    padding: 10px 20px;
  }
}