.ct-method-section {
  --ct-blue: #061a5f;
  --ct-green: #10a957;
  --ct-text: #263246;
  --ct-border: rgba(6, 26, 95, 0.08);
  --ct-shadow: 0 18px 45px rgba(6, 26, 95, 0.10);

  width: 100%;
  padding: clamp(60px, 7vw, 110px) 20px;
  background:
    radial-gradient(circle at top center, rgba(16, 169, 87, 0.06), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  font-family: "Inter", "Montserrat", Arial, sans-serif;
  overflow: hidden;
}

.ct-method-container {
  max-width: 1320px;
  margin: 0 auto;
}

.ct-method-header {
  text-align: center;
  margin-bottom: clamp(45px, 6vw, 80px);
}

.ct-method-header h2 {
  margin: 0;
  color: var(--ct-blue);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.ct-method-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 18px;
}

.ct-method-line span:first-child {
  width: 120px;
  height: 5px;
  border-radius: 999px;
  background: var(--ct-blue);
}

.ct-method-line span:last-child {
  width: 58px;
  height: 5px;
  border-radius: 999px;
  background: var(--ct-green);
}

.ct-arrows-enabled {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: clamp(12px, 1.5vw, 24px);
}

.ct-arrows-disabled {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  gap: clamp(12px, 1.5vw, 24px);
}

.ct-method-card {
  position: relative;
  min-height: 360px;
  padding: 42px 26px 34px;
  border: 1px solid var(--ct-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--ct-shadow);
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  transition:
    transform 0.55s ease,
    opacity 0.55s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.elementor-editor-active .ct-method-card {
    opacity: 1;
    transform: none;
}

.ct-method-card.ct-visible {
  opacity: 1;
  transform: translateY(0);
}

.ct-method-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(6, 26, 95, 0.15);
  border-color: rgba(16, 169, 87, 0.22);
}

.ct-step-number {
  position: absolute;
  top: 28px;
  left: 28px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #17bf65, #078f43);
  color: #ffffff;
  font-size: 25px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(16, 169, 87, 0.28);
}

.ct-icon-circle {
  width: 128px;
  height: 128px;
  margin: 32px auto 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.95), rgba(239, 248, 243, 0.95));
}

.ct-icon-circle svg {
  width: 72px;
  height: 72px;
  color: var(--ct-blue);
}

.ct-green-stroke {
  stroke: var(--ct-green);
  stroke-width: 4;
  stroke-linecap: round;
}

.ct-method-card h3 {
  margin: 0;
  color: var(--ct-blue);
  font-size: clamp(21px, 1.7vw, 27px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ct-card-line {
  width: 38px;
  height: 4px;
  margin: 20px auto 18px;
  border-radius: 999px;
  background: var(--ct-green);
}

.ct-method-card p {
  max-width: 210px;
  margin: 0 auto;
  color: var(--ct-text);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 400;
}

.ct-arrow {
  color: var(--ct-green);
  font-size: clamp(34px, 3vw, 46px);
  font-weight: 500;
  line-height: 1;
  opacity: 0.95;
  transform: translateY(-2px);
}

/* Tablet */
@media (max-width: 1100px) {
  .ct-arrows-enabled, .ct-arrows-disabled {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }

  .ct-arrow {
    display: none;
  }

  .ct-method-card {
    min-height: 330px;
  }
}

/* Móvil */
@media (max-width: 640px) {
  .ct-method-section {
    padding: 55px 16px;
  }

  .ct-method-header {
    margin-bottom: 38px;
  }

  .ct-method-line span:first-child {
    width: 92px;
    height: 4px;
  }

  .ct-method-line span:last-child {
    width: 44px;
    height: 4px;
  }

  .ct-arrows-enabled, .ct-arrows-disabled {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ct-method-card {
    min-height: auto;
    padding: 38px 22px 32px;
    border-radius: 22px;
  }

  .ct-step-number {
    top: 22px;
    left: 22px;
    width: 44px;
    height: 44px;
    font-size: 23px;
  }

  .ct-icon-circle {
    width: 116px;
    height: 116px;
    margin-top: 30px;
    margin-bottom: 26px;
  }

  .ct-icon-circle svg {
    width: 66px;
    height: 66px;
  }

  .ct-method-card p {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ct-method-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ct-method-card:hover {
    transform: none;
  }
}
