/* =========================================================
   Rekhatama Digital Transformation Consulting
========================================================= */

.rk-dtx {
  --rk-navy: #0d2856;
  --rk-navy-dark: #071a3a;
  --rk-blue: #0875e1;
  --rk-cyan: #0aa5eb;
  --rk-text: #102347;
  --rk-muted: #526783;
  --rk-border: #d7e3f1;
  --rk-soft: #f3f8fe;
  --rk-white: #ffffff;

  width: 100%;
  overflow: hidden;
  color: var(--rk-text);
  background: #fff;
  font-family: Inter, Arial, sans-serif;
}

.rk-dtx *,
.rk-dtx *::before,
.rk-dtx *::after {
  box-sizing: border-box;
}

.rk-dtx-container {
  width: min(100% - 48px, 1320px);
  margin-inline: auto;
}

.rk-dtx h1,
.rk-dtx h2,
.rk-dtx h3 {
  margin-top: 0;
  color: var(--rk-navy);
  font-family: Poppins, Inter, sans-serif;
}

.rk-dtx p {
  color: var(--rk-muted);
}

.rk-dtx-eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  color: #075ba9;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rk-dtx-section {
  padding: clamp(54px, 6vw, 78px) 0;
}

.rk-dtx-section--compact {
  padding-top: 54px;
  padding-bottom: 64px;
}

.rk-dtx-section--soft {
  background: var(--rk-soft);
}

.rk-dtx-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.rk-dtx-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.rk-dtx-heading > p {
  max-width: 720px;
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
}

.rk-dtx-heading--row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: 48px;
  max-width: none;
}

.rk-dtx-heading--row > p {
  margin-bottom: 8px;
}


/* Hero */

.rk-dtx-hero {
  position: relative;
  padding: clamp(58px, 7vw, 94px) 0;
  background:
    radial-gradient(circle at 90% 5%, rgba(23, 139, 235, 0.18), transparent 27%),
    linear-gradient(135deg, #f8fbff 0%, #edf6ff 100%);
  border-bottom: 1px solid var(--rk-border);
}

.rk-dtx-hero::after {
  position: absolute;
  right: -130px;
  bottom: -170px;
  width: 430px;
  height: 430px;
  border: 55px solid rgba(8, 117, 225, 0.045);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.rk-dtx-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: clamp(46px, 6vw, 84px);
}

.rk-dtx-hero h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.07;
  font-weight: 700;
  letter-spacing: -0.048em;
}

.rk-dtx-lead {
  max-width: 720px;
  margin: 0 0 30px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.72;
}

.rk-dtx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rk-dtx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin: 0;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
              background-color 0.2s ease;
}

.rk-dtx-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--rk-blue), var(--rk-cyan));
  box-shadow: 0 14px 28px rgba(8, 117, 225, 0.22);
}

.rk-dtx-btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(8, 117, 225, 0.3);
}

.rk-dtx-btn--outline {
  color: var(--rk-navy);
  background: rgba(255, 255, 255, 0.82);
  border-color: #c9d9ea;
}

.rk-dtx-btn--outline:hover {
  color: var(--rk-blue);
  background: #fff;
  border-color: #83b8ec;
}

.rk-dtx-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.rk-dtx-trust li {
  position: relative;
  padding-left: 20px;
  color: #365577;
  font-size: 13px;
  font-weight: 700;
}

.rk-dtx-trust li::before {
  position: absolute;
  left: 0;
  color: var(--rk-blue);
  content: "✓";
}

.rk-dtx-hero__panel {
  padding: clamp(25px, 3vw, 38px);
  background: linear-gradient(145deg, #102f64, #071b3e);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 26px;
  box-shadow: 0 26px 58px rgba(7, 26, 58, 0.22);
}

.rk-dtx-panel-label {
  margin: 0 0 22px;
  color: #84caff !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.rk-dtx-outcome {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  gap: 15px;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.rk-dtx-outcome:first-of-type {
  border-top: 0;
}

.rk-dtx-outcome__number {
  color: #6cc5ff;
  font-size: 13px;
  font-weight: 800;
}

.rk-dtx-outcome strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 16px;
}

