body {
  font-family: 'MyriadPro', sans-serif;
}

/************/
/*** MENU ***/
/************/
header {
    width: 100%;
}

header,
header .content-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10px;
}

header .content-menu {
    width: min(1200px, 86%);
    margin: auto;
}

header .menu-options {
    display: flex;
    justify-content: space-between;
    width: 67%;
}

header .menu-options .menu-option {
    margin-left: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}


header .menu-mobile {
    display: none;
}

header .menu-mobile {
  display: none;
}

@media (max-width: 1024px) {
    header .menu-options {
        display: none;
    }
    
    header .menu-mobile {
        display: block;
        justify-self: end;
    }
}

.main-menu .content-menu .menu-mobile .menu-mobile-toggle > svg {
    fill: black;
}

header .menu-mobile .menu-mobile-content {
  position: fixed;
  inset: 0;

  display: flex;
  justify-content: end;

  background-color: #00000060;

  opacity: 0;
  pointer-events: none;

  transform: translateX(100%);
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

header .menu-mobile .menu-mobile-content.active {
  opacity: 1;
  pointer-events: all;

  transform: translateX(0);
  z-index: 5000;
}

header .menu-mobile .menu-mobile-content .menu {
  padding-left: 30px;
  background-color: #ffffff;
  width: 210px;
  z-index: 1;
}

header .menu-mobile .menu-mobile-content .menu>li {
  margin: 20px 0px;
}

/************/
/** BANNER **/
/************/

#hero {
  background-image: url(./assets/page-2/images/0.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  height: calc(100vh - 0px);
  z-index: 2;

  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
  z-index: 0;
}

#hero .hero-content {
  width: min(700px, 80%);
  margin-left: 80px;
  z-index: 2;
}

#hero .hero-content>* {
  color: white;
}

#hero .hero-content>h1 {
  font-size: 30px;
  margin: 20px 0;
}

#hero .hero-content>.description-hero {
  font-size: 15px;
  color: rgb(190, 190, 190);
}

#hero .hero-content>button {
  background-color: #e60814;
  padding: 14px 16px;
  border: none;
  margin-top: 80px;

  display: flex;
  gap: 6px;
}

@media(max-width: 1024px) {
  #hero .hero-content {
    margin-left: 0px;
    margin: auto;
  }
}


/**************************/
/**-- ===== ORIGIN ===== **/
/**************************/

.margin-page {
  width: min(1440px, 90%);
  margin: 0 auto;
}

.section--about {
  padding: 60px 0px;
}

.section--about>.about-content {
  min-height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.section--about>.about-content>p {
  margin: 8px 0px 3px;
  line-height: 1.8;
}

.design-box {
  width: 15px;
  height: 30px;
  background-color: red;
  clip-path: polygon(0 0, 100% 0, 100% 60%, 0% 100%);
}

.design-box.design-box-top {
  justify-self: flex-start;
  align-self: flex-start;
}

.design-box.design-box-bottom {
  justify-self: flex-end;
  align-self: flex-end;
  transform: rotate(180deg);
}

.section--about {
  position: relative;
}

.section--about .container-logo {
  background-color: rgb(53, 53, 53);
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 60px;
  position: absolute;
  top: -6%;
  right: -8px;
  z-index: 4;
}

.section--about .container-logo img {
  margin-bottom: 7px;
}


.section--about .container-image {
  margin: 60px 0px;
  position: relative;
  width: 100%;
  height: 650px;
  aspect-ratio: 16/9;
}

.section--about .slides {

  position: relative;

  width: 96%;
  height: 100%;
  margin: auto;


}

.section--about .slide {
  position: absolute;
  inset: 0;
  /* opacity: 0;
  visibility: hidden; */
}

.section--about .slide.active {
  opacity: 1;
  visibility: visible;
}

.section--about .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section--about .slider-counter {
  position: absolute;

  right: 70px;
  bottom: 30px;

  color: #FFF;

  font-size: 42px;
  font-style: italic;
  font-weight: bold;

  z-index: 5;
}

.section--about .separator {
  margin: 0 8px;
}

/******************************************/
/********* Philosophy and Pillars *********/
/******************************************/

.philosophy-and-pillars {
  background: #e60814;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px;
  gap: 30px;
}

.philosophy-and-pillars .container {}

.philosophy-and-pillars .container>* {
  color: white;
}

.philosophy-and-pillars .container>h2 {
  margin-bottom: 30px;
  font-size: 26px;
  font-weight: 600;
}

.philosophy-and-pillars .container>.points-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /*background-color: #e20917;*/
  background-color: #ffffff;
  gap: 1px;
  min-height: 340px;
}

