/* assets/css/footer.css
   One Mac Footer (Figma-aligned)
*/

.om-footer,
.om-footer *{
  font-family: 'Poppins', sans-serif;
}

/* Full-width black behind the centered footer card */
.om-footer{
  width:100%;
  background: radial-gradient(1200px 600px at 50% 40%, rgba(255,255,255,0.08), rgba(0,0,0,1) 70%),
              linear-gradient(180deg, #0B0C10 0%, #000 100%);
	  border-top:1px solid rgba(255,255,255,0.08);
  padding: 0 24px 20px;
  box-sizing:border-box;
  border-radius:20px 20px 0 0;
	
}

/* The actual “card” */
.om-footer-inner{
  max-width:1440px;
  margin: 0 auto;
  border-radius:20px 20px 0 0;
  overflow:hidden;
}

/* Divider token */
:root{
  --om-line: rgba(255,255,255,0.08);
}

/* =========================
   Row 1: Social links
========================= */
.om-footer-social{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.2fr; /* match .om-footer-grid */
  border-bottom: 1px solid var(--om-line);
}
.om-footer-social-link{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  padding: 32px 28px;

  text-decoration: none;
  color: rgba(255,255,255,0.80);

  font-size: 16px;
  font-weight: 275;
  line-height: 1;
  letter-spacing: 0;

  border-right: 1px solid var(--om-line);
}

.om-footer-social-link:last-child{
  border-right: 0;
}

.om-footer-social-link img{
  width: 18px;
  height: 18px;
  display: block;
  opacity: 0.9;
}

.om-footer-social-link:hover{
  color: rgba(255,255,255,0.95);
}

/* =========================
   Row 2: Main grid
========================= */
.om-footer-grid{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.2fr;
  border-bottom: 1px solid var(--om-line);
}

.om-footer-col{
  padding: 34px 28px;
  border-right: 1px solid var(--om-line);
  min-height: 280px;
}

.om-footer-col:last-child{
  border-right: 0;
}

/* Logo column */
.om-footer-logo{
  display: flex;
  align-items: center;
  justify-content: center;
}

.om-footer-logo img{
  width: 200px;
  height: 226px;
  object-fit: contain;
  display: block;
  opacity: 0.45;
}

/* Column titles */
.om-footer-title{
  margin: 20px 0 14px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  color: rgba(255,255,255,0.45);
}

/* Footer menus */
.om-footer-menu{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.om-footer-menu a{
  font-size: 16px;
  font-weight: 275;
  line-height: 1.2;
  letter-spacing: 0;

  color: rgba(255,255,255,0.75);
  text-decoration: none;
}

.om-footer-menu a:hover{
  color: rgba(255,255,255,0.95);
}

/* Contact */
.om-footer-contact{
  display: grid;
  gap: 16px;
}

.om-footer-contact a{
  font-size: 16px;
  font-weight: 275;
  line-height: 1.2;
  letter-spacing: 0;

  color: rgba(255,255,255,0.75);

  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.25);
  text-underline-offset: 4px;
}

.om-footer-contact a:hover{
  color: rgba(255,255,255,0.95);
  text-decoration-color: rgba(255,255,255,0.45);
}

.om-footer-address{
  margin-top: 8px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: 0;
  color: rgba(255,255,255,0.60);
}

/* =========================
   Row 3: Bottom bar
========================= */
.om-footer-bottom{
  padding: 18px 28px;
}

.om-footer-bottom p{
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0;
  color: rgba(255,255,255,0.65);
}

/* =========================
   Responsive
========================= */

/* Tablet */
@media (max-width: 1024px){
  .om-footer-inner{
    width: min(1440px, calc(100% - 24px));
  }

  .om-footer-social{
    grid-template-columns: repeat(2, 1fr);
  }

  .om-footer-social-link{
    border-right: 1px solid var(--om-line);
    border-bottom: 1px solid var(--om-line);
  }


  .om-footer-social-link:nth-child(2n){
    border-right: 0;
  }


  .om-footer-social-link:nth-last-child(-n+2){
    border-bottom: 0;
  }

  .om-footer-grid{
    grid-template-columns: 1fr;
  }

  .om-footer-col{
    border-right: 0;
    border-bottom: 1px solid var(--om-line);
    min-height: unset;
    padding: 28px 22px;
  }

  .om-footer-col:last-child{
    border-bottom: 0;
  }

  .om-footer-logo{
    padding: 28px 22px;
  }
}

/* Mobile */
@media (max-width: 560px){
	
  .om-footer{
    padding: 0 0 20px; 
  }

  .om-footer-inner{
    max-width: 100%;
    width: 100%;
  }

  .om-footer-social-link{
    padding: 28px 25px;
    font-size: 15px;
  }

  .om-footer-col{
    padding: 22px 18px;
  }

  .om-footer-bottom{
	  padding: 16px 18px;
	  padding-top:26px;
	  text-align:center;
  }

  .om-footer-logo img{
    width: 170px;
    height: auto;
  }
}
