/* =========================================
   CEKRODAEMPAT.COM
   Complete Responsive Stylesheet
   ========================================= */

/* 1. DESIGN TOKENS */
:root {
  --primary: #3da8c1;
  --primary-dark: #27869d;
  --primary-light: #eaf7f9;
  --secondary: #c45c42;
  --secondary-light: #fff0eb;
  --text: #192c35;
  --text-muted: #65757d;
  --background: #ffffff;
  --surface: #f5f8f9;
  --border: #e5ecef;
  --container: 1160px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(25, 44, 53, 0.09);
}

/* 2. RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* =========================================
   3. NAVBAR
   ========================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 236, 239, 0.8);
}

.navbar-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: 210px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-menu > a {
  color: #53636b;
  font-size: 13px;
  font-weight: 650;
  transition: color 0.2s ease;
}

.nav-menu > a:hover {
  color: var(--primary-dark);
}

.nav-menu .nav-cta {
  padding: 12px 18px;
  border-radius: 10px;
  color: white;
  background: var(--text);
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-menu .nav-cta:hover {
  color: white;
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
}

.menu-toggle span {
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================
   4. HERO SECTION (Desktop & Tablet)
   ========================================= */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 590px;
  display: flex;
  align-items: center;
  background: #ffffff;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-container {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.hero-content {
  width: 49%;
  max-width: 550px;
  padding: 50px 0;
  pointer-events: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--primary-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 0 5px rgba(196, 92, 66, 0.1);
}

.hero h1 {
  max-width: 570px;
  color: var(--text);
  font-size: clamp(43px, 4.5vw, 62px);
  font-weight: 820;
  line-height: 1.08;
  letter-spacing: -2.8px;
}

.hero h1 > span {
  display: block;
  color: var(--primary-dark);
}

.hero-description {
  max-width: 440px;
  margin-top: 22px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 50px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 750;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.button-primary {
  color: #ffffff;
  background: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(39, 134, 157, 0.18);
}

.button-primary:hover {
  background: #206f82;
  box-shadow: 0 12px 25px rgba(39, 134, 157, 0.24);
}

.button-secondary {
  color: var(--text);
  background: #ffffff;
  border-color: var(--border);
}

.button-secondary:hover {
  border-color: var(--primary);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.trust-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  color: var(--primary-dark);
  background: var(--primary-light);
  font-weight: 800;
}

.hero-trust p {
  display: grid;
  gap: 2px;
}

.hero-trust strong {
  font-size: 12px;
  font-weight: 750;
}

.hero-trust p span {
  color: var(--text-muted);
  font-size: 10px;
  line-height: 1.6;
}

/* =========================================
   5. BENEFIT STRIP
   ========================================= */
.benefit-strip {
  padding: 30px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.benefit-number {
  color: var(--secondary);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 1px;
}

.benefit-item h3 {
  font-size: 13px;
  font-weight: 800;
}

.benefit-item p {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.8;
}

/* =========================================
   6. GENERAL SECTIONS
   ========================================= */
.section {
  padding: 100px 0;
}

.section-heading {
  max-width: 650px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  color: var(--primary-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.section-heading h2,
.process-intro h2,
.contact-inner h2 {
  font-size: clamp(30px, 3.7vw, 43px);
  font-weight: 820;
  line-height: 1.2;
  letter-spacing: -1.7px;
}

.section-heading h2 span {
  color: var(--primary-dark);
}

.section-heading > p {
  max-width: 520px;
  margin: 16px auto 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.9;
}

/* =========================================
   7. SERVICE CARDS
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(61, 168, 193, 0.5);
  box-shadow: var(--shadow);
}

.service-card-featured {
  background: #f0fafb;
  border-color: #cdebf0;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 13px;
  color: var(--primary-dark);
  background: var(--primary-light);
  font-size: 13px;
  font-weight: 850;
}

.service-card:nth-child(2) .service-icon {
  color: var(--secondary);
  background: var(--secondary-light);
}

.service-card h3 {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.4px;
}

.service-card > p {
  min-height: 100px;
  margin-top: 13px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.9;
}

.service-card > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
}

.service-card > a span {
  color: var(--secondary);
}

/* =========================================
   8. PRICING SECTION
   ========================================= */
.pricing-section {
  background: #ffffff;
  padding-top: 56px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.pricing-grid > .pricing-card {
  grid-column: span 2;
}

.pricing-grid > .pricing-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.pricing-grid > .pricing-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.pricing-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(61, 168, 193, 0.55);
  box-shadow: var(--shadow);
}

.pricing-card-featured {
  border-color: var(--primary);
}

.pricing-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ffffff;
}

.pricing-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  transition: transform 0.35s ease;
}

.pricing-card:hover .pricing-image img {
  transform: scale(1.03);
}

.pricing-category {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #ffffff;
  background: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
}

.pricing-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  min-width: 0;
}

.pricing-content h3 {
  color: var(--text);
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.5px;
}

.pricing-description {
  min-height: 48px;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.8;
}

.pricing-price {
  width: 100%;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--border);
  min-width: 0;
}

