/* ========================================
   KOMPONEN LAYOUT HALAMAN
   Struktur grid/flex pakai utilities.css
   (class mirip Tailwind: grid, flex, md:grid-cols-3, dll.)
   ======================================== */

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  position: relative;
  min-height: 64px;
}

/* Navigation */
.site-nav a {
  transition: color 0.2s;
  font-family: "Segoe UI";
  font-size: 12px;
}

.site-nav a.nav-cta {
  border-radius: var(--radius);
  font-family: "Segoe UI";
  transition: background-color 0.2s, color 0.2s;
  background: linear-gradient(90deg, #f80000, #ba0001);
}

.site-nav a:not(.nav-cta):hover {
  color: var(--color-primary);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  z-index: 60;
}

.nav-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--color-text);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(0.45rem) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-0.45rem) rotate(-45deg);
}

/* Hero */

.cta-hero-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-hero-wrapper-mobile {
  display: none;
}


.hero {
  text-align: center;
  background: var(--color-bg-alt);
}

.hero__banner {
  display: block;
  width: 100%;
  height: auto;
}

.hero__banner--mobile {
  display: none;
}

@media (max-width: 1024px) {
  .hero__banner--desktop {
    display: none;
  }

  .hero__banner--mobile {
    display: block;
  }

  .cta-hero-wrapper {
    display: none;
    flex-direction: column;
    align-items: center;
  }

}

.hero .cta-btn-1-container {
  z-index: 10;
  gap: 1.75rem;
}


.hero .cta-btn-1-logo {
  width: 8em;
  height: auto;
}


.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-muted);
  max-width: 600px;
  margin-inline: auto;
}

/* Sidebar panel */
.sidebar {
  padding: 1.5rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
}

/* Footer */
.site-footer {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  padding-block: 3rem;
  margin-top: auto;
}

.footer-bottom {
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ========================================
   RESPONSIVE — komponen saja
   ======================================== */

@media (max-width: 1600px) {
  .hero .cta-btn-1-container {
    gap: 1rem;
  }

  .hero .cta-btn-1-logo {
    width: 5.5rem;
  }

  .hero .cta-btn-1-container .btn-lg {
    padding: 0.8rem 1rem;
    font-size: 0.875rem;
  }
}


@media (max-width: 1200px) {
  .hero .cta-btn-1-container {
    gap: 1rem;
  }

  .hero .cta-btn-1-logo {
    width: 3.5rem;
  }

  .hero .cta-btn-1-container .btn-lg {
    padding: 0.5rem 0.875rem;
    font-size: 1rem;
  }
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: flex !important;
  }

  .site-nav a {
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--color-border);
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .site-nav a.nav-cta {
    margin-top: 0.5rem;
    text-align: center;
    border-bottom: none;
  }
}

@media (min-width: 1025px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}


.footer-red {
  background: linear-gradient(120deg, #4a0e1f 0%, var(--color-primary-red) 65%);
  padding-block: 2rem;

}

.address {
  width: 36%;
}

.footer-nav {
  width: 64%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.footer-red a {
  color: var(--color-text-light);
  font-size: 14px;
  line-height: 2;
  display: block;
  padding-bottom: 0.1rem;
  border-bottom: 1px solid white;
  display: inline-block;
}


.footer-red p {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.footer-red .footer-heading {
  font-size: 14px;
  margin-bottom: 0.75rem;
}

.social-dot {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: var(--color-white);
  color: var(--color-primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-red .footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-red .social img {
  width: 34px;
  object-fit: contain;
}

.social {
  align-items: end;
  display: flex;
  flex-direction: column;
}