.rk-dtx-outcome p {
  margin: 0;
  color: #cbd9eb;
  font-size: 14px;
  line-height: 1.6;
}


/* Problems */

.rk-dtx-problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.rk-dtx-problem {
  min-height: 215px;
  padding: 25px;
  background: #fff;
  border: 1px solid var(--rk-border);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(16, 35, 71, 0.06);
}

.rk-dtx-problem > span {
  display: block;
  margin-bottom: 26px;
  color: var(--rk-blue);
  font-size: 12px;
  font-weight: 900;
}

.rk-dtx-problem h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.35;
}

.rk-dtx-problem p {
  margin: 0;
  font-size: 14px;
  line-height: 1.68;
}


/* Services */

.rk-dtx-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rk-dtx-service {
  position: relative;
  min-height: 335px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--rk-border);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(16, 35, 71, 0.065);
  transition: transform 0.22s ease, border-color 0.22s ease,
              box-shadow 0.22s ease;
}

.rk-dtx-service:hover {
  transform: translateY(-4px);
  border-color: #9bc8f1;
  box-shadow: 0 20px 42px rgba(16, 35, 71, 0.11);
}

.rk-dtx-service__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 23px;
  color: var(--rk-blue);
  background: #eaf4ff;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 900;
}

.rk-dtx-service h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.35;
}

.rk-dtx-service > p {
  margin-bottom: 19px;
  font-size: 14px;
  line-height: 1.7;
}

.rk-dtx-service ul {
  padding: 17px 0 0;
  margin: 0;
  border-top: 1px solid #e4ebf4;
  list-style: none;
}

.rk-dtx-service li {
  position: relative;
  padding: 4px 0 4px 18px;
  color: #3e5876;
  font-size: 13px;
  line-height: 1.5;
}

.rk-dtx-service li::before {
  position: absolute;
  left: 0;
  color: var(--rk-blue);
  content: "✓";
}


/* Method */

.rk-dtx-section--navy {
  background:
    radial-gradient(circle at 90% 10%, rgba(24, 135, 225, 0.25), transparent 30%),
    var(--rk-navy-dark);
}

.rk-dtx-heading--light h2 {
  color: #fff;
}

.rk-dtx-heading--light > p {
  color: #c8d7e9;
}

.rk-dtx-section--navy .rk-dtx-eyebrow {
  color: #7ecaff;
}

.rk-dtx-method-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(350px, 0.9fr);
  gap: 28px;
}

.rk-dtx-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rk-dtx-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 17px;
}

.rk-dtx-step > span {
  color: #6bc6ff;
  font-size: 12px;
  font-weight: 900;
}

.rk-dtx-step h3 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 17px;
}

.rk-dtx-step p {
  margin: 0;
  color: #c8d7e9;
  font-size: 13px;
  line-height: 1.65;
}

.rk-dtx-deliverables {
  padding: 28px;
  background: #fff;
  border-radius: 21px;
}

.rk-dtx-deliverables h3 {
  margin-bottom: 19px;
  font-size: 21px;
  line-height: 1.4;
}

.rk-dtx-deliverables ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.rk-dtx-deliverables li {
  position: relative;
  padding: 10px 0 10px 28px;
  color: #334e6e;
  border-top: 1px solid #e5edf5;
  font-size: 14px;
  line-height: 1.5;
}

.rk-dtx-deliverables li:first-child {
  border-top: 0;
}

.rk-dtx-deliverables li::before {
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--rk-blue);
  font-weight: 900;
  content: "✓";
}


/* Final CTA */

.rk-dtx-final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  padding: clamp(30px, 4vw, 48px);
  background:
    radial-gradient(circle at 95% 0%, rgba(8, 117, 225, 0.15), transparent 35%),
    #f1f7fe;
  border: 1px solid #cfe0f2;
  border-radius: 26px;
}

