/* --- Header --- */

.mtsnpp-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.mtsnpp-header__container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mtsnpp-header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mtsnpp-header__logo img {
  height: 44px;
  width: auto;
}

.mtsnpp-header__title-link {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  color: var(--color-dark);
}

.mtsnpp-header__name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gray);
}

.mtsnpp-header__name-full {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
}

.mtsnpp-header__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.mtsnpp-nav {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  margin: 0;
}

.mtsnpp-nav a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-dark);
  border-radius: var(--radius-md);
  transition: background 0.2s, color 0.2s;
}

.mtsnpp-nav a:hover,
.mtsnpp-nav .current-menu-item>a {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.mtsnpp-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mtsnpp-header__search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-dark);
  border-radius: var(--radius-sm);
}

.mtsnpp-header__search-toggle svg {
  width: 20px;
  height: 20px;
}

.mtsnpp-header__search-toggle:hover {
  background: var(--color-gray-light);
}

.mtsnpp-header__cta {
  font-size: 0.8rem;
  padding: 0.5rem 1.25rem;
}

/* Mobile menu toggle */
.mtsnpp-header__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
}

.mtsnpp-header__hamburger {
  display: block;
  position: relative;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mtsnpp-header__hamburger::before,
.mtsnpp-header__hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mtsnpp-header__hamburger::before {
  top: -7px;
}

.mtsnpp-header__hamburger::after {
  top: 7px;
}

.mtsnpp-header__toggle[aria-expanded="true"] .mtsnpp-header__hamburger {
  background: transparent;
}

.mtsnpp-header__toggle[aria-expanded="true"] .mtsnpp-header__hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.mtsnpp-header__toggle[aria-expanded="true"] .mtsnpp-header__hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Search overlay */
.mtsnpp-header__search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20vh;
}

.mtsnpp-header__search-overlay.is-active {
  display: flex;
}

.mtsnpp-header__search-container {
  width: 90%;
  max-width: 600px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mtsnpp-search-form {
  flex: 1;
  display: flex;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.mtsnpp-search-form__input {
  flex: 1;
  border: none;
  padding: 1rem 1.25rem;
  font-size: 1.1rem;
  outline: none;
}

.mtsnpp-search-form__submit {
  background: var(--color-primary);
  border: none;
  color: var(--color-white);
  padding: 0 1.5rem;
  cursor: pointer;
}

.mtsnpp-search-form__submit svg {
  width: 20px;
  height: 20px;
}

.mtsnpp-header__search-close {
  background: var(--color-white);
  border: none;
  border-radius: var(--radius-lg);
  padding: 0.85rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
}

.mtsnpp-header__search-close svg {
  width: 22px;
  height: 22px;
}

/* --- Hero --- */

.mtsnpp-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, #0891b2 100%);
  overflow: hidden;
}

.mtsnpp-hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
}

.mtsnpp-hero[style*="background-image"] .mtsnpp-hero__overlay {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.85) 0%, rgba(13, 95, 90, 0.75) 100%);
}

.mtsnpp-hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 0 1.5rem;
}

.mtsnpp-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.mtsnpp-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.mtsnpp-hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Counter --- */

.mtsnpp-counter {
  text-align: center;
  padding: 1.5rem;
}

.mtsnpp-counter__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-gold);
}

.mtsnpp-counter__suffix {
  font-size: 1.5rem;
}

.mtsnpp-counter__tahun {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  padding: 0.15rem 0.7rem;
  border-radius: var(--radius-sm);
  vertical-align: middle;
  margin-left: 0.5rem;
}

.mtsnpp-counter-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.mtsnpp-counter-toggle {
  display: flex;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.25rem;
  border-radius: var(--radius-md);
}

.mtsnpp-toggle-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: var(--font-body);
}

.mtsnpp-toggle-btn.is-active {
  background: var(--color-white);
  color: var(--color-primary);
}

.mtsnpp-toggle-btn:hover:not(.is-active) {
  color: var(--color-white);
}

@media (max-width: 640px) {
  .mtsnpp-counter-header {
    flex-direction: column;
    gap: 0.75rem;
  }
}

.mtsnpp-counter__label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-top: 0.35rem;
}

/* --- Footer --- */

.mtsnpp-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 0;
}

.mtsnpp-footer__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.mtsnpp-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mtsnpp-footer__heading {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.mtsnpp-footer__site-title {
  color: var(--color-white);
  font-size: 1.2rem;
  margin: 0.75rem 0 0.5rem;
}

.mtsnpp-footer__address,
.mtsnpp-footer__contact {
  font-size: 0.85rem;
  line-height: 1.7;
}

.mtsnpp-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.mtsnpp-footer__contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.mtsnpp-footer__contact-item a {
  color: rgba(255, 255, 255, 0.8);
}

.mtsnpp-footer__contact-item a:hover {
  color: var(--color-white);
}

.mtsnpp-footer__menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mtsnpp-footer__menu li {
  margin-bottom: 0.5rem;
}

.mtsnpp-footer__menu a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.mtsnpp-footer__menu a:hover {
  color: var(--color-white);
}

.mtsnpp-footer__social {
  display: flex;
  gap: 0.75rem;
}

.mtsnpp-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s;
}

.mtsnpp-footer__social-link svg {
  width: 18px;
  height: 18px;
  color: var(--color-white);
}

.mtsnpp-footer__social-link:hover {
  background: var(--color-primary);
}

.mtsnpp-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.mtsnpp-footer__credits a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
}

.mtsnpp-footer__credits a:hover {
  color: var(--color-white);
}

.mtsnpp-footer__map {
  margin-top: 1rem;
}
