/* ==========================================
   COMPANY PROFILE TEMPLATE - UMKM
   ------------------------------------------
   EDIT CEPAT:
   1) Ubah warna brand di :root
   2) Ubah font di bagian --font-heading / --font-body
   3) Ubah ukuran radius / shadow jika perlu
   ========================================== */

:root {
  /* ====== EDITABLE: BRAND COLORS ====== */
  --color-primary: #0d3b66;
  --color-primary-2: #0f5c8d;
  --color-accent: #f4b400;
  --color-surface: #f8fafc;
  --color-bg: #ffffff;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;

  /* ====== EDITABLE: TYPOGRAPHY ====== */
  --font-heading: "Sora", sans-serif;
  --font-body: "Manrope", sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 8px 20px rgba(13, 59, 102, 0.08);
  --shadow-md: 0 12px 32px rgba(13, 59, 102, 0.14);

  --container: 1120px;
  --transition-fast: 180ms ease;
  --transition-normal: 320ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 4rem 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.2;
  margin: 0;
}

.section-subtitle {
  margin: 0.7rem 0 0;
  color: var(--color-muted);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.nav-wrap {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-heading);
  font-weight: 700;
}

.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--color-primary), var(--color-primary-2));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.nav-toggle {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: var(--color-surface);
  display: grid;
  place-items: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-primary);
  transition: transform var(--transition-fast);
}

.nav-toggle span::before {
  transform: translateY(-6px);
}

.nav-toggle span::after {
  transform: translateY(4px);
}

.nav-menu {
  position: absolute;
  inset: 74px 0 auto 0;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  display: none;
}

.nav-menu.open {
  display: block;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 1rem;
  display: grid;
  gap: 0.5rem;
}

.nav-link {
  display: inline-block;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  color: var(--color-muted);
  font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  background: #eef6fb;
}

/* Hero */
.hero {
  position: relative;
  overflow: clip;
  padding: 4.5rem 0 3.8rem;
  background:
    radial-gradient(circle at 18% 18%, rgba(244, 180, 0, 0.2), transparent 36%),
    radial-gradient(circle at 82% 20%, rgba(15, 92, 141, 0.22), transparent 42%),
    linear-gradient(180deg, #fdfefe 0%, #f7fbff 100%);
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #eef6fb;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.83rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 7vw, 3.3rem);
  line-height: 1.15;
  margin: 0.8rem 0 0.9rem;
}

.hero p {
  margin: 0;
  color: #4b5563;
}

.cta-row {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-2));
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  border-color: #b9d6e8;
  background: #fff;
  color: var(--color-primary);
}

.hero-card {
  background: #fff;
  border: 1px solid #e5eef4;
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.stat {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0.8rem;
  background: #fcfdff;
}

.stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.stat span {
  color: var(--color-muted);
  font-size: 0.86rem;
}

/* Cards */
.grid-3 {
  display: grid;
  gap: 1rem;
}

.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #e7f2fa;
  display: grid;
  place-items: center;
  color: var(--color-primary);
  font-weight: 800;
}

/* Testimonial */
.testimonial {
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
}

.quote {
  margin: 0;
  font-size: 0.98rem;
  color: #374151;
}

.client {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), #2f88bf);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.client small {
  display: block;
  color: var(--color-muted);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 1rem;
}

.panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 1.2rem;
}

.form-group {
  margin-bottom: 0.9rem;
}

label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #cdd5df;
  border-radius: 10px;
  font: inherit;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid #afd7ef;
  border-color: #95c7e4;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 1.2rem 0 1.8rem;
  color: var(--color-muted);
  font-size: 0.94rem;
}

.footer-wrap {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.35);
  z-index: 60;
  border: 0;
}

.wa-float:hover {
  transform: translateY(-2px);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet and desktop */
@media (min-width: 768px) {
  .section {
    padding: 5.3rem 0;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: block;
    border: 0;
    background: transparent;
  }

  .nav-list {
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }

  .hero {
    padding: 6.6rem 0 5.2rem;
  }

  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
  }

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

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

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