/* ==========================================================================
   DRIVERGUARDS — CONTACT US / HUBUNGI KAMI STYLESHEET
   Page-specific styles for contact.html based on Figma Node 215:4938.
   Built strictly upon Driverguards Design System, Styleguide & SKILL.md.
   ========================================================================== */

/* Universal Box-Sizing & Margin Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  background-color: var(--dg-color-white, #FFFFFF);
  color: var(--dg-color-black-900, #000000);
  font-family: var(--dg-font-body, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Page Wrapper */
.dg-page-wrapper {
  width: 100%;
  overflow-x: hidden;
  background-color: var(--dg-color-white, #FFFFFF);
  color: var(--dg-color-black-900, #000000);
}

/* ==========================================================================
   1. MAIN CONTACT SECTION (FIGMA NODE 215:5093)
   ========================================================================== */
.dg-contact-section {
  background-color: var(--dg-color-white, #FFFFFF);
  padding-top: 200px;
  padding-bottom: 120px;
  width: 100%;
  box-sizing: border-box;
}

/* Kolom Kiri: Informasi Kontak (Cols 1-6 / 622px) - Sticky on Desktop */
.dg-contact-left-col {
  display: flex;
  flex-direction: column;
  gap: 60px;
  width: 100%;
  position: sticky;
  top: 120px;
  align-self: start;
  height: fit-content;
}

.dg-contact-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.dg-contact-header .dg-section-badge {
  font-family: var(--dg-font-body, 'Inter', sans-serif);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dg-color-brand-900, #B31215);
  margin: 0;
}

.dg-contact-title {
  font-family: 'Bebas Neue', var(--dg-font-display, sans-serif) !important;
  font-weight: 400 !important;
  font-size: 56px;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--dg-color-black-900, #000000);
  text-transform: uppercase;
  margin: 0;
}

/* Metode Kontak (WhatsApp, Email, Social Media) */
.dg-contact-methods {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
}

.dg-contact-method-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.dg-contact-method-label {
  font-family: var(--dg-font-body, 'Inter', sans-serif);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dg-color-black-500, #7B7B7B);
  margin: 0;
}

.dg-contact-method-value {
  font-family: var(--dg-font-body, 'Inter', sans-serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.02em;
  color: var(--dg-color-black-900, #000000);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
  width: fit-content;
  cursor: pointer;
}

.dg-contact-method-value:hover {
  color: var(--dg-color-brand-900, #B31215);
  transform: translateX(2px);
}

/* Social Media Icons (Figma Node 215:5411 - 56x56 Circle Icons) */
.dg-contact-socials-row {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.dg-contact-social-btn {
  width: 56px;
  height: 56px;
  color: var(--dg-color-black-900, #000000);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: transparent;
  border-radius: 50%;
  transition: color 0.2s ease, transform 0.2s ease;
}

.dg-contact-social-btn:hover {
  color: var(--dg-color-brand-900, #B31215);
  transform: translateY(-2px);
}

.dg-contact-social-btn svg {
  width: 56px;
  height: 56px;
  display: block;
}

/* Kolom Kanan: Lokasi Kantor Driverguards (Cols 7-12 / 622px) */
.dg-contact-right-col {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
}

.dg-locations-heading {
  font-family: var(--dg-font-body, 'Inter', sans-serif);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dg-color-black-500, #7B7B7B);
  margin: 0;
}

.dg-locations-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
}

.dg-location-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.dg-location-thumb {
  width: 100%;
  aspect-ratio: 3 / 2;
  position: relative;
  overflow: hidden;
  background-color: var(--dg-color-black-100, #E9E9E9);
  border-radius: 0;
}

.dg-location-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dg-location-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.dg-location-title {
  font-family: var(--dg-font-body, 'Inter', sans-serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.02em;
  color: var(--dg-color-black-900, #000000);
  margin: 0;
}

.dg-location-address {
  font-family: var(--dg-font-body, 'Inter', sans-serif);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--dg-color-black-600, #555555);
  margin: 0;
}

.dg-location-card .dg-btn {
  width: fit-content;
  display: inline-flex;
}

/* ==========================================================================
   2. REUSED SPLIT CTA BANNER: WE DRIVE, YOU FOCUS (FIGMA NODE 215:5427)
   ========================================================================== */
.dg-cta-section {
  background-color: var(--dg-color-black-900, #000000);
  padding: 0;
  width: 100%;
}

.dg-cta-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  gap: 0;
}

.dg-cta-left {
  grid-column: span 6;
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  box-sizing: border-box;
}

.dg-cta-text-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.dg-cta-title {
  font-family: 'Bebas Neue', var(--dg-font-display, sans-serif) !important;
  font-weight: 400 !important;
  font-size: 56px;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--dg-color-white, #FFFFFF);
  margin: 0;
  text-transform: uppercase;
}

.dg-cta-desc {
  font-family: var(--dg-font-body, 'Inter', sans-serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.02em;
  color: var(--dg-color-black-300, #C4C4C4);
  margin: 0;
}

.dg-cta-right {
  grid-column: span 6;
  width: 100%;
  height: 100%;
  min-height: 480px;
  position: relative;
  display: flex;
  overflow: hidden;
}

.dg-cta-img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (TABLET VIEWPORT 481px - 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .dg-contact-section {
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .dg-contact-section .dg-container {
    max-width: 600px;
    padding: 0 24px;
  }

  .dg-contact-section .dg-grid-12 {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .dg-contact-left-col,
  .dg-contact-right-col {
    grid-column: span 1;
    gap: 36px;
  }

  .dg-contact-left-col {
    position: static;
    top: auto;
    align-self: auto;
    height: auto;
  }

  .dg-contact-title {
    font-size: 48px;
  }

  .dg-cta-wrapper {
    max-width: 600px;
    margin: 0 auto;
    gap: 0;
    grid-template-columns: 1fr;
  }

  .dg-cta-title {
    font-size: 48px;
  }

  .dg-cta-left {
    grid-column: span 1;
    padding: 60px 24px;
    gap: 36px;
  }

  .dg-cta-right {
    grid-column: span 1;
    min-height: 320px;
    aspect-ratio: 16 / 9;
  }

  .dg-cta-img {
    min-height: 320px;
    aspect-ratio: 16 / 9;
  }
}

/* ==========================================================================
   MOBILE PHONES (VIEWPORT <= 480px / M16)
   ========================================================================== */
@media (max-width: 480px) {
  .dg-contact-section {
    padding-top: 116px;
    padding-bottom: 60px;
  }

  .dg-contact-section .dg-container {
    max-width: 358px;
    padding: 0 16px;
  }

  .dg-contact-section .dg-grid-12 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .dg-contact-left-col {
    gap: 32px;
  }

  .dg-contact-header {
    gap: 12px;
  }

  .dg-contact-header .dg-section-badge {
    font-size: 16px;
    line-height: 24px;
  }

  .dg-contact-title {
    font-size: 40px;
    line-height: 1.05;
  }

  .dg-contact-methods {
    gap: 24px;
  }

  .dg-contact-method-item {
    gap: 8px;
  }

  .dg-contact-method-label {
    font-size: 14px;
    line-height: 20px;
  }

  .dg-contact-method-value {
    font-size: 20px;
    line-height: 24px;
  }

  .dg-contact-socials-row {
    gap: 16px;
  }

  .dg-contact-social-btn {
    width: 48px;
    height: 48px;
  }

  .dg-contact-social-btn svg {
    width: 48px;
    height: 48px;
  }

  .dg-contact-right-col {
    gap: 24px;
  }

  .dg-locations-heading {
    font-size: 14px;
    line-height: 20px;
  }

  .dg-locations-list {
    gap: 28px;
  }

  .dg-location-card {
    gap: 16px;
  }

  .dg-location-thumb {
    aspect-ratio: 3 / 2;
  }

  .dg-location-info {
    gap: 12px;
  }

  .dg-location-title {
    font-size: 20px;
    line-height: 24px;
  }

  .dg-location-address {
    font-size: 16px;
    line-height: 24px;
  }

  .dg-location-card .dg-btn {
    width: 100%;
    justify-content: center;
  }

  .dg-cta-left {
    padding: 60px 16px;
    gap: 32px;
    align-items: stretch !important;
  }

  .dg-cta-left > div,
  .dg-cta-action {
    width: 100% !important;
  }

  .dg-cta-text-group {
    gap: 12px;
  }

  .dg-cta-title {
    font-size: 48px;
    line-height: 1.0;
  }

  .dg-cta-desc {
    font-size: 16px;
    line-height: 24px;
  }

  .dg-cta-left .dg-btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px 24px;
    font-size: 24px;
    line-height: 28px;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .dg-cta-right,
  .dg-cta-img {
    aspect-ratio: 300 / 200;
    min-height: auto;
    width: 100%;
  }
}