.pricing-price > span {
  display: block;
  margin-bottom: 5px;
  color: var(--text-muted);
  font-size: 11px;
}

.pricing-price strong {
  display: block;
  color: var(--primary-dark);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 850;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.pricing-button {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  padding: 12px 14px;
  border-radius: 10px;
  color: #ffffff;
  background: var(--primary-dark);
  font-size: 12px;
  font-weight: 750;
  text-align: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.pricing-button:hover {
  color: #ffffff;
  background: #206f82;
  transform: translateY(-1px);
}

.pricing-button span {
  color: var(--secondary-light);
}

.pricing-note {
  max-width: 720px;
  margin: 30px auto 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}

/* =========================================
   9. HOW IT WORKS
   ========================================= */
.process-section {
  background: var(--surface);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 100px;
}

.process-intro h2 {
  margin-top: 12px;
}

.process-intro > p {
  margin: 20px 0 27px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.9;
}

.process-list {
  display: grid;
}

.process-item {
  display: flex;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid #dfe8eb;
}

.process-item:first-child {
  padding-top: 0;
}

.process-item:last-child {
  border-bottom: none;
}

.process-item > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--primary-dark);
  background: #ffffff;
  font-size: 12px;
  font-weight: 850;
}

.process-item h3 {
  font-size: 15px;
}

.process-item p {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.8;
}

/* =========================================
   10. CONTACT CTA
   ========================================= */
.contact-section {
  padding: 72px 0;
  color: #ffffff;
  background: var(--primary-dark);
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.contact-inner .section-kicker {
  color: #c3f1f6;
}

.contact-inner h2 {
  max-width: 600px;
}

.contact-inner > div > p {
  max-width: 550px;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.8;
}

.button-light {
  flex-shrink: 0;
  color: var(--text);
  background: #ffffff;
}

.button-light:hover {
  background: #edf8fa;
}

/* =========================================
   11. FOOTER
   ========================================= */
.footer {
  padding: 36px 0;
  background: #ffffff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.footer-brand .brand-logo {
  width: 190px;
  height: 46px;
}

.footer-inner > p {
  max-width: 310px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.8;
}

.copyright {
  color: var(--text-muted);
  font-size: 11px;
  white-space: nowrap;
}

/* =========================================
   12. TABLET (≤1000px)
   ========================================= */
@media (max-width: 1000px) {
  .nav-menu {
    gap: 18px;
  }

  .nav-menu > a {
    font-size: 12px;
  }

  .brand-logo {
    width: 180px;
    height: auto;
  }

  .hero,
  .hero-container {
    min-height: 520px;
  }

  .hero-content {
    width: 51%;
  }

  .hero h1 {
    font-size: clamp(40px, 5vw, 52px);
    letter-spacing: -2px;
  }

  .hero-description {
    max-width: 390px;
    font-size: 13px;
  }

  .process-grid {
    gap: 50px;
  }

  .service-card {
    padding: 24px;
  }

  /* Pricing tablet: 2 kolom */
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .pricing-grid > .pricing-card,
  .pricing-grid > .pricing-card:nth-child(4),
  .pricing-grid > .pricing-card:nth-child(5) {
    grid-column: auto;
  }

  /* Kartu ganjil terakhir (Truck) dipusatkan */
  .pricing-grid > .pricing-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 9px);
    margin-inline: auto;
  }

  .pricing-content {
    padding: 20px;
  }

  .pricing-price strong {
    font-size: 21px;
  }
}