.philosophy-and-pillars .container>.points-grid > * {
    width: 100%;
}

.philosophy-and-pillars .container>.points-grid :is(.innovation,
  .philosophy,
  .history,
  .commitment) {
  padding: 20px 0px;
  background-color: #e60814;
  display: grid;
  grid-template-rows: 30px 1fr;
  gap: 12px;
}

.philosophy-and-pillars .container>.points-grid :is(.innovation,
  .philosophy,
  .history,
  .commitment)>* {
  width: 80%;
}

.philosophy-and-pillars .container>.points-grid :is(.innovation,
  .philosophy,
  .history,
  .commitment)>h3 {
  font-weight: 600;
  font-size: 20px;
  align-self: end;
}

.philosophy-and-pillars .container>.points-grid :is(.innovation,
  .philosophy,
  .history,
  .commitment)>p {
  font-size: 14px;
}

.philosophy-and-pillars .container>.points-grid :is(.innovation, .history) {
  text-align: left;
}

.philosophy-and-pillars .container>.points-grid :is(.innovation, .history)>* {
  justify-self: flex-start;
}

.philosophy-and-pillars .container>.points-grid :is(.commitment, .philosophy) {
  text-align: right;
  /*justify-self: flex-end;*/
}

.philosophy-and-pillars .container>.points-grid :is(.commitment, .philosophy)>* {
  justify-self: flex-end;
}

.philosophy-and-pillars .container>.points-grid :is(.history, .philosophy) {
    padding: 0px;
    grid-template-rows: 1fr 70px;
    justify-self: center;
}

@media(max-width: 768px) {
  .philosophy-and-pillars .container>.points-grid {
    grid-template-columns: 1fr;
  }
  
  .philosophy-and-pillars .container>.points-grid :is(.history, .philosophy) {
    padding: 20px 0px;
    grid-template-rows: 30px 1fr;
  }
}

/************************************/
/**************** CTA ***************/
/************************************/
.cta {
  background: url(./assets/banner-cta.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  min-height: 400px;
  margin: 80px 0px;
  display: grid;
  position: relative;
  z-index: 3;
}

.cta::after {
  content: '';
  background: linear-gradient(90deg, rgba(230, 8, 20, .5) 0%, transparent 100%);
  position: absolute;
  inset: 0;
  z-index: -1;
}

.cta .container-cta {
  width: min(1440px, 90%);
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: center;
}

.cta .container-cta>* {
  color: white;
}

.cta .container-cta>h2 {
  font-size: 30px;
}

.cta .container-cta>p {
  width: 50%;
}

.cta .container-cta>button {
  background-color: #e60814;
  padding: 14px 16px;
  border: none;
  margin-top: 20px;
  display: flex;
  gap: 6px;
  height: 40px;
  align-items: center;
  color: white;
  width: min(230px, 70%);
  align-self: flex-end;
}

@media(max-width: 768px) {
  .cta::after {
    background-color: transparent;
  }

  .cta .container-cta {
    padding: 20px;
    justify-self: center;
    gap: 10px;
  }

  .cta .container-cta>p {
    width: 90%
  }
}

/****************************************/
/***************** FOOTER ***************/
/****************************************/
footer {
  display: grid;
  place-items: center;
}

footer .content-footer {
  width: min(1100px, 100%);
  margin: auto;
  display: grid;
  justify-content: space-between;
  grid-template-columns: 1fr 1fr;
}

footer .content-footer :is(.container-image, .options) {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

footer .content-footer .container-image {
  gap: 0px;
}

footer .content-footer .container-image span {
  margin: auto;
  margin-top: -8px;
  font-size: clamp(12px, 3vw, 18px);
}

footer .note-footer {
  margin: 40px 0px;
}

footer .line {
  width: 80%;
  height: 1px;
  background: #e60814;
  margin: 40px 0px;
}

@media(max-width: 1024px) {
  footer .content-footer .container-image {
    width: 90%;
    margin: auto
  }
  
  footer .content-footer .container-image span {
    width: 80%;
    margin-top: 10px;
    text-align: center;
  }

  footer .note-footer {
    width: 80%;
    font-size: clamp(18px, 4vw, 24px);
  }
  
  footer .note-footer {
    margin: 0px 0px 30px 0px;
  }
}