/* ==========================================================================
   akusolusi — Proposal page additions (loaded after style.css)
   Header controls (language + theme), summary/why/terms grids.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Header controls
   -------------------------------------------------------------------------- */
.controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
}

.lang-switch button {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--gold-gradient);
  color: #15120e;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 14px 5px 14px 5px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.theme-toggle:hover {
  border-color: var(--gold-500);
  color: var(--accent);
  transform: translateY(-1px);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .icon-moon {
  display: block;
}

.theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

/* --------------------------------------------------------------------------
   Grids specific to the proposal
   -------------------------------------------------------------------------- */
.why {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (min-width: 1025px) {
  .prep--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 720px) {
  .site-header__inner {
    gap: 12px;
  }

  .header-cta {
    display: none;
  }

  .lang-switch button {
    padding: 6px 10px;
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
  }

  .why {
    grid-template-columns: 1fr;
  }
}
