/* ====== FONTS ====== */
@font-face {
  font-family: 'MuseoSansRounded-500';
  src: url('../fonts/MuseoSansRounded-500.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'MuseoSansRounded-700';
  src: url('../fonts/MuseoSansRounded-700.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* ====== BASE ====== */
body {
  background: rgba(218, 217, 205, 0.19);
  color: #1D1313;
  font-family: 'MuseoSansRounded-500', sans-serif;
  margin: 0;
  padding: 0;
  
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

}

a {
  color: inherit;
  text-decoration: none;
}

.main-flex {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.c1 {
  display: flex;
  width: 100%;
}

.c2 {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  position: relative;
}

.c3 {
  width: 100%;
  max-width: 752px;
  margin: 0 auto;
}

.header-container {
    display: flex;
    height: auto;  
}
  
.header-icons {
  position: absolute;
  top: 40px;
  right: 0px;
  display: flex;
  align-items: center;
  gap: 55px;
}

.lang-dropdown {
  position: relative;
}

.icon {
  height: 23px;
  cursor: pointer;
}

/* ====== LANGUAGE ICON ====== */
.language-icon {
  top: 0px;
  right: 0px;
  width: 30px;
  height: 23px;
  cursor: pointer;
}

.lang-menu {
  display: none;
  position: absolute;
  top: 35px;
  right: 0;
  background-color: #e4e4e4;
  width: 153px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 100;
}

.lang-dropdown:hover .lang-menu {
  display: block;
}

.lang-menu a {
  display: block;
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-family: 'MuseoSansRounded-700';
  font-size: 15px;
  color: #000000;
  text-decoration: none;
}


  

/* ====== LOGO ====== */
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 112px 0 54px;
  width: 100%;
}

.logo img {
  width: 205px;
  height: 48px;
}

.selium_logo_header {
    display: none;
    width: 130px; /* adjust for mobile size */
    height: auto;
    margin-left: 0px;
    margin-top: 20px;
    
}

/* ====== TYPOGRAPHY ====== */
.hero {
  font-family: 'MuseoSansRounded-700';
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 40px;
}

.section-title {
  font-family: 'MuseoSansRounded-700';
  font-size: 27px;
  margin: 20px 0 20px;
}

.section-copy {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.section-copy.bold {
  font-family: 'MuseoSansRounded-700';
}

.main-copy {
  font-family: 'MuseoSansRounded-500';
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.main-copy-bold {
  font-family: 'MuseoSansRounded-700';
  font-size: 18px;
  line-height: 1.2;
}

.divider-wrapper {
  width: 100%;
  max-width: 752px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0px;
  padding-right: 0px;
  box-sizing: border-box;
}

.divider {
  border-top: 1px solid #979797;
  width: 100%;
  box-sizing: border-box;
  padding-left: 0px;
  padding-right: 0px;
  max-width: 752px;
  margin: 20 auto 20;
}

  
.apps-section {
  background: rgba(219, 219, 219, 0.53);
  width: 100%;
  padding: 40px 20px; /* desktop top/bottom */
  box-sizing: border-box;
  margin-top: 10px;
}


.apps-container {
  display: flex;
  flex-direction: column;
  gap: 35px; /* row gap */
  width: 100%;
  max-width: 752px;
  margin: 0 auto;
  margin-top: 0px;
  padding: 0px 0px;
  box-sizing: border-box;
}

.app-row {
  display: flex;
  flex-direction: row;
  column-gap: 35px; /* column gap */
  row-gap: 35px; /* row gap */
  align-items: flex-start;
}

.apps-col {
  display: flex;
  flex: 1 1 240px;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
  column-gap: 35px; /* column gap */
  row-gap: 35px; /* row gap */
}

.for-col {
  flex: 0 0 165px; /* fixed width for "For" column */
  margin-top: 0px; /* subtle alignment with icons */
}

.app-card {
  flex: 0 1 256px; /* keeps the overall card max-width you wanted earlier */
  min-width:256px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.app-card-inner {
  display: flex;
  gap: 16px;             /* that delicious column gap you asked for */
  align-items: flex-start; /* top alignment */
  width: 100%;
}

.app-card.empty {
  visibility: hidden; /* keeps space on desktop but invisible */
}

.for-title {
  font-family: 'MuseoSansRounded-700';
  font-size: 15px;
  color: rgba(29, 19, 19, 0.54);
  margin: 0;
  padding: 0;
  margin-top: 3px;
}

.for-desc {
  font-family: 'MuseoSansRounded-500';
  font-size: 13px;
  color: rgba(29, 19, 19, 0.54);
  margin: 0;
  padding: 0;
}

.app-icon {
  width: 70px;
  height: 70px;
  flex-shrink: 0;        /* icon never shrinks */
  margin-bottom: 0;      /* no extra space below */
}

.app-text {
  flex: 1;
  max-width: 170px;      /* exactly what you wanted */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
}

.app-name {
  font-family: 'MuseoSansRounded-700';
  font-size: 18px;
  margin: 0;
  padding: 0;
}

.app-desc {
  font-family: 'MuseoSansRounded-500';
  font-size: 13px;
  line-height: 16px;
  color: #1D1313;
  margin: 0;
  padding: 0;
}

.signoff {
  font-size: 22px;
  margin: 20px 0 20px;
}

.footer {
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(29, 19, 19, 0.59);
  margin-bottom: 25px;
   margin-top: 100px;
}

@media (max-width: 1064px) {
    .header-container {
         margin-left: 20px;
        margin-right: 20px;
        width: auto;
    }
    .header-icons {
        top: 25px;
    }
}

@media (max-width: 792px) {
    .c1 {
        margin-left: 20px;
        margin-right: 20px;
        width: auto;
    }
    .app-card {
      flex: 0 1 400px; /* keeps the overall card max-width you wanted earlier */
    }
    
    .apps-col {
      display: flex;
      flex: 1 1 400px;
      flex-direction: row;
      align-items: flex-start;
      flex-wrap: wrap;
      column-gap: 35px; /* column gap */
      row-gap: 35px; /* row gap */
    }
    .app-text {
      flex: 1;
      max-width: 300px;      /* exactly what you wanted */
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      margin: 0;
      padding: 0;
    }
    .apps-section {
        padding: 35px 20px 0px;
    }
}

@media (max-width: 500px) {

    .logo {
      display: none;
    }
      
    .selium_logo_header {
        display: flex;
    }
    
    .lang-menu a {
        font-size: 13px;
    }

    .header-container {
        margin-bottom: 40px;
    }
    
    .apps-section {
      margin-top: 5px;
      padding: 20px 20px 0px;
    }
    .app-row {
      flex-wrap: wrap;
      flex-direction: row;
      column-gap: 25px; /* column gap */
      row-gap: 25px; /* row gap */
    }
    
    .for-col {
      flex: 0 0 auto; /* fixed width for "For" column */
      display: flex;
      flex-direction: row;
      align-items: baseline; /* o center, a seconda dell'effetto */
      gap: 6px; /* spazio tra "For" e il resto */
      width: 100%;
    }
    .apps-container {
      display: flex;
      flex-direction: column;
      gap: 20px; /* row gap */
      width: 100%;
      max-width: 752px;
      margin: 0 auto;
      margin-top: 0px;
      padding: 0px 0px;
      box-sizing: border-box;
    }
    .app-icon {
      width: 60px;
      height: 60px;
      flex-shrink: 0;        /* icon never shrinks */
      margin-bottom: 0;      /* no extra space below */
    }
    
    /* FONTS */
    .hero {
        font-size: 26px;
        line-height: 1.2;
        margin-bottom: 25px;
    }
    
    .section-title {
      font-size: 21px;
      margin: 20px 0 0px;
    }
    
    .main-copy {
      font-size: 16px;
      line-height: 1.3;
      margin-bottom: 10px;
      margin-top: 8px;
    }
    
    .main-copy-bold {
      font-size: 16px;
      line-height: 1.3;
    }
    
    .signoff {
      font-size: 18px;
      margin: 15px 0 20px;
    }
    .footer {
      font-size: 13px;
      margin-bottom: 20px;
      margin-top: 80px;
    }
}