/* =========================================
   13. MOBILE NAVIGATION (≤760px)
   ========================================= */
@media (max-width: 760px) {
  .container {
    width: calc(100% - 36px);
  }

  .navbar-inner {
    min-height: 72px;
  }

  .brand-logo {
    width: 175px;
    height: 45px;
  }

  .footer-brand .brand-logo {
    width: 175px;
    height: 45px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 20px;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 15px 20px rgba(25, 44, 53, 0.05);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu > a {
    padding: 14px 8px;
    font-size: 13px;
  }

  .nav-menu .nav-cta {
    margin-top: 8px;
    padding: 13px 16px;
    text-align: center;
  }
}

/* =========================================
   14. MOBILE HERO — OVERLAY & GRADIENT
   ========================================= */
@media (max-width: 600px) {
  .hero {
    position: relative;
    display: block;
    min-height: 100vh;
    background: #ffffff;
    padding: 0;
    overflow: hidden;
  }

  /* Jadikan gambar sebagai background utama */
  .hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: block;
  }

  /* LAPISAN GRADIENT: Menutupi bagian atas agar teks terbaca */
  .hero-background::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.95) 35%,
      rgba(255, 255, 255, 0.6) 60%,
      rgba(255, 255, 255, 0) 90%
    );
    pointer-events: none;
  }

  .hero-picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  /* Atur gambar agar mobil di bawah, ruang kosong di atas */
  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom center;
  }

  /* Teks ditaruh di atas gambar dan gradient */
  .hero-container {
    position: relative;
    z-index: 2;
    width: calc(100% - 36px);
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding-top: 40px;
    padding-bottom: 40px;
    pointer-events: none;
  }

  .hero-content {
    width: 100%;
    max-width: none;
    padding: 0;
    pointer-events: auto;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 9px;
    letter-spacing: 1.1px;
  }

  .hero h1 {
    font-size: clamp(38px, 10vw, 48px);
    letter-spacing: -1.8px;
    color: var(--text); 
  }

  .hero-description {
    max-width: 90%;
    margin-top: 18px;
    font-size: 14px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .button {
    min-height: 48px;
    padding: 0 15px;
    gap: 9px;
    font-size: 12px;
  }

  /* =========================================
     SEMBUNYIKAN TRUST NOTE DI MOBILE
     ========================================= */
  .hero-trust {
    display: none; 
  }

  /* Penyesuaian section lain di mobile */
  .benefit-strip { padding: 28px 0; }
  .benefit-grid { grid-template-columns: 1fr; gap: 23px; }
  .benefit-item { gap: 14px; }
  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 33px; }
  .section-heading h2, .process-intro h2, .contact-inner h2 {
    font-size: clamp(29px, 7.5vw, 37px);
    letter-spacing: -1.3px;
  }
  .section-heading > p { font-size: 13px; }
  
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 24px; }
  .service-icon { margin-bottom: 18px; }
  .service-card > p { min-height: 0; }
  .service-card > a { margin-top: 12px; }

  .pricing-section { padding-top: 44px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 18px; }
  .pricing-grid > .pricing-card, .pricing-grid > .pricing-card:nth-child(4),
  .pricing-grid > .pricing-card:nth-child(5), .pricing-grid > .pricing-card:last-child:nth-child(odd) {
    grid-column: auto; max-width: none; margin-inline: 0;
  }
  .pricing-image { aspect-ratio: 16 / 9; }
  .pricing-content { padding: 22px; }
  .pricing-description { min-height: 0; }
  .pricing-price strong { font-size: 22px; }

  .process-grid { grid-template-columns: 1fr; gap: 38px; }
  .process-intro > p { font-size: 13px; }
  .process-item { gap: 16px; padding: 20px 0; }

  .contact-section { padding: 55px 0; }
  .contact-inner { align-items: flex-start; flex-direction: column; gap: 25px; }
  .contact-inner > div > p { font-size: 12px; }

  .footer { padding: 30px 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 16px; }
  .footer-inner > p { max-width: 340px; }
}

/* =========================================
   15. EXTRA SMALL (≤380px)
   ========================================= */
@media (max-width: 380px) {
  .pricing-content {
    padding: 18px;
  }

  .pricing-price strong {
    font-size: 19px;
  }
}

/* =========================================
   16. ACCESSIBILITY
   ========================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}