.rk-dtx-final h2 {
  max-width: 760px;
  margin-bottom: 13px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.rk-dtx-final p {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.7;
}

.rk-dtx-audience {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rk-dtx-audience span {
  padding: 7px 12px;
  color: #305372;
  background: #fff;
  border: 1px solid #d2e1f0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.rk-dtx-final__actions {
  display: flex;
  min-width: 245px;
  flex-direction: column;
  align-items: stretch;
  gap: 13px;
}

.rk-dtx-whatsapp {
  color: var(--rk-navy);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.rk-dtx-whatsapp:hover {
  color: var(--rk-blue);
}


/* Drupal Layout Builder spacing */

.rk-dtx .field__item {
  margin: 0;
}

.node:has(.rk-dtx) .layout,
.node:has(.rk-dtx) .layout__region,
.node:has(.rk-dtx) .block,
.node:has(.rk-dtx) .field--name-body {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}


/* Responsive */

@media (max-width: 1050px) {
  .rk-dtx-hero__grid,
  .rk-dtx-method-layout {
    grid-template-columns: 1fr;
  }

  .rk-dtx-hero__panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
  }

  .rk-dtx-panel-label {
    grid-column: 1 / -1;
  }

  .rk-dtx-outcome {
    grid-template-columns: 1fr;
    align-content: start;
    border-top: 0;
  }

  .rk-dtx-problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rk-dtx-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .rk-dtx-container {
    width: min(100% - 30px, 1320px);
  }

  .rk-dtx-section {
    padding: 46px 0;
  }

  .rk-dtx-hero {
    padding: 50px 0;
  }

  .rk-dtx-hero__grid {
    gap: 34px;
  }

  .rk-dtx-hero h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .rk-dtx-actions,
  .rk-dtx-actions .rk-dtx-btn {
    width: 100%;
  }

  .rk-dtx-hero__panel,
  .rk-dtx-heading--row,
  .rk-dtx-services,
  .rk-dtx-steps,
  .rk-dtx-final {
    grid-template-columns: 1fr;
  }

  .rk-dtx-heading--row {
    gap: 10px;
  }

  .rk-dtx-problem-grid {
    grid-template-columns: 1fr;
  }

  .rk-dtx-problem {
    min-height: auto;
  }

  .rk-dtx-service {
    min-height: auto;
  }

  .rk-dtx-final {
    gap: 28px;
  }

  .rk-dtx-final__actions {
    width: 100%;
    min-width: 0;
  }
}


/* =========================================================
   DIGITAL TRANSFORMATION — COMPACT & ALIGNED OVERRIDE
   Letakkan paling bawah digital-transformation.css
========================================================= */

/* Garis kiri dan kanan yang sama untuk seluruh section */
.rk-dtx-container {
  width: min(calc(100% - 48px), 1320px);
  margin-right: auto;
  margin-left: auto;
}

/* Hilangkan jarak tambahan dari Drupal/Layout Builder */
.node:has(.rk-dtx) .node__content,
.node:has(.rk-dtx) .layout,
.node:has(.rk-dtx) .layout__region,
.node:has(.rk-dtx) .layout__region > .block,
.node:has(.rk-dtx) .field--name-body,
.node:has(.rk-dtx) .field__item {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}

/* Jarak section diperkecil */
.rk-dtx-section {
  padding-top: clamp(46px, 4.5vw, 58px);
  padding-bottom: clamp(46px, 4.5vw, 58px);
}

.rk-dtx-section--compact {
  padding-top: 42px;
  padding-bottom: 50px;
}

/* =========================
   HERO
========================= */

.rk-dtx-hero {
  padding-top: clamp(52px, 5.5vw, 68px);
  padding-bottom: clamp(52px, 5.5vw, 68px);
}

.rk-dtx-hero__grid {
  gap: clamp(34px, 4vw, 54px);
}

.rk-dtx-hero h1 {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.08;
}

.rk-dtx-lead {
  max-width: 690px;
  margin-bottom: 23px;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.65;
}

.rk-dtx-eyebrow {
  margin-bottom: 13px;
}

.rk-dtx-trust {
  gap: 8px 20px;
  margin-top: 20px;
}

/* Panel hero dipadatkan */
.rk-dtx-hero__panel {
  padding: clamp(22px, 2.5vw, 30px);
  border-radius: 22px;
}

.rk-dtx-panel-label {
  margin-bottom: 15px;
}

.rk-dtx-outcome {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  padding: 13px 0;
}

.rk-dtx-outcome strong {
  margin-bottom: 3px;
}

.rk-dtx-outcome p {
  font-size: 13px;
  line-height: 1.55;
}

/* =========================
   SECTION HEADINGS
========================= */

.rk-dtx-heading {
  max-width: 760px;
  margin-bottom: 25px;
}

.rk-dtx-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.17;
}

.rk-dtx-heading > p {
  font-size: 16px;
  line-height: 1.65;
}

.rk-dtx-heading--row {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 34px;
  max-width: none;
}

/* =========================
   PROBLEM CARDS
========================= */

.rk-dtx-problem-grid {
  gap: 14px;
}

.rk-dtx-problem {
  min-height: 178px;
  padding: 21px;
  border-radius: 17px;
}

.rk-dtx-problem > span {
  margin-bottom: 17px;
}

.rk-dtx-problem h3 {
  margin-bottom: 7px;
  font-size: 17px;
}

.rk-dtx-problem p {
  font-size: 13px;
  line-height: 1.6;
}

/* =========================
   SERVICE CARDS
========================= */

.rk-dtx-services {
  gap: 16px;
}

.rk-dtx-service {
  min-height: 295px;
  padding: 23px;
  border-radius: 19px;
}

.rk-dtx-service__number {
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
}

.rk-dtx-service h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.32;
}

