/* =====================================================
   CONTAINER SYSTEM
===================================================== */
.container {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: clamp(12px, 4vw, 96px);
}

@media (max-width: 768px){
  .container{
    padding-inline: 12px;
  }
}

.container-wide {
  max-width: var(--container-lg);
  margin: 0 auto;
  padding-inline: clamp(12px, 4vw, 24px);
}

.container-fluid {
  width: 100%;
  padding-inline: clamp(12px, 6vw, 120px);
}

/* =====================================================
   SECTION
===================================================== */
section {
  padding: 24px 0;
}

.section-header {
  max-width: 820px;
  margin-bottom: 16px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

/* =====================================================
   GRID SYSTEM
===================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 4vw, 80px);
  align-items: center;
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   HEADER
===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
}

body{
  padding-top: 20px;
}

@media (min-width: 769px){
  body{
    padding-top: 20px;
}
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Mobile header */
@media (max-width: 768px) {
  .header-inner{
    flex-wrap: wrap;
    height: auto;
    row-gap: 8px;
  }

  .logo img{
    width: 44px;
    height: 44px;
  }

  .logo span{
    font-size: 16px;
  }

  .main-nav ul{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }

  .main-nav a{
    font-size: 14px;
    padding: 4px 2px;
  }
}

/* =====================================================
   FOOTER
===================================================== */
.site-footer {
  margin-top: calc(var(--space-xl)/2);
  background: #0b1f33;
  color: #ffffff;
  padding: 40px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding-bottom: 30px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.footer-col h4 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.footer-col p {
  text-align: justify;
  padding: auto;  
  font-size: 24px;
  line-height: 1.7;
  color: #d6deeb;
  margin-bottom: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  font-size: 13px;
  padding: 16px 0;
  color: #cbd5e1;
}

/* =====================================================
   HERO FIXES
===================================================== */

.hero{
  width: 100%;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =====================================================
   GLOBAL SAFE
===================================================== */

html, body {
  max-width: 100%;
  overflow-x: visible;
}