.rk-dtx-service > p {
  margin-bottom: 13px;
  font-size: 13px;
  line-height: 1.62;
}

.rk-dtx-service ul {
  padding-top: 12px;
}

.rk-dtx-service li {
  padding-top: 3px;
  padding-bottom: 3px;
  font-size: 12px;
}

/* =========================
   METHOD & DELIVERABLES
========================= */

.rk-dtx-method-layout {
  gap: 20px;
}

.rk-dtx-steps {
  gap: 11px;
}

.rk-dtx-step {
  grid-template-columns: 35px minmax(0, 1fr);
  gap: 10px;
  padding: 18px;
  border-radius: 15px;
}

.rk-dtx-step h3 {
  margin-bottom: 5px;
  font-size: 16px;
}

.rk-dtx-step p {
  font-size: 12px;
  line-height: 1.58;
}

.rk-dtx-deliverables {
  padding: 23px;
  border-radius: 18px;
}

.rk-dtx-deliverables h3 {
  margin-bottom: 13px;
  font-size: 19px;
}

.rk-dtx-deliverables li {
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 13px;
}

.rk-dtx-deliverables li::before {
  top: 8px;
}

/* =========================
   FINAL CTA
========================= */

.rk-dtx-final {
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 34px;
  padding: clamp(27px, 3vw, 36px);
  border-radius: 22px;
}

.rk-dtx-final h2 {
  margin-bottom: 8px;
  font-size: clamp(27px, 2.8vw, 38px);
}

.rk-dtx-final p {
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 1.62;
}

.rk-dtx-final__actions {
  min-width: 0;
}

.rk-dtx-audience {
  gap: 6px;
}

.rk-dtx-audience span {
  padding: 6px 10px;
  font-size: 11px;
}

/* Tombol sedikit lebih ringkas */
.rk-dtx-btn {
  min-height: 49px;
  padding: 12px 20px;
  border-radius: 11px;
  font-size: 14px;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1050px) {
  .rk-dtx-heading--row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rk-dtx-hero__panel {
    gap: 10px;
  }

  .rk-dtx-service {
    min-height: 280px;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {
  .rk-dtx-container {
    width: calc(100% - 30px);
  }

  .rk-dtx-section {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .rk-dtx-hero {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .rk-dtx-hero__grid {
    gap: 28px;
  }

  .rk-dtx-hero h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .rk-dtx-heading {
    margin-bottom: 20px;
  }

  .rk-dtx-problem {
    min-height: 0;
  }

  .rk-dtx-service {
    min-height: 0;
  }

  .rk-dtx-final {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 25px 20px;
  }

  .rk-dtx-final__actions {
    width: 100%;
  }